Commit Graph

21283 Commits

Author SHA1 Message Date
Tim G L Lyons
80f25e3806 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
svn: r21512
2013-03-01 13:13:58 +00:00
Tim G L Lyons
40b8b02838 Narrative Web: Fix alphabetic navigation bar and sorting in index pages using PyICU where available. Implements most collate contractions for western languages Gramps has been translated into. This fixes the following bugs:
0002933: Problems in Narrative Web Report with surnames beginning with V or W. Use collation primary difference to define index groupings. Special case for 'V' and 'W' in Swedish removed because the default CLDR has a primary difference between them.

0003434: NarrativeWeb new alphabet index sorted incorrectly. Fix Cyrillic sort order, and contractions for Slovak and Czech (among other languages).

0003933: References inside pages in NarWeb report and non-ascii characters. Sorting issues for Polish characters.

0004423: Web report does not handle Czech "CH" character properly. Dz contraction is not present in the CLDR. Slovak is similar.

0005088: Narrated Web Site Report sort order different Windows vs Linux. Resolved by using PyICU (if available).

0005645: can't sort greek names

0005767: Sorting in Narrative Webb does not work correctly. Fix sorting in Individuals, Surnames, Families, Events and Places to use PyICU (if available). This bug covers sorting in the index header (as well as in the body of the index pages).

svn: r21509
2013-03-01 12:42:16 +00:00
Serge Noiraud
58a2be3264 Bug #06459 : change the lock strategy and split transactions in Merge citation.
svn: r21503
2013-02-28 19:52:24 +00:00
John Ralls
b73e758a84 RelationshipCalculator: Promote no translation message to warning
And make it more specific.
Thanks to Tim Lyons.

svn: r21501
2013-02-28 19:36:09 +00:00
John Ralls
b87c663612 grampletpane: Fix typo, naked except.
Warn with the reason when Dashboard file can't be opened or parsed.

svn: r21492
2013-02-28 19:10:33 +00:00
John Ralls
ee7fdca6ef MacLocale: Handle AppleCollationOrder returning "root"
svn: r21491
2013-02-28 18:57:37 +00:00
John Ralls
1e41e76682 MacLocale: Allow $LANG to override defaults settings
For currency, calendar, and collation

svn: r21490
2013-02-28 18:57:31 +00:00
John Ralls
991447264a GrampsLocale: Handle errors in getting collation key from locale module
svn: r21489
2013-02-28 18:57:25 +00:00
John Ralls
38dcbbae58 GrampsLocale: Restore call to locale.bindtextdomain() for GtkBuilder
Apparently some Linuxes require it for GtkBuilder to find the localization files. It's not supported on Win32, though, so don't try in that case.

svn: r21488
2013-02-28 18:57:19 +00:00
John Ralls
ca80adeb01 GrampsLocale: Set collation, currency, and calendar to lang only on secondary locale objects.
svn: r21487
2013-02-28 18:57:13 +00:00
John Ralls
c0aa613e4a GrampsLocale: Use absolute address for importing grampslocale
so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py

svn: r21486
2013-02-28 18:57:04 +00:00
John Ralls
4eb3e7c926 GrampsLocale: Fix get_addon_translator path
Add the locale subdirectory.
Also clean out some cruft left over from the old implementation.

