Commit Graph

175 Commits

Author SHA1 Message Date
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