* 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/ViewManger.py: try tabs on the side
* src/DisplayTabs/_PersonRefEmbedList.py: change Relationships to
Associations
* src/help/C/*: updates
svn: r6919
* 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/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 (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
tools with batch transactions.
(ActivePersonTool.pass): Remove method.
* src/plugins/Check.py (Check): Derive from BatchTool.
* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
derive from BatchTool.
* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
transactions; derive from BatchTool.
* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
derive from BatchTool.
* src/glade/gramps.glade: Make both buttons' lables in
questiondialog use underline property.
(ViewManager.import_data): Add undo warning for imports.
svn: r6540
functions for updating the display;
(gramps_upgrade): Set up display updaters;
(gramps_upgrade_9): Reflect progess of db upgrade.
(low_level_9): Return status and length of the db.
(_table_low_level_9): Return table length if successful.
* src/ViewManager.py (post_load): Remove database upgrade, since
db.load takes care of upgrade.
svn: r6143
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
* src/AddrEdit.py: add DisplayTab support
* src/DdTargets.py: repository references support
* src/DisplayTabs.py: repository reference support
* src/EditMedia.py: save support
* src/EditSource.py: save support
* src/ImageSelect.py: remove unused stuff
* src/Sources.py: use object instead of gobject.TYPE_PYOBJECT
* src/Utils.py: relative path calculator
* src/ViewManager.py: change cwd to directory of the file so that
relative paths work
* src/edit_person.glade: fix size
* src/gramps.glade: add relative path indicator
* src/GrampsDb/_ReadGedcom.py: remove useless compare
svn: r5883
AddrEmbedList
* src/EditPerson.py: Use new EmbedLists
* src/ViewManager.py: set max value on set_fraction
* src/edit_person.glade: remove old lists
* src/GrampsDb/_ReadGedcom.py: fix types
svn: r5850
* src/EditFamily.py: remove icon in father/mother column
* src/EditPerson.py: remove commented out code
* src/GrampsWidgets.py: add WarnButton
* src/ViewManager.py: use WarnButton in the status bar
* src/GrampsDb/_GedTokens.py: Add HEAD
* src/GrampsDb/_ReadGedcom.py: New min-lexical analyzer
svn: r5823
* src/PageView.py: use dirty flag to only draw when requested
* src/PeopleView.py: use dirty flag to only draw when requested
* src/PeopleModel.py: provide simple caching
* src/ViewManager.py: control dirty flags
svn: r5803
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size
svn: r5640
* src/DisplayState.py: remove extra rebuild request
* src/Plugins.py: start support of Report menu
* src/ViewManager.py: tie in report support
svn: r5634
* src/AttrEdit.py: More window management
* src/DisplayState.py: added push_message
* src/EditPerson.py: More window management
* src/ListBox.py: More window management
* src/NameEdit.py: More window management
* src/Navigation.py: More window management
* src/PeopleModel.py: More window management
* src/PersonView.py: More window management
* src/ViewManager.py: better handling of ui and action groups
svn: r5623
upgrade routine; require DB to be at least version 5 (gramps
2.0.0); separate primary and secondary load (may need to reverse
later).
* src/GrampsDbBase.py: Rename upgrade to avoid collission.
* src/RelLib.py (Witness.py): Add empty class to enable upgrades
from the earlier DB versions.
* src/ViewManager.py: move upgrade into the DB class (may need to
reverse later).
svn: r5553
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again
svn: r5124
* src/DisplayState.py: Rename from DbState, kepp only DisplayState
class.
* src/GrampsDbBase.py: Add DbState class.
* src/MapView.py: Swap zoom_in and zoom_out to reflect reality;
add place list with the ScrollableWindow, request size for the
place list.
* src/ViewManager.py: Use DisplayState.DisplayState.
* src/gramps_main.py: Use GrampsDbBase.DbState; add docstring;
svn: r5055
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class
svn: r5040