Commit Graph

1585 Commits

Author SHA1 Message Date
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
Martin Hawlisch
00e5489ed4 * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
svn: r4227
2005-03-23 22:13:33 +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
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
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
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
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
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
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
Alex Roitman
5b1675d0dc * 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
82c7948f22 * 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
1901e63677 * 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
1869866af9 * src/plugins/NavWebPage.py: Catch invalid HomeNote object
svn: r4158
2005-03-10 22:19:19 +00:00
Alex Roitman
e3edfe4525 * 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
bba3da4d8d Update
svn: r4155
2005-03-10 18:55:18 +00:00
Alex Roitman
3c0dda05f7 * 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
Don Allingham
b1b8d68b83 * 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
ebedde9f09 * 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
ddff08d24e * src/FamilyView.py: Correct constants for birth relationship.
svn: r4150
2005-03-10 00:28:57 +00:00
Alex Roitman
8c1061b9a7 * 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
dce5cc2a9b Update
svn: r4148
2005-03-09 23:06:51 +00:00
Don Allingham
e21dac81bf * 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
a5c857809f * src/GenericFilter.py (IsDefaultPerson,IsSiblingOfFilterMatch):
Add filter rules.


svn: r4146
2005-03-09 17:47:23 +00:00
Don Allingham
9b7c7bc4f2 * srcNameEdit.py: assign date on close
svn: r4145
2005-03-09 17:12:58 +00:00
Alex Roitman
3ccc11f763 * 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
38183c6024 * 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
25624f61d9 * 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
761733ae1e * 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
5438164231 * 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
d7fe0d91e6 * 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
cff7c00db4 * 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
c22dae3716 * src/DbPrompter.py (ImportDbPrompter.chooser): Typo.
svn: r4137
2005-03-08 21:11:48 +00:00
Alex Roitman
c85c5cc4af * 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
5867ce9c30 * 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
5e1d964551 * src/RelLib.py: more documentation
svn: r4130
2005-03-08 01:11:50 +00:00
Alex Roitman
b017df054a * src/gramps_main.py (post_load): Upgrade even if no callback.
svn: r4127
2005-03-07 13:49:14 +00:00
Alex Roitman
85e38877b4 Update
svn: r4126
2005-03-07 13:47:17 +00:00
Don Allingham
44c64eac09 * src/GrampsBSDDB.py: display upgrade messages to stdout
svn: r4125
2005-03-07 04:57:22 +00:00
Don Allingham
47efc514f4 * 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
6fdd7e2556 * 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
b808432d36 * 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
91bcc33a22 * 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
Alex Roitman
b99f1b4019 * src/plugins/Makefile.am: Stop shipping ReadNative.py.
svn: r4114
2005-03-03 05:43:41 +00:00
Don Allingham
31f3958a1c * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
2005-03-03 05:33:22 +00:00
Alex Roitman
164cfe3983 * src/plugins/FilterEditor.py: Multiple fixes.
* src/GenericFilter.py: Multiple fixes.


svn: r4112
2005-03-03 05:13:47 +00:00
Don Allingham
bcee9aa364 * src/Marriage.py: fix lds menu
svn: r4110
2005-03-03 01:42:17 +00:00
Don Allingham
3f12ec9563 * src/AddSpouse.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/ChooseParents.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/FamilyView.py: use ModifyParents instead of EditRel
* src/SelectChild.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships. Remove EditRel class
* src/gramps.glade: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships, delete editrel


svn: r4109
2005-03-02 20:48:58 +00:00
Alex Roitman
028ed21efc * src/DbPrompter.py (ImportDbPrompter.chooser): Explicitly
import XML and GEDCOM.
* src/plugins/FilterEditor.py (MySelect.get_text): Typo.


svn: r4108
2005-03-02 14:00:51 +00:00
Alex Roitman
c36385735a * src/DbPrompter.py (format_maker): Add mnemonic activation target
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.


