Commit Graph

2648 Commits

Author SHA1 Message Date
Martin Hawlisch
52b0549e99 * src/EditPerson.py: Remove unneeded arguments.
* src/Marriage.py: Remove unneeded arguments.


svn: r4284
2005-04-02 06:12:46 +00:00
Don Allingham
429efefade * src/EditPerson.py: removed unused callback functions
* src/GrampsDbBase.py: remove duplicate signal emissions
* src/SourceView.py: reformat code
* src/Sources.py: catch source-add signal and redraw menu


svn: r4283
2005-04-02 05:33:06 +00:00
Alex Roitman
8ea7b9aee2 * src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument.
svn: r4281
2005-04-02 00:11:21 +00:00
Don Allingham
9ed7d79704 * src/AddSpouse.py: remove unused callbacks
* src/FamilyView.py: remove unused callbacks


svn: r4280
2005-04-01 21:51:27 +00:00
Don Allingham
c4fbd798bd added
svn: r4279
2005-04-01 20:50:19 +00:00
Martin Hawlisch
0e310a0719 * src/plugins/TestcaseGenerator.py: Small changes to family generation
* src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types


svn: r4278
2005-04-01 20:32:06 +00:00
Don Allingham
64277bb707 * src/GrampsDBCallback.py: rewrite of new callback scheme using python signals
* src/GrampsDbBase.py: handle signals instead of callback functions
* src/GrampsInMemDB.py: handle signals instead of callback functions
* src/Makefile.am: Add GrampsDBCallback.py
* src/PeopleView.py: handle signals instead of callback functions
* src/PlaceView.py: handle signals instead of callback functions
* src/SourceView.py: handle signals instead of callback functions


svn: r4277
2005-04-01 20:04:12 +00:00
Don Allingham
4306a639e7 * src/gramps.glade: disable scrollbars in Pedigree View
* src/PedView.py: Apply Martin Hawlisch's canvas resize patch


svn: r4276
2005-04-01 19:34:11 +00:00
Richard Taylor
4104ec0dcf 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (on_photolist_drag_data_get): forgot to remove print statement.


svn: r4275
2005-04-01 15:58:33 +00:00
Richard Taylor
2d42bb07f5 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: added dnd type for media objects
	* src/ImageSelect.py: altered dnd code to use gramps specific dnd target
	when dnd is used between gramps windows.
	* src/plugins/ScratchPad.py: added support for media object. This is still
	a little simplistic. It would be nice to generate thumbnails as tooltips and
	to access some of the image meta data in the ui.


svn: r4274
2005-04-01 15:15:36 +00:00
Richard Taylor
40be278f7d 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd


svn: r4273
2005-04-01 14:42:47 +00:00
Richard Taylor
48dfcc8f00 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.register_wrapper_classes,
	ScratchPadName): added support for Names
	* src/EditPerson.py (EditPerson.__init__, EditPerson.name_drag_data_get,
	EditPerson.name_drag_begin, EditPerson.name_drag_data_received): added dnd for Names
	* src/DdTargets.py (_DdTargets.__init__, _DdTargets.all_gramps_types,
	_DdTargets.all_gramps_targets): added Names as dnd target.


svn: r4272
2005-04-01 14:22:26 +00:00
Richard Taylor
8e27911ccc 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPerson.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPlace.py: changed pickle to cPickle. cPickle is much faster.
	* src/Marriage.py: changed pickle to cPickle. cPickle is much faster.
	* src/Sources.py: changed pickle to cPickle. cPickle is much faster.


svn: r4271
2005-04-01 13:39:34 +00:00
Richard Taylor
68d6129de1 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.object_drag_data_received,
	ScratchPadListView.on_object_select_row): disables drop that originates from the
	pad itself and enabled dropping into the correct row as indicated by the
	UI.


svn: r4270
2005-04-01 13:22:28 +00:00
Martin Hawlisch
73864c588e * src/plugins/TestcaseGenerator.py: Added generation of invalid event references of persons
* src/plugins/Check.py: Check for invalid event references of persons


svn: r4269
2005-04-01 09:59:18 +00:00
Martin Hawlisch
692fafe9c9 * src/plugins/Check.py: new database callback scheme; Use Utils.family_name.
* src/plugins/ChangeNames.py: new database callback scheme
* src/plugins/TestcaseGenerator.py: new database callback scheme


