Commit Graph

1242 Commits

Author SHA1 Message Date
Don Allingham
e499e58d00 * 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
fd56ea2ce1 * 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
60a27e0c63 * 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
2f2d616780 attach it to people and families with no attached sources.
svn: r3757
2004-11-27 02:54:31 +00:00
Don Allingham
cdaf281039 * 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
b9efaad3bd * 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
cd54e6ccf2 * src/FamilyView.py: Add check for empty family in
display_marriage


svn: r3753
2004-11-25 18:10:06 +00:00
Alex Roitman
3038404c4b * 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
aaf8c75c46 * 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
9a278d058e * 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
291ce80774 * src/ReadGedcom.py: fix relative path filenames and build
the thumbnail image


svn: r3747
2004-11-24 03:55:25 +00:00
Don Allingham
c01cd56028 * 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
5b5db96852 * 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
d1bdabf5fc * 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
367d6f6b91 * 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
6fa49c166b * 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
3139f636f0 * 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
284cc849c3 * src/DateParser.py: Factor out small matching chunks.
svn: r3734
2004-11-17 05:07:49 +00:00
Alex Roitman
8dd7840293 * 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
2ca66f3caa * src/MediaView.py: remove obsolete pexists check
svn: r3732
2004-11-17 02:44:56 +00:00
Alex Roitman
7d52a0f747 * src/DateParser.py: Typo.
svn: r3730
2004-11-16 20:45:25 +00:00
Alex Roitman
5c88f9bd58 * 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
5aefd4463f * 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
824df0bf5a 2004-11-12 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (person_name): Handle surname prefix (patch
        from Julio Sanchez).


svn: r3724
2004-11-12 13:09:41 +00:00
Alex Roitman
231c21ce4c * src/DateDisplay.py: Add Russian displayer.
svn: r3723
2004-11-11 22:59:08 +00:00
Alex Roitman
8313bc1077 * 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
c5247c4d02 * 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
2d0da3a34c * src/gramps_main.py: fix goto_active_person
svn: r3719
2004-11-10 04:34:48 +00:00
Don Allingham
d412332597 * src/DateParser.py: Handle month=12 in gregorian_valid
svn: r3718
2004-11-10 04:20:47 +00:00
Alex Roitman
270148fd20 * 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
3aa5101e36 Update
svn: r3716
2004-11-10 01:54:36 +00:00
Alex Roitman
6914dc80e6 * src/WriteGedcom.py: Remove extraneous import.
svn: r3715
2004-11-09 16:19:40 +00:00
Don Allingham
8ea34283c8 * 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
6c682adc40 * src/data/Makefile.am: Remove gramps.desktop from
svn: r3713
2004-11-09 01:42:16 +00:00
Don Allingham
b5490053bb * 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
c1bc80c739 * src/DateHandler.py: handle en_GB, en_AU and en_CA locales
svn: r3710
2004-11-07 03:02:24 +00:00
Don Allingham
2c7a097b25 * src/gramps_main.py: fix setting of active person on history change
svn: r3708
2004-11-06 03:41:21 +00:00
Don Allingham
95ee36dfda * 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
8b966449a7 2004-11-05 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include non-marriage relationships.


svn: r3706
2004-11-05 11:30:00 +00:00
Tim Waugh
98efd5e5e1 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
a50cf96de5 * 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
184924796c * src/gramps_main.py: fixed home person button
svn: r3699
2004-10-31 23:18:41 +00:00
Don Allingham
bc5847f464 * src/WriteGedcom.py (GedcomWriter.write_person): handle
empty event handles


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


svn: r3689
2004-10-29 03:37:01 +00:00
Don Allingham
24946bfd7f * src/Date.py: Added "set_year" function
* src/Utils.py: qualifiy Date calls, eliminate string
module usage
* src/edit_sm.png: new image
* src/Makefile.am: install edit_sm.png
* src/gramps_main.py: update relationship calculator
on database change
* src/Ancestors.py: initialize born_info


