Commit Graph

21883 Commits

Author SHA1 Message Date
Vassilii Khachaturov
b4d2e60198 7530: gen.test.constfunc_test broken in python3
Use the `in' operator rather than has_key() method to check for
environment variables in os.environ. Works on both python2 and python3.
2014-03-18 15:48:04 +02:00
John Ralls
a030c20210 7519: GRAMPs unable to handle ... Path with accented characters
This replaces commit 8cbb3ef014 with
removing the incorrect encoding of paths with the system filesystem
encoding. Python is mostly smart enough to do that itself.

Thanks to Paul Franklin and Josip Pisoj for their help with sorting this
out.
2014-03-17 12:54:22 -07:00
John Ralls
946c5539af 7026: Eliminate localedir error message 2014-03-17 12:54:22 -07:00
Paul Franklin
471ec72966 7276: translate some punctuation marks -- partial 2014-03-17 08:03:23 -07:00
Jérôme Rapinat
eeea77e9c1 6369 Couldn't find a target for a mnemonic activation on confidence into Citation Editor 2014-03-16 11:08:29 +01:00
Nick Hall
fcdd15c6d0 Fix bug in event gramplet 2014-03-15 19:30:07 +00:00
Nick Hall
ca2cafc68a Adjustments to the citation editor
Remove publication information and abbreviation fields.
Move tag button.
2014-03-15 17:49:31 +00:00
Jérôme Rapinat
5654c99815 7510: do not drag and drop more than one data into editor tabs 2014-03-15 11:18:52 +01:00
Jérôme Rapinat
6d8679df2d 7530: typo on import geneweb unit test 2014-03-13 12:03:17 +01:00
Mirko Leonhaeuser
40d169f346 update German translation 2014-03-12 01:00:29 +01:00
John Ralls
8cbb3ef014 7519: GRAMPs unable to handle ... Path with accented characters
Much worse, actually. Gramps wasn't able to handle any non-ascii
characters in any preference setting from Python2.

repr() in Py2 effectively runs "encode(val, ascii, backslashreplace)"
on its argument, and there's no way to reconstruct the string.
2014-03-08 17:55:50 -08:00
John Ralls
2642fc5409 6854: Spelling messages at random cause hang for a few seconds.
Improve error message to conditionally explain that there is no
dictionary if that's in fact the case; otherwise log the actual
exception string.
2014-03-08 16:41:04 -08:00
John Ralls
38aaa671cd Remove some left-over diagnostic messages. 2014-03-08 13:40:47 -08:00
John Ralls
9c3a40f785 6808: Poor contrast mouse on mouse over
Set the Gnome-standard 'Adwaita' theme, which doesn't have gray lines.
2014-03-08 13:22:06 -08:00
Josip
b38e5996fb 7435: Media Editor error if Path value was changed to a non existing file
fix media path
2014-03-08 21:53:12 +01:00
Josip
b868e3e256 7434: Media viewer list crashes during start if one try to select an entry where the media isn't available 2014-03-08 21:51:56 +01:00
Josip
22ec94f84d 7435: Media Editor error if Path value was changed to a non existing file 2014-03-08 18:00:36 +01:00
John Ralls
49cdfe3283 Bug 6538: Collation variants do not work properly
If ICU is available, inspect the environment for $COLLATION and on
a Mac also check the AppleCollationOrder default. Pass the results
to a special ICU Locale used for sorting.
2014-03-07 16:27:05 -08:00
John Ralls
80c58f46d3 Convert two common plugin errors from unhandled exceptions to warnings.
Missing translation for the current primary locale.
Import failure because of some missing dependency.

Note that these handlers can be overridded in the module itself; this is just a fallback.
2014-03-07 16:20:24 -08:00
John Ralls
58d150ebc8 Revert "Bug 6538: Collation variants do not work properly"
This reverts commit e0c896fe12.
Picked up too much in one change.
2014-03-07 16:17:51 -08:00
John Ralls
e0c896fe12 Bug 6538: Collation variants do not work properly
Pass fully-qualified locale found in $LC_COLLATE to ICU.
2014-03-07 16:14:00 -08:00
John Ralls
20f2564df0 Bug 6696: sort failure using key=glocale.sort_key
Correct the call with a lambda.
2014-03-07 12:37:38 -08:00
Jérôme Rapinat
9a58b3f4a6 update template and french translation 2014-03-07 15:05:32 +01:00
John Ralls
e76d3f91bf Bug 7026: misleading diagnostics when locale resources aren't built
This problem is from setup.py test, so ensure that there's a 'build'
directory before running test.
2014-03-06 15:41:09 -08:00
John Ralls
4dd543c323 Move the icu missing warning to after setting up the log handler. 2014-03-06 11:23:49 -08:00
Nick Hall
447113bf9f Add source fields to citation editor 2014-03-05 16:31:32 +00:00
Nick Hall
cdff0daff1 Fix parent place selection for new places 2014-03-05 14:02:26 +00:00
Nick Hall
ad4737edd5 Automatically populate the place title field 2014-03-05 14:02:26 +00:00
Nick Hall
d268a966bd Implement alternative place names 2014-03-05 14:02:26 +00:00
Nick Hall
c269ba5df4 Hide alternate locations list when empty 2014-03-05 14:02:26 +00:00
Zdeněk Hataš
50c3e0f214 czech translation update 2014-03-04 20:33:06 +01:00
John Ralls
f9172c3ad1 Bug 7377 - Ver 4.0.2 starts in East Asian Language
Because there is no en.po for Gramps, so the C gettext called from
GtkBuilder skips to the next translation in the list. Fix makes sure
that there is no next translation.
2014-03-04 10:00:37 -08:00
kulath
b5097ed5ac 6194: Database corrupted - TypeError: unhashable type: 'list'
Fixed upgrade to deal with sourceref in media references in Sources.
Also fixed Check and Repair to repair previously broken databases.
2014-03-04 17:39:23 +00:00
Nick Hall
107e614f3d Simplify citation editor and add source selection 2014-03-03 12:19:34 +00:00
Paul Franklin
19fc47b38d partly revert 7470: Upgrade to db version 17 fails in Python3 due to use of iteritems 2014-03-01 16:44:28 -08:00
Nick Hall
c0ffe802bd 7342: Update column order in editor event tabs 2014-02-28 17:37:25 +00:00
Nick Hall
9645892b5e 7342: Split details column in events gramplet 2014-02-28 17:23:31 +00:00
Nick Hall
35ed90b138 7342: Update default columns in event view
Add main participant.
Change order to be consistent with selector.
2014-02-28 17:21:42 +00:00
Nick Hall
abe4f24393 7342: Better column order in event selector 2014-02-28 17:18:19 +00:00
Nick Hall
3d7901fec4 Add author column to source selector 2014-02-28 12:23:50 +00:00
John Ralls
97da928c4d Remove no longer needed icu repo 2014-02-26 22:04:21 -08:00
Paul Franklin
4ba1f79b55 7276: translate some punctuation marks -- partial 2014-02-26 10:24:04 -08:00
John Ralls
666ae99f23 Move icu module to gtk-osx-unsupported.modules 2014-02-25 15:18:37 -08:00
Marc Hulsman
cc0fe33c72 Add integrity check for parent places 2014-02-25 22:41:49 +00:00
Nick Hall
c364bcd7ad 7482: Fix python3 problems with new place structure
Based on patches by Marc Hulsman.
2014-02-25 22:31:03 +00:00
Vassilii Khachaturov
8dd6d92184 7097: EditNote hangs initially on misspelled note
Disable undo during the initial note text population,
so as to avoid bombardment with gtkspell-... tags for the
misspelled text.
2014-02-25 15:43:09 +02:00
John Ralls
84d5b6156f Bug 6784 GraphView fails to load.
Also 7168, 7169, and 7428.
Graphview won't load if libgoocanvas isn't in the bundle. D'oh.
2014-02-24 13:12:46 -08:00
TonyG
314b2c1878 7498: List in Unused Objects dialog has limited space 2014-02-24 10:32:50 +01:00
John Ralls
816bf310e1 Bug 7377 Ver 4.0.2 starts in East Asian Language
Revert "GrampsLocale: Don't set  to 'C' if LANG is en_US"

This reverts commit bdd336f38e.

It turns out that Gtk's having an 'en' translation isn't the only reason
for doing this: GtkBuilder uses $LANGUAGE too, and will look for an english
translation of strings in our Glade files. Since there's no en.po or
en_US.po, it will go to the next language in the list and produce confusing
results.
2014-02-20 14:01:19 -08:00
John Ralls
84cabddcc9 Better fix for bug 7122. 2014-02-20 14:01:19 -08:00