Commit Graph

543 Commits

Author SHA1 Message Date
Alex Roitman
6c61cbd9bd Check whether family exists before accessing it.
* src/plugins/DetAncestralReport.py: Enable book functionality.


svn: r1833
2003-07-07 06:15:05 +00:00
Alex Roitman
3f96f59ddc * src/plugins/FamilyGroup.py: Enable book functionality.
Check whether family exists before accessing it.


svn: r1830
2003-07-06 21:55:52 +00:00
Alex Roitman
19f0183de2 * src/plugins/BookReport.py: Make a list of options from a tuple.
* src/plugins/AncestorReport.py: Register options as a tuple.
* src/plugins/Ancestors.py: Register options as a tuple.
* src/plugins/DescendReport.py: Register options as a tuple.
* src/plugins/FtmStyleAncestors.py: Register options as a tuple.
* src/plugins/FtmStyleDescendants.py: Register options as a tuple.
* src/plugins/IndivComplete.py:  Register options as a tuple.
* src/plugins/IndivSummary.py: Register options as a tuple.
* src/plugins/SimpleBookTitle.py: Register options as a tuple.


svn: r1829
2003-07-06 19:55:45 +00:00
Don Allingham
a1376f0fa1 * src/dialog.glade: witness changes
svn: r1827
2003-07-06 03:56:08 +00:00
Don Allingham
b2e7958a1e * src/ImageSelect.py: eliminate recursive error loop when a thumbnail
cannot be created.
* src/plugins/ReorderIds.py: handle IDs better when reordering


svn: r1825
2003-07-06 03:52:38 +00:00
Alex Roitman
b8bdcbdb3c Minor corrections
svn: r1824
2003-07-05 23:11:44 +00:00
Alex Roitman
7de3319f77 * src/plugins/Ancestors.py: Enable book functionality.
svn: r1823
2003-07-05 23:10:43 +00:00
Alex Roitman
99c1a83cd8 Update
svn: r1822
2003-07-05 21:50:23 +00:00
Alex Roitman
5568997a0e Add special treatment for Title entries (no central person displayed).
Change type to Title (was Text).
* src/plugins/IndivComplete.py: Use filter number in configurator.
Move get_report_filters out of dialogs classes so that it can be
shared between both dialogs and the write_book_item().
* src/plugins/DescendReport.py: Enable book functionality.
* src/plugins/AncestorReport.py: Enable book functionality.


svn: r1821
2003-07-05 21:47:41 +00:00
Alex Roitman
f3171ecdf4 * src/plugins/BookReport.py (BookReportSelector.__init__):
Enable translation for interface strings,
* src/plugins/BookReport.py (BookReportDialog.get_stylesheet_savefile):
Add this function to form sane filename for the output.
* src/plugins/SimpleBookTitle.py: Add configurable title and copyright.


svn: r1820
2003-07-05 18:25:25 +00:00
Tim Waugh
18ea4d6658 2003-07-04 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Really fixed text style for '(no photo)'.


svn: r1819
2003-07-04 22:16:32 +00:00
Don Allingham
43867ec708 * src/Witness.py: integrate SelectPerson
svn: r1817
2003-07-03 04:55:16 +00:00
Don Allingham
8e276f4735 * src/SourceView.py: Speed up redraw performance
svn: r1815
2003-07-03 04:15:13 +00:00
Don Allingham
fba7b6c2b6 * src/plugins/WriteGedcom.py: handle surnames containing a slash
svn: r1813
2003-07-03 04:05:19 +00:00
Don Allingham
11b177bd64 * src/AddSpouse.py: handle adding of new person callback correctly
svn: r1811
2003-07-03 03:32:46 +00:00
Don Allingham
7d0750ac5c * src/plugins/ReadGedcocm.py: Fix callback parameters
svn: r1809
2003-07-03 02:56:34 +00:00
Tim Waugh
9c68130bca 2003-07-01 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Don't guess gender if it has already been set.


svn: r1808
2003-07-01 19:04:47 +00:00
Tim Waugh
fd04492e71 2003-06-30 Tim Waugh <twaugh@redhat.com>
* src/plugins/Makefile.am: Ship FanChart.py.


