Commit Graph

21909 Commits

Author SHA1 Message Date
Vassilii Khachaturov
2ad8bb0df2 7037: proxy crash with complex person filter
filter parameter shadowed the global filter :-)

svn: r23183
2013-09-23 15:56:46 +00:00
Vassilii Khachaturov
0908abf1a2 7045: enable cal switch in editor on empty dates
svn: r23178
2013-09-21 08:58:00 +00:00
Vassilii Khachaturov
9dc5890ca7 6940: ErrorReportAssistant_Test.test_buffer_recall
reapply from trunk

svn: r23170
2013-09-20 11:27:45 +00:00
Mirko Leonhäuser
8c25a7e9ce updated german translation
svn: r23165
2013-09-19 17:02:56 +00:00
Erik De Richter
9f04c31db8 updated dutch translation
svn: r23164
2013-09-19 07:40:10 +00:00
Vassilii Khachaturov
6df93d7182 7063: endless loop in probably_alive_range
Port from gramps34 branch my fix after retest by the bug submitter.

    Add a hack protection for descendants like we already have
    for ancestors, and add a debug printout.

svn: r23161
2013-09-18 14:48:13 +00:00
Doug Blank
2741628972 AgeOnDate: backported changes that show reasoning for dead/alive status and age estimate
svn: r23158
2013-09-17 23:52:11 +00:00
Vassilii Khachaturov
63f022348b 7034,7045,7065: back-merge my fixes from trunk
Back-merge from trunk changes to date.py and date_test.py
from the following commits (cumulative, clean apply).

Tests pass (but need to block the CAL_FRENCH on date_test.py:199,
because of bug# 7068 -- skipping it wasn't back-ported in this commit as
it is about the fully fixed issues only!)

	commit fa49752824bd58802773439b35faa39f2d34b151
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 15:44:04 2013 +0000

		provide sensible defautls for all Date.set params

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23126 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 3f32597699f3b372324ad87e6f7a04abac6d19e7
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 15:11:09 2013 +0000

		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

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23124 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 12edf7e97626e01931c4063b2d94bec3b299a2ed
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 14:23:58 2013 +0000

		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

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23123 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 091d4461e9715ab06f1ef6ab3b67517d6608daf3
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 13:24:40 2013 +0000

		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!!!!

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23122 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 5987046ac4cac407a4be506da9242f7a5000d878
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 13:00:19 2013 +0000

		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...

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23121 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit d8876cceb64629ce0a025ff714e4875768ab88a6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 11:50:58 2013 +0000

		7034: fix test_copy_ymd_preserves_orig

		broken in r23083

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23120 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 7c163636c8e48149a5b09c211ff3dc146ebd84b2
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Tue Sep 10 17:19:16 2013 +0000

		7034: add remove_stop_date parameter

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23083 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit b45e20da3bd67d864420f99cf59fbb9929c58851
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Mon Sep 9 19:31:13 2013 +0000

		7034: probably_alive() failing when no birth-death

		further refactoring of set_.../set2_... common code
		added accessor get_stop_ymd analogous to get_ymd

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23068 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit f13a3fc23e7f0763c49e605b428b6a175c3f9eeb
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Mon Sep 9 19:31:00 2013 +0000

		7034: probably_alive() failing when no birth-death

		docstring update

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23067 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 9ee312d7ed02520b99d2ca1b28f75c87846aa3c6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:35:15 2013 +0000

		refactor test

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23059 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 07ca997ebd885ad4d1b205907a00509099ac8f9a
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:23 2013 +0000

		consistency between offset and non-offset setters

		added ugly parameter _update2 to set_yr_mon_day, needs refactoring

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23058 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 67a904c529642668fbe34bfc97ef2915278ecbdb
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:12 2013 +0000

		fix set_yr_mon_day_offset for compound dates

		now calls set2_yr_mon_day_offset

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23057 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 3db06c36d6449ec75cde49b433349cddad40d596
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:02 2013 +0000

		refactor set_yr_mon_day and set2_yr_mon_day

		refactor common base

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23056 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 4192680c72cc0028c22fa207fe3f1ff0940358b3
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:52 2013 +0000

		raise DateError in set2_... if not is_compound()

		refactor Date to always use is_compound instead of repeating
		its logic everywhere

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23055 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 44195ede18c5a887d4440b4132bd5321f76ce5ff
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:40 2013 +0000

		Add some UT for Date.set2_... and fix bugs

		Cut and paste is evil ;-) fix bugs before I refactor the code...

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23054 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 14f6e3a3f35e0ff7b67006bf4996ce63ae665098
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:30 2013 +0000

		7034: probably_alive() failing when no birth-death

		docstring fix

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23053 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r23156
2013-09-17 18:58:06 +00:00
Jérôme Rapinat
75ca7e1f8c update template and french translation
svn: r23155
2013-09-17 15:22:01 +00:00
Doug Blank
3c488f4a6d provide a default null handler for logging; rename locale debug with leading dot
svn: r23154
2013-09-17 15:15:26 +00:00
Jérôme Rapinat
d06c31dcc3 $ intltool-update -m
svn: r23152
2013-09-17 15:03:10 +00:00
Doug Blank
35933c6645 7069: Narrated Web Site media pages do not include multiple references
svn: r23147
2013-09-17 10:35:14 +00:00
Tim G L Lyons
56f1f7f22a 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: r23142
2013-09-16 21:39:09 +00:00
Doug Blank
92e5b89b8a 6774: Recursive call in GEDCOM export preview calculation
svn: r23136
2013-09-15 03:01:44 +00:00
Vassilii Khachaturov
95c805f325 7066: Reapply from trunk sdn version reporting
Merged from
	commit dbae40dd1edad52023b828d5eef0fe7eb3684fb6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 19:42:48 2013 +0000

		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.

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23127 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	M       gramps/gen/lib/calendar.py
--->M       gramps/grampsapp.py

