John Ralls
02e43f971f
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.
(cherry picked from commit c1dcd6f59e
)
2014-04-20 17:12:30 -07:00
John Ralls
583acbd438
7258: Ensure that resource paths are set correctly when they include Unicode characters.
...
(cherry picked from commit efa3741579
)
2014-04-20 17:10:21 -07:00
Paul Franklin
425f09fd69
flag some semicolons, for translation in Arabic
2014-04-20 16:33:36 -07:00
John Ralls
aaa1256762
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:12:19 -07:00
John Ralls
7f1a57a2cd
7258: Metadata viewer: Exiv2 can't handle Windows's UTF16 pathnames
...
So open the file and pass the handle.
gramps/plugins/lib/libmetadata.py
2014-04-20 08:12:18 -07:00
John Ralls
5387cd23cf
7258: MediaEditor: Ensure that pathnames are always Unicode.
2014-04-20 08:12:17 -07:00
John Ralls
3196f8c44f
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:17 -07:00
Paul Franklin
4265fc1571
translate one more Arabic string
2014-04-20 07:57:41 -07:00
John Ralls
12c95e325f
Correct lambda syntax for py3
...
Thanks to Paul Franklin for reporting it.
(cherry picked from commit fa2be88b68
)
2014-04-17 14:30:21 -07:00
Jérôme Rapinat
24016274b6
revert previous template generation
2014-04-17 16:37:06 +02:00
Jérôme Rapinat
a9cc79d9fd
sort translations output by file location for easier diff
2014-04-17 16:34:20 +02:00
Mirko Leonhaeuser
9e3d055a9a
update German translation
2014-04-16 21:10:26 +02:00
Nick Hall
dcf4f9e641
Prevent MapList action warning
2014-04-16 13:48:20 +01:00
John Ralls
8fd8d8b3e9
7258: Fix a path encoding issue when upgrading the database.
...
(cherry picked from commit 40cc0e9091bf4c2e1e215a31658c80216c396633)
2014-04-15 15:33:59 -07:00
John Ralls
117fbe2810
Bug 7258: Work around bug in Py2Cairo 1.8.10 and earlier on Linux
2014-04-15 11:46:42 -07:00
Jérôme Rapinat
a44740a2ee
spacing on french translation
2014-04-14 20:03:19 +02:00
Nick Hall
814bec98c8
Fix unicode error when saving filters
2014-04-13 14:07:42 +01:00
Jérôme Rapinat
98834658b3
support comments
2014-04-12 17:50:53 +02:00
Josip
e04fb106de
fix size of 'Potential Merges' dialog
...
(cherry picked from commit 63f0dc3447
)
2014-04-11 21:02:50 +02:00
Jérôme Rapinat
26230df0c8
start to update NEWS
2014-04-11 10:48:20 +02:00
Nick Hall
dd1a3f5e15
Fix family editor callback
2014-04-10 18:15:18 +01:00
Nick Hall
d387bfbe77
7119: Register history objects at startup
2014-04-10 17:12:21 +01:00
Zdeněk Hataš
f4c871bdaf
czech translation update
2014-04-10 10:21:30 +02:00
Josip
87ae25f77c
ease founding of perl in windows
2014-04-10 08:29:15 +02:00
Paul Franklin
1bb5ac82da
Revert "7276: translate some punctuation marks -- partial"
...
This reverts commit 00c26a722e
.
2014-04-09 18:52:54 -07:00
Paul Franklin
00c26a722e
7276: translate some punctuation marks -- partial
2014-04-09 18:40:17 -07:00
Josip
016b779316
backport [7fdf0f] and [6836db] from master
2014-04-09 23:43:09 +02:00
Paul Franklin
659433dd82
make gramps XML the initial default export type
2014-04-08 19:24:56 -07:00
John Ralls
137e18c41a
7258: Avoid dumb encoding error when compiling gpr files
2014-04-07 12:45:17 -07:00
John Ralls
ee923e3205
7588: Can not start [in Chinese on OSX]
...
Force UTF-8 locale on Mac
2014-04-07 11:51:54 -07:00
Mirko Leonhaeuser
1f9d479074
update German translation
2014-04-07 18:39:03 +02:00
Josip
b93fb16101
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:11:44 +02:00
John Ralls
d48edcdcf7
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-06 13:36:24 -07:00
John Ralls
3f4596ae4c
Convert the database title retrieved from the GUI to a unicode.
2014-04-06 13:33:31 -07:00
John Ralls
137afef3ab
Fix up some failing tests
2014-04-06 13:33:31 -07:00
John Ralls
3b8d2bbeea
Delete a bunch of superflous re-encodings of path names
2014-04-06 13:33:31 -07:00
Josip
d702129296
7582: [Python2] Cannot remove a person having an event reference
2014-04-06 18:26:42 +02:00
Josip
a07f411548
Change use of GetEnvironmentVariableW ( #7582 )
2014-04-06 00:14:33 +02:00
Nick Hall
4e166d4ccd
7584: Fix update of active object after merge
2014-04-05 17:54:38 +01:00
John Ralls
4164920d67
Fix bad open flag
2014-04-04 19:44:55 -07:00
Josip
e10da882fb
6548: 'Available Gramps Updates for Addons' window not on top
2014-04-05 03:02:11 +02:00
Josip
238cf389b0
fix recentfile.py to work for both py2/py3
2014-04-05 01:32:24 +02:00
Josip
f607cc98ae
open ==> io.open
2014-04-04 21:54:43 +02:00
Josip
b240c31631
7258: transcode os.path.join args from the fs enc to prevent a crash
2014-04-04 21:49:28 +02:00
Nick Hall
0218adae42
1772: Select row on right click in embedded lists
2014-04-04 19:39:46 +01:00
Nick Hall
d085f886b4
7455: Remove hover selection from embedded lists
2014-04-04 19:39:46 +01:00
Jérôme Rapinat
5cb1a82312
Update template (~4 modified/new strings) and the french translation
2014-04-04 12:43:32 +02:00
John Ralls
fd0181f4e5
Correctly encode the contents of the lock file.
2014-04-03 15:50:50 -07:00
John Ralls
328bb21cee
Win32: Fix crash in gramps -L when the database path includes a non-ascii character.
2014-04-03 15:50:50 -07:00
John Ralls
89fe90a1a3
Fix some errors and Py3 deprecations in cli_test.py
2014-04-03 15:10:24 -07:00