svn: r1807
2003-06-30 23:03:08 +00:00
Tim Waugh
5616ef7266 2003-06-30 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (generation): Report on the correct
        number of generations (was out by one).  Fixed text style for
        '(no photo)'.


svn: r1806
2003-06-30 14:56:32 +00:00
Don Allingham
deada04e03 * src/DisplayTrace.py: identify more linux versions
* src/gramps_main.py: fix callbacks for reports
* src/plugins/ReorderIds.py: handle integers larger that 32bit
* src/Plugins.py: keep a separate lists for formats that support
the book format
* src/docgen/PdfDoc.py: register as a format supporting books
* src/docgen/OpenOfficeDoc.py: register as a format supporting books
* src/plugins/BookReport.py: Support different lists for books


svn: r1804
2003-06-30 03:12:22 +00:00
Don Allingham
06e08a27c4 * src/DisplayTrace.py: identify more linux versions
svn: r1803
2003-06-30 03:07:24 +00:00
Don Allingham
445cf6e4d8 * src/plugins/FtmStyleDescendants.py: handle missing "endnotes"
svn: r1801
2003-06-29 14:38:50 +00:00
Tim Waugh
893712a190 2003-06-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py: Convert line end string to chosen
        encoding (prevents traceback).


svn: r1800
2003-06-28 21:21:13 +00:00
Don Allingham
f3d2163bd9 * src/plugins/WriteGedcom.py: support different end of line characters
* src/GedcomInfo.py: support different end of line characters
* src/data/gedcom.xml: indicate cr-lf for Windows based tools


svn: r1798
2003-06-28 17:35:00 +00:00
Tim Waugh
315e2ccf40 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/PlaceView.py: Fix removal of unreferenced places.


svn: r1797
2003-06-27 22:01:59 +00:00
Tim Waugh
debbb57e17 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/plugins/WebPage.py: Make source links work.


svn: r1796
2003-06-27 14:36:24 +00:00
Tim Waugh
6004fd7956 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Place keys are unicode.


svn: r1795
2003-06-27 11:59:09 +00:00
Tim Waugh
dac160cf68 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include source reference notes.  Made
        source citation optional.  Adjusted styles.


svn: r1794
2003-06-27 11:18:58 +00:00
Don Allingham
33056d90fb * src/plugins/IndivComplete.py: make compatible with BookReport
* src/plugins/IndivSummary.py: changed style names to use colon qualifiers


svn: r1792
2003-06-27 04:28:09 +00:00
Don Allingham
07ce649702 * src/plugins/IndivComplete.py: make compatible with BookReport
svn: r1791
2003-06-27 04:26:29 +00:00
Don Allingham
324d546c41 Added bookreport.py
svn: r1790
2003-06-27 04:25:32 +00:00
Tim Waugh
21798efb5d 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/WebPage.py: Fix gendex creation.


svn: r1789
2003-06-26 22:28:31 +00:00
Tim Waugh
a3c1af875b 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here
        to prevent EINTR causing traceback.


svn: r1788
2003-06-26 22:20:48 +00:00
Tim Waugh
248bdcbc25 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Cite sources.


svn: r1787
2003-06-26 22:13:58 +00:00
Tim Waugh
61fb7e9f24 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include notes for principal names.


svn: r1785
2003-06-26 14:30:27 +00:00
Tim Waugh
316c9d9145 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Briefly list children from other
        marriages.  Make extra table cells for other spouses.


svn: r1784
2003-06-26 14:13:05 +00:00
Don Allingham
2817109436 * src/plugins/ReadGedcom.py: removed unused variable
* src/latin_utf8.py: explicity state iso-8859-1 to unicode translation
* src/gramps_main.py: handle clearing of tabs better, eliminating
spurious tabs being added on a complete rebuild of the tabs.


svn: r1782
2003-06-26 02:53:04 +00:00
Jens Arvidsson
d36f827ff4 Corrections to translation
svn: r1781
2003-06-25 19:05:57 +00:00
Tim Waugh
47f96ba80e 2003-06-25 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Handle page break option.


svn: r1780
2003-06-25 11:06:42 +00:00
Tim Waugh
ebd0ed14c9 2003-06-25 Tim Waugh <twaugh@redhat.com>
* src/Date.py: Make sure range is 0 when it should be.  Dates compare
        differently if only one is a range.


