Commit Graph

5697 Commits

Author SHA1 Message Date
Alex Roitman
413b00a6c0 2006-08-10 Alex Roitman <shura@gramps-project.org>
* src/Filters/SideBar/_PersonSidebarFilter.py (get_filter): Typo.



svn: r7150
2006-08-10 17:25:09 +00:00
Jérôme Rapinat
2cdcdd3931 update french translation (all filters editors)
svn: r7149
2006-08-10 07:05:28 +00:00
Alex Roitman
90aed6791f * src/Filters/Rules/_HasNoteSubstrBase.py (apply): Enforce unicode.
* src/Filters/Rules/_HasNoteRegexBase.py (apply): Enforce unicode.


svn: r7148
2006-08-10 01:07:47 +00:00
Alex Roitman
72478cd4ce In .:
* src/DataViews/_PlaceView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support media filters.
	* src/FilterEditor/_EditRule.py: Support media filters.
	* src/FilterEditor/_FilterEditor.py: Support media filters.
	* src/Filters/_GenericFilter.py: Support media filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_MediaSidebarFilter.py: Add module.
	* src/Filters/Rules/Media/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Media/_HasIdOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Media/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Media/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Media/_MediaPrivate.py: Add module.
	* src/Filters/Rules/Media/__init__.py: Expose new modules.
	* src/Filters/Rules/Media/_AllMedia.py: Add module.
	* src/Filters/Rules/Media/_HasMedia.py: Add module.

In po:
2006-08-09  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7147
2006-08-10 00:42:44 +00:00
Alex Roitman
bb62d70653 2006-08-09 Alex Roitman <shura@gramps-project.org>
* src/Filters/SideBar/Makefile.am (pkgdatadir): Typo.



svn: r7146
2006-08-09 19:44:10 +00:00
Brian Matherly
597e1b1bd4 * src/Config/_GrampsIniKeys.py: Allow multiple functions to use notify_add
svn: r7145
2006-08-09 03:12:15 +00:00
Alex Roitman
82e5150cb8 In .:
2006-08-07  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_RepositoryView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support repo filters.
	* src/FilterEditor/_EditRule.py: Support repo filters.
	* src/FilterEditor/_FilterEditor.py: Support repo filters.
	* src/Filters/_GenericFilter.py: Support repo filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_RepoSidebarFilter.py: Add module.
	* src/Filters/Rules/Repository/Makefile.am (pkgdata_PYTHON): Ship
	new files.
	* src/Filters/Rules/Repository/__init__.py: Expose new modules.
	* src/Filters/Rules/Repository/_HasRepo.py: Add module.
	* src/Filters/Rules/Repository/_RepoPrivate.py: Add module.
	* src/Filters/Rules/Repository/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Repository/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteMatchingSubstringOf.py: Add
	module.
	* src/Filters/Rules/Repository/_HasIdOf.py: Add module.
	* src/Filters/Rules/Repository/_AllRepos.py: Add module.

In po:
2006-08-07  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7144
2006-08-07 20:16:00 +00:00
Brian Matherly
c345a7f221 src/plugins/DetAncestralReport.py: print children when no mother exists
svn: r7143
2006-08-07 02:53:28 +00:00
Alex Roitman
d522577808 In .:
* src/DataViews/_PlaceView.py: Add sidebar filter.
	* src/FilterEditor/_EditRule.py: Support place filters.
	* src/FilterEditor/_FilterEditor.py: Support place filters.
	* src/FilterEditor/_ShowResults.py: Support place filters.
	* src/Filters/_GenericFilter.py: Support place filters.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/_PlaceSidebarFilter.py: Add module.
	* src/Filters/Rules/Place/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Place/_AllPlaces.py: Add module.
	* src/Filters/Rules/Place/_HasIdOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Place/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Place/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Place/_PlacePrivate.py: Add module.
	* src/Filters/Rules/Place/_HasPlace.py: Add module.
	* src/Filters/Rules/Place/__init__.py (editor_rule_list): Expose
	new module.
	
In po:
2006-08-06  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7142
2006-08-07 02:49:12 +00:00
Alex Roitman
aff639fa78 * src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.close): Try to reset
the log sequence numbers to make grdb file portable.


svn: r7141
2006-08-07 02:00:14 +00:00
Alex Roitman
68790fb349 Update
svn: r7140
2006-08-06 20:51:46 +00:00
Alex Roitman
b7e91c5cd6 2006-08-06 Alex Roitman <shura@gramps-project.org>
* data/gramps.schemas.in: Typo.



svn: r7139
2006-08-06 20:46:50 +00:00
Alex Roitman
2599ae38a3 * src/Filters/_GenericFilter.py: Support Source filters.
* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Source/Makefile.am: Ship new files.
	* src/FilterEditor/_EditRule.py: Support Source filters.
	* src/FilterEditor/_FilterEditor.py: Support Source filters.
	* src/FilterEditor/_ShowResults.py: Support Source filters.
	* src/Filters/Rules/Source/__init__.py: Expose new modules.
	* src/Filters/SideBar/_SourceSidebarFilter.py: Add module.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/Rules/_Rule.py (Rule.match_substring): Add
	convenience method for simple substring search.
	* src/Filters/Rules/Source/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Source/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Source/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Source/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Source/_HasIdOf.py: Add module.
	* src/Filters/Rules/Source/_SourcePrivate.py: Add module.
	* src/Filters/Rules/Source/_AllSources.py: Add module.



	


