Commit Graph

2905 Commits

Author SHA1 Message Date
Alex Roitman
3698662a64 * src/Selectors/_SelectEvent.py (get_handle_column): Correct
handle column number.


svn: r7236
2006-08-22 17:02:15 +00:00
Alex Roitman
39d4884cb4 * configure.in: Reflect directory change.
* src/Filters/Rules/MediaObject/Makefile.am: Reflect directory change.


svn: r7235
2006-08-22 16:54:40 +00:00
Alex Roitman
fbad5f8fde In .:
* src/Filters/Rules/Makefile.am (SUBDIRS): Reflect directory change.
In po:
2006-08-22  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Reflect directory change.



svn: r7234
2006-08-22 16:52:20 +00:00
Alex Roitman
686a956248 * src/Filters/Rules/MediaObject: Added to replace Media.
* 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
2006-08-22 16:49:21 +00:00
Alex Roitman
00500b4fa6 2006-08-22 Alex Roitman <shura@gramps-project.org>
* src/glade/gramps.glade: Make MediaRef editor's General label bold.



svn: r7232
2006-08-22 15:19:25 +00:00
Alex Roitman
a57f686668 * src/FilterEditor/_FilterEditor.py (close): Override parent's close.
* src/Filters/_FilterMenu.py (build_filter_menu,
	build_filter_model): Import Custom and System filters when needed.
	* src/plugins/Calendar.py (get_filters): Import Custom
	filters when needed.
	* src/plugins/GraphViz.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/IndivComplete.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/NarrativeWeb.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/StatisticsChart.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/TimeLine.py (get_report_filters): Import Custom
	filters when needed.


svn: r7231
2006-08-22 05:28:55 +00:00
Alex Roitman
5974a4864b * src/plugins/EventCmp.py (__init__): Add custom filters.
svn: r7230
2006-08-22 05:05:07 +00:00
Alex Roitman
b6773c06a7 * src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra
unicode conversion.


svn: r7229
2006-08-22 04:58:17 +00:00
Don Allingham
cd533318bd * src/GrampsDb/_ReadGedcom.py: handle inline repositories better
svn: r7228
2006-08-22 04:27:59 +00:00
Alex Roitman
7f40a17065 2006-08-21 Alex Roitman <shura@gramps-project.org>
* src/plugins/Checkpoint.py (__init__): Assign dbstate.



