Commit Graph

4353 Commits

Author SHA1 Message Date
Don Allingham
b4a6202a31 * src/DataViews/_MediaView.py: slightly improve dnd
* src/DisplayModels/_BaseModel.py: handle sort column map
	* src/DisplayModels/_MediaModel.py: handle sort column map
	* src/DisplayModels/_RepositoryModel.py: handle sort column map
	* src/DisplayModels/_SourceModel.py: handle sort column map
	* src/DisplayModels/_EventModel.py: handle sort column map
	* src/DisplayModels/_FamilyModel.py: handle sort column map
	* src/DisplayModels/_PlaceModel.py: handle sort column map
	* src/PageView.py: handle sort column map
	


svn: r7153
2006-08-11 22:14:18 +00:00
Alex Roitman
9901bae55a 2006-08-11 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditFamily.py: Use cPickle.



svn: r7152
2006-08-11 18:56:53 +00:00
Don Allingham
2368211ba1 2006-08-10 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EmbeddedList.py: use cPickle instead of pickle
	* src/DisplayTabs/_GalleryTab.py: add dnd functionality
	* src/DdTargets.py: add URI_LIST and APP_ROOT



svn: r7151
2006-08-11 03:22:38 +00:00
Alex Roitman
f528c0d750 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
5f27a004c2 update french translation (all filters editors)
svn: r7149
2006-08-10 07:05:28 +00:00
Alex Roitman
d00a9f504d * 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
b19d9eaecb 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
e203195196 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
3b7644a3f1 * src/Config/_GrampsIniKeys.py: Allow multiple functions to use notify_add
svn: r7145
2006-08-09 03:12:15 +00:00
Alex Roitman
b1522eab91 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
693a413471 src/plugins/DetAncestralReport.py: print children when no mother exists
svn: r7143
2006-08-07 02:53:28 +00:00
Alex Roitman
7c742ec66a 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
096c7dde80 * 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
f2dd8211dc Update
svn: r7140
2006-08-06 20:51:46 +00:00
Alex Roitman
5eeb9df425 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
a2237d7da5 * 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
14504b1f30 Update
svn: r7137
2006-08-06 01:29:11 +00:00
Alex Roitman
dd41a8a651 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
f29fb679f3 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
d2aacaef86 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
e234127d4d update french translation
svn: r7133
2006-08-05 16:02:43 +00:00
Alex Roitman
b3c59ee0f0 Update
svn: r7132
2006-08-05 04:53:21 +00:00
Alex Roitman
c47d910fb1 * src/Filters/SideBar: Add new module.
svn: r7131
2006-08-05 04:41:56 +00:00
Alex Roitman
48b97d4961 Update
svn: r7130
2006-08-05 04:18:19 +00:00
Alex Roitman
59b3434621 * 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
7edd5cff60 Update
svn: r7128
2006-08-05 04:10:10 +00:00
Alex Roitman
e7dc7a9125 * 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
af33023e61 * 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
19a3a5fea4 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
2b070e9e5a * 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
47d6700f60 * 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
d265fadc1f * 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
b7ddf09cba * src/FilterEditor/_EditRule.py (MyID.name_from_gramps_id): Remove
debugginb output.


svn: r7121
2006-08-04 19:49:32 +00:00
Alex Roitman
49d002f75c 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
bbdb648dec 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
9a9bf37d6f 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
929c918486 * 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
b6be1b4369 * src/GrampsLogger/_ErrorReportAssistant.py (build_page5): Typo.
svn: r7116
2006-08-03 22:11:48 +00:00
Alex Roitman
7c5077280c 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
5af5a2a3c2 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
76be2957b4 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
b4c035fbc1 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
92b1f152e1 * 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
e59d065ada 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
c6032a659f * 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
13edf04889 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
e2313aaba4 update french translation
svn: r7107
2006-08-01 13:13:22 +00:00
Alex Roitman
2a4fd9a22e * ru.po: Start on Russian translation.
svn: r7106
2006-08-01 05:48:44 +00:00
Alex Roitman
fd782260f3 * POTFILES.in: Remove obsolete file;
reflect the name change of Merge -> FindDupes.


svn: r7105
2006-08-01 04:37:31 +00:00
Alex Roitman
230d3b7d69 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