Commit Graph

1200 Commits

Author SHA1 Message Date
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
Alex Roitman
2e1d56c941 * src/rule.glade: Clean up the filter definition dialog.
svn: r3629
2004-10-14 01:55:50 +00:00
Alex Roitman
79c13bb43d * src/plugins/Makefile.am: Ship rel_es.py plugin.
* src/plugins/rel_es.py: Add to CVS.


svn: r3628
2004-10-13 20:59:23 +00:00
Don Allingham
92ab997d17 * src/DisplayModels.py: fix source display
* src/GrampsBSDDB.py: add abort_changes task
* src/GrampsDbBase.py: add abort_changes task
* src/GrampsInMemDB.py: add abort_changes task
* src/Makefile.am: Add target to build documentation using epydoc
* src/gramps.glade: Add abandon changes menu item. Not fully implemented yet
* src/gramps_main.py: add exit_and_undo


svn: r3623
2004-10-13 03:51:27 +00:00
Alex Roitman
01e8d88f52 * src/gramps.glade: Remove "Save as" from toolbar.
svn: r3622
2004-10-12 20:13:55 +00:00
Don Allingham
b311d350a2 * src/DisplayModels.py: fix initialization of self.map
svn: r3621
2004-10-12 02:18:30 +00:00
Don Allingham
45504a5025 * src/DateParser.py: dynamically detect numerical parsing based
off locale. Do not depend on strptime.
* src/Utils.py: remove last remains of SingleDate
* src/PeopleModel.py: display "error" instead of a blank string
on an error
* src/EventEdit.py: removed unused parameter
* src/Exporter.py: remove unused gnome.ui import
* src/plugins/FanChart.py: remove old Calendar reference
* src/plugins/Verify.py: remove old Calendar reference


svn: r3620
2004-10-12 01:29:39 +00:00
Alex Roitman
d0a04be93f * src/DateDisplay.py (_display_gregorian): Prepend month and
day with zeros if needed for the ISO format.


svn: r3619
2004-10-11 20:24:33 +00:00
Don Allingham
8569738aa3 * src/DateParser.py: try to detect illegal numerical dates
* src/Utils.py: not_too_old moved over from RelLib.py
* src/WriteGedcom.py: fix call to probably_alive


svn: r3618
2004-10-10 23:22:12 +00:00
Don Allingham
72024c566d * src/GrampsInMemDB.py: handle null handle
* src/GrampsXMLDB.py: disable undo during normal read of database
* src/ReadGedcom.py: handle lines shorter than 50 lines, disable undo during
normal reads of the database
* src/ReadXML.py: disable undo during normal read of databas
* src/RelLib.py: revert Name.__cmp__ to Name.is_equal
* src/docgen/HTMLDoc.py: drop deprecated gnome.ui dialogs


svn: r3617
2004-10-10 21:16:44 +00:00
Eero Tamminen
695a98eff6 add test for reports
svn: r3616
2004-10-10 19:02:58 +00:00
Alex Roitman
1c7bc93298 * src/data/tips.xml: Typo.
svn: r3615
2004-10-10 04:21:04 +00:00
Don Allingham
17830f2e2d * src/PeopleModel.py: sort top level nodes using locale.strcoll
svn: r3614
2004-10-09 23:03:09 +00:00
Don Allingham
3bbf621402 * src/GrampsDbBase.py: remove forced upper comparisons
svn: r3612
2004-10-09 03:54:42 +00:00
Don Allingham
2c6bce1b47 * src/EditPerson.py: support for locale selected patronymic
names. Allow patronymic name to be substituted for prefix on
the display
* src/RelLib.py: add __cmp__ for Name
* src/gramps.glade: provide name for the prefix field


svn: r3611
2004-10-09 01:35:58 +00:00
Alex Roitman
77928d6f27 * src/GrampsCfg.py: Remove unused code.
* src/TipOfDay.py (TipParser.escape): Add method.


svn: r3610
2004-10-08 17:59:34 +00:00
Alex Roitman
67cfe164c2 * src/GrampsCfg.py (build): Typo.
svn: r3609
2004-10-08 14:58:41 +00:00
Don Allingham
8ab5b5ac59 * src/AddMedia.py: pychecker fixes
* src/DbPrompter.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/GrampsDbBase.py: pychecker fixes
* src/GrampsInMemDB.py: pychecker fixes
* src/RelLib.py: move probably_alive to Utils
* src/Utils.py: added probably_alive
* src/WriteGedcom.py: probably_alive fixes
* src/WriteGedcom.py: probably_alive fixes
* src/plugins/WebPage.py: probably_alive fixes
* src/plugins/WebFtree.py: probably_alive fixes
* src/plugins/WebGeneWeb.py: probably_alive fixes


