Alex Roitman
cb0b034e70
* src/GrampsDb/_WriteGedcom.py: Multiple improvements.
...
* various: Replace get/set_base_handle with get/set_reference_handle.
* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
Remove redundant methods.
svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
57d6df04c9
* various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
...
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
6c0e2b86d6
handle to ref conversions
...
svn: r6239
2006-03-31 04:19:06 +00:00
Alex Roitman
93add4967a
* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
...
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
6b9d4207ce
* src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
...
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
bd67a5ec84
* PluginUtils: Add module with Report and Tool utils.
...
svn: r6121
2006-03-09 20:49:29 +00:00
Alex Roitman
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
704e0c4787
Merge changes from gramps20 made since 2.0.5
...
svn: r5105
2005-08-18 05:58:28 +00:00
Alex Roitman
d7ce524379
Merge from 2.0.1
...
svn: r4666
2005-05-24 13:08:06 +00:00
Alex Roitman
b3fa7d644d
* src/RelLib.py (NoteBase,PlaceBase): Add new classes.
...
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.
svn: r4246
2005-03-28 04:58:28 +00:00
Alex Roitman
bb03994a08
* src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
...
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.
svn: r4073
2005-02-22 03:43:53 +00:00
Don Allingham
6463227a6e
* 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
73f958b915
* 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
d8a76a4c6d
* src/docgen/PdfDoc.py: Port table and image fixes from STABLE.
...
* src/plugins/Ancestors.py (person_name): Avoid overriding builtin.
svn: r3919
2005-01-17 05:12:34 +00:00
Don Allingham
40559041d3
* 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
0a3e608121
* 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
6494d8e7bb
* src/RelLib.py (Family.set_mother_handle): Typo.
...
* src/Report.py: Use gen and pagebbg.
* src/ReportOptions.py: Use gen and pagebbg.
* src/plugins/Ancestors.py: Use gen and pagebbg.
* src/plugins/AncestorReport.py: Use gen and pagebbg.
* src/plugins/DescendReport.py: Use gen and pagebbg.
* src/plugins/FtmStyleDescendants.py: Use gen and pagebbg.
* src/plugins/FtmStyleAncestors.py: Use gen and pagebbg.
* src/plugins/IndivComplete.py: Convert to new scheme.
* src/plugins/TimeLine.py: Add custom filters to the pool.
* src/plugins/DetAncestralReport.py: Convert to new scheme.
svn: r3849
2005-01-01 02:17:17 +00:00
Don Allingham
1ffdd6a713
* src/Plugins.py: add GrampsBookFormatComboBox class
...
* src/Report.py: Roll common functions into Report class
* src/plugins/AncestorReport.py: Bring up to date with Report
* src/plugins/Ancestors.py: Bring up to date with Report
* src/plugins/BookReport.py: Bring up to date with Report,
incorporate new ComboBox
* src/plugins/DescendReport.py: Bring up to date with Report
* src/pulgins/FtmStyleAncestors.py: Bring up to date with Report
* src/pulgins/FtmStyleDescendants.py: Bring up to date
with Report
* src/plugins/IndivSummary.py: Bring up to date with Report
* src/plugins/TimeLine.py: Bring up to date with Report
svn: r3843
2004-12-30 00:21:49 +00:00
Alex Roitman
1357661bb5
* src/DisplayTrace.py: Typo in the debian version filename.
...
* src/plugins/Ancestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: New date handling.
* src/plugins/FtmStyleDescendants.py: New date handling.
* src/plugins/FtmStyleAncestors.py: New date handling.
svn: r3842
2004-12-29 21:19:18 +00:00
Tim Waugh
4f64dd0fea
2004-12-13 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py (generation): Avoid empty sections.
svn: r3801
2004-12-13 19:00:12 +00:00
Tim Waugh
824df0bf5a
2004-11-12 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py (person_name): Handle surname prefix (patch
from Julio Sanchez).
svn: r3724
2004-11-12 13:09:41 +00:00
Tim Waugh
8b966449a7
2004-11-05 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py: Include non-marriage relationships.
svn: r3706
2004-11-05 11:30:00 +00:00
Don Allingham
24946bfd7f
* src/Date.py: Added "set_year" function
...
* src/Utils.py: qualifiy Date calls, eliminate string
module usage
* src/edit_sm.png: new image
* src/Makefile.am: install edit_sm.png
* src/gramps_main.py: update relationship calculator
on database change
* src/Ancestors.py: initialize born_info
svn: r3687
2004-10-29 00:49:40 +00:00
Tim Waugh
0d68f5d230
2004-10-27 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py: Fixed typo spotted by Eero Tamminen.
svn: r3680
2004-10-27 09:29:51 +00:00
Alex Roitman
690a7e126a
* src/DateDisplay.py (display): Display text for text-only dates.
...
Closes # 1036846.
* src/plugins/Merge.py (date_match,range_compare): Use new
Date API. Closes # 1036852.
* src/plugins/WebPage.py: Use new Date API. Use correct module
for gconf keys access. Closes # 1036856.
* src/Sort.py (by_date): Use new Date API.
* src/plugins/AncestorReport.py: Use new Date API. Closes # 1036858.
* src/plugins/Ancestor.py: Correct use of handles.
Use new Date API. Closes # 1036859.
svn: r3593
2004-10-02 23:07:43 +00:00
Tim Waugh
46b32a5619
2004-09-14 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py: Fixed SF bug #1009695 .
svn: r3543
2004-09-14 13:51:18 +00:00
Tim Waugh
72008e1b8b
2004-09-13 Tim Waugh <twaugh@redhat.com>
...
* src/plugins/Ancestors.py (event_info): Prevent constructions like
"died in before 1901" by playing safe if the mode is not exact.
svn: r3536
2004-09-13 15:46:00 +00:00
Alex Roitman
7eada1b47d
* src/plugins/Ancestors.py (event_info): Check whetehr place
...
exists before getting its title (#1014412 ).
svn: r3489
2004-08-23 17:04:14 +00:00
Alex Roitman
a75338f737
* 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
Alex Roitman
37b30dbc2c
* src/plugins/Verify.py (on_apply_clicked): Append warnings
...
to errors instead of overwriting; determine actual dates of burial
and baptism; (get_year): Correctly compare calendar names.
* src/plugins/rel_it.py: removed translatable strings (should be
already italian).
* src/plugins/IndivComplete.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/RelGraph.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/TimeLine.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WebPage.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WriteFtree.py (__init__):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/Ancestors.py (person_name): Use translated name type.
svn: r3454
2004-08-20 21:55:29 +00:00
Don Allingham
bfc08ca83a
* 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
082907d675
* various: change try_to_find_*_from_handle to
...
get_*_from_handle
svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
95e62181d3
* src/RelLib.py, etc.: convert get_id to get_handle
...
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
8ddbce94f0
* 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
2bd66d6b4c
pychecker fixes
...
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
a15bf019b2
* 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
f1656f3a04
Update
...
svn: r3107
2004-04-25 05:38:17 +00:00
Alex Roitman
d00e8aa8f4
Update
...
svn: r3106
2004-04-25 05:37:51 +00:00
Alex Roitman
b86de1f6be
* src/docgen/RTFDoc.py: Typo.
...
* src/Utils.py (get_xpm_image): Add function.
* src/plugins/AncestorReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/Ancestors.py (get_xpm_image): Remove function;
Bring up to the database interface.
svn: r3105
2004-04-25 04:48:02 +00:00
Alex Roitman
e9f84ae9b8
* src/plugins/Ancestors.py: Use 1 instead of gtk.True.
...
svn: r2991
2004-03-10 02:14:00 +00:00
Don Allingham
e878549bfd
First DB pass
...
svn: r2884
2004-02-21 06:11:59 +00:00
Alex Roitman
50f51136f2
Update
...
svn: r2851
2004-02-16 02:34:50 +00:00
Alex Roitman
86f6e01a99
Update
...
svn: r2850
2004-02-16 02:05:47 +00:00
Alex Roitman
f0284be0ca
Update
...
svn: r2849
2004-02-16 02:05:35 +00:00
Alex Roitman
4c75a89cb0
Update
...
svn: r2848
2004-02-16 01:24:06 +00:00
Alex Roitman
fc820799ff
* src/plugins/Ancestors.py: Use get_grandparents_string which is
...
registered in Plugins (possibly from the relationship calculator).
svn: r2843
2004-02-15 21:52:43 +00:00
Don Allingham
015973462a
Move from object references to IDs
...
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
7b1b6c67df
* src/plugins/Ancestors.py: Typo.
...
* src/plugins/IndivComplete.py: Typo.
svn: r2732
2004-01-31 23:01:27 +00:00
Don Allingham
4f22b0cc17
fix update
...
svn: r2730
2004-01-31 20:26:36 +00:00
Don Allingham
0718510e0a
* src/docgen/AbiWord2Doc.py: pychecker fixes
...
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes
svn: r2634
2004-01-13 05:05:39 +00:00