Commit Graph

311 Commits

Author SHA1 Message Date
Alex Roitman
154787c06c 2006-07-06 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.post_load_newdb): Register
	custom formats after loading the db.
	* src/GrampsCfg.py: Switch to use new formats (still in progress).
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
	custom name formats list.
	* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata) 
	(GrampsBSDDB._close_metadata): load and save name_formats.
	* src/Editors/_EditName.py (EditName._setup_fields): Use proper
	format lists.
	* src/NameDisplay.py: Support new name formats scheme.
	* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.



svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
39cd47357d Test
svn: r6988
2006-07-04 05:50:24 +00:00
Alex Roitman
cf302f8a39 Test
svn: r6987
2006-07-04 05:46:48 +00:00
Alex Roitman
b0dfc2a0cc Test
svn: r6986
2006-07-04 05:43:22 +00:00
Don Allingham
1353edcca9 * src/GrampsDb/_DbUtils.py (remove_parent_from_family): adjust the
transaction message for appropriate father/mother indicator


svn: r6976
2006-07-01 03:58:45 +00:00
Alex Roitman
f44c52289b * src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
acca9a14bd 2006-06-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats



svn: r6951
2006-06-23 17:10:05 +00:00
Don Allingham
dc4b7dab9d 2006-06-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
	* src/Editors/_EditPlace.py: Allow duplicate names
	* src/Editors/_EditFamily.py: improve error message



svn: r6950
2006-06-23 04:13:06 +00:00
Don Allingham
d9f1827ddb 2006-06-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: handle witness ref properly



svn: r6949
2006-06-22 21:23:00 +00:00
Alex Roitman
b3a8324b78 2006-06-22 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.__init__): Typo.



svn: r6946
2006-06-22 18:32:16 +00:00
Don Allingham
fcf5cfbc48 * src/GrampsDb/_WriteGedcom.py: export QUAY
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
4cf930d039 * src/GrampsDb/_GrampsDbBase.py: prevent null event types and
attribute types from being added
	* src/Editors/_EditAttribute.py: prevent null attribute types
	* src/Editors/_EditEvent.py: prevent null attribute types
	* src/AutoComp.py: filter out empty strings
	* src/ImgManip.py: check for file before attempting thumbnailer


svn: r6898
2006-06-16 03:32:51 +00:00
Alex Roitman
23cd9319f6 * src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
svn: r6893
2006-06-15 16:46:12 +00:00
Don Allingham
26f17e296e 2006-06-14 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix INT date format



svn: r6890
2006-06-15 03:23:57 +00:00
Alex Roitman
5b113d9558 2006-06-14 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Factor out commont code.
	* src/Editors/_EditName.py (_setup_fields): Remove Default item.
	* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
	place of previous DEF.
	* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
	* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
	do not set conf attribute on attr, addr, and event.



svn: r6889
2006-06-14 20:20:39 +00:00
Don Allingham
cb2cebd7e9 2006-06-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditLdsOrd.py: LDS confirmation support
	* src/GrampsDb/_ReadGedcom.py: LDS confirmation support
	* src/GrampsDb/_WriteGedcom.py: LDS confirmation support
	* src/GrampsDb/_GedTokens.py: LDS confirmation support
	* src/GrampsDb/_LdsOrdd.py: LDS confirmation support



svn: r6887
2006-06-13 23:51:24 +00:00
Alex Roitman
e858a54456 2006-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Avoid using
	secondary index when upgrading events; manually resolve duplicate IDs.



svn: r6886
2006-06-13 19:59:14 +00:00
Don Allingham
8edd56e0a8 gedcom cleanup
svn: r6884
2006-06-13 03:23:50 +00:00
Don Allingham
4871ba35db 2006-06-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix event parsing
	* src/GramspDb/_GedcomInfo.py: fix ORDN identification



svn: r6882
2006-06-12 04:51:11 +00:00
Don Allingham
5810926898 2006-06-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fixes based of the gedcom torture test
	* src/GrampsDb/_GedTokeys.py: fixes based of the gedcom torture test



svn: r6880
2006-06-11 04:19:47 +00:00
Don Allingham
8940cf321d * src/GrampsDb/_GedTokens.py: yet even more funky fixes, handle more
non-standard tags


svn: r6879
2006-06-10 05:15:15 +00:00
Don Allingham
8b770e1537 * src/GrampsDb/_ReadGedcom.py: yet even more funky fixes, pass Jerome's tests
svn: r6878
2006-06-10 04:27:43 +00:00
Don Allingham
db962c63a6 2006-06-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: yet even more funky fixes
	* src/GrampsDb/_GedTokens.py: yet even more funky fixes
	