svn: r4105
2005-02-28 01:51:21 +00:00
Alex Roitman
b93465e70e Update
svn: r4104
2005-02-28 01:25:12 +00:00
Don Allingham
572e90a270 * src/plugins/NavWebPage.py: add the ability to have notes
attached to the Introduction and Home pages


svn: r4103
2005-02-27 23:43:20 +00:00
Julio Sánchez
7dbcd4c421 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4102
2005-02-27 22:05:02 +00:00
Julio Sánchez
249bb2f461 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
2005-02-27 18:56:31 +00:00
Don Allingham
3b7952f7fc * src/AddrEdit.py: update main source list after source addition
* src/AttrEdit.py: update main source list after source addition
* src/EditPerson.py: update main source list after source addition
and place addition
* src/EventEdit.py: update main source list after source addition
and place addition
* src/FamilyView.py: update main source list after source addition
* src/Marriage.py: update main source list after source addition
* src/NameEdit.py: update main source list after source addition
* src/Sources.py: update main source list after source addition
* src/gramps_main.py: update main source list after source addition
* src/const.py.in: new constants


svn: r4099
2005-02-27 05:51:59 +00:00
Don Allingham
ddc6690752 * src/gramps_main.py: update places and sources after edit
svn: r4098
2005-02-26 05:19:38 +00:00
Alex Roitman
7e981442b0 * src/DbPrompter.py: Factory functions for file filters;
Support for explicit format selection for open and import dialogs.


svn: r4097
2005-02-26 02:34:11 +00:00
Alex Roitman
a813772ede * src/Sources.py (SourceEditor.draw): Do not discard reference
data when adding new source.


svn: r4096
2005-02-26 01:56:34 +00:00
Alex Roitman
08e17293a7 * src/EditPerson.py (on_event_update_clicked): Pass callback.
* src/EventEdit.py (__init__): Typo.


svn: r4095
2005-02-25 17:29:39 +00:00
Alex Roitman
6f290afb24 * src/gramps_main.py (undo_callback): Enable underscore in a label.
* src/NameDisplay (display_name): Return empty string for None.
* src/NameEdit.py (__init__): Compare displayed name with empty string,
(update_group_as): Only query grouping for existing name.


svn: r4093
2005-02-25 17:06:04 +00:00
Alex Roitman
b44960ff77 * src/EditPerson.py (EditPerson.__init__): Correct widget names.
svn: r4092
2005-02-25 16:36:47 +00:00
Alex Roitman
168ae08f73 * src/Sources.py (SourceEditor.update_display): Do not add source
for the second time.


svn: r4091
2005-02-25 16:26:26 +00:00
Alex Roitman
3ef8e12f42 * src/DbPrompter.py (GrampsFormatWidget): Add class;
(format_maker): Add_function; (NewSaveasDbPrompter.chooser): Support
for explicit format selection.


svn: r4090
2005-02-25 16:05:02 +00:00
Alex Roitman
f0317a95be * src/MediaView.py (on_select_row): Add garbage collection call.
svn: r4088
2005-02-25 01:13:27 +00:00
Don Allingham
d920d5f78c * src/DbPrompter.py: catch zero length filename
* src/FamilyView.py: fixed selection of spouse's parents
* src/gramps_main.py: update display after loading data


svn: r4086
2005-02-24 01:40:40 +00:00
Don Allingham
3731aad2b3 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Alex Roitman
ab4ece1950 * src/gramps_main.py (on_new_clicked): Do not prematurely close db.
* src/DbPrompter.py (NewNativeDbPrompter.chooser): Close old db
if positively opening a new one.


svn: r4082
2005-02-23 04:46:51 +00:00
Alex Roitman
6eb7518698 * src/Exporter.py (native_export): Use real export.
* src/WriteGrdb.py (exportData): Provide default cl value.


