Commit Graph

35 Commits

Author SHA1 Message Date
Alex Roitman
1ed75ccabe * src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/RelGraph.py (get_default_basename): Add function.
* src/plugins/AncestorReport.py (write_report): Translate
string properly.
* src/EventEdit.py (update_event): Use transtable.
* src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked,
on_edit_death_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/Marriage.py (on_add_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py:
Remove extra space between vars in "%(.*_place)s %(.*_notes)s"
* src/plugins/verify.glade: Translate button label.
* src/plugins/IndivSummary.py: Proper handling of translation.
* src/docgen/OpenOfficeDoc.py (pt2cm): Add function;
(draw_text): Convert points to cm for the box width;
 Use self.string_width() method.
* src/BaseDoc.py (string_width): Add a method to compute width.
* src/docgen/LPRDoc.py (string_width): Override method.
* src/docgen/PdfDoc.py: Use self.string_width() method.
* src/docgen/SvgDrawDoc.py: Use self.string_width() method.
* src/plugins/AncestorChart2.py: Use self.doc.string_width() method.
* src/plugins/AncestorChart.py: Use self.doc.string_width() method.
* src/plugins/DesGraph.py: Use self.doc.string_width() method.
* src/plugins/FanChart.py: Use self.doc.string_width() method.
* src/plugins/TimeLine.py: Use self.doc.string_width() method.
* src/plugins/eval.glade: HIG compliance.


svn: r3453
2004-08-20 21:26:51 +00:00
Don Allingham
79f7ff0cad * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Don Allingham
4fd3c41ceb * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
8df3fd12d4 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
055eabdb11 * src/RelLib.py (try_to_find_person_from_id): Remove transaction;
(try_to_find_source_from_id, try_to_find_object_from_id,
try_to_find_place_from_id): Add functions.
* src/plugins/WriteCD.py, src/plugins/WritePkg.py,
src/plugins/WebPage.py, src/plugins/Verify.py,
src/plugins/TimeLine.py, src/plugins/Summary.py,
src/plugins/SoundGen.py, src/plugins/RelGraph.py,
src/plugins/RelCalc.py, src/plugins/PatchNames.py,
src/plugins/Merge.py, src/plugins/IndivSummary.py,
src/plugins/IndivComplete.py, src/plugins/GraphViz.py,
src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py, src/plugins/FilterEditor.py,
src/plugins/FanChart.py, src/plugins/FamilyGroup.py,
src/plugins/EventCmp.py, src/plugins/DetDescendantReport.py,
src/plugins/DetAncestralReport.py, src/plugins/DescendReport.py,
src/plugins/Desbrowser.py, src/plugins/CountAncestors.py,
src/plugins/Check.py, src/plugins/ChangeTypes.py,
src/plugins/BookReport.py, src/plugins/Ancestors.py,
src/plugins/AncestorReport.py, src/plugins/AncestorChart.py,
src/plugins/AncestorChart2.py, src/Relationship.py,
src/Sort.py, src/GenericFilter.py, src/SubstKeywords.py,
src/GraphLayout.py: Switch from find_* to try_to_find_* methods.


svn: r3191
2004-05-26 02:05:02 +00:00
Don Allingham
d43745dc97 * src/GrampsCfg.py: remove unused options
* src/gramps.glade: remove unused panels in preferences
* src/Plugins.py: removed xpm images
* src/EventEdit.py: get full event list
* src/plugins/AncestorChart.py: remove xpm image
* src/plugins/AncestorChart2.py: remove xpm image
* src/plugins/AncestorReport.py: remove xpm image
* src/plugins/Ancestors.py: remove xpm image
* src/plugins/BookReport.py: remove xpm image
* src/plugins/CustomBookText.py: remove xpm image
* src/plugins/DesGraph.py: remove xpm image
* src/plugins/DescendReport.py: remove xpm image
* src/plugins/DetAncestralReport.py: remove xpm image
* src/plugins/DetDescendantReport.py: remove xpm image
* src/plugins/FamilyGroup.py: remove xpm image
* src/plugins/FtmStyleAncestors.py: remove xpm image
* src/plugins/FtmStyleDescendants.py: remove xpm image
* src/plugins/IndivComplete.py: remove xpm image
* src/plugins/IndivSummary.py: remove xpm image
* src/plugins/Makefile.in: remove xpm image
* src/plugins/SimpleBookTitle.py: remove xpm image
* src/plugins/WebPage.py: remove xpm image
* src/RelLib.py: secondary index for event names


svn: r3158
2004-05-12 03:58:14 +00:00
Alex Roitman
97b0fdf5b8 * src/plugins/DetDescendantReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/DetAncestralReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleDescendants.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleAncestors.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FamilyGroup.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivComplete.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivSummary.py (get_xpm_image): Remove
function, import it from Utils.py instead; Convert to db.


svn: r3125
2004-05-04 21:35:19 +00:00
Don Allingham
e94e313a16 Fixed report
svn: r2920
2004-02-28 05:08:22 +00:00
Don Allingham
9bbcabef44 * src/plugins/WebPage.py: media reference fixes
* src/plugins/ReadGedcom.py: media reference fixes
* src/plugins/IndivSummary.py: media reference fixes
* src/plugins/IndivComplete.py: media reference fixes
* src/plugins/DetAncestralReport.py: media reference fixes
* src/plugins/DetDescendantReport.py: media reference fixes
* src/plugins/Check.py: media reference fixes
* src/gramps_main.py: media reference fixes
* src/Utils.py: gnome.vfs vs. grampslib
* src/RelLib.py: single db file, media reference fixes
* src/MediaView.py: media reference fixes


svn: r2911
2004-02-25 03:25:57 +00:00
Don Allingham
2d81ccd542 First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Alex Roitman
47a66cdf75 * src/plugins/IndivComplete.py: Call doc.init() after open.
* src/plugins/IndivSummary.py: Call doc.init() after open.
* src/plugins/RelCalc.py: Use class of calculator.
* src/plugins/rel_ru.py: Convert to class.
* src/Plugins.py: Register _relcalc_class.
* src/gramps_main.py: Use class of relationship calculator.


svn: r2835
2004-02-15 07:08:55 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
f648e6c663 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings


svn: r2295
2003-10-31 01:20:58 +00:00
Alex Roitman
f78e8dcc74 * src/PaperMenu.py: Change from TextDoc to BaseDoc.
* src/Report.py: Likewise.
* src/SpreadSheetDoc.py: Likewise.
* src/StyleEditor.py: Likewise.
* src/docgen/OpenSpreadSheet.py: Likewise.
* src/docgen/AbiWord2Doc.py: Likewise.
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
* src/plugins/DetDescendantReport.py: Likewise.
* src/plugins/EventCmp.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/GraphViz.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/CustomBookText.py: Likewise.
* src/BaseDoc.py: Likewise.


svn: r2074
2003-09-02 00:47:09 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
84972ea9f2 * src/plugins/FamilyGroup.py: Remove setup() call.
* src/plugins/IndivSummary.py: Enable translation for an event type.
* src/plugins/FtmStyleAncestors.py: Space after full stop.
* src/const.py.in (display_pevent): Try translating string if not
found in the _pe_e2l dictionary. Useful for translating Birth and
Death events which are not in the dictionary as non-editable events.
Seems harmless in the display function ;
(display_fevent, display_event, display_pattr, display_fattr,
display_attr, display_frel): Likewise. Might be useful in some
cases and seems totally harmless.


svn: r1973
2003-08-09 05:24:33 +00:00
Alex Roitman
2a33c54618 * src/docgen/OpenOfficeDoc.py (_write_styles_file): Switch paragraph
alignment to "start" and "end" (was "left and "right").
* src/plugins/AncestorReport.py: Change prefixed style name ("AHN-").
Needed because HTML gets confised by ":" in the class name.
* src/plugins/Ancestors.py: Likewise ("AR-").
* src/plugins/DescendReport.py: Likewise ("DR-").
* src/plugins/DetAncestralReport.py: Likewise ("DAR-").
* src/plugins/DetDescendantReport.py: Likewise ("DDR-").
* src/plugins/FtmStyleAncestors.py: Likewise ("FTA-").
* src/plugins/FtmStyleDescendants.py: Likewise ("FTD-").
* src/plugins/FamilyGroup.py: Likewise ("FGR-").
* src/plugins/CustomBookText.py: Likewise ("CBT-").
* src/plugins/SimpleBookTitle.py: Likewise ("SBT-").
* src/plugins/IndivSummary.py: Likewise ("IVS-").
* src/plugins/IndivComplete.py: Likewise ("IDS-").


svn: r1903
2003-07-18 13:43:13 +00:00
Alex Roitman
97215515a6 * src/plugins/IndivSummary.py (IndivSummary.__init__):
Provide default value of 0 to newpage argument.


svn: r1869
2003-07-12 00:36:06 +00:00
Alex Roitman
1f45296ff7 * src/Report.py (BareReportDialog.build_style_menu):
Initialize menu to self.style_name;
(ReportDialog.__init__): Set self.style_name to "default"
for standalone reports.
* src/plugins/DetDescendantReport.py: Define self.style_name before
calling Report.BareReportDialog.__init__().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1861
2003-07-11 03:29:33 +00:00
Alex Roitman
3c91c0f1b6 * src/plugins/BookReport.py (BookReportDialog.__init__): Do not
* src/plugins/FtmStyleDescendants.py (FtmDescendantReport.__init__):
* src/plugins/IndivComplete.py (IndivComplete.__init__): Likewise.
* src/plugins/IndivSummary.py (IndivSummary.__init__): Likewise.


svn: r1859
2003-07-11 02:52:59 +00:00
Alex Roitman
fde4b089f7 Fix styles in book. Switch to tuple of options.
* src/plugins/AncestorReport.py: Fix styles in book.
* src/plugins/Ancestors.py: Fix styles in book.
* src/plugins/DescendReport.py: Fix styles in book.
* src/plugins/FtmStyleAncestors.py: Fix styles in book.
* src/plugins/FtmStyleDescendants.py: Fix styles in book.
* src/plugins/IndivComplete.py: Switch to tuple of options.
* src/plugins/IndivSummary.py: Switch to tuple of options.
* src/plugins/SimpleBookTitle.py: Fix styles in book.
* src/plugins/FamilyGroup.py: Fix styles in book.
* src/plugins/DetAncestralReport.py: Fix styles in book.


svn: r1837
2003-07-07 16:57:27 +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
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
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
ea3423f181 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +00:00
Don Allingham
5393053b44 Support for AbiWord 1.9 or greater (table support)
svn: r1556
2003-05-20 23:20:47 +00:00
Don Allingham
f17265cf9e Change file extentions in reports when different filetype is chosen
svn: r1534
2003-05-16 01:49:50 +00:00
Unknown
ef06ad30d8 German translation and several typo fixes
svn: r1431
2003-04-09 19:49:11 +00:00
Don Allingham
4738899a5c Faster loading of pages, Improvements to filters
svn: r1340
2003-03-12 03:02:08 +00:00
Don Allingham
6883b0590d Bug fixes from pychecker
svn: r1333
2003-03-08 05:59:20 +00:00
Don Allingham
d2ef898a2d Report updates
svn: r1288
2003-02-08 17:28:41 +00:00
Don Allingham
f830960278 Report error exceptions
svn: r1275
2003-01-29 04:43:12 +00:00
Don Allingham
9b28f6263f Import fixes/pychecker fixes
svn: r1256
2003-01-15 05:25:50 +00:00
Don Allingham
b6926fa77b UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00