svn: r3607
2004-10-08 03:59:55 +00:00
Don Allingham
5f2138f7e2 * src/NameEdit.py: integrate patches from Julio Sanchez to
fix surname prefix
* src/FamilyView.py: Handle add person post processing properly


svn: r3604
2004-10-07 17:48:29 +00:00
Alex Roitman
02a7643f8c * src/EventEdit.py (update_event): Typo.
svn: r3602
2004-10-07 12:38:31 +00:00
Don Allingham
9beecadc74 * src/ReadGedcom.py: remove extra commits
svn: r3601
2004-10-07 04:06:43 +00:00
Alex Roitman
b2b9b7e7d2 * src/Makefile.am: Remove extra DESTDIR.
* src/docgen/Makefile.am: Remove extra DESTDIR, correct pycheck target.
* src/plugins/Makefile.am: Correct pycheck target.


svn: r3600
2004-10-06 19:16:26 +00:00
Don Allingham
e4616ff14a * src/docgen/PdfDoc.py: fixed register_book_doc call
* src/AddrEdit.py: pychecker fixes
* src/AttrEdit.py: pychecker fixes
* src/AutoComp.py: pychecker fixes
* src/ChooseParents.py: pychecker fixes
* src/DbPrompter.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/EventEdit.py: pychecker fixes
* src/FamilyView.py: pychecker fixes
* src/Filter.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/GrampsGconfKeys.py: pychecker fixes
* src/ImgManip.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/ReadGedcom.py: pychecker fixes
* src/ReadXML.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/Sort.py: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/Witness.py: pychecker fixes
* src/WriteGedcom.py: pychecker fixes
* src/WriteXML.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r3599
2004-10-06 03:42:54 +00:00
Don Allingham
0115ebb09e * src/ReadXML.py: name enhancements
* src/WriteXML.py: name enhancements


svn: r3596
2004-10-04 04:28:58 +00:00
Alex Roitman
af09a00cb9 * src/data/tips.xml: Add more tips.
svn: r3595
2004-10-04 03:42:38 +00:00
Don Allingham
a2c6076b4f * src/Date.py: fix get_month_valid call
* src/DateDisplay.py: pychecker fixes
* src/EditPerson.py: pychecker fixes
* src/GrampDbBase.py: pychecker fixes
* src/Marriage.py: bring up to date with the DateParser
* src/PeopleView.py: pychecker fixes
* src/RelLib.py: pychecker fixes


svn: r3594
2004-10-03 21:04:54 +00:00
Alex Roitman
3714eb6ef0 * 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
Don Allingham
9db7068e7e * src/EditPerson.py: enhanced update/delete/add of person view
* src/PeopleModel.py: enhanced update/delete/add of person view
* src/PeopleView.py: enhanced update/delete/add of person view
* src/gramps_main.py: enhanced update/delete/add of person view


svn: r3592
2004-10-01 02:38:23 +00:00
Don Allingham
d3eb420f52 * src/DisplayModels.py: change 0 to False
* src/EditPerson.py: copy current name info to name editor when invoking
* src/GrampsBSDDB.py: provide default name to group mapping
* src/GrampsDbBase.py: provide default name to group mapping
* src/GrampsInMemDB.py: provide default name to group mapping
* src/NameEdit.py: prompt for making name mapping override the default
or purely for the active name
* src/PeopleModel.py: handle name grouping
* src/PeopleView.py: handle name grouping
* src/QuestionDialog.py: Add QuestionDialog2 to allow two answers to
a dialog (instead of one being cancel)
* src/RelLib.py: grouping documentation
* src/gramps.glade: move button on EditPerson dialog
* src/gramps_main.py: goto active person after a redisplay


svn: r3591
2004-09-30 18:32:56 +00:00
Alex Roitman
ac920623a1 Update
svn: r3590
2004-09-30 01:33:15 +00:00
Alex Roitman
32e0fa254a * src/gramps.glade: Left-justify the tips.
svn: r3588
2004-09-29 19:35:09 +00:00
Alex Roitman
067e77cff3 Update
svn: r3587
2004-09-29 19:34:31 +00:00
Alex Roitman
f4c2a29477 * src/TipOfDay.py: Be tolerant to whitespace; allow markup in
the tips, enable random sequence of tips on each startup.
* src/data/tips.xml: Merge with old tips.

* src/data/tips.xml: Format the tips collection.