svn: r1779
2003-06-25 10:55:15 +00:00
Don Allingham
477462b908 remove string module
svn: r1778
2003-06-25 03:40:13 +00:00
Don Allingham
75b038092b * src/plugins/SimpleBookTitle.py: new page title for book
svn: r1776
2003-06-25 03:38:53 +00:00
Don Allingham
0d2b7ca7bf update
svn: r1775
2003-06-25 03:36:48 +00:00
Don Allingham
d97f62782b * src/docgen/PdfDoc.py: handle page break
* src/plugins/BookReport.py: move book report to its own category,
handle page break properly
* src/plugins/FtmStyleAncestors.py: handle book improvements
* src/plugins/FtmStyleDescendants.py: handle book improvements
* src/plugins/IndivSummary.py: handle book improvements, rename
document styles


svn: r1774
2003-06-25 03:35:44 +00:00
Don Allingham
b6fe7af0c8 * src/plugins/WriteGedcom.py: Allow iso-8859-1 (ANSI) encoding
* src/plugins/gedcomexport.glade: Allow iso-8859-1 (ANSI) encoding


svn: r1772
2003-06-24 23:07:14 +00:00
Don Allingham
b9c435a96a * src/SubstKeywords.py: Fixed typo on getName
svn: r1770
2003-06-24 20:40:31 +00:00
Tim Waugh
c876640eaa 2003-06-24 Tim Waugh <twaugh@redhat.com>
* src/GrampsParser.py: Use access methods rather than poking directly.
        * src/RelLib.py: Keep statistics on gender distribution among first
        names so that it can be used for guessing.
        * src/edit_person.glade: More event handlers.
        * src/EditPerson.py: Guess gender when appropriate.


svn: r1769
2003-06-24 14:16:47 +00:00
Tim Waugh
261fcfaece 2003-06-23 Tim Waugh <twaugh@redhat.com>
* src/NoteEdit.py: Use automatic scrolling policy, to fix scrolling.


svn: r1768
2003-06-23 12:45:15 +00:00
Tim Waugh
d1de4381cb 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Better handling of missing photos.


svn: r1767
2003-06-21 08:57:35 +00:00
Tim Waugh
51b0db35fe 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Better handling of strings.


svn: r1766
2003-06-21 08:51:23 +00:00
Tim Waugh
553d22cd4f 2003-06-21 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (person_name): Handle titles and suffices.


svn: r1765
2003-06-21 08:43:48 +00:00
Tim Waugh
2a911415b6 2003-06-19 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py (write_xml_data): Use a stable order for writing
        elements in XML.  This makes it useful to do revision control (RFE
        748165).


svn: r1763
2003-06-19 09:49:43 +00:00
Don Allingham
8e8a0c8449 * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1761
2003-06-19 03:54:45 +00:00
Don Allingham
df6c1648ad * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1760
2003-06-18 23:57:03 +00:00
Tim Waugh
920a605393 2003-06-18 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (add_child_clicked): No reason to assume children
        are female.


svn: r1759
2003-06-18 16:30:49 +00:00
Don Allingham
dcca47e9fa * src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1758
2003-06-18 02:50:30 +00:00
Don Allingham
34c2b0332b * src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered.
* src/FamilyView.py: Add popup menu for childlist to allow the
enabling of the new child relationship editor dialog
* src/SelectChild.py: Child relationship editor
* src/RelLib.py: Allow for altering of relationships of the
AltFamilyList


svn: r1756
2003-06-17 04:15:58 +00:00
Don Allingham
04ad05dd00 * src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered.


svn: r1755
2003-06-17 04:10:04 +00:00
Alex Roitman
cf3947e551 * src/PedView.py (DispBox.__init__): Conditional display of "b."
and "d." strings depending on the availability of the appropriate date.
* NEWS: Start new section for 0.9.3 release.


svn: r1754
2003-06-16 17:22:09 +00:00
Alex Roitman
91d97c122d Remove options_dialog function as it is not nedded anymore.
* src/plugins/BookReport.py: Add lots of doc strings.


svn: r1753
2003-06-16 16:29:35 +00:00
Tim Waugh
90337c2baa 2003-06-16 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (north_american): Fixed traceback when adding
        a new child in the family view.


