Commit Graph

1045 Commits

Author SHA1 Message Date
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