Commit Graph

20698 Commits

Author SHA1 Message Date
Tim G L Lyons
99c54b5e2e 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
John Ralls
32b30ccc09 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
John Ralls
5f4665b3a8 GrampsLocale: Fix another typo
svn: r21171
2013-01-19 00:56:18 +00:00
John Ralls
64671663dd GrampsLocale: Convert some late-added translations to GRAMPS_LOCALE
svn: r21170
2013-01-18 22:23:11 +00:00
John Ralls
6c90a89612 GrampsLocale: Fix the typo in my typo fix.
svn: r21169
2013-01-18 22:04:46 +00:00
John Ralls
f8f250ad71 GrampsLocale: get_relationship_calculator: Fix missed variable name change.
svn: r21168
2013-01-18 21:27:48 +00:00
Nick Hall
774ceff34b Use public interface of Gtk.TreeModel in listview code
svn: r21165
2013-01-18 18:46:09 +00:00
Nick Hall
0cf2bc0032 6353: Fix error when setting colours
svn: r21163
2013-01-18 18:24:13 +00:00
Nick Hall
fe09b8342b Remove handle and tooltip columns from models
svn: r21158
2013-01-17 21:58:53 +00:00
John Ralls
f16db81075 Fix GeoGraphyView.__init__ arg list for simplified bookmarks
svn: r21157
2013-01-17 19:49:04 +00:00
John Ralls
3b9890d9c4 Descendant Report: Fix changed Sort function name
svn: r21156
2013-01-17 19:48:58 +00:00
John Ralls
296e2f4f86 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
John Ralls
c7f9b52003 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
90e07c8cfc 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
87c5b6632a 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
fba8cdddd1 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
9e8b2af5c1 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
fc609ef3d5 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
9a515bfde6 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
08d8d4c775 [Bug 6364] Fix file-opening failures due to unicode content.
svn: r21147
2013-01-17 19:47:44 +00:00
John Ralls
5781e8ac72 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
4b6afc33fe [Bug 6222]: Get the addons language list from the primary
GrampsLocale instance.

svn: r21145
2013-01-17 19:47:21 +00:00
John Ralls
c6e51d841d GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
John Ralls
69d2b09ed6 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
4dd31fc7aa 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
42610bdb97 6333: Display optional close button in gramplet bar tabs
svn: r21140
2013-01-16 23:59:48 +00:00
Nick Hall
b2ba4c3a6d Tidy up bookmark code
svn: r21139
2013-01-15 22:30:18 +00:00
Nick Hall
bd6b4ce012 6331: Fix spelling mistakes
svn: r21137
2013-01-15 21:04:57 +00:00
Benny Malengier
38b9ae0e6a 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
cb268dac1f Allow icons as column headings in listviews
svn: r21134
2013-01-15 18:46:18 +00:00
Nick Hall
b6136261aa Add family filter to match twins
svn: r21132
2013-01-15 18:27:43 +00:00
Benny Malengier
a2acb593ec 6330: Can't download ans install addons
svn: r21131
2013-01-15 10:59:13 +00:00
Benny Malengier
7860fa5221 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
6fa7b75550 factor out double handle2internal
svn: r21127
2013-01-15 08:49:22 +00:00
Erik De Richter
f17f4cc0ac updated nl translation
svn: r21125
2013-01-15 08:46:14 +00:00
Benny Malengier
011f40ad75 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
b46640039d updated nl translation
svn: r21122
2013-01-15 08:40:26 +00:00
Doug Blank
ffc935599d Don't convert handle if None
svn: r21121
2013-01-14 22:05:29 +00:00
Benny Malengier
d23aca2481 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
ccc0b540da Changes for 1.6 svn
svn: r21117
2013-01-14 18:38:44 +00:00
Paul Franklin
cf1456319f more absolute addressing, not relative
svn: r21115
2013-01-14 18:25:54 +00:00
Nick Hall
c3edd2c359 1765: Add private column to views
svn: r21114
2013-01-14 16:49:52 +00:00
Doug Blank
a030be6100 Rename Gramplet View to Dashboard View
svn: r21112
2013-01-14 11:49:51 +00:00
John Ralls
d84df82c55 Fix typo in GI_TYPELIB_PATH
svn: r21110
2013-01-13 21:06:41 +00:00
John Ralls
7b6abfeb03 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
1e7d0f847e Include gi typelibs in bundle
Also point to pango modules file.


svn: r21106
2013-01-13 20:32:11 +00:00
Doug Blank
6a559ad827 indent typo
svn: r21103
2013-01-13 17:19:29 +00:00
Nick Hall
d4e85e7336 Improvement to dropdown navigation plugin
svn: r21102
2013-01-13 17:09:53 +00:00
Doug Blank
7a5e277b38 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
f85a78a50d 6288: crash: no attribute 'require_version'
svn: r21100
2013-01-13 16:51:04 +00:00