* src/data/tips.xml: Add huge collection of tips.


svn: r3586
2004-09-29 19:34:16 +00:00
Alex Roitman
834d804abd * src/NameEdit.py: Typo.
svn: r3585
2004-09-29 13:41:23 +00:00
Don Allingham
2367107d89 * src/PeopleModel.py: sort based of "group as" value
* src/GrampsInMem.py: used "group as" value for surname list
* src/GrampsBSDDB.py: used "group as" value for surname list
* src/GrampsDbBase.py: accept "" and None for empty id values


svn: r3584
2004-09-29 03:19:01 +00:00
Don Allingham
008ef2f5d2 * src/RelLib.py: Enhanced Name, adding patronymic name
support and display and sorting formats
* src/EditPerson.py: Name editing changes for the Primary
name
* src/NameEdit.py: support for patronymic names
* src/gramps.glade: NameEditor and EditPerson changes for
enhanced name support

* src/PeopleModel.py: remove unused map
* src/GrampsDbBase.py: remove unused map


svn: r3583
2004-09-29 02:06:46 +00:00
Alex Roitman
b2b4ce7327 * src/DateParser.py: Better compliance with the RFC-2822.
svn: r3581
2004-09-27 20:15:38 +00:00
Alex Roitman
d555527cfb * configure.in: Bump up the version number.
* Release: Version 1.1.1 "Rat cake, rat sorbet, rat pudding,
or strawberry tart" released.


svn: r3580
2004-09-27 16:07:17 +00:00
Alex Roitman
4362e7fc5a * src/DateDisplay.py: Now proper capitalization for _MONS.
* src/DateParser.py: Support for the RFC-2822 dates (email standard).
* NEWS: Update.

* src/DateDisplay.py: don't rely on strftime, since it does not


svn: r3577
2004-09-27 04:20:43 +00:00
Don Allingham
1915b35ba9 * src/DateDisplay: don't rely on strftime, since it does not
handle dates before 1900


svn: r3576
2004-09-27 03:16:48 +00:00
Don Allingham
d20557709c * src/GrampsCfg.py: update RelLib display
* src/GrampsGconfKeys.py: import os
* src/RelLib.py: change _parser to parser and _display to display


svn: r3575
2004-09-26 03:08:53 +00:00
Don Allingham
b86b2b0cd0 * src/const.py.in: remove calendar directory
* src/gramps_main.py: remove calendar directory
* configure.in: remove calendar directory


svn: r3574
2004-09-25 20:52:38 +00:00
Alex Roitman
983b5a248e * src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
2004-09-25 05:12:15 +00:00
Alex Roitman
f57fa24b10 * src/data/gnome-mime-application-x-geneweb.png: Add to CVS.
* src/data/Makefile.am, src/plugins/Makefile.am: Ship new files.

* src/plugins/ImportGeneWeb.py, src/plugins/WriteGeneWeb.py,
src/plugins/genewebexport.glade: Add to CVS.
* src/data/gramps.applications, src/data/gramps.keys,
src/data/gramps.mime, src/data/gramps.xml: Add GeneWeb format.


svn: r3572
2004-09-24 22:42:21 +00:00
Don Allingham
f61ab522d9 * src/DateDisplay.py: use LC_TIME and D_FMT to determine
the locale date format
* src/DateHandler.py: en.US to en_US
* src/ReadGedcom.py: Allow user overriding of character set
* src/StartupDialog.py: remove date entry setting
* src/gedcomimport.glade: Allow user overriding of character set
* src/gramps.py: set LC_TIME based of LANG
* src/data/gramps.schemas: remove date entry setting

* src/DateDisplay.py: use unicode encodings for french months


svn: r3571
2004-09-24 22:05:46 +00:00
Don Allingham
42973b70e3 * src/Date.py: display calendar
* src/DateParser.py: parse based on calendars
* src/DateDisplay.py: use unicode encodings for french monts


svn: r3570
2004-09-23 21:32:07 +00:00
Don Allingham
43e5780992 * src/EditPerson.py: change sort mechanism to new Date sort value
* src/FamilyView.py: change sort mechanism to new Date sort valu
* src/Sort.py: remove unused sorting functions


svn: r3569
2004-09-23 02:25:07 +00:00
Alex Roitman
56b94d0998 * src/GrampsInMemDB.py: Remove unused modules.
svn: r3567
2004-09-21 04:32:18 +00:00
Don Allingham
3ab1e97227 * src/GrampsBSDDB.py: fix remove_person and count_person
* src/GrampsInMemDB.py: fix remove_person and count_person


