Commit Graph

119 Commits

Author SHA1 Message Date
Peter Landgren
b2186d274e Fixed wrong if statemants.
svn: r11691
2009-01-22 19:46:41 +00:00
Peter Landgren
3b7f4b6e10 Swedish cal. Valid check for the Sw. cal not working yet.
svn: r11688
2009-01-22 17:07:52 +00:00
Jérôme Rapinat
28ee7ee1a8 #445: B.C.E and dates conversion on french_calendar
svn: r11681
2009-01-22 10:15:01 +00:00
Peter Landgren
8b67a937e7 Support for new Swedish calendar added.
svn: r11676
2009-01-20 15:38:29 +00:00
Peter Landgren
deb5771ba6 Typo fixed.
svn: r11675
2009-01-20 13:13:44 +00:00
Peter Landgren
a73b2da699 Swedish calendar added.
svn: r11665
2009-01-19 20:09:19 +00:00
Doug Blank
0652722cae Two minor tweaks: allow one to specify jan1, and parse for jan1 before looking for j (julian abbreviation)
svn: r11645
2009-01-17 15:22:28 +00:00
Doug Blank
ed35e1de38 Bug fix #1834, 1842: new-year boundaries in history, and editing slash dates: These changes allow the date editor dialog to change slashdates, and to change the first day of the year from Jan1. This is important for some date calculations and orderings. In order to do this, a new date format variation has been added. You can put Mar1, Mar25, or Sept1 in the parens with or without a Calendar type. For example: 'Jan 1, 1735 (Julian,Mar25)'. See further docs in wiki.
svn: r11644
2009-01-17 14:33:10 +00:00
Peter Landgren
6caf63009e Fix of 2496 by adding correc spelling of languages.
svn: r11299
2008-11-13 09:03:05 +00:00
Peter Landgren
1fcb1afdb2 Fix of issue 2496.
svn: r11288
2008-11-11 18:10:59 +00:00
Jérôme Rapinat
95597ba134 Added _Date_ca
svn: r11187
2008-10-23 08:41:35 +00:00
Jérôme Rapinat
380dd6bc23 new Catalan date handler by Joan Creus <joan(dot)creus(at)gmail(dot)com>
svn: r11175
2008-10-21 08:39:41 +00:00
Jérôme Rapinat
201b56dba4 enable Croatian date handler
svn: r11114
2008-10-05 14:05:25 +00:00
Jérôme Rapinat
7d8197e654 new Croatian date handler (by josip(at)pisoj(dot)com)
svn: r11113
2008-10-05 14:03:05 +00:00
Gerald Britton
882199f1c2 Replace dict.has_key(x) with x in dict for performance gain
svn: r10874
2008-07-17 18:10:32 +00:00
Benny Malengier
dda6988dfc ticket 2244 Date parser for Norwegian locale, allow 'b' for month
svn: r10854
2008-07-14 12:14:43 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
d1b284c50d 0002113: Date parser rejects dates where a period (.) follows the month name (contribution from Gerald Britton <gerald.britton@gmail.com>)
svn: r10766
2008-05-28 04:36:10 +00:00
Espen Berg
450ff36dfc Norwegian datehandler updated
svn: r10661
2008-05-04 07:55:01 +00:00
Doug Blank
405198db3b 0002106: Date pasting with leading spaces
svn: r10636
2008-04-24 01:06:33 +00:00
Doug Blank
dfdc81b768 A possibly controvertial change: making bad dates stand out via color in main tables
svn: r10597
2008-04-19 22:41:48 +00:00
Doug Blank
465e950888 further fixes for slash dates and updates to unit tests
svn: r10588
2008-04-19 04:51:12 +00:00
Doug Blank
3373062274 0002045: Julian date: year incremented each time event is modified; removed earlier hack, and fixed properly. Other date parsers or displayers may have to change
svn: r10587
2008-04-19 03:39:58 +00:00
Doug Blank
7aed9fc1bf 2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DateHandler/_DateParser.py: set year += 1
	* src/gen/lib/date.py: removed slash-date fix
	* src/gen/lib/test/date_test.py: slash dates sort correctly



svn: r10121
2008-02-26 00:14:36 +00:00
Doug Blank
6103ed9539 2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/test/date_test.py: new slash date tests
	* src/gen/lib/date.py: new get_slash(), fix slash conversions
	* src/DateHandler/_DateParser.py: parser sets slash date to Julian