svn: r4268
2005-04-01 07:39:21 +00:00
Don Allingham
19fe252c4c * src/AddSpouse.py: new database callback scheme. This scheme
provides a registration mechanism to signal interested objects
when database commits occur. The eliminates most of all callback
functions tied to interface windows.
* src/AddrEdit.py: new database callback scheme
* src/AttrEdit.py: new database callback scheme
* src/ChooseParents.py: new database callback scheme
* src/EditPerson.py: new database callback scheme
* src/EditPlace.py: new database callback scheme
* src/EditSource.py: new database callback scheme
* src/EventEdit.py: new database callback scheme
* src/FamilyView.py: new database callback scheme
* src/GrampsBSDDB.py: new database callback scheme
* src/GrampsDbBase.py: new database callback scheme
* src/GrampsInMemDB.py: new database callback scheme
* src/Marriage.py: new database callback scheme
* src/NameEdit.py: new database callback scheme
* src/PeopleView.py: new database callback scheme
* src/PlaceView.py: new database callback scheme
* src/ReadGedcom.py: new database callback scheme
* src/ReadXML.py: new database callback scheme
* src/SourceView.py: new database callback scheme
* src/Sources.py: new database callback scheme
* src/gramps_main.py: new database callback scheme


svn: r4267
2005-04-01 05:33:22 +00:00
Alex Roitman
ff098f8093 * src/plugins/ScratchPad.py (ScratchPadWindow.__init__): Minor change.
svn: r4266
2005-04-01 05:09:59 +00:00
Alex Roitman
6ed43eb355 * src/GrampsBSDDB.py (upgrade): Delegate particular versioned
upgrades to separate methods; provide upgrade_5 method.
* src/RelLib.py: Remove place from MediaObjects; minor improvements.
* src/SourceView.py (button_press): Proper selection on double-click.
* src/plugins/Check.py (check_for_broken_family_links): Typo.


svn: r4265
2005-04-01 04:34:31 +00:00
Alex Roitman
4e41a60fa9 Update
svn: r4264
2005-04-01 04:28:00 +00:00
Martin Hawlisch
ef004a26a8 * plugins/TestcaseGenerator.py: Added a dialog to specify what is to be generated and a
ProgressBar. Enhanced family tree generation and randomized names a little more. You can
now generate thousands of people :-)


svn: r4263
2005-03-31 14:23:39 +00:00
Richard Taylor
24c870a234 2005-03-31 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/stock_link.png: added icon for scratchpad display
	* src/DdTargets.py (all_text): new method to return all text ddtypes
	* src/TreeTips.py (__treetip_show): added support for tips to be callable
	methods so that tips can be generated on the fly.
	* src/plugins/Makefile.am: added stock_link.png icon
	* src/plugins/ScratchPad.py: almost complete rewrite to make proper use
	of gtk widgets and make more flexible for adding support for new
	dnd object types. Added link icon if the object is a link to a primary
	object.


svn: r4262
2005-03-31 13:16:20 +00:00
Don Allingham
b2de2eaa67 * src/MergePeople.py: provide more date in compare window, fix event
merging for families. Copy alternate names.
* src/plugins/Merge.py: support for new merge technique
* src/PeopleView.py: divide rebuild_data into two functions
* src/PeopleModel.py: clean up insertion functions
* src/gramps_main.py: remove unused code


svn: r4261
2005-03-31 04:30:44 +00:00
Don Allingham
3555a567a3 * src/MergePeople.py: provide more date in compare window, fix event
merging for families. Copy alternate names.


svn: r4260
2005-03-31 03:54:17 +00:00
Don Allingham
deed870ac6 update
svn: r4259
2005-03-31 03:33:27 +00:00
Don Allingham
547379eadf * src/MergePeople.py: provide more date in compare window, fix event
merging for families.


svn: r4258
2005-03-31 03:30:16 +00:00
Martin Hawlisch
0a8fa3357b small typo
svn: r4257
2005-03-30 20:44:12 +00:00
Martin Hawlisch
a8a02b241e * plugins/TestcaseGenerator.py: Added some more testcases of invalid relations
* plugins/Check.py: Added some comments an handling for some more invalid references


svn: r4256
2005-03-30 10:37:40 +00:00
Don Allingham
94d4aa7288 update
svn: r4255
2005-03-30 03:50:25 +00:00
Don Allingham
9d2dffcc9d * src/ReadXML.py: handle date object on names
* src/gramps.glade: add menu items for merging
* src/MergePeople.py: new person merge
* src/gramps_main.py: merge handling callbacks
* src/mergedata.glade: updated interface for merging

