Commit Graph

41 Commits

Author SHA1 Message Date
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
7a8301c28a * src/ansel_utf8.py: pylint
* src/Date.py: pylint
	* src/Spell.py: pylint
	
2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8946
2007-09-08 04:20:59 +00:00
Alex Roitman
de0559e32c * RelLib/_*.py: Make objects serialize all the way down to built-in
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.


svn: r5875
2006-02-03 22:03:53 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
895d7e1a53 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
d7ce524379 Merge from 2.0.1
svn: r4666
2005-05-24 13:08:06 +00:00
Alex Roitman
2a77676b36 Merge changes made in gramps20 into HEAD
svn: r4549
2005-05-11 14:04:47 +00:00
Don Allingham
5c137d199c * src/AddrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/AttrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/NameEdit.py: use new label scheme for tabs
* src/Date.py: incorporate instance check form gramps20 branch
* src/EditPerson.py: add additional fields for name edit, handle
lds page better, adapt to new label scheme
* src/GrampsDbBase.py: fix typos
* src/GrampsGEDDB.py: fix undo handling
* src/GrampsInMemDB.py: fix undo handling
* src/GrampsXMLDB.py: fix undo handling
* src/PeopleView.py: don't reselect an already selected person
* src/Utils.py: new tab scheme
* src/edit_person.glade new tab scheme
* src/gramps_main.py: 1->True, 0->False replacements
* src/DbPrompter.py: bring up to date with gramps20 branch
* src/DisplayModels.py: bring up to date with gramps20 branch
* src/ReadGedcom.py: bring up to date with gramps20 branch
* src/Relationship.py: bring up to date with gramps20 branch


svn: r4406
2005-04-23 15:53:30 +00:00
Alex Roitman
4dc68a517c * src/Marriage.py: proper window management on delete event.
* src/RelLib.py (Event.are_equal): Correction.
* src/Date.py (is_empty): Require empty text for a date to be empty.
* src/WriteXML (write_object): Remove places from Media.
* src/GrampsDbBase.py (undo): Typos.
* src/GrampsDBCallback: Pretty printing for warnings.


svn: r4297
2005-04-05 04:33:11 +00:00
Don Allingham
2c7a46429f * src/RelLib.py: documentation improvements, move family
relations constants from const.py.in
* src/AddSpouse.py: relationship constant changes
* src/BaseDoc.py: documentation improvements
* src/ChooseParents.py: relationship constant changes
* src/Date.py: documentation changes
* src/ReadGedcom.py: relationship constant changes, remove
unused global
* src/ReadXML.py: relationship constant changes
* src/SelectChild.py: has_family to get_parent_family
* src/const.py.in: moved family relation constants to RelLib
* src/plugins/Check.py: relationship constant changes
* src/plugins/ImportGeneWeb.py: relationship constant changes
* src/plugins/WriteGeneWeb.py: relationship constant changes


svn: r3836
2004-12-24 18:46:34 +00:00
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
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
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
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
7d9e841ff0 Update
svn: r3564
2004-09-21 01:24:32 +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
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
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
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
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
Alex Roitman
5475905a4c * 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
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
a10adcc342 * 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
e0b537f7c8 * src/Date.py: Reset date if a empty text string is passed
svn: r2151
2003-09-20 19:55:45 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
604cb39f5b * 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
522ca62853 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
d971b265aa * src/Date.py: Handle date ranges in the form of xxxx - xxxx
svn: r1688
2003-06-11 01:35:04 +00:00
Don Allingham
11faa9beda Fixed date handling with invalid strings
svn: r1582
2003-05-23 02:45:44 +00:00
Don Allingham
64de2e6acf Faster load times for places
svn: r1364
2003-03-20 02:54:28 +00:00
Don Allingham
1ff0f634db Fixed ISO Date format
svn: r1264
2003-01-20 13:28:33 +00:00
Don Allingham
a9f8fe034f ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1e1ef8dc73 Calendar updates
svn: r1247
2003-01-09 04:41:08 +00:00
Don Allingham
c440d722a6 Calendar formats added
svn: r1241
2003-01-07 03:40:22 +00:00
Don Allingham
1c902e0eef Calendar enhancements
svn: r1235
2003-01-02 04:31:52 +00:00
Don Allingham
ba3ab2b947 Date handling improvements (calendar conversions)
svn: r1233
2002-12-30 00:42:47 +00:00
Don Allingham
8d773d3e7d Dynamically find pages
svn: r1232
2002-12-29 05:44:35 +00:00
Don Allingham
dbe98f4068 UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00