Commit Graph

24462 Commits

Author SHA1 Message Date
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
Paul Franklin
d297e190e6 another pylint improvement (libsubstkeyword) 2016-06-23 00:48:07 -07:00
Matti Niemelä
37ad9321e9 Update finnish translation 2016-06-22 14:56:18 +02:00
Paul Franklin
0972b69f89 retire the legacy "ReportUtils" class name 2016-06-21 20:21:48 -07:00
Paul Franklin
091caed234 9537: Wrong Numeric date format for cs_CZ locale 2016-06-21 14:16:12 -07:00
romjerome
c54cee0406 Minor update for the french translation
still partial
2016-06-21 10:55:56 +02:00
SNoiraud
fad158f409 9495: Narrativeweb: inconsistent & incomplete display of place hierarchy labels 2016-06-21 08:03:44 +02:00
Paul Franklin
58e169e9eb new gramps.pot template for master 2016-06-20 13:36:37 -07:00
Paul Franklin
597c48b66b more pylint changes: some reformats, some new ones, some 9535 bug fixes 2016-06-20 13:31:35 -07:00
Paul Franklin
8e7d5f5f14 make verify tool less likely to crash while creating its file 2016-06-20 09:45:41 -07:00
Paul Franklin
4b84a04de7 improve pylint score for the book dialog 2016-06-20 08:51:05 -07:00
Nick Hall
0cf5a81e7a 9527: Increase width of date column in location gramplets 2016-06-19 15:20:37 +01:00
Nick Hall
2b21959ca6 9527: Fix date sort column in location gramplets 2016-06-19 15:20:17 +01:00
SNoiraud
023350fa4d 9495: Narratedweb : inconsistent & incomplete display of place hierarchy labels 2016-06-18 19:54:30 +02:00
SNoiraud
bc0a3b5b04 9494: Narratedweb : surname listing errors for people with multiple partners 2016-06-18 19:42:34 +02:00
Paul Franklin
33679aa1c9 improve pylint score for narrative web report (to over 9.00) 2016-06-18 09:29:21 -07:00
SNoiraud
2d7089ec60 9527: Configuration of 'Enclosing' and 'Enclosed by' Date gramplets to show Place IDs 2016-06-18 12:07:08 +02:00
Nick Hall
e32fc6e761 Correct place type for parishes in example database 2016-06-17 23:28:13 +01:00
Paul Franklin
77efbb1012 typo (missing comma in plugins/test/test_reports.py) 2016-06-17 10:32:13 -07:00