Commit Graph

2562 Commits

Author SHA1 Message Date
SNoiraud
ba55d47143 9345: Error when trying to create narrative report (residence event) 2016-03-28 14:49:21 +02:00
SNoiraud
f290814ea3 9347: Places index + Media index are incorrectly sorted 2016-03-28 14:47:40 +02:00
romjerome
105dfb9ad5 9315: [Regression]: Filter set by default on selector is ignored
'Show all' button status and first load
2016-03-28 09:24:10 +02:00
Sam Manzi
361634ecaa Merge pull request #107 from tecknicaltom/test_filters1
Initial batch of tests of filter rules
2016-03-28 16:19:11 +11:00
Tom Samstag
ebbbe6b436 Initial batch of tests of filter rules
After finding a bug in a filter that caused it to return incomplete
results in master (not yet patched), I decided to develop tests for the
filter rules. This first batch is all listed person filter rules that
either take no parameters or take a single ID parameter. I originally
wanted to use the smaller data.gramps instead of example.gramps, but
there were more unrepresented edge cases that wouldn't allow for testing
all filters (e.g. disconnected individuals).

All test values are based on what Gramps currently returns, with some
efforts made to try to verify the results. If the example.gramps file
changes, these tests will likely have to be updated. I tried to
cross-version validate them with v4.1, but the implementation of
DictionaryDb is too incomplete and many tests fail for unrelated
reasons.
2016-03-27 14:11:49 -07:00
Doug Blank
162d26d4dc 9331: Empty handle, bsddb backend and place 2016-03-25 09:22:58 -04:00
Paul Franklin
e787fac396 9321: Cannot exclude living people from descendant reports 2016-03-24 13:13:56 -07:00
Paul Franklin
8ed5a281d5 9321: Cannot exclude living people from descendant reports 2016-03-24 13:11:57 -07:00
Paul Franklin
da0b478421 center the Book dialog (in the whole screen) 2016-03-24 12:16:15 -07:00
Paul Franklin
17b2fe1cba 5176: Reports ignore "Private" flag and "Living People" 2016-03-24 09:37:47 -07:00
Paul Franklin
c23093d6f8 add a few more parents to a few more dialogs 2016-03-22 21:04:22 -07:00
Doug Blank
2b6a96afbd Merge pull request #106 from tecknicaltom/filtering_filters
add a filter to the tree of rule filters
2016-03-22 16:39:31 -04:00
Paul Franklin
7b33bb1718 remove unneeded Icelandic directives 2016-03-22 11:58:19 -07:00
Paul Franklin
d2acfdf48e 9320: D.A.R. has ? for locations when [private data is excluded] 2016-03-21 16:52:50 -07:00
SNoiraud
0c67821171 8602: Age in the event family view column is wrong. better solution. 2016-03-20 13:38:39 +01:00
SNoiraud
d414f33d01 9278: Crash when dragging multiple media items to clipboard 2016-03-19 23:46:00 +01:00
SNoiraud
32be137dd8 9316: Unable to build narrated web site 2016-03-19 23:13:14 +01:00
romjerome
6fabb04bbe 9151: [Regression] vCal Export File format invalid
Do not encode text anymore (patch by Serge)

Fix an invalid RRULE for annual recurence

TODO: maybe try to update to VCalendar 2.0 (iCal)?
2016-03-16 11:19:15 +01:00
Paul Franklin
cbc8cc38a9 9294: Error occurs for Complete Individual Report -- complete database 2016-03-14 17:24:07 -07:00
Tom Samstag
b96645084a add a filter to the tree of rule filters
I can never remember which category filters are in when making a new
rule. This change adds a filter entry above the treeview. As you type,
filters that do not contain the search text (case insensitively) are
made not visible. Categories are always visible, but will no longer
expand if all of their child nodes are hidden.
2016-03-14 00:05:13 -07:00
romjerome
6c1ba0f23f 9006 9111 9274: fix scrolling in persons view after typing some letter
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'

Thank you schnitker for report, investigations and patch
2016-03-07 15:06:53 +01:00
romjerome
79c193f74b 9242: multiple lines on firstname can corrupt ODT file
fix gramps XML file via import/export but do not know the cause
2016-03-07 15:05:19 +01:00
SNoiraud
1cfd71001c 9293: Narrative Web report further stops in error. 2016-03-06 13:04:51 +01:00
SNoiraud
7f5d4fb10f Geography : 9207: geography view Location could not convert string to float. 2016-03-06 11:51:29 +01:00
Doug Blank
651aac6afa Merge pull request #104 from tecknicaltom/fix_export_preview
fix some crashes in export preview
2016-03-04 06:27:12 -06:00
Doug Blank
c4fac4aad8 9288: Error still when creating a Narrative Website Report 2016-03-03 16:50:29 -06:00
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
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
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
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
Sam Manzi
e7fafa3a86 9255 Add Citations Selector To Link Editor 2016-02-17 16:37:19 +11: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