* 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
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
* data/grampsxml.rng: Update for new bookmarks.
* src/GrampsDb/_WriteXML.py (write_bookmarks): Add method to write
new bookmarks.
* src/GrampsDb/_ReadXML.py (start_bmark): Parse new bookmarks
svn: r6714
* src/Utils.py: Remove obsolete code.
* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
* src/PeopleModel.py: Adapt to new types.
* src/plugins/TestcaseGenerator.py: Adapt to new types.
* src/RelLib/Makefile.am: Ship new files.
* src/RelLib/_EventRef.py: Adapt to new types.
* src/RelLib/_PrimaryObject.py: Adapt to new types.
* src/RelLib/_EventRoleType.py: Add new module.
* src/RelLib/_RepoRef.py: Adapt to new types.
* src/RelLib/_MarkerType.py: Add new module.
* src/RelLib/_Family.py: Adapt to new types.
* src/RelLib/_Person.py: Adapt to new types.
* src/RelLib/_SourceMediaType.py: Add new module.
* src/RelLib/__init__.py: Expose new modules.
* src/Editors/_EditPerson.py: Use new type.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
* src/GrampsDb/_ReadXML.py: Adapt to new types.
* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
* src/DataViews/_FamilyView.py (write_relationship): Use new type.
* src/DataViews/_PedigreeView.py (format_relation): Use new type.
svn: r6372
* src/RelLib/Makefile.am: Ship new file.
* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
* src/Relationship.py: Use family relations from new module.
* src/Utils.py: Remove family relations.
* src/RelLib/__init__.py: Expose new module.
* src/RelLib/_Family.py: Adapt to new types.
* src/GrampsDb/_ReadXML.py: Adapt to new types.
* src/GrampsDb/_ConstXML.py: Remove family relations.
* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new files.
svn: r6369
* src/GrampsDb/_ConstXML.py: new types
* src/GrampsDb/_WriteXML.py: new types
* src/Editors/_EditUrl.py: new types
* src/Editors/_EditPerson.py: new types
* src/Editors/_EditRepository.py: new types
* src/Editors/_EditName.py: new types
* src/Editors/_EditChildRef.py: new types
* src/RelLib/__init__.py: new types
* src/RelLib/_Url.py: new types
* src/RelLib/_RepositoryType.py: new types
* src/RelLib/_GrampsType.py: new types
* src/RelLib/_UrlType.py: new types
* src/RelLib/_Repository.py: new types
* src/RelLib/_NameType.py: new types
* src/RelLib/_ChildRefType.py: new types
* src/DisplayTabs.py: new types
* src/GrampsWidgets.py: new types
* src/Utils.py: new types
svn: r6360
* src/GrampsDb/_WriteXML.py (dump_child_ref, dump_person_ref): Add
methods.
* src/RelLib/_ChildRef.py (ChildRef.set_mother_relation): Adapt to
new types;
(ChildRef.set_father_relation): Adapt to new types.
* src/RelLib/_GrampsType.py (GrampsType.get_custom): Add method.
(GrampsType.set): Allow setting from the same class instance.
(GrampsType.is_default): Add method.
svn: r6358
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.
svn: r6012
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.
svn: r5875
transaction_commit): only do secondary index magic if not
instructde otherwise; (BdbTransaction.__init__): accept additional
argument, pass it on to Transaction class.
* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): accept
additional argument for no_magic.
* src/GrampsDb/_ReadGedcom.py (NoteParser): count people during
first pass; (parse_gedcom_file): start transaction with or without
secondary index magic.
* src/GrampsDb/_ReadXML.py (LineParser):count people during
first pass; (parse): start transaction with or without secondary
index magic.
svn: r5865
lookup to dbmap.db; (transaction_commit, transaction_begin):
Enable removing/rebuilding of the secondary index.
* src/GrampsDb/_ReadXML.py (LineParser): Improve first pass.
svn: r5861
GrampsDbBase; (_get_obj_from_gramps_id,_find_from_handle): Only
read data if the key exists.
* src/GrampsDb/_GrampsDbBase.py (get_gramps_ids,has_gramps_id):
Add methods; (check_*_from_handle): Add methods that make sure
that object exists in the db, create as necessary, but do not read
if it exists; (_check_from_handle): Add lower-level method;
(_find_from_handle): Only read data if the key exists.
* src/GrampsDb/_GrampsInMemDB.py (get_gramps_ids): Move to
GrampsDbBase.
* src/GrampsDb/_ReadXML.py: Multiple improvements.
svn: r5858
* doc/grampsxml.rng: Events preceed people.
* src/GrampsDb/_WriteXML.py: Events preceed people.
* src/GrampsDb/_ReadXML.py: Parse old and new style events, old
witnesses, new eventrefs.
svn: r5853