svn: r3687
2004-10-29 00:49:40 +00:00
Alex Roitman
b8daa8f930 * src/plugins/DetDescendantReport.py: New Date usage.
svn: r3685
2004-10-28 16:21:33 +00:00
Tim Waugh
0d68f5d230 2004-10-27 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Fixed typo spotted by Eero Tamminen.


svn: r3680
2004-10-27 09:29:51 +00:00
Don Allingham
057ff4319c * src/docgen/OpenOfficeDoc.py: fix asian font, file extension
svn: r3679
2004-10-27 03:41:49 +00:00
Don Allingham
9ba7cac39a * src/plugins/DescendReport.py: fix get_valid_year
svn: r3678
2004-10-27 03:10:53 +00:00
Don Allingham
91dcd9d52a * 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
e185199d6a * 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
6c9873363d * src/MediaView.py: Typo.
svn: r3668
2004-10-24 17:36:33 +00:00
Don Allingham
0ce203ad2c * 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
fb2ef63eee * 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
4df725c5c2 * src/plugins/TimeLine.py: Remove old Date.UNDEF usage.
svn: r3660
2004-10-22 15:35:47 +00:00
Don Allingham
9cd7247c0b * src/GrampsCfg.py: eliminate unused options
* src/gramps.glade: eliminate unused options


svn: r3649
2004-10-19 16:42:15 +00:00
Don Allingham
436c0bf940 * 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
282c5e8079 * 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
98f99c995a * src/docgen/OpenSpreadSheet.py (write_text): Escape special
XML characters.


svn: r3644
2004-10-18 23:24:51 +00:00
Don Allingham
ef74b8d126 * 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
eb6fd70753 * src/plugins/rel_es.py: Correct levels.
svn: r3638
2004-10-17 19:31:38 +00:00
Don Allingham
5dca1c8f2a * 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
0c41525cc2 * 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
c56d53ea02 * 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
ba1022342b * src/docgen/OpenOfficeDoc.py: incorporated Julio Sanchez's
language patch


svn: r3631
2004-10-14 04:09:38 +00:00
Alex Roitman
3ca73fed25 * src/rule.glade: Clean up the filter definition dialog.
svn: r3629
2004-10-14 01:55:50 +00:00
Alex Roitman
0ef61522ab * 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
4a668595e8 * 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
c8a7f334a5 * src/gramps.glade: Remove "Save as" from toolbar.
svn: r3622
2004-10-12 20:13:55 +00:00
Don Allingham
867d29a862 * src/DisplayModels.py: fix initialization of self.map
svn: r3621
2004-10-12 02:18:30 +00:00
Don Allingham
4b4fd78f7e * 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
6e51f6b27d * 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
6078827986 * 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
e6783320cb * 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
e1d90f4178 add test for reports
svn: r3616
2004-10-10 19:02:58 +00:00
Alex Roitman
f0f390f640 * src/data/tips.xml: Typo.
svn: r3615
2004-10-10 04:21:04 +00:00
Don Allingham
e23faa0f0e * src/PeopleModel.py: sort top level nodes using locale.strcoll
svn: r3614
2004-10-09 23:03:09 +00:00
Don Allingham
3f39d87e50 * src/GrampsDbBase.py: remove forced upper comparisons
svn: r3612
2004-10-09 03:54:42 +00:00
Don Allingham
8390e985c7 * 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
13d5991528 * 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
acc5370e28 * src/GrampsCfg.py (build): Typo.
svn: r3609
2004-10-08 14:58:41 +00:00
Don Allingham
f879df8672 * 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
9aded03912 * 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
2240ae6ef5 * src/EventEdit.py (update_event): Typo.
svn: r3602
2004-10-07 12:38:31 +00:00
Don Allingham
5c2503b652 * src/ReadGedcom.py: remove extra commits
svn: r3601
2004-10-07 04:06:43 +00:00
Alex Roitman
7af735c6cf * 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
15eb34737b * 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
c1e56807b8 * src/ReadXML.py: name enhancements
* src/WriteXML.py: name enhancements


