Commit Graph

24449 Commits

Author SHA1 Message Date
Tom Samstag
4b32841dd4 fix some crashes in export preview
These issues were all found while trying to use the "Calculate Previews"
feature of the export wizard.

gen/proxy/referencedbyselection.py: ProxyDbBase need not define the
writable functions (add_*, commit_*, del_*) in its __tables. ProxyDbBase
doesn't have methods for add_person, etc, so this was causing an
AttributeError

gen/proxy/referencedbyselection.py: Add some handle checks to prevent
lookups on None handles

gen/proxy/proxybase.py: remove redundant test
2016-03-03 00:11:17 -08:00
Sam Manzi
4960f859ed 8294 Recognise Ghostscript on 64bit ms-windows 2016-03-03 15:28:38 +11:00
Doug Blank
8d08b62c8d 9284: Narrative Report with BSDDB, additional fixes and test 2016-03-02 09:13:35 -06:00
Doug Blank
7dca404669 9284: Narrative Report with BSDDB 2016-03-02 08:36:02 -06:00
Matti Niemelä
f218ab0cd7 Update Finnish translation 2016-03-02 13:47:01 +01:00
Doug Blank
8c35de5642 Travis: python3-coverage does not exist 2016-03-01 07:33:48 -05:00
Doug Blank
70de5e8899 Travis: attempt to use coverage 2016-03-01 07:26:11 -05:00
Paul Franklin
cc13810673 make setup.py typeout more accurate 2016-02-29 17:25:16 -08:00
Doug Blank
d03d99ccce Travis: working, but without coverage 2016-02-28 18:32:21 -05:00
Doug Blank
40af708cab Travis: try to find right nosetests 2016-02-28 18:25:19 -05:00
Doug Blank
689eaf2603 Travis: cleanup, include pyicu 2016-02-28 18:20:37 -05:00
Doug Blank
14c65f8de6 Travis: use pip, which should be new pip 2016-02-28 18:06:17 -05:00
Doug Blank
7448e2f1e0 Travis: use python, which is 3.4 2016-02-28 18:02:06 -05:00
Doug Blank
6a9129c7b9 Travis: try Python 3.4 2016-02-28 17:55:37 -05:00
Doug Blank
400825207a Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 17:51:45 -05:00
Doug Blank
89cb62f3e2 Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 16:48:36 -05:00
Doug Blank
f55c93508a Test framework for testing reports 2016-02-28 15:56:39 -05:00
Doug Blank
ad3dcb8d13 Hide db._select(); Refactor db._tables; QuerySet; tests and bug fixes
db.select() has become db._select()

This commit refactors database._tables so that they can work properly
after a proxy or filter has been removed.

It adds abstract API called QuerySet which allows a variety of
selections and ordering of data.

Logging was added to sqlite to better see db access.

Additional fixes:

* clearing GenericDB._directory
* test_util_test off-by-one error
2016-02-28 15:40:16 -05:00
SNoiraud
0650bd8643 5449: Convert list to set 2016-02-25 11:01:11 +01:00
Doug Blank
0415ac8eab Merge pull request #94 from olaf-ka/newrelgraphoutput
New output options for Relationship Graph
2016-02-23 09:22:17 -05:00
Doug Blank
819223b2be Merge pull request #97 from sam-m888/9255AddCitationsSelectorToLinkEditor
9255 Add Citations Selector To Link Editor
2016-02-23 08:25:25 -05:00
SNoiraud
e64737bb51 0743: Searching in people view when surnames are collapsed 2016-02-23 11:05:32 +01:00
SNoiraud
84f4ce3513 TreeBaseModel : str has no encode method. 2016-02-22 15:42:04 +01:00
SNoiraud
9bc91af2de 5449: Pedigree view crashes if you happen to choose a child as ancestor 2016-02-22 15:27:33 +01:00
Zdeněk Hataš
863a325e1d czech translation update 2016-02-22 09:02:09 +01:00
Sveinn í Felli
11562eba1d Update Icelandic translation 2016-02-21 14:31:45 +01:00
Sveinn í Felli
cfd2c3f5a8 Add dates and relationships handlers for Icelandic 2016-02-21 14:29:07 +01:00
SNoiraud
78b5fba358 3068: Wrong reference number for "same person as" in detailed descendant report 2016-02-19 19:40:27 +01:00
SNoiraud
e14cb98d66 8602: Age in the event family view column is wrong 2016-02-19 18:47:46 +01:00
Paul Franklin
b22de39a25 correct indentation in books.xml 2016-02-19 03:10:55 -08:00
Paul Franklin
69eeca4c47 remove dead code 2016-02-19 02:57:33 -08:00
romjerome
ca202ee3ed Merge Icelandic translation with last template 2016-02-17 16:33:38 +01:00
romjerome
d658142432 update translation strings template 2016-02-17 16:32:05 +01:00
romjerome
1618e58176 $ intltool-update -m 2016-02-17 16:30:03 +01:00
Sveinn í Felli
c214904bd4 Update Icelandic translation 2016-02-17 16:24:21 +01:00
Sam Manzi
e7fafa3a86 9255 Add Citations Selector To Link Editor 2016-02-17 16:37:19 +11:00
Doug Blank
ae260c189f Added codecov patch 2016-02-13 15:54:09 -05:00
Doug Blank
8a02c85bde Turn on coverage/codecov in Travis 2016-02-13 08:09:03 -05:00
Nick Hall
7237d9baa3 Fix error when changing database in new locations gramplets 2016-02-11 19:46:08 +00:00
SNoiraud
b5e904be60 9094: Double-clicking on a source causes exception : better solution. 2016-02-10 17:49:24 +01:00
John Ralls
cb58270bf6 Fix comment about getting the right encoding for stdout. 2016-02-09 11:19:45 -08:00
John Ralls
bd27233cfc Bug 9178: Error loading Participants add-on in French locale
Restores setting the stdout encoding to sys.getdefaultencoding() in a
way that works with Python3 (thanks to Jack O'Connor on stackoverflow)
and in a place that sets it for the loggers, too.
2016-02-09 11:15:02 -08:00
John Ralls
c11fbe8bfc Bug 9159: Date format does not match system.
Make US English a special-case locale with en_GB the default if the locale
is en_XX where XX != US.

Note that untranslated languages will still end up using the 'C' locale.
2016-02-08 13:13:16 -08:00
Nick Hall
524413f7c3 Enhance the Locations gramplet
Create a new "Encloses" gramplet to the display places that the
active place encloses. Rename existing gramplet to "Enclosed By".
2016-02-08 19:36:47 +00:00
Doug Blank
202e1f5594 Protection from null objects 2016-02-07 11:58:59 -05:00
Doug Blank
429b91d357 IsAncestorOf bug hidden by looking up null handle 2016-02-06 21:43:03 -05:00
SNoiraud
e54ed1254a 7852: Rename family tree does not update the title of the parent window. 2016-02-02 10:34:52 +01:00
Doug Blank
72e897b44b Database.select(where=('','LIKE','')) in Python matches across lines 2016-01-31 21:47:37 -05:00
Doug Blank
18ac940566 Add labels to SytledText and Note 2016-01-31 09:17:35 -05:00
Doug Blank
c4e7d0ec25 StyledText: don't crash if styles are corrupt 2016-01-31 09:17:01 -05:00