Commit Graph

24800 Commits

Author SHA1 Message Date
Sam Manzi
35b79acacc
Feature#1682: Enable copying Soundex result 2016-12-10 14:32:37 +11:00
Nick Hall
5621ade2e4 9799: Use latest valid date rather than today
This is useful for historic places when an event date is not
available.
2016-12-09 19:25:14 +00:00
Nick Hall
772265c3ef 9813: Modify endonym handling in place displayer
If no language code is matched, the default name is now the first
in the list, rather than a name with no language code.
2016-12-09 19:07:04 +00:00
Nick Hall
176fcae6ad 9737: Fix house number concatenation 2016-12-09 18:57:06 +00:00
vantu5z
cde4c4ebf5 update Russian translation 2016-12-09 15:02:38 +03:00
Nick Hall
7f24aca813 Simplify _create_secondary_columns method
Now only creates new columns.
Removed update_secondary_values_table method.
2016-12-08 23:09:00 +00:00
Nick Hall
c8998cc81c Rename rebuild_secondary_fields to _create_secondary_columns 2016-12-08 23:09:00 +00:00
Paul Franklin
ca105fb73a 9795: remember the last location of windows [partial: the editrefs] 2016-12-08 14:28:42 -08:00
Nick Hall
4e812c738b Remove a couple more unused methods 2016-12-08 22:05:05 +00:00
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