svn: r4081
2005-02-23 04:39:05 +00:00
Don Allingham
1a44b71e26 * src/gramps.glade: use ComboBox instead of ComboBoxEntry
for temple
* src/EditPerson.py: use ComboBox instead of ComboBoxEntry
for temple


svn: r4080
2005-02-23 04:30:08 +00:00
Alex Roitman
4bc1ddd667 * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
svn: r4077
2005-02-22 18:38:35 +00:00
Alex Roitman
03715f00c8 * configure.in: Bump up the version.
* Release: Version 1.1.90 "Successful encyclopedia salesman" released.


svn: r4076
2005-02-22 13:29:55 +00:00
Alex Roitman
6755b7e04e * src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.


svn: r4073
2005-02-22 03:43:53 +00:00
Alex Roitman
4d89c53ccc Update
svn: r4072
2005-02-22 02:34:19 +00:00
Alex Roitman
ac6ccd0adc * src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it
from ReportUtils instead.
* src/ReportUtils.py (rgb_color): Add function.
* src/docgen/PdfDoc.py: Use rgb_color from ReportUtils.
* src/docgen/LPRDoc.py: Use rgb_color from ReportUtils.


svn: r4070
2005-02-22 01:59:28 +00:00
Alex Roitman
33a41ef87f * src/docgen/PSDrawDoc.py (draw_text,write_at):
Attempt latin1 encoding.


svn: r4069
2005-02-22 01:45:52 +00:00
Eero Tamminen
e5925d8b77 Added notes about user visible GraphViz and StatisticsChart changes
svn: r4068
2005-02-21 19:48:29 +00:00
Alex Roitman
b00a9ad021 * NEWS: Update.
svn: r4067
2005-02-21 16:18:25 +00:00
Alex Roitman
4f9798a5e9 * doc/gramps-manual/C/usage.xml: Update.
svn: r4066
2005-02-21 03:36:12 +00:00
Alex Roitman
054b618a73 * src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
svn: r4065
2005-02-21 02:01:04 +00:00
Don Allingham
352d7d4196 * src/ReportUtils.py: use today for age calculation if not
death date exists.
* src/plugins/NavWebPage.py: handle privacy if requested


svn: r4064
2005-02-20 23:27:55 +00:00
Don Allingham
25c2598147 * src/ChooseParents.py: readonly fixes
* src/EditPerson.py: readonly fixes
* src/EditPlace.py: readonly fixes
* src/EditSource.py: readonly fixes
* src/FamilyView.py: readonly fixes
* src/ImageSelect.py: readonly fixes
* src/Marriage.py: readonly fixes


svn: r4062
2005-02-20 01:02:15 +00:00
Alex Roitman
1ea0356d99 * src/ReportUtils.py (born_died_str): Find events to reference.
svn: r4061
2005-02-19 23:43:45 +00:00
Alex Roitman
22275dcd42 * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names.
svn: r4060
2005-02-19 23:37:35 +00:00
Alex Roitman
acd05b555d * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Chunk to depth 3.
* doc/gramps-manual/C/figures/gedcom-export.png: Update.
* doc/gramps-manual/C/figures/export-druid.png: Add figure.
* src/Exporter.py: Change labels, support CD export (lame).
* src/WriteGedcom.py: Correct label.
* src/WriteXML.py: Return status on success.
* src/plugins/WriteCD.py: Support for wizard (lame).
* src/plugins/WritePkg.py: Correct label.
* src/ArgHandler.py: Re-enable CD export.


svn: r4059
2005-02-19 22:33:24 +00:00
Alex Roitman
a5290540b6 Update
svn: r4057
2005-02-19 22:16:32 +00:00
Alex Roitman
eccc20a12a Update
svn: r4056
2005-02-19 22:14:35 +00:00
Don Allingham
d382675562 * src/EditPerson.py: add privacy marker
* src/GrampBSDDB.py: record database version, handle person privacy flag
* src/RelLIb.py: Privacy flag for person (inherit from DataObj instead of SourceNote)
* src/ReportUtils.py: update to use person privacy flag
* src/gramps.glade: person privacy flag