svn: r3566
2004-09-21 03:17:07 +00:00
Alex Roitman
523a3b3943 * src/Date.py (get_high_year): Add method to return upper estimate.
* src/AddSpouse.py: Correctly use upper and lower date estimates.
* src/ChooseParents: Correctly use upper and lower date estimates.


svn: r3565
2004-09-21 02:10:23 +00:00
Alex Roitman
ab54e0b1b1 * src/DateEdit.py: Use new Date's set() method. Enable help.
svn: r3563
2004-09-21 01:19:55 +00:00
Alex Roitman
7b09866289 * src/gramps_main.py: Remov unused module.
* src/DateDisplay.py (verify_format): Correct check.
* src/Date.py (is_regular): Add method to detect exact single
non-empty dates; (set): Add text string as an optional argument.
* src/DateEdit.py: Use DateHandler instead of low-level DateDisplay;
(check): Display yellow LED for anything other than regular dates.


svn: r3562
2004-09-21 00:58:39 +00:00
Alex Roitman
cffb5833a7 * src/gramps.glade: Add LED button widgets to the sourceref editor.
* src/Sources.py (SourceEditor.__init__): Use DateEdit to support
LED functionality; (SourceEditor.on_sourceok_clicked): Set date using
date object, instead of parsing text.


svn: r3561
2004-09-20 23:26:41 +00:00
Alex Roitman
a9141f7158 * src/DateEdit.py (DateEdit.invoke_date_editor):
Check the built date and display LED (closes # 1031065).
* src/Sources.py (draw): Properly display date for sourceref;
(on_sourceok_clicked): Properly parse date for sourceref
(closes # 1031156).


svn: r3560
2004-09-20 17:56:26 +00:00
Don Allingham
f0d19d0d5a * src/Date.py: remove comment field
* src/DateParser.py: add parsing of Month Day1-Day2, Year
* src/RelLib.py: make date parsers/displayers global to resolve
pickle-ing problem
* src/EditPerson.py: update lists before committing to database


svn: r3559
2004-09-20 03:12:51 +00:00
Alex Roitman
ffab4c0990 * src/Date.py (is_equal): Add method -- needed to compare dates
for being identical, since __cmp__ only compares the sorting value
and ignores the modifiers.
* src/RelLib.py (Event.are_equal, LdsOrd.are_equal):
Use is_equal() method to compare dates.
* src/AddrEdit.py: Use is_equal() method to compare dates.
* src/EventEdit.py: Use is_equal() method to compare dates.
* src/gramps.glade (date_edit): Re-order widgets, add hot keys;
(event_edit, addr_edit): Remove button relief as in editPerson.


svn: r3558
2004-09-20 01:53:59 +00:00
Don Allingham
030aa36011 * src/gramps.glade: remove button border for date editor button
* src/DateDisplay.py: fix quality prefix display


svn: r3557
2004-09-19 23:05:25 +00:00
Alex Roitman
894619e016 * src/DateEdit.py: Take date object as an argument and work with it.
* src/AddrEdit.py: Use date object instead of text.
* src/EditPerson.py: Use date object instead of text.
* src/EventEdit.py: Use date object instead of text.
* src/gramps.glade: Minor cleanup.
* src/Date.py (copy): Add method.
* src/RelLib.py (Address): Correct the use of dates.


svn: r3556
2004-09-19 15:17:57 +00:00
Don Allingham
4e43d89fe3 * src/GrampsInMemDB.py: new base class for in memory databases, such
as XML or GEDCOM
* src/GrampGEDDB.py: use new GrampsInMemDB base class
* src/GrampXMLDB.py: use new GrampsInMemDB base class
* src/Makefile.am: add GrampsInMemDB.py
* src/ReadGedcom.py: remove debug statements


svn: r3555
2004-09-19 04:11:34 +00:00
Alex Roitman
e809a69b41 * src/DateEdit.py (DateEdit): Take care of both the button and
the LED pixmap now; Invoke DateEditorDialog if the button is pressed;
(DateEditorDialog): Correct the use of constants; adjust the date
on the calendar change; preserve the old date unless OK was pressed;
* src/AddrEdit.py: Remove date editor callback in favor of DateEdit.
* src/EditPerson.py: Remove date editor callback in favor of DateEdit.
* src/EventEdit.py: Remove date editor callback in favor of DateEdit.
* src/gramps.glade: Minor cleanup; remove unused signal handlers.


svn: r3554
2004-09-18 23:39:40 +00:00
Alex Roitman
f50bde5d49 * src/DateParser.py: Minor cleanup.
svn: r3553
2004-09-18 04:11:48 +00:00
Alex Roitman
35ba39caf3 * src/gramps.glade: Add date_edit dialog.
* src/DateEdit.py (DateEditorDialog): Add class.
* src/Date.py (get_quality): Typo.
* src/AddrEdit.py: Use date editor callback.
* src/EditPerson.py: Use date editor callback.
* src/EventEdit.py: Use date editor callback.

* src/AddrEdit.py: Add date editor callback
* src/EditPerson.py: Add date editor callback
* src/EventEdit.py: Add date editor callback


svn: r3552
2004-09-18 03:58:30 +00:00
Don Allingham
b043f908da * src/gramps.glade: replace LED indicators with buttons
svn: r3551
2004-09-18 02:50:30 +00:00
Don Allingham
c3c613e278 * src/DateDisplay.py: use locale.nl_langinfo to get month
names without manual encoding
* src/DateParser.py: use locale.nl_langinfo to get month
names without manual encoding


svn: r3550
2004-09-17 23:52:09 +00:00
Don Allingham
bd16bbd244 * src/Calendar.py: removed
* src/Gregorian.py: removed
* src/Hebrew.py: removed
* src/Julian.py: removed
* src/calendars/Islamic.py: removed
* src/calendars/Persian.py: removed
* src/calendars/Makefile.am: removed
* src/Date.py: New, simpler date structure
* src/DateHandler.py: Start of a class to abstract and select
parser and display functions based off locale
* src/DateParser.py: base date parsing class (US English)
* src/DateDisplay.py: base date display class (US English)
* src/DateEdit.py: handle new date method
* src/EditPerson.py: handle new date method
* src/EventEdit.py: handle new date method
* src/GrampsCfg.py: removed redundant options due to new date class
* src/StartupDialog.py: removed redundant options due to new date class
* src/Makefile.am: handle file changes
* src/Sort.py: handle new date method
* src/ReadGedcom.py: handle new date method
* src/ReadXML.py: handle new date method
* src/WriteGedcom.py: handle new date method
* src/WriteXML.py: handle new date method
* src/RelLib.py: handle new date method
* src/gramps_main.py: handle new date method
* src/gramps.glade: handle new date method


svn: r3546
2004-09-17 03:30:04 +00:00
Tim Waugh
1816c3d20e 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
dc9c4b26bc 2004-09-14 Tim Waugh <twaugh@redhat.com>
* src/docgen/PSDrawDoc.py (PSDrawDoc.__init__): Fixed base method
        call (missing parameter).
        * src/docgen/SvgDrawDoc.py (SvgDrawDoc.__init__): Likewise.


svn: r3542
2004-09-14 13:00:35 +00:00
Tim Waugh
3a66750eb5 2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/GenericFilter.py (IsAncestorOfFilterMatch.apply): Fixed
        thinko.


svn: r3539
2004-09-13 18:08:04 +00:00
Tim Waugh
977e7b9a66 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
f3b80ac6b0 * src/ReadGedcom.py (parse_person_event): Use TYPE field as the description of the event, if the event already has a name.
svn: r3535
2004-09-11 23:24:08 +00:00
Alex Roitman
a8b3854d96 * src/GrampsDbBase.py: Fix assert statements.
svn: r3533
2004-09-10 22:40:00 +00:00
Alex Roitman
451d5b1773 * src/gramps.glade: Typo.
svn: r3532
2004-09-09 14:46:40 +00:00
Alex Roitman
2074bec9ce * src/plugins/FilterEditor.py (ShowResults.__init__):
Use gramps IDs instead of handles for display.


svn: r3530
2004-09-09 02:59:48 +00:00
Alex Roitman
4c3a6b9167 * src/EditPlace.py (on_web_go_clicked): Typo.
svn: r3528
2004-09-01 15:11:10 +00:00
Alex Roitman
bc74845212 * src/ReadXML.py (start_witness): Properly use handle of witness.
* src/Witness.py (WitnessTab.redraw): Use gramps ID for display;
(WitnessEditor.remove_itself_from_menu): Typo;
(WitnessEditor.ok_clicked): Catch exception and add error dialog.


svn: r3526
2004-09-01 04:57:44 +00:00
Don Allingham
de4853eeec * src/RelLib.py (GenderStats.guess_gender): back out
incorrect patch
* src/Witness.py: handle new_name error
* src/SelectPerson.py: remove unused crud left over from
1.0, grab handle instead of GRAMPS ID


svn: r3525
2004-09-01 03:47:10 +00:00
Alex Roitman
aab141fb5c * src/Sources.py (SourceTab.redraw, SourceSelector.redraw):
Use gramps ID instead of handle for display.
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
Use gramps ID instead of handle for display.


svn: r3523
2004-08-31 18:27:57 +00:00
Don Allingham
bc0e50c8f0 * src/AddMedia.py: use new MediaList update routine
* src/DisplayModels.py: new update list routine
* src/ImageSelect.py: use new MediaList update routine
* src/MediaView.py: use new MediaList update routine
* src/PlaceView.py: new update list routine
* src/SourceView.py: new update list routine


svn: r3521
2004-08-31 03:51:05 +00:00
Don Allingham
0e4693a675 * src/GrampsBSDDB.py: add remove_place function
* src/DisplayModels.py: added row deletion and updating
functions
* src/EditPlace.py: Make a distinction between update and
new
* src/EditSource.py: Make a distinction between update and
new
* src/PeopleModel.py: remove debugging code
* src/PlaceView.py: better handling of updating and deleiting
* src/SourceView.py: better handling of updating and deleiting


svn: r3520
2004-08-30 03:50:33 +00:00
Don Allingham
8ce99f9853 * src/DbPrompter.py: cleanup dialogs
* src/EditPerson.py: update screen properly
* src/PeopleModel.py: handle stored maps correctly
* src/PeopleView.py: handle stored maps correctly
* src/gramps_main.py: eliminate unnecessary rebuilds, display
loading dialog
* src/gramp.glade: loading dialog


svn: r3519
2004-08-29 05:45:40 +00:00
Don Allingham
684d47f512 * src/RelLib.py: guess_gender fix
* src/gramps_main.py: drop unused goto_active_person parameter


svn: r3518
2004-08-29 02:36:00 +00:00
Don Allingham
e27c787955 * src/EditPerson.py: make a distiction between adding a person
and editing a person.
* src/PeopleView.py: drop unused goto_active_person parameter
* srcgramps_main.py: drop unused goto_active_person parameter


svn: r3517
2004-08-28 19:49:34 +00:00
Tim Waugh
dda871049e 2004-08-27 Tim Waugh <twaugh@redhat.com>
* src/SelectObject.py (SelectObject.redraw): Use GRAMPS ID for
        user display.


svn: r3516
2004-08-27 13:35:24 +00:00
Don Allingham
2be6aaa660 * src/DisplayModels.py: fix place and source lists
* src/PlaceView.py: fix place lists
* src/SourceView.py: fix source lists


svn: r3515
2004-08-27 03:41:57 +00:00
Don Allingham
1dc536fd60 * src/Sort.py: use locale.strcoll for sorting
* src/RelLib.py: don't use accent for sort name
* src/EditPerson.py: compare edited ID value properly
* src/Marriage.py: compare edited ID value properly
* src/PeopleModel.py: use locale.strcoll for comparing
* src/GrampsBSDDB.py: use locale.strcoll for comparing/sorting
* src/GrampsDbBase.py: use locale.strcoll for comparing/sorting
* src/DbPrompter.py: handle bad filenames a bit better


svn: r3514
2004-08-26 21:54:14 +00:00
Don Allingham
e3f151a7a8 * src/gramps_main.py: update properly after an edit
* src/Utils.py: generate correct path name, using gramps id
instead of handle
* src/ImageSelect.py: select correct path name for thumbnail

* src/PeopleModel.py: move to a table driven format for
handling columns


svn: r3513
2004-08-26 04:03:11 +00:00
Tim Waugh
434181bd32 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_person): Removed
        debugging noise.


svn: r3511
2004-08-25 07:57:05 +00:00
Tim Waugh
2523c7abf8 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Person.parents_too_old): Fixed typo.