svn: r23132
2013-09-14 23:24:20 +00:00
Vassilii Khachaturov
1cba16a406 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: r23131
2013-09-14 23:18:44 +00:00
Vassilii Khachaturov
dcf62ff1d9 Cope with UnicodeDecodeError on git svn output
svn: r23130
2013-09-14 23:18:33 +00:00
Vassilii Khachaturov
67f33a0c69 add get_git_svn_revision and fall back to it
reapply from trunk

svn: r23119
2013-09-13 21:43:58 +00:00
Jérôme Rapinat
132c3c60ac wrap description on about dialog
svn: r23114
2013-09-13 13:01:02 +00:00
Jérôme Rapinat
05b4916e68 6028: gen module should be gramps.gen
svn: r23113
2013-09-13 10:46:43 +00:00
Jérôme Rapinat
98a1397c35 test: wrap on about dialog?
svn: r23112
2013-09-13 09:47:26 +00:00
Vassilii Khachaturov
02a9501fb9 5098: refactor to use User.progress
Re-apply the reverted commit now that the underlying problem
in gramps/gui/user.py is fixed.

svn: r23108
2013-09-13 08:30:27 +00:00
Vassilii Khachaturov
e49af1998c 7061: docstring update
svn: r23107
2013-09-13 08:08:15 +00:00
Paul Franklin
790753e99c add Arabic date handler to gramps40, for further testing
svn: r23105
2013-09-13 00:08:20 +00:00
Vassilii Khachaturov
ceea27df84 7061: 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: r23103
2013-09-12 21:30:22 +00:00
Vassilii Khachaturov
acc627b06b Revert "5098: refactor to use User.progress"
OOPS. This was tested only with "runtest.sh", but turns out
things are broken with GUI :-) Reverting for now @gramps40,
will investigate on trunk!