svn: r4055
2005-02-19 22:11:51 +00:00
Alex Roitman
14052b42db * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Don Allingham
3ca70aac2d * src/EditPerson.py: more readonly patches
* src/EventEdit.py: more readonly patches
* src/Marriage.py: more readonly patches
* src/gramps.glade: more readonly patches


svn: r4053
2005-02-19 04:41:59 +00:00
Alex Roitman
c3abb66292 * src/EditPerson.py: Readonly fix.
* src/gramps.glade: Typo.


svn: r4052
2005-02-19 03:29:56 +00:00
Alex Roitman
694c982800 * src/docgen/LPRDoc.py (draw_path,draw_bar): Fill, then stroke.
* src/DbPrompter.py: Change file filter name.

* src/Report.py (doc_type_changed): Deal with empty extensions.
* src/docgen/AsciiDoc.py (add_photo): Add method;
(end_row): Inlcude last cell into proper formatting.
* src/GedcomInfo.py: Properly import expat.ParserCreate class.
* src/TipOfDay.py: Properly import expat.ParserCreate class.
* src/RecentFiles.py: Properly import expat.ParserCreate class.
* src/ReadXML.py: Properly import expat.* classes.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/usage.xml: Update.
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.


svn: r4051
2005-02-19 00:49:49 +00:00
Eero Tamminen
0faaae0201 Fix StatisticsChart.py date object checking
svn: r4048
2005-02-18 19:22:06 +00:00
Alex Roitman
746e10295b * src/docgen/OpenOfficeDoc.py: Typo.
svn: r4047
2005-02-18 05:17:48 +00:00
Don Allingham
37e3d0d2e3 * src/EditPerson.py: more readonly support
* src/NoteEdit.py: more readonly support
* src/Sources.py: more readonly support
* src/gramps_main.py: more readonly support
* src/gramps.glade: more readonly support


svn: r4046
2005-02-18 04:49:59 +00:00
Alex Roitman
9ba1e69000 * src/docgen/LPRDoc.py (write_at): Correct vertical offset.
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.


svn: r4045
2005-02-18 01:10:25 +00:00
Don Allingham
d75e6a198e * src/Marriage.py: disable buttons in readonly mode
* src/EditPerson.py: disable buttons in readonly mode
* src/Sources.py: disable buttons in readonly mode
* src/gramps.glade: name buttons


svn: r4044
2005-02-17 04:46:13 +00:00
Alex Roitman
a7897625fe * doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/mainwin.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/family-alt.png: Update.
* doc/gramps-manual/C/figures/family.png: Update.
* doc/gramps-manual/C/figures/mainwin.png: Update.
* doc/gramps-manual/C/figures/media.png: Update.
* doc/gramps-manual/C/figures/noside-nofilt.png: Update.
* doc/gramps-manual/C/figures/pedigree-anchor.png: Update.
* doc/gramps-manual/C/figures/pedigree.png: Update.
* doc/gramps-manual/C/figures/places.png: Update.
* doc/gramps-manual/C/figures/side-filt.png: Update.
* doc/gramps-manual/C/figures/sources.png: Update.
* doc/gramps-manual/C/figures/column-editor.png: Add to CVS.
* doc/gramps-manual/C/figures/pedigree-siblings-cut.png: Add to CVS.


svn: r4043
2005-02-17 04:38:45 +00:00
Don Allingham
f33cc35550 * src/EditSource.py: commit events after deleting sources
svn: r4042
2005-02-17 02:24:23 +00:00
Don Allingham
5576d07516 * src/GrampsBSDDB.py: first pass of readonly support
* src/GrampsInMem.py: first pass of readonly support
* src/GrampsGEDDB.py: first pass of readonly support
* src/GrampsXMLDB.py: first pass of readonly support
* src/gramps.py: first pass of readonly support
* src/FamilyView.py: first pass of readonly support
* src/EditPerson.py: first pass of readonly support
* src/EditPlace.py: first pass of readonly support
* src/EditSource.py: first pass of readonly support
* src/gramps.glade: assign names to buttons


