Commit Graph

21703 Commits

Author SHA1 Message Date
Doug Blank
d3056d33f5 unicode literals for {} formats 2013-12-20 12:02:41 -05:00
Doug Blank
6ad2ec26f7 Added unicode_literals; thanks Nick 2013-12-20 11:18:59 -05:00
Vassilii Khachaturov
1e908f8acc add specific help links for person/name editor 2013-12-19 19:46:08 +02:00
Jérôme Rapinat
8766d9a099 7147 7001: Merge person dialog does not properly adjust context section after expand 2013-12-17 15:12:30 +01:00
Vassilii Khachaturov
2b83de38fd 7229: change active person upon a bookmark select
Port the more general fix [c7c0b2]^..[6caf08] from gramps34.
2013-12-16 21:54:04 +02:00
Doug Blank
db79b0bd32 Fix for deleting tags in people model; fix for calendar graphical report when too many 2-line entries in day 2013-12-15 10:25:40 -05:00
Vassilii Khachaturov
04d69928b9 7288/7290: port image_dpi legacy gtk code to gtk3 2013-12-15 15:06:17 +02:00
Jérôme Rapinat
bbcefae24e 7286: gir1.2-webkit-3.0 and others gir1.2-dependencies for debian package 2013-12-15 12:55:15 +01:00
Vassilii Khachaturov
37f4b411e3 7288/7290: image_dpi and cropping fixes for ODFdoc
Port my fixes based on the patch from Matthias Basler from gramps34
[2eca30] 7290: use simpler math in image_dpi
[2f5e22] 7290: align warning with the image_dpi fix logic
[36f84e] 7290: image_dpi default calc based on gtk.gdk
[161ce3] 7290: ImgManip.image_dpi shouldn't return None
[460e63] 7288/7290 refactor out crop_percentage_to_pixel
[a8a38f] 7288/7290 refactor out crop_percentage_to_subpixel
[0d61bb] 7288/7290: refactor fix from matthiasbasler
[088146] rm relict RCS kwd
[76df5d] 7288/7290: image cropping fixes in ODFDoc

Using legacy gtk interface in image.py at the moment, need to port
to the new style.

Tested with python2.
2013-12-14 23:12:18 +02:00
Vassilii Khachaturov
b1c1466a15 7229: change active person upon a bookmark select
Reapply my fix [88d2a2] from gramps34.
2013-12-14 17:57:47 +02:00
Vassilii Khachaturov
de4517dbc5 6921: Use "Bat Mitzvah" as the en_US event name
Port [109549] from gramps34
p3/3: related msgid changes in the POT
2013-12-14 17:11:29 +02:00
Vassilii Khachaturov
8643f248fb 6921: Use "Bat Mitzvah" as the en_US event name
Port [4f86a3] from gramps34
p2/3: related msgid changes in the translaion DBs
2013-12-14 17:10:17 +02:00
Vassilii Khachaturov
bd29c4739e 6921: Use "Bat Mitzvah" as the en_US event name
Port [0021e8] from gramps34:
p1/3: actual change in the code. Note that the abbreviation
also has to be changed accordingly.
2013-12-14 17:05:29 +02:00
Vassilii Khachaturov
665328654e 7300: "Add citation" missing in pop-up menu 2013-12-14 16:33:33 +02:00
Jérôme Rapinat
2e6186a53d Update Finnish translation (by Pekka Valta) 2013-12-12 17:47:00 +01:00
Mirko Leonhaeuser
de4e7a99b2 update German translation 2013-12-11 21:04:21 +01:00
Jérôme Rapinat
aa49025c38 update template (new strings on import, modified string on listview), merge finnish and french translations with new template, update french translation 2013-12-11 10:11:48 +01:00
Jérôme Rapinat
74a630f947 update Finnish translation (by Pekka Valta) 2013-12-11 09:59:50 +01:00
Vassilii Khachaturov
9315c69886 7086: "Remove selected items?" inconsistent YES/NO 2013-12-05 17:07:16 +02:00
Vassilii Khachaturov
5ff531d09e 7273: imprecise l10n of 'before' as 'перед' in RU 2013-12-05 16:25:09 +02:00
Jérôme Rapinat
5c8781dc86 http://www.gramps-project.org/wiki/index.php?title=Debian http://sourceforge.net/projects/gramps/files/Unstable/ 2013-12-04 12:24:30 +01:00
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