Commit Graph

135 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
belissent
82eb6e17ac Create a GRAMPS environment ENV for variables substitutions in paths 2015-08-20 14:04:21 +02:00
belissent
5d654d402a Environment variables in mediapath
The mediapath could now be a relative path from database location,
or use variables ($GRAMPSHOME, $GRAMPS_RESOURCES, etc.)
2015-08-19 16:26:59 +02:00
Doug Blank
37d2d7b809 Updated example/gramps/data.gramps with researcher info 2015-08-01 09:45:44 -04:00
Jérôme Rapinat
0f86d84dca 8683: Bump to Gramps XML 1.7.1 2015-07-06 15:06:10 +02:00
Jérôme Rapinat
444c8f95e1 8683: fix duplicate <name> element on pre-1.7.0 XML version
XML: use <pname> tag into place hierarchy instead of duplicate <name>
2015-07-05 11:09:19 +02:00
Jérôme Rapinat
ef921f22c3 Update/Migrate 'data.gramps' 2015-06-27 15:01:21 +02:00
Jérôme Rapinat
62082a4737 Update/Migrate 'example.gramps' and XML schema files 2015-06-27 14:53:29 +02:00
Nick Hall
8d6ffbeaec Remove executable permission from gedcom file 2015-06-18 14:18:36 +01:00
Doug Blank
c2d4e0c7ba Merge pull request from belissent/belissent/gramps41
Modification for example.gramps database
(custom parent relationship, notes)
2015-05-24 18:01:47 -04:00
Paul Franklin
2bf4718af7 add a gramps-XML file to test date formats in different locales 2015-05-16 20:25:21 -07:00
Nick Hall
63fe1a4bd2 8242: Put places in data.gramps into a hierarchy 2015-01-24 19:34:17 +00:00
Paul Franklin
c2e2be69fa add a few date examples (near the top of the list) 2014-11-13 10:14:31 -08:00
Paul Franklin
df15991a8e add datespan example 2014-10-11 10:57:14 -07:00
Björn Samvik
592707deea 8014: Importing gedcom files containing multibyte UTF-8 characters fails 2014-08-25 10:56:02 -07:00
Paul Franklin
ebc213f0ac add a few examples (Thai script, Married Name, "estimated about" date) 2014-08-06 12:53:06 -07:00
Paul Franklin
8de7d287b7 add Arabic-script and Islamic-date examples (courtesy of Munzir Taha) 2014-07-15 09:24:41 -07:00
Jérôme Rapinat
e87ca38574 add a missing date value sample on a media object, re-order according to handle value for a place added outside XML export (idempotent) 2014-06-04 15:00:37 +02:00
Jérôme Rapinat
96ceb1534a add checksum values on 'example.gramps' 2014-06-04 14:47:42 +02:00
Jérôme Rapinat
975c6ef577 typo on country level (example.gramps) 2014-05-22 09:01:40 +02:00
Jérôme Rapinat
399e902a48 7707: re-use same attributes order as XML exporter 2014-05-19 15:21:06 +02:00
Jérôme Rapinat
3e4578e5df 7707: typo during update for place hierarchy 2014-05-19 15:03:22 +02:00
Jérôme Rapinat
5388f0bce9 7707: same place hierarchies as before [27dab7] and [5468dd] into 'example.gramps' 2014-05-19 11:19:07 +02:00
Jérôme Rapinat
fb30873888 start to complete place object names on 'data.gramps' sample 2014-05-15 20:01:59 +02:00
Jérôme Rapinat
a1e1b32fa9 update 'data.gramps' according to [27dab7] and [5468dd] 2014-05-15 14:38:49 +02:00
Jérôme Rapinat
365ac50b83 update 'example.gramps' according to [27dab7] and [5468dd] 2014-05-15 14:36:16 +02:00
Doug Blank
abfc1dd698 Updated example.gramps 2013-11-09 19:06:11 -05:00
Paul Franklin
860360af2f add some more names to data.gramps (more modern: divorces, etc.)
svn: r22476
2013-06-03 20:18:12 +00:00
Doug Blank
f0d8d4bc8d Bring data.gramps up to date with version 1.5.0 of XML; fix missing citations
svn: r21097
2013-01-13 16:27:08 +00:00
Doug Blank
9a1f3abd59 Moving to xml rather than gz for comparison purposes
svn: r21096
2013-01-13 16:25:09 +00:00
Doug Blank
b82496eada Beginning of example in CSV format
svn: r20915
2012-12-31 20:08:43 +00:00
Benny Malengier
62ac19b895 GEPS 026: Replace 'make' for Gramps build
Removal of make from the top directory


svn: r20498
2012-10-03 08:24:37 +00:00
Tim G L Lyons
03d5c759f4 Change citation gramps_id to default format
svn: r19307
2012-04-12 18:09:28 +00:00
Jérôme Rapinat
7f0c5298f9 use uncompressed .gramps (diff before rev18801)
svn: r18806
2012-02-01 08:37:42 +00:00
Tim G L Lyons
d1d19a2a17 Added all possible source citations. These are all related to the home person (a few other items of data also added so the citations can be attached to them). See note with Gramps ID N0015.
svn: r18801
2012-01-31 17:08:06 +00:00
Jérôme Rapinat
c38e2ab5a0 4365: Import/Export Gramps XML is not idempotent; sort primary objects by handles after rev18272
svn: r18285
2011-10-11 05:51:21 +00:00
Jérôme Rapinat
408d3aec79 4365: Import/Export Gramps XML is not idempotent; sort primary objects by handles after rev18272
svn: r18275
2011-10-10 11:39:50 +00:00
Jérôme Rapinat
1ffc95b6c7 typo on death year, long date calculation
svn: r17019
2011-04-01 08:03:10 +00:00
Jérôme Rapinat
1bc9285216 4362 4220: typo, lowercase for name argument on styled text
svn: r16833
2011-03-16 18:05:35 +00:00
Jérôme Rapinat
dfe18fe03a 4362 4220: typo, lowercase for name argument on styled text
svn: r16832
2011-03-16 18:04:38 +00:00
Jérôme Rapinat
28387648b7 4364, 4220: cleanup escape characters written on sample
svn: r16744
2011-03-02 15:28:53 +00:00
Jérôme Rapinat
1f21addc70 4365: idempotent, attribute order and primary surname
svn: r16512
2011-01-31 09:43:16 +00:00
Jérôme Rapinat
0cc035279b update data.gramps and sample.ged (next major release)
svn: r16316
2010-12-27 14:24:11 +00:00
Jérôme Rapinat
f63d2cdd2f 4220 better surnames attributes for home person; add a sample of time on birth event
svn: r16198
2010-11-17 08:22:38 +00:00
Jérôme Rapinat
f69978f75e better description for custom LVG event (part3)
svn: r16180
2010-11-11 16:17:08 +00:00
Jérôme Rapinat
08e91b98cf better description for custom LVG event (part2)
svn: r16177
2010-11-11 13:33:44 +00:00
Jérôme Rapinat
74cdfa70ca better description for custom LVG event (part1)
svn: r16176
2010-11-11 13:15:16 +00:00
Jérôme Rapinat
023c6a7db5 add two missing internal links on Notes
svn: r16166
2010-11-09 16:21:26 +00:00
Jérôme Rapinat
83f3f7a9ad use the same Nickname as used on attribute
svn: r16165
2010-11-09 15:50:14 +00:00
Jérôme Rapinat
57d07dd00f Nickname was a call name for Avis Fernandez
svn: r16114
2010-11-02 15:59:35 +00:00