210 Commits

Author SHA1 Message Date
Nick Hall
516cc588c6 6599: Add regular expression option to rules using the match_substring method
svn: r21934
2013-04-09 13:51:38 +00:00
Peter Landgren
72014d89e3 Converted to Family Tree.
svn: r21922
2013-04-08 13:41:44 +00:00
Tim G L Lyons
019ad16239 0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
svn: r21851
2013-04-02 16:05:36 +00:00
Benny Malengier
cfd162ec85 6346: If a exporter plugin crashes, the Export Assistant can't be closed
svn: r21806
2013-03-29 13:18:53 +00:00
Benny Malengier
e0ccf7e330 6369: Accelerator keys, Gtk and User Interface
svn: r21793
2013-03-28 16:52:58 +00:00
Benny Malengier
8ef935804e 6340: In Family Tree Manager window, naming a tree which takes it out of view does not scroll to new name
svn: r21791
2013-03-28 16:23:33 +00:00
Benny Malengier
594f273260 6577: Mulltiple drop from clipboard on embeddedlist not working
svn: r21789
2013-03-28 16:02:18 +00:00
Benny Malengier
7ac463b03b 6569: transferring from the clipboard causes gramps40 svn 21740 to crash
svn: r21784
2013-03-28 13:54:05 +00:00
Benny Malengier
b4c225fc35 6496: GUI Export fails in gramps40
svn: r21774
2013-03-28 09:09:29 +00:00
Benny Malengier
2f0cf7d5b6 support python 3
svn: r21770
2013-03-27 19:56:54 +00:00
Benny Malengier
4c8d6a3215 6402: Error in ValidatedMaskedEntry widget
svn: r21767
2013-03-27 18:05:25 +00:00
Benny Malengier
a581dda843 6484: IndexError for sort_data/column on quick view table
svn: r21763
2013-03-27 14:22:39 +00:00
Benny Malengier
7da053e88e 6470: Crash by filtering with filter bar in person tree view
svn: r21760
2013-03-27 13:47:13 +00:00
Benny Malengier
cbb8d063df 6501: Cannot crop via mouse cursor into Media reference editor
svn: r21743
2013-03-25 20:04:33 +00:00
Benny Malengier
47be9a4e02 6528: Place Names with & in name fail to display
svn: r21740
2013-03-25 14:16:23 +00:00
Nick Hall
b84ad06523 Fix literals. Use logging for warnings.
svn: r21738
2013-03-25 13:34:44 +00:00
Paul Franklin
d135d2f55b another open=>io.open change, as John advised
svn: r21721
2013-03-23 15:26:16 +00:00
Jérôme Rapinat
d72ef5e5dc 4687: missing content migration...
svn: r21710
2013-03-20 14:05:37 +00:00
Jérôme Rapinat
01f6e3e79e 4687: global name 'warn' is not defined
svn: r21707
2013-03-20 13:57:31 +00:00
John Ralls
393323a670 [r21696]TreeBaseModel: Avoid TypeError when bisecting
svn: r21700
2013-03-19 18:34:44 +00:00
John Ralls
1f38fd43f5 [r21694]GrampsLocale: Use glocale.lang or glocale.language[0]
To get the default localization instead of locale.getlocale() or
glocale.get_translation().language().

svn: r21698
2013-03-19 18:34:11 +00:00
Tim G L Lyons
820816f409 Standardise messages about missing modules to include problem, consequence and what to do about it (currently including references to GEPS 029 where necessary).
svn: r21670
2013-03-17 11:40:08 +00:00
Nick Hall
8af82fae08 Add methods used for modal ProgressMeter to CLIDialog
svn: r21665
2013-03-16 21:47:29 +00:00
Nick Hall
da39d249de Add modal option to ProgressMeter
svn: r21662
2013-03-16 19:48:21 +00:00
Nick Hall
b885391182 6526: Check for invalid handle
svn: r21652
2013-03-15 16:17:11 +00:00
John Ralls
13a49a63ff [r21614]Move VERSION, VERSION_TUPLE, major_version
from const.py to version.py

As noted in the previous change, importing const into setup.py tried to
initialize GrampsLocale and ResourcePath, which won't work. Since all we
want is the VERSION string, move that to a new file, gramps/version.py

svn: r21619
2013-03-11 22:54:31 +00:00
Paul Franklin
af3e34fef5 sync a few files in gramps40 and trunk
svn: r21604
2013-03-10 21:52:07 +00:00
Nick Hall
c861968fd3 6128: Reverse bug fix keeping code refactor
svn: r21576
2013-03-07 22:54:58 +00:00
John Ralls
e8bad4d4c8 [r21492]grampletpane: Fix typo, naked except.
Warn with the reason when Dashboard file can't be opened or parsed.