svn: r4041
2005-02-16 22:49:54 +00:00
Eero Tamminen
88cf2f9227 get option value from correct field
svn: r4039
2005-02-16 21:02:39 +00:00
Don Allingham
0335fa592a * src/DisplayModels.py: don't override on_row_deleted
svn: r4037
2005-02-16 18:05:20 +00:00
Alex Roitman
6c22a6ed62 * src/EditSource.py (DelSrcQuery.query_response): Typos.
* src/ImageSelect.py (DeleteMediaQuery.query_response): Typo.
* src/GrampsInMemDB.py (remove_place,remove_object): Add methods;
(remove_person,remove_source,remove_family): Correctly remove from
id_trans table.
* src/FamilyView.py (parent_deleter,really_remove_spouse):
Use get_ instead of find_ functions.


svn: r4036
2005-02-16 13:49:32 +00:00
Don Allingham
064311fc73 * src/AddMedia.py: handle "note only" media object
* src/DisplayModels.py: handle media type of None
* src/ImageSelect.py: Add "internal note" check box
* src/MediaView.py: handle media type of None
* src/NoteEdit.py: use glade definition
* src/gramps.glade: add note editor
* src/plubins/NavWebPage.py: Add default pages


svn: r4035
2005-02-16 05:41:33 +00:00
Alex Roitman
d38cf31a31 * doc/gramps-manual/C/authors.xml: Add list of contributors.
* doc/gramps-manual/C/getstart.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.
* doc/gramps-manual/C/legal.xml: Update.
* doc/gramps-manual/C/preface.xml: Update.
* doc/gramps-manual/C/figures/first-open.png: New shot.


svn: r4034
2005-02-16 05:19:17 +00:00
Alex Roitman
3fd0b1406d * doc/gramps-manual/C/authors.xml: Add file.
* doc/gramps-manual/C/bugs.xml: Add file.
* doc/gramps-manual/C/preface.xml: Add file.
* doc/gramps-manual/C/Makefile.am: Ship new files.
* doc/gramps-manual/C/cmdline.xml: Convert to book.
* doc/gramps-manual/C/custom.xml: Convert to book.
* doc/gramps-manual/C/faq.xml: Convert to book.
* doc/gramps-manual/C/filtref.xml: Convert to book.
* doc/gramps-manual/C/getstart.xml: Convert to book.
* doc/gramps-manual/C/gramps-manual.xml: Convert to book.
* doc/gramps-manual/C/keybind.xml: Convert to book.
* doc/gramps-manual/C/legal.xml: Change license to GPL.
* doc/gramps-manual/C/mainwin.xml: Convert to book.
* doc/gramps-manual/C/usage.xml: Convert to book.
* COPYING-DOCS: Change license to GPL.


svn: r4032
2005-02-15 02:35:26 +00:00
Alex Roitman
79eb2c6897 Update
svn: r4031
2005-02-14 22:33:58 +00:00
Alex Roitman
7a2a3d401d * src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
2005-02-14 21:39:59 +00:00
Alex Roitman
21da722351 * src/ArgHandler (handle_args): Natively open XML and GEDCOM
when given a single filename argument.
* src/gramps_main.py (read_gedcom,read_xml): Remove ununsed functions.


svn: r4029
2005-02-14 03:09:22 +00:00
Alex Roitman
358f4a592f * src/ReadGrdb.py: Check for overlapping handles prior to
modifying data.


svn: r4028
2005-02-14 01:32:07 +00:00
Don Allingham
f47f7b0d7f * src/plugins/NavWebPage.py: More enhancements
* src/Sort.py: sort places by title


