Commit Graph

2401 Commits

Author SHA1 Message Date
Guillaume Pratte
520e7f74e9 Modified Files:
* configure.in : changed fr_FR to fr.
 * src/plugins/rel_fr.py : added fr_CA and fr_CA.UTF-8 to the locale list.
Added Files:
 * src/po/fr.po : version from the STABLE branch.
Removed Files:
 * src/po/fr_FR.po


svn: r3973
2005-01-27 05:17:12 +00:00
Don Allingham
a19bd386f4 * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Don Allingham
23e620f2b5 * src/ReportUtils.py: allow start and stop event handle selection
for age estimation


svn: r3967
2005-01-26 04:21:38 +00:00
Alex Roitman
82e6acd258 * src/ReadGedcom.py (parse_person_object,parse_family_object):
Use absolute path to work around what seems a gnomevfs issue.


svn: r3965
2005-01-25 23:08:37 +00:00
Alex Roitman
74730bbff7 * src/TipOfDay.py (TipOfDay.__init__): Set transent property.
* src/gramps_main.py (Gramnps.__init__): Pass itself to TipOfDay;
(on_show_plugin_status,build_plugin_menus): Pass itself to PluginStatus.
* src/Plugins.py (PluginStatus.__init__): Set transent property.


svn: r3963
2005-01-25 21:25:15 +00:00
Eero Tamminen
a1edfc1fbc made cli report name consistent with naming of other reports
svn: r3962
2005-01-25 20:24:25 +00:00
Eero Tamminen
98dbcea73d fix StatisticsChart.py chart output, improve code
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
e9cee32736 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Don Allingham
dceb6c2851 * gramps.spec.in: pkill gconfd to fix settings
svn: r3959
2005-01-25 04:24:42 +00:00
Alex Roitman
0ca604ac37 Update
svn: r3958
2005-01-25 00:25:11 +00:00
Alex Roitman
8e5fdc2f3b * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support.
svn: r3957
2005-01-25 00:23:53 +00:00
Alex Roitman
f05004329e * src/Report.py (BareReportDialog.init_interface): Set up buttons
with proper response values; (report): Ignore everything except
RESPONSE_OK.
* src/plugins/BookReport.py (BookReportSelector.on_setup_clicked,
BookReportDialog.__init__): Ignore everything except RESPONSE_OK.


svn: r3956
2005-01-24 23:39:50 +00:00
Alex Roitman
d8993a0861 * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF.
svn: r3954
2005-01-24 19:29:51 +00:00
Alex Roitman
8dd05e8392 update
svn: r3952
2005-01-24 19:03:05 +00:00
Alex Roitman
da2668c07a Update
svn: r3949
2005-01-24 16:40:36 +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
Don Allingham
b5ba21b5e4 * src/BaseDoc.py: don't check for init on table or cell addition
* src/Report.py: Call doc.init() before write_report


svn: r3947
2005-01-24 00:16:33 +00:00
Eero Tamminen
961426c030 Complete refactoring of the Extract class
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
cd047ba03a preliminary multiple statistics chart support
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
7c2adb8e19 use non-localized descriptions for cli help
svn: r3944
2005-01-21 21:46:11 +00:00
Eero Tamminen
65e574a7d6 added a few TODOs
svn: r3943
2005-01-21 19:05:37 +00:00
Don Allingham
8e813388e5 * src/ReportUtils.py: added estimate_age and sanitize_person
* src/BaseDoc.py: Add checks attempting to add styles after initializing
the document
* src/docgen/OpenOfficeDoc.py: add init assertions
* src/docgen/PSDrawDoc.py: fix line style in boxes
* src/docgen/SvgDrawDoc.py: fix line style in boxes

* src/ReportUtils.py: added documentation


svn: r3942
2005-01-20 04:11:13 +00:00
Alex Roitman
1a1df8a3e3 Minor
svn: r3939
2005-01-19 05:15:30 +00:00
Alex Roitman
d47d5e7f5a * src/dates/Date_fr.py: Add formats and quality.
* src/dates/Date_es.py: Add formats and quality.


