Commit Graph

23611 Commits

Author SHA1 Message Date
Nick Hall
80f05956b4 Gramps type pylint improvements 2016-01-08 21:57:04 +00:00
Doug Blank
1654757c22 db.select() can now use filter; returns total count, and selection 2016-01-08 14:07:43 -05:00
Doug Blank
cc00442e0b Added missing del_func to BSDDB._tables 2016-01-08 04:34:30 -05:00
Nick Hall
e85af204dd More pylint improvements 2016-01-07 19:52:05 +00:00
Nick Hall
72d0d46535 Date object pylint improvements 2016-01-07 19:52:05 +00:00
Doug Blank
eaf1649ef3 Remove remaining mentions of webapp 2016-01-07 13:05:53 -05:00
SNoiraud
22b5c7a14c Geography : change one place selection function by a method. 2016-01-07 09:53:57 +01:00
Doug Blank
ecc8939840 Removed Django references 2016-01-06 15:43:13 -05:00
Doug Blank
7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
Doug Blank
b39fd5b634 Added missing schema 2016-01-06 10:07:25 -05:00
Doug Blank
640e834c22 Refactor of labels/fields/schema 2016-01-06 10:06:47 -05:00
Doug Blank
5a8264f70e db.select/get_rows now returns a dictionary 2016-01-06 10:06:05 -05:00
Doug Blank
ed0001ba0e 9155: proper fix 2016-01-06 15:39:46 +01:00
romjerome
d6f3149a38 Fix previous commit [faaabc]
Do not create an additional database access
2016-01-06 15:25:39 +01:00
romjerome
faaabcef3a 9155: Unhandled AttributeError when db.get_tag_from_handle returns None 2016-01-06 14:51:43 +01:00
Doug Blank
3cb64cdca8 Need to rebuild reference map if making changes in batch mode 2016-01-05 13:44:43 -05:00
Doug Blank
195fdc3cf8 Removed should_exit from tests 2016-01-05 13:17:11 -05:00
Doug Blank
5130269f31 Use db_is_open properly 2016-01-05 13:08:53 -05:00
Nick Hall
c9b5830a37 Fix bug introduced in pylint tidy up 2016-01-05 18:03:33 +00:00
Doug Blank
27e79a3e76 CLI: if database is opened at end, then close it 2016-01-05 13:01:48 -05:00
Doug Blank
d44673c260 Don't exit from arghandler, just return 2016-01-05 13:00:30 -05:00
Nick Hall
8717839809 Add validation to gender field 2016-01-01 19:22:53 +00:00
Paul Franklin
895f8a1cfc 9073: "Unknown" spouse uses hardcoded string [deferred translation] 2016-01-01 10:47:54 -08:00
Tom Samstag
4ff2cf30e2 fix handling of a None handle 2016-01-01 09:46:20 -08:00
Nick Hall
307f236771 Primary object pylint improvements 2015-12-31 23:06:16 +00:00
Nick Hall
e82148677d Replace tabs with spaces 2015-12-31 21:17:49 +00:00
Nick Hall
e67832d384 Merge pull request #86 from tecknicaltom/various_python_issues
Various python issues
2015-12-31 21:15:46 +00:00
Nick Hall
843795738d 8556: ValueError: underlying buffer has been detached
The expat parser requires a binary mode file object.
2015-12-31 18:30:02 +00:00
Doug Blank
cc6b54c5d9 Object.get_label() now a class method. Fixed error in Name schema 2015-12-31 08:47:48 -05:00
romjerome
b77aeb39e7 Year 2016 2015-12-31 11:19:10 +01:00
romjerome
937cd509d0 9114: mars month instead of Marzec (Polish) 2015-12-31 11:17:20 +01:00
Tom Samstag
92c2ddc33e remove unnecessary pass statements 2015-12-31 00:24:07 -08:00
Tom Samstag
e9eedee5c6 change tabs to spaces 2015-12-31 00:08:42 -08:00
Tom Samstag
602ad1bc53 not x is None -> x is not None 2015-12-31 00:03:22 -08:00
Tom Samstag
de8d8370e3 fixing else clauses on loops 2015-12-30 22:46:57 -08:00
Tom Samstag
4053d84a5f fix a raising of NotImplemented
It may not have caused any issues, but changing this from raising
NotImplemented to a NotImplementedError. Explanation about why this is
important at:
http://mouadino.appspot.com/notimpelementederror-vs-notimplemented-in-python/
2015-12-30 22:09:13 -08:00
Paul Franklin
76315be47d 8128: GtkDialog mapped without a transient parent 2015-12-30 21:43:31 -08:00
Doug Blank
85e4a29af4 Allow struct API to work on missing data 2015-12-30 15:11:27 -05:00
Doug Blank
0bfee44e9b Selection method added to database 2015-12-30 14:03:46 -05:00
Doug Blank
41f9e3cccc PrimaryObject.get_field can call methods 2015-12-30 11:06:11 -05:00
Doug Blank
895531c2e3 Having a method used by instance or class is a bad idea 2015-12-30 11:03:40 -05:00
Ivan Komaritsyn
d1e11f4172 update Russian translation (with "master" gramps.pot) 2015-12-29 23:42:31 -08:00
Paul Franklin
e473f9dc89 8128: GtkDialog mapped without a transient parent
The set of fixes was actually triggered by comments in
https://gramps-project.org/bugs/view.php?id=9122#c45895
https://gramps-project.org/bugs/view.php?id=9122#c45921

The project is ongoing, since it's needed for our Windows users.
2015-12-29 22:49:05 -08:00
Nick Hall
a65e69cb53 Only check for changed data when cancel button clicked 2015-12-30 00:41:00 +00:00
Nick Hall
be7e9ace36 Update docstrings for database get methods 2015-12-29 23:47:42 +00:00
Nick Hall
39c8d33169 Merge pull request #84 from tecknicaltom/more_None_handle_fixes
fixes for None handle errors: single-parent family
2015-12-29 23:32:34 +00:00
Nick Hall
5729db8f7f Avoid check for changed data when save button clicked 2015-12-29 20:00:40 +00:00
Nick Hall
40ca8a2da4 Store original object during editor initialisation 2015-12-29 19:54:18 +00:00
Tom Samstag
4ac6d346f4 fixes for None handle errors: single-parent family
Fixes for Person lookups with None handles, related to the use of a
single-parent family
2015-12-29 10:42:00 -08:00
Nick Hall
715277d9ac Fix handle errors in family lines graph 2015-12-29 18:23:14 +00:00