Commit Graph

248 Commits

Author SHA1 Message Date
Alex Roitman
cb2105f416 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
677d99e0ba * 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
45bf59b7a8 * 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
bd4191ca2d * 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
bce6246370 Minor corrections
svn: r1824
2003-07-05 23:11:44 +00:00
Alex Roitman
e30569339e * src/plugins/Ancestors.py: Enable book functionality.
svn: r1823
2003-07-05 23:10:43 +00:00
Alex Roitman
d33bb7839c Update
svn: r1822
2003-07-05 21:50:23 +00:00
Alex Roitman
76714fd062 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
1ad10fb052 * 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
818e63cac5 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
a33f0e716d * src/plugins/WriteGedcom.py: handle surnames containing a slash
svn: r1813
2003-07-03 04:05:19 +00:00
Don Allingham
e06284c4c3 * src/plugins/ReadGedcocm.py: Fix callback parameters
svn: r1809
2003-07-03 02:56:34 +00:00
Tim Waugh
4fc2cc27cd 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
8f99c6ff7f 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
693b991573 * 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
e4a1d75f14 * src/DisplayTrace.py: identify more linux versions
svn: r1803
2003-06-30 03:07:24 +00:00
Don Allingham
ae21dd7194 * src/plugins/FtmStyleDescendants.py: handle missing "endnotes"
svn: r1801
2003-06-29 14:38:50 +00:00
Tim Waugh
641cd14b58 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
ad38d82d73 * 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
af1140858e 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
fef3cc274f 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
2ff28bb16d * 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
64c0e1cd89 * src/plugins/IndivComplete.py: make compatible with BookReport
svn: r1791
2003-06-27 04:26:29 +00:00
Don Allingham
d6d4d874a3 Added bookreport.py
svn: r1790
2003-06-27 04:25:32 +00:00
Tim Waugh
68ea2ec12d 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
9d7ad535e3 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
aae70e843f 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
4b1494b3dd 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
00c9985d60 * 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
Tim Waugh
44ac39dfd0 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
Don Allingham
292b63f085 * src/plugins/SimpleBookTitle.py: new page title for book
svn: r1776
2003-06-25 03:38:53 +00:00
Don Allingham
2f5bcae451 * 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
85fe764c7e * 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
Tim Waugh
a63e16d2bd 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
36d34ce5c8 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
d2504f3685 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
Don Allingham
ab9f5e2db8 * src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1758
2003-06-18 02:50:30 +00:00
Alex Roitman
1fdefdc72b 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
Alex Roitman
9af87c1632 * 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
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
67d9d84de5 Update
svn: r1745
2003-06-15 02:32:10 +00:00
Don Allingham
6e6baf585b * Ancestors.py (AncestorsReport.__init__): Define Photo and
Entry cell styles.


svn: r1736
2003-06-14 13:58:24 +00:00
Alex Roitman
1749f1e524 Update
svn: r1735
2003-06-14 05:10:45 +00:00
Don Allingham
5b15e209cc * src/plugins/Ancestors.py: New Ancestors report added
svn: r1726
2003-06-14 01:16:30 +00:00
Don Allingham
9ccb326d98 Add Ancestors.py
svn: r1725
2003-06-14 01:16:09 +00:00
Alex Roitman
5385792d1d * 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
218bffffdb * 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
Don Allingham
cec9010812 * 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
Don Allingham
57bd52fd17 * 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
91b3c84bee * 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
5b1f94b11a * 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
Alex Roitman
34fc21e621 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Further work on option handling.
Start parse/save cycle.


svn: r1681
2003-06-10 04:49:39 +00:00
Alex Roitman
c2da2623b1 * src/ReadXML.py, src/plugins/Check.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py: Proper use of dialog.run() in file
selector for missing media files.


svn: r1680
2003-06-10 00:00:05 +00:00
Alex Roitman
58827a5ccd Minor update
svn: r1679
2003-06-09 22:46:00 +00:00
Alex Roitman
9f905eef5f * src/Plugins.py: Register book items with options and style instead
of the functions get_options and get_style.
* src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Change from functions to values,
accordingly. Also switch to a proper use of dialog.run().


