John Ralls
f2f148b7ba
[r21753]GrampsLocale: Separate self.encoding from sys.stdout.encoding
...
Because python standard library functions encode to
locale.getpreferredencoding or sys.getdefaultencoding, not to
sys.stdout.encoding.
svn: r21756
2013-03-26 19:29:27 +00:00
Tim G L Lyons
67b6abb3df
0006564: svn 21740 restores bug 0006411 - Navweb crashes during creation of Media pages
...
svn: r21754
2013-03-26 19:28:53 +00:00
Paul Franklin
1f94813e59
restore SVN number to "gramps -v" output
...
svn: r21752
2013-03-26 19:02:37 +00:00
Paul Franklin
7d90a49fba
slightly better CLI help
...
svn: r21749
2013-03-26 17:50:18 +00:00
Jérôme Rapinat
c73cb0e70a
only need next generation of python-gobject (<= 3.0.0) for building
...
svn: r21748
2013-03-26 16:10:05 +00:00
Jérôme Rapinat
49cf845b53
add a preinst script for .deb
...
svn: r21747
2013-03-26 15:52:33 +00:00
Jérôme Rapinat
f3859a2fb9
start to migrate DEBIAN rules to distutils
...
svn: r21746
2013-03-26 15:41:39 +00:00
Jérôme Rapinat
40076dd093
no official release yet, what about gen.svn_revision?
...
svn: r21745
2013-03-26 14:37:17 +00:00
Erik De Richter
8a290a14a4
updated nl translation
...
svn: r21744
2013-03-26 09:55:18 +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
Jérôme Rapinat
5a9686bad7
try to build .deb for 4.0; http://gramps-project.org/wiki/index.php?title=Debian , update control file
...
svn: r21736
2013-03-25 11:24:23 +00:00
Paul Franklin
4064b9917f
totally revert the whole 21728/21729 open=>io.open changes
...
svn: r21735
2013-03-24 22:27:27 +00:00
Paul Franklin
0c791b2d14
revert 21728/21729 open=>io.open change, for Windows
...
svn: r21732
2013-03-24 17:45:40 +00:00
Paul Franklin
42d8a95512
modify (semi-revert) 21728/21729 open=>io.open change, for Windows
...
svn: r21731
2013-03-24 15:48:58 +00:00
Paul Franklin
d5e63a30d5
more open=>io.open changes, as John advised
...
svn: r21728
2013-03-24 00:10:34 +00:00
Nick Hall
70f4ed3b32
Add Tag class to CallbackManager
...
svn: r21726
2013-03-23 22:26:25 +00:00
Jérôme Rapinat
8bbc216d17
6544: add warning if place on event is missing by using proxies sequence
...
svn: r21723
2013-03-23 17:12:45 +00:00
Paul Franklin
d135d2f55b
another open=>io.open change, as John advised
...
svn: r21721
2013-03-23 15:26:16 +00:00
Paul Franklin
8835e3f133
slight tweaks to booklist format
...
svn: r21718
2013-03-21 20:45:59 +00:00
Peter Landgren
93e95ad7da
Some updates.
...
svn: r21717
2013-03-21 09:36:32 +00:00
Erik De Richter
a0016381c4
updated nl translation
...
svn: r21714
2013-03-20 20:05:24 +00:00
Paul Franklin
6e8435baab
CLI typos and slight code cleanup
...
svn: r21713
2013-03-20 16:16:21 +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
Jérôme Rapinat
3eed3217f4
merge after 3.4.3 release
...
svn: r21705
2013-03-20 13:49:31 +00:00
Nick Hall
a4314abb61
Fix bug in citations bottombar gramplet
...
svn: r21702
2013-03-19 23:15:11 +00:00
John Ralls
393323a670
[r21696]TreeBaseModel: Avoid TypeError when bisecting
...
svn: r21700
2013-03-19 18:34:44 +00:00
John Ralls
764f17b935
[r21695]GrampsLocale: Ensure correct stdout encoding
...
Replace stdout with one that uses a transcoding Streamwriter. This
better handles differences between Py2 and Py3 than does trying to
encode strings prior to output. In particular Py3's default stdout
demands unencoded strings and prints byte-strings when one tries to
pre-encode them.
svn: r21699
2013-03-19 18:34:34 +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
John Ralls
38cc711bde
[r21693]GrampsLocale: Prevent some AttributeErrors
...
and 'referenced before assignment' errors.
svn: r21697
2013-03-19 18:33:31 +00:00
Paul Franklin
bdcc43b911
6542: book report: graphic ancestor or descendant tree reports fail
...
svn: r21678
2013-03-18 18:54:01 +00:00
Tim G L Lyons
b8f2f13e33
README file. Add PyICU as strongly recommended.
...
svn: r21676
2013-03-17 14:47:38 +00:00
Nick Hall
738c95dedc
Revert change to const.py
...
svn: r21672
2013-03-17 12:29:04 +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
Paul Franklin
a713d5c388
ignore any CLI book report "item" which crashes
...
svn: r21668
2013-03-16 22:50:21 +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
Jérôme Rapinat
56136e1083
6195: Import citation for pro-gen file format (patch by keestux)
...
svn: r21658
2013-03-16 10:23:42 +00:00
Nick Hall
063efad45f
6336: Convert to use DbGUIElement
...
svn: r21655
2013-03-15 21:02:44 +00:00
Nick Hall
b885391182
6526: Check for invalid handle
...
svn: r21652
2013-03-15 16:17:11 +00:00
John Ralls
0e195c04c8
[r21646]GrampsLocale: Code cleanup
...
And make sure that setting lang on the GrampsLocale constructor
overrides the languages from the first instance.
svn: r21650
2013-03-14 23:08:06 +00:00
John Ralls
6e525893bd
[r21645]Plugins: Limit addon translators
...
Only get an addon translator if the plugin has a locale directory
Prevents pointless warnings, esp. when the translations are in the
main Gramps message file.
svn: r21649
2013-03-14 23:07:59 +00:00
John Ralls
e4202098b7
[r21644]GrampsLocale: Suppress double printing of log messages
...
Grampsapp.py sets a global handler, so install one only during the first
init and remove it when done.
svn: r21648
2013-03-14 23:07:47 +00:00
John Ralls
2629bf3dee
[r21640]GrampsLocale: Reduce circular imports
...
Lets one import grampslocale directly in a test script:
>>> from gramps.gen.utils.grampslocale import GrampsLocale
>>> import os
>>> gl = GrampsLocale(lang='fr_FR.UTF-8', localedir=os.path.join('build', 'mo'))
>>> tr = gl.get_translation().gettext
>>> tr("List of known family trees in your database path\n")
u'Liste des arbres familiaux connus dans votre chemin de base de donn\xe9es\n'
svn: r21647
2013-03-14 23:07:40 +00:00
John Ralls
0fda971b4c
[r21636]GrampsLocale: Better handle invalid/missing locale
...
svn: r21639
2013-03-12 22:33:28 +00:00
John Ralls
651b3776f0
[r21635]MacLocale: Extract function _mac_get_gramps_defaults
...
And correct line handling on the languages list.
svn: r21638
2013-03-12 22:33:22 +00:00
John Ralls
cfea1e98dc
GrampsLocale: Correct some differences with trunk
...
Thanks to Paul Franklin for pointing these out.
svn: r21637
2013-03-12 22:33:16 +00:00
Nick Hall
901ec7dc5c
Fix VERSION_DIR path
...
svn: r21633
2013-03-12 17:01:13 +00:00