in key/value pairs.
* src/GrampsDb/_GrampsBSDDB.py (load): Do not create logs when TXN
is disabled;
(gramps_upgrade_9): Include upgrade_11 steps into upgrade_9.
svn: r7360
* src/images/sources.svg: new icon
* src/images/reports.svg: new icon
* src/images/tools.svg: new icon
* src/images/events.svg: new icon
* src/images/place.svg: new icon
* src/images/tools.svg: new icon
* src/ViewManager.py: use new icons
* src/gramps_main.py: register new icons
2006-09-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
* src/GrampsDb/_ReadGedcom.py: check for IO Eror
* src/ViewManager.py: display message if a portability problem is
detected
* src/QuestionDialog.py: Add Warning dialog that can be disabled
* src/DbLoader.py: Detect missing database problem
* src/ArgHandler.py: support for disabling transactions
* src/GrampsCfg.py: new config keys for transactions
* src/Config/_GrampsConfigKeys.py: new config keys for transactions
2006-09-17 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: handle missing database on autoload (#447)
* src/ArgHandler.py: handle missing database on autoload (#447)
* src/DbLoader.py: handle missing database on autoload (#447)
* src/Makefile.am: remove uninstalled packages from makefile
* src/GrampsDb/_ReadXML.py: place vs. address changes
* src/GrampsDb/_WriteXML.py: place vs. address changes
* src/GrampsDb/_EditPlace.py: place vs. address changes
* src/Editors/_EditPlace.py: place vs. address changes
* src/Editors/_EditLocation.py: place vs. address changes
* src/RelLib/_Address.py: place vs. address changes
* src/RelLib/_LocationBase.py: place vs. address changes
* src/RelLib/_Location.py: place vs. address changes
* src/DisplayTabs/_LocationModel.py: place vs. address changes
* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
* src/glade/gramps.glade: place vs. address changes
svn: r7325
* src/GrampsDb/_ReadXML.py: don't assume that os.path.sep is the
first element of an absolute path. Many not be true on some legacy
operating systems.
svn: r7312
* src/GrampsDb/_ReadXML.py: remove commented out code
* src/Editors/_EditEvent.py: handle overwriting of date text
* src/RelLib/_DateBase.py: allow optional dropping of date text on
serialization
* src/RelLib/_Date.py: allow optional dropping of date text on
serialization
* src/RelLib/_Event.py: allow optional dropping of date text on
serialization
svn: r7306
* src/GrampsDb/_GrampsInMemDB.py (undo_data): Add method to take
care of secondary indices on undo/redo;
(_commit_inmem_base): Replace _clean_up and add more routine tasks.
svn: r7261
* src/DisplayModels/_PeopleModel.py: fix handle column after removal
of cause of death
* src/GrampsDb/_WriteGedcom.py: handle custome events for people (bug
# 368)
svn: r7226
* src/DisplayModels/_PeopleModel.py (__init__): Update the order
of marker and tooltip columns;
(column_cause_of_death): remove method;
(COLUMN_DEFS): Remove 'cause of death' column.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Reset event
and person view columns to the default.
* src/GrampsDb/_GrampsDbBase.py (get_event_column_order): Remove
cause column from the default list.
(get_person_column_order): Remove cause of death column.
svn: r7224
* 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
* 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
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
* 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
* 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
* 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
unused secondary tables; add more custom type holders.
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Add more
custom type holders.
(XmlWriter.write_xml_data): Do not export name groups.
svn: r6718
* 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/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
Add new method.
* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6699
* src/DbLoader.py: add new module.
* src/ViewManager.py: Use DbLoader.
* src/DisplayState.py (load): Do not perform post_load tasks.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
version is incopmatible.
svn: r6698
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_WriteXML.py: Use new callback class.
* src/GrampsDb/_WriteGedcom.py: Use new callback class.
* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
the InMem databases.
svn: r6679
* src/DateHandler/_DateHandler.py: Split into parts.
* src/DateHandler/_DateUtils.py: Add new file.
* src/DateHandler/_Date_sk.py: Bring to the new module structure.
* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/GrampsDb/_ReadGedcom.py: Import from proper module.
svn: r6657
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
* src/GrampsDb/_WriteGrdb.py: Use db_copy.
* src/GrampsDb/_DbUtils.py (db_copy): Add function.
* src/ViewManager.py: Save as support.
* src/DataViews/_MapView.py (enable_debug): Set to False to be
able to see the output besides MapView.
svn: r6604
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
methods; reset undo history.
* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
methods; reset undo history.
* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
* src/GrampsDb/_GrampsDbBase.py: Undo history support.
* src/UndoHistory.py: Fixes and additions.
* src/ViewManager.py (post_load): Re-set undo/redo labels.
svn: r6569
2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py: Add new file.
* src/ViewManager.py: undo history support.
* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
timestamp to the transaction.
(GrampsDbBase.redo): Update undo history window.
(GrampsDbBase.undo): Update undo history window.
(GrampsDbBase.transaction_commit): Update undo history window.
(GrampsDbBase.transaction_commit): Set transaction timestamp.
(GrampsDbBase.__init__): Define undo_history_callback.
* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-05 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6557
loop over all primary classes looking for a given handle.
* src/RelLib/_Source.py (serialize, unserialize): properly save
and restore marker.
* src/RelLib/_MediaObject.py (serialize, unserialize): properly
save and restore marker.
* src/RelLib/_Place.py (serialize, unserialize): properly save and
restore marker.
* src/RelLib/_Repository.py (serialize, unserialize): properly
save and restore marker.
* src/RelLib/_Event.py (serialize, unserialize): properly save and
restore marker.
svn: r6507
2006-05-01 Alex Roitman <shura@gramps-project.org>
* various: merge changes from gramps20.
In po:
2006-05-01 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6504
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
* src/RelLib/_Event.py: Properly set type.
* src/RelLib/_EventRef.py: Properly set type.
* src/RelLib/_Family.py: Properly set type.
* src/RelLib/_Name.py: Properly set type.
* src/RelLib/_Person.py: Properly set type.
* src/RelLib/_PrimaryObject.py: Properly set type.
* src/RelLib/_RepoRef.py: Properly set type.
* src/RelLib/_Repository.py: Properly set type.
* src/RelLib/_Url.py: Properly set type.
svn: r6386
* 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