svn: r3938
2005-01-19 05:13:09 +00:00
Alex Roitman
ff42dac0d1 * src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.


svn: r3937
2005-01-19 04:47:36 +00:00
Alex Roitman
0d96ab6776 Update
svn: r3936
2005-01-19 03:40:16 +00:00
Alex Roitman
15491e3ad5 * src/RelLib.py (Event.are_equal): Only compare place handles if
at least one if them is non-empty.


svn: r3935
2005-01-19 03:31:48 +00:00
Alex Roitman
114ee7f12e * src/EditPerson.py (get_place): Use "" for empty place's handle.
svn: r3934
2005-01-19 03:24:33 +00:00
Alex Roitman
71cf749a45 * src/NameEdit.py: Fix patronymic show/save.
svn: r3933
2005-01-19 00:36:06 +00:00
Alex Roitman
ff00451646 * src/DateDisplay.py: Move common objects back to DateDisplay class.
* src/dates/Date_ru.py: Add formats and quality.


svn: r3932
2005-01-19 00:13:57 +00:00
Eero Tamminen
6694f7e139 numerous changes to GraphViz.py, see Changelog
svn: r3931
2005-01-18 21:00:58 +00:00
Matthieu Pupate
5cfa94a7de Update according to template.po
svn: r3930
2005-01-18 20:44:24 +00:00
Matthieu Pupate
9b07c287e6 Ajout des modifications de Guillaume Pratte
svn: r3929
2005-01-18 20:37:47 +00:00
Alex Roitman
4a81557fe4 Update
svn: r3928
2005-01-18 15:49:57 +00:00
Alex Roitman
d7de60f379 * NEWS: Correct attribution of ini-backend.
* configure.in: bump up the version number.

* Release: Version 1.1.3 Splunge: this is a greate idea, but
possibly lousy, and I'm not being indecisive" released.


svn: r3927
2005-01-18 15:47:18 +00:00
Don Allingham
26fcdca9f4 * src/ReportUtils.py: Added
* src/BaseDoc.py: support for graphs
* src/docgen/OpenOfficeDoc.py: write_at support
* src/Makefile.am: added ReportUtils.py


svn: r3926
2005-01-18 05:42:08 +00:00
Don Allingham
414a154e78 update
svn: r3925
2005-01-18 03:15:40 +00:00
Alex Roitman
8418fe110e Update
svn: r3923
2005-01-18 01:03:59 +00:00
Alex Roitman
4d8158d041 update
svn: r3922
2005-01-17 20:50:41 +00:00
Alex Roitman
ece2cf7d42 * src/plugins/GraphViz.py: Remove bogus UI labels.
svn: r3921
2005-01-17 20:46:32 +00:00
Alex Roitman
7b1c41a611 * src/ReadGedcom.py: Handle missing TRLR record.
svn: r3920
2005-01-17 18:05:50 +00:00
Alex Roitman
e5dc04dc55 * 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
Alex Roitman
be850a40c6 * src/ReportOptions.py (OptionHandler.set_options):
svn: r3918
2005-01-16 19:14:14 +00:00
Alex Roitman
5c08a9cb9a * src/plugins/FamilyGroup.py (dump_parent): Typo.
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
2444226acc * src/Plugins.py (reload_plugins): Check for status.
* src/Report.py: pychecker fixes


svn: r3916
2005-01-16 17:50:32 +00:00
Don Allingham
effa5fd442 * src/EditPerson.py: don't use quote date
* src/PeopleModel.py: remove BOLD
* src/PeopleView.py: start of sorting support
* src/WriteXML.py: use hlink for Witness
* various: pychecker fixes
* configure.in: bump up to 1.1.3, the "Splunge: this is a
greate idea, but possibly lousy, and I'm not being indecisive"
release