svn: r1678
2003-06-09 22:39:56 +00:00
Alex Roitman
76262483e2 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py:
Minor fixes.
* src/plugins/book.glade: Add Open and Save buttons.
* src/plugins/FtmStyleAncestors.py: Enable book item functionality.


svn: r1676
2003-06-09 00:07:31 +00:00
Alex Roitman
159761a91a * src/Report.py: De-uglify center_person frame.
* src/plugins/BookReport.py: Add a center person column to a book
* src/plugins/FtmStyleDescendants.py: Get the style right.


svn: r1674
2003-06-08 20:32:17 +00:00
Alex Roitman
ebf28a332a * src/Report.py, src/plugins/BookReport.py,
src/plugins/FtmStyleDescendants.py: Fix changing center person -- only
remember change if OK was clicked.


svn: r1673
2003-06-08 06:19:54 +00:00
Alex Roitman
0df227aac6 * src/Report.py: Clean up the split into BareReportDialog and
ReportDialog classes.
* src/Plugins.py: Enable book item registration.
* src/plugins/BookReport.py: lots of changes -- trying to get it work.
* src/plugins/FtmStyleDescendants.py: book item functionality.


svn: r1671
2003-06-07 23:38:13 +00:00
Alex Roitman
73a1e8033f * src/Report.py: Split ReportDialog into BareReportDialog and
its subclass of ReportDialog. BareReportDialog has nothing to do with
the paper, format, filename, etc.
* src/plugins/BookReport.py: Make ReportOptionsDialog a sublcass of
Report.BareReportDialog.


svn: r1656
2003-06-04 05:12:08 +00:00
Alex Roitman
edddb88a6b * src/plugins/summary.glade, src/plugins/desbrowse.glade:
Removed unnecessary buttonbox in the action area of a dialog -- this
gets rid of annoying GTK warnings.


svn: r1654
2003-06-03 22:30:49 +00:00
Alex Roitman
8edebcad36 * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Alex Roitman
bb645d13aa * src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1649
2003-06-03 19:48:33 +00:00
Alex Roitman
62f005e425 * src/plugins/FtmStyleAncestor.py (print_more_about,print_notes):
Change to regular name instead of formal name.
* src/plugins/FtmStyleDescendants.py (print_more_about):
Likewise.
* src/plugins/FtmStyleDescendants.py (print_children):
Table name includes only family id.


svn: r1645
2003-06-03 16:13:05 +00:00
Alex Roitman
62d8aa6ee6 * src/DetAncestralReport.py (write_death): Proper checks for valid day
* src/DetDescendantReport.py (write_death): Likewise.


svn: r1641
2003-06-02 22:46:58 +00:00
Alex Roitman
5c880ed82f * src/plugins/FtmStyleDescendants.py (print_children):
End children's table only if it was started.


svn: r1637
2003-06-02 19:55:53 +00:00
Alex Roitman
f31d85559a Typo
svn: r1636
2003-06-02 18:50:11 +00:00
Alex Roitman
6766d5ad7b * src/plugins/DetDescendantReport.py (write_mate): Swap mate and
person variables, clear code a bit.
(make_report, add+user_options): Allow same set of options as the
detailed ancestral report.


svn: r1634
2003-06-02 18:44:39 +00:00
Alex Roitman
1b1b7e837a * src/plugins/BookReport.py (ReportOptionsDialog.on_change_clicked):
Deal with Cancel button pressed.


svn: r1632
2003-06-02 15:34:08 +00:00
Alex Roitman
75d1933c8d * src/plugins/DetAncestralReport.py (write_marriage):
Consider missing case of spouse and no-date-no-place for marriage.


svn: r1630
2003-06-02 15:24:15 +00:00
Alex Roitman
d97a6be3cd * src/plugins/DetAncestralReport.py (write_marriage):
svn: r1629
2003-06-02 15:23:27 +00:00
Alex Roitman
7bc3f3bf1b * src/plugins/BookReport.py: Added to CVS.
* src/plugins/book.glade: Likewise.
* src/ListModel.py: (insert, get_data): Added new methods.
* src/SelectPerson.py: Added to CVS.
* src/choose.glade: Likewise.


