Commit Graph

23729 Commits

Author SHA1 Message Date
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
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
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
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
Doug Blank
403c87b887 DB-API and DbDictionary both use same binary handles as BSDDB 2016-01-31 09:15:52 -05:00
Doug Blank
2fb9a018c7 Remove unused code 2016-01-31 09:14:27 -05:00
SNoiraud
5e369b9f66 2060: Individuals with incomplete names, not updated when name completed 2016-01-31 12:15:18 +01:00
SNoiraud
3c20e4eeef 6873 : Children gramplet in Family view does not get updated when a birth/death events are added to a child 2016-01-31 11:31:41 +01:00
SNoiraud
dfd1a596ab 5417 : Non-image media objects don't appear in the main window gallery. 2016-01-31 11:16:10 +01:00
Doug Blank
abd69fbebd Added schema to Tag 2016-01-30 14:44:39 -05:00
Doug Blank
3b1ff1e30f Added schema to Note and StyledText 2016-01-30 14:25:51 -05:00
SNoiraud
ae8572187e 9136: Pressing tab stops at element in gui places 2016-01-30 15:34:51 +01:00
Doug Blank
3b6a621635 Database selects/iters can order by any field 2016-01-29 09:53:51 -05:00
Doug Blank
c28c49ba67 A version of touch() for Python3.2; use now as time 2016-01-28 16:57:06 -05:00
Doug Blank
de07b9d4f1 A version of touch() for Python3.2 2016-01-28 16:53:06 -05:00
SNoiraud
f144b4c425 9094: Double-clicking on a source in the citation gramplet causes exception 2016-01-28 19:54:52 +01:00
Doug Blank
80d710da48 Attempt to make Python 3.2 work with fd; typo 2016-01-28 07:59:50 -05:00
Doug Blank
d1af8a615f Attempt to make Python 3.2 work with fd 2016-01-28 07:54:47 -05:00
Doug Blank
4b565fe7bc Attempt to make Python 3.2 work with fd 2016-01-28 07:50:49 -05:00
Doug Blank
7b0b23c6f1 Added database testing; fixed bugs in select
* WIP: Tests BSDDB and DBAPI databases
* testing select and get_field
* fixed a bug in primaryobj
2016-01-28 06:44:41 -05:00
Doug Blank
eec418c192 DB-API: allow handles as secondary fields
* mother_handle is now secondary field
* fixed issues in join in primaryobj._follow_chain
* added logging to dbapi loading
* optimize rebuild, only what is needed
2016-01-27 07:18:12 -05:00
SNoiraud
78be94481d 9200: "Find text in record" filter crash 2016-01-27 13:13:58 +01:00
SNoiraud
9dc962be1f 9153 : vCard Export does not work 2016-01-27 10:57:05 +01:00
Doug Blank
2cf95cd866 DB-API: moved from github:gramps-project/addons-source 2016-01-26 18:07:12 -05:00