svn: r7138
2006-08-06 06:26:10 +00:00
Alex Roitman
c4c4b41470 Update
svn: r7137
2006-08-06 01:29:11 +00:00
Alex Roitman
9f55696c0c In .:
* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Family/_MemberBase.py: Add new module.
In po:



svn: r7136
2006-08-06 00:24:58 +00:00
Alex Roitman
6137abcf43 In .:
* src/Filters/SideBar/_PersonSidebarFilter.py: Minor changes.
	* src/Filters/SideBar/_FamilySidebarFilter.py: Add father, mother,
	and child search options.
	* src/Filters/Rules/Family/__init__.py: Expose new modules.
	* src/Filters/Rules/Family/_Search*Name.py: add new modules.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new files
In po:
2006-08-05  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.
	


svn: r7135
2006-08-05 23:37:48 +00:00
Alex Roitman
f294e89110 2006-08-05 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Family/_MotherHasNameOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_MotherHasIdOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_FatherHasNameOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_FatherHasIdOf.py (apply): Handle
	missing parents.



svn: r7134
2006-08-05 20:09:47 +00:00
Jérôme Rapinat
117ba42c32 update french translation
svn: r7133
2006-08-05 16:02:43 +00:00
Alex Roitman
128acb2115 Update
svn: r7132
2006-08-05 04:53:21 +00:00
Alex Roitman
aadd18e42b * src/Filters/SideBar: Add new module.
svn: r7131
2006-08-05 04:41:56 +00:00
Alex Roitman
ab775a6529 Update
svn: r7130
2006-08-05 04:18:19 +00:00
Alex Roitman
bdee5400d1 * src/Filters/Rules/Event/Makefile.am (pkgdata_PYTHON): Ship new files.
* src/Filters/Makefile.am (pkgdata_PYTHON): Ship new file.


svn: r7129
2006-08-05 04:10:28 +00:00
Alex Roitman
267248fb21 Update
svn: r7128
2006-08-05 04:10:10 +00:00
Alex Roitman
be26272bd0 * src/DataViews/_EventView.py: Add sidebar filter.
* 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
2006-08-05 04:05:05 +00:00
Alex Roitman
1680207757 * src/FilterEditor/_EditFilter.py: Support invert attribute.
* src/Filters/_GenericFilter.py: Support invert attribute.
	* src/Filters/_FilterList.py (save): Save invert attribute.
	* src/Filters/_FilterParser.py (startElement): Parse invert attribute.


svn: r7126
2006-08-05 01:06:33 +00:00
Alex Roitman
763161065e In .:
* 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
2006-08-04 23:19:59 +00:00
Alex Roitman
5cb55bb60e * src/Filters/Rules/Person/_HasFamilyEvent.py (apply): Use new API.
* src/Filters/Rules/Person/_PersonWithIncompleteEvent.py
	(apply): Do not double-handle birth and death events.


svn: r7124
2006-08-04 22:41:51 +00:00
Alex Roitman
4a647bdc55 * src/Filters/Rules/Person/_IsWitness.py: Rewrite with new API.
debugging output;
	(_name2typeclass): Add name->type mapping.



svn: r7123
2006-08-04 21:59:57 +00:00
Alex Roitman
7ec636e06c * src/FilterEditor/_FilterEditor.py (__init__): Remove unneeded
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 20:29:26 +00:00
Alex Roitman
75b1296bfb * src/FilterEditor/_EditRule.py (MyID.name_from_gramps_id): Remove
debugginb output.


svn: r7121
2006-08-04 19:49:32 +00:00
Alex Roitman
2eb7395691 In .:
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
2006-08-04 19:36:18 +00:00
Zsolt Foldvari
ee44c52e61 2006-08-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* 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
2006-08-04 13:51:44 +00:00
Alex Roitman
ef9a4821b4 2006-08-03 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new files.



svn: r7118
2006-08-04 05:08:06 +00:00
Alex Roitman
4a10af66b8 * src/Filters/_GenericFilter.py (GenericFilterFactory): Add
factory function.
	* src/Filters/_FilterParser.py (FilterParser.startElement): Use
	factory function.
	* src/Filters/Rules/_MatchesFilterBase.py: Add base module.
	* src/Filters/Rules/Person/_MatchesFilter.py: Derive from base.
	* src/Filters/Rules/Family/_MatchesFilter.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/__init__.py: Expose new rules.
	