svn: r1752
2003-06-16 16:24:17 +00:00
Alex Roitman
1b85923e09 * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function -- it is not nedded anymore.


svn: r1751
2003-06-16 13:50:10 +00:00
Don Allingham
f323b7cf80 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
cd50e23a1e * src/AutoComp.py (AutoCombo.timer_callback): Fix autocompletion
so that the typed portion of the text is always visible.


svn: r1749
2003-06-15 05:31:36 +00:00
Don Allingham
6902d13225 No longer needed
svn: r1747
2003-06-15 04:15:45 +00:00
Don Allingham
ae7ee195c6 * src/gramps.glade: added select/edit buttions to family view
* src/SelectChild.py: change title from Add Children to Add Child
to Family
* src/FamilyView: add support for adding spouse/child with full
Edit Person window, along with old method of adding via selectors


svn: r1746
2003-06-15 04:13:16 +00:00
Alex Roitman
4da90c8a2c Update
svn: r1745
2003-06-15 02:32:10 +00:00
Alex Roitman
11d636f464 * src/Utils.py: Provide a locale-aware string formatting conversion
into C-locale string (for saving floats in XML)
* src/StyleEditor.py (draw): Call locale.str instead of str.
* src/TextDoc.py (StyleSheetList.save): Call gformat instead of '%f'.


svn: r1744
2003-06-15 00:05:43 +00:00
Alex Roitman
71b5ed316e * src/plugins/IndivComplete.py (write_fact): Enable translation
for the event name;
* (get_stylesheet_savefile): Change the name of xml file (and,
consequently, the target filename) -- was confused with family group.
* src/StyleEditor.py (save_paragraph): Call gfloat instead of float.
* src/TextDoc.py (SheetParser.startElement): Likewise.


svn: r1743
2003-06-14 18:11:30 +00:00
Don Allingham
a554ab8d80 Fixed typo
svn: r1742
2003-06-14 17:14:46 +00:00
Don Allingham
da433a0c5f * src/Utils.py: provide a locale independant floating point conversion
utility
* src/TextDoc.py: call new gfloat utility instead of float
* src/PaperMenu.py: call new gfloat utility instead of float


svn: r1740
2003-06-14 17:11:11 +00:00
Don Allingham
50312ea35e * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Don Allingham
fa7d837011 * Ancestors.py (AncestorsReport.__init__): Define Photo and
Entry cell styles.


svn: r1736
2003-06-14 13:58:24 +00:00
Alex Roitman
13ce8ec289 Update
svn: r1735
2003-06-14 05:10:45 +00:00
Alex Roitman
96dc27a4c0 * src/EditPerson.py (did_data_change): When checking name type,
compare translated strings (otherwise they always differ).


svn: r1734
2003-06-14 04:57:20 +00:00
Don Allingham
00e357ea3f removed extra '}'
svn: r1733
2003-06-14 04:01:09 +00:00
Don Allingham
f278d96e54 * src/docgen/RTFDoc.py: add support for superscripts
svn: r1731
2003-06-14 03:49:09 +00:00
Don Allingham
d279bb6956 * src/docgen/KwordDoc.py: add support for superscripts
svn: r1729
2003-06-14 02:57:49 +00:00
Don Allingham
829115ed72 * src/docgen/OpenDrawDoc.py: add support for superscripts
* src/docgen/OpenOfficeDoc.py: add support for superscripts
* src/plugins/Ancestors.py: New Ancestors report added


svn: r1727
2003-06-14 02:18:55 +00:00
Don Allingham
71adf538a3 * src/plugins/Ancestors.py: New Ancestors report added
svn: r1726
2003-06-14 01:16:30 +00:00
Don Allingham
5034e39800 Add Ancestors.py
svn: r1725
2003-06-14 01:16:09 +00:00
Don Allingham
40b7437a6a * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap
* src/EditPlace.py: Handle drag and drop with places
* src/EditPerson.py: Handle exchange of perferred name and selected
name in the alternate name list


svn: r1723
2003-06-14 00:58:38 +00:00
Alex Roitman
d71ba8ad36 * src/const.py.in: Add InverseNameTypesMap.
* src/plugins/IndivComplete.py: Use InverseNameTypesMap for
alternate names.
* src/EditPerson.py (on_name_select_row): Display translated
name type.