* src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4254
2005-03-30 01:45:14 +00:00
Alex Roitman
1856f08d98 * src/gramps_main.py (undo_callback,redo_callback): Minor
improvements, (read_file): Always re-initialize Undo and Redo items
to insensitive blanks after new database load; (post_load): Set up
database's callbacks for Undo and Redo after load.
* src/gramps.glade: Make Redo label non-stock to allow label change.


svn: r4253
2005-03-29 19:47:59 +00:00
Alex Roitman
753b5c28ec * src/gramps_main.py (delete_person_response): Object/handle mixups,
remove unneeded commits.


svn: r4252
2005-03-29 16:41:40 +00:00
Alex Roitman
d05a9a483a * src/Witness.py (WitnessEditor.__init__): Work around missing
reference.


svn: r4251
2005-03-29 16:05:50 +00:00
Richard Taylor
14526ad71d 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (on_object_select_row): fixed the drop of
	text into TextView widgets.


svn: r4250
2005-03-29 15:19:26 +00:00
Richard Taylor
0bb98262c9 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: add family targets to target list functions
	* src/Marriage.py (at_dest_drag_data_received, ev_dest_drag_data_received,
	ev_source_drag_data_get, at_source_drag_data_get): fixed dnd methods and
	added use of DdTarget types.
	* src/plugins/ScratchPad.py (generate_family_event_tooltip,
	generate_family_event_tooltip, redraw_object_list): added support for
	family events and attributes.


svn: r4249
2005-03-29 13:16:24 +00:00
Alex Roitman
c5f181eecb Update
svn: r4248
2005-03-28 05:05:38 +00:00
Alex Roitman
18579c0a65 Update
svn: r4247
2005-03-28 04:59:04 +00:00
Alex Roitman
adfdc9c807 * src/RelLib.py (NoteBase,PlaceBase): Add new classes.
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.


svn: r4246
2005-03-28 04:58:28 +00:00
Don Allingham
7bc078bb43 * src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4245
2005-03-28 04:36:09 +00:00
Alex Roitman
59e1448c9e * src/MergeData.py: Files for places and sources.
* src/PlaceView.py (build_context_menu): Typo.
* src/SourceView.py (__init__,build_tree): Allow multiple,
selections; (merge): Add placeholder method (borrowed from places,
needs work.
* src/gramps_main.py (on_views_switch_page): Enable merge button;
(on_merge_activate): Call merge for sources.


svn: r4244
2005-03-28 04:22:09 +00:00
Alex Roitman
eacd125000 * src/RelLib.py (Source.replace_source_references): Add method.
* src/MergeData.py (MergeSources.merge): Use new handle replacement.


svn: r4243
2005-03-27 06:14:06 +00:00
Don Allingham
8c5668983e * src/MergeData.py: Add interface support for parents/family merging
svn: r4242
2005-03-26 23:50:56 +00:00
Martin Hawlisch
510bc975ac * src/plugins/Check.py (check_parent_relationships): Catch some more database errors. Messages in the report still need some work.
* src/plugins/TestcaseGenerator.py: New plugin that creates some of the errors that crashed Check.py before.


svn: r4241
2005-03-26 21:59:15 +00:00
Don Allingham
20a785d887 * src/EventEdit.py: Display error message if event type not specified.
* src/gramps_main.py: fix merge callback


svn: r4240
2005-03-26 15:27:39 +00:00
Martin Hawlisch
bbb46e93c6 * src/plugins/Check.py (check_parent_relationships): typo
svn: r4239
2005-03-26 15:00:05 +00:00
Martin Hawlisch
501596d92a * src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database
svn: r4238
2005-03-26 10:53:27 +00:00
Richard Taylor
0b5eeddbd1 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPadWindow): moved content of pad to a
	class attribute so that it is preserved when the pad is closed.
	* src/ScratchPad.py (add_itself_to_menu, remove_itself_from_menu):
	removed large section of commented code.


svn: r4237
2005-03-25 21:20:12 +00:00
Richard Taylor
972608e9e0 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Sources.py: converted to use DdTargets.py
	* src/FamilyView.py: converted to use DdTargets.py
	* src/EditPerson.py: converted to use DdTargets.py
	* src/EditPlace.py: converted to use DdTargets.py
	* src/Marriage.py: converted to use DdTargets.py
	* src/DdTargets.py: added targets for FAMILY_EVENT, FAMILY_ATTRIBUTE,
	CHILD and SPOUSE


