Don Allingham
5f2ed45b6d
2006-08-20 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: fix CHAN parsing for family
svn: r7220
2006-08-21 03:39:13 +00:00
Alex Roitman
7ed80c8743
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
...
obsolete method.
svn: r7201
2006-08-18 05:59:44 +00:00
Alex Roitman
706f8887a5
2006-08-17 Alex Roitman <shura@gramps-project.org>
...
* src/NameDisplay.py: Correct constants to accomodate Name change.
* src/GrampsDb/_GrampsBSDDB.py: Upgrade the names.
* src/RelLib/_Name.py: Remove sname attribute.
svn: r7200
2006-08-18 05:49:25 +00:00
Don Allingham
b588b17598
* src/GrampsDb/_WriteGedcom.py: support for AGE, CAUSE, and AGENCY
...
svn: r7185
2006-08-16 02:31:29 +00:00
Don Allingham
207c6f6690
2006-08-15 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: support for AGE, CAUSE, and AGENCY
* src/GrampsDb/_GedTokens.py: support for AGE and AGENCY
svn: r7184
2006-08-16 00:30:37 +00:00
Alex Roitman
70f597f9b2
Update
...
svn: r7183
2006-08-15 21:03:49 +00:00
Alex Roitman
c384e8e0bc
* src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
...
in event and eventref;
(stop_cause): Create attribute on cause tag.
* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
* data/grampsxml.rng: Document XML changes (xml 1.1.2).
* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
(write_event): write attributes, remove cause.
svn: r7182
2006-08-15 20:59:12 +00:00
Alex Roitman
617116064f
2006-08-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py: Cleanup on upgrades.
svn: r7181
2006-08-15 15:33:28 +00:00
Alex Roitman
244300257d
2006-08-14 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Add an upgrade
path from 2.1.91.
* src/RelLib/_AttributeType.py: Add new attribute types for events
and event references.
* src/RelLib/_EventRef.py: Add attribute list.
* src/RelLib/_Event.py: Add attribute list.
svn: r7180
2006-08-15 05:24:38 +00:00
Alex Roitman
5b9c033946
(close): Close metadata after the checkpoint.
...
svn: r7165
2006-08-13 00:23:06 +00:00
Alex Roitman
cb1323f4f9
* src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
...
work with UseTXN set either way.
svn: r7162
2006-08-12 21:55:52 +00:00
Alex Roitman
c7ff96af1d
* src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
...
svn: r7154
2006-08-11 23:46:24 +00:00
Alex Roitman
aff639fa78
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.close): Try to reset
...
the log sequence numbers to make grdb file portable.
svn: r7141
2006-08-07 02:00:14 +00:00
Alex Roitman
d05a9bdc86
2006-08-01 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (set_name_group_mapping): Use
transaction.
svn: r7108
2006-08-01 16:24:27 +00:00
Zsolt Foldvari
86edc9d446
2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
...
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
change.
* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
interface.
* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
and Add callbacks divided.
* src/RelLib/_Name.py: Default/standard name format definitions moved to
NameDisplay.
* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
interface.
* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
NameDisplay interface.
svn: r7099
2006-07-31 11:08:44 +00:00
Don Allingham
54ffac988b
* src/GrampsDb/_ReadGedcom.py: handle missing event type
...
svn: r7098
2006-07-31 00:38:31 +00:00
Alex Roitman
f3cf9b0aa3
(find_backlink_handles): Work around readonly db problems;
...
(_get_obj_from_gramps_id): Work around readonly db problems.
svn: r7087
2006-07-28 04:10:43 +00:00
Alex Roitman
03e50b3e3a
Update
...
svn: r7086
2006-07-27 20:11:56 +00:00
Alex Roitman
002d180d88
2006-07-27 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (_load_metadata): Upgrade custom
name formats.
* src/GrampsDb/_ReadXML.py (start_format): Attempt parsing the
active state for the custom name format.
* src/GrampsDb/_WriteXML.py (write_name_formats): Write 4-tuple
custom name formats;
(_xml_version): Output as version 1.1.1.
* data/grampsxml.rng: Update XML description for 1.1.1.
* data/grampsxml.dtd: Update XML description for 1.1.1.
* src/ViewManager.py (post_load_newdb): Revert changes (done on
the lower level).
* src/NameDisplay.py (register_custom_formats): Revert changes (done on
the lower level).
svn: r7085
2006-07-27 17:44:02 +00:00
Alex Roitman
f5b7920b73
2006-07-24 Alex Roitman <shura@gramps-project.org>
...
* configure.in: Bump up the version number.
* src/GrampsDb/_GrampsBSDDB.py (find_fidmap): Remove unused method.
svn: r7072
2006-07-25 06:11:27 +00:00
Alex Roitman
632de6ab1b
Update
...
svn: r7071
2006-07-25 00:24:15 +00:00
Alex Roitman
87c460c966
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Map Other from
...
gramps2.0.x to Unknown.
* src/GrampsDb/_ReadXML.py (start_name): Map Other from
gramps2.0.x to Unknown.
(start_database): Add method to extract the XML version.
svn: r7070
2006-07-25 00:01:08 +00:00
Don Allingham
ea3f390b63
2006-07-23 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
default type for an event to CUSTOM
svn: r7061
2006-07-23 17:46:58 +00:00
Alex Roitman
a765958ead
* src/ArgHandler.py (ArgHandler.cl_export): Properly expand filename.
...
* src/GrampsDb/_WriteGrdb.py (exportData): Use placeholder if
callback is None.
svn: r7042
2006-07-19 04:56:41 +00:00
Alex Roitman
b7f85d59ce
2006-07-18 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py
(GrampsBSDDB._delete_primary_from_reference_map): defer deleting
until the cursor is closed.
svn: r7040
2006-07-19 04:29:04 +00:00
Don Allingham
0318f728f8
* src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
...
svn: r7028
2006-07-15 05:14:39 +00:00
Alex Roitman
89189e2d35
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
835329191f
2006-07-04 Don Allingham <don@gramps-project.org>
...
* various: pyflakes fixes
svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
c00c5dbad1
Test
...
svn: r6988
2006-07-04 05:50:24 +00:00
Alex Roitman
df900597e7
Test
...
svn: r6987
2006-07-04 05:46:48 +00:00
Alex Roitman
2a320ace47
Test
...
svn: r6986
2006-07-04 05:43:22 +00:00
Don Allingham
cf20986cc5
* 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
60e4d8044f
* src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
...
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
b9eb66679e
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
69e0f471ad
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
2ced4d331a
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
781f89153c
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
e76143f428
* src/GrampsDb/_WriteGedcom.py: export QUAY
...
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
9f21db52b8
* 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
ad07424022
* src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
...
svn: r6893
2006-06-15 16:46:12 +00:00
Don Allingham
705d880931
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
76f5ce900e
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
96cc8b7ead
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
2668b38e24
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
b359aaf466
gedcom cleanup
...
svn: r6884
2006-06-13 03:23:50 +00:00
Don Allingham
1545b277a8
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
a45f50fb1e
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
bca9cd577d
* 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
05f6c60733
* 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
3736291608
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