Don Allingham
f7df43643f
* various: Change Person.male, Person.female, and Person.unkwown
...
to Person.MALE, Person.FEMALE and Person.UNKNOWN
* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin
svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
159c0eb08f
* src/Report.py: Fix adding styles and calling doc.init().
...
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.
svn: r3948
2005-01-24 16:33:47 +00:00
Alex Roitman
5c08a9cb9a
* src/plugins/FamilyGroup.py (dump_parent): Typo.
...
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
5ec30eb388
* src/Report.py (CommandLineReport.parse_option_str):
...
Fix PluginMgr lists.
* src/plugins/CustomBookText.py: Convert to new scheme.
* src/plugins/FamilyGroup.py: Switch from handle to id for spouse.
* src/plugins/SimpleBookTitle.py: Cleanups.
svn: r3884
2005-01-08 20:19:06 +00:00
Don Allingham
e7569e2671
* src/Plugins.py: move non-gui functions to PluginMgr.py
...
* src/PluginMgr.py: Non-gui functions for plugins
* src/Makefile.am: Added PluginMgr.py
* various: switch from Plugins to PluginMgr
svn: r3866
2005-01-05 05:02:19 +00:00
Alex Roitman
315b674d84
* src/plugins/FanChart.py: Convert to new scheme.
...
* src/SubstKeywords.py (SubstKeywords.__init__): Typo.
* src/plugins/TimeLine.py: Remove unneeded imports.
* src/plugins/FamilyGroup.py: Remove unneeded imports.
* src/plugins/Ancestors.py: Remove unneeded imports.
svn: r3857
2005-01-02 06:40:08 +00:00
Alex Roitman
ba007e7817
* src/plugins/DetAncestralReport.py: Minor cleanup.
...
* src/plugins/DetDescendantReport.py: Convert to new scheme.
* src/plugins/FamilyGroup.py: Convert to new scheme.
svn: r3854
2005-01-01 19:58:53 +00:00
Alex Roitman
ca1c4fe042
* src/AddSpouse.py, src/ChooseParents.py, src/EditPerson.py,
...
src/EditPlace.py, src/EditSource.py, src/EventEdit.py,
src/FamilyView.py, src/GenericFilter.py,
src/Marriage.py, src/PedView.py, src/PeopleModel.py,
src/PlaceView.py, src/RelLib.py, src/SelectChild.py,
src/Sort.py, src/SourceView.py, src/SubstKeywords.py,
src/WriteGedcom.py, src/WriteXML.py, src/plugins/AncestorReport.py,
src/plugins/Ancestors.py, src/plugins/ChangeTypes.py,
src/plugins/DescendReport.py, src/plugins/DetDescendantReport.py,
src/plugins/EventCmp.py, src/plugins/FamilyGroup.py,
src/plugins/FanChart.py, src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py, src/plugins/GraphViz.py,
src/plugins/IndivComplete.py, src/plugins/IndivSummary.py,
src/plugins/Merge.py, src/plugins/RelCalc.py, src/plugins/RelGraph.py,
src/plugins/Summary.py, src/plugins/TimeLine.py, src/plugins/Verify.py,
src/plugins/WebPage.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py:
Use get_event_from_handle (not find_ ).
svn: r3462
2004-08-21 18:56:01 +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
Alex Roitman
258fca1347
* src/plugins/FamilyGroup.py: Convert to db interface.
...
svn: r3122
2004-05-04 03:32:37 +00:00
Alex Roitman
fc6622f02d
* src/plugins/DetAncestralReport.py: Translation corrections.
...
Change "was" to "is".
* src/plugins/DetDescendantReport.py: Translation corrections.
Change "was" to "is".
* src/plugins/FtmStyleAncestors.py (print_more_about):
Translate event names. Add description.
* src/plugins/FtmStyleDescendants.py (print_more_about,
print_more_about_families): Translate event names. Add description.
* src/po/de.po: Change Priesterweihe to Ordination.
* src/plugins/FamilyGroup.py: Translation corrections.
svn: r2895
2004-02-22 19:24:31 +00:00
Don Allingham
7ed2f0551e
Move from object references to IDs
...
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
384357988e
* src/Report.py: Mark translatable string.
...
* src/Witness.py: Mark translatable string.
* src/plugins/FamilyGroup.py: Mark translatable string.
svn: r2733
2004-02-01 00:34:36 +00:00
Don Allingham
201fb9b460
* src/plugins/FamilyGroup.py (FamilyGroup.dump_child): handle missing spouse
...
svn: r2558
2003-12-27 21:56:38 +00:00
Don Allingham
9a2de4c4ee
* 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/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings
svn: r2296
2003-10-31 01:23:16 +00:00
Don Allingham
9719ea83ee
* src/BaseDoc.py: add init function to BaseDoc to be called after
...
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init
svn: r2119
2003-09-13 04:56:04 +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
6431759d5a
* src/gramps_main.py (open_example): Fix destination name when copying
...
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.
svn: r1901
2003-07-18 06:17:28 +00:00
Alex Roitman
2bc38a14d9
* src/plugins/BookReport.py (BookReportDialog.make_document):
...
Move item initialization here (was in make_report).
* src/plugins/DetDescendantReport.py: Remove empty setup().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
svn: r1874
2003-07-13 00:09:29 +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
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
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
Don Allingham
ea3423f181
Catch loops in filters
...
svn: r1583
2003-05-23 04:08:03 +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
Don Allingham
6883b0590d
Bug fixes from pychecker
...
svn: r1333
2003-03-08 05:59:20 +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