Commit Graph

21983 Commits

Author SHA1 Message Date
d238ad9044 make gramps XML the initial default export type 2014-04-08 19:25:13 -07:00
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
2155ae381f Remove GEPS 018 related code 2014-04-07 22:04:44 +01:00
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
5972a3a16f 7258: Avoid dumb encoding error when compiling gpr files 2014-04-07 12:44:39 -07:00
dc292037e4 7588: Can not start [in Chinese on OSX]
Force UTF-8 locale on Mac
2014-04-07 11:51:02 -07:00
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
a890ff5634 Convert the database title retrieved from the GUI to a unicode. 2014-04-06 12:56:41 -07:00
f201deabbc Fix up some failing tests 2014-04-06 12:56:41 -07:00
28505a5d8d Delete a bunch of superflous re-encodings of path names 2014-04-06 12:56:41 -07:00
d69400b513 AboutDialog crashes with Python3 2014-04-06 20:44:51 +02:00
fa3645bf15 7582: [Python2] Cannot remove a person having an event reference 2014-04-06 19:07:41 +02:00
f7e144f853 Change use of GetEnvironmentVariableW (#7582) 2014-04-06 00:22:32 +02:00
0a5b2e9f6a 7584: Fix update of active object after merge 2014-04-05 18:05:16 +01:00
64a5626712 6548: 'Available Gramps Updates for Addons' window not on top 2014-04-05 02:54:13 +02:00
d2066537c7 fix recentfiles.py to work for both py2/py3 2014-04-05 01:45:36 +02:00
26ab379584 7258: transcode os.path.join args from the fs enc to prevent a crash 2014-04-04 22:05:10 +02:00
2353c0bd34 1772: Select row on right click in embedded lists 2014-04-04 19:39:15 +01:00
f6ac8eb854 7455: Remove hover selection from embedded lists 2014-04-04 19:39:15 +01:00
9550dda584 Correctly encode the contents of the lock file. 2014-04-03 15:15:19 -07:00
4299ef530e Win32: Fix crash in gramps -L when the database path includes a non-ascii character. 2014-04-03 15:15:19 -07:00
c27dd4d171 Fix some errors and Py3 deprecations in cli_test.py 2014-04-03 15:09:09 -07:00
7dfb2e016f Test for ability to open a DB in an arbitrary Unicode path with a Unicode name.
And fix a couple of bugs that made the test fail.
2014-04-03 14:17:36 -07:00
9eeadca892 More informative messages in citation editor 2014-04-03 18:41:22 +01:00
863e4bd72a Fix drag & drop in citation editor 2014-04-03 17:31:46 +01:00
0c6166fddb make the export assistant slightly wider 2014-04-03 09:16:30 -07:00
91ef047766 Yet more fix of PyGObject-3.11 DeprecationWarning 2014-04-03 00:10:19 +02:00
2fbf9ff0f9 More fix of PyGObject-3.11 DeprecationWarning 2014-04-02 22:07:43 +02:00
6b160a09ff typo on french translation 2014-04-02 19:05:20 +02:00
fc40578687 Fix PyGObject-3.11 DeprecationWarning
GObject.idle_add() ==> GLib.idle_add()
2014-04-02 16:22:40 +02:00
0af1c0bf41 7572: Do not hide 'categorysidebar' from Plugins Manager, do not try to restore hidden gramplets, typo on grampletbar (LOG.warning) 2014-04-01 12:04:43 +02:00
20a17bed89 typo: NameError: global name 'gen' is not defined 2014-04-01 11:16:52 +02:00
6d0c5d4e0e 7137: Fix updating of events gramplets 2014-03-29 23:55:27 +00:00
7eb68e0c2f 7559: Fix bug in abandon changes and quit 2014-03-29 19:56:58 +00:00
53c878aa08 Use gramps.gen.const.HOME_DIR instead of os.environ['HOME']
$HOME doesn't exist on Windows, so os.environ['HOME'] gives the wrong answer.
2014-03-27 11:34:49 -07:00
71650917bf 7258: Replace some os.environ['foo'] lookups missed earlier. 2014-03-27 11:32:37 -07:00
2a81c76e69 Prevent range error crash when loading a defective database. 2014-03-25 15:44:50 -07:00
97d3ab49c4 7258: Fix filesystem encoding in get_dbdir_summary and DbUndoBSDDB.close. 2014-03-25 15:44:23 -07:00
2221dfd79a czech translation update 2014-03-25 14:55:31 +01:00
43cba81de5 7559: more accurate word for 'Undo' on french translation 2014-03-25 12:02:44 +01:00
6d1d380096 Updated Hebrew translations - update to latest gramps.pot and some minor fixes 2014-03-25 08:44:34 +01:00
1b166865f4 7476: Given Name Cloud Gramplet splits up given names into words 2014-03-23 18:43:25 -07:00
14e1edcd4e 7332-Filename-Decoding-Error-in-Graphical-Reports
Don't encode the filename for output. Python does that for you.
2014-03-23 15:22:46 -07:00
85a1c39092 7258: Transcode FS paths to avoid a crash
The problem is really that the paths get munged into strings in the
system codepage, losing or misinterpreting most Unicode. Python's os
module is smart enough to encode the unicode to the file system
encoding, but the bsddb module needs a little help.

Provide a new function, constfunc.get_env_var(name, default=None) to
cleanly import Unicode environment variables in Windows and use it in
place of all instances of foo = os.environ['BAR] or foo =
os.environ.get('BAR').

Os path functions are smart enough to convert unicode to the file system
encoding on their own, but Db functions aren't, so provide an _encode
function in gen.db.write.py and apply it where a path is being passed to
DBEnv.open().

Also convert paths from the UI to unicode from 'utf8' rather than
sysfilesystemencoding. The latter happens to be correct most of the time
on Linux and OSX but is wrong on Windows.
2014-03-23 15:09:51 -07:00
53acb627bb 7501: Notes always say 'no data exists for note' when saving 2014-03-21 15:07:18 +01:00
dd5e1cc832 RU translation update 2014-03-19 15:33:11 +02:00
4f4ef14379 7539: NotRelated and Verify data dialogs appear either too small or too big 2014-03-19 10:04:39 +01:00
38125ac611 fix translation of children count to use ngettext 2014-03-18 17:31:28 -07:00
eefb9feb24 update German translation 2014-03-18 23:21:36 +01:00
32ae80e9e9 7212: vcard: only convert non-empty BDAY to text
Discovered in #7530.
1) Previously, tests expected invalid BDAY with DD-MM-YYYY format
to be ignored. Now they are wrapped with datestr (see #7212),
and that is already covered by
 test_birthday_invalid_format_converted_to_datestr
Corrected test expectations by removing the obsolete test.
2) Test expects that an empty BDAY record won't create any
event objects. Modified import code accordingly -- we used
to create an event object without date, regression in #7212.
2014-03-18 19:57:01 +02:00