Commit Graph

1527 Commits

Author SHA1 Message Date
Alex Roitman
22275dcd42 * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names.
svn: r4060
2005-02-19 23:37:35 +00:00
Alex Roitman
acd05b555d * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Chunk to depth 3.
* doc/gramps-manual/C/figures/gedcom-export.png: Update.
* doc/gramps-manual/C/figures/export-druid.png: Add figure.
* src/Exporter.py: Change labels, support CD export (lame).
* src/WriteGedcom.py: Correct label.
* src/WriteXML.py: Return status on success.
* src/plugins/WriteCD.py: Support for wizard (lame).
* src/plugins/WritePkg.py: Correct label.
* src/ArgHandler.py: Re-enable CD export.


svn: r4059
2005-02-19 22:33:24 +00:00
Alex Roitman
a5290540b6 Update
svn: r4057
2005-02-19 22:16:32 +00:00
Alex Roitman
eccc20a12a Update
svn: r4056
2005-02-19 22:14:35 +00:00
Don Allingham
d382675562 * src/EditPerson.py: add privacy marker
* src/GrampBSDDB.py: record database version, handle person privacy flag
* src/RelLIb.py: Privacy flag for person (inherit from DataObj instead of SourceNote)
* src/ReportUtils.py: update to use person privacy flag
* src/gramps.glade: person privacy flag


svn: r4055
2005-02-19 22:11:51 +00:00
Alex Roitman
14052b42db * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Don Allingham
3ca70aac2d * src/EditPerson.py: more readonly patches
* src/EventEdit.py: more readonly patches
* src/Marriage.py: more readonly patches
* src/gramps.glade: more readonly patches


svn: r4053
2005-02-19 04:41:59 +00:00
Alex Roitman
c3abb66292 * src/EditPerson.py: Readonly fix.
* src/gramps.glade: Typo.


svn: r4052
2005-02-19 03:29:56 +00:00
Alex Roitman
694c982800 * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.

* src/Report.py (doc_type_changed): Deal with empty extensions.
* src/docgen/AsciiDoc.py (add_photo): Add method;
(end_row): Inlcude last cell into proper formatting.
* src/GedcomInfo.py: Properly import expat.ParserCreate class.
* src/TipOfDay.py: Properly import expat.ParserCreate class.
* src/RecentFiles.py: Properly import expat.ParserCreate class.
* src/ReadXML.py: Properly import expat.* classes.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/usage.xml: Update.
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.


svn: r4051
2005-02-19 00:49:49 +00:00
Eero Tamminen
0faaae0201 Fix StatisticsChart.py date object checking
svn: r4048
2005-02-18 19:22:06 +00:00
Alex Roitman
746e10295b * src/docgen/OpenOfficeDoc.py: Typo.
svn: r4047
2005-02-18 05:17:48 +00:00
Don Allingham
37e3d0d2e3 * src/EditPerson.py: more readonly support
* src/NoteEdit.py: more readonly support
* src/Sources.py: more readonly support
* src/gramps_main.py: more readonly support
* src/gramps.glade: more readonly support


svn: r4046
2005-02-18 04:49:59 +00:00
Alex Roitman
9ba1e69000 * src/docgen/LPRDoc.py (write_at): Correct vertical offset.
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.


svn: r4045
2005-02-18 01:10:25 +00:00
Don Allingham
d75e6a198e * src/Marriage.py: disable buttons in readonly mode
* src/EditPerson.py: disable buttons in readonly mode
* src/Sources.py: disable buttons in readonly mode
* src/gramps.glade: name buttons


svn: r4044
2005-02-17 04:46:13 +00:00
Alex Roitman
a7897625fe * doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/mainwin.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/family-alt.png: Update.
* doc/gramps-manual/C/figures/family.png: Update.
* doc/gramps-manual/C/figures/mainwin.png: Update.
* doc/gramps-manual/C/figures/media.png: Update.
* doc/gramps-manual/C/figures/noside-nofilt.png: Update.
* doc/gramps-manual/C/figures/pedigree-anchor.png: Update.
* doc/gramps-manual/C/figures/pedigree.png: Update.
* doc/gramps-manual/C/figures/places.png: Update.
* doc/gramps-manual/C/figures/side-filt.png: Update.
* doc/gramps-manual/C/figures/sources.png: Update.
* doc/gramps-manual/C/figures/column-editor.png: Add to CVS.
* doc/gramps-manual/C/figures/pedigree-siblings-cut.png: Add to CVS.


svn: r4043
2005-02-17 04:38:45 +00:00
Don Allingham
f33cc35550 * src/EditSource.py: commit events after deleting sources
svn: r4042
2005-02-17 02:24:23 +00:00
Don Allingham
5576d07516 * src/GrampsBSDDB.py: first pass of readonly support
* src/GrampsInMem.py: first pass of readonly support
* src/GrampsGEDDB.py: first pass of readonly support
* src/GrampsXMLDB.py: first pass of readonly support
* src/gramps.py: first pass of readonly support
* src/FamilyView.py: first pass of readonly support
* src/EditPerson.py: first pass of readonly support
* src/EditPlace.py: first pass of readonly support
* src/EditSource.py: first pass of readonly support
* src/gramps.glade: assign names to buttons


svn: r4041
2005-02-16 22:49:54 +00:00
Eero Tamminen
88cf2f9227 get option value from correct field
svn: r4039
2005-02-16 21:02:39 +00:00
Don Allingham
0335fa592a * src/DisplayModels.py: don't override on_row_deleted
svn: r4037
2005-02-16 18:05:20 +00:00
Alex Roitman
6c22a6ed62 * src/EditSource.py (DelSrcQuery.query_response): Typos.
* src/ImageSelect.py (DeleteMediaQuery.query_response): Typo.
* src/GrampsInMemDB.py (remove_place,remove_object): Add methods;
(remove_person,remove_source,remove_family): Correctly remove from
id_trans table.
* src/FamilyView.py (parent_deleter,really_remove_spouse):
Use get_ instead of find_ functions.