svn: r3596
2004-10-04 04:28:58 +00:00
Alex Roitman
d09e5128e6 * src/data/tips.xml: Add more tips.
svn: r3595
2004-10-04 03:42:38 +00:00
Don Allingham
825828690e * 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
690a7e126a * src/DateDisplay.py (display): Display text for text-only dates.
Closes # 1036846.
* src/plugins/Merge.py (date_match,range_compare): Use new
Date API. Closes # 1036852.
* src/plugins/WebPage.py: Use new Date API. Use correct module
for gconf keys access. Closes # 1036856.
* src/Sort.py (by_date): Use new Date API.
* src/plugins/AncestorReport.py: Use new Date API. Closes # 1036858.
* src/plugins/Ancestor.py: Correct use of handles.
Use new Date API. Closes # 1036859.


svn: r3593
2004-10-02 23:07:43 +00:00
Don Allingham
2b6bf2791f * 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
7189f043dc * 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
5fa1ab20c2 Update
svn: r3590
2004-09-30 01:33:15 +00:00
Alex Roitman
515b0fabb0 * src/gramps.glade: Left-justify the tips.
svn: r3588
2004-09-29 19:35:09 +00:00
Alex Roitman
43b40184b3 Update
svn: r3587
2004-09-29 19:34:31 +00:00
Alex Roitman
716c45645d * 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
11f59785a7 * src/NameEdit.py: Typo.
svn: r3585
2004-09-29 13:41:23 +00:00
Don Allingham
6a6677e240 * 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
b79615e888 * 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
eacf050789 * src/DateParser.py: Better compliance with the RFC-2822.
svn: r3581
2004-09-27 20:15:38 +00:00
Alex Roitman
607fb35483 * 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
be471c8276 * 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
37314056ca * 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
c218d7c4f0 * 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
7f94d0fb51 * 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
5d5d0a36e2 * 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
f65f42f4ef * 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
ac86b176a0 * 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
30013bfbac * 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
72880d4599 * 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
8ccb4cebe9 * src/GrampsInMemDB.py: Remove unused modules.
svn: r3567
2004-09-21 04:32:18 +00:00
Don Allingham
f0fbb72dc4 * 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
a133a3d6c0 * 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
79e34708b1 * src/DateEdit.py: Use new Date's set() method. Enable help.
svn: r3563
2004-09-21 01:19:55 +00:00
Alex Roitman
8fffcbc87e * 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
446449de7d * 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
1487014730 * 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
e5b8384463 * 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
f9fb4cd962 * 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
97fd0bc7d5 * 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
75ec685b66 * 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
d382d7b094 * 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
b9d8abee14 * 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
b66cf9e5f0 * src/DateParser.py: Minor cleanup.
svn: r3553
2004-09-18 04:11:48 +00:00
Alex Roitman
b4ab304891 * 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
ac2ebca5ea * src/gramps.glade: replace LED indicators with buttons
svn: r3551
2004-09-18 02:50:30 +00:00
Don Allingham
9c8e337e96 * 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
33f604cb11 * 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
46b32a5619 2004-09-14 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Fixed SF bug #1009695.


svn: r3543
2004-09-14 13:51:18 +00:00
Tim Waugh
71e20a6585 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
cda63e2a63 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
72008e1b8b 2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Prevent constructions like
        "died in before 1901" by playing safe if the mode is not exact.


svn: r3536
2004-09-13 15:46:00 +00:00
Alex Roitman
0b77a1a3a5 * 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
e452661db4 * src/GrampsDbBase.py: Fix assert statements.
svn: r3533
2004-09-10 22:40:00 +00:00
Alex Roitman
8acca822ba * src/gramps.glade: Typo.
svn: r3532
2004-09-09 14:46:40 +00:00
Alex Roitman
dccb19009d * 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
7d41926284 * src/EditPlace.py (on_web_go_clicked): Typo.
svn: r3528
2004-09-01 15:11:10 +00:00
Alex Roitman
466aaebfd6 * 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
10161013ea * 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
fda6ccbc5c * 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
76196868d7 * 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
ec92261a5a * 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
4ec5ccd047 * 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
7fe1cc5113 * 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
e07ffbcdd4 * 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
9459c36c2e 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
b147e4e72f * 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
f9f9ea670b * 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
4ab4faa6ba * 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