Commit Graph

24919 Commits

Author SHA1 Message Date
Nick Hall
2c454268a1 Remove drop_tables and reload methods
These methods are not used and we would not normally want to
drop all tables in a database.
2016-12-06 18:07:42 +00:00
Nick Hall
467f779230 Fix import after removal of is_empty method 2016-12-06 18:06:59 +00:00
Nick Hall
61da801fa1 Remove is_empty database method
The existing get_total method can be used instead.
2016-12-06 17:48:34 +00:00
Nick Hall
3e69fa5cbe Fix get_total method and add unit tests 2016-12-06 17:32:12 +00:00
Nick Hall
35b7495438 9541: Make metadata methods protected 2016-12-06 17:10:07 +00:00
vantu5z
92618fcc6d update Russian translation 2016-12-06 15:04:27 +03:00
erikdrgm
238a1c5c12 Dutch translation61216 2016-12-06 10:11:48 +01:00
Paul Franklin
ff6be8b3d6 9795: remember the last location of windows [partial] 2016-12-05 18:50:13 -08:00
SNoiraud
66a3dd6050 7309: GtkDialog mapped without a transient parent 2016-12-06 03:02:43 +01:00
Sam Manzi
6ab5a22292 Merge pull request #279 from prculley/bug9768
fix for bugs 9768 and 9778, nonetype error when merging events or families
2016-12-06 11:39:38 +11:00
Paul Culley
e584704e7b Update Merge tests to actually run
So this was a lot of work...

Updated to use lxml, steep learning curve for someone who never examined XML before...

The merge test code needed some updates because it was last used with an older version of the Gramps XML.

Found another bug in the mergefamilyquery code when test started running; another nonetype issue.

Found another bug in the mergepersonquery code when test started running; another nonetype issue.

Couldn't get the subprocess stuff to work right, so changed code to just call Gramps with capture, similar to export_tests. This in turn required that importxml and exportxml be slightly changed to support StringIO redirection of stdin and stdout.

And test_util needed a change to allow stdout to accept an unencoded stream, so I added an option to use BytesIO for this test as well.

Added some code to save input, result, and expected data to files in Gramps temp directory for debugging whenever an error occurred. Easier to use my editor in diff mode than look at the outputs.
2016-12-06 11:17:54 +11:00
Paul Culley
983d787322 Change travis.yml to provide lxml dependencies 2016-12-06 11:00:45 +11:00
Nick Hall
9d77418b30 9541: Make backend methods protected 2016-12-05 19:41:12 +00:00
SNoiraud
c835c6f87c 7309: Jump to Gramps ID functionality doesn't work for relview 2016-12-05 16:20:10 +01:00
SNoiraud
55661056e2 7309: Jump to Gramps ID functionality added to pedigree 2016-12-05 16:01:27 +01:00
SNoiraud
6188812b41 7309 : Remove trailing space. 2016-12-05 14:30:47 +01:00
SNoiraud
8c7b0f8585 7309: Jump to Gramps ID functionality added to *fanchart* 2016-12-05 14:22:56 +01:00
Zdeněk Hataš
3646f2a86c czech translation update 2016-12-05 13:23:01 +01:00
SNoiraud
bc32d2fd76 7309: Jump to Gramps ID functionality doesn't work 2016-12-05 11:03:33 +01:00
romjerome
13c5d75bc1 update french translation 2016-12-05 09:51:55 +01:00
romjerome
1fda1e2a92 typo on french translation 2016-12-05 09:49:19 +01:00
romjerome
bfb99f17ad 9276: update translation strings template 2016-12-05 09:48:21 +01:00
romjerome
8aeebcdfd2 9276: ability to search alternate place names when selecting place 2016-12-05 09:47:04 +01:00
vantu5z
2fc4bae826 update Russian translation 2016-12-05 08:08:49 +03:00
Paul Franklin
9a40306bd1 9795: remember the last location of windows [partial: EditTagList] 2016-12-04 17:11:31 -08:00
Paul Franklin
13064ef627 refine 6495240859 2016-12-04 16:25:53 -08:00
Paul Franklin
6495240859 set up a window's initial configuration easier (size, etc.; see 9795) 2016-12-04 13:27:25 -08:00
Josip
e75a45748f fix missing imports
part of bug 9820
NameError: name 'DbException' is not defined
2016-12-04 18:30:36 +01:00
Espen Berg
8159e95389 Some Norwegian bokmål translation for master copy. Still some work remaining... 2016-12-04 10:30:59 +01:00
Sam Manzi
98ed617a5d Merge pull request #278 from prculley/bug9811
bug 9811; Fix for Relative media path incorrectly calculated for Windows
2016-12-04 16:52:01 +11:00
Paul Franklin
74aba1f6b4 5357: Clipboard window doesn't remember its previous position 2016-12-03 16:36:31 -08:00
Espen Berg
cba583a486 Somewhat revised Norwegian language file. Still some work remaining 2016-12-04 00:41:05 +01:00
Paul Franklin
26e5f7aa9c 9789: Book Report only works with the default values (master "4ffc5e3") 2016-12-03 14:21:41 -08:00
Nick Hall
5f928d5379 Add missing base methods 2016-12-03 22:17:18 +00:00
Nick Hall
db3d7a3d0d Fix import 2016-12-03 21:44:55 +00:00
Nick Hall
9a6c074888 Tidy up code 2016-12-03 18:00:12 +00:00
romjerome
9ae653986f Update french translation 2016-12-03 11:36:00 +01:00
romjerome
3842b0e760 update translation strings template 2016-12-03 11:20:07 +01:00
romjerome
73267600bd -update -m 2016-12-03 11:16:13 +01:00
romjerome
eb8c17cfa5 9812: 'Check and Repair' tool ignores some objects with tag support 2016-12-03 10:59:33 +01:00
erikdrgm
ff1f2fe33b Dutch translation 2016-12-02 20:42:30 +01:00
prculley
72bcfc5cd6 bugs 9768 and 9778, nonetype error when merging events or families 2016-12-01 11:24:24 -06:00
prculley
e94696ecf0 bug 9811; Relative media path incorrectly calculated for Windows 2016-12-01 10:40:06 -06:00
Nick Hall
27c2b0c81d 9748: Use COLLATE clause rather than locale specific columns 2016-11-30 23:13:12 +00:00
Sam Manzi
b556b29b25 Merge pull request #275 from prculley/expdialog
8250 and 9736: avoid all other operations during export and fixes for export popup windows hidden.
2016-12-01 09:56:09 +11:00
Sam Manzi
0a11cbf8b5
Renable user_test on travis after 2365a72d98 fix 2016-12-01 08:51:01 +11:00
Nick Hall
a4a3c55c09 Update comments 2016-11-30 15:57:23 +00:00
Nick Hall
2365a72d98 Fix User class unit tests 2016-11-30 15:51:03 +00:00
vantu5z
cf58de59c1 update Russian translation 2016-11-30 13:32:00 +03:00
Nick Hall
1039156019 9508: Fix place tree cursor 2016-11-29 23:26:50 +00:00