Commit Graph

24791 Commits

Author SHA1 Message Date
Nick Hall
d8796d35fb Remove methods that create secondary indexes
All indexes are created in the _create_schema method.
2016-12-08 21:49:52 +00:00
Nick Hall
83e5bd6be3 Remove another unnecessary version file 2016-12-08 21:27:39 +00:00
Paul Franklin
50bb8ffbbc 9795: remember the last location of windows [partial: the selectors] 2016-12-08 12:44:08 -08:00
Nick Hall
290fd6ec43 Remove unused method 2016-12-08 19:03:39 +00:00
Nick Hall
c358d5c3e1 Remove creation of unnecessary version files
The BSDDB version is not relevant for DBAPI databases.  The python
version will always be 3 and the pickle upgrade "YES".
2016-12-08 18:59:42 +00:00
Nick Hall
f321d68db1 Remove MySQL backend 2016-12-08 17:32:09 +00:00
Nick Hall
4a30d9e4b7 Make update_backlinks method protected 2016-12-08 15:16:26 +00:00
Nick Hall
013617dafb Rename update_schema to _create_schema 2016-12-08 15:06:06 +00:00
Matti Niemelä
67c3d4a77a update finnish translation 2016-12-08 10:38:30 +01:00
Espen Berg
bd7cc813aa Corrected some language typos in Norwegian version of relationship calculator 2016-12-07 21:53:17 +01:00
Paul Franklin
6264461a54 reduce default width of preferences dialog (after [5dd88052]) 2016-12-07 12:12:21 -08:00
Paul Franklin
52ccc26753 give statusbar "warnings" dialog a less-ambiguous name 2016-12-07 11:32:07 -08:00
Paul Franklin
16f229c644 9795: remember the last location of windows [partial: merge dialogs] 2016-12-07 11:30:38 -08:00
Nick Hall
4e2ab54fb9 Remove unused restore method 2016-12-07 19:29:53 +00:00
Nick Hall
6098ccd468 Remove low-level bsddb backup code 2016-12-07 19:29:24 +00:00
Nick Hall
5dd88052cf Reduce minimum width of preferences dialog 2016-12-07 19:13:59 +00:00
Nick Hall
593f5a8f2b Add new backup preferences
Allow user to specify a backup directory.
Add option to backup on exit.
Add option to autobackup at regular intervals.
2016-12-07 17:44:02 +00:00
Paul Franklin
eceeddb1e4 make "quick backup" dialog slightly wider (workaround for 8868) 2016-12-06 19:36:23 -08:00
Paul Franklin
a3925313ad 9795: remember the last location of windows [ViewConfigureDialog] 2016-12-06 18:59:23 -08:00
Paul Franklin
413da833ca 9795: remember the last location of windows [partial: main editors] 2016-12-06 15:22:09 -08:00
Paul Franklin
bbb8b5161d 9795: remember the last location of windows [partial: filter dialogs] 2016-12-06 11:59:04 -08:00
Paul Franklin
d407c2fb6b trap FilterError when creating and testing a new filter 2016-12-06 11:57:16 -08:00
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