Commit Graph

24480 Commits

Author SHA1 Message Date
kulath
6e8df15dcb 2092: Problems when no database is open. Partial fix. Make checks on the
database consistently check that the database exists and is open. Add a
few missing checks. Remove redundant load and direct close of dummy
database on closure.
2016-07-05 11:19:02 +01:00
vantu5z
2a0805c66a update russian translation
merged with new template
2016-07-04 13:41:31 +03:00
vantu5z
fbd4b0342a update POTFILES.in after structure update
Since update directory structure for database plugins 0719e04858
2016-07-04 13:40:41 +03:00
Nick Hall
0719e04858 Update directory structure for database plugins 2016-07-03 18:37:30 +01:00
Nick Hall
746cf0ee1e Move DBAPI default settings into an XML file 2016-07-03 17:42:08 +01:00
Nick Hall
4eb27dfcfa Create new database section in configuration file 2016-07-03 16:15:38 +01:00
SNoiraud
bb8e587572 9557: Translated text will not be printed (bad copy/paste 2) 2016-07-03 13:55:07 +02:00
Paul Franklin
a60ae79ca0 add a Greek family to example.gramps (thanks, Zissis Papadopoulos) 2016-07-02 20:59:17 -07:00
Paul Franklin
1c66a85246 move the right paren in, so the string gets translated 2016-07-02 20:53:07 -07:00
Paul Franklin
62d8487f14 change some "place_displayer" strings to the shorter "_pd" 2016-07-02 20:50:31 -07:00
Paul Franklin
8bfa3d13a3 9556: Descendant Report does not recognise auto. place title generation 2016-07-02 20:43:33 -07:00
SNoiraud
78edbafb56 9557: Translated text will not be printed (bad copy/paste) 2016-07-02 22:53:06 +02:00
SNoiraud
be5722ee0b 9557: Translated text will not be printed (better solution) 2016-07-02 22:30:54 +02:00
SNoiraud
3d9159d9d3 Geography : 9557 : Translated text will not be printed in the program 2016-07-02 11:11:44 +02:00
prculley
495e7801d7 9499: Fix CSV import of utf-8 encoded files exported by Gramps 2016-06-29 22:23:03 +01:00
prculley
d77f0562e8 A few Deprecation warnings handled 2016-06-29 22:12:44 +01:00
prculley
55c99fe718 Gdk.Cursor.new() deprecation fixes 2016-06-29 22:06:39 +01:00
Paul Franklin
1abc0ad1fa Merge pull request #182 from prculley/logwarn
fix LOG.warn() deprecation warning
2016-06-29 18:54:37 +00:00
kulath
2886583689 2092: Problems when no database is open. Partial fix. Fix tags menu when
there is no database and stop accessing database for tags filter
dropdown when there is no database.
2016-06-29 16:22:13 +01:00
prculley
342bdac02c fix LOG.warn() deprecation warning 2016-06-29 09:44:18 -05:00
SNoiraud
721cfa1a1c Geography : add parent to WarningDialog 2016-06-29 08:36:32 +02:00
Nick Hall
230d7b0dac Remove trailing whitespace 2016-06-28 23:05:23 +01:00
Paul Franklin
be76d63ef6 some tweaks to the book report
Formerly, the books.xml file was read in multiple times,
even if it hadn't changed at all.  And since books.xml can
contain multiple books, each of which potentially contains
multiple reports, each with multiple options, all of which
get parsed every time the books.xml file gets read in, the
process potentially can take a while.

Similarly the books.xml file was written out every time a
book was added or deleted, even if the book report continued
to be run, with potentially more changes being made.

So it's changed so that the books.xml file is only read in
once, and written out once, and only then if it needs it.
2016-06-28 11:38:53 -07:00
kulath
8e4c7234a4 2092: Problems when no database is open. Partial fix. Fix bookmarks
display when there is no database and stop accessing the database for
bookmarks when there is no database.
2016-06-28 18:39:49 +01:00
kulath
c817b0dedc Pylint improvements: bookmarks.py 2016-06-28 15:36:15 +01:00
vantu5z
a7ea1d98b4 Update russian translation 2016-06-28 13:30:42 +03:00
Zdeněk Hataš
e199ee2bf5 czech translation update 2016-06-28 12:01:18 +02:00
SNoiraud
32a8151751 8452: Geography : Attempting to print crashes(core dumps python) 2016-06-28 10:52:02 +02:00
prculley
66bf311168 9124: GEDCOM doesn't accept CR as a line terminator
Original code used readline() when file was in binary mode; this works
only if file contains '\n', true only for CRLF and LF line endings.
Switched to file text mode with correct encoding and universal newline
support.
2016-06-27 21:11:31 +01:00
vantu5z
697b85811d Update russian translation 2016-06-27 09:59:25 +03:00
Doug Blank
871955a559 9514: DBAPI: duplicated signature for gramps.gen.db.generic.DbGeneric.get_media_from_gramps_id 2016-06-26 07:55:05 -04:00
Nick Hall
b74fa4eef7 Improve pylint score of dummy database 2016-06-26 00:07:53 +01:00
Nick Hall
095e0e529f 9547: Rename non-API database upgrade methods 2016-06-25 22:09:05 +01:00
Nick Hall
535ce58f17 9547: Rename more non-API database methods 2016-06-25 21:55:55 +01:00
Nick Hall
72ca67e7c9 9547: Rename another non-API database method 2016-06-25 21:40:04 +01:00
Nick Hall
ebc91f17f2 9547: Rename some non-API database methods 2016-06-25 21:34:21 +01:00
Nick Hall
7053678526 9547: Remove unused database methods 2016-06-25 19:43:21 +01:00
Nick Hall
c7c674b8c9 9547: Remove deprecated database methods 2016-06-25 19:16:22 +01:00
Nick Hall
e7b7ba4843 9547: Remove methods that are not required 2016-06-25 19:11:42 +01:00
kulath
f7203b5cd2 Implement stand-alone default DummyDb database including diagnostics
when used incorrectly
2016-06-25 17:04:07 +01:00
prculley
403f53cc57 Bug 9545 and 9546 Vcard export on Windows problems 2016-06-25 10:11:30 -05:00
romjerome
6c67053e1f Merge translation files with last template 2016-06-24 17:04:42 +02:00
romjerome
2a39ef3fec Merge some more recent translations from 4.2 branch 2016-06-24 16:54:41 +02:00
Matti Niemelä
cc7ca0ccd6 Update finnish holidays 2016-06-24 16:50:27 +02:00
Nick Hall
b0d492830a Revert ABC changes to DbReadBase and DbWriteBase
Proxies do not implement all abstract methods in DbReadBase.
2016-06-24 14:48:45 +01:00
Nick Hall
e4c2f5fe77 Convert document generators to use abstract base classes 2016-06-23 22:01:20 +01:00
Nick Hall
f0210825de Convert gen.db to use abstract base classes 2016-06-23 20:00:24 +01:00
Nick Hall
fe9af29bf5 Convert gen.lib to use abstract base classes 2016-06-23 19:07:37 +01:00
vantu5z
bb009aa276 Update Russian translation 2016-06-23 10:58:08 +03:00
Paul Franklin
bf8d6c6c03 improve another pylint score (_book.py) 2016-06-23 00:53:17 -07:00