svn: r1627
2003-06-02 13:34:18 +00:00
Alex Roitman
1b709b4ae6 * src/plugins/Check.py (build_report): Fixing typos.
* src/WriteXML.py (exportData): Likewise.


svn: r1626
2003-06-02 13:23:54 +00:00
Alex Roitman
48d65b6a7b * src/plugins/DetDescendantReport.py
(DetDescendantReport.write_marriage):
Missing value for the format line parameter

* src/plugins/FtmStyleDescendants.py
(FtmDescendantReport.print_more_about): Print regular name in the
header of the "More About" dialog. Also add missing endnotes value.
(FtmDescendantReport.print_parents): Fix a typo in a format line value.


svn: r1623
2003-06-02 03:44:47 +00:00
Alex Roitman
e81d9bbe77 Added more generations
svn: r1604
2003-05-30 00:01:38 +00:00
Don Allingham
533bd7dcab Template update
svn: r1602
2003-05-28 15:57:38 +00:00
Don Allingham
99d05c8448 Fixed typos for translations
svn: r1601
2003-05-28 15:55:59 +00:00
Alex Roitman
579f4a27d0 Typo
svn: r1596
2003-05-27 18:06:45 +00:00
Alex Roitman
bb851dfdf4 Removing redundant strings
svn: r1595
2003-05-27 17:18:01 +00:00
Alex Roitman
e3d92c3b05 Translation cleanups
svn: r1591
2003-05-24 03:40:58 +00:00
Alex Roitman
f3b27573e7 Minor updates
svn: r1589
2003-05-23 23:11:38 +00:00
Alex Roitman
9c9d950801 Minor updates
svn: r1588
2003-05-23 22:35:13 +00:00
Alex Roitman
7f495ce24f Translation template update
svn: r1585
2003-05-23 16:20:59 +00:00
Don Allingham
e114982c82 Updated translation template
svn: r1584
2003-05-23 04:16:01 +00:00
Don Allingham
8e21af4a49 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +00:00
Alex Roitman
41f848f53c Finishing command line options
svn: r1564
2003-05-21 18:06:41 +00:00
Donald A. Peterson
f30c137391 * Added new targets "trans" and "pycheck" to top-level Makefile
* Python verification (pychecker) removed from check-local target to become
part of the pycheck target heiarchy.  Each subdir now has a
GRAMPS_PY_MODPATH variable that indicates a colon-separated path for
the PYTHONPATH environment to allow module importing to work.


svn: r1559
2003-05-21 00:30:02 +00:00
Don Allingham
b8a8f8176f Support for AbiWord 1.9 or greater (table support)
svn: r1556
2003-05-20 23:20:47 +00:00
Alex Roitman
8a0324d967 Minor cleanup
svn: r1554
2003-05-20 21:58:24 +00:00
Alex Roitman
9801107224 Wrong level (3 instead of 2) for NOTE and SOUR in address/place
svn: r1553
2003-05-20 21:58:07 +00:00
Alex Roitman
f5c9c8f2cd Command line imports: gedcom and iso
svn: r1552
2003-05-20 20:31:16 +00:00
Alex Roitman
261e1ddd2e Command-line import from gedcom: cleanup
svn: r1545
2003-05-19 20:00:49 +00:00
Alex Roitman
1d660a389f Command-line import from gedcom: cleanup
svn: r1544
2003-05-19 19:58:52 +00:00
Alex Roitman
dc0cec92e3 Command line: check action
svn: r1541
2003-05-19 04:54:14 +00:00
Don Allingham
4247f38dbb Change file extentions in reports when different filetype is chosen
svn: r1534
2003-05-16 01:49:50 +00:00
Don Allingham
4bc85824bd WriteCD merges
svn: r1531
2003-05-14 23:22:35 +00:00
Alex Roitman
c30665523a More missing media handling
svn: r1529
2003-05-14 19:21:18 +00:00
Don Allingham
3fd04d39fe CD Writer
svn: r1528
2003-05-14 04:23:30 +00:00
Alex Roitman
bb4a188e7f Fix missing files on check & repair
svn: r1527
2003-05-14 02:46:59 +00:00
Don Allingham
ebb9097801 Handle stdout
svn: r1526
2003-05-14 02:45:11 +00:00