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
Jérôme Rapinat
7518fc5d2a
wrap description on about dialog
...
svn: r23116
2013-09-13 13:06:22 +00:00
Jérôme Rapinat
d6f2815ae0
6028: gen module should be gramps.gen
...
svn: r23115
2013-09-13 13:04:42 +00:00
Vassilii Khachaturov
f8698d12f3
5598: refactor GUI tools to enable CLI operation
...
evname now a CLI tool
svn: r23111
2013-09-13 09:00:59 +00:00
Vassilii Khachaturov
2abca1d071
5598: make cli User.info consistent w/other output
...
svn: r23110
2013-09-13 09:00:46 +00:00
Vassilii Khachaturov
532424605b
5598: rm import OkDialog - user.info used instead
...
svn: r23109
2013-09-13 08:39:08 +00:00
Paul Franklin
519eb40d65
add Arabic date handler to trunk, for further testing
...
svn: r23106
2013-09-13 00:08:45 +00:00
Vassilii Khachaturov
32a63852e0
7061: docstring update
...
svn: r23104
2013-09-12 21:48:23 +00:00
Vassilii Khachaturov
6c6ca1cd20
Revert*2 "5098: refactor code to use User.progress
...
Revert*2 means re-apply :-)
svn: r23102
2013-09-12 21:22:14 +00:00
Vassilii Khachaturov
0b936041d3
5098: rename gui.user.User.progress to ._progress
...
it shadowed the gen.user.User.progress (the context manager),
breaking the ``with user.progress() ... as step:'' idiom!
svn: r23101
2013-09-12 21:22:02 +00:00
Vassilii Khachaturov
4ff73e9d8a
5098: refactor to use user.info and user.progress
...
svn: r23100
2013-09-12 21:21:53 +00:00
Vassilii Khachaturov
85c1a9a0fd
Revert "5098: refactor code to use User.progress"
...
This reverts commit db9a64ef7da5f26c586452c1a84a96675991d9a4.
This was tested with "runtest.sh" only, but turns out things
are broken under GUI. I'll investigate on a private branch,
reverting meanwhile to unblock the affected plugins on trunk.
svn: r23099
2013-09-12 20:39:07 +00:00
Vassilii Khachaturov
92c13a36bf
5098: refactor old code to use User.progress
...
Now that #7061 is done, all the old code should no longer use
User.begin_.../step_.../end_progress directly any more, preferring
the context manager instead.
svn: r23096
2013-09-12 19:31:06 +00:00
Vassilii Khachaturov
299235a687
7061: User.progress
...
docstrings
svn: r23093
2013-09-12 17:51:42 +00:00
Vassilii Khachaturov
dd8263a6e8
7061: Wrap User...._progress in a context manager
...
ensure end_progress is called when exception is raised
svn: r23092
2013-09-12 17:51:31 +00:00
Vassilii Khachaturov
fffeb1c0b4
7061: Wrap User...._progress in a context manager
...
svn: r23091
2013-09-12 15:41:14 +00:00
Vassilii Khachaturov
e8202bf4fe
6940: ErrorReportAssistant_Test.test_buffer_recall
...
fix as approved by Benny
svn: r23090
2013-09-12 14:24:56 +00:00
Doug Blank
6e51929bde
ageondate quickview: show reason why considered alive or dead
...
svn: r23087
2013-09-11 10:56:26 +00:00
Doug Blank
621615bbd1
living proxy did not exclude living people with iter_people()
...
svn: r23084
2013-09-11 02:12:40 +00:00
Vassilii Khachaturov
b6f7ab9ed0
7034: add remove_stop_date parameter
...
svn: r23083
2013-09-10 17:19:16 +00:00
Doug Blank
146be99876
Ignore meaningless @IDENT@ on CONT or CONC line as detailed at http://www.tamurajones.net/IdentCONT.xhtml
...
svn: r23081
2013-09-10 16:52:03 +00:00
Vassilii Khachaturov
ff89425e50
7013: strip underscores from accept/reject labels
...
svn: r23077
2013-09-10 12:41:05 +00:00
Doug Blank
52d8a77864
7053: Narrated Website report crashes; check for family == None on lookup
...
svn: r23074
2013-09-10 10:09:32 +00:00
Vassilii Khachaturov
be8c13ef4f
5598: implement User() class for tools
...
change BatchTool to take user instead of uistate
BatchTool now uses user.prompt, properly prompting the user in CLI
scenario as well, unless "--yes" flag is given
svn: r23071
2013-09-09 21:04:45 +00:00
Paul Franklin
a4ae95f260
enable suppression of minor missing-package warning (spell checking)
...
svn: r23070
2013-09-09 20:55:25 +00:00
Vassilii Khachaturov
e51987aab8
7034: probably_alive() failing when no birth-death
...
further refactoring of set_.../set2_... common code
added accessor get_stop_ymd analogous to get_ymd
svn: r23068
2013-09-09 19:31:13 +00:00
Vassilii Khachaturov
bdd08bc679
7034: probably_alive() failing when no birth-death
...
docstring update
svn: r23067
2013-09-09 19:31:00 +00:00
Serge Noiraud
9695f0a8e4
Geography : bug#0006930 : incorrect string in geoplaces
...
svn: r23064
2013-09-09 15:29:44 +00:00
Tim G L Lyons
6661229b09
Fix error where displaying Date or Confidence in Citation Tree View gave AttributeError: 'NoneType' object has no attribute 'encode'
...
svn: r23063
2013-09-09 11:32:59 +00:00
Vassilii Khachaturov
5c9751f3b9
5598: implement User() class for tools
...
Refactoring in progress:
Modified all the tools' classes' call signature:
now all take a user argument instead of a uistate, and
GUI and CLI signature is unified.
All tools now begin with uistate = user.uistate
svn: r23061
2013-09-08 21:43:12 +00:00
Vassilii Khachaturov
8bdb301958
Add CLIManager.user attribute and __init__ param
...
Instead of initializing self.user, ArgHandler now aliases
the sessionmanager's one.
svn: r23060
2013-09-08 21:03:40 +00:00
Vassilii Khachaturov
8d867ec2a5
refactor test
...
svn: r23059
2013-09-08 19:35:15 +00:00
Vassilii Khachaturov
a702a815b3
consistency between offset and non-offset setters
...
added ugly parameter _update2 to set_yr_mon_day, needs refactoring
svn: r23058
2013-09-08 19:23:23 +00:00
Vassilii Khachaturov
39927c45bd
fix set_yr_mon_day_offset for compound dates
...
now calls set2_yr_mon_day_offset
svn: r23057
2013-09-08 19:23:12 +00:00
Vassilii Khachaturov
d4b9448cbc
refactor set_yr_mon_day and set2_yr_mon_day
...
refactor common base
svn: r23056
2013-09-08 19:23:02 +00:00