svn: r4036
2005-02-16 13:49:32 +00:00
Don Allingham
064311fc73 * src/AddMedia.py: handle "note only" media object
* src/DisplayModels.py: handle media type of None
* src/ImageSelect.py: Add "internal note" check box
* src/MediaView.py: handle media type of None
* src/NoteEdit.py: use glade definition
* src/gramps.glade: add note editor
* src/plubins/NavWebPage.py: Add default pages


svn: r4035
2005-02-16 05:41:33 +00:00
Alex Roitman
d38cf31a31 * doc/gramps-manual/C/authors.xml: Add list of contributors.
* doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.
* doc/gramps-manual/C/legal.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/first-open.png: New shot.


svn: r4034
2005-02-16 05:19:17 +00:00
Alex Roitman
3fd0b1406d * doc/gramps-manual/C/authors.xml: Add file.
* doc/gramps-manual/C/bugs.xml: Add file.
* doc/gramps-manual/C/preface.xml: Add file.
* doc/gramps-manual/C/Makefile.am: Ship new files.
* doc/gramps-manual/C/cmdline.xml: Convert to book.
* doc/gramps-manual/C/custom.xml: Convert to book.
* doc/gramps-manual/C/faq.xml: Convert to book.
* doc/gramps-manual/C/filtref.xml: Convert to book.
* doc/gramps-manual/C/getstart.xml: Convert to book.
* doc/gramps-manual/C/gramps-manual.xml: Convert to book.
* doc/gramps-manual/C/keybind.xml: Convert to book.
* doc/gramps-manual/C/legal.xml: Change license to GPL.
* doc/gramps-manual/C/mainwin.xml: Convert to book.
* doc/gramps-manual/C/usage.xml: Convert to book.
* COPYING-DOCS: Change license to GPL.


svn: r4032
2005-02-15 02:35:26 +00:00
Alex Roitman
79eb2c6897 Update
svn: r4031
2005-02-14 22:33:58 +00:00
Alex Roitman
7a2a3d401d * src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
2005-02-14 21:39:59 +00:00
Alex Roitman
21da722351 * src/ArgHandler (handle_args): Natively open XML and GEDCOM
when given a single filename argument.
* src/gramps_main.py (read_gedcom,read_xml): Remove ununsed functions.


svn: r4029
2005-02-14 03:09:22 +00:00
Alex Roitman
358f4a592f * src/ReadGrdb.py: Check for overlapping handles prior to
modifying data.


svn: r4028
2005-02-14 01:32:07 +00:00
Don Allingham
f47f7b0d7f * src/plugins/NavWebPage.py: More enhancements
* src/Sort.py: sort places by title


svn: r4026
2005-02-13 03:54:47 +00:00
Don Allingham
2db8fad3cd * src/plugins/NavWebpage.py: Build template pages for unused
pages, add Surname List and Individual List pages.


svn: r4024
2005-02-10 01:44:05 +00:00
Alex Roitman
74e3d942bb Update
svn: r4023
2005-02-04 13:55:54 +00:00
Alex Roitman
094c52c13f * src/plugins/NavWebPage.py (display_relationships): Pass
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.


svn: r4022
2005-02-04 13:54:02 +00:00
Don Allingham
8f2d56c922 * src/plugins/NavWebPage.py: more progress
svn: r4020
2005-02-04 03:54:48 +00:00
Don Allingham
dd093aacfc * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
2005-02-03 00:32:20 +00:00
Eero Tamminen
2581aa31fb better colors for pies
svn: r4018
2005-02-02 20:50:14 +00:00
Alex Roitman
e315d52b52 * src/Makefile.am: Ship ReadGrdb.py and WriteGrdb.py.
svn: r4017
2005-02-02 14:02:13 +00:00
Alex Roitman
aa41d93ec1 * src/Report.py: Proper translatable strings for generation numbers.
* src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4016
2005-02-02 05:09:07 +00:00
Guillaume Pratte
6b9380044c Updated
svn: r4015
2005-02-02 05:07:09 +00:00
Alex Roitman
7c272cbb34 * src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4011
2005-02-01 05:08:16 +00:00
Alex Roitman
966e045bfc Update
svn: r4010
2005-02-01 04:18:12 +00:00
Alex Roitman
778aa84846 * src/RelLib.py: Finish up with actual MALE, FEMALE, and UNKNOWN
svn: r4009
2005-02-01 04:16:02 +00:00
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
4385ae0b7c * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Alex Roitman
7b139057ea Update
svn: r4004
2005-01-31 02:31:11 +00:00
Alex Roitman
94a2ed9de4 Update
svn: r4002
2005-01-31 01:20:43 +00:00
Alex Roitman
0db65bd17d * src/WriteGrdb.py: Copy metadata.
svn: r4001
2005-01-31 01:20:13 +00:00
Alex Roitman
29a10a3bf8 * src/WriteGrdb.py: Add to CVS.
* src/gramps.glade: Add Save as item, switch former one to Export.
* src/gramps_main.py: Support for save as.
* src/DbPrompter.py: Support for save as.


svn: r4000
2005-01-30 23:53:47 +00:00
Alex Roitman
7228eb98bc * src/ArgHandler.py: Support for opening in the command-line mode.
* src/const.py.in: Add -O | --open option.


