Commit Graph

2614 Commits

Author SHA1 Message Date
Richard Taylor
91ffd57ee5 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
e11c8d99cc Update
svn: r4248
2005-03-28 05:05:38 +00:00
Alex Roitman
f2f913bec9 Update
svn: r4247
2005-03-28 04:59:04 +00:00
Alex Roitman
b3fa7d644d * 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
76095fbc96 * src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4245
2005-03-28 04:36:09 +00:00
Alex Roitman
d49a70b3f1 * 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
9efa0094df * 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
c04ffca6e3 * src/MergeData.py: Add interface support for parents/family merging
svn: r4242
2005-03-26 23:50:56 +00:00
Martin Hawlisch
f0836d0233 * 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
b0d3ab87aa * 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
bfcd1b8a34 * src/plugins/Check.py (check_parent_relationships): typo
svn: r4239
2005-03-26 15:00:05 +00:00
Martin Hawlisch
40cec6825e * 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
c6551bef5f 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
90b319081e 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
4c16bd7fc7 * 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
27aac5b936 * 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
abc641907a Update
svn: r4233
2005-03-24 18:54:30 +00:00
Alex Roitman
11e374e464 * 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
11df9a8830 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
fbd8c05dd8 * 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
3d0f39acd7 * 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
e96dc7d58e * 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
d1e0b29d38 * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
svn: r4227
2005-03-23 22:13:33 +00:00
Don Allingham
cbbe978559 * 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
e0b735ad45 * 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
1c2074cbd4 Update
svn: r4224
2005-03-23 15:48:40 +00:00
Alex Roitman
f7d06a8b79 * 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
1703b9669c * 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
d78cd57231 Remove unicode handles for places
svn: r4221
2005-03-22 17:28:04 +00:00
Alex Roitman
9c7e0261a4 Update
svn: r4220
2005-03-22 17:23:53 +00:00
Alex Roitman
4f7ab44eba Update
svn: r4219
2005-03-22 16:25:47 +00:00
Alex Roitman
9cc2d40394 * 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
df5270253f * 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
733ee979cf * src/MergeData.py: further changes to adapt to new API
svn: r4216
2005-03-21 05:53:42 +00:00
Alex Roitman
36dacf3c27 Update
svn: r4215
2005-03-20 04:02:17 +00:00
Alex Roitman
68b1a6fef3 * src/gramps.glade: Add tolltip to scratchpad button.
svn: r4214
2005-03-20 02:33:36 +00:00
Don Allingham
11dd72bb27 * 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
31ce5db97d * 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
0d5ba25da1 Update
svn: r4211
2005-03-19 18:12:04 +00:00
Alex Roitman
0faf777810 * 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
25e6c350c8 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
a384bc20b7 * 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
7d1e9311e8 typo
svn: r4201
2005-03-17 19:38:03 +00:00
Martin Hawlisch
4cee5528a5 * 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
c7c5368409 * 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
efb007259f * 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
72c4a6476a * 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
cd0ff124c2 * 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
b02ca6f638 Update
svn: r4194
2005-03-16 16:37:33 +00:00
Martin Hawlisch
a30cffdb9d * 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