* src/GrampsCfg.py: Gramps preferences allows to set search depth
of relationship.
* src/Relationship.py: methods to change generation depth of search
* src/plugins/rel_fr.py: remove depth use
* src/plugins/all_relations.py: use depth, correct remark print error
* src/plugins/rel_pl.py: remove depth use
* src/DisplayState.py: hook to change relclass depth from GrampsCfg
See also issue #1290
2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9385
* src/plugins/relcalc.glade: don't do connect in glade, we need key
* src/plugins/Leak.py: use os.sep, not + '/'
* src/plugins/RelCalc.py: Don't keep recalculating relation map of the
active person, do it once. 50% faster. Make sure all objects can be
collected by the garbage collector
* src/Relationship.py: allow to connect to database. Map of first
person is stored, only to be removed if database changed, or it
concerns a different person. This reduces calculation with 50%
* src/DisplayState.py: don't recalculate home person every time, don't
call relationship calc on every click, only call it when the people
are different
svn: r9383
* src/plugins/all_relations.py: refractor, use class
* src/Relationship.py: further improvements
* src/plugins/rel_pl.py: rename procedure to avoid conflict
* src/plugins/rel_it.py: start of changes
* src/DisplayState.py: use the new method get_one_relation
svn: r9308
* src/plugins/rel_nl.py: merge in changes of branch22
* src/DisplayState.py: method to set rel class
* src/ViewManager.py: call set rel class after loading plugins
changed. Not for pl, there that method is inherited.
svn: r9250
* src/DataViews/_RelationView.py : expand/collapse, edit button on/off bug fix
* src/GrampsWidgets.py : Expand widget, changes link labels
* src/DisplayState.py : history bugs
* src/ViewManager.py : history bugs
* src/PageView.py : history bugs
Based on patch of Douglas S. Blank <dblank@cs.brynmawr.edu>, GEPS-2
Still some strange things in history, but better
svn: r8950
* src/ReportBase/_ReportUtils.py: Use name_displayer.
* src/ReportBase/_CommandLineReport.py: Use name_displayer.
* src/ReportBase/_BareReportDialog.py: Use name_displayer.
* src/PluginUtils/_Tool.py: Use name_displayer.
* src/plugins/TimeLine.py: Use name_displayer.
* src/plugins/RelCalc.py: Use name_displayer.
* src/plugins/ReadGrdb.py: Use name_displayer.
* src/plugins/NarrativeWeb.py: Use name_displayer.
* src/plugins/IndivComplete.py: Use name_displayer.
* src/plugins/GraphViz.py: Use name_displayer.
* src/plugins/FindDupes.py: Use name_displayer.
* src/plugins/FamilyGroup.py: Use name_displayer.
* src/plugins/DetDescendantReport.py: Use name_displayer.
* src/plugins/DetAncestralReport.py: Use name_displayer.
* src/plugins/DesGraph.py: Use name_displayer.
* src/plugins/DescendReport.py: Use name_displayer.
* src/plugins/DescendChart.py: Use name_displayer.
* src/plugins/Check.py: Use name_displayer.
* src/plugins/Ancestors.py: Use name_displayer.
* src/plugins/AncestorReport.py: Use name_displayer.
* src/plugins/AncestorChart2.py: Use name_displayer.
* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
* src/Merge/_MergePerson.py: Use name_displayer.
* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
* src/FilterEditor/_ShowResults.py: Use name_displayer.
* src/FilterEditor/_EditRule.py: Use name_displayer.
* src/Editors/_EditPrimary.py: Use name_displayer.
* src/Editors/_EditPersonRef.py: Use name_displayer.
* src/Editors/_EditPerson.py: Use name_displayer.
* src/Editors/_EditName.py: Use name_displayer.
* src/Editors/_EditLdsOrd.py: Use name_displayer.
* src/Editors/_EditFamily.py: Use name_displayer.
* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
* src/DisplayTabs/_NameModel.py: Use name_displayer.
* src/DisplayTabs/_ChildModel.py: Use name_displayer.
* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
* src/DisplayModels/_PeopleModel.py: Use name_displayer.
* src/DisplayModels/_FamilyModel.py: Use name_displayer.
* src/DataViews/_PersonView.py: Use name_displayer.
* src/DataViews/_RelationView.py: Use name_displayer.
* src/DataViews/_PedigreeView.py: Use name_displayer.
* src/Utils.py: Use name_displayer.
* src/SubstKeywords.py: Use name_displayer.
* src/Sort.py: Use name_displayer.
* src/Reorder.py: Use name_displayer.
* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
* src/Navigation.py: Use name_displayer.
* src/DisplayState.py: Use name_displayer.
* src/GrampsCfg.py: Use name_displayer.
* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py
svn: r8680
* src/DisplayState.py (RecentDocsMenu.load): work out directories;
(RecentDocsMenu.build): Use symbolic names for menu.
* src/RecentFiles.py: Make work with directories and symbolic
names; remove GNOME-related functionality.
svn: r8550
* src/DisplayState.py (DisplayState.__signals__): Port fixes from
2.2 tree.
* src/FilterEditor/_EditFilter.py: Port fixes from 2.2 tree.
* src/FilterEditor/_FilterEditor.py: Port fixes from 2.2 tree.
* data/grampsxml.rng: Port fixes from 2.2 tree.
* data/grampsxml.dtd: Port fixes from 2.2 tree.
* src/GrampsDb/_GrampsDbWriteXML.py (_xml_version): Bump up version.
svn: r8536
* src/GrampsWidgets.py (Statusbar): min width given in #chars;
right alignment of a bar is enabled.
* src/DisplayState.py (DisplayState.__init__): statusbar creation
with modified parameters.
svn: r8350
* src/DataViews/_PersonView.py: use watch cursor on node expand
* src/GrampsDb/_ReadGedcom.py: handle empty repo instances
* src/plugins/TestCaseGenerator.py: fix typo
* src/DisplayState.py: manage watch cursors better (don't set twice)
* src/DisplayModels/_PeopleModel.py: maintain backref hash table for quick access
to iter to node mappings at the top level.
svn: r7914
* src/PluginUtils/_Plugins.py: Emit signal on rebuild, rebuild
open plugin dialogs on rebuild.
* src/ViewManager.py: Use signal to rebuild plugin menus.
* src/DisplayState.py (DisplayState.__signals__): Register signal
to indicate plugin reloading.
svn: r7827
* src/Filters/Rules/Media: Removed.
* src/DataViews/_MediaView.py (filter_editor): Change Media to
MediaObject.
* src/Filters/_GenericFilter.py: Change Media to MediaObject.
* src/DataViews/_PersonView.py (build_widget): Pass uistate
to filter class.
* src/PageView.py (ListView.build_filter_container): Pass uistate
to filter class.
* src/DisplayState.py (DisplayState.__signals__): Register
'filters-changed' signal.
* src/FilterEditor/_ShowResults.py: Change Media to MediaObject.
* src/FilterEditor/_EditRule.py: Change Media to MediaObject.
* src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'.
* src/Filters/SideBar/*py: Take uistate and connect to the
'filters-changed' signal.
svn: r7233
* 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