svn: r4236
2005-03-25 21:05:09 +00:00
Alex Roitman
5f0f7001fa * src/plugins/FilterEditor.py: single instance, help.
* src/rule.glade: icon, help.
* src/plugins/SoundGen.py: single instance, icon, help.
* src/soundex.glade: help.
* src/plugins/RelCalc.py: icon.
* src/plugins/ScratchPad.py: single instance, help.
* src/scratchpad.glade: help.


svn: r4235
2005-03-25 03:34:52 +00:00
Alex Roitman
0f1878e639 * src/plugins/ChangeTypes.py: icon, window management, single instance.
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.


svn: r4234
2005-03-25 00:24:37 +00:00
Alex Roitman
405ff3259b Update
svn: r4233
2005-03-24 18:54:30 +00:00
Alex Roitman
aca6e4ad2d * src/RelLib.py (Witness.__init__): Typo.
* src/plugins/Check.py (cleanup_missing_photos): Use new mediaref
detection/removal, icons, window management.
* src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once.


svn: r4232
2005-03-24 17:17:01 +00:00
Richard Taylor
cced1bce37 2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: new module to manage drag and drop target data.
	* src/Makefile.am: added DdTargets.py
	* src/ScratchPad.py: modified to use DdTargets.py. This is the first
	stage. I will look at modifying EditPersons.py to use DdTargets.py next


svn: r4231
2005-03-24 13:44:54 +00:00
Alex Roitman
77b07938b4 * src/gramps_main.py (tool_callback): Typo.
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.


svn: r4230
2005-03-24 06:22:25 +00:00
Alex Roitman
2c47e2bfb2 * src/plugins/Verify.py (VerifyResults): Add class for displaying
results; help for the settings window; single instance of the tool.
* src/plugins/verify.glade: HIG compliance, break things into tabs.


svn: r4229
2005-03-24 03:27:02 +00:00
Don Allingham
f1e334381b * src/EventEdit.py: Display error message if event type not specified.
* src/gramps_main.py: fix merge callback


svn: r4228
2005-03-23 22:58:46 +00:00
Martin Hawlisch
00e5489ed4 * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
svn: r4227
2005-03-23 22:13:33 +00:00
Don Allingham
d1a0912d50 * src/EventEdit.py: disable OK button if event type is an empty string
* src/gramps_main.py: fix merge callback


svn: r4226
2005-03-23 22:01:22 +00:00
Martin Hawlisch
4f52248015 * src/RelLib.py: Added self.get_date() to
get_text_data_child_list(). This way the date is searchable in the full-text search filter.


svn: r4225
2005-03-23 16:08:26 +00:00
Alex Roitman
4badbed6ed Update
svn: r4224
2005-03-23 15:48:40 +00:00
Alex Roitman
14a9c942be * src/RelLib.py (PrivacyBase): Add base class for privacy capabilities;
(PrivateSourceNote): Inherits from SourceNote and PrivacyBase;
(MediaRef,Url,Witness,SourceRef): Remove unneeded privacy methods.
* src/ImageSelect.py (GlobalMediaProperties.display_refs): Typos.


svn: r4223
2005-03-23 13:46:06 +00:00
Alex Roitman
13dfeb6be8 * src/Sources.py: Use get_date_object (not get_date) for source refs.
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
2005-03-22 23:59:51 +00:00
Alex Roitman
61a713d91d Remove unicode handles for places
svn: r4221
2005-03-22 17:28:04 +00:00
Alex Roitman
e8175c659e Update
svn: r4220
2005-03-22 17:23:53 +00:00
Alex Roitman
e1fc21adbd Update
svn: r4219
2005-03-22 16:25:47 +00:00
Alex Roitman
dbaa853dae * src/RelLib.py: Move handle_reference methods from BaseObject to
PrimaryObject; (MediaBase): Remove recursive child-related operations
on mediarefs, since only primary objects have mediarefs;
Rename DataObj to PrivateObject; (People,Family,Event,MediaObject):
remove get_handleholder_list, add low-level handle reference detector.