svn: r3915
2005-01-16 04:00:35 +00:00
Alex Roitman
1f127db0a5 * src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
2005-01-15 20:24:29 +00:00
Alex Roitman
82edf5a99d * src/plugins/GraphViz.py: Restore "Place/cause when no date"
option that was available before in RelGraph; rename 'show
family nodes' into 'sfn'.
* src/plugins/StatisticsChart.py: Rename 'sort' into 'sortby'.


svn: r3913
2005-01-15 05:51:48 +00:00
Alex Roitman
c29f7d3122 * src/plugins/BookReport.py: Switch to saving/restoring/registering
items by the non-localized name.
* src/plugins/GraphViz.py: Many various fixes.


svn: r3911
2005-01-14 05:02:20 +00:00
Alex Roitman
b71df1c117 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +00:00
Alex Roitman
1ec6ff4afa * src/plugins/Check.py: Typos.
svn: r3909
2005-01-13 18:00:49 +00:00
Don Allingham
f770f8b329 * src/DateDisplay.py: Make DateDisplayEn inherit from DateDisplay, make
DateDisplay handle only ISO dates
* src/DateHandler.py: use DateDisplayEn for English languages, use
DateDisplay for CJK
* src/GrampsCfg.py: Don't do initial redisplay of Person List when
dialog comes up, update dates dynamically when date format changes


svn: r3908
2005-01-12 21:23:31 +00:00
Alex Roitman
b4c04498fc * src/DisplayModels.py: Add Date and Place columns to Media model;
Zip to Place model.
* src/MediaView.py: Support for Date and Place columns.
* src/PlaceView.py: Support for Zil column.
* src/GrampsDbBase.py (get_place_column_order,
get_media_column_order): New column defaults.


svn: r3907
2005-01-12 13:41:54 +00:00
Alex Roitman
6e4e9a73b1 * src/plugins/WebPage.py: Fix templates.
svn: r3906
2005-01-12 04:16:22 +00:00
Alex Roitman
8f4bbbe0b1 * src/Report.py: Switch to using short format names. Fix templates.
* src/Plugins.py: Switch to using short format names.
* src/PluginMgr.py: Switch to using short format names.
* src/ReportOptions.py: Switch to using short format names.


svn: r3905
2005-01-12 03:29:02 +00:00
Alex Roitman
979ef1a6bc * src/plugins/GraphViz.py: Support for graphical report
if dot was found on the system.


svn: r3904
2005-01-12 00:48:42 +00:00
Alex Roitman
52bc1dbacc Update
svn: r3903
2005-01-11 23:01:54 +00:00
Alex Roitman
414a2c80d6 * src/Utils.py (for_each_ancestor): Switch from Person to handle.
* src/GenericFilter.py (for_each_ancestor): Pass db instance.


svn: r3902
2005-01-11 22:41:15 +00:00
Eero Tamminen
083192ce53 fixes to StatisticsChart
svn: r3901
2005-01-11 20:31:51 +00:00
Alex Roitman
c695745a4b Update
svn: r3900
2005-01-11 16:56:51 +00:00
Alex Roitman
75bbe738cf * src/GrampsGconfKeys.py (get_event_id_prefix): Typo.
* src/GrampsIniKeys.py (get_event_id_prefix): Typo.


svn: r3899
2005-01-11 16:55:15 +00:00
Alex Roitman
9e10f6e634 * src/WriteGedcom.py (write_source_ref): Use source, not handle.
svn: r3898
2005-01-11 04:32:26 +00:00
Alex Roitman
43bb968621 * src/EditPlace.py (EditPlace.display_references):
Fix event and object references.
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
Add references for personal and family events.


svn: r3897
2005-01-11 04:17:53 +00:00
Don Allingham
7e47d6b026 * src/EditPlace.py: make reference lists work properly for places
svn: r3896
2005-01-11 04:09:52 +00:00
Alex Roitman
264ed5e63c * src/PluginMgr.py (reload_plugins): Remove function.
* src/Plugins.py (reload_plugins): Add function.