svn: r10114
2008-02-25 05:46:45 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
f3db8c0e75 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_EditRule.py
    * src/Filters/Rules/_HasAttributeBase.py
    * src/Filters/Rules/Family/_MatchesFilter.py
    * src/Filters/Rules/Event/_MatchesFilter.py
    * src/Filters/Rules/Event/_MatchesSourceFilter.py
    * src/Filters/Rules/Event/_HasType.py
    * src/Filters/Rules/Event/_MatchesPersonFilter.py
    * src/Filters/Rules/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/_HasReferenceCountBase.py
    * src/Filters/Rules/_HasNoteSubstrBase.py
    * src/Filters/Rules/__init__.py
    * src/Filters/Rules/_HasGrampsId.py
    * src/Filters/Rules/_RegExpIdBase.py
    * src/Filters/Rules/_IsPrivate.py
    * src/Filters/Rules/_Rule.py
    * src/Filters/Rules/_HasMarkerBase.py
    * src/Filters/Rules/_HasEventBase.py
    * src/Filters/Rules/Note/_MatchesFilter.py
    * src/Filters/Rules/Person/_MatchesFilter.py
    * src/Filters/Rules/Person/_MatchesEventFilter.py
    * src/Filters/Rules/MediaObject/_MatchesFilter.py
    * src/Filters/Rules/_HasTextMatchingSubstringOf.py
    * src/Filters/Rules/_Everything.py
    * src/Filters/Rules/_MatchesFilterBase.py
    * src/Filters/Rules/_HasNoteRegexBase.py
    * src/DateHandler/_DateUtils.py
    pylint and doc fixes.

svn: r10094
2008-02-22 10:50:06 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Jérôme Rapinat
f9a1b38155 svn: r10009 2008-02-09 14:58:42 +00:00
Jérôme Rapinat
eb01559178 2008-02-07 Jerome Rapinat <romjerome@yahoo.fr>
* src/DateHandler/_Date_fr.py : fix issue with french calendar and 
        year only #1733



svn: r10002
2008-02-07 15:31:27 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Peter Landgren
fe6efad209 Fix in ISO-date if only year
svn: r9806
2008-01-14 08:10:24 +00:00
Brian Matherly
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Jérôme Rapinat
58ba8aeac3 DateHandler/_Date_fr.py typo
svn: r9595
2007-12-26 18:59:34 +00:00
Zdeněk Hataš
7c2e374f46 new czech Datehandler
svn: r9479
2007-12-10 13:13:47 +00:00
Zdeněk Hataš
62301615b9 Datehandler for czech language added.
svn: r9478
2007-12-10 13:10:13 +00:00
Espen Berg
c8eeede587 Norwegian date handler applied
svn: r9419
2007-11-27 20:14:04 +00:00
Benny Malengier
9edf0e9446 2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateHandler/__init__.py: use portuguese date handler


svn: r9142
2007-10-11 15:33:30 +00:00
Benny Malengier
b67d69d299 2007-10-10 Duarte Loreto <happyguy_pt@hotmail.com>
* src/DateHandler/_Date_pt.py: portugese datehandler accompanying translation
	* po/POTFILES.in: new file in POTFILE
	* src/DateHandler/Makefile.am: add new file for distribution


svn: r9130
2007-10-10 19:38:47 +00:00
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
Benny Malengier
0d186e8c5b apply rev 8351 to 3.0 branch: text date with correct modifier
svn: r8994
2007-09-20 19:29:50 +00:00
Don Allingham
afb2bbc201 svn: r8947 2007-09-08 04:30:36 +00:00
Jérôme Rapinat
cf1ca2c224 DateHandler/_Date_fr.py : try to avoid negative dates conversion (B.C.E)
svn: r8944
2007-09-07 22:07:50 +00:00
Jérôme Rapinat
035aa380a0 add translation for negatives dates (B.C.E)
svn: r8939
2007-09-07 07:53:28 +00:00
Alex Roitman
2517bd18a7 2007-08-17 Piotr Czubaszek <pioterus@gmail.com>
* src/DateHandler/_Date_pl.py: Add new module.
	* src/DateHandler/__init__.py: Import new module.
	* src/DateHandler/Makefile.am: Ship new file.



svn: r8824
2007-08-17 17:09:54 +00:00
Brian Matherly
d40c492f3a map English_United States to English dates
svn: r8820
2007-08-16 04:14:19 +00:00
Don Allingham
48c04f4798 2007-06-26 Don Allingham <don@gramps-project.org>
* src/Bookmarks.py: pylint
	* src/DateEdit.py: pylint
	* src/AutoComp.py: pylint
	* src/BaseDoc.py: pylint
	* src/DateHandler/_DateParser.py: pylint
	* src/DateHandler/_Date_fi.py: pylint
	* src/DateHandler/_DateUtils.py: pylint
	* src/DateHandler/__init__.py: pylint
	* src/DateHandler/_DateDisplay.py: pylint
	* src/DateHandler/_Date_fr.py: pylint
	* src/DateHandler/_Date_es.py: pylint
	* src/DateHandler/_Date_nl.py: pylint
	* src/DateHandler/_Date_sk.py: pylint
	* src/DateHandler/_DateHandler.py: pylint
	* src/DateHandler/_Date_lt.py: pylint
	* src/DateHandler/_Date_ru.py: pylint
	* src/DateHandler/_Date_sv.py: pylint
	* src/DateHandler/_Date_de.py: pylint