svn: r3510
2004-08-25 07:53:44 +00:00
Don Allingham
6223685b34 * src/DisplayModels.py: handle a closed database in on_get_value
* src/PeopleModel.py: handle a closed database in on_get_value


svn: r3509
2004-08-25 03:37:48 +00:00
Don Allingham
b85614c491 * src/ImageSelect.py: Display GRAMPS ID, not DB handle
* src/WriteGedcom.py: handle image file problems when exporting


svn: r3508
2004-08-25 03:25:23 +00:00
Don Allingham
3b7c81fbe7 * src/ReadXML.py: Fix file copy problem, handle copy failure
* src/src/ImageSelect.py: Display GRAMPS ID, not DB handle

* src/plugins/WebPage.py: web page enhancements, including
a place index.


svn: r3507
2004-08-25 03:02:25 +00:00
Tim Waugh
a0fd5337d7 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/MediaView.py (MediaView.on_select_row): Use the correct
        column for DB handle.
        (MediaView.on_select_row): Display GRAMPS ID, not DB handle.
        (MediaView.build_context_menu): Use the correct column for DB
        handle.
        (MediaView.on_edit_clicked): Likewise.
        (MediaView.on_delete_clicked): Likewise.


svn: r3506
2004-08-24 18:05:18 +00:00
Tim Waugh
6221d356e6 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Write out 'default' tag on people node for
        compatibility with GRAMPS 1.0.x.


