Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
Alex Roitman
72ed0993e1 * src/docgen/Makefile.am, src/docgen/Makefile.in: Ship LPRDoc.py.
* src/plugins/GraphViz.py (dump_index): Remove utf8 to latin
conversion. Switch to FreeSans.
* src/docgen/PdfDoc.py (draw_text, rotate_text): Fix encoding.

* src/plugins/WebPage.py: Add option for using only birth date.
* src/Date.py: Switch over to lowercase function names.


svn: r3025
2004-03-17 03:04:10 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
37bea0a162 * src/Date.py: catch day changes if the date has both a start and stop part
svn: r2567
2003-12-29 19:49:32 +00:00
Don Allingham
e30bf2119d * src/Date.py: Reset date if a empty text string is passed
svn: r2151
2003-09-20 19:55:45 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
5384b63ffa * src/plugins/DetAncestralReport.py: add import of string
* src/plugins/DetDescendantReport.py: add import of string
* src/Date.py: compare date modes when comparing dates
* src/EditPerson.py: save date strings which comparing for changes
* src/FamilyView.py: Scope Person.male properly


svn: r1839
2003-07-08 00:42:26 +00:00
Tim Waugh
ebd0ed14c9 2003-06-25 Tim Waugh <twaugh@redhat.com>
* src/Date.py: Make sure range is 0 when it should be.  Dates compare
        differently if only one is a range.


svn: r1779
2003-06-25 10:55:15 +00:00
Don Allingham
8e3aed14df * src/Date.py: Handle date ranges in the form of xxxx - xxxx
svn: r1688
2003-06-11 01:35:04 +00:00
Don Allingham
e259320e13 Fixed date handling with invalid strings
svn: r1582
2003-05-23 02:45:44 +00:00
Don Allingham
4244c803a0 Faster load times for places
svn: r1364
2003-03-20 02:54:28 +00:00
Don Allingham
8fb0e3dcb4 Fixed ISO Date format
svn: r1264
2003-01-20 13:28:33 +00:00
Don Allingham
4d9f14f484 ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
141fec93ab pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
356e84ea89 Calendar updates
svn: r1247
2003-01-09 04:41:08 +00:00
Don Allingham
0227ec87cb Calendar formats added
svn: r1241
2003-01-07 03:40:22 +00:00
Don Allingham
a916d24916 Calendar enhancements
svn: r1235
2003-01-02 04:31:52 +00:00
Don Allingham
f2fa2ce15e Date handling improvements (calendar conversions)
svn: r1233
2002-12-30 00:42:47 +00:00
Don Allingham
537578f0d2 Dynamically find pages
svn: r1232
2002-12-29 05:44:35 +00:00
Don Allingham
b6926fa77b UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00