Commit Graph

20798 Commits

Author SHA1 Message Date
c91b53f0c4 0005088: Narrated Web Site Report sort order different Windows vs Linux. Initial commit to resolve the issues on Linux and Mac (provided in both cases PyICU is installed). Windows still needs to be tested, and there may still be some other uses of strxfrm (or strcoll) that need to be fixed.
svn: r21175
2013-01-20 15:11:06 +00:00
dc9c445878 Add goocanvas-2.0 to gramps dependencies
Also remove gramps-40 target, it doesn't belong in trunk now that it has 
its own branch.



svn: r21173
2013-01-19 21:47:44 +00:00
9e09c4233f GrampsLocale: Fix another typo
svn: r21171
2013-01-19 00:56:18 +00:00
b0e9f158d5 GrampsLocale: Convert some late-added translations to GRAMPS_LOCALE
svn: r21170
2013-01-18 22:23:11 +00:00
d5d0523303 GrampsLocale: Fix the typo in my typo fix.
svn: r21169
2013-01-18 22:04:46 +00:00
1a43859587 GrampsLocale: get_relationship_calculator: Fix missed variable name change.
svn: r21168
2013-01-18 21:27:48 +00:00
d189448f39 Use public interface of Gtk.TreeModel in listview code
svn: r21165
2013-01-18 18:46:09 +00:00
ddff6f95d9 6353: Fix error when setting colours
svn: r21163
2013-01-18 18:24:13 +00:00
e4c0e079e7 Remove handle and tooltip columns from models
svn: r21158
2013-01-17 21:58:53 +00:00
5e914292fe Fix GeoGraphyView.__init__ arg list for simplified bookmarks
svn: r21157
2013-01-17 19:49:04 +00:00
85a082bb6d Descendant Report: Fix changed Sort function name
svn: r21156
2013-01-17 19:48:58 +00:00
d9409a8998 Use IMAGE_DIR in geography.py so that map images can be found when running from source directory.
svn: r21155
2013-01-17 19:48:51 +00:00
3f7d8933c7 Import get_svn_revision into const.py (via const.py.in, of course)
svn: r21154
2013-01-17 19:48:44 +00:00
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
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
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
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
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
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
cc4ec85b4d [Bug 6364] Fix file-opening failures due to unicode content.
svn: r21147
2013-01-17 19:47:44 +00:00
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
ef7e047b4b [Bug 6222]: Get the addons language list from the primary
GrampsLocale instance.

svn: r21145
2013-01-17 19:47:21 +00:00
ef6892abbd GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
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
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
7bb5c75d6a 6333: Display optional close button in gramplet bar tabs
svn: r21140
2013-01-16 23:59:48 +00:00
a323f92482 Tidy up bookmark code
svn: r21139
2013-01-15 22:30:18 +00:00
ae65778d27 6331: Fix spelling mistakes
svn: r21137
2013-01-15 21:04:57 +00:00
b3ceb3e828 6338: NotImplementedError on Export a View to a spreadsheet from the People Category
svn: r21136
2013-01-15 19:49:07 +00:00
aa021c36c8 Allow icons as column headings in listviews
svn: r21134
2013-01-15 18:46:18 +00:00
0b2ccdee6d Add family filter to match twins
svn: r21132
2013-01-15 18:27:43 +00:00
7672f64221 6330: Can't download ans install addons
svn: r21131
2013-01-15 10:59:13 +00:00
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
48f3002e95 factor out double handle2internal
svn: r21127
2013-01-15 08:49:22 +00:00
6f42885a79 updated nl translation
svn: r21125
2013-01-15 08:46:14 +00:00
926dbca98f 6329: Crazy citations after XML import of bacuo from Gramps 3.4.3
svn: r21123
2013-01-15 08:42:50 +00:00
6783e60a7a updated nl translation
svn: r21122
2013-01-15 08:40:26 +00:00
22f646ccce Don't convert handle if None
svn: r21121
2013-01-14 22:05:29 +00:00
00bd4b81f8 6326: Running Export View crashes with 'tuple' object has no attribute 'get_indices'
svn: r21120
2013-01-14 18:57:47 +00:00
ae517eb9c7 Changes for 1.6 svn
svn: r21117
2013-01-14 18:38:44 +00:00
7af413bbc4 more absolute addressing, not relative
svn: r21115
2013-01-14 18:25:54 +00:00
b20e711c30 1765: Add private column to views
svn: r21114
2013-01-14 16:49:52 +00:00
4cbdd52389 Rename Gramplet View to Dashboard View
svn: r21112
2013-01-14 11:49:51 +00:00
87e7945b65 Fix typo in GI_TYPELIB_PATH
svn: r21110
2013-01-13 21:06:41 +00:00
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
a769890c26 Include gi typelibs in bundle
Also point to pango modules file.


svn: r21106
2013-01-13 20:32:11 +00:00
094726c14f indent typo
svn: r21103
2013-01-13 17:19:29 +00:00
347d371b77 Improvement to dropdown navigation plugin
svn: r21102
2013-01-13 17:09:53 +00:00
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
7fc4d4ec3f 6288: crash: no attribute 'require_version'
svn: r21100
2013-01-13 16:51:04 +00:00