2753 Commits

Author SHA1 Message Date
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
Doug Blank
64a3b6570d PrimaryObject.get_field(): ignore error on invalid list length 2016-01-26 14:14:12 -05:00
Doug Blank
84ed939e82 Object.get_field: two bugs, one in attr on list, and multiple results 2016-01-26 13:55:09 -05:00
Doug Blank
5e84b3b1d6 BSDDB: renamed filter to where; un hash result names 2016-01-25 21:58:01 -05:00
Doug Blank
4463d8850c BSDDB: adding missing iter methods; fixed a bug in iter by_order 2016-01-25 08:29:00 -05:00
SNoiraud
a99b56e123 7619 : Notes used in the "To Do" gramplet are found by the Remove Unused Objects tool 2016-01-25 11:10:13 +01:00
Doug Blank
21869e4939 Missed object to media in libgedcom 2016-01-24 18:29:48 -05:00
Doug Blank
c19f4b47a9 Rename database methods: _object to _media 2016-01-24 18:15:50 -05:00
Doug Blank
b472d6a8b1 Family: define extra secondary fields, and indexes 2016-01-24 09:55:11 -05:00
Doug Blank
1de7bb5ebc iter_OBJECTS can take an order_by field list 2016-01-24 08:56:37 -05:00
Doug Blank
157604b40e Rename *_media_object methods to *_media 2016-01-23 21:53:14 -05:00
Olaf
98a50dfd68 add option to output more than one occupation in relationship graph 2016-01-24 00:10:42 +00:00
Doug Blank
2eeda93617 Renamed get_object_from to get_media_from 2016-01-23 19:00:13 -05:00
Doug Blank
32b8005e0e Fixed unnecessary comparisons 2016-01-23 18:45:54 -05:00
Olaf
15e691ded9 Add another way of showing dates and places in relationship graph
This will display date and place of birth/death/marriage events next to each
other, one line for each event.
2016-01-23 23:14:34 +00:00
Olaf
9d83cbbc52 clean up output of families from relationship graph 2016-01-23 22:24:19 +00:00
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
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
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