* 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