* 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/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
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
* 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
* 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/_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/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
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