svn: r3991
2005-01-29 23:34:09 +00:00
Alex Roitman
2d626f508b * src/plugins/GraphViz.py (GraphVizDialog.__init__):
Use proper response ID;  (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.


svn: r3990
2005-01-29 22:05:21 +00:00
Eero Tamminen
3a8dfc04bf Added Pie chart support to StatisticsChart plugin
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
5bcbb04bb8 Add 5 new statistics to StatisticsChart.py plugin
svn: r3988
2005-01-29 17:11:02 +00:00
Alex Roitman
3b7b70d606 * src/ArgHandler.py: Support for the native importer.
* NEWS: Update.


svn: r3986
2005-01-29 06:05:51 +00:00
Alex Roitman
ffd374025f * src/PedView.py: Fix remnants of gnome.canvas syntax.
* src/ReadGrdb.py: Add to CVS: native database importer.
* src/DbPrompter.py: Support for the native importer.
* src/Errors.py: Add HandleError exception for duplicate handles.


svn: r3984
2005-01-29 05:13:29 +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
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
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
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
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
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
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
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
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
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
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
7987f99536 * src/plugins/StatisticsChart.py: Misc fixes.
svn: r3893
2005-01-11 02:19:29 +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
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
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
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
Alex Roitman
f39ce71b38 * src/Report.py: Typos.
svn: r3855
2005-01-01 20:04:13 +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
Don Allingham
63d7153857 * src/gramps.glade: remove name display options
* src/GrampsCfg.py: remove name displaying functions
* src/Makefile.am: add NameDisplay.py to list
* src/NameDisplay.py: New name displaying class
* src/Utils.py: use new NameDisplay class
* src/AddSpouse.py: use new NameDisplay class
* src/AddrEdit.py: use new NameDisplay class
* src/Bookmarks.py: use new NameDisplay class
* src/ChooseParents.py: use new NameDisplay class
* src/DisplayModels.py: use new NameDisplay class
* src/EditPerson.py: use new NameDisplay class
* src/EditPlace.py: use new NameDisplay class
* src/EditSource.py: use new NameDisplay class
* src/FamilyView.py: use new NameDisplay class
* src/GenericFilter.py: use new NameDisplay class
* src/ImageSelect.py: use new NameDisplay class
* src/Marriage.py: use new NameDisplay class
* src/MergeData.py: use new NameDisplay class
* src/NameEdit.py: use new NameDisplay class
* src/PedView.py: use new NameDisplay class
* src/PeopleModel.py: use new NameDisplay class
* src/ReadGedcom.py: use new NameDisplay class
* src/Report.py: use new NameDisplay class
* src/SelectChild.py: use new NameDisplay class
* src/SubstKeywords.py: use new NameDisplay class
* src/Witness.py: use new NameDisplay class
* src/WriteGedcom.py: use new NameDisplay class
* src/gramps_main.py: use new NameDisplay class
* src/plugins/Desbrowser.py: use new NameDisplay class
* src/plugins/Merge.py: use new NameDisplay class
* src/plugins/RelCalc.py: use new NameDisplay class


svn: r3852
2005-01-01 04:27:15 +00:00
Alex Roitman
2f6935fab5 Update
svn: r3850
2005-01-01 02:20:35 +00:00
Alex Roitman
2769b24e08 * 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
Alex Roitman
62089440f8 * src/plugins/BookReport.py (cl_report):
Use begin_report for each item.


svn: r3848
2004-12-31 05:48:34 +00:00
Alex Roitman
a73dfc50cb * src/Report.py: Change finish_report to end_report.
svn: r3847
2004-12-31 05:45:23 +00:00
Don Allingham
a17f6ebfb0 * src/RelLib.py: documentation
* src/Report.py: change finish_report to end_report
* src/DateHandler.py: remove debugging statement


svn: r3846
2004-12-31 05:36:39 +00:00
Alex Roitman
346a5bfe7c * src/Report.py (Report.__init__): Proper use of output;
(report): Typo; (cl_report): Use begin_report and finish_report.
* src/plugins/BookReport.py (BookReportDialog.make_report):
Use begin_report for each item.


svn: r3844
2004-12-30 04:12:01 +00:00
Don Allingham
309b2c4842 * 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
76f8f4c013 * 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
Don Allingham
ad337312d4 * src/DateEdit.py: use global date displayer/parser
* src/DateHandler.py: provide global date displayer/parser
instead of having a bunch of different classes have their
own handler that needs to be updated with the handlers change.
* src/EditPerson.py: use global date displayer/parser
* src/EventEdit.py: use global date displayer/parser
* src/FamilyView.py: use global date displayer/parser
* src/GenericFilter.py: use global date displayer/parser
* src/GrampsCfg.py: remove unused statements
* src/ImageSelect.py: use global date displayer/parser
* src/Marriage.py: use global date displayer/parser
* src/ReadXML.py: use global date displayer/parser
* src/RelLib.py: don't require get_display_info, eliminate
needed for importing const and GrampsCfg
* src/SelectChild.py: don't require get_display_info
* src/Sources.py: use global date displayer/parser
* src/plugins/RelCalc.py: don't require get_display_info


svn: r3841
2004-12-29 05:06:10 +00:00
Don Allingham
3400540229 * src/ChooseParents.py: remove TreeModelFilter stuff.
svn: r3840
2004-12-28 05:53:43 +00:00
Don Allingham
ce6192ea46 * src/GenericFilter.py: Add a combobox that handles filter
selection
* src/PaperMenu.py: Add combobox classes to handle paper size
and paper orientation selection.
* src/Plugins.py: Add combobox classes to handle draw doc format
and text doc format selection
* src/Report.py: Use new comboboxes
* src/plugins/TimeLine.py: Use new comboboxes

* src/Filter.py: remove - no longer used


svn: r3839
2004-12-28 00:23:49 +00:00
Don Allingham
5f062fccc9 * src/ReadGedcom.py: create GedcomDateParser class to handle
English requirements for GEDCOM


svn: r3838
2004-12-26 18:23:50 +00:00
Don Allingham
7b80dfb4d2 * src/DateHandler.py: provide date handler registration function
* src/RelLib.py: more documentation
* src/dates/Date_es.py: use new registration function
* src/dates/Date_fr.py: use new registration function
* src/dates/Date_ru.py: use new registration function


svn: r3837
2004-12-26 17:43:22 +00:00
Don Allingham
b7bb274409 * src/RelLib.py: documentation improvements, move family
relations constants from const.py.in
* src/AddSpouse.py: relationship constant changes
* src/BaseDoc.py: documentation improvements
* src/ChooseParents.py: relationship constant changes
* src/Date.py: documentation changes
* src/ReadGedcom.py: relationship constant changes, remove
unused global
* src/ReadXML.py: relationship constant changes
* src/SelectChild.py: has_family to get_parent_family
* src/const.py.in: moved family relation constants to RelLib
* src/plugins/Check.py: relationship constant changes
* src/plugins/ImportGeneWeb.py: relationship constant changes
* src/plugins/WriteGeneWeb.py: relationship constant changes


svn: r3836
2004-12-24 18:46:34 +00:00
Alex Roitman
a4662dc4b7 * src/ReportOptions.py (ReportOptions): Add wrappers to hide handler.
* src/plugins/BookReport.py: Use wrappers.
* src/plugins/TimeLine.py: Use wrappers.
* src/plugins/FtmStyleDescendants.py: Use wrappers.
* src/plugins/FtmStyleAncestors.py: Use wrappers.
* src/plugins/AncestorReport.py: Use wrappers.
* src/plugins/DescendReport.py: Use wrappers.
* src/plugins/IndivSummary.py: Use wrappers.


svn: r3834
2004-12-23 17:39:47 +00:00
Alex Roitman
61b53ebb14 * src/Plugins.py: Fix Reports menu.
svn: r3833
2004-12-23 03:48:23 +00:00
Alex Roitman
88571a5f03 * src/PeopleModel.py (PeopleModel.__init__): Make data_filter optional.
* src/plugins/FtmStyleAncestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: Convert to new scheme.
* src/plugins/DescendReport.py: Convert to new scheme.
* src/plugins/IndivSummary.py: Convert to new scheme.


svn: r3832
2004-12-23 01:48:00 +00:00
Alex Roitman
b4906a62c6 * src/ReportOptions.py (ReportOptions): Add base Options class.
* src/plugins/BookReport.py (BookOptions): Derive from base class.
* src/plugins/TimeLine.py (TimeLineOptions): Derive from base class.
* src/plugins/FtmStyleDescendants.py (FtmDescendantOptions):
Derive from base class.


svn: r3830
2004-12-23 00:57:56 +00:00
Alex Roitman
5fe3e329d3 Update
svn: r3829
2004-12-22 06:12:26 +00:00
Alex Roitman
09a8a4640b * src/Plugins.py: Use category to register cl report.
* src/Report.py: Handle showing options centrally.
* src/gramps_main.py: Remove name and category from options.
* src/plugins/BookReport.py: Handle showing options centrally.


svn: r3828
2004-12-22 04:55:12 +00:00
Alex Roitman
a4f9849e8f Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Alex Roitman
c9e6a13a3d * src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph.


svn: r3825
2004-12-21 17:04:52 +00:00
Don Allingham
879093c9f3 * src/DbPrompter.py: Add display messages during load
* src/GrampsBSDDB.py: Add display messages during load
* src/gramps_main.py: Add display messages during load


svn: r3820
2004-12-19 23:37:40 +00:00
Don Allingham
df47a1bcea * src/DisplayModels.py: use a dictionary to handle reverse
indices instead of list.index function. Drastically reduces
time are larger lists.
* src/GrampsDbBase.py: use cursors to build sorted key lists
* src/PeopleModel.py: fetch sort names out of database first
instead of continuously fetching from database during sort
* src/PeopleView.py: remove unnecessary apply_filter
* src/PlaceView.py: remove commented-out code
* src/ReadXML.py: add gtk event handling to allow screen to
update
* src/gramps.glade: use gramps.png for loading message window
* src/gramps_main.py: remove delete_abandoned_photos calls

* src/PeopleModel.py: Fixed rebuild_display
* src/ReadXML.py: Fixed calendar handling


svn: r3819
2004-12-19 22:55:41 +00:00
Julio Sánchez
1779585098 * src/po/es.po: forward port of the Spanish translations in STABLE,
plus many new translations


svn: r3811
2004-12-16 08:49:45 +00:00
Julio Sánchez
c25c09b406 Fix wrong dates in ChangeLog
svn: r3810
2004-12-16 08:43:50 +00:00
Julio Sánchez
0de7dcd67c * src/po/es.po: updated to the result of running msmerge against a
recent template.po with no other change


svn: r3807
2004-12-15 14:50:34 +00:00
Julio Sánchez
8d0cac8345 * src/dates/Date_es.py: first version of date handler for Spanish
starting from the French version
* src/dates/Makefile.am: include Spanish date handler
Date_fr.py+	Date_es.py


svn: r3806
2004-12-15 14:34:34 +00:00
Don Allingham
7f0d8e66df update
svn: r3802
2004-12-14 02:57:37 +00:00
Tim Waugh
7a9ad19b5b 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
Alex Roitman
c4751c41d5 * src/PedView.py (get_distance): Remove function; use similar
from Relationship module.


svn: r3793
2004-12-10 00:22:05 +00:00
Don Allingham
b51838f634 * src/FamilyView.py: remove debug statement
* src/PeopleModel.py: abandon the attempt to use TreeFilter
* src/PeopleView.py: abandon the attempt to use TreeFilter


svn: r3792
2004-12-09 23:38:43 +00:00
Don Allingham
5eb387daaf * src/DbPrompter.py: destroy filechooser if open cancelled.
* src/Report.py: Use markup in dialog
* src/Utils.py: fix year handling
* src/plugins/Webpage.py: use markup


svn: r3791
2004-12-08 22:54:26 +00:00
Alex Roitman
695d850af3 * src/data/Makefile.am: Replace dist_data_DATA with EXTRA_DIST.
svn: r3789
2004-12-07 21:38:30 +00:00
Alex Roitman
b524147463 * configure.in: bump up the version.
* Release: Version 1.1.2 "Confuse-a-cat" released.


svn: r3787
2004-12-07 04:30:38 +00:00
Don Allingham
9c36a91f9d * NEWS: minor update for 1.1.2 release
svn: r3784
2004-12-07 02:48:57 +00:00
Alex Roitman
65cb8dc6ed * doc/Makefile.am: Remove unneeded CLEANFILES, they're defined below.
* doc/xmldocs.make: Add Makefile to CLEANFILES; Explictly clean
stuff in distclean-hook.
* src/Makefile.am: Remove gramps.desktop from GRAPHICS.
* src/data/Makefile.am: Remove EXTRA_DIST; split files that do not
need to be in $PREFIX/share/gramps into dist_data_DATA: they're
installed explicitly to the proper locations anyway, and this is
only needed for distribution.


svn: r3782
2004-12-06 04:24:12 +00:00
Don Allingham
7e70532009 * src/DateParser.py: documenation enhancements
* src/GrampsBSDDB.py: Add cursor class
* src/GrampsDbBase.py: Add base cursor class
* src/GrampsGEDDB.py: documenation enhancements
* src/GrampsInMemDB.py: Add cursor class
* src/GrampsXMLDB.py: documenation enhancements


svn: r3781
2004-12-06 04:13:13 +00:00
Don Allingham
d7598dfe7d * src/ChooseParents.py: use new cursor for interation
* src/DbPrompter.py: reformat
* src/GenericFilter.py: add disconnected rule
* src/GrampsBSDDB.py: provide cursor access for iteration
* src/GrampsDbBase.py: provide cursor access for iteration
* src/GrampsInMemDB.py: provide cursor access for iteration
* src/Makefile.am: add gramps.desktop to install list
* src/PeopleModel.py: use new cursor for faster iteration
* src/PeopleView.py: reimplement filtering
* src/ReadGedcom.py: removed used source counting
* src/gedcomimport.glade: remove source field
* src/gramps.glade: fixed spacing in message
* src/gramps_main.py: add disconnected filter


svn: r3779
2004-12-05 04:15:48 +00:00
Don Allingham
bc5f2e3094 * src/EditPerson.py: hide window while closing updating info
* src/FamilyView.py: Fix deleting of spouses and children
* src/GrampsDbBase.py: add remove_family, clear default person
if the person is deleted
* src/PeopleView.py: text clean up
* src/gramps_main.py: disable buttons while deleting a person


svn: r3776
2004-12-03 01:49:09 +00:00
Alex Roitman
83a24a918e * src/Report.py (on_center_person_change_clicked): Typo.
svn: r3775
2004-12-02 06:05:12 +00:00
Don Allingham
4d6ba84ca7 * src/GenericFilter.py: use DateParser to parse dates.
svn: r3773
2004-12-01 13:02:22 +00:00
Alex Roitman
755219bdce * src/gramps_main.py (init_interface): Work around gtk/libglade
bug by using horrible and ugly hack; (build_backhistmenu,
build_fwdhistmenu): Use gramps IDs instead of handles in menus.


svn: r3772
2004-12-01 05:25:16 +00:00
Don Allingham
eb1dd7dc59 * src/EditPerson.py: use Steve Swales' method for handling
locale determination
* src/GrampsBSDDB.py: added remove_object task
* src/MediaView.py: Handle drag and drop better


svn: r3771
2004-12-01 04:15:08 +00:00
Alex Roitman
d978556a2c * NEWS: Update.
svn: r3769
2004-11-30 15:27:55 +00:00
Don Allingham
d70c158b39 * src/EditPerson.py: simpler way of handling patronymic names
based of LANG
* src/FamilyView.py: clear childlist if no spouse exists


svn: r3768
2004-11-30 03:53:51 +00:00
Alex Roitman
1077cceb71 * src/gramps_main.py: Support for re-building Open Recent submenu
and opening files from it.
* src/ArgHandler.py: Rebuild recent menu after adding to recent.
* src/DbPrompter.py (open_native): Add function.
* src/RecentFiles.py (remove_filename): Add function.


svn: r3767
2004-11-30 02:16:30 +00:00
Alex Roitman
0d121bca70 * src/RecentFiles.py: Add support for Gramps' own recent items.
* src/DbPrompter.py: Support for Gramps' own recent items.
* src/ArgHandler.py: Support for Gramps' own recent items.
* src/gramps.glade: Add Open Recent submenu.
* src/gramps_main.py: Preliminary support for Open Recent submenu.


svn: r3766
2004-11-29 05:15:41 +00:00
Alex Roitman
0eb2089881 * src/plugins/PatchNames.py: Typo.
* src/plugins/ChangeNames.py: Correct description.


svn: r3765
2004-11-29 03:51:42 +00:00
Don Allingham
f451761fb9 * src/EditPerson.py: Allow the photo to accept events, allowing us
to display a popup menu similar to galleries
* src/gramps.glade: Add eventbox to the image, allowing events
* src/MediaView.py: use object handle instead of gramps ID when
getting value from the list.


svn: r3764
2004-11-29 03:24:02 +00:00
Don Allingham
6cfc4f5ac0 * src/plugins/PatchNames.py: add the ability to detect
common surname prefixes
* src/plugins/patchnames.glade: clean up description
* src/plugins/TimeLine.py: detect invalid date range in
report to prevent divide by zero error.


svn: r3760
2004-11-28 05:03:29 +00:00
Don Allingham
acd784ec9e * src/gramps.glade: add privacy fields and fix add/edit/remove
buttons
* src/Sources.py: add support for privacy flags
* src/Witness.py: add support for privacy flags
* src/RelLib.py: add support for privacy flags


svn: r3758
2004-11-27 19:48:25 +00:00
Don Allingham
4fa741f5ce attach it to people and families with no attached sources.
svn: r3757
2004-11-27 02:54:31 +00:00
Don Allingham
38a473eee7 * src/DisplayModels.py: fix Source column display
* src/GrampsDbBase.py: change default display columns
* src/ReadGedcom.py: Add default source for a GEDCOM import,
attach it to a person that has no attached sources.


svn: r3756
2004-11-26 23:31:50 +00:00
Alex Roitman
662b0a3ab0 * src/RecentFiles.py: Make robust to parse/save problems.
* src/DbPrompter.py: Support for recent-files on new db creation.


svn: r3754
2004-11-26 07:36:23 +00:00
Don Allingham
635f079fcb * src/FamilyView.py: Add check for empty family in
display_marriage


svn: r3753
2004-11-25 18:10:06 +00:00
Alex Roitman
6648b423cb * src/RecentFiles.py: Add to CVS. Support for recent-files API.
* src/Makefile.am: Ship RecentFiles.py.
* src/DbPrompter.py: Support for recent-files.
* src/ArgHandler.py: Support for recent-files.


svn: r3751
2004-11-25 05:42:31 +00:00
Don Allingham
5108a33129 * src/GrampsDbBase.py: always use external thumbnails
* src/GrampsBSDDB.py: always use external thumbnails
* src/ImgManip.py: centralize thumbnail handling
* src/ReadXML.py: handle thumbnail changes
* src/ReadGedcom.py: combine common files into the same
media object


svn: r3749
2004-11-25 02:06:05 +00:00
Don Allingham
9e63bff382 * src/EditSource.py: handle add/delete data item buttons. Make
sure that data items with empty keys are not saved.
* src/gramps.glade: added add/delete buttons for Source Editor
* src/gramps_main.py: remove key-release-event
* src/RelLib.py: unicode conversions
* src/GrampsDbBase.py: make sure we are sorting by unicode values


svn: r3748
2004-11-24 18:01:49 +00:00
Don Allingham
f7b653aa74 * src/ReadGedcom.py: fix relative path filenames and build
the thumbnail image


svn: r3747
2004-11-24 03:55:25 +00:00
Don Allingham
b02c70bd49 * src/EditSource.py: add in-place editing for key,value pairs
* src/ReadXML.py: add support for Source key,value pairs
* src/WriteXML.py: add support for Source key,value pairs
* src/RelLib.py: add support for Source key,value pairs
* src/gramps.glade: add support for Source key,value pairs


svn: r3746
2004-11-23 05:15:37 +00:00
Don Allingham
44e291e9e3 * src/plugins/ChangeNames.py: Add a plugin to change capitalization
of family names
* src/plugins/changenames.glade: interface for ChangeNames plugin
* src/plugins/Makefile.am: Added new files
* src/plugins/PatchNames.py: display GRAMPS id instead of internal id


svn: r3744
2004-11-21 00:30:52 +00:00
Alex Roitman
e71b020d1e * src/Plugins.py: Remove redundant list of failed plugins.
Properly reload plugins. Work around what seems to be a Python bug.
Allow setting the preference for showing up the plugin status
upon load/reload if problems are detected. Support Help button.
Automatically close old status window when new one is opened.
* src/plugins.glade: Add Help button and the check button.
* src/data/gramps.schemas: Add pop-plugin-status key.
* src/GrampsGconfKeys.py: Add get/save methods for new key.
* src/*.gladep: Remove from CVS.
* src/plugins/IndivComplete.py: Typo.
* src/plugins/Partition.py: Comment out wrong class instantiation.
This plugin is dysfunctional, and we should either remove it or
fix it.


svn: r3743
2004-11-20 04:46:47 +00:00
Don Allingham
d09e2cdb5d * src/ColumnOrder.py: pychecker fixes
* src/DateParser.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/gramps_main.py: pychecker fixes
* src/dates/Date_fr.py: pychecker fixes
* src/dates/Date_ru.py: pychecker fixes


svn: r3738
2004-11-19 03:59:53 +00:00
Don Allingham
a6a6c78782 * src/FamilyView.py: Handle reordering of spouses by drag
and drop
* src/RelLib.py: Allow the family list to be set externally
* src/gramps.glade: enable reordering flag for spouse list


svn: r3736
2004-11-19 01:14:37 +00:00
Don Allingham
003912f326 * src/DisplayModels.py: Added ChildModel to handle the
child list in the Family View
* src/gramps_main.py: add column editor for Family View
* src/GrampsDbBase.py: add storing/retrieving child column order
* src/FamilyView.py: use new ChildModel
* src/PlaceView.py: removed unused index


svn: r3735
2004-11-18 20:21:06 +00:00
Alex Roitman
7ce2a876c8 * src/DateParser.py: Factor out small matching chunks.
svn: r3734
2004-11-17 05:07:49 +00:00
Alex Roitman
2eace67e3f * src/DateParser.py: Switch from utf8 strings to unicode.
* src/DateDisplay.py: Switch from utf8 strings to unicode.
* src/dates/Date_ru.py: Switch from utf8 strings to unicode.
* src/dates/Date_fr.py: Switch from utf8 strings to unicode.


svn: r3733
2004-11-17 03:36:18 +00:00
Don Allingham
003e8e7190 * src/MediaView.py: remove obsolete pexists check
svn: r3732
2004-11-17 02:44:56 +00:00
Alex Roitman
9d805acfa0 * src/DateParser.py: Typo.
svn: r3730
2004-11-16 20:45:25 +00:00
Alex Roitman
5cf2a52871 * src/DateDisplay.py: Remove localized displayers.
* src/DateParser.py: Remove localized parsers.
* src/DateHandler.py: Remove hard-coded localization assignments;
load localized classes from dates directory.
* src/const.py.in: Add datesDir constant.
* src/dates/Date_ru.py: Add to CVS.
* src/dates/Date_fr.py: Add to CVS.
* src/dates/Makefile.am: Add to CVS.
* src/dates/.cvsignore: Add to CVS.
* configure.in: Generate src/dates/Makefile.
* src/Makefile.am: Add dates to SUBDIRS.


svn: r3729
2004-11-16 03:44:23 +00:00
Don Allingham
3057994aca * src/DateParser.py: handle leap year in gregorial validity check
* src/MergeData.py: Preserve more data when merging
the 1.0.X patch from Julio Sanchez)
* src/plugins/ReadGedcom.py: Attach top leve source to the
person instead of the primary name (ported from	the 1.0.X patch
from Julio Sanchez)
* src/const.py: Add support for "Number of Children" attribute
(GEDCOM NCHI) (ported from the 1.0.X patch from Julio Sanchez)


svn: r3728
2004-11-15 02:07:21 +00:00
Tim Waugh
986f3fe9aa 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
Alex Roitman
1f20b40d55 * src/DateDisplay.py: Add Russian displayer.
svn: r3723
2004-11-11 22:59:08 +00:00
Alex Roitman
9d90728900 * src/DateHandler.py: Add Russian displayer.
* src/DateParser.py: Correct parsers -- proper unicode conversions.
* src/DateDisplay.py: Add Russian displayer.


svn: r3722
2004-11-11 05:07:41 +00:00
Don Allingham
9ac32e0a74 * src/EditPerson.py: handle the new "dont-ask" key
* src/GrampsGconfKeys.py: handle the new "dont-ask" key
* src/ImageSelect.py: remove debugging statements
* src/Marriage.py: handle the new "dont-ask" key
* src/QuestionDialog.py: handle the new "dont-ask" key
* src/gramps.glade: added "dont ask" button to SaveDialog
to turn off the nagging
* src/data/gramps.schemas: added the "dont-ask" key


svn: r3721
2004-11-11 04:28:40 +00:00
Don Allingham
0167d92a16 * src/gramps_main.py: fix goto_active_person
svn: r3719
2004-11-10 04:34:48 +00:00
Don Allingham
1a40c6366a * src/DateParser.py: Handle month=12 in gregorian_valid
svn: r3718
2004-11-10 04:20:47 +00:00
Alex Roitman
856c0e061c * src/DateHandler.py: Start adding handlers for Russian.
* src/DateParser.py: Start adding handlers for Russian.


svn: r3717
2004-11-10 01:55:30 +00:00
Alex Roitman
0185bf5b92 Update
svn: r3716
2004-11-10 01:54:36 +00:00
Alex Roitman
10d1b352e0 * src/WriteGedcom.py: Remove extraneous import.
svn: r3715
2004-11-09 16:19:40 +00:00
Don Allingham
66bd2a685d * src/DateHandler.py: add handlers for fr_FR
* src/DateParser.py: add parser for french
* src/DateDisplay.py: add displayer for french

* src/gramps.py: Better way of setting locale
* src/DateHandler.py: Better locate settings


svn: r3714
2004-11-09 04:23:34 +00:00
Alex Roitman
762d2f2741 * src/data/Makefile.am: Remove gramps.desktop from
svn: r3713
2004-11-09 01:42:16 +00:00
Don Allingham
8cc5830a79 * src/ImageSelect.py: load global note in a read only buffer
* src/gramps.glade: change buttons to icons, add global note
on image properties editor


svn: r3712
2004-11-08 04:40:18 +00:00
Don Allingham
2aeecd6123 * src/DateHandler.py: handle en_GB, en_AU and en_CA locales
svn: r3710
2004-11-07 03:02:24 +00:00
Don Allingham
1fea1869e6 * src/gramps_main.py: fix setting of active person on history change
svn: r3708
2004-11-06 03:41:21 +00:00
Don Allingham
9f86c80af1 * src/ImageSelect.py: Add date/place property to media objects
* src/ReadXML.py: Add date/place property to media objects
* src/RelLib.py: Add date/place property to media objects
* src/WriteXML.py: Add date/place property to media objects
* src/gramps.glade: Add date/place property to media objects
* src/SelectObject.py: display gramps id instead of internal handle


svn: r3707
2004-11-06 03:31:34 +00:00
Tim Waugh
02c1c5c99a 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
Tim Waugh
892129970b 2004-11-05 Tim Waugh <twaugh@redhat.com>
* src/StartupDialog.py: Fixed typo (gtk.quit -> gtk.main_quit).


svn: r3705
2004-11-05 11:11:51 +00:00
Don Allingham
65650c86e2 * src/gramps_main.py (Gramps.redraw_histmenu): use GRAMPS
id instead of internal ID for history menu


svn: r3703
2004-11-03 04:27:12 +00:00
Don Allingham
e12948e72c * src/gramps_main.py: fixed home person button
svn: r3699
2004-10-31 23:18:41 +00:00
Don Allingham
6fba169424 * src/WriteGedcom.py (GedcomWriter.write_person): handle
empty event handles


svn: r3693
2004-10-30 16:36:20 +00:00
Don Allingham
f7fb6f8eb4 * Makefile.am: added distuninstallcheck_listfiles
* doc/Makefile.am: Added CLEANFILES


svn: r3689
2004-10-29 03:37:01 +00:00
Don Allingham
99b057f3c6 * 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
Alex Roitman
1e3f6b0675 * src/plugins/DetDescendantReport.py: New Date usage.
svn: r3685
2004-10-28 16:21:33 +00:00
Tim Waugh
f2d4845590 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
Don Allingham
82dcbc45c2 * src/docgen/OpenOfficeDoc.py: fix asian font, file extension
svn: r3679
2004-10-27 03:41:49 +00:00
Don Allingham
d1f8dd361c * src/plugins/DescendReport.py: fix get_valid_year
svn: r3678
2004-10-27 03:10:53 +00:00
Don Allingham
939d74f25d * src/docgen/HtmlDoc.py: fix typo
* src/docgen/OpenOfficeDoc.py: don't use temporary files
* src/plugins/PatchNames.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/ReorderIds.py: pychecker fixes
* src/plugins/Verify.py: pychecker fixes
* src/plugins/WebPage.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/WriteGeneWeb.py: pychecker fixes


svn: r3674
2004-10-26 03:20:38 +00:00
Don Allingham
5268556f7a * src/gramps.glade: change "Edit..." buttons to an image
* src/plugins/CountAncestors.py: handle duplicates across
generations


svn: r3669
2004-10-25 02:37:18 +00:00
Alex Roitman
61e8f7b7e3 * src/MediaView.py: Typo.
svn: r3668
2004-10-24 17:36:33 +00:00
Don Allingham
1f9f356d77 * src/PeopleModel.py: disable bold due to gtk tree bug
* src/PeopleView.py: disable bold due to gtk tree bug
* src/plugins/CountAncestors.py: Handle duplicates properly


svn: r3666
2004-10-24 01:09:12 +00:00
Don Allingham
337b7f170b * src/GrampsBSDDB.py: thumbnail handing in the database
* src/GrampsDbBase.py: add set_thumbnail_image and
get_thumbnail_image in base class
* src/GrampsInMemDB.py: saving thumbnail image
* src/GrampsCfg.py: create thumbnail image directory
* src/ImageSelect.py: use new thumbnail scheme
* src/MediaView.py: use new thumbnail scheme
* src/ReadGedcom.py: use new thumbnail scheme
* src/ReadXML.py: use new thumbnail scheme
* src/SelectObject.py: use new thumbnail scheme
* src/gramps_main.py: use new thumbnail scheme
* src/Utils.py: remove unused tasks
* src/RelImage.py: remove unused tasks

* src/DateParser.py: fix dates of the format of JAN 2000


svn: r3662
2004-10-23 03:56:48 +00:00
Alex Roitman
08fa7fec29 * src/plugins/TimeLine.py: Remove old Date.UNDEF usage.
svn: r3660
2004-10-22 15:35:47 +00:00
Don Allingham
e0ce21c3e7 * src/GrampsCfg.py: eliminate unused options
* src/gramps.glade: eliminate unused options


svn: r3649
2004-10-19 16:42:15 +00:00
Don Allingham
d324c90e13 * src/GrampsBSDDB.py: add dbopen task to provide access to the
db object
* src/ReadGedcom.py: Reduce number of accesses to the database file


svn: r3648
2004-10-19 03:19:25 +00:00
Alex Roitman
f8e6c8db28 * src/plugins/IndivComplete.py: Bring book item options in sync
with the standalone options.


svn: r3647
2004-10-19 00:52:16 +00:00
Alex Roitman
cec7b8246a * src/docgen/OpenSpreadSheet.py (write_text): Escape special
XML characters.


svn: r3644
2004-10-18 23:24:51 +00:00
Don Allingham
2b3c82d592 * src/EditPerson.py: saving grouping name, instead of surname for
updating of the person list
* src/ReadGedcom.py: save person and source as soon as created
* src/gramps_main.py: compare updates based off grouping name
instead of surname


svn: r3641
2004-10-17 23:17:30 +00:00
Alex Roitman
3640cb239d * src/plugins/rel_es.py: Correct levels.
svn: r3638
2004-10-17 19:31:38 +00:00
Don Allingham
3984b9b056 * src/PeopleView.py: handle changing of surnames if the surname
needs to be removed from the list


svn: r3636
2004-10-16 21:03:38 +00:00
Don Allingham
e474fa97b9 * src/ReadGedcom.py: allow default when selecting override, add
the place properly on import
* src/gedcomimport.glade: allow default when selecting override
* src/gramps_main.py: don't lose track of active person after
a cancelled Add Person


svn: r3635
2004-10-16 17:26:04 +00:00
Don Allingham
9ae62cfe7d * src/GrampsBSDDB.py: increase cachesize
* src/ReadGedcom.py: increment source count
* src/gedcomimport.glade: increment source count
* src/DateDisplay.py: handle BC
* src/DateParser.py: handle BC
* src/GrampsInMemDB.py: handle missing handles in find functions
* src/ReadGedcom.py: handle BC
* src/WriteGedcom.py: handle BC
* src/ReadXML.py: handle BC


svn: r3634
2004-10-16 05:10:35 +00:00
Don Allingham
1e2d9e6e9f * src/docgen/OpenOfficeDoc.py: incorporated Julio Sanchez's
language patch


svn: r3631
2004-10-14 04:09:38 +00:00