svn: r4218
2005-03-22 16:23:53 +00:00
Alex Roitman
8f9092d8b1 * src/RelLib.py (MediaBase): Add base class for media references;
(BaseObject): Add has_handle_reference, remove_handle_references,
and replace_handle_reference methods; (SourceNote): Add
replace_source_references method; (People,Family,Event,MediaObject):
Add handle_reference methods.


svn: r4217
2005-03-22 13:55:13 +00:00
Julio Sánchez
17fc1f1be1 * src/MergeData.py: further changes to adapt to new API
svn: r4216
2005-03-21 05:53:42 +00:00
Alex Roitman
dc2cffbd27 Update
svn: r4215
2005-03-20 04:02:17 +00:00
Alex Roitman
f5428cce1e * src/gramps.glade: Add tolltip to scratchpad button.
svn: r4214
2005-03-20 02:33:36 +00:00
Don Allingham
038147b649 * src/GrampsDbBase.py: handle new column
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.


svn: r4213
2005-03-19 23:44:01 +00:00
Alex Roitman
d31fffd8df * src/gramps.glade: Add date LED buttons for LDS dates.
* src/EditPerson.py (draw_lds): Add date LED buttons for LDS dates;
(lds_field): Always set date text for LDS dates.
* src/Marriage.py (__init__): Add date LED button for LDS date.


svn: r4212
2005-03-19 18:21:57 +00:00
Alex Roitman
d934019e04 Update
svn: r4211
2005-03-19 18:12:04 +00:00
Alex Roitman
aa8849d091 * doc/gramps-manual/C/figures/export-druid.png: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.


svn: r4208
2005-03-19 06:26:23 +00:00
Richard Taylor
b31ebf5ee3 2005-03-18 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
	* src/EditPerson.py (x_drag_data_received): fixed problem with
	drag and drop of objects that have srcrefs.


svn: r4206
2005-03-18 12:16:41 +00:00
Alex Roitman
dac485ee26 * src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
2005-03-17 20:33:36 +00:00
Martin Hawlisch
42353719e3 typo
svn: r4201
2005-03-17 19:38:03 +00:00
Martin Hawlisch
3dfcf51269 * src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception when default value could not be get from gconf schema
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception and check for installed MIME-type. Show error because installation is incomplete.


svn: r4200
2005-03-17 19:28:00 +00:00
Alex Roitman
d105ef6be0 * acinclude.m4: Add macro for defining SHARED_MIME_DIR.
* configure.in: Use AM_SHARED_MIME macro.
* src/data/Makefile.am: Use defined GCONF_SCHEMA_FILE_DIR and
SHARED_MIME_DIR, not the hardcoded paths.


svn: r4199
2005-03-17 17:19:34 +00:00
Martin Hawlisch
7f7c81d080 * src/Exporter.py (build_info_page): proofreading; (build_format_page): shrink the size of the window by using tooltips to display the format description.
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export


svn: r4197
2005-03-17 12:51:14 +00:00
Martin Hawlisch
fd67637913 * src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
* src/const.py.in: added mime for vCard import.


svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
11c61d5766 * src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.


svn: r4195
2005-03-16 16:38:20 +00:00
Alex Roitman
381110412b Update
svn: r4194
2005-03-16 16:37:33 +00:00
Martin Hawlisch
09cff3f693 * src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.


svn: r4193
2005-03-16 14:13:33 +00:00
Richard Taylor
1e49f78a37 2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPad): improved the generation of
	tooltip information for most object types.


svn: r4192
2005-03-16 13:52:04 +00:00
Richard Taylor
8e1ee40111 2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/EditPerson.py (EditPerson.ev_drag_data_received): Fixed
    drag and drop of events.


svn: r4191
2005-03-16 08:51:53 +00:00
Alex Roitman
ce483b0966 * src/data/gramps.xml: Correct GW magic to not collide with XML.
svn: r4189
2005-03-16 06:04:45 +00:00
Martin Hawlisch
1c452df605 * src/plugins/ImportGeneWeb.py: fixed small typos
svn: r4188
2005-03-15 21:04:44 +00:00
Martin Hawlisch
56150c93e6 HasTextMatchingSubstringOf: Syncronized filter name
svn: r4187
2005-03-15 20:16:16 +00:00
Alex Roitman
0b892faff2 * src/GenericFilter.py (HasTextMatchingSubstringOf):
Rename FullTextSearch as well as its descriptions.
* src/gramps_main.py: Change string for filter menu.
* src/plugins/FilterEditor.py (EditRule.__init__): Hide window while
drawing.
* src/DateEdit.py (DateEditorDialog.__init__): Hide window while
drawing.