svn: r4026
2005-02-13 03:54:47 +00:00
Don Allingham
2db8fad3cd * src/plugins/NavWebpage.py: Build template pages for unused
pages, add Surname List and Individual List pages.


svn: r4024
2005-02-10 01:44:05 +00:00
Alex Roitman
74e3d942bb Update
svn: r4023
2005-02-04 13:55:54 +00:00
Alex Roitman
094c52c13f * src/plugins/NavWebPage.py (display_relationships): Pass
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.


svn: r4022
2005-02-04 13:54:02 +00:00
Don Allingham
8f2d56c922 * src/plugins/NavWebPage.py: more progress
svn: r4020
2005-02-04 03:54:48 +00:00
Don Allingham
dd093aacfc * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
2005-02-03 00:32:20 +00:00
Eero Tamminen
2581aa31fb better colors for pies
svn: r4018
2005-02-02 20:50:14 +00:00
Alex Roitman
e315d52b52 * src/Makefile.am: Ship ReadGrdb.py and WriteGrdb.py.
svn: r4017
2005-02-02 14:02:13 +00:00
Alex Roitman
aa41d93ec1 * src/Report.py: Proper translatable strings for generation numbers.
* src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4016
2005-02-02 05:09:07 +00:00
Guillaume Pratte
6b9380044c Updated
svn: r4015
2005-02-02 05:07:09 +00:00
Alex Roitman
7c272cbb34 * src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4011
2005-02-01 05:08:16 +00:00
Alex Roitman
966e045bfc Update
svn: r4010
2005-02-01 04:18:12 +00:00
Alex Roitman
778aa84846 * src/RelLib.py: Finish up with actual MALE, FEMALE, and UNKNOWN
svn: r4009
2005-02-01 04:16:02 +00:00
Don Allingham
f7df43643f * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
4385ae0b7c * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Alex Roitman
7b139057ea Update
svn: r4004
2005-01-31 02:31:11 +00:00
Alex Roitman
94a2ed9de4 Update
svn: r4002
2005-01-31 01:20:43 +00:00
Alex Roitman
0db65bd17d * src/WriteGrdb.py: Copy metadata.
svn: r4001
2005-01-31 01:20:13 +00:00
Alex Roitman
29a10a3bf8 * src/WriteGrdb.py: Add to CVS.
* src/gramps.glade: Add Save as item, switch former one to Export.
* src/gramps_main.py: Support for save as.
* src/DbPrompter.py: Support for save as.


svn: r4000
2005-01-30 23:53:47 +00:00
Alex Roitman
7228eb98bc * src/ArgHandler.py: Support for opening in the command-line mode.
* src/const.py.in: Add -O | --open option.


