Commit Graph

119 Commits

Author SHA1 Message Date
Doug Blank
12490b4600 DictionaryDb: fixed return type in get_person_from_gramps_id; added get_place_from_gramps_id 2015-03-15 00:31:15 -04:00
Nick Hall
5da10c5a80 Replace cuni with str 2015-03-14 23:48:32 +00:00
Nick Hall
c9fd339289 Replace UNITYPE with str 2015-03-14 22:33:55 +00:00
Nick Hall
beab7892e5 Replace STRTYPE with str 2015-03-14 22:11:54 +00:00
Nick Hall
e0608f0ec4 Remove python2 specific code 2015-03-14 19:29:16 +00:00
Nick Hall
3b5efdf7ae Remove imports from __future__ module 2015-03-14 16:10:36 +00:00
Doug Blank
021da38047 Added missing DictionaryDb.is_empty(); fixed moved constfunc reference 2015-03-12 22:44:08 -04:00
Paul Franklin
c136791a00 typo 2015-03-12 09:58:38 -07:00
Paul Franklin
dd20212156 give "update_po.py -p" fewer things to moan about 2015-03-01 15:01:52 -08:00
kulath
9444cbe388 0007824: Regression: running gramps from crontab fails 2015-03-01 16:53:45 +00:00
kulath
94776a3e4f 0008380: tag_map is not initialized 2015-02-28 20:52:38 +00:00
Tim G L Lyons
0778a6f706 Missing import statement 2015-02-25 01:13:20 +00:00
kulath
fab7afd2a3 8134: Fix pickle upgrade of python2 strings to python3 str
Move load of metadata (which can also have pickle upgrade errors) and
make zip backup for pickle or schema upgrade.
2015-02-24 22:44:19 +00:00
Nick Hall
423559f48e Fix schema upgrade from 15 to 16 with python3 2015-02-23 19:20:49 +00:00
Nick Hall
a01722d35f 8134: Fix pickle upgrade of python2 strings to python3 str 2015-02-22 15:24:47 +00:00
Nick Hall
71ae1fbca3 8344: Ensure key is correct type when updating reference map 2015-02-09 15:44:51 +00:00
kulath
b69171f1a1 0007014: Errors handling owner/submitter information in GEDCOM files.
Only import researcher from GEDCOM or XML if the family tree was
originally empty.
2015-02-02 18:56:46 +00:00
Nick Hall
ec9dbcc045 7844: Check that the mediapath is not set to None 2015-01-21 21:42:05 +00:00
Doug Blank
2b1405624f Fixes to DictionaryDb for Python3 and current gramps 2015-01-03 09:01:48 -05:00
Paul Franklin
4fb677283e 8152: Error converting database after upgrade to Gramps 4.1.1 2014-10-28 17:01:43 -07:00
Nick Hall
93a26b26d2 8020: Ensure that reference map has string keys 2014-10-28 17:47:34 +00:00
Nick Hall
aea848de23 7868: Rebuild secondary indexes after database upgrade 2014-09-26 19:38:15 +01:00
Malcom Lewis
86303f6116 Update FSF address to current location. 2014-08-08 19:39:45 -07:00
Nick Hall
de790d12da 7904: Fix place type for places without a main location 2014-07-12 19:58:17 +01:00
Paul Franklin
1c75a997d6 6403: Remove markup in translatable messages -- slight tweaks 2014-07-07 12:00:54 -07:00
Paul Franklin
8c94dcfd27 6403: Remove markup in translatable messages -- partial 2014-07-06 13:14:01 -07:00
Nick Hall
6950679504 7842: Fix custom place types in the place editor
Allow place type combobox to receive focus.
Store custom place types in the metadata table.
2014-06-21 17:22:57 +01:00
Jérôme Rapinat
bc26a2c2fe Try to avoid confusion between branches; limit usage of hard coded version number into translation strings 2014-06-16 17:28:29 +02:00
Marc Hulsman
f3566ebc34 Add unit test for tree cursors 2014-06-12 22:49:30 +01:00
Nick Hall
72b96c96f9 Fix tree cursor for read-only databases 2014-05-25 00:01:14 +01:00
Nick Hall
842379e6db Revert [27453a] and [9d6049]
Fix broken proxies and make proxies read-only.
2014-05-21 21:59:36 +01:00
Nick Hall
643e742556 7960: Store custom event attribute types in the metadata 2014-05-13 20:52:27 +01:00
Nick Hall
737e8eb74b 7571: Fix custom event types 2014-05-13 18:34:50 +01:00
Jérôme Rapinat
09244d037d 7659: SyntaxError with python3 on 'gramps.gen.db.test.grampsdbtestbase' 2014-05-13 18:02:42 +02:00
Jérôme Rapinat
c45167c170 7663: readonly/readwrite and 'create_id' method into 'gen/db/test/db_test.py', no more 'create_id' in the DB code, see [2a6081] for more details 2014-05-04 17:46:05 +02:00
Paul Franklin
2a608151c2 7582: Cannot remove a primary object having a new created backreference
This removes the create_id method from gen/db/write.py, since
after a recent "from __future__ import unicode_literals" (there)
it started producing unicode.  Instead the create_id method in
gen/utils/id.py is used, as its code is essentially identical,
in use in many other places -- and does not produce unicode.
2014-05-03 15:16:41 -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
Nick Hall
20c9d949ac Fix python2 bug when creating backup filename 2014-04-18 22:06:30 +01:00
John Ralls
73fed7385a 7258: Fix a path encoding issue when upgrading the database. 2014-04-15 17:05:13 -07:00
Nick Hall
f6be31eb39 Remove subversion substitution variables 2014-04-15 14:10:18 +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
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
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
f201deabbc Fix up some failing tests 2014-04-06 12:56:41 -07:00
Josip
fa3645bf15 7582: [Python2] Cannot remove a person having an event reference 2014-04-06 19:07:41 +02:00
John Ralls
9550dda584 Correctly encode the contents of the lock file. 2014-04-03 15:15:19 -07:00
John Ralls
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
Nick Hall
7eb68e0c2f 7559: Fix bug in abandon changes and quit 2014-03-29 19:56:58 +00:00
John Ralls
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
John Ralls
71650917bf 7258: Replace some os.environ['foo'] lookups missed earlier. 2014-03-27 11:32:37 -07:00