378 Commits

Author SHA1 Message Date
Vassilii Khachaturov
2b1df84121 7068: back-port from trunk
svn: r23281
2013-10-08 13:05:34 +00:00
Vassilii Khachaturov
63d6fe766f 7100: reapply fix from trunk after CR by dsblank
svn: r23278
2013-10-08 12:10:20 +00:00
Jérôme Rapinat
cd01cb92ef 7105: missing event_ref_list into get_citation_child_list method
svn: r23262
2013-10-07 14:41:38 +00:00
Nick Hall
727932794e 7066: Fix hebrew calendar and remove sdn import
svn: r23228
2013-09-30 17:41:01 +00:00
Vassilii Khachaturov
49c89c1022 7088: rm warning on `import sdn' failure
svn: r23220
2013-09-30 11:45:01 +00:00
Nick Hall
98ebecf03c Revert change to suppress warnings
svn: r23217
2013-09-28 14:00:29 +00:00
Vassilii Khachaturov
42462e4bf2 7089: same bug in 3 more reports
reapply r23214 from trunk

svn: r23215
2013-09-28 00:00:37 +00:00
Paul Franklin
ef02b35311 7088: provide a config option to suppress the warning about missing "sdn"
svn: r23206
2013-09-26 21:52:44 +00:00
Vassilii Khachaturov
17bb3fa639 7037: proxy crash with complex person filter
svn: r23200
2013-09-25 22:23:37 +00:00
Vassilii Khachaturov
f8009903c7 friendlier test failure diags
svn: r23198
2013-09-25 15:51:47 +00:00
Vassilii Khachaturov
1d4bb780a2 skip MatchDateTest on non-English locales
svn: r23196
2013-09-25 14:50:39 +00:00
Paul Franklin
8b64a00c51 enable Arabic date handler in gramps40
svn: r23190
2013-09-24 16:28:46 +00:00
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
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
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
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
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
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
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
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
c4f4bb2128 7061: Add User.progress context manager
reapply from trunk

svn: r23094
2013-09-12 17:56:50 +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
5ce28808c6 7053: Narrated Website report crashes; check for family == None on lookup
svn: r23075
2013-09-10 10:09:46 +00:00
Paul Franklin
0f652ce5ef enable suppression of minor missing-package warning (spell checking)
svn: r23069
2013-09-09 20:55:05 +00:00
Vassilii Khachaturov
3f32fbcab0 add __main__ for stand-alone test runs
svn: r23038
2013-09-05 08:32:00 +00:00
Doug Blank
d88b3dd0d0 7034 and 6965: missing method
svn: r23027
2013-09-04 10:39:26 +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
John Ralls
a45839799d [r20136]Change grampslocale logger to use __name__ instead of 'grampslocale'
Attempt to suppress 'No handler for logger grampslocale' messages by enrolling the logger in the module hierarchy.

svn: r23020
2013-09-03 23:31:20 +00:00
John Ralls
793e937963 [r23014]Avoid bogus rel-calc translation error message in C locale
svn: r23018
2013-09-03 23:30:53 +00:00
John Ralls
f088797e9f [r23011]Bug 7036: [Win32]Setting LANG crashes Gramps
Also fixes Bug 6919: No automatic language selection in Windows
Thanks to Helge Herz.

svn: r23012
2013-09-03 17:44:14 +00:00
Doug Blank
c771b25cb5 Use cuni rather than unicode
svn: r22987
2013-09-01 11:20:14 +00:00
Vassilii Khachaturov
c8bae282e0 clean up tmp test files in the end
reapply from trunk

svn: r22984
2013-09-01 07:39:30 +00:00
Doug Blank
8cc04c5598 Webapp changes to properly show unicode data in html
svn: r22976
2013-08-31 13:46:31 +00:00
Vassilii Khachaturov
314bbe6ca0 6960: Error merging citations
Reapply from trunk these commits:
commit 1594f61ea2dbd9eddb44a800c26f170ff5702491
Author: vassilii <vassilii@4ae1f11a-8b86-4847-b8af-ab372f36d1fd>
Date:   Fri Aug 30 22:33:58 2013 +0000

    6960: Bless Source with an IndirectCitationBase

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

commit 6ec4b56d6530bd98638cb66365e6205d057f48ca
Author: vassilii <vassilii@4ae1f11a-8b86-4847-b8af-ab372f36d1fd>
Date:   Fri Aug 30 22:03:14 2013 +0000

    6960: mergecitations has broken copy of MCQ

    The MergeCitations batch tool had a cut-and-pasted code
    replicating MergeCitationQuery logic. Naturally, it diverged :-)
    Removed MergeCitations.Merge and use MergeCitationQuery instead.

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

svn: r22971
2013-08-30 22:43:57 +00:00
Vassilii Khachaturov
8c3e4701d9 Finish merging bug# 6960 fix from trunk
I don't know why git diff didn't pick up citation.py :(

svn: r22963
2013-08-30 19:14:58 +00:00
Vassilii Khachaturov
d9eab10013 6960: Error merging citations
Merge back to gramps40 my work on the bug fix.

svn: r22962
2013-08-30 19:00:39 +00:00
Vassilii Khachaturov
dacf5f4d3b flags HAS_CLIMERGE and HAS_EXPORTRAW to skip tests
Reapply from trunk my commit r22948

svn: r22961
2013-08-30 19:00:23 +00:00
John Ralls
649c105536 [r22842]Clean up some leftovers from 22841
svn: r22950
2013-08-29 23:31:26 +00:00
Vassilii Khachaturov
ca929cfb2f 6960: error merging citations
merge_ref_test still fails...

svn: r22937
2013-08-29 16:20:29 +00:00
Vassilii Khachaturov
0afdb2e361 7016: new cmdline switches -y/--yes and -q/--quiet
reapply r22916 from trunk

testing on gramps40: UT

svn: r22932
2013-08-29 12:41:31 +00:00
Vassilii Khachaturov
4bfb2e082c 7013: Impl. User.prompt based on QuestionDialog2
Reapply r22914 from trunk

Unit tests pass

svn: r22931
2013-08-29 12:35:18 +00:00
Nick Hall
322185b339 4735: Check for updates in a separate thread
svn: r22925
2013-08-28 23:34:20 +00:00
Doug Blank
196ad8feb7 7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'; changed date before and after max to be 9999
svn: r22917
2013-08-28 11:52:48 +00:00