svn: r8675
2007-06-27 04:50:33 +00:00
Don Allingham
2615728437 2007-06-03 Don Allingham <don@gramps-project.org>
* src/Simple/__init__.py: add



svn: r8531
2007-06-04 02:49:31 +00:00
Don Allingham
6caacadb2d In .:
2007-02-04  Don Allingham  <don@gramps-project.org>
	* src/DataViews/_RelationView.py: default Relationship buttons to insenstive.
	Setting an active person will reenable them.

2007-02-03  Brian Matherly  <brian@gramps-project.org>
	* src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin

2007-02-03  Brian Matherly  <brian@gramps-project.org>
	* src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin

	* src/DateHandler/_DateParser.py (DateParser.init_strings): fix date parsing to allow
	for spaces in numerical format. #892
In po:
2007-02-03 Zdenek Hatas  <zdenek.hatas@gmail.com>
        * cs.po: Minor translation update. 



svn: r8054
2007-02-04 21:40:27 +00:00
Stefan Bjork
be37491c67 Revert endash changes.
svn: r7850
2006-12-25 13:37:16 +00:00
Stefan Bjork
48e499c88e Small fixes. Changes in swedish date parser.
svn: r7832
2006-12-21 13:04:02 +00:00
Alex Roitman
b9f2392f29 * src/GrampsDb/_ReadGedcom.py: Formatting fixes.
* src/GrampsDb/_GrampsDbBase.py: Formatting fixes.
	* src/GrampsDb/_GrampsDbFactories.py: Formatting fixes.
	* src/GrampsDb/_WriteXML.py: Formatting fixes.
	* src/GrampsDb/_GrampsBSDDB.py: Formatting fixes.
	* src/RelLib/_UrlBase.py: Formatting fixes.
	* src/RelLib/_Url.py: Formatting fixes.
	* src/RelLib/_Person.py: Formatting fixes.
	* src/RelLib/_Family.py: Formatting fixes.
	* src/RelLib/_Place.py: Formatting fixes.
	* src/RelLib/_Repository.py: Formatting fixes.
	* src/BasicUtils.py: Formatting fixes.
	* src/DateHandler/_DateUtils.py: Formatting fixes.


svn: r7481
2006-10-29 04:36:08 +00:00
Jérôme Rapinat
6d21b26a0a improve/add comments and remove register fr_LU (seems that don't exist for date_test.py)
svn: r7323
2006-09-13 18:12:53 +00:00
Alex Roitman
1cc972b9a2 * src/DateHandler/_Date_fr.py (DateParserFR.init_strings): Typo.
svn: r7318
2006-09-12 22:58:42 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
0ee9c5a676 2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/DateHandler/__init__.py: Remove unneeded imports.
	* src/plugins/Calendar.py (print_page): Use GrampsLocale._months.



svn: r6662
2006-05-15 04:13:31 +00:00
Don Allingham
c41dafef73 2006-05-14 Don Allingham <don@gramps-project.org>
* src/DateHandler/__init__.py: import DateParser and DateDisplay
	* src/DataViews/_PersonView.py: default gender filter to "any"
	* configure.in: bump up to 2.1.2



svn: r6659
2006-05-14 23:01:00 +00:00
Alex Roitman
a5e00e22ed * src/DateHandler/__init__.py: Proper import sequence.
* src/DateHandler/_DateHandler.py: Split into parts.
	* src/DateHandler/_DateUtils.py: Add new file.
	* src/DateHandler/_Date_sk.py: Bring to the new module structure.
	* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/GrampsDb/_ReadGedcom.py: Import from proper module.



svn: r6657
2006-05-14 20:14:59 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
dc434a5736 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
2ba808e4ee Update
svn: r6137
2006-03-11 04:59:22 +00:00
Alex Roitman
44040b095a Remove dependency on load_plugins
svn: r6136
2006-03-11 04:58:58 +00:00
Alex Roitman
6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
9b21dc11d0 Update
svn: r6100
2006-03-08 01:23:15 +00:00
Alex Roitman
7d45c26f71 Update
svn: r6098
2006-03-08 01:09:17 +00:00
Alex Roitman
c75449ef78 * src/DateHadnler: Move all date parsers/displayers into new directory
svn: r6097
2006-03-08 00:55:04 +00:00