Commit Graph

21682 Commits

Author SHA1 Message Date
Mirko Leonhaeuser a038cc0432 update German translation 2013-12-03 20:11:45 +01:00
Jérôme Rapinat 2f190df9d5 python2 for python-gramps-4.0.x; python3 for python-gramps-4.1.x 2013-12-03 17:14:10 +01:00
Jérôme Rapinat a10a9af0e2 Merge experimental python3 support (Ross Gammon - Debian packaging) 2013-11-30 11:04:54 +01:00
Jérôme Rapinat f862478404 6918: try to limit lintian messages by merging Ross Gammon's work on Debian packaging 2013-11-30 10:42:47 +01:00
Vassilii Khachaturov 188ad41592 7256: extra spaces in HTML GV labels 2013-11-28 23:11:11 +02:00
noirauds 2972b0d9c0 Geography : bug7240 : create a bookmark via GeoEvents leads to an empty link 2013-11-27 21:21:58 +01:00
Doug Blank 33c9e7e043 Revert changes for 7231; didn't fix main issue 2013-11-27 12:50:17 -05:00
Vassilii Khachaturov 29ebeb47a2 use logging.warning in old cases in this file, too 2013-11-27 18:02:57 +02:00
Vassilii Khachaturov c54c31cd68 7212: convert invalid date to text on .gw import
Implement the feature.
2013-11-27 18:02:56 +02:00
Vassilii Khachaturov fe6c014ab2 7212: convert invalid date to text on .gw import
Add a failing test demonstrating the feature to be implemented...
2013-11-27 18:02:56 +02:00
Doug Blank 2d147924e8 7231: recursion limit during navigation; added non-blocking lock to prevent reentrant calls over and over to prevent overflowing stack 2013-11-26 07:51:38 -05:00
Doug Blank 3e17a1586a 7231: recursion limit during navigation; added lock to prevent reentrant calls over and over to prevent overflowing stack 2013-11-26 07:00:16 -05:00
Joan Creus 2633afc555 Translation update 2013-11-25 22:50:32 +01:00
Vassilii Khachaturov 9674518322 7212: convert invalid date to text on import
Consolidate the new logic with the older code -- now malformatted
dates, as well as well-formatted invalid ones, will also be
converted to text.
2013-11-25 12:37:19 +02:00
Vassilii Khachaturov 0b0e55250c 7212: convert invalid date to text on import
Switch vcard birthday import code to use the validating Date.set
and catch the exception, convert to text mode if caught.
2013-11-25 12:24:00 +02:00
Vassilii Khachaturov 182c0f3437 7212: convert invalid dates to text on import
Make log message from [dfc3cc] use named arguments for l10n.
Thanks to Paul Franklin for finding this during code review.
2013-11-25 11:00:53 +02:00
Jérôme Rapinat aaa250f7fc Update Finnish translation (contribution by Pekka Valta), need review (fuzzy strings) 2013-11-23 20:16:45 +01:00
Vassilii Khachaturov cca72aa579 7212: convert invalid dates to text on import
If the date is invalid, it will be converted to text mode,
and the text field will be set to the problematic XML.
A warning will be printed on the console as well.
The log message will use the invalid date attached as
DateError.date, see [8e1659].
2013-11-23 19:59:19 +02:00
Vassilii Khachaturov befcd21d0b 7212: convert invalid dates to text on import
unit tests
2013-11-23 19:59:19 +02:00
Vassilii Khachaturov ca4eab8c0e 7198: Date editor crashes on invalid date
Revalidate the date upon every change, and disable
OKing the dialog when it is not valid, for usability review.

If it is not good, we can always revert this commit.
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov b4a5df2622 7198: Date editor crashes on invalid date
give a name to the OK button instead of an autogenerated id
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov 531e6624b0 7198: Date editor crashes on invalid date
Trying out the approach preferred by Nick, see 7198:32708
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov 872bf57946 7198, 7212: attach invalid date to DateError
when Date.set throws during the date fields sanity
check validation, it now attaches an (undocumented) .date field
to the exception -- proof of concept for 7198 and potentially
for 7212 as well
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov 83c6788d43 7198: Date editor crashes on invalid date
Improve user experience as promised in [98d8e6].
Now, if one clicks OK in the date editor and the date is invalid,
it's switched into text mode and the dialog remains open,
so the user can either correct the date or type it as text,
no more loss of entered data happens.
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov 1d654a2b1a 7198: Date editor crashes on invalid date
Now it just autoconverts into MOD_TEXT and returns whatever
text was there. This fixes the crash on the master branch,
but is not the final user experience yet.
2013-11-23 19:59:18 +02:00
Vassilii Khachaturov 3c93c1d164 7198,7212: fix Date.set(value=None) 2013-11-23 19:59:18 +02:00
Doug Blank 4f29c6e464 7209: Custom key/value (data item) on Database difference report: Change datamap representation to allow Database Difference Report to work 2013-11-18 06:27:05 -05:00
Josip aad7b15a47 0007179: Select an existing person causes crash in searchfilter 2013-11-16 10:04:19 +01:00
Vassilii Khachaturov 68c0615bc4 7197: merge the fix from master
All date tests pass cleanly on gramps40 branch.
Merged the following commits.

	commit a90139cb9a
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Fri Nov 15 15:04:03 2013 +0200

		7197, 7100: missing recalc_sort_value in ny code

		Fix bug #7197

	commit baae6ac615
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Thu Nov 14 22:45:42 2013 +0200

		7197: readjust sanity date wrt newyear/slash

		Attempt to fix the failing
		 DateHandlerTest.test_invalid_month_with_ny
		(see 7197:32625). Tests still fail, investigation shows
		there's a problem in Date.set setting Julian+Mar25 date even if the
		date validation check is disabled by inserting a return before
		the validation block, i.e., before this line
				if modifier != Date.MOD_TEXTONLY:
		which seems to be the root cause of the remaining failing tests.
		which seems to be the root cause of the remaining failing tests.

		To investigate, add the return and try
		LC_ALL=en_GB.utf8 LANG=en_GB.utf8 GRAMPS_RESOURCES=$PWD \
		 python -m unittest -v \
		 gramps.gen.lib.test.date_test.MatchDateTest.test_match

	commit 4147721112
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 22:34:24 2013 +0200

		7197: refactor code

		extract Date._adjust_newyear out of Date.set

	commit b3ab87bc5a
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 22:02:21 2013 +0200

		7197: refactor code

		replace all copies of logging with a single point at the exception
		rethrow point

	commit c4daa151a5
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 17:39:47 2013 +0200

		7197: date sanity check breaks on Julian+Mar25

		Date.convert_calendar resets the new year setting to 0,
		so the sanity check fails. Commit the initial fix that
		unblocks the failing test.