svn: r7117
2006-08-04 05:05:59 +00:00
Alex Roitman
82c267cc7d * src/GrampsLogger/_ErrorReportAssistant.py (build_page5): Typo.
svn: r7116
2006-08-03 22:11:48 +00:00
Alex Roitman
451688b309 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Person/__init__.py (editor_rule_list): Add
	RegExpIdOf.
	* src/Filters/Rules/Person/_RegExpIdOf.py: Cleanup.
	* src/Filters/Rules/_RegExpIdBase.py: Cleanup.
	* src/Filters/Rules/Person/_HasRelationship.py: Cleanup.
	* src/Filters/Rules/Family/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Family/_RegExpIdOf.py: Cleanup.
	* src/FilterEditor/_EditRule.py: Clean, localization fixes, ID
	selection fixes.
	* src/NameDisplay.py: Import gettext.
	* src/Filters/Rules/Family/_HasRelType.py (labels): Use lowercase.
	* src/FilterEditor/_EditFilter.py (on_add_clicked,
	on_edit_clicked): Catch exception.



svn: r7115
2006-08-03 19:49:29 +00:00
Zsolt Foldvari
1f8c76c0b8 2006-08-03 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/Check.py (cleanup_deleted_name_formats): Change hardcoded
	values with constants.
	* src/GrampsCfg.py: Unused constants cleanup.
	* src/DataViews/_PedigreeView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Improve performance of other views.
	* src/NameDisplay.py (name_grouping_data): Change hardcoded values
	with constants.



svn: r7114
2006-08-03 14:26:43 +00:00
Alex Roitman
b3db849bd6 2006-08-03 Alex Roitman <shura@gramps-project.org>
* 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-03 13:28:40 +00:00
Alex Roitman
0bdc9d0104 In .:
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
2006-08-03 01:14:54 +00:00
Don Allingham
5811a68714 * src/RelLib/_Place.py: Check for empty location
* src/Editors/_EditEvent.py: use default data change check


svn: r7111
2006-08-02 04:29:46 +00:00
Don Allingham
b301aa401f 2006-08-01 Don Allingham <don@gramps-project.org>
* 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
2006-08-01 23:50:47 +00:00
Alex Roitman
ffe0bdf5cc * src/NameDisplay.py: Rename local var id -> num
to avoid collission with the builtin function id().


svn: r7109
2006-08-01 20:31:19 +00:00
Alex Roitman
d05a9bdc86 2006-08-01 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (set_name_group_mapping): Use
	transaction.



svn: r7108
2006-08-01 16:24:27 +00:00
Jérôme Rapinat
543abbf8d5 update french translation
svn: r7107
2006-08-01 13:13:22 +00:00
Alex Roitman
05e47d3ed7 * ru.po: Start on Russian translation.
svn: r7106
2006-08-01 05:48:44 +00:00
Alex Roitman
4b24978bef * POTFILES.in: Remove obsolete file;
reflect the name change of Merge -> FindDupes.


svn: r7105
2006-08-01 04:37:31 +00:00
Alex Roitman
36d13d0bff In .:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_SearchBar.py (SearchBar.__init__): Take dbstate as
	a constructor argument; (SearchBar.apply_filter): pass dbstate.
	* src/PageView.py (BookMarkView.add_bookmark,
	PersonNavView.jumpto, PersonNavView.fwd_clicked,
	PersonNavView.back_clicked, ListView.build_widget): Pass dbstate.
	* src/Navigation.py (BaseNavigation.__init__,
	PersonNavigation.__init__): Take dbstate as a constructor argument;
	(PersonNavigation.build_item_name): properly access dbstate.
	* src/DisplayState.py (__init__): Do not take dbstate as a
	constructor argument; Do not connect dbstate signal here (moved to
	ViewManager);
	(display_relationship,push_message,modify_statusbar): Make dbstate
	an argument.
	* src/plugins/Checkpoint.py (run_tool): Pass dbstate.
	* src/ViewManager.py (_build_main_window): Do not pass dbstate to
	uistate DisplayState constructor; connect dbstate signal handler;
	pass dbstate to Navigation; (keypress): Pass dbstate;
	(statusbar_key_update): Pass dbstate;
	(do_load_plugins): Pass dbstate;
	(ViewManager.add_bookmark): Pass dbstate.
	* src/DataViews/_RelationView.py (shade_update): Pass dbstate.
	* src/DataViews/_PersonView.py (build_widget,_goto,
	key_goto_home_person, key_edit_selected_person): Pass dbstate.
	* src/Filters/Makefile.am (pkgdata_PYTHON): Remove obsolete file.
	* src/Filters/__init__.py: Remove importing obsolete module.
	* src/Filters/_FilterWidget.py: Remove obsolete module.

In po:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r7104
2006-08-01 04:31:10 +00:00
Don Allingham
ed76c8b5b1 * src/plugins/FindDupes.py: Fix title (bug 314)
* src/plugins/merge.glade: change button name (bug 315)


svn: r7103
2006-08-01 03:49:09 +00:00
Don Allingham
56c4f318e7 2006-07-31 Don Allingham <don@gramps-project.org>
* src/plugins/FindDupes.py: Fix title (bug 314) 



svn: r7102
2006-08-01 03:41:43 +00:00
Alex Roitman
e5bf432539 * src/plugins/Makefile.am (pkgdata_PYTHON): Remove unsupported reports.
svn: r7101
2006-08-01 03:15:36 +00:00