svn: r3895
2005-01-11 03:51:27 +00:00
Alex Roitman
c76e7fa59a More fixes
svn: r3894
2005-01-11 03:17:56 +00:00
Alex Roitman
7987f99536 * src/plugins/StatisticsChart.py: Misc fixes.
svn: r3893
2005-01-11 02:19:29 +00:00
Alex Roitman
a7e4980555 Some fixes
svn: r3892
2005-01-11 00:28:53 +00:00
Eero Tamminen
ebcc451308 Initial port of StatisticsChart plugin to CVS HEAD
svn: r3891
2005-01-10 20:12:16 +00:00
Alex Roitman
d6fe13f596 * src/PluginMgr.py: Minor fixes.
svn: r3890
2005-01-09 03:28:28 +00:00
Alex Roitman
5acb5d08e4 Remove unneeded import
svn: r3889
2005-01-09 02:39:19 +00:00
Don Allingham
0d647c59c7 * src/GrampsDbBase.py: remove thumbnailing routines, add
id creation. Removes gtk and Utils dependencies, making the
database routines independent of gtk and gnome.
* src/ImgManip.py: add thumbnailing routines.
* various: thumbnailing changes and pychecker fixes


svn: r3888
2005-01-09 02:18:49 +00:00
Alex Roitman
6565f54e8f * src/gramps.glade: Reorder toolbar style options.
* src/GrampsCfg.py (get_toolbar_style): Remove function;
(GrampsPreferences.build): Use correct values.
* src/GrampsGconfKeys.py (get_toolbar, save_toolbar):
Correct tuple of valid values.
* src/gramps_main.py (init_interface, toolbar_key_update):
Use function from GrampsKeys.
* src/data/gramps.schemas: Correct the default and the
description of the toolbar key.


svn: r3887
2005-01-08 22:35:04 +00:00
Alex Roitman
06ffc847e9 * src/DbPrompter.py (NewNativeDbPrompter.chooser):
Initialize natvie database before attempting to load.


svn: r3886
2005-01-08 21:52:57 +00:00
Alex Roitman
894aa1d810 * src/GrampsInMemDB.py (get_person_from_gramps_id,
get_family_from_gramps_id,get_place_from_gramps_id,
get_source_from_gramps_id,get_object_from_gramps_id):
Unserialize tuple and return a proper GRAMPS object.


svn: r3885
2005-01-08 21:42:40 +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
Alex Roitman
5b5d4d4094 * src/plugins/SimpleBookTitle.py: Convert to new scheme.
* src/docgen/LPRDoc.py: Support photo alignments.
* src/Report.py: Fix interface creation order.


svn: r3883
2005-01-08 05:54:49 +00:00
Don Allingham
d9291bb183 * src/gramps.glade: removal of more OptionMenus in favor
of ComboBoxes
* src/GrampsCfg.py: use new ComboBoxes
* src/DateHandler.py: fix set_format vs. formats bug


svn: r3882
2005-01-08 03:49:43 +00:00
Alex Roitman
7ce6260675 * src/Plugins.py: Use doc lists from PluginMgr.
* src/Exporter.py: Use exports list from PluginMgr.
* src/plugins/BookReport.py: Import Plugins module.
* src/NameEdit.py (NameEditor.__init__): Typos.


svn: r3881
2005-01-08 00:20:42 +00:00
Eero Tamminen
0decbd0858 added missing py files to installation list
svn: r3879
2005-01-07 19:39:08 +00:00
Alex Roitman
a88a436a33 * src/ArgeHandler.py: Support for WEB for CLI mode.
* src/Report.py: Support for WEB reports.
* src/plugins/GraphViz.py: Minor tweaks.
* src/plugins/WebPage.py: Convert to new scheme. Still rough.