svn: r6877
2006-06-09 21:33:48 +00:00
Don Allingham
c4f389acf9 more gedcom fixes
svn: r6876
2006-06-09 04:46:54 +00:00
Don Allingham
5c89f8ed1e 2006-06-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle more bizarre and illegal
	statements output by other programs.



svn: r6875
2006-06-08 21:38:43 +00:00
Don Allingham
4ab22011aa * src/GrampsDb/_GedTokens.py: handle some obscure tokens
svn: r6874
2006-06-08 04:51:45 +00:00
Don Allingham
baeafc820a 2006-06-07 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix child/parent relationships



svn: r6872
2006-06-08 04:08:16 +00:00
Don Allingham
6cf54161b2 svn: r6870 2006-06-07 04:43:18 +00:00
Don Allingham
5801d77505 Added repository information
svn: r6868
2006-06-06 22:20:38 +00:00
Alex Roitman
8e06592375 * src/GrampsDb/_ReadXML.py (start_eventref): Only set birth and
death references for events with primary role.


svn: r6867
2006-06-06 18:53:55 +00:00
Alex Roitman
c1f1b1723a 2006-06-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py (set_birth_death_index): Only set birth
	and death references for events with primary role.



svn: r6866
2006-06-06 18:49:34 +00:00
Don Allingham
4e5ff5a16a 2006-06-05 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: more improvements



svn: r6865
2006-06-06 04:23:04 +00:00
Don Allingham
3c45dfe0bb * src/GrampsDb/_ReadGedcom.py: improve parsing, comment the code better
* example/gedcom/sample.ged: add new stuff


svn: r6863
2006-06-05 22:21:22 +00:00
Don Allingham
6a1b76786c 2006-06-05 Don Allingham <don@gramps-project.org>
* src/Mime/_PythonMime.py (_type_map): register .gpkg for non-linux
	platforms 



svn: r6862
2006-06-05 18:49:31 +00:00
Alex Roitman
eee0ce5a1d * src/GrampsDb/_ReadXML.py (stop_event): Properly import birth and
death from the old XML.


svn: r6810
2006-05-29 03:00:07 +00:00
Don Allingham
00a5154a67 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


svn: r6773
2006-05-25 04:08:05 +00:00
Don Allingham
57bb0ce78c * src/GrampsDb/_DbUtils.py: fix index setting of death index
* src/GrampsDb/_WriteGedcom.py: remove redundant birth/death 
	references


svn: r6772
2006-05-25 02:30:16 +00:00
Alex Roitman
54e3f6908d * src/Utils.py: move event/attr constants to GedcomInfo.
* src/plugins/TestcaseGenerator.py: Use new methods.
	* src/DisplayTabs/_LdsModel.py: Use new methods.
	* src/Editors/_EditLdsOrd.py: Use new methods.
	* src/RelLib/_LdsOrd.py: Add new methods.
	* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
	* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
	* src/lds.py: Rename to LdsUtils.py
	* src/GrampsDb/_ReadGedcom.py: Use new module name.
	* src/Makefile.am (gdir_PYTHON): Ship new file.



svn: r6770
2006-05-24 05:28:33 +00:00
Alex Roitman
4207e294eb Update
svn: r6768
2006-05-24 00:42:52 +00:00
Alex Roitman
154bc13140 Update
svn: r6767
2006-05-24 00:12:02 +00:00
Alex Roitman
8847f3d1cc 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade LdsOrd.



svn: r6766
2006-05-23 23:37:24 +00:00
Don Allingham
74b55ce32a 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
9e45d663b6 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert upgrade
to using new birth/death reference approach.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Simplify updating
	of the custom event roles.
	* src/GrampsDb/_WriteXML.py (write_person): Use methods to get
	birth/death ref, not raw attributes.
	* src/RelLib/_Person.py: Convert to using birth and death ref
	indices.
	birth/deat reference; use methods to get birth/death ref, not raw
	attributes.


svn: r6762
2006-05-23 19:55:35 +00:00
Alex Roitman
329fbc5896 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadXML.py (start_eventref): Do not reset existing
	birth/deat reference.



svn: r6758
2006-05-23 17:02:06 +00:00
Alex Roitman
b49c68b675 svn: r6751 2006-05-22 23:58:42 +00:00
Alex Roitman
cb0b034e70 * src/GrampsDb/_WriteGedcom.py: Multiple improvements.
* various: Replace get/set_base_handle with get/set_reference_handle.
	* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
	Remove redundant methods.


svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
347a488142 * src/GrampsDb/_WriteGedcom.py: Repository export.
svn: r6743
2006-05-21 23:32:34 +00:00
Alex Roitman
1766750f8e * src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
unused variables.


svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
63ab257ab0 * src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
Do not import unused module.


svn: r6738
2006-05-21 20:48:50 +00:00