Commit Graph

2711 Commits

Author SHA1 Message Date
Martin Hawlisch
380a453855 * src/plugins/ImportGeneWeb.py: fixed small typos
svn: r4188
2005-03-15 21:04:44 +00:00
Martin Hawlisch
26301898f7 HasTextMatchingSubstringOf: Syncronized filter name
svn: r4187
2005-03-15 20:16:16 +00:00
Alex Roitman
337dfdd99e * 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
8315acf6d4 * 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
86c6d36e8f 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
40611a11f1 * 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
2d45b02af4 * 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
cc849000a7 * src/gramps_main.py: use new GRAMPS homepage
svn: r4180
2005-03-14 23:30:26 +00:00
Alex Roitman
a4abcaf28a Update
svn: r4178
2005-03-14 03:51:40 +00:00
Alex Roitman
72821c9058 * src/DisplayTrace.py (__init__): Mark debian distros.
svn: r4177
2005-03-14 03:50:38 +00:00
Alex Roitman
6b8d0501f6 * src/EventEdit.py (get_place): Typo.
svn: r4173
2005-03-14 00:10:36 +00:00
Alex Roitman
35bc979e8e * 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
a40629dbbc * 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
Alex Roitman
5a55d247df * src/Utils.py (get_media_referents): Add function;
Add generic data recovery message.
* src/gramps_main.py (delete_person_clicked): Use generic data recovery
message.
* src/SourceView.py (on_delete_clicked): Use generic data recovery
message.
* src/EditSource.py (display_references): Change list headings.
* src/MediaView.py (on_delete_clicked): Use new mediaref detector;
Use generic data recovery message; (delete_objectmis-object_used):
Remove functions.
* src/ImageSelect.py (GlobalMediaProperties.display_ref): Use new
sourceref detection; (DeleteMediaQuery__init__): Accept object handle
and lists; (DeleteMediaQuery.query_response): Use new mediaref removal.


svn: r4161
2005-03-12 00:44:11 +00:00
Alex Roitman
70514fbb3a * src/RelLib.py (SourceNote): Add methods for detection and removal
source references in itself and child objects; (SourceNote,Person,
Family,Event,Place,Source,MediaRef): Add method for determining child
sourceref-capable objects.
* src/Utils.py (get_source_referents): Add function.
* src/EditSource.py (display_references): Use new sourceref detection;
(DelSrcQuery.__init__): Accept object lists; (DelSrcQuery.query_response):
Use new sourceref removal.
* src/SourceView.py (on_delete_clicked): Use new sourceref detection;
(delete_source,is_used): Remove functions.


svn: r4160
2005-03-11 21:05:46 +00:00
Martin Hawlisch
33245ae20c * src/GenericFilter.py (PersonWithIncompleteEvent,
FamilyWithIncompleteEvent, ProbablyAlive,PeoplePrivate):
Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.


svn: r4159
2005-03-11 20:53:53 +00:00
Martin Hawlisch
2e6c2f1c10 * src/plugins/NavWebPage.py: Catch invalid HomeNote object
svn: r4158
2005-03-10 22:19:19 +00:00
Alex Roitman
aa9924fb66 Update
svn: r4157
2005-03-10 20:55:18 +00:00
Alex Roitman
eac22b2ff8 * src/GenericFilter.py (IsBookmarked,IncompleteNames,
HaveAltFamilies,HavePhotos,HaveChildren,NeverMarried,
MultipleMarriages,NoBirthdate): Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.


svn: r4156
2005-03-10 19:01:00 +00:00
Alex Roitman
b867dca72c Update
svn: r4155
2005-03-10 18:55:18 +00:00
Alex Roitman
c0bc367b86 * src/AddSpouse.py (select_spouse_clicked): Prevent adding child
of the family as a spouse in that family.


svn: r4154
2005-03-10 04:57:22 +00:00
Alex Roitman
db8bc4a5a7 Update
svn: r4153
2005-03-10 04:14:03 +00:00
Don Allingham
9041c520d5 * src/ChooseParents.py: Fix widget sensitivity problem, assign
integer value instead of string to relationship type
* src/FamilyView.py: fix child relationship display value
* src/GrampsBSDDB.py: upgrade to DB version 4 (remove string
relationship types)


svn: r4152
2005-03-10 01:38:08 +00:00
Don Allingham
9ad57e1c2f * src/EditPerson.py: call new_after_edit instead of update_after_edit
for new people.


svn: r4151
2005-03-10 01:02:09 +00:00
Alex Roitman
ce1d3b0ed8 * src/FamilyView.py: Correct constants for birth relationship.
svn: r4150
2005-03-10 00:28:57 +00:00
Alex Roitman
4c545b90d0 * src/ReadXML.py (start_childof): Use integer relations.
* src/WriteXML.py (write_xml_data): Properly test frel.
* src/rule.glade: Change button label; add "need to close" label.
* src/EditPlace.py: Typo.


svn: r4149
2005-03-10 00:04:50 +00:00
Alex Roitman
d5e54d4ed4 Update
svn: r4148
2005-03-09 23:06:51 +00:00
Don Allingham
97a0add0a7 * src/EditPerson.py: add srcref as a drag and drop item
* src/EditPlace.py: add srcref as a drag and drop item
* src/Marriage.py: add srcref as a drag and drop item
* src/WriteGedcom.py: catch empty event
* src/Sources.py: add drag-n-drop for source references