svn: r21485
2013-02-28 18:56:59 +00:00
Nick Hall
512c57cb04 6408: Restore warning message for missing GExiv2 module
svn: r21483
2013-02-28 15:04:53 +00:00
Jérôme Rapinat
b2319f90d4 update Portuguese (Europe) translation by Frederico Muñoz
svn: r21482
2013-02-28 10:31:51 +00:00
Jérôme Rapinat
2024c027c6 "Delete" label instead of "Remove" on Gtk button
svn: r21479
2013-02-28 10:05:30 +00:00
Jérôme Rapinat
b78c9b358e 6385: Three minor grammar issues
svn: r21478
2013-02-28 10:03:04 +00:00
Helge Herz
bf438cddd6 Python less 3.x uses GdkPixbuf.new_subpixbuf instead dkPixbuf.subpixbuf issue 6487
svn: r21477
2013-02-27 22:24:14 +00:00
Paul Franklin
0599914223 rename .__next__ (formerly .next) as it is "NOT an iterator"
svn: r21474
2013-02-27 18:49:56 +00:00
Paul Franklin
4e04ec09fb behave gracefully if no GExiv2 under Python3
svn: r21468
2013-02-26 20:36:52 +00:00
Tim G L Lyons
d3077942e1 Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21464
2013-02-26 17:35:24 +00:00
Tim G L Lyons
41ba5c838e Fix type error in "python3 Gramps.py -L"
svn: r21461
2013-02-26 17:27:33 +00:00
Paul Franklin
5e8623cf1b 6409 and 6447 Python3 changes (possibly not done yet)
svn: r21459
2013-02-26 17:18:00 +00:00
Tim G L Lyons
ed8b6b9edf 0006410: Webcal report crashes and freezes alpha4. For python3 simply opening the file works.
svn: r21458
2013-02-26 17:14:54 +00:00
John Ralls
138bbb047b GrampsLocale: Remove all calls to locale.setlocale and locale.bindtextdomain
svn: r21451
2013-02-26 00:16:41 +00:00
John Ralls
ff7cef7d4e Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21450
2013-02-26 00:16:30 +00:00
John Ralls
cdf619cf62 grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21449
2013-02-26 00:16:19 +00:00
John Ralls
624314e8bc grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21448
2013-02-26 00:16:07 +00:00
John Ralls
07b52e2a11 ConfigManager: Ensure key files are loaded and saved as utf-8
svn: r21447
2013-02-26 00:15:55 +00:00
Paul Franklin
3178850a29 Python3 changes: __next__ and future division (which is not done yet)
svn: r21446
2013-02-25 18:52:45 +00:00
Paul Franklin
388ec0cbf1 slightly reformat error message
svn: r21443
2013-02-25 16:12:19 +00:00
Jérôme Rapinat
1773d661e7 6283: test flag for python on new script, not on Gramps.py... (thank you Paul)
svn: r21438
2013-02-25 07:24:40 +00:00
John Ralls
6f8fc1be58 Work around lack of locale.LC_MESSAGES on some Windows pythons
svn: r21436
2013-02-24 17:38:43 +00:00
John Ralls
af0f98d3b7 Fix missed cuni() in save.
svn: r21435
2013-02-24 16:46:16 +00:00
Jérôme Rapinat
14a38b91bc 6283: Re-enable optimization flag (-O) for python
svn: r21433
2013-02-24 16:16:42 +00:00
Nick Hall
dc671cf212 6408: python3 fix
svn: r21430
2013-02-24 13:52:56 +00:00
Paul Franklin
0b30e204bf revert to the old report name
svn: r21429
2013-02-24 08:40:08 +00:00
John Ralls
4decf95b07 [r21424]Fix Py2 file encoding errors
svn: r21425
2013-02-24 02:20:09 +00:00
Nick Hall
ddf9dc9f14 6408: Display GExiv2 version rather than pyexiv2 version
svn: r21388
2013-02-23 23:36:12 +00:00
Nick Hall
7c0e4e4eb4 6408: Convert Metadata Viewer from pyexiv2 to GExiv2. Move Edit Exif Metadata gramplet into gramps-addons.
svn: r21386
2013-02-23 21:04:48 +00:00
Helge Herz
808c3d1183 see issue 0006464
svn: r21385
2013-02-23 12:45:55 +00:00
Paul Franklin
71edc3e710 6478: allow setting a background color in the SVG backend
svn: r21383
2013-02-23 04:59:31 +00:00
Craig J. Anderson
c5ae536432 someone changed a lot of the
box.next
to 
box.__next__

changed these back.


svn: r21382
2013-02-22 15:56:42 +00:00
Brian Matherly
daf8669dc3 Remove dead basedocclass code
svn: r21381
2013-02-21 04:27:51 +00:00
John Ralls
3578392de5 ImportGedcom: Fix Python3 "dictionary changed size during iteration" errors
svn: r21377
2013-02-19 22:06:32 +00:00
John Ralls
e62eb831f0 Import ProGen: Use python3 print syntax
svn: r21376
2013-02-19 22:06:20 +00:00
John Ralls
c2a6e0e5d7 Fix Py2 TypeError in GEDCOM export
Due to writing regular strings instead of unicode strings.

svn: r21375
2013-02-19 22:06:11 +00:00
Paul Franklin
31745aaf8f basedocclass==>docclass to match the 20695 changes
svn: r21374
2013-02-19 19:19:22 +00:00
Serge Noiraud
5e6fe3a996 Geography : print suppression
svn: r21372
2013-02-18 19:57:28 +00:00
Serge Noiraud
670592122a Geography : bug #06451 note 27413 : the ellipse become a line when it is too small
svn: r21370
2013-02-18 19:41:35 +00:00
Serge Noiraud
bf65ad1e7c Geography : bug #06466 : History change when clicking on one marker
bug #06451 : incomplete precedent patch


svn: r21368
2013-02-17 12:48:55 +00:00