Paul Franklin
c3f0a811f8
7258 typos
2014-04-24 08:38:50 -07:00
Jérôme Rapinat
057fbf66c1
7258: incomplete commit; https://gramps-project.org/bugs/view.php?id=7258#c35856
2014-04-24 11:41:44 +02:00
Nick Hall
b7fcc9dc6f
Prevent warning message in expander navigation plugin
2014-04-21 22:26:30 +01:00
John Ralls
b3edd2fa5f
Make recentfiles.do_save exception safe.
2014-04-21 14:12:36 -07:00
John Ralls
5f3f280ea0
Fix None type exception when there's no localedir.
2014-04-21 14:08:57 -07:00
Paul Franklin
8a831ed466
7620: 'Display as' field in Name Editor reverts to Preferences default ...
2014-04-21 13:53:16 -07:00
John Ralls
2b1cd04071
Fix indentation errors
...
Thanks to Paul Franklin for noticing.
(cherry picked from commit d5f918040c
)
2014-04-20 19:52:31 -07:00
John Ralls
f0ffd6e9b9
Remove gramps.gen.utils.file.fix_encoding()
...
Yet another overly complicated way to spell conv_to_unicode().
Note that unicode() and str.decode() are alternate spellings of the same function in Py2, and unicode();
note as well that this was used on strings coming from the GUI or the database, not the shell, so that
using glocale.encoding was also incorrect.
2014-04-20 17:05:53 -07:00
John Ralls
55610b6f0a
Remove get_unicode_path_from_env_var(), get_unicode_path_from_file_chooser()
...
Two very cumbersome ways of saying conv_to_unicode().
2014-04-20 17:05:53 -07:00
John Ralls
ecfad157a8
7258: Replace os.getcwd() with gramps.gen.constfunc.get_curr_dir()
...
Py2 on Win32 returns a str from os.getcwd(), which doesn't work with unicode in the path.
New function get_curr_dir() uses the Windows GetCurrentDirectoryW to return a Unicode.
2014-04-20 17:05:52 -07:00
John Ralls
10921cee29
GrampsLocale: Don't try to set self.localedir to _first.localedir if the latter path doesn't exist.
2014-04-20 17:05:52 -07:00
John Ralls
c1dcd6f59e
7258: Remove all instances of sys.getfilesystemencoding()
...
This function reliably returns a useful value only on MacOS X. On Linux it's incorrectly determined by the
locale's encoding and on Windows it always returns 'mbcs' which is correct only on FAT file systems.
2014-04-20 17:05:51 -07:00
John Ralls
efa3741579
7258: Ensure that resource paths are set correctly when they include Unicode characters.
2014-04-20 17:05:51 -07:00
Paul Franklin
8e164e29a2
flag some semicolons, for translation in Arabic
2014-04-20 16:34:29 -07:00
John Ralls
8f4aebe4c6
7258: A consequence of forcing paths to unicode is that we sometimes need to explicitly decode a path to utf8 to pass to Gtk
...
Only in Py2, of course, since the Py3 version of PyGObject knows what to do.
2014-04-20 08:13:00 -07:00
John Ralls
74336a7ca8
7258: Metadata viewer: Exiv2 can't handle Windows's UTF16 pathnames
...
So open the file and pass the handle.
2014-04-20 08:12:59 -07:00
John Ralls
94518f2577
7258: MediaEditor: Ensure that pathnames are always Unicode.
2014-04-20 08:12:58 -07:00
John Ralls
7962403216
7258: Work around PyCairo path issue by opening the target file first.
...
PyCairo, even the latest version, insists on using the 'mbcs' codec on path names on Windows.
That destroys pathnames with characters that aren't in the current default code-page.
2014-04-20 08:12:58 -07:00
Nick Hall
20c9d949ac
Fix python2 bug when creating backup filename
2014-04-18 22:06:30 +01:00
Jérôme Rapinat
9b5ab192eb
move some devel gramplets to UNSTABLE, do not need to translate them
2014-04-18 20:43:24 +02:00
John Ralls
fa2be88b68
Correct lambda syntax for py3
...
Thanks to Paul Franklin for reporting it.
2014-04-17 14:22:20 -07:00
Jérôme Rapinat
c8b73dd3f9
workarounds for incomplet gtk3 migration and ValueError on populatesources debug tool, need a real fix
2014-04-17 15:44:46 +02:00
Jérôme Rapinat
a483e2990e
update template, test french translation, think on merging and do not need to translate hidden titles (on glade)
2014-04-17 15:34:26 +02:00
Paul Franklin
5434a9f3fc
fix another "po/update_po -p" warning
2014-04-16 09:54:42 -07:00
John Ralls
73fed7385a
7258: Fix a path encoding issue when upgrading the database.
2014-04-15 17:05:13 -07:00
Nick Hall
16d5dfff09
Keep button active if current category is clicked
2014-04-15 23:01:35 +01:00
Nick Hall
4e239310a1
Fix popup menus in drop-down navigation sidebar
2014-04-15 22:37:50 +01:00
Nick Hall
c7e160436a
Prevent MapList action warning
2014-04-15 22:29:52 +01:00
John Ralls
081675c4bc
Bug 7258: Work around bug in Py2Cairo 1.8.10 and earlier on Linux
...
(cherry picked from commit 117fbe2810
)
2014-04-15 11:48:33 -07:00
Nick Hall
f6be31eb39
Remove subversion substitution variables
2014-04-15 14:10:18 +01:00
Paul Franklin
f3e378a76a
7596: Translation of plurals does not allow the translator to omit the number
2014-04-14 19:17:26 -07:00
Paul Franklin
99cfe782da
make "update_po -p" happier about unnamed strings
2014-04-14 17:07:32 -07:00
Nick Hall
4a7ae64dd3
Fix unicode error when saving filters
2014-04-13 14:03:43 +01:00
Nick Hall
0901528ddf
GEPS 6: Add extra place types
2014-04-13 14:03:43 +01:00
Josip
aedfc3a673
7258: transcode os.path.join args from the fs enc to prevent a crash
...
fix plugin registration
fix textual, html report etc (except cairo based report)
fix web calendar report for python3
2014-04-13 10:11:22 +02:00
Josip
63f0dc3447
fix size of 'Potential Merges' dialog
2014-04-11 20:22:32 +02:00
Nick Hall
a08d4434b0
Rename "parent" place to "enclosed by"
2014-04-10 22:57:01 +01:00
Nick Hall
9b5a5f3b17
Fix family editor callback
2014-04-10 18:12:18 +01:00
Nick Hall
24a7d44b43
7119: Register history objects at startup
2014-04-10 17:08:30 +01:00
Paul Franklin
9c4aa37b8c
7276: translate some punctuation marks -- partial
2014-04-09 18:40:42 -07:00
Josip
6836dbd5bd
git revision in windows
2014-04-09 23:09:33 +02:00
Paul Franklin
2c2f1d61c8
7585: provide translated output for Ancestor Tree and Descendant Tree reports
2014-04-09 10:30:49 -07:00
Paul Franklin
d238ad9044
make gramps XML the initial default export type
2014-04-08 19:25:13 -07:00
Josip
7fdf0f9225
7258: transcode os.path.join args from the fs enc to prevent a crash
...
Fix 3rd party plugin loading for Py2/Py3 in Windows when sys.path
is in Unicode or/and is not encodable in 'mbcs' encodings
2014-04-08 22:39:11 +02:00
Nick Hall
2155ae381f
Remove GEPS 018 related code
2014-04-07 22:04:44 +01:00
John Ralls
43c37a603c
Streamline conv_to_unicode
...
Also handle "None" strings and change default encoding to 'utf8' so that
it works without args when converting from UI input.
2014-04-07 13:24:11 -07:00
John Ralls
5972a3a16f
7258: Avoid dumb encoding error when compiling gpr files
2014-04-07 12:44:39 -07:00
John Ralls
dc292037e4
7588: Can not start [in Chinese on OSX]
...
Force UTF-8 locale on Mac
2014-04-07 11:51:02 -07:00
Josip
930a2f9819
7258: transcode os.path.join args from the fs enc to prevent a crash
...
:35653 rename family tree with python2
:35653 self.reference_map.delete
2014-04-07 00:17:40 +02:00
John Ralls
a890ff5634
Convert the database title retrieved from the GUI to a unicode.
2014-04-06 12:56:41 -07:00