svn: r1722
2003-06-13 23:06:03 +00:00
Alex Roitman
9b23b01451 * src/docgen/HtmlDoc.py: Properly build style declaration.
* src/plugins/FtmStyleDescendants.py: Setup before opening.


svn: r1721
2003-06-13 16:17:45 +00:00
Alex Roitman
59567076ce * src/docgen/OpenOfficeDoc.py: Escape special XML characters.
svn: r1720
2003-06-13 15:13:47 +00:00
Don Allingham
614aa121da * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap


svn: r1719
2003-06-13 15:08:07 +00:00
Alex Roitman
c5c5b9b217 * src/docgen/OpenOfficeDoc.py: Surround images by paragraph tags
when inside the table cell.


svn: r1718
2003-06-13 04:07:13 +00:00
Don Allingham
fa067b750c update
svn: r1717
2003-06-13 04:03:44 +00:00
Don Allingham
9c43834a21 * src/DrawDoc.py: support for drawing wedges and rotated text
* src/docgen/PSDrawDoc.py: postscipt support for wedges and rotated text
* src/docgen/PdfDrawDoc.py: PDF support for wedges and rotated text
* src/docgen/SvgDrawDoc.py: SVG support for wedges and rotated text
* src/docgen/OpenDrawDoc.py: OpenOffice support for wedges and rotated text
* src/plugins/FanChart.py: Fan chart report


* src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class
* src/plugins/WebPage.py: Handle filter errors
* src/docgen/OpenOfficeDoc.py: pass non-unicode names to zipfile


svn: r1716
2003-06-13 04:00:24 +00:00
Alex Roitman
dd959c379e * src/docgen/KwordDoc.py (write_text): Replace & with &amp in text.
Closes gramps-bugs-649228, finally.
(start_table): close FRAMESET tag conditionally. This prevents closing
it twice (both in end_cell and start_table). Closes 753151.


svn: r1715
2003-06-13 03:29:15 +00:00
Alex Roitman
212a2d95ee Typo
svn: r1714
2003-06-12 14:21:34 +00:00
Alex Roitman
dffbb9178d * src/docgen/OpenOfficeDoc.py: Fix typo. Prevent images from being
copied more than once.


svn: r1713
2003-06-12 14:19:30 +00:00
Alex Roitman
d4ceb8b19c * src/EditPlace.py: Add url_edit_callback() and pass it on to UrlEdit
when clicked on Add or Edit in Place's Url list.


svn: r1712
2003-06-12 03:20:05 +00:00
Alex Roitman
a4b2a332a3 * src/EditPlace.py (on_switch_page): Fix page numbers to enable proper
loading of gallery and references.


svn: r1711
2003-06-12 02:17:52 +00:00
Don Allingham
059fbee03e * src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class


svn: r1710
2003-06-12 02:04:42 +00:00
Alex Roitman
ff0b84fd61 * src/plugins/BookReport.py (Book.pop_item): Add missing return
statement.
* src/plugins/BookReport.py (BookReportSelector.open_book):
Add a warning if the database for the book is not the same as current.


svn: r1709
2003-06-11 22:33:01 +00:00
Alex Roitman
43923e88aa * src/docgen/HtmlDoc.py (add_photo): Fix typo in image reference.
svn: r1708
2003-06-11 16:26:36 +00:00
Alex Roitman
76c09a51a7 Typo
svn: r1707
2003-06-11 04:58:37 +00:00
Alex Roitman
3fea9c7a0c * src/Plugins.py: Add more values for book item registration.
* src/plugins/FtmStyleDescendants.py: Comply with book changes.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/BookReport.py: Rewrite most of the code using new classes:
BookItem, Book, BookList, BookParser, BookListDisplay. Add
open/save/edit functionality.
* src/plugins/book.glade: Add new dialog for BookListDisplay. Also add
a text entry field for saving book and new buttons: Open, Edit, Save.


svn: r1706
2003-06-11 04:39:53 +00:00
Don Allingham
6b3cdc514c * src/const.py.in: Updated LDS temple list
svn: r1703
2003-06-11 03:55:09 +00:00