Commit Graph

23642 Commits

Author SHA1 Message Date
Doug Blank
ee05e0b451 7335: Cleanup code, filenames, and documentation
First part of cleanup, changes:

MediaObject -> Media
mediaobj -> media
mediaobject -> media
2016-01-23 14:22:41 -05:00
Marek Szuba
186c2bcfef Only consider the values of LC_ALL, LANG, and LANGUAGE, in that order, when choosing the default locale.
Default arguments of locale.getdefaultlocale() consider the value
of LC_CTYPE in addition to the three aforementioned all-category
variables, which under certain conditions (LC_CTYPE set, LC_ALL and
the rest of LC_FOO unset) would result in the locale set in LC_CTYPE
(which should only affect interpretation of byte sequences as
characters) spilling over to other locale categories handled by the
GrampsLocale object. The most visible effect of that spill was that
with LC_ALL, LANG, LANGUAGE and LC_MESSAGES unset but LC_CTYPE set,
Gramps would start using the wrong UI language.
2016-01-22 13:42:50 -08:00
John Ralls
65442c2da8 Bug 9191: Unable to select Unicode UTF-8 encoding on command line
Make the option descriptions line up when the value is shorter than 10
characters. Also make the value and description headings line up with the
list and put "Available values are:" first.
2016-01-22 13:39:37 -08:00
Ivan Komaritsyn
a947bd3598 update Russian translation 2016-01-18 11:04:47 -08:00
John Ralls
dbdec516b9 Fix err undefined exception. 2016-01-18 09:16:44 -08:00
Doug Blank
b7444dd9b0 DB-API: Cut database access by 50% when iter by handles 2016-01-18 09:21:18 -05:00
Doug Blank
82d02c5c1b Fix error in NOT in select 2016-01-17 13:21:16 -05:00
Doug Blank
dfc0808167 Add tests for Object.get_field
* tests for get_field, with and without join
* fix bug in Handle
* fix issues in get_field
2016-01-17 12:07:31 -05:00
Paul Franklin
1ced0ac405 typo 2016-01-16 15:43:35 -08:00
romjerome
d509c44d69 9121 9146 9162: Cannot import gedcom generated by RootsMagic
custom place details ignoring PlaceName()
2016-01-16 15:18:35 +01:00
Doug Blank
8525397067 9166: People sorted by surname view now crashes
Fixed issue by surrounding gramplet load code in try/except.
2016-01-14 07:13:47 -05:00
SNoiraud
ee0e343e1e 8950 : Narrative web : html elements emitted in different order 2016-01-14 10:04:29 +01:00
Doug Blank
f9930c1bcf Revised db.select to be completely general 2016-01-13 08:20:50 -05:00
Doug Blank
dc698782b9 db.select does a recursive compare when multi-values 2016-01-12 10:09:51 -05:00
Doug Blank
0c90679515 Added missing get_schema() to some objects 2016-01-11 21:46:10 -05:00
Doug Blank
2195c2e885 db.select(): added [NOT filter] 2016-01-11 17:43:53 -05:00
Doug Blank
f45c75988c db.select: updated doc strings for filter format 2016-01-11 17:36:37 -05:00
Doug Blank
9d6d791e21 Made select use proper recursive expressions; some optimizations 2016-01-11 17:19:14 -05:00
Doug Blank
8902d8f5de Add Family field aliases 2016-01-11 07:28:28 -05:00
Doug Blank
a3c0ff5c18 Add missing EventRef.get_schema() 2016-01-10 18:37:13 -05:00
Nick Hall
e16e772057 Add .pylintrc file
Set maximum line length to 80 characters (previous default).
Allow "db" as a good variable name.
2016-01-10 16:41:44 +00:00
Doug Blank
22fa6ed63a Refinements in db.select; allow joins 2016-01-10 10:55:45 -05:00
Nick Hall
177e30ee62 Improve pylint score of gen modules to above 9 2016-01-10 15:40:52 +00:00
Nick Hall
b8a38cd5e5 Improve pylint score to above 9 for most gen.lib objects 2016-01-09 15:34:59 +00:00
SNoiraud
e013122afc 9163 : Narrative web : "errno: 1, operation is not permitted" when creating archive. 2016-01-09 10:23:50 +01:00
Josip
73b3ccbd0e 9122: Complete Report about person (whole database) - PDF - crash 2016-01-08 20:55:20 -08:00
Nick Hall
76d8c70b91 Remove redundant ignore list from attribute types 2016-01-09 00:50:49 +00:00
Nick Hall
c3eab4e6e3 Further pylint improvements 2016-01-09 00:27:42 +00:00
Doug Blank
831330b6d0 Moved Django templates out of gramps 2016-01-08 18:54:25 -05:00
Doug Blank
f26c9f7055 Added missing get_labels, get_schema 2016-01-08 18:44:38 -05:00
Nick Hall
e64fa65552 Remove redundant objects
These were needed for database upgrades but are no longer
referenced anywhere.
2016-01-08 22:58:25 +00:00
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