2013-11-15 15:51:56 +02:00
Vassilii Khachaturov e097fb58c3 7197: failing tests demonstrating the bug
Merge from master:
	commit 93ca90f3b8
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Thu Nov 14 22:41:46 2013 +0200

		7197: more failing tests

	commit 78cae43a32
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 16:59:26 2013 +0200

		7197: better diagnostics from test for debugging

		Use unittest -v/--verbose flag to trigger it.

	commit 626353a0b3
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 13:52:47 2013 +0200

		7197: failing test demonstrating the bug
2013-11-15 15:41:55 +02:00
Vassilii Khachaturov 6514aed725 RU: minor libnarrate translation fix
Reapply from master
	commit dc278569c1
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Wed Nov 13 10:15:41 2013 +0200
2013-11-15 15:35:58 +02:00
John Ralls 4f07546433 Bug 7191: Cursor keys just beep on PPC with Gramps 3.4.6
It's actually on both PPC and Intel, and it's from forgetting to update
gramps.accel after upgrading Gtk past 2.24.10, which changed the mapping
of alt/option from Mod5 to Mod1.

For gramps40 and master, the problem was masked by the bundler putting
the file in the wrong directory.
2013-11-14 10:17:35 -08:00
John Ralls d3655f65de Fix gramps.modules for git conversion 2013-11-09 17:28:56 -08:00
Nick Hall 10b6c433d4 Update url to example file 2013-11-09 19:45:18 +00:00
Nick Hall ccdc4297ce Skip .git instead of .svn directories 2013-11-09 00:11:30 +00:00
Nick Hall adfafbc478 Change version string to contain git hash instead of svn revision 2013-11-08 19:54:16 +00:00
Nick Hall 93fe889a4c 7182: Avoid using private functions in GExiv2 > 0.5
svn: r23475
2013-11-08 09:26:04 -08:00
Jérôme Rapinat 56878b3205 bump to 4.0.3
svn: r23472
2013-11-08 09:25:35 -08:00
Jérôme Rapinat 9f0f9be8ea update NEWS
svn: r23470
v4.0.2
2013-11-08 09:25:13 -08:00
John Ralls 870f5334ec Prepare mac build for 4.0.2 release.
svn: r23469
2013-11-08 09:24:53 -08:00
Doug Blank cdbcbd1446 Python3 spacing
svn: r23466
2013-11-07 11:35:21 -08:00
Doug Blank 17ac22d959 Python3 spacing
svn: r23464
2013-11-07 11:34:59 -08:00
Doug Blank 7e1eb33466 Python3 syntax
svn: r23463
2013-11-07 11:34:31 -08:00
Doug Blank 2c266cada1 Missing newline
svn: r23462
2013-11-07 11:34:05 -08:00
Mirko Leonhäuser 92f65f5628 updated german translation
svn: r23460
2013-11-07 11:33:40 -08:00
Jérôme Rapinat 959162e862 6918: http://lintian.debian.org/tags/old-fsf-address-in-copyright-file.html
svn: r23456
2013-11-07 11:33:16 -08:00
Doug Blank 61347c3093 Added callback parameter to __init__ method so that all editors have a uniform signature (called from Note Link)
svn: 23454
2013-11-07 11:32:35 -08:00
Doug Blank dd818829bd Fix long columns of text that span pages
svn: r23453
2013-11-07 11:32:09 -08:00
Paul Franklin a4c17b6573 add Greek date handler to NEWS
svn: r23452
2013-11-07 11:31:37 -08:00
Vassilii Khachaturov 4aa97e3ee9 merge gramps34 news
svn: r23451
2013-11-07 11:31:02 -08:00