svn: r3878
2005-01-07 04:53:43 +00:00
Don Allingham
cf5ddaf1c8 * src/EditPerson.py: switch to ComboBox from OptionMenu
* src/GenericFilter.py: switch to ComboBox from OptionMenu
* src/Marriage.py: switch to ComboBox from OptionMenu
* src/PeopleView.py: switch to ComboBox from OptionMenu
* src/gramps.glade:switch to ComboBox from OptionMenu
* src/gramps_main.py: switch to ComboBox from OptionMenu


svn: r3877
2005-01-07 04:34:02 +00:00
Alex Roitman
cfa560f7b1 Minor
svn: r3876
2005-01-06 20:08:27 +00:00
Don Allingham
1c8f125ba5 added
svn: r3875
2005-01-06 19:26:54 +00:00
Alex Roitman
a348a97e4c Minor
svn: r3874
2005-01-06 18:38:42 +00:00
Don Allingham
5cb6bd08d5 * src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
2005-01-06 17:28:31 +00:00
Alex Roitman
f0032a4c59 Minor update
svn: r3872
2005-01-06 04:47:57 +00:00
Don Allingham
abb53ed2a3 * src/gramps_main.py: detect pygtk_version before passing
False for markup on MenuItem


svn: r3871
2005-01-06 04:07:29 +00:00
Alex Roitman
e50684ce31 * src/Utils.py (roman): Proper implementation.
svn: r3869
2005-01-06 03:15:25 +00:00
Don Allingham
442981c543 * src/EditSource.py: Patch to fix the list of References of a
Source, because currently the Source for a Person and Sources
of addresses are omitted.


svn: r3868
2005-01-06 03:08:52 +00:00
Alex Roitman
04f0b2958c * src/ArgeHandler.py: Support for CODE for CLI mode.
* src/Plugins.py: Use 'text' instead of 'doc'.
* src/Report.py: Support for CODE reports.
* src/ReportOptions.py: Paper-setting methods for runtime.
* src/const.py.in: Label change.
* src/plugins/GraphViz.py: Convert to new scheme.


svn: r3867
2005-01-05 05:56:33 +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
Don Allingham
5ed9b8db51 * src/DateHandler.py: Don't force English parser if problem with
config value, but LANG is set properly


svn: r3863
2005-01-03 19:43:22 +00:00
Don Allingham
acb97d5c56 * src/GrampsDbBase.py: move all thumbnail creation here to have
a common thumbnail scheme.
* src/GrampsInMemDB.py: remove thumbnail handling, use base class


svn: r3862
2005-01-03 19:28:04 +00:00
Alex Roitman
4d66f63358 * src/plugins/Makefile.am: Stop shipping RelGraph.py.
svn: r3861
2005-01-02 23:55:21 +00:00
Alex Roitman
9fc7d9f98e * src/plugins/RelGraph.py: Remove from CVS.
* src/plugins/GraphViz.py: Minor fixes. Still not converted yet.


svn: r3860
2005-01-02 23:54:11 +00:00
Alex Roitman
ad6261ae47 * src/Report.py (report): Support for VIEW reports.
* src/plugins/Summary.py: Convert to new scheme.
* src/plugins/CountAncestors.py: Convert to new scheme.


svn: r3859
2005-01-02 23:48:39 +00:00
Alex Roitman
2c166c0dfd * src/Report.py: Add support for a semi-common 'dispf'.
* src/ReportOptions.py: Add support for a semi-common 'dispf'.
* src/Utils.py (cm2pt): Add function.
* src/plugins/AncestorChart.py: Convert to new scheme.
* src/plugins/AncestorChart2.py: Convert to new scheme.
* src/plugins/DesGraph.py: Convert to new scheme.


svn: r3858
2005-01-02 22:22:11 +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
Don Allingham
f4f8bc672d * src/EditPerson.py: move strip_id from Utils
* src/GrampsCfg.py: use ComboBox for toolbar selection
* src/Sources.py: switch to ComboBoxes from OptionMenus
* src/Utils.py: removed unused functions
* src/gramps.glade: switch to ComboBoxes


svn: r3856
2005-01-02 05:16:25 +00:00