svn: r4147
2005-03-09 22:59:24 +00:00
Alex Roitman
354f27f46a * src/GenericFilter.py (IsDefaultPerson,IsSiblingOfFilterMatch):
Add filter rules.


svn: r4146
2005-03-09 17:47:23 +00:00
Don Allingham
82b719bddc * srcNameEdit.py: assign date on close
svn: r4145
2005-03-09 17:12:58 +00:00
Alex Roitman
7714274635 * src/data/gramps.schemas: Place dont-ask key into interface dir.
* src/Marriage.py (did_data_change): Compare gramps_id, not handle.


svn: r4144
2005-03-09 16:25:15 +00:00
Alex Roitman
4646ad519f * src/PedView.py: Import RelLib for accessing relationship constants.
* src/NameEdit.py: Use empty Date for newly created name.


svn: r4143
2005-03-09 16:06:22 +00:00
Alex Roitman
a6cf17065a * src/ChooseParents.py: Stop parent selection window from being
modal; fix child/parent relations from strings to integers.


svn: r4142
2005-03-09 04:50:10 +00:00
Don Allingham
d0f69b802b * src/ChooseParents.py: change _nsort to _model
* src/GrampsBSDDB.py: fix event secondary index function to that
the event name is used instead of the GRAMPS id.


svn: r4141
2005-03-09 03:58:44 +00:00
Alex Roitman
7cd4156a6b * src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
Update filter ComboBox in the main window.
* src/gramps_main.py (init_filters): Clear layout before rebuilding.


svn: r4140
2005-03-09 01:08:49 +00:00
Alex Roitman
c46dff68a2 * src/EditPerson.py (__init__): Only set update sources if possible
(calls from ChooseParents don't provide the correct parent, but then
the full update goes on anyway).
* src/ChooseParents.py (mother_list_select_row,
father_list_select_row): Comment out auto-selection of parents.


svn: r4139
2005-03-08 22:24:41 +00:00
Alex Roitman
00e0bdfff8 * src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
* src/AddSpouse.py (select_spouse_clicked): Typo.


svn: r4138
2005-03-08 22:02:49 +00:00
Alex Roitman
e1f5b991ec * src/DbPrompter.py (ImportDbPrompter.chooser): Typo.
svn: r4137
2005-03-08 21:11:48 +00:00
Alex Roitman
00b730208c Update
svn: r4135
2005-03-08 17:41:30 +00:00
Alex Roitman
3c269fabd2 Update
svn: r4133
2005-03-08 17:25:09 +00:00
Alex Roitman
c882cf1633 * src/EditPerson.py: Remove numerous multiple definitions.
* src/AttrEdit.py (__init__): Set text to translated attribute type.
* src/const.py.in (display_attr): Add function.


svn: r4132
2005-03-08 17:18:33 +00:00
Alex Roitman
ba1a7e55fe * src/AddrEdit.py: Typo.
* src/EditPerson.py (on_add_addr_clicked): Typos.
* src/EditSource.py (display_references): Add lots of missed
source references.
* src/ImageSelect.py: Use PluginsMgr instead of Plugins.


svn: r4131
2005-03-08 03:14:25 +00:00
Don Allingham
01eb6f63f2 * src/RelLib.py: more documentation
svn: r4130
2005-03-08 01:11:50 +00:00
Alex Roitman
734753c196 * src/gramps_main.py (post_load): Upgrade even if no callback.
svn: r4127
2005-03-07 13:49:14 +00:00
Alex Roitman
7c702ed2d3 Update
svn: r4126
2005-03-07 13:47:17 +00:00
Don Allingham
a10dff3414 * src/GrampsBSDDB.py: display upgrade messages to stdout
svn: r4125
2005-03-07 04:57:22 +00:00
Don Allingham
17dcd45d3c * src/GrampsBSDDB.py: add upgrade to version 3 for new Name type
* src/NameEdit.py: add date editor field
* src/ReadXML.py: read date field attached to a name
* src/WriteXML.py: write date field attached to a name
* src/RelLib.py: add date field to Name
* src/gramps.glade: add date editor field to Name Editor dialog


svn: r4121
2005-03-06 23:47:26 +00:00
Alex Roitman
49e549b5ae * src/EditSource.py (display_references): List source's references
from personal and family gallery objects.


svn: r4120
2005-03-06 18:32:14 +00:00
Alex Roitman
43ffb556fd * src/GenericFilter.py (HasAttribute.apply): Make work when no value
is given; (HasFamilyAttribute.apply): Make work when no value is given.


svn: r4117
2005-03-04 15:15:20 +00:00
Alex Roitman
e777c67ec1 * src/GenericFilter.py (HasAttribute.apply): Fix the rule.
(HasFamilyAttribute.apply): Fix the rule.
* src/Marriage.py (on_update_attr_clicked,on_add_attr_clicked):
Pass the window to the attribute editor.


svn: r4115
2005-03-03 15:00:55 +00:00