Commit Graph

85 Commits

Author SHA1 Message Date
Benny Malengier
ac82ef8754 2007-11-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notetype.py: type report, citation
	* src/plugins/NarrativeWeb.py: new selection of home note & home media
	* src/GrampsWidgets.py: NoteEntry, MediaEntry
	I intend to change the other note selectors likewise next.


svn: r9403
2007-11-25 19:07:50 +00:00
Doug Blank
5fdffbe292 * src/gen/lib/date.py: refer to Config values via Config.get()
* src/gen/lib/test/date_test.py: set Config values before testing

2007-11-25  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9402
2007-11-25 18:13:19 +00:00
Doug Blank
36c73d38b3 2007-11-25 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/test/date_test.py: turned each test into a case



svn: r9400
2007-11-25 05:16:12 +00:00
Doug Blank
3d2b06a66a 2007-11-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: had to import calendar by path.name
	  (so that the import of date_test would work)
	* src/gen/lib/test: new test directory
	* src/gen/lib/test/date_test.py: unittests for date.py



svn: r9397
2007-11-24 16:35:57 +00:00
Doug Blank
d6deb0c95b * src/gen/lib/date.py: added comparison operator for match()
* src/Utils.py: uses new match comparison

2007-11-21  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9382
2007-11-21 20:05:18 +00:00
Doug Blank
d692868ce0 Fixed error in setting None values
svn: r9381
2007-11-21 15:11:14 +00:00
Doug Blank
5975600e6a typo
svn: r9380
2007-11-21 14:55:19 +00:00
Doug Blank
9ee75010b6 2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Utils.py: probably_alive now takes date rather than year
	* src/gen/proxy/living.py: create date from year
	* src/gen/lib/date.py: added methods to do date math
	  and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
	* src/plugins/Calendar.py: updated to use probably alive date
	* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date



svn: r9379
2007-11-21 14:49:50 +00:00
James G Sack
013b725dc1 add missing gettext import
svn: r9307
2007-11-06 08:18:18 +00:00
James G Sack
2adea9a5f5 extract test code to seperate (_test) module
svn: r9302
2007-11-06 05:37:29 +00:00
Martin Hawlisch
aa0a835330 * src/gen/lib/Makefile.am, src/gen/db/Makefile.am, src/gen/proxy/Makefile.am, src/gen/utils/Makefile.am: Fix path structure
svn: r9295
2007-11-04 20:41:12 +00:00
James G Sack
3ce249d923 CLI fixup: bugs 1331,2,3,4
svn: r9286
2007-10-31 21:47:58 +00:00
Gary Burton
5023c4a84f 2007-10-30 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: setting the death index wrongly.



svn: r9277
2007-10-30 15:07:46 +00:00
Gary Burton
29b974160f 2007-10-29 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: reset birth and death indexes after deleting
    an event. Fixes #1327



svn: r9269
2007-10-29 22:35:52 +00:00
Doug Blank
5d276ee146 2007-10-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: added method Date.offset(value) -> (y,m,d)



svn: r9200
2007-10-17 04:07:26 +00:00
Don Allingham
4c2e57cb2e 2007-10-12 Don Allingham <don@gramps-project.org>
* src/gen/lib/note.py (Note.get): fix typo



svn: r9161
2007-10-12 11:48:28 +00:00
Benny Malengier
1add2aa37b 2007-10-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/dbdir.py: do name group change from GrampsBSDDB to dbdir.


svn: r9159
2007-10-12 10:37:19 +00:00
Benny Malengier
a0c9947dbd 2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow check without gid creation on all objects
	* src/GrampsDbUtils/_ReadXML.py: on reference read, don't create gid.
	This also patches a privacy setting error on placeobj in place tag section


svn: r9151
2007-10-11 22:41:03 +00:00
Don Allingham
a8b10d1092 2007-10-11 Don Allingham <don@gramps-project.org>
* src/gen/db/base.py:
	* src/GrampsDb_GrampsDbWriteXML.py:
	* src/gen/db/__init__.py: fix callback call



svn: r9140
2007-10-11 12:58:16 +00:00
Don Allingham
5c5022e2cd 2007-10-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/Makefile.am: update
	* src/gen/db/Makefile.am: update
	* src/gen/lib/primaryobj.py: remove MarkupText dependency
	* src/Makefile.am: remove RelLib
	* po/POTFILES.in: update



svn: r9121
2007-10-10 03:41:44 +00:00
Benny Malengier
967ef1c163 2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow not to create gramps_id on add
	* src/GrampsDbUtils/_ReadXML.py: on sourceref, don't create gramps_id
	* src/GrampsDb/_GrampsInMemDB.py: remove gid from memory map only if not None


svn: r9119
2007-10-09 20:02:02 +00:00
Benny Malengier
f01ae999c3 2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: correctly store global name grouping
	* src/GrampsDb/_GrampsBSDDB.py: correctly store global name grouping
	* src/gen/lib/name.py: allow grouping equal to surname
	* src/Editors/_EditName.py: correct handling of name grouping, issue #647


svn: r9116
2007-10-09 13:05:56 +00:00
Don Allingham
99febc759f * various: cleanup
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
c8d45e8b89 2007-10-08 Don Allingham <don@gramps-project.org>
* src/gen/lib/note.py: make independent of MarkupText.py



svn: r9106
2007-10-08 19:45:06 +00:00
Alex Roitman
7b6d8b5146 * src/gen/db/dbdir.py (__close_metadata): Store tuple;
(_load_metadata): Load from tuple;
	* src/gen/db/base.py (GrampsDbBase.set_researcher): Move details
	to the Researcher class.
	(set_from): Add method;
	(__init__): Copy from source if provided.


svn: r9104
2007-10-08 18:30:10 +00:00
Alex Roitman
5d94a0d690 2007-10-08 Alex Roitman <shura@gramps-project.org>
* src/gen/lib/researcher.py (serialize, unserialize): Add methods; 
	(set, get): Remove methods.



svn: r9103
2007-10-08 18:07:25 +00:00
Don Allingham
c86ca135a5 * src/gen/lib/attrbase.py: renamed from attributeBase.py
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9102
2007-10-08 16:45:37 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
8038bc0dca 2007-10-07 Don Allingham <don@gramps-project.org>
* various: gen.utils integrationk



svn: r9100
2007-10-08 04:02:34 +00:00
Don Allingham
9083803e21 2007-10-07 Don Allingham <don@gramps-project.org>
* src/gen/db/__init__.py: commit



svn: r9092
2007-10-07 14:25:45 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Don Allingham
6d521544b6 svn: r9076 2007-10-05 02:04:36 +00:00
Don Allingham
126ddc2e9a svn: r9074 2007-10-03 23:33:56 +00:00
Don Allingham
25ac68f14a svn: r9067 2007-10-03 17:23:27 +00:00
Don Allingham
dc8b47a270 2007-10-03 Don Allingham <don@gramps-project.org>
* various: create gen package, move proxy files to this library



svn: r9066
2007-10-03 17:14:26 +00:00