John Ralls
3f7d8933c7
Import get_svn_revision into const.py (via const.py.in, of course)
...
svn: r21154
2013-01-17 19:48:44 +00:00
John Ralls
b79eb50aba
PdfDocGen: Report cause of failure on all exceptions
...
not just file open ones. Expat can raise exceptions too!
svn: r21153
2013-01-17 19:48:37 +00:00
John Ralls
42de599bd0
GrampsLocale: Fix file encoding error in recentfiles
...
Expat wants a binary file, not a string file.
svn: r21152
2013-01-17 19:48:32 +00:00
John Ralls
e920cbfac1
GrampsLocale: Get the language code from the global translation
...
Instead of probing locale.getlocale() and environment variables
svn: r21151
2013-01-17 19:48:24 +00:00
John Ralls
df46941e73
GrampsLocale: Use the codeset from the singleton translation
...
Instead of locale.getlocale() or locale.nl_langinfo
svn: r21150
2013-01-17 19:48:14 +00:00
John Ralls
807512cd05
Fix some file resource leaks
...
I.e., files left open when the opening function exits. This is
a PyDebug warning.
svn: r21149
2013-01-17 19:48:07 +00:00
John Ralls
09a875db11
GrampsLocale: Simplify the file-finding functions
...
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.
Also specify the encoding on some more files
svn: r21148
2013-01-17 19:47:59 +00:00
John Ralls
cc4ec85b4d
[Bug 6364] Fix file-opening failures due to unicode content.
...
svn: r21147
2013-01-17 19:47:44 +00:00
John Ralls
a58ef2b73f
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: r21146
2013-01-17 19:47:36 +00:00
John Ralls
ef7e047b4b
[Bug 6222]: Get the addons language list from the primary
...
GrampsLocale instance.
svn: r21145
2013-01-17 19:47:21 +00:00
John Ralls
ef6892abbd
GrampsLocale: Remove ggettext
...
svn: r21144
2013-01-17 19:46:55 +00:00
John Ralls
d3c2a8a490
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: r21143
2013-01-17 19:42:11 +00:00
John Ralls
eecf57a0f6
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: r21142
2013-01-17 19:41:58 +00:00
Nick Hall
7bb5c75d6a
6333: Display optional close button in gramplet bar tabs
...
svn: r21140
2013-01-16 23:59:48 +00:00
Nick Hall
a323f92482
Tidy up bookmark code
...
svn: r21139
2013-01-15 22:30:18 +00:00
Nick Hall
ae65778d27
6331: Fix spelling mistakes
...
svn: r21137
2013-01-15 21:04:57 +00:00
Benny Malengier
b3ceb3e828
6338: NotImplementedError on Export a View to a spreadsheet from the People Category
...
svn: r21136
2013-01-15 19:49:07 +00:00
Nick Hall
aa021c36c8
Allow icons as column headings in listviews
...
svn: r21134
2013-01-15 18:46:18 +00:00
Nick Hall
0b2ccdee6d
Add family filter to match twins
...
svn: r21132
2013-01-15 18:27:43 +00:00
Benny Malengier
7672f64221
6330: Can't download ans install addons
...
svn: r21131
2013-01-15 10:59:13 +00:00
Benny Malengier
01dbd41081
Filter was not working, we need to query global variable when we need it, not once at start
...
svn: r21129
2013-01-15 10:19:38 +00:00
Benny Malengier
48f3002e95
factor out double handle2internal
...
svn: r21127
2013-01-15 08:49:22 +00:00
Erik De Richter
6f42885a79
updated nl translation
...
svn: r21125
2013-01-15 08:46:14 +00:00
Benny Malengier
926dbca98f
6329: Crazy citations after XML import of bacuo from Gramps 3.4.3
...
svn: r21123
2013-01-15 08:42:50 +00:00
Erik De Richter
6783e60a7a
updated nl translation
...
svn: r21122
2013-01-15 08:40:26 +00:00
Doug Blank
22f646ccce
Don't convert handle if None
...
svn: r21121
2013-01-14 22:05:29 +00:00
Benny Malengier
00bd4b81f8
6326: Running Export View crashes with 'tuple' object has no attribute 'get_indices'
...
svn: r21120
2013-01-14 18:57:47 +00:00
Doug Blank
ae517eb9c7
Changes for 1.6 svn
...
svn: r21117
2013-01-14 18:38:44 +00:00
Paul Franklin
7af413bbc4
more absolute addressing, not relative
...
svn: r21115
2013-01-14 18:25:54 +00:00
Nick Hall
b20e711c30
1765: Add private column to views
...
svn: r21114
2013-01-14 16:49:52 +00:00
Doug Blank
4cbdd52389
Rename Gramplet View to Dashboard View
...
svn: r21112
2013-01-14 11:49:51 +00:00
John Ralls
87e7945b65
Fix typo in GI_TYPELIB_PATH
...
svn: r21110
2013-01-13 21:06:41 +00:00
John Ralls
892143ed4b
Build graphviz with pango, freetype support
...
Otherwise it can't output PDFs.
Also fix Gramps svn repo to new SF scheme.
svn: r21107
2013-01-13 20:35:51 +00:00
John Ralls
a769890c26
Include gi typelibs in bundle
...
Also point to pango modules file.
svn: r21106
2013-01-13 20:32:11 +00:00
Doug Blank
094726c14f
indent typo
...
svn: r21103
2013-01-13 17:19:29 +00:00
Nick Hall
347d371b77
Improvement to dropdown navigation plugin
...
svn: r21102
2013-01-13 17:09:53 +00:00
Doug Blank
8369658800
http://www.gramps-project.org/bugs/view.php?id=2623#c26969 make handle safe
...
svn: r21101
2013-01-13 17:07:44 +00:00
Benny Malengier
7fc4d4ec3f
6288: crash: no attribute 'require_version'
...
svn: r21100
2013-01-13 16:51:04 +00:00
Doug Blank
192e7eccf6
Set of changes to allow merge/patch functionality: feature on db to not add sources or tags on import; all gen.lib objects' to_struct marks Handles rather than strings; Differences report (gramps-add) now shows all relevant changes
...
svn: r21098
2013-01-13 16:38:54 +00:00
Doug Blank
f0d8d4bc8d
Bring data.gramps up to date with version 1.5.0 of XML; fix missing citations
...
svn: r21097
2013-01-13 16:27:08 +00:00
Doug Blank
9a1f3abd59
Moving to xml rather than gz for comparison purposes
...
svn: r21096
2013-01-13 16:25:09 +00:00
Paul Franklin
47b1b251bc
6229: bug when creating a book reports
...
svn: r21090
2013-01-13 01:07:19 +00:00
Nick Hall
73b26752b0
Add two experimental navigation plugins
...
svn: r21088
2013-01-12 23:35:45 +00:00
Benny Malengier
f14c20f20b
6315: Inserting action group 'Bookmarks' into UI manager which already has a group with this name
...
svn: r21087
2013-01-12 22:20:41 +00:00
Benny Malengier
ff2774985f
6318: Mention in the README that RCS is an optional package
...
svn: r21085
2013-01-12 15:00:52 +00:00
Benny Malengier
ecd18dfbce
6321: installed rcs and tried to make an archive
...
svn: r21083
2013-01-12 14:48:49 +00:00
Nick Hall
6c313b0a58
6306: Remove focus from the help button in detached gramplet windows
...
svn: r21080
2013-01-12 00:03:16 +00:00
Benny Malengier
c72a3f2492
6310: Warning dialog "No Home Person" should be helpful and more descriptive
...
svn: r21079
2013-01-11 22:52:27 +00:00
Benny Malengier
bb491fa5ef
6291: No Text report, with output format ODF, is created
...
svn: r21077
2013-01-11 22:32:41 +00:00
Nick Hall
0cffe803a5
6312: Fix Dashboard category icon
...
svn: r21074
2013-01-11 22:10:27 +00:00