svn: r23098
2013-09-12 20:20:19 +00:00
Vassilii Khachaturov
97799c1303 5098: refactor old code to use User.progress
Reapply from trunk.
    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.
The only reject is on gramps/gen/merge/diff.py that doesn't have
any progress callbacks on gramps40. I'm leaving it untouched.

svn: r23097
2013-09-12 19:50:15 +00:00
Vassilii Khachaturov
c4f4bb2128 7061: Add User.progress context manager
reapply from trunk

svn: r23094
2013-09-12 17:56:50 +00:00
Mirko Leonhäuser
648334623e updated german translation
svn: r23088
2013-09-11 17:42:05 +00:00
Doug Blank
96438738b9 living proxy did not exclude living people with iter_people()
svn: r23085
2013-09-11 02:13:11 +00:00
Doug Blank
a584c5dfed Ignore meaningless @IDENT@ on CONT or CONC line as detailed at http://www.tamurajones.net/IdentCONT.xhtml
svn: r23079
2013-09-10 16:49:29 +00:00
Vassilii Khachaturov
dcd006b8e6 7013: strip underscores from accept/reject labels
reapply from trunk

svn: r23078
2013-09-10 12:42:36 +00:00
Doug Blank
5ce28808c6 7053: Narrated Website report crashes; check for family == None on lookup
svn: r23075
2013-09-10 10:09:46 +00:00
Erik De Richter
71aa77a26c updated dutch translation
svn: r23072
2013-09-10 06:43:02 +00:00
Paul Franklin
0f652ce5ef enable suppression of minor missing-package warning (spell checking)
svn: r23069
2013-09-09 20:55:05 +00:00
Serge Noiraud
828408d244 Geography : bug#0006930 : incorrect string in geoplaces
svn: r23065
2013-09-09 15:31:46 +00:00
Tim G L Lyons
b26ce84857 Fix error where displaying Date or Confidence in Citation Tree View gave AttributeError: 'NoneType' object has no attribute 'encode'
svn: r23062
2013-09-09 11:27:53 +00:00
Jérôme Rapinat
1076baad72 6028: same change for cli (thank you Nick); still something wrong with my config (GrampsLocale init)
svn: r23050
2013-09-07 09:36:28 +00:00
Nick Hall
14d051aaf1 6028: Fix imports for documentation generation
svn: r23048
2013-09-06 23:09:27 +00:00
John Ralls
0b0a37e2d5 [r23046]Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23047
2013-09-06 19:10:32 +00:00
Zdenek Hatas
659f868583 czech translation update
svn: r23044
2013-09-06 13:54:25 +00:00
Vassilii Khachaturov
b161383e94 7040: gramps40 svn fails to start catastrophically
indentation fix

svn: r23043
2013-09-06 11:32:30 +00:00
Jérôme Rapinat
18539be359 6028: try to update API(s) documentation
svn: r23042
2013-09-06 09:25:17 +00:00
Nick Hall
745bf7d96f Fix bug listing gramplets already in gramplet bar
svn: r23040
2013-09-05 22:46:46 +00:00
Vassilii Khachaturov
3f32fbcab0 add __main__ for stand-alone test runs
svn: r23038
2013-09-05 08:32:00 +00:00
Vassilii Khachaturov
2a6e1a2f1e rm obsolete utility pre-gramps40 file
svn: r23037
2013-09-05 08:31:49 +00:00
John Ralls
0ddc83fb52 [r23030]Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23031
2013-09-04 14:06:00 +00:00
Doug Blank
d88b3dd0d0 7034 and 6965: missing method
svn: r23027
2013-09-04 10:39:26 +00:00
Jérôme Rapinat
15cf8de5e5 update french translation
svn: r23026
2013-09-04 09:05:43 +00:00
Doug Blank
7bd8ff1f5d 7034: probably_alive() failing when no birth-death dates specified; 6965: Probably Alive fails when birth date is a range
svn: r23022
2013-09-04 02:49:34 +00:00