Commit Graph

24 Commits

Author SHA1 Message Date
Don Allingham
7e70532009 * src/DateParser.py: documenation enhancements
* src/GrampsBSDDB.py: Add cursor class
* src/GrampsDbBase.py: Add base cursor class
* src/GrampsGEDDB.py: documenation enhancements
* src/GrampsInMemDB.py: Add cursor class
* src/GrampsXMLDB.py: documenation enhancements


svn: r3781
2004-12-06 04:13:13 +00:00
Don Allingham
d09e2cdb5d * 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
Alex Roitman
7ce2a876c8 * src/DateParser.py: Factor out small matching chunks.
svn: r3734
2004-11-17 05:07:49 +00:00
Alex Roitman
2eace67e3f * 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
Alex Roitman
3ff2b05ec5 Typo
svn: r3731
2004-11-17 01:50:32 +00:00
Alex Roitman
9d805acfa0 * src/DateParser.py: Typo.
svn: r3730
2004-11-16 20:45:25 +00:00
Alex Roitman
5cf2a52871 * 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
3057994aca * 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
Alex Roitman
9d90728900 * 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
1a40c6366a * src/DateParser.py: Handle month=12 in gregorian_valid
svn: r3718
2004-11-10 04:20:47 +00:00
Alex Roitman
856c0e061c * 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
Don Allingham
66bd2a685d * 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
Don Allingham
9422d39b0b * src/DateParser.py: fix dates of the format of JAN 2000
svn: r3659
2004-10-22 04:07:02 +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
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
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
Alex Roitman
b2b4ce7327 * src/DateParser.py: Better compliance with the RFC-2822.
svn: r3581
2004-09-27 20:15:38 +00:00
Alex Roitman
ba5352424c Remove l10n from RFC dates
svn: r3578
2004-09-27 04:55:39 +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
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
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
f50bde5d49 * src/DateParser.py: Minor cleanup.
svn: r3553
2004-09-18 04:11:48 +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