Commit Graph

20197 Commits

Author SHA1 Message Date
Vassilii Khachaturov
6b0b9f209f 7317: DateEdit statusbar to report invalid dates
Add/remove an explanatory prompt on the statusbar along
with disabling/enabling the "OK" button when the date
is invalid.
2013-12-21 22:45:42 +02:00
Vassilii Khachaturov
0c80c5eeea 7317: DateEdit statusbar to report invalid dates
add the status bar to the date editor dialog
2013-12-21 22:43:11 +02:00
Vassilii Khachaturov
86b0a3800a add specific help links for person/name editor 2013-12-19 19:33:12 +02:00
Jérôme Rapinat
0fc8b6b1c4 7147 7001: Merge person dialog does not properly adjust context section after expand 2013-12-17 15:14:35 +01:00
Vassilii Khachaturov
6caf08659e 7229: change active person upon a bookmark select
Follow-up for review w/Nick Hall:
rm redundant call to goto_handle in NavigationView.jump
2013-12-16 21:42:12 +02:00
Vassilii Khachaturov
d98e63d0e0 7229: change active person upon a bookmark select
Rename goto_handle to change_active in ListBookmarks and
derived classes, in line with [fff1f2].
2013-12-15 16:33:56 +02:00
Vassilii Khachaturov
fff1f21ab3 7229: change active person upon a bookmark select
NavigationView: register self.change_active, not
self.goto_handle as the callback when initializing self.bookmarks,
as suggested by Nick Hall.
2013-12-15 16:27:22 +02:00
Vassilii Khachaturov
c7c0b2c6bd 7229: change active person upon a bookmark select
Revert [88d2a2]. See 7229:33418.
2013-12-15 15:38:49 +02:00
Vassilii Khachaturov
10954921ef 6921: Use "Bat Mitzvah" as the en_US event name
p3/3: related msgid changes in the POT
2013-12-14 17:00:48 +02:00
Vassilii Khachaturov
4f86a36090 6921: Use "Bat Mitzvah" as the en_US event name
p2/3: related msgid changes in the translaion DBs
See also
http://www.gramps-project.org/wiki/index.php?title=Coding_for_translation#Changing_translated_text_message_in_the_source_code
2013-12-14 16:59:11 +02:00
Vassilii Khachaturov
0021e8cec2 6921: Use "Bat Mitzvah" as the en_US event name
p1/3: actual change in the code. Note that the abbreviation
also has to be changed accordingly.
2013-12-14 16:58:42 +02:00
Vassilii Khachaturov
c32160b254 7300: "Add citation" missing in pop-up menu 2013-12-14 16:27:23 +02:00
Vassilii Khachaturov
2eca306acf 7290: use simpler math in image_dpi 2013-12-14 16:06:59 +02:00
Vassilii Khachaturov
2f5e221711 7290: align warning with the image_dpi fix logic 2013-12-14 16:01:06 +02:00
Vassilii Khachaturov
36f84e1d0d 7290: image_dpi default calc based on gtk.gdk 2013-12-14 14:19:14 +02:00
Vassilii Khachaturov
161ce3b66e 7290: ImgManip.image_dpi shouldn't return None
always return a sensible default, even if we couldn't read the DPI
Use the data from Matthias Basler for ODF docgen code, as
that is the only user of image_dpi anyway.
2013-12-12 18:40:04 +02:00
Vassilii Khachaturov
460e631e5b 7288/7290 refactor out crop_percentage_to_pixel
trivial wrapper for crop_percentage_to_subpixel
2013-12-12 18:25:10 +02:00
Vassilii Khachaturov
a8a38ff87d 7288/7290 refactor out crop_percentage_to_subpixel 2013-12-12 17:58:14 +02:00
Vassilii Khachaturov
0d61bb01ab 7288/7290: refactor fix from matthiasbasler
Cluster DPI-aware code together
More precise comment
2013-12-12 17:28:59 +02:00
Vassilii Khachaturov
08814624b6 rm relict RCS kwd 2013-12-12 17:04:48 +02:00
Vassilii Khachaturov
76df5d703a 7288/7290: image cropping fixes in ODFDoc
Applied the patch from Matthias Basler attached to bug #7288,
without the rename of x and y variables to minimize the diff.

