Commit Graph

81 Commits

Author SHA1 Message Date
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Jérôme Rapinat
f213382d3a Request #3083: To display /Day month year/ on Date_fr.py
svn: r12766
2009-07-06 09:59:54 +00:00
Jérôme Rapinat
0d3314b9dc typo - contribution by Jérôme Chailloux
svn: r12709
2009-06-25 18:16:50 +00:00
Zdeněk Hataš
a16fc9a8cb Fixed typo in localized date handler, translation updates.
svn: r12676
2009-06-19 07:19:18 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Jérôme Rapinat
b578373033 pylint
svn: r12494
2009-04-29 12:38:30 +00:00
Peter Landgren
8a5ac4f03c Removed code, that was committed by mistake.
svn: r12062
2009-02-21 07:18:53 +00:00
Luigi Toscano
f1fcb42a3f Add Italian parser and displayer, derived from the Catalan one.
svn: r11952
2009-02-10 19:16:19 +00:00
Peter Landgren
0671acaf69 Added some doc strings as suggested by pylint.
svn: r11934
2009-02-09 10:47:03 +00:00
Jérôme Rapinat
ea96136bf9 PythonTidy (PEP-8 format)
svn: r11791
2009-02-01 17:25:12 +00:00
Peter Landgren
11da237db7 Fixed error in leap year calculation for Julian calendar, issue #2639.
svn: r11700
2009-01-24 08:41:14 +00:00
Peter Landgren
b391b2b985 Swedish calendar now works with checking for possible dates.
svn: r11699
2009-01-23 18:49:49 +00:00
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