cleanup into its own method (as in the parent class).
FIXME: This needs to be fixed so that _cleanup_on_exit is not
run on OK, only on cancel. Maybe we need _clean_up_on_cancel() ?
* src/DisplayTabs/_TextTab.py (cancel): Only reset text, not the
whole source reference.
svn: r7370
* src/GrampsLogger/_ErrorReportAssistant.py: capitalize "GRAMPS"
* src/ViewManager.py: display buttons on first open
* src/Editors/_EditSourceRef.py: fix cancelling of text (bug #450)
* src/DisplayTabs/_NoteTab.py: fix cancelling of text
* src/DisplayTabs/_TextTab.py: fix cancelling of text
svn: r7345
* 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: 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
after a primary name change
* src/DisplayTabs/_NameEmbedList.py: add primary name change menu item
* src/GrampsWidgets.py: add reinitalization method to handle change of
associated data item
svn: r7268
* 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/GrampsCfg.py: Custom name format support improvements.
* src/Editors/_EditName.py: Custom name format support improvements.
* src/NameDisplay.py: Custom name format support improvements.
* src/plugins/Check.py (cleanup_deleted_name_formats): Db cleanup of
deleted custom name format references.
svn: r7083
* src/ViewManager.py: Custom name format support.
* src/GrampsCfg.py: Custom name format support.
* src/RelLib/_Name.py: Custom name format support.
* src/Editors/_EditName.py: Custom name format support.
* src/glade/gramps.glade: Custom name format support.
* src/NameDisplay.py: Custom name format support.
svn: r7032
* src/Editors/_EditFamily.py: add edit child/relationship options
in the popup menu
* src/DisplayTab/_EmbeddedList.py: break out menu specification to
make it easier to override
* src/glade/gramps.glade: remove unused objects
* help/C/figures/place.png: update
svn: r7008
* 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/Editors/_EditEvent.py: focus on date on open
* src/Editors/_EditEventRef.py: focus on date on open
* src/UndoHistory.py: don't attempt to unregister with the window
manager, since not registered to begin with
svn: r6926
* src/Editors/_EditFamiy.py: make EditPerson windows subordinate
to EditFamily windows. This prevents the EditPerson window from
trying to trying to access a non-existent window and causing a
segfault
svn: r6900
* src/DisplayTabs/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/DisplayTabs/__init__.py: Import new module.
* src/DisplayTabs/_TextTab.py: Add new module.
* src/Editors/_EditSourceRef.py (_setup_fields): Remove Text tab;
(_create_tabbed_pages): Add Text tab.
* src/glade/gramps.glade (source_ref_edit): Remove Text tab.
In po:
2006-06-15 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6894
* 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/Selectors/_SelectPerson.py (__init__): take track argument.
* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
* src/Editors/_EditPersonRef.py (_select_person): Adapt to
SelectPerson change.
* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
convert to Managed window.
* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
* src/ViewManager.py (make_report_callback): Use dbstate and uistate.
svn: r6830
* src/DataViews/_RelationView.py: build skip list for SelectFamily so that
* a person cannot be his own parent
* src/Editors/_EditFamily.py: don't allow a person to be his own parent
* src/Selectors/_BaseSelector.py: Add skipping of handles
* src/DisplayModels/_BaseModel.py: Add skipping of handles
* src/DisplayModels/_MediaModel.py: Add skipping of handles
* src/DisplayModels/_RepositoryModel.py: Add skipping of handles
* src/DisplayModels/_SourceModel.py: Add skipping of handles
* src/DisplayModels/_EventModel.py: Add skipping of handles
* src/DisplayModels/_FamilyModel.py: Add skipping of handles
* src/DisplayModels/_PlaceModel.py: Add skipping of handles
svn: r6790
* 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
* src/Editors/_EditPlace.py: new SelectPlace interface
* src/Editors/_EditEventRef.py: new SelectPlace interface
* src/Editors/_EditEvent.py: new SelectPlace interface
* src/GrampsWidgets.py: new Place editor interface
svn: r6695
* src/Editors/_EditLdsOrd.py: Adapt to new selector.
* src/DisplayTabs/_SourceEmbedList.py: Adapt to new selector.
* src/DisplayTabs/_EventEmbedList.py: Adapt to new selector.
* src/DisplayTabs/_GalleryTab.py: Adapt to new selector.
* src/Selectors/_BaseSelector.py: Use DisplaModel models.
* src/Selectors/_SelectRepository.py: Use DisplaModel models.
* src/Selectors/_SelectSource.py: Use DisplaModel models.
* src/Selectors/_SelectEvent.py: Use DisplaModel models.
* src/Selectors/_SelectFamily.py: Use DisplaModel models.
* src/Selectors/_SelectPlace.py: Use DisplaModel models.
* src/Selectors/_SelectObject.py: Use DisplaModel models.
svn: r6687
2006-05-15 Alex Roitman <shura@gramps-project.org>
* configure.in: Generate new Makefile.
* src/Makefile.am: adapt to new module.
* src/Selectors: separate selectors in their own module.
* src/Select*.py: move to Selectors.
* src/DataViews/_FamilyView.py: Use new module.
* src/Editors/_EditLdsOrd.py: Use new module.
* src/Editors/_EditPersonRef.py: Use new module.
* src/Editors/_EditFamily.py: Use new module.
* src/DisplayTabs/_SourceEmbedList.py: Use new module.
* src/DisplayTabs/_RepoEmbedList.py: Use new module.
* src/DisplayTabs/_EventEmbedList.py: Use new module.
* src/DisplayTabs/_GalleryTab.py: Use new module.
* src/plugins/FilterEditor.py: Use new module.
* src/plugins/SimpleBookTitle.py: Use new module.
* src/PluginUtils/_Report.py: Use new module.
In po:
2006-05-15 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new files.
svn: r6669
* src/glade/edit_person.glade: add call name field
* src/DataViews/_PersonView.py: start of filter sidebar,
use hbox instead of hpaned
* src/Editors/_EditPlace.py: add ID field
* src/Editors/_EditSource.py: add ID field
* src/Editors/_EditEventRef.py: add ID field
* src/Editors/_EditEvent.py: add ID field
svn: r6551
initialize load_image callback
* src/DisplayTabs.py (GalleryTab): call callback if defined when
the list is updated, handle reorder inserting of None objects
svn: r6476
* src/Editors/_EditFamily.py: provide add new parent option
* src/Editors/_EditEvent.py: used set_window
* src/glade/gramps.glade: add new buttons for add new parent
svn: r6470
* 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/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/Editors/_EditFamily.py: Typo
* src/GrampsDb/_GrampsDbBase.py (get_active_person): Handle case of no active person
* src/plugins/TestcaseGenerator.py: really generate shared events; use new GrampsType; randomize name type
* src/DataViews/_PersonView.py: DnD only for lines of persons; Fix set for python 2.3; fix get_parent_family_handle_list usage
svn: r6342