svn: r4186
2005-03-15 16:26:30 +00:00
Alex Roitman
c492d5a5ad * src/RelLib.py (Source.get_text_data_child_list,
Family.get_text_data_child_list): Add missing lists.
* src/GenericFilter.py (FullTextSearch): Correct description.

* src/GenericFilter.py (FullTextSearch): Added new filter that provides
a full-text search thru (nearly) all attributes and linked objects of a person.


svn: r4185
2005-03-15 15:56:47 +00:00
Richard Taylor
d85c655092 2005-03-15 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Makefile.am : Added TreeTip.py to list of installed modules.
	* src/TreeTip.py: New module that implements tooltips on TreeView rows.
	* src/plugins/Makefile.am: Added ScratchPad.py and scratchpad.glade.
	* src/plugins/ScratchPad.py: New module to implement a scratch pad for
	temporary storage of drag and drop objects.
	* src/plugins/scratchpad.glade: New glade file for ScratchPad window.


svn: r4184
2005-03-15 13:48:18 +00:00
Martin Hawlisch
840c8ec4a9 * src/GenericFilter.py (FullTextSearch): Added new filter thad provides
a full-text search thru (nearly) all attributes and linked objexts of a person.
* src/gramps_main.py: add the new filter to the menu.
* src/RelLib.py (Event,Source): fix get_text_data_child_list() to correct
attributes of the class; (Family): fix get_sourcref_child_list().


svn: r4183
2005-03-15 12:56:14 +00:00
Alex Roitman
d2e476e956 * src/AddSpouse.py (select_spouse_clicked): Prevent adding oneself
and oneself's parents as a spouse; When aborting, do not close dialog.
* src/RelLib.py (BaseObject): Add base data class, to support
capabilites common to all gramps objects; (matches_string,
matches_regexp): Add methods for searching textual objects;
(Person,Family,Event,Place,Source,MediaRef,LdsOrd,Attribute,Address,
Name,Location,Note,Url,Witness,SourceRef): Add methods for determining
textual objects and children with textual objects.


svn: r4182
2005-03-15 05:23:12 +00:00
Don Allingham
00ed8a7693 * src/gramps_main.py: use new GRAMPS homepage
svn: r4180
2005-03-14 23:30:26 +00:00
Alex Roitman
68454d1aaa Update
svn: r4178
2005-03-14 03:51:40 +00:00
Alex Roitman
4b817d717e * src/DisplayTrace.py (__init__): Mark debian distros.
svn: r4177
2005-03-14 03:50:38 +00:00
Alex Roitman
f2f3d1530c * src/EventEdit.py (get_place): Typo.
svn: r4173
2005-03-14 00:10:36 +00:00
Alex Roitman
98e031a825 * src/DateEdit.py (update_after_editor): Add method.
* src/EditPerson.py: Always have birth/death events (never None);
Use new update method for dates; Only commit death/birth if changed;
Only add new birth/death if non-empty.
* src/EventEdit.py: Translate stored event names before including in
menu; Exclude birth/death from menu; Do not add birth/death to the
custom event types; Only detect type change for non-birth/death.
* src/GrampsDbBase.py: Do not commit objects with empty handles.
* src/GrampsInMemDB.py: Do not commit objects with empty handles.
* src/Utils.py (family_name): Add clause for unknown parents.


svn: r4172
2005-03-13 22:10:40 +00:00
Martin Hawlisch
9130c8819e * src/GenericFilter.py (Rule,GenericFilter): New methods prepare() and
reset(), that are called before/after a filter is applied, to properly
support query caches; (IsWitness): new filter;
(RelationshipPathBetween,IsDescendantOf,IsLessThanNthGenerationDescendantOf,
IsMoreThanNthGenerationDescendantOf,IsChildOfFilterMatch,IsSiblingOfFilterMatch,
IsAncestorOf,IsAncestorOfFilterMatch,IsLessThanNthGenerationAncestorOf,
IsMoreThanNthGenerationAncestorOf,IsParentOfFilterMatch,HasCommonAncestorWith):
use prepare() and reset() to create a proper query cache. Currently the
cache was only created once after object creation and never updated.
* src/gramps_main.py: Add new filters to the menu.


svn: r4171
2005-03-13 19:49:38 +00:00