Commit Graph

21515 Commits

Author SHA1 Message Date
Nick Hall
ac35859e27 Convert uncollected objects tool into a gramplet
svn: r23243
2013-10-03 16:02:48 +00:00
Nick Hall
6aaccd4ca0 Convert python evaluation tool into a gramplet
svn: r23242
2013-10-03 13:33:03 +00:00
Jérôme Rapinat
c7f4a540b1 7072: fix level for citationref into person
svn: r23237
2013-10-02 08:10:07 +00:00
Jérôme Rapinat
010b67688a 7071: age on date now displays all individuals, update titles
svn: r23236
2013-10-01 08:57:18 +00:00
Doug Blank
609e2f5989 CACHES = {}
svn: r23233
2013-09-30 23:57:49 +00:00
Vassilii Khachaturov
8d5a98af2d 7088: remove SDN version reporting
svn: r23232
2013-09-30 19:31:47 +00:00
Nick Hall
c3aa0ccbb9 7066: Fix hebrew calendar and remove sdn import
svn: r23229
2013-09-30 17:41:21 +00:00
Nick Hall
533a279189 Move missing Gtk Spell warning
svn: r23224
2013-09-30 12:45:32 +00:00
Vassilii Khachaturov
3b14e98a1a 7088: rm warning on `import sdn' failure
svn: r23221
2013-09-30 11:46:07 +00:00
Nick Hall
e5a929c8b3 Revert change to suppress warnings
svn: r23218
2013-09-28 14:00:49 +00:00
Vassilii Khachaturov
659f1bec17 7089: same bug in 3 more reports
Port r23211-r23213 from gramps34.

svn: r23214
2013-09-27 23:57:49 +00:00
Vassilii Khachaturov
08dc8ffc53 7089: webcal mistreats non-gregorian event dates
svn: r23209
2013-09-26 22:06:15 +00:00
Paul Franklin
3381140ec0 7088: provide a config option to suppress the warning about missing "sdn"
svn: r23207
2013-09-26 21:53:03 +00:00
Vassilii Khachaturov
93170f1e2a 7037: proxy crash with complex person filter
reapply to trunk after retest by Mirko

svn: r23204
2013-09-26 20:32:53 +00:00
Vassilii Khachaturov
d29ea3775f friendlier test failure diags
svn: r23199
2013-09-25 15:52:55 +00:00
Vassilii Khachaturov
03ccd6b8f9 skip MatchDateTest on non-English locales
svn: r23197
2013-09-25 14:51:08 +00:00
Vassilii Khachaturov
a79e943c19 6881: latin_american broken for partial families
svn: r23193
2013-09-25 11:12:10 +00:00
Paul Franklin
203508eab1 enable Arabic date handler in trunk
svn: r23191
2013-09-24 16:29:24 +00:00
Tim G L Lyons
edafc6a7c1 0006802: In Narrative Web report most Family Maps are missing. Problem due to single apostrophe (closing single quotation mark) which needs to be escaped.
svn: r23189
2013-09-24 11:30:33 +00:00
Vassilii Khachaturov
74ea37f1ba 7037: proxy crash with complex person filter
filter parameter shadowed the global filter :-)

svn: r23184
2013-09-23 15:58:32 +00:00
Jérôme Rapinat
d9b2fa97e9 add gen.lib.handle for API documentation
svn: r23181
2013-09-23 08:38:44 +00:00
Vassilii Khachaturov
9ee29a4def add GRAMPS_RESOURCES to Makefile
otherwise it breaks

svn: r23180
2013-09-21 16:53:46 +00:00
Vassilii Khachaturov
05fae5df80 7045: enable cal switch in editor on empty dates
svn: r23177
2013-09-21 08:57:02 +00:00
Mirko Leonhäuser
58808d39f7 updated german translation
svn: r23176
2013-09-20 21:02:08 +00:00
Vassilii Khachaturov
018f0ab30b Revert "6926: display genitive/nominative months as needed"
Sorry, my mistake. Committed from the wrong branch!

This reverts commit 0e82e0077ac1cad122f4584d62b54855ca02e4d8.

svn: r23175
2013-09-20 12:41:46 +00:00
Vassilii Khachaturov
0936aa37e8 DateParserRU: suport 'до'
Add 'до' both as a Date.MOD_BEFORE modifier token
and as a span2 token (i.e., stop end for a Date.MOD_SPAN).

svn: r23174
2013-09-20 12:41:33 +00:00
Vassilii Khachaturov
6eebd80dfc 6926: display genitive/nominative months as needed
First proof of concept, fixing the original bug for Russian.
Added gramps/gen/datehandler/_datestrings.py, to hold
all the localized strings, with genitive/nominative
context as appropriate.

Remaining TODO:
1) other languages
2) expand the localized string into RE-style
concat via |, so that displayer uses the 1st instance,
and the parser uses the whole RE. Write the corresponding _().
3) same with short names as with long names
4) harmonize with _grampslocale code reading the names from
elsewhere for Julian/Gregorian months
5) expand to other calendars (non-Julian/non-Gregorian)
6) obsolete the public attributes in dd and replace with accessors

svn: r23173
2013-09-20 12:33:00 +00:00
Jérôme Rapinat
45f9ea5e6d 7081: No QuestionDialog module into gramps.gui.utils
svn: r23169
2013-09-20 10:17:29 +00:00
Jérôme Rapinat
a861db35bf wrap description for width dialog
svn: r23168
2013-09-20 09:18:14 +00:00
Vassilii Khachaturov
407b059dba 7068: undo french fallback to gregorian
French SDN conversion functions now accept an optional boolean
parameter that allows to block dates outside the republican period.
By default, calendar conversions are allowed.
Revert test blocked by r23139, it now passes!

svn: r23167
2013-09-19 22:54:49 +00:00
Vassilii Khachaturov
180cb1ac28 6926: add partial dates (M/Y and Y), not just DMY
svn: r23166
2013-09-19 22:06:27 +00:00
Vassilii Khachaturov
1972013601 7063: endless loop in probably_alive_range
Reapply r23161 from gramps40

svn: r23162
2013-09-18 14:49:59 +00:00
Doug Blank
c4125c9299 Turn off debug level, enable warn level; provide a default null handler for logging
svn: r23153
2013-09-17 15:12:36 +00:00
Doug Blank
adf9d0dc81 7069: Narrated Web Site media pages do not include multiple references
svn: r23148
2013-09-17 10:35:33 +00:00
Tim G L Lyons
42f6070d8c Fix citation filters so they no longer try to filter citations with a sources filter. Citation filter now allows specification of both source and citation data. When a citation is shown in a search or a filtered citation tree view, the corresponding source is also shown.
svn: r23143
2013-09-16 21:39:47 +00:00
Vassilii Khachaturov
f31a74d271 7068: skip blocked test code, blocks other tests
svn: r23139
2013-09-15 14:56:12 +00:00
Vassilii Khachaturov
f4be9dfc70 Cope with UnicodeDecodeError on git svn output
svn: r23138
2013-09-15 14:56:01 +00:00
Vassilii Khachaturov
f7c036ab52 7027: skip tests blocked by this bug
svn: r23137
2013-09-15 14:43:30 +00:00
Vassilii Khachaturov
6dede8d8af 7066: fix our algorithm based on jewish.c in sdn
It looks like we had an earlier fork of the same code,
and the upstream had some bugs fixed.

svn: r23133
2013-09-14 23:32:30 +00:00
Vassilii Khachaturov
b22b533846 7066: some massaging of ICU version, still fails
svn: r23129
2013-09-14 21:43:36 +00:00
Vassilii Khachaturov
da749a3fbc 7066: fallback to buggy PyICU if sdn unavailable
svn: r23128
2013-09-14 19:42:59 +00:00
Vassilii Khachaturov
a58b5cf2b7 7066: use sdn module from Calendar package on pypi
Unfortunately, no package on ubuntu for sdn...

Bug fixed on trunk, when sdn is present on the system.
Verified that sdn roundtrip works.
date_test now fails on 1789-13-4(French) recognized as invalid,
as it probably should -- I guess this one is a test bug.

svn: r23127
2013-09-14 19:42:48 +00:00
Vassilii Khachaturov
4d82a70eaa provide sensible defautls for all Date.set params
svn: r23126
2013-09-14 15:44:04 +00:00
Vassilii Khachaturov
307b8519b2 7066: comment blocked test code until bug fixed
svn: r23125
2013-09-14 15:43:54 +00:00
Vassilii Khachaturov
ad333e937c 7045: Setting an invalid date does not raise
do the sanity checks on a separate date object,
so that the uncertainty expressed with 0 d/m isn't removed

svn: r23124
2013-09-14 15:11:09 +00:00
Vassilii Khachaturov
37e82106dc 7065: Calendar conversion broken for negative date
fixed, repro steps work as expected now
date_test still broken due to further blocking issues,
see #7045

svn: r23123
2013-09-14 14:23:58 +00:00
Vassilii Khachaturov
9c47f96b9c 7045: Date.set on invalid date does not raise
refactor _zero_adjust_ymd out of 3 cut-and-paste cases
the bug with the code inside it remains -- the negative years
should not be clamped to positive ones!!!!

svn: r23122
2013-09-14 13:24:40 +00:00
Vassilii Khachaturov
ab7d12103f 7045: Date.set on invalid date does not raise
Now it does, but another test breaks:

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
    __import__(name)
  File "/home/vassilii/Gramps/gramps/gen/lib/test/date_test.py", line 136, in <module>
    d.set(quality,modifier,calendar,(4,11,-90,False),"Text comment")
  File "/home/vassilii/Gramps/gramps/gen/lib/date.py", line 1600, in set
    format(original, value))
DateError: Invalid year -90 passed in value (4, 11, -90, False)

because the corresponding year gets adjusted from -90 to 1...

svn: r23121
2013-09-14 13:00:19 +00:00
Vassilii Khachaturov
571e3cffa7 7034: fix test_copy_ymd_preserves_orig
broken in r23083

svn: r23120
2013-09-14 11:50:58 +00:00
Vassilii Khachaturov
5a7e4bd2c6 add get_git_svn_revision and fall back to it
Now gramps developers using git need not be ashamed of their
``gramps --version'' output :)

svn: r23118
2013-09-13 21:42:35 +00:00