Commit Graph

21120 Commits

Author SHA1 Message Date
Benny Malengier
cd6a2b70c4 6470: Crash by filtering with filter bar in person tree view
svn: r21759
2013-03-27 13:47:04 +00:00
Tim G L Lyons
f431346394 0006564: svn 21740 restores bug 0006411 - Navweb crashes during creation of Media pages
svn: r21755
2013-03-26 19:29:13 +00:00
John Ralls
f432853dc4 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: r21753
2013-03-26 19:16:49 +00:00
Paul Franklin
e142003601 restore SVN number to "gramps -v" output
svn: r21751
2013-03-26 19:01:54 +00:00
Paul Franklin
c8a6b91113 slightly better CLI help
svn: r21750
2013-03-26 17:50:43 +00:00
Benny Malengier
bd87b3f310 6501: Cannot crop via mouse cursor into Media reference editor
svn: r21742
2013-03-25 20:04:24 +00:00
Benny Malengier
dc054763c3 6528: Place Names with & in name fail to display
svn: r21741
2013-03-25 14:31:18 +00:00
Nick Hall
b4b9300f6d Fix literals. Use logging for warnings.
svn: r21739
2013-03-25 13:35:08 +00:00
Jérôme Rapinat
e64adc8ddd try to build .deb for 4.0; http://gramps-project.org/wiki/index.php?title=Debian, update control file
svn: r21737
2013-03-25 11:27:35 +00:00
Paul Franklin
bd1020314e totally revert the whole 21728/21729 open=>io.open changes
svn: r21734
2013-03-24 22:27:11 +00:00
Paul Franklin
c34610e60d revert 21728/21729 open=>io.open change, for Windows
svn: r21733
2013-03-24 17:46:16 +00:00
Paul Franklin
b5d75c54d4 modify (semi-revert) 21728/21729 open=>io.open change, for Windows
svn: r21730
2013-03-24 15:48:36 +00:00
Paul Franklin
4db73f0422 more open=>io.open changes, as John advised
svn: r21729
2013-03-24 00:11:05 +00:00
Nick Hall
5adc2102a2 Add Tag class to CallbackManager
svn: r21727
2013-03-23 22:26:35 +00:00
Jérôme Rapinat
c4d6d17d69 6544: add warning if place on event is missing by using proxies sequence
svn: r21724
2013-03-23 17:14:24 +00:00
Paul Franklin
8ed298daa0 another open=>io.open change, as John advised
svn: r21720
2013-03-23 15:25:53 +00:00
Paul Franklin
0c46e5d91a slight tweaks to booklist format
svn: r21719
2013-03-21 20:46:46 +00:00
Peter Landgren
64b44a16db Some updates.
svn: r21716
2013-03-21 09:35:08 +00:00
Paul Franklin
2c41488ea3 CLI typos and slight code cleanup
svn: r21712
2013-03-20 16:16:04 +00:00
Jérôme Rapinat
9be852fe2c 4687: missing content migration...
svn: r21711
2013-03-20 14:06:59 +00:00
Jérôme Rapinat
f97c241af6 4687: global name 'warn' is not defined
svn: r21706
2013-03-20 13:55:18 +00:00
Jérôme Rapinat
156ae935af merge after 3.4.3 release
svn: r21704
2013-03-20 13:47:55 +00:00
Nick Hall
e3193c7511 Fix bug in citations bottombar gramplet
svn: r21703
2013-03-19 23:15:35 +00:00
John Ralls
b51b6b59a6 TreeBaseModel: Avoid TypeError when bisecting
svn: r21696
2013-03-19 18:22:35 +00:00
John Ralls
548507008b 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: r21695
2013-03-19 18:22:19 +00:00
John Ralls
796b2da855 GrampsLocale: Use glocale.lang or glocale.language[0]
To get the default localization instead of locale.getlocale() or 
glocale.get_translation().language().

svn: r21694
2013-03-19 18:21:58 +00:00
John Ralls
ec787da3fa GrampsLocale: Prevent some AttributeErrors and 'referenced before assignment' errors.
svn: r21693
2013-03-19 18:21:41 +00:00
Paul Franklin
9e8f6aaab6 6542: book report: graphic ancestor or descendant tree reports fail
svn: r21679
2013-03-18 18:54:59 +00:00
Tim G L Lyons
d3a389750f README file. Add PyICU as strongly recommended.
svn: r21675
2013-03-17 14:46:46 +00:00
Nick Hall
71c2655976 Revert change to const.py
svn: r21673
2013-03-17 12:29:17 +00:00
Tim G L Lyons
d643dde344 Standardise messages about missing modules to include problem, consequence and what to do about it (currently including references to GEPS 029 where necessary).
svn: r21671
2013-03-17 11:40:33 +00:00
Paul Franklin
8882527e56 ignore any CLI book report "item" which crashes
svn: r21669
2013-03-16 22:50:41 +00:00
Nick Hall
084b816d5b Add methods used for modal ProgressMeter to CLIDialog
svn: r21666
2013-03-16 21:47:37 +00:00
Nick Hall
c3a58693e3 Add modal option to ProgressMeter
svn: r21663
2013-03-16 19:48:29 +00:00
Jérôme Rapinat
aa609f7587 6195: Import citation for pro-gen file format (patch by keestux)
svn: r21659
2013-03-16 10:26:21 +00:00
Nick Hall
12396e858b 6336: Convert to use DbGUIElement
svn: r21656
2013-03-15 21:02:52 +00:00
Nick Hall
68158b3859 6526: Check for invalid handle
svn: r21653
2013-03-15 16:17:58 +00:00
John Ralls
29292a404a GrampsLocale: Code cleanup
And make sure that setting lang on the GrampsLocale constructor
overrides the languages from the first instance.

svn: r21646
2013-03-14 23:01:09 +00:00
John Ralls
76ef85b43f 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: r21645
2013-03-14 23:01:03 +00:00
John Ralls
66ded552dd 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: r21644
2013-03-14 23:00:57 +00:00
John Ralls
80ac126dfa GrampsLocale: Fix 2 mistakes from previous commit.
svn: r21641
2013-03-13 00:26:22 +00:00
John Ralls
c25d94b3a7 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: r21640
2013-03-13 00:05:46 +00:00
John Ralls
f270f08be8 GrampsLocale: Better handle invalid/missing locale
svn: r21636
2013-03-12 22:22:58 +00:00
John Ralls
9e844f0d64 MacLocale: Extract function _mac_get_gramps_defaults
And correct line handling on the languages list.

svn: r21635
2013-03-12 22:22:53 +00:00
Nick Hall
7a70853eb5 Fix VERSION_DIR path
svn: r21634
2013-03-12 17:01:21 +00:00
Nick Hall
2299b7fe5d Remove post-install script for linux
svn: r21630
2013-03-12 14:53:14 +00:00
Nick Hall
33e45f9b40 Remove redundant code
svn: r21628
2013-03-12 14:40:27 +00:00
Nick Hall
a6c09ef304 Fix some properties
svn: r21626
2013-03-12 14:24:22 +00:00
John Ralls
33d9b19ac7 GrampsLocale: Ensure that encoding gets set to something
In the C locale, locale.getlocale() returns [None, None]

svn: r21616
2013-03-11 22:44:29 +00:00
John Ralls
29cf6674b5 Install image files to $(prefix)/share/gramps/images
Instead of $(prefix)/share/gramps/icons/hicolor, which was an old (early Gtk2) theming requirement.

svn: r21615
2013-03-11 22:44:23 +00:00