svn: r3991
2005-01-29 23:34:09 +00:00
Alex Roitman
2d626f508b * src/plugins/GraphViz.py (GraphVizDialog.__init__):
Use proper response ID;  (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.


svn: r3990
2005-01-29 22:05:21 +00:00
Eero Tamminen
3a8dfc04bf Added Pie chart support to StatisticsChart plugin
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
5bcbb04bb8 Add 5 new statistics to StatisticsChart.py plugin
svn: r3988
2005-01-29 17:11:02 +00:00
Alex Roitman
3b7b70d606 * src/ArgHandler.py: Support for the native importer.
* NEWS: Update.


svn: r3986
2005-01-29 06:05:51 +00:00
Alex Roitman
ffd374025f * src/PedView.py: Fix remnants of gnome.canvas syntax.
* src/ReadGrdb.py: Add to CVS: native database importer.
* src/DbPrompter.py: Support for the native importer.
* src/Errors.py: Add HandleError exception for duplicate handles.


svn: r3984
2005-01-29 05:13:29 +00:00
Don Allingham
a19bd386f4 * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Don Allingham
23e620f2b5 * src/ReportUtils.py: allow start and stop event handle selection
for age estimation


svn: r3967
2005-01-26 04:21:38 +00:00
Alex Roitman
82e6acd258 * src/ReadGedcom.py (parse_person_object,parse_family_object):
Use absolute path to work around what seems a gnomevfs issue.


svn: r3965
2005-01-25 23:08:37 +00:00
Alex Roitman
74730bbff7 * src/TipOfDay.py (TipOfDay.__init__): Set transent property.
* src/gramps_main.py (Gramnps.__init__): Pass itself to TipOfDay;
(on_show_plugin_status,build_plugin_menus): Pass itself to PluginStatus.
* src/Plugins.py (PluginStatus.__init__): Set transent property.


svn: r3963
2005-01-25 21:25:15 +00:00
Eero Tamminen
98dbcea73d fix StatisticsChart.py chart output, improve code
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
e9cee32736 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Don Allingham
dceb6c2851 * gramps.spec.in: pkill gconfd to fix settings
svn: r3959
2005-01-25 04:24:42 +00:00
Alex Roitman
8e5fdc2f3b * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support.
svn: r3957
2005-01-25 00:23:53 +00:00
Alex Roitman
f05004329e * src/Report.py (BareReportDialog.init_interface): Set up buttons
with proper response values; (report): Ignore everything except
RESPONSE_OK.
* src/plugins/BookReport.py (BookReportSelector.on_setup_clicked,
BookReportDialog.__init__): Ignore everything except RESPONSE_OK.


svn: r3956
2005-01-24 23:39:50 +00:00
Alex Roitman
d8993a0861 * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF.
svn: r3954
2005-01-24 19:29:51 +00:00
Alex Roitman
8dd05e8392 update
svn: r3952
2005-01-24 19:03:05 +00:00
Alex Roitman
159c0eb08f * src/Report.py: Fix adding styles and calling doc.init().
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.


svn: r3948
2005-01-24 16:33:47 +00:00
Don Allingham
b5ba21b5e4 * src/BaseDoc.py: don't check for init on table or cell addition
* src/Report.py: Call doc.init() before write_report


svn: r3947
2005-01-24 00:16:33 +00:00
Eero Tamminen
961426c030 Complete refactoring of the Extract class
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
cd047ba03a preliminary multiple statistics chart support
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
7c2adb8e19 use non-localized descriptions for cli help
svn: r3944
2005-01-21 21:46:11 +00:00
Don Allingham
8e813388e5 * src/ReportUtils.py: added estimate_age and sanitize_person
* src/BaseDoc.py: Add checks attempting to add styles after initializing
the document
* src/docgen/OpenOfficeDoc.py: add init assertions
* src/docgen/PSDrawDoc.py: fix line style in boxes
* src/docgen/SvgDrawDoc.py: fix line style in boxes

* src/ReportUtils.py: added documentation


svn: r3942
2005-01-20 04:11:13 +00:00
Alex Roitman
d47d5e7f5a * src/dates/Date_fr.py: Add formats and quality.
* src/dates/Date_es.py: Add formats and quality.


svn: r3938
2005-01-19 05:13:09 +00:00
Alex Roitman
ff42dac0d1 * src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.


svn: r3937
2005-01-19 04:47:36 +00:00
Alex Roitman
15491e3ad5 * src/RelLib.py (Event.are_equal): Only compare place handles if
at least one if them is non-empty.


svn: r3935
2005-01-19 03:31:48 +00:00
Alex Roitman
114ee7f12e * src/EditPerson.py (get_place): Use "" for empty place's handle.
svn: r3934
2005-01-19 03:24:33 +00:00
Alex Roitman
71cf749a45 * src/NameEdit.py: Fix patronymic show/save.
svn: r3933
2005-01-19 00:36:06 +00:00
Alex Roitman
ff00451646 * src/DateDisplay.py: Move common objects back to DateDisplay class.
* src/dates/Date_ru.py: Add formats and quality.


svn: r3932
2005-01-19 00:13:57 +00:00
Eero Tamminen
6694f7e139 numerous changes to GraphViz.py, see Changelog
svn: r3931
2005-01-18 21:00:58 +00:00
Alex Roitman
4a81557fe4 Update
svn: r3928
2005-01-18 15:49:57 +00:00
Alex Roitman
d7de60f379 * NEWS: Correct attribution of ini-backend.
* configure.in: bump up the version number.

* Release: Version 1.1.3 Splunge: this is a greate idea, but
possibly lousy, and I'm not being indecisive" released.


svn: r3927
2005-01-18 15:47:18 +00:00
Don Allingham
26fcdca9f4 * src/ReportUtils.py: Added
* src/BaseDoc.py: support for graphs
* src/docgen/OpenOfficeDoc.py: write_at support
* src/Makefile.am: added ReportUtils.py


svn: r3926
2005-01-18 05:42:08 +00:00
Alex Roitman
ece2cf7d42 * src/plugins/GraphViz.py: Remove bogus UI labels.
svn: r3921
2005-01-17 20:46:32 +00:00
Alex Roitman
7b1c41a611 * src/ReadGedcom.py: Handle missing TRLR record.
svn: r3920
2005-01-17 18:05:50 +00:00
Alex Roitman
e5dc04dc55 * src/docgen/PdfDoc.py: Port table and image fixes from STABLE.
* src/plugins/Ancestors.py (person_name): Avoid overriding builtin.


svn: r3919
2005-01-17 05:12:34 +00:00
Alex Roitman
be850a40c6 * src/ReportOptions.py (OptionHandler.set_options):
svn: r3918
2005-01-16 19:14:14 +00:00
Alex Roitman
5c08a9cb9a * src/plugins/FamilyGroup.py (dump_parent): Typo.
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
2444226acc * src/Plugins.py (reload_plugins): Check for status.
* src/Report.py: pychecker fixes


svn: r3916
2005-01-16 17:50:32 +00:00
Don Allingham
effa5fd442 * src/EditPerson.py: don't use quote date
* src/PeopleModel.py: remove BOLD
* src/PeopleView.py: start of sorting support
* src/WriteXML.py: use hlink for Witness
* various: pychecker fixes
* configure.in: bump up to 1.1.3, the "Splunge: this is a
greate idea, but possibly lousy, and I'm not being indecisive"
release


svn: r3915
2005-01-16 04:00:35 +00:00
Alex Roitman
1f127db0a5 * src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
2005-01-15 20:24:29 +00:00
Alex Roitman
82edf5a99d * src/plugins/GraphViz.py: Restore "Place/cause when no date"
option that was available before in RelGraph; rename 'show
family nodes' into 'sfn'.
* src/plugins/StatisticsChart.py: Rename 'sort' into 'sortby'.


svn: r3913
2005-01-15 05:51:48 +00:00
Alex Roitman
c29f7d3122 * src/plugins/BookReport.py: Switch to saving/restoring/registering
items by the non-localized name.
* src/plugins/GraphViz.py: Many various fixes.


svn: r3911
2005-01-14 05:02:20 +00:00
Alex Roitman
b71df1c117 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +00:00
Alex Roitman
1ec6ff4afa * src/plugins/Check.py: Typos.
svn: r3909
2005-01-13 18:00:49 +00:00
Don Allingham
f770f8b329 * src/DateDisplay.py: Make DateDisplayEn inherit from DateDisplay, make
DateDisplay handle only ISO dates
* src/DateHandler.py: use DateDisplayEn for English languages, use
DateDisplay for CJK
* src/GrampsCfg.py: Don't do initial redisplay of Person List when
dialog comes up, update dates dynamically when date format changes


svn: r3908
2005-01-12 21:23:31 +00:00