svn: r3505
2004-08-24 10:24:17 +00:00
Alex Roitman
ad7f65dec7 * src/GrampsDbBase.py (get_object_from_gramps_id,
get_source_from_gramps_id, get_place_from_gramps_id): Add placeholder
functions with assertions.


svn: r3503
2004-08-24 05:09:50 +00:00
Alex Roitman
000a12c2a2 * src/ArgHandler.py (auto_save_load): Remove new db creation for BSDDB.
svn: r3502
2004-08-24 04:55:32 +00:00
Alex Roitman
78f6625fee * src/EdirPerson.py (__init__): Typos.
svn: r3501
2004-08-24 04:51:11 +00:00
Don Allingham
680c93e6d9 a person is not alive.
svn: r3500
2004-08-24 04:15:23 +00:00
Don Allingham
f987964322 * src/PeopleModel.py: enhanced column_spouse
* src/RelLib.py: enhance probably_alive to check for "Cause
of Death", "Burial", and "Cremation" events to indicate that
a person is not alive.
* src/const.py.in: add support for "Marriage Banns"

* src/ReadXML.py: set last change time, support handles


svn: r3499
2004-08-24 04:14:08 +00:00
Don Allingham
fd8e92eae6 * src/Utils.py: produce less line noise when generating
handles
* src/WriteGedcom.py: save CHAN records
* src/WriteXML.py: save handles and time stamps
* src/GrampsDbBase.py: make the find_xxx_from_handle functions
consistent and correct (handle ids correctly)
* src/DisplayModels.py: add last change column
* src/PeopleModel.py: add last change column
* src/PeopleView.py: add last change column
* src/MediaView.py: add last change column
* src/SourceView.py: add last change column
* src/EditPerson.py: display last change timestamps
* src/EditPlace.py: display last change timestamps
* src/Marriage.py: display last change timestamps
* src/ReadXML.py: set last change time
* src/gramps.glade: updates for last change display