Code reviewed for correctness and retested manually.
Further work needed (probably on the master branch only):
1) DPI default of 96 -- need to verify platform independence
2) Proper refactoring of the code into ODF-specific pieces
and image manipulation that should go down into ImgManip.py
2013-12-12 17:04:48 +02:00
Mirko Leonhaeuser
7a154fa680 update German translation 2013-12-11 19:54:12 +01:00
Vassilii Khachaturov
3d02d6b4a3 7288: report PIL version with --version
help debugging the bug with wrong image aspect ration in ODF
2013-12-10 18:04:06 +02:00
Vassilii Khachaturov
67be5f3714 7086: "Remove selected items?" inconsistent YES/NO
also make "YES" the default choice for "Confirm every deletion?"
2013-12-05 17:10:54 +02:00
Vassilii Khachaturov
d6e1ada425 7086: "Remove selected items?" inconsistent YES/NO
For gramps34, only change the text to be consistent,
won't fix the rest as the GUI code around this place has
changed in later branches.
2013-12-05 16:38:16 +02:00
Vassilii Khachaturov
ee9a23715e 7273: imprecise l10n of 'before' as 'перед' in RU 2013-12-05 16:18:37 +02:00
Vassilii Khachaturov
5c467c3bb3 7172: more meaningful LOG warning plug/utils.py 2013-12-05 13:46:54 +02:00
Mirko Leonhaeuser
3a5b0bca9a update German translation 2013-12-03 20:37:56 +01:00
Jérôme Rapinat
b14eb08727 6918: try to limit lintian messages by merging Ross Gammon's work on Debian packaging 2013-11-30 10:48:13 +01:00
Vassilii Khachaturov
bf6219e3a9 7256: extra spaces in HTML GV labels 2013-11-28 23:06:04 +02:00
noirauds
efb318b433 Geography : bug7240 : create a bookmark via GeoEvents leads to an empty link 2013-11-27 21:18:42 +01:00
Vassilii Khachaturov
91424cfec7 Change version string to contain git hash instead of svn revision
Align "gramps --version" with master as of [57daf4],
within or without .git available.
2013-11-27 20:34:48 +02:00
Vassilii Khachaturov
0753f87630 7212: convert invalid date to text on .gw import
Back-port from master [829986] [1ac0e2]
2013-11-27 18:21:15 +02:00
Vassilii Khachaturov
d8f5d40c4c 7212: A person with invalid dates (as datestr)
impex.sh passes, even on Gedcom
2013-11-26 11:50:09 +02:00
Vassilii Khachaturov
88d2a2b84c 7229: change active person upon a bookmark select 2013-11-26 11:08:36 +02:00
Vassilii Khachaturov
80fa9b19b8 7212: convert invalid dates to text on import
Back-ported [4d9381] - use named format strings to enable l10n.
2013-11-25 11:09:24 +02:00
Vassilii Khachaturov
36d91fc68b 7212: convert invalid dates to text on import
Back-port from gramps40 [cca72aa] and [befcd21]

Unit test run as follows (4/4 passed):
	LANG=en_GB.utf8 python plugins/import/test/ImportXml_test.py -v
2013-11-23 21:23:01 +02:00
Vassilii Khachaturov
f527a82380 Date editor crashes on invalid date
Back-port from gramps40 the following commits as a single change:
[ca4eab8] [b4a5df2] [531e662] [83c6788] [1d654a2]
2013-11-23 20:44:56 +02:00
Vassilii Khachaturov
a00b413906 7198, 7212: attach invalid date to DateError
Back-port [872bf57] from gramps40
2013-11-23 20:26:46 +02:00
Vassilii Khachaturov
d96b01318a 7198,7212: fix Date.set(value=None)
back-port [3c93c1d] from gramps40
2013-11-23 20:22:41 +02:00
Vassilii Khachaturov
62cd754ef4 7197: back-port the fix 68c0615b from gramps40
The failing test now passes.

Back-porting work done:
1) use numbers in format strings for str.format, for py2.6 compat
2) downgrade to_struct to dateval as there's no to_struct in gramps34

Original commit:
	commit 68c0615bc4
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Fri Nov 15 15:43:27 2013 +0200

		7197: merge the fix from master
2013-11-15 18:33:06 +02:00
Vassilii Khachaturov
5e78d54c9c 7197: test 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
Not merging the datehandler_test.py changes as datehandler_test.py
hasn't been back-ported, and this test is enough to show the bug
on gramps34.
2013-11-15 18:19:09 +02:00
John Ralls
2cb90d353f 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.
2013-11-14 09:27:33 -08:00
Vassilii Khachaturov
d49dbfcc08 RU translation fix 2013-11-12 11:23:24 +02:00
John Ralls
2646a39ac6 Fix gramps.modules for git conversion 2013-11-09 17:36:31 -08:00
Nick Hall
4594f754a0 Update url to example file 2013-11-09 19:48:47 +00:00
Nick Hall
a3bf964f96 Skip .git instead of .svn directories 2013-11-09 00:17:52 +00:00
Jérôme Rapinat
5c1f0b6924 6918: http://lintian.debian.org/tags/old-fsf-address-in-copyright-file.html
svn: r23457
2013-11-07 11:36:59 -08:00
Vassilii Khachaturov
2eb8b98f8f 6194: add debugging to track the bug
Note that reflist is not an iterable but a flat list, so the added
debugging doesn't drain any delayed computations...

svn: r23449
2013-11-04 09:25:40 +00:00
Vassilii Khachaturov
59470368d3 7167: support python2.6 where str.format() is used
svn: r23442
2013-10-30 07:39:25 +00:00