svn: r7227
2006-08-22 03:32:00 +00:00
Don Allingham
e9579f1092 2006-08-21 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix handle column after removal
	of cause of death
	* src/GrampsDb/_WriteGedcom.py: handle custome events for people (bug
	# 368)



svn: r7226
2006-08-22 03:19:37 +00:00
Alex Roitman
62f515e1d4 * src/DataViews/_PersonView.py (column_names): Remove cause of death.
* src/DisplayModels/_PeopleModel.py (__init__): Update the order
	of marker and tooltip columns;
	(column_cause_of_death): remove method;
	(COLUMN_DEFS): Remove 'cause of death' column.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Reset event
	and person view columns to the default.
	* src/GrampsDb/_GrampsDbBase.py (get_event_column_order): Remove
	cause column from the default list.
	(get_person_column_order): Remove cause of death column.



svn: r7224
2006-08-21 06:32:31 +00:00
Alex Roitman
da52c73c94 * src/GrampsDb/_ReadGedcom.py (GedcomParser.__init__): Use config
setting to determine whether to set default source.


svn: r7223
2006-08-21 05:42:56 +00:00
Alex Roitman
71a9697282 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Regenerate file.
	* src/GrampsCfg.py (add_behavior_panel): Use new key.
	* data/gramps.schemas.in: Add default-source key.



svn: r7222
2006-08-21 05:32:07 +00:00
Don Allingham
5f2ed45b6d 2006-08-20 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix CHAN parsing for family



svn: r7220
2006-08-21 03:39:13 +00:00
Brian Matherly
ead3374396 * src/plugins/EventCmp.py: improve Date/Place display (#0000226)
svn: r7219
2006-08-21 03:20:39 +00:00
Alex Roitman
e407d28d90 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_EventView.py (column_names): Remove cause column.
	* src/DisplayModels/_EventModel.py: Use constants for column
	numbers; remove cause column.	



svn: r7218
2006-08-21 02:10:55 +00:00
Brian Matherly
52fa9ea155 ordering (A-Z) the event type for choice list on "change event type" tool (#0000365)
svn: r7217
2006-08-21 00:34:07 +00:00
Brian Matherly
de4bf165b9 * src/Config/_GrampsIniKeys.py: Report error on invalid filename
* src/const.py.in: detect windows home directory before others

svn: r7216
2006-08-20 21:52:49 +00:00
Alex Roitman
781427247b 2006-08-19 Alex Roitman <shura@gramps-project.org>
* src/plugins/MediaManager.py (Convert2Rel._run): Correct logic.



svn: r7210
2006-08-20 02:27:55 +00:00
Alex Roitman
d735669146 * NEWS: Update.
svn: r7208
2006-08-19 05:16:42 +00:00
Alex Roitman
b0ca5b35d6 confirmation; add new operation.
svn: r7206
2006-08-19 03:55:02 +00:00
Alex Roitman
f16dfca225 * src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method.
svn: r7205
2006-08-19 00:48:01 +00:00
Alex Roitman
4f30e850ec 2006-08-18 Alex Roitman <shura@gramps-project.org>
* src/plugins/MediaManager.py: Add list of affected paths to the
	confirmation.



svn: r7203
2006-08-18 20:45:58 +00:00
Alex Roitman
de8ba4a19d * src/plugins/MediaManager.py: Change info wording.
svn: r7202
2006-08-18 06:04:54 +00:00
Alex Roitman
7ed80c8743 * src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
obsolete method.


svn: r7201
2006-08-18 05:59:44 +00:00
Alex Roitman
706f8887a5 2006-08-17 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Correct constants to accomodate Name change.
	* src/GrampsDb/_GrampsBSDDB.py: Upgrade the names.
	* src/RelLib/_Name.py: Remove sname attribute.



svn: r7200
2006-08-18 05:49:25 +00:00
Don Allingham
5ee9a2ed9b 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: apply filter to calcuated data before
	deleting a person from the list



svn: r7199
2006-08-18 04:43:03 +00:00
Brian Matherly
d760adaa58 * src/plugins/NarrativeWeb.py: fix #0000349: NarrativeWebsite sorting
svn: r7197
2006-08-18 01:16:13 +00:00
Don Allingham
35d691568a 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild after compare and
	merge (bug #350)



svn: r7193
2006-08-17 21:48:12 +00:00
Alex Roitman
3771ae49d5 2006-08-17 Alex Roitman <shura@gramps-project.org>
* src/StartupDialog.py (__init__): Pass its class to Assistant.
	* src/Exporter.py (__init__): Pass its class to Assistant.
	* src/Assistant.py (__init__): Accept parent class (to make
	assistants unique *only* within their type);
	(prepare_text_page): Use markup in the text.
	* NEWS: Update.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/plugins/MediaManager.py: Add new plugin (still in progress).



svn: r7192
2006-08-17 21:39:20 +00:00
Don Allingham
7c775e8ee8 2006-08-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild display after a merge of
	two people (bug #348)



svn: r7190
2006-08-17 03:35:44 +00:00
Alex Roitman
558eec46e7 * src/Filters/Rules/Person/__init__.py (editor_rule_list): Add
Disconnected rule to the Custom Filter rules.


svn: r7189
2006-08-16 18:53:40 +00:00
Alex Roitman
0a2cf182c0 2006-08-16 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py (Disconnected): Add verification rule;
	(Verify.run_tool): Use the new rule.
	* src/Filters/Rules/Person/_Disconnected.py (apply): Fix rule.



svn: r7188
2006-08-16 18:40:10 +00:00
Alex Roitman
f087ee7b33 * src/FilterEditor/_EditFilter.py (on_edit_clicked,on_add_clicked):
Pass filter name to the rule editor.
	* src/FilterEditor/_EditRule.py (EditRule.__init__): Pass filter
	name to MyFilters.
	(MyFilters.__init__): Exclude filter being edited from the
	matching filter.


svn: r7187
2006-08-16 04:45:45 +00:00
Alex Roitman
bd797c7aa5 * example/gramps/data.gramps: Add Age and Cause event attributes.
* example/gramps/example.gramps: Add Age and Cause  event attributes.


svn: r7186
2006-08-16 04:24:33 +00:00
Don Allingham
b588b17598 * src/GrampsDb/_WriteGedcom.py: support for AGE, CAUSE, and AGENCY
svn: r7185
2006-08-16 02:31:29 +00:00
Don Allingham
207c6f6690 2006-08-15 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: support for AGE, CAUSE, and AGENCY
	* src/GrampsDb/_GedTokens.py: support for AGE and AGENCY



svn: r7184
2006-08-16 00:30:37 +00:00
Alex Roitman
c384e8e0bc * src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
in event and eventref;
	(stop_cause): Create attribute on cause tag.
	* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
	* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
	* data/grampsxml.rng: Document XML changes (xml 1.1.2).
	* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
	* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
	(write_event): write attributes, remove cause.


svn: r7182
2006-08-15 20:59:12 +00:00
Alex Roitman
617116064f 2006-08-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: Cleanup on upgrades.



svn: r7181
2006-08-15 15:33:28 +00:00
Alex Roitman
244300257d 2006-08-14 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Add an upgrade
	path from 2.1.91.
	* src/RelLib/_AttributeType.py: Add new attribute types for events
	and event references.
	* src/RelLib/_EventRef.py: Add attribute list.
	* src/RelLib/_Event.py: Add attribute list.



svn: r7180
2006-08-15 05:24:38 +00:00
Brian Matherly
67ce7afca1 * src/ManagedWindow.py: mask strange Windows logging error on close
svn: r7179
2006-08-15 03:12:14 +00:00
Alex Roitman
31555811bb * src/docgen/PdfDoc.py: Work for both utf8 and latin-1 capable
reportlab versions.


svn: r7178
2006-08-14 20:44:12 +00:00
Alex Roitman
176e766c7d * src/Filters/Rules/Family/_ChildHasNameOf.py (description): Typo.
* src/Filters/Rules/Family/_ChildHasIdOf.py (description): Typo.
	* src/Filters/Rules/Family/_FatherHasNameOf.py (description): Typo.
	* src/Filters/Rules/Family/_FatherHasIdOf.py (description): Typo.
	* src/Filters/Rules/Family/_MotherHasNameOf.py (description): Typo.
	* src/Filters/Rules/Family/_MotherHasIdOf.py (description): Typo.


svn: r7177
2006-08-14 20:34:25 +00:00
Alex Roitman
90c53ea10d 2006-08-14 Alex Roitman <shura@gramps-project.org>
* src/Makefile.am (docs): Use new project website in API docs.



svn: r7176
2006-08-14 17:13:43 +00:00
Don Allingham
d73c448bb2 2006-08-14 Don Allingham <don@gramps-project.org>
* src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344)
	* src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344)



svn: r7175
2006-08-14 13:13:45 +00:00
Brian Matherly
669ecca632 * src/ManagedWindow.py: add present() to force parent focus (#0000342)
svn: r7174
2006-08-14 04:29:43 +00:00
Alex Roitman
5ad681c5d6 * configure.in: Increment the version.
* Release: the 2.1.91 has been released.


svn: r7173
2006-08-14 03:45:52 +00:00
Don Allingham
744c3f6413 2006-08-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEventRef.py: add attribute list, remove cause
	* src/Editors/_EditEvent.py: add attribute list, remove cause
	* src/glade/gramps.glade: event fixes



svn: r7172
2006-08-14 03:32:20 +00:00
Alex Roitman
b3eebe94a7 2006-08-13 Alex Roitman <shura@gramps-project.org>
* NEWS: Update.



svn: r7171
2006-08-14 02:23:06 +00:00
Don Allingham
ff0967e18d 2006-08-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix drag-n-drop
	* src/DisplayTabs/_GalleryTab.py: handle media obj and media ref 
	for drag-n-drop
	* src/DdTargets.py: add media ref type



svn: r7169
2006-08-14 01:50:47 +00:00
Brian Matherly
f98617dbf7 * src/gramps.py: catch logging error and ignore.
svn: r7168
2006-08-13 04:18:59 +00:00
Don Allingham
8dbbc8a0b0 * src/ReportBase/_FileEntry.py (FileEntry.select_file): force
a present() to force dialog


svn: r7167
2006-08-13 04:06:12 +00:00
Brian Matherly
ab6154ee77 * src/plugins/FamilyGroup.py: use family_id instead of spouse_id
svn: r7166
2006-08-13 03:32:59 +00:00
Alex Roitman
5b9c033946 (close): Close metadata after the checkpoint.
svn: r7165
2006-08-13 00:23:06 +00:00
Alex Roitman
193a59595d (vb_clicked): Add method to restore pressed view if same button is
repeteadely clicked.


svn: r7164
2006-08-12 23:32:05 +00:00
Don Allingham
cab2258c7a 2006-08-12 Don Allingham <don@gramps-project.org>
* src/Merge/_MergePerson.py: properly merge notes



svn: r7163
2006-08-12 21:59:32 +00:00
Alex Roitman
cb1323f4f9 * src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
work with UseTXN set either way.


svn: r7162
2006-08-12 21:55:52 +00:00
Alex Roitman
a2cf746c00 * src/ViewManager.py (_connect_signals): Connect to the proper
event to cleanly quit on window manager's close action.
	(quit): Allow variable number of args (to work with signals).


svn: r7161
2006-08-12 21:13:45 +00:00
Alex Roitman
400f1bde64 2006-08-12 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_MediaView.py (drag_data_received): Stop emission.



svn: r7160
2006-08-12 18:19:25 +00:00
Don Allingham
2930ed9a9d * src/ScratchPad.py: fix removal of invalid objects (bug #291)
* src/PageView.py: fix search argument when filter applied (but #317)


svn: r7159
2006-08-12 17:24:36 +00:00
Don Allingham
5c12d70cfe 2006-08-12 Don Allingham <don@gramps-project.org>
* src/PageView.py: fix search argument when filter applied



svn: r7158
2006-08-12 15:27:55 +00:00
Alex Roitman
3949150144 * NEWS: Update.
svn: r7157
2006-08-12 06:47:58 +00:00
Brian Matherly
4cc4fbf72c * src/plugins/DetDescendantReport.py: fix spouse name printing
* src/plugins/DetAncestralReport.py: fix spouse name printing

svn: r7156
2006-08-12 03:37:05 +00:00
Don Allingham
0c8510fab8 2006-08-11 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix sorting of names



svn: r7155
2006-08-12 00:14:16 +00:00
Alex Roitman
c7ff96af1d * src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
svn: r7154
2006-08-11 23:46:24 +00:00
Don Allingham
6e47c80b0c * 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
8b2e263f69 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
fe546d284a 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
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
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
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
Alex Roitman
aadd18e42b * src/Filters/SideBar: Add new module.
svn: r7131
2006-08-05 04:41:56 +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
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
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