svn: r3498
2004-08-24 03:48:15 +00:00
Alex Roitman
9b6c27de8c * src/DbPrompter.py (ExistingDbPrompter.chooser,
ImportDbPrompter.chooser): Destroy file chooser on failure (#1014254).


svn: r3497
2004-08-23 22:50:35 +00:00
Alex Roitman
2437f85dcd * src/const.py.in: Add gramps-package mime type.
* src/ArgHandler.py (auto_save_load): Subclass database depending
on the format.


svn: r3496
2004-08-23 22:39:41 +00:00
Alex Roitman
b003d00a00 * src/data/Makefile.am: Kill gconfd using SIGTERM -- HUP did not work.
svn: r3495
2004-08-23 22:17:09 +00:00
Alex Roitman
58a0a66508 * src/Plugins.py: Add native_format flag to import plugin registration.
* src/ReadXML.py, src/ReadGedcom.py: Register as native formats
to prevent loading twice on File->Open.
* src/data/gramps.schemas: Add keys for last import and export dirs.
* src/GrampsCfg.py (get_last_import_dir, save_last_import_dir,
get_last_export_dir, save_last_export_dir): Add functions.
* src/Exportder.py (suggest_filename): Try last export and last
import folders before falling back to Home; (save): Save export folder.
* src/Utils.py (get_new_filename): Add optional folder argument.
* src/DbPrompter.py (ExistingDbPrompter.chooser): Only add
importers for non-native formats, the rest is already taken care of;
Try last file, last import, last export, then home folders;
(ImportDbPrompter.chooser): Save import folder; Try last import,
last file, last export, then home folders.
(NewNativeDbPrompter): Try last file, last import, last export folders,
then fall back to home.


svn: r3493
2004-08-23 22:05:55 +00:00
Alex Roitman
ceec7ead2f * src/plugins/WebPage.py: Use gramps ID for naming the files
and creating links.


svn: r3492
2004-08-23 18:40:25 +00:00
Alex Roitman
f2d5d512d1 * src/docgen/AbiWord2Doc.py, src/docgen/AsciiDoc.py,
src/docgen/HtmlDoc.py, src/docgen/KwordDoc.py,
src/docgen/OpenOfficeDoc.py, src/docgen/PdfDoc.py,
src/docgen/RTFDoc.py: Translate type descriptions; correct print_label.


svn: r3491
2004-08-23 17:30:47 +00:00
Alex Roitman
a4f141484c Update
svn: r3490
2004-08-23 17:04:58 +00:00
Alex Roitman
72ca6d58da * 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
5789b1a54a * src/plugins/DetAncestralReport.py (write_children):
Check whether event exists (#1014414).
* src/plugins/IndivComplete.py (write_alt_names): Correct the
use of handle (#1014411); (write_fact, write_sources, write_person):
Use gramps id, not handle, for displaying source references.


svn: r3488
2004-08-23 16:59:13 +00:00
Alex Roitman
1481f535f1 * src/EdirPerson.py (__init__): Use handle instead of ID (#1014224).
svn: r3487
2004-08-23 16:27:02 +00:00
Alex Roitman
60c0d49fbb * src/NameEdit.py: Proper use of ComboBoxEntry widgets (#1014238).
svn: r3486
2004-08-23 16:22:38 +00:00
Alex Roitman
992ad8a02a * src/RelLib.py: (probably_alive): Fixed typo (bug #1014223).
svn: r3485
2004-08-23 16:05:22 +00:00
Tim Waugh
7e419c532f 2004-08-23 Tim Waugh <twaugh@redhat.com>
* install-sh: Removed this generated file.


svn: r3484
2004-08-23 15:43:27 +00:00
Tim Waugh
cf7a0649c1 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_sources): Write sources
        in ID order for easier change tracking.


svn: r3483
2004-08-23 11:26:24 +00:00
Tim Waugh
d13e98ce19 (XmlWriter.write_ref): Fixed typo.
svn: r3482
2004-08-23 11:14:38 +00:00
Tim Waugh
ab7c79cf86 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set
        GRAMPS ID on new source (bug #1014246).


svn: r3481
2004-08-23 10:42:36 +00:00
Don Allingham
d6e46b07e4 * src/Marriage.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Sources.py: pychecker fixes
* src/StyleEditor.py: pychecker fixes
* src/TarFile.py: pychecker fixes
* src/TipOfDay.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/WriteXML.py: pychecker fixes


svn: r3480
2004-08-22 23:16:57 +00:00
Tim Waugh
d780de9098 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_families): Write families
        in GRAMPS ID order for easier change tracking.


svn: r3479
2004-08-22 23:11:30 +00:00
Tim Waugh
d03264425b (GedcomWriter.fid): Use GRAMPS ID not DB handle.
svn: r3477
2004-08-22 16:33:31 +00:00
Tim Waugh
aeb4be6e99 * src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
out in GRAMPS ID order.


svn: r3476
2004-08-22 16:30:43 +00:00
Tim Waugh
3fbbd73f9b 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.


svn: r3474
2004-08-22 16:18:33 +00:00
Tim Waugh
ac5ac33f9d (XmlWriter.write_xml_data): Fixed families output by preventing
confusion between handles and GRAMPS IDs.


svn: r3473
2004-08-22 12:52:33 +00:00
Tim Waugh
20bf8f7799 (XmlWriter.write_family_handle): Use GRAMPS ID not DB handle.
(XmlWriter.write_xml_data): Sort family IDs before writing.


svn: r3472
2004-08-22 12:45:47 +00:00
Tim Waugh
049599ca95 (XmlWriter.write_xml_data): Fixed people output by preventing
confusion between handles and GRAMPS IDs.


svn: r3471
2004-08-22 12:37:44 +00:00
Tim Waugh
98fd53922f (XmlWriter.write_xml_data): Sort person handles before writing.
svn: r3470
2004-08-22 12:21:01 +00:00
Tim Waugh
fbeab25019 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py (write_xml_data): Fixed typo causing XML export to
        omit all place definitions.


svn: r3469
2004-08-22 12:06:19 +00:00
Tim Waugh
5f413de986 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).


svn: r3468
2004-08-22 09:15:26 +00:00
Alex Roitman
355c3865f5 * src/WriteGedcom.py (write_sources, write_person, write_ord):
Use gramps id instead of handle.
* src/GenericFilter.py: Check object for being not None.


svn: r3467
2004-08-22 05:33:37 +00:00
Alex Roitman
41e0ff14a8 * src/plugins/Check.py: Import const module.
* src/PedView.py: Add person to the list even if there are no parents.


svn: r3466
2004-08-22 01:41:53 +00:00