* src/FilterEditor/_FilterEditor.py: Support event filters.
* src/Filters/__init__.py: expose new module.
* src/Filters/_PersonSidebarFilter.py: Fix type handling.
* src/Filters/_FamilySidebarFilter.py: Fix type handling.
* src/Filters/_GenericFilter.py: Support event filters.
* src/Filters/_EventSidebarFilter.py: add new module.
* src/Filters/Rules/Events/*.py: add new rules.
* src/Filters/Rules/Family/_HasRelType.py (apply): Use new API.
svn: r7127
* src/Filters/Rules/Family/__init__.py (editor_rule_list): Import
and use new rule.
* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/Filters/Rules/Family/_HasAttribute.py: Add new rule.
* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/Filters/Rules/_HasAttributeBase.py: Add base module.
* src/Filters/Rules/_HasEventBase.py (apply): Use new API.
In po:
Add new files.
svn: r7125
argument, namespace is enough to get the filter class via factory;
(add_new_filter): Use factory; (get_all_handles): Get handles for
any object type.
* src/FilterEditor/_ShowResults.py (get_name_id): Add method to
return name and id for different object types;
(sort_val_from_handle): Support different object types.
(__init__): Accept namespace as an argument.
* src/Filters/__init__.py: Do not expose GenericFamilyFilter;
expose GenericFilterFactory instead.
* src/Filters/_FamilySidebarFilter.py (GenericFamilyFilter): Use
factory.
svn: r7122
2006-08-04 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_MediaView.py (row_change): Work around older pygtk.
* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new
files.
* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.
In po:
2006-08-04 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Unlist plugins that are not shipped.
svn: r7120
* src/DataViews/_PersonView.py (__init__): connection to "active-
person-changed" signal moved to set_active()
(set_active, set_inactive): Reconnect to/disconnect from dbstate's
"active-person-changed" signal.
* src/DataViews/_RelationView.py (__init__): connection to "active-
person-changed" signal moved to set_active()
(set_active, set_inactive): Reconnect to/disconnect from dbstate's
"active-person-changed" signal.
svn: r7119
* src/DisplayTabs/_BackRefList.py (find_node): Use class name.
* src/DisplayTabs/_BackRefModel.py (__init__, load_model): Add new
column to keep both class name and translation.
svn: r7113
2006-08-02 Alex Roitman <shura@gramps-project.org>
* configure.in: Disable scrollkeeper update in the packager mode.
In po:
2006-08-02 Alex Roitman <shura@gramps-project.org>
* ru.po: Translation update.
svn: r7112
* src/DataViews/_PersonView.py: use grouping name
* src/NameDisplay.py: Add grouping from data instead of just Name
instance, handle Name.DEF
* src/DisplayModels/_PeopleModel.py: use grouping name
svn: r7110
* 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/ManagedWindow.py (ManagedWindow.show): Set opened flag;
(ManagedWindow.close): Unser opened flag.
* src/ViewManager.py (undo_history_close): Only close undo history
window if it is open.
* src/UndoHistory.py: (UndoHistory.__init__): Remove signal handling;
(UndoHistory.close): Remove method, use one from the parent class.
svn: r7089
* 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
grdb custom name format table versions
* src/NameDisplay.py (register_custom_formats): Upgrade path for
different grdb custom name format table versions
2006-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
svn: r7084
* 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
* windows/nsis/gramps-build.bat: Add windows building scripts.
* windows/nsis/gramps.nsi: Add windows building scripts.
* windows/nsis/gcheck.py: Add windows building scripts.
* windows/nsis/ped24.ico: Add windows icon.
svn: r7082
* configure.in: Remove debian/Makefile from the list.
* Makefile.am (SUBDIRS): Remove debian from the list.
* debian/Makefile.am: Remove from SVN.
svn: r7081
prevent rule editor from crashing. NEEDS REPAIR to stop relying on
the localized text.
* src/Filters/Rules/Person/_HasFamilyEvent.py (apply): Use new API.
* src/RelLib/_GrampsType.py (set,__cmp__): Consider unicode type
along with the str.
svn: r7075
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/plugins/FanChart.py: Add circle, 1/2 circle and 1/4
circle options, along with selectable generations
* src/docgen/OpenOfficeDoc.py: fix rotation angle
svn: r7069
* src/Filters/Rules/Person/_IsLessThanNthGenerationDescendantOf.py
(IsLessThanNthGenerationDescendantOf.init_list): Use new API.
* src/Filters/Rules/Person/_IsSiblingOfFilterMatch.py
(IsSiblingOfFilterMatch.init_list): Use new API.
* src/Filters/Rules/Person/_RelationshipPathBetween.py
(RelationshipPathBetween.desc_list): Use new API.
* src/Filters/Rules/Person/_HaveChildren.py (HaveChildren.apply):
Use new API.
* src/Filters/Rules/Person/_IsMoreThanNthGenerationDescendantOf.py
(IsMoreThanNthGenerationDescendantOf.init_list): Use new API.
* src/Filters/Rules/__init__.py: Expose Rule for plugin filters.
* src/Filters/Rules/Person/_IsDescendantOf.py
(IsDescendantOf.init_list): Use new API.
* src/Filters/Rules/Person/_HasRelationship.py
(HasRelationship.apply): Use new API.
svn: r7060
* Makefile.am (SUBDIRS): Add debian dir.
* configure.in: Generate debian/Makefile
* debian/Makefile.am: Add makefile to place the debian dir in the
released tarball.
svn: r7057
* src/GrampsCfg.py (add_name_panel): Minor UI improvements;
(_build_custom_name_ui): Minor UI improvements;
(cb_edit_fmt_str): Make correct transient_for call.
* src/gramps.glade (namefmt_edit): Add expander with the help on
format definitions; minor UI improvements.
svn: r7050
* 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/Filters/Rules/Family/_RegExpIdOf.py: new family filter
* src/Filters/Rules/Family/_HasNoteRegexp.py: new family filter
* src/Filters/Rules/Family/_HasIdOf.py: new family filter
* src/Filters/Rules/Family/__init__.py: add new filters
* src/Filters/Rules/Family/_HasNoteMatchingSubstringOf.py: new family filter
* src/Filters/Rules/Family/_AllFamilies.py: new family filter
* src/Filters/Rules/_HasNoteSubstrBase.py: new common bases
* src/Filters/Rules/_RegExpIdBase.py: new common bases
* src/Filters/Rules/_HasGrampsId.py: new common bases
* src/Filters/Rules/Person/__init__.py: update
* src/Filters/Rules/Person/_HasIdOf.py: use new common base
* src/Filters/Rules/Person/_HasNoteRegexp.py: use new common base
* src/Filters/Rules/_HasNoteRegexBase.py: new common base
* src/Filters/_FamilySidebarFilter.py: use family filters instead of
person filters
svn: r7020
* src/DataViews/_FamilyList.py: clean up
* src/DataViews/_PedigreeView.py: clean up
* src/DataViews/_MapView.py: clean up
* src/ViewManager.py: better menu name
svn: r7017
* src/DataViews/_FamlyList.py: add filter editor support
* src/FilterEditor/_FilterEditor.py: add family support
* src/FilterEditor/_EditRule.py: add family support
* src/Filters/_FamilySidebarFilter.py: start of family support
* src/Filters/Rules/Family/_HasRelType.py: start of family filters
* src/Filters/Rules/Family/__init__.py: start of family filters
svn: r7014
* configure.in: up the version number
* src/DataViews/_FamilyList.py: add support for sidebar filter
* src/DisplayModels/_BaseModel.py: handle generic model filtering
* src/PageView.py: Add support for generic modeling
* src/Filters/__init__.py: generic family rule support
* src/Filters/_GenericFilter.py: generic family rule support
* help/C/gramps-manual.xml: updates
* help/Makefile.am: remove old files
svn: r7013
* 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/NameDisplay.py (_format_base): Add format string display;
(_format_raw, _format): Add format string methods.
* src/GrampsCfg.py (name_changed): Switch back to int key.
* data/gramps.schemas.in: Add name-format-str key for custom name
display format string.
* src/Config/_GrampsConfigKeys.py: Re-generate the file.
* src/Config/gen_schema_keys.py (copy): Add Id string;
Write header into the generated file.
svn: r6967
* src/docgen/ODSDoc.py: Handle exception when file is not writeable
* src/docgen/OpenOfficeDoc.py: Handle exception when file is not writeable
* src/docgen/OpenSpreadSheet.py: Handle exception when file is not writeable
* src/plugins/AncestorChart2.py: Remove Title option
* src/plugins/DecendChart.py: Remove Title option
svn: r6961
* src/Filters/__init__.py: include new build_filter_model
* src/Filters/_FilterMenu.py: build_filter_model
* src/Filters/Rules/Person/_MatchesFilter.py: handle custom and
system models properly
* src/Filters/_PersonSidebarFilter.py: add custom filter menu
svn: r6932
* 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/ViewManger.py: try tabs on the side
* src/DisplayTabs/_PersonRefEmbedList.py: change Relationships to
Associations
* src/help/C/*: updates
svn: r6919
* 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
the Assistant change.
* src/Assistant.py: Convert to working both with and without
ManagedWindow.
(__init__): Adapt to the Assistant change.
svn: r6895
* 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/GrampsDb/_ReadGedcom.py: read gedcoms that we write
* src/GrampsDb/_WriteGedcom.py: read gedcoms that we write
* src/DisplayState.py: handle unset active person
svn: r6871
2006-06-04 Alex Roitman <shura@gramps-project.org>
* configure.in: Set up for the next release.
* src/Filters/Rules/Person/_RegExpName.py (RegExpName.labels): Typo.
In po:
2006-06-04 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add missing files.
svn: r6861
* src/FilterEditor/_EditFilter.py: clean up
* src/FilterEditor/_EditRule.py: clean up
* src/glade/rule.glade: clean up
* src/Filters/Rules/Person/_IsDescendantFamilyOf.py: make current with RelLib
* src/Filters/Rules/Person/_HasFamilyEvent.py: make current with RelLib
* src/Filters/Rules/Person/_IsParentOfFilterMatch.py: make current with RelLib
* src/Filters/Rules/Person/_FamilyWithIncompleteEvent.py: make current with RelLib
* src/Filters/Rules/Person/_IsBookmarked.py: make current with RelLib
* src/Filters/Rules/Person/_IsLessThanNthGenerationAncestorOfBookmarked.py:
make current with RelLib
svn: r6849
for oddball reports.
* src/plugins/GraphViz.py: Use new report modules.
* src/plugins/NarrativeWeb.py: Use new report modules.
* src/plugins/CountAncestors.py: Use wm and new report modules.
* src/plugins/Summary.py: Use wm and new report modules.
svn: r6842
* 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/plugins/verify.glade: update interface.
* src/plugins/Verify.py: More improvements. Still need to finish
filtering and object editing on double click.
svn: r6792
* 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