svn: r21500
2013-02-28 19:23:15 +00:00
Jérôme Rapinat
c37bfc9dbe 6385: Three minor grammar issues
svn: r21471
2013-02-27 14:19:30 +00:00
John Ralls
7d7cc6f789 [r21450]Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21455
2013-02-26 00:23:44 +00:00
John Ralls
b99e2e29df [r21449]grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21454
2013-02-26 00:23:31 +00:00
John Ralls
44f065eabf [r21448]grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21453
2013-02-26 00:23:21 +00:00
Paul Franklin
6cd609941f slightly reformat error message
svn: r21444
2013-02-25 16:13:03 +00:00
John Ralls
bb2bcc4185 Fix missed cuni() in save.
svn: r21434
2013-02-24 16:42:58 +00:00
Paul Franklin
4621970783 revert to the old report name
svn: r21428
2013-02-24 08:39:51 +00:00
John Ralls
3d0fa7a00a Fix Py2 file encoding errors
svn: r21424
2013-02-24 01:49:24 +00:00
John Ralls
8222d4c04c [r21275]GrampsLocale: Replace locale functions
locale.strcoll, locale.strxfrm, and conv*_tosrtkey

With GrampsLocale.sort_key (for strxfrm and conv*_tosrtkey) and
GrampsLocale.strcoll.

If ICU is available will use the correct ICU::Collator for the locale,
otherwise falls back to locale.strxfrm -- for which it temporarily
changes the LC_COLLATE locale.

svn: r21416
2013-02-24 00:55:46 +00:00
John Ralls
98898ddb71 [r21151]GrampsLocale: Get the language code from the global translation
Instead of probing locale.getlocale() and environment variables

svn: r21399
2013-02-24 00:52:59 +00:00
John Ralls
8cea2e239a [r21146]GrampsLocale: Replace calls to sys.getfilesystemencoding
On MSWin and OSX, this call always returns the correct
value (utf-8 on OSX, 'mbcs' on MSWin), but on Linux the
return value is bizarrely dependent upon the environment.

Replace it with a GrampsLocale function which returns 'utf-8'
(the correct value for most Linux file systems) regardless of
the environment.

Also replace its use in print and write functions: It's the
encoding of paths in the filesystem, not of the files's content,
nor of the terminal's capabilities. The former is almost
always utf-8 as long as we write the file, the latter is
given by sys.stdout.encoding. Use the 'backslashreplace' error
handler to avoid exceptions when we need to output unicode
text to an ASCII terminal.

svn: r21394
2013-02-24 00:51:57 +00:00
John Ralls
221c30976f [r21145][Bug 6222]: Get the addons language list from the primary
GrampsLocale instance.

svn: r21393
2013-02-24 00:51:38 +00:00
John Ralls
e28e114c95 [r21144]GrampsLocale: Remove ggettext
svn: r21392
2013-02-24 00:51:17 +00:00
John Ralls
3788d52107 [r21143]Localization: Re-implement localization as a class, GrampsLocale
GrampsLocale is effectively a singleton: An instance is created in
const.py and retrieved everywhere.

Translations are provided via Translations classes, which are derived
from GNUTranslations and NullTranslations to provide extra functions
like sgettext.

svn: r21391
2013-02-24 00:46:03 +00:00
John Ralls
740c7036d7 [r21142]Rename trans.py and mactrans.py to grampslocale.py and
maclocale.py

Reflecting discussion on gramps-devel about their affecting more than
just translations.

Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.

svn: r21390
2013-02-24 00:45:50 +00:00
Nick Hall
76eae75da2 Make availability of GraphViz settings depend on output format
svn: r21366
2013-02-16 21:37:07 +00:00
Paul Franklin
808002d419 6247: Crash when attempting to use Book Report
svn: r21352
2013-02-13 18:47:44 +00:00
Tim G L Lyons
aa7e0b49e4 Reinstate inadvertent removal of rev 19988 change for bug 5900
svn: r21347
2013-02-13 11:08:52 +00:00
Josip Pisoj
db1bd1e114 win32_py3: open use system encoding
svn: r21338
2013-02-10 22:52:19 +00:00
Paul Franklin
866796f5dc 6379: Can not get ancestry or relationship tabs to work
svn: r21336
2013-02-10 21:11:37 +00:00
Helge Herz
5e4b2d3bdc Revert svn21254 as discussed in issue 6424
svn: r21328
2013-02-10 14:32:43 +00:00