2005-04-05 Don Allingham * src/DbPrompter.py: provide a better error message of DB open failure * src/const.py.in: Add Martin Hawlisch and Richard Tayor to author list 2005-04-05 Martin Hawlisch * src/PedView.py: Show Baptism/Burial as fallback for birth/death; Moved text generation for details view out of DispBox class so that PedigreeView can use the same string for max size calculation. * src/PeopleModel.py: Show Baptism/Burial as fallback for birth/death. Based on patch from Jim Smart. * src/PeopleView.py: Enable makup that PeopleModel can render fallback data in italics. 2005-04-01 Richard Taylor * src/GrampsDBCallback.py: added support for disconnecting callbacks, better test code and lots of logging. Improved the comments. 2005-04-04 Alex Roitman * src/Marriage.py: proper window management on delete event. * src/RelLib.py (Event.are_equal): Correction. * src/Date.py (is_empty): Require empty text for a date to be empty. * src/WriteXML (write_object): Remove places from Media. * src/GrampsDbBase.py (undo): Typos. * src/GrampsDBCallback: Pretty printing for warnings. 2005-04-04 Don Allingham * src/ChooseParents.py: fix father/mother relationship * src/FamilyView.py: fix update of child pointers after add * src/PeopleView.py: unselect previous entry on new goto_active_person * src/MediaView.py: pass handle instead of GRAMPS ID during drag-n-drop * src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression * src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression * src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression * src/ReadGedcom.py: fix relation typo, enable/disable signals around import * src/ReadXML.py: enable/disable signals around import * src/gramps_main.py: disable signals before undo and exit 2005-04-01 Richard Taylor * src/GrampsDBCallback.py: Don't check callbacks if the dict is empty. 2005-04-04 Don Allingham * src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild requests in the database instance * src/ReadXML.py: use request_rebuild instead of directly emitting s ignals * src/ReadGedCom.py: use request_rebuild instead of directly emitting signals 2005-04-01 Richard Taylor * src/GrampsDBCallback.py: Added code to disable/enable signals on a per instance or all instance bassis. Improved test code and changed type checking to use isinstance instead of type(). 2005-04-04 Alex Roitman * src/ImageSelect.py (on_savephoto_clicked): Pass transaction to savephoto; (savephoto): take transaction argument); (on_photolist_drag_data_received): Pass transaction. 2005-04-03 Don Allingham * src/FamilyView.py: commit family properly * src/PedView.py: change_active_person typo * src/PeopleView.py: don't change active person with updated * src/SelectChild.py: Fix callbacks * src/gramps_main.py: load active family on change * src/ArgHandler.py: Make sure all databases are closed before creating a new one. * src/DisplayModels.py: Calculate new nodes properly after a node has be deleted. The node hasn't been removed from the database yet. * src/EditPerson.py: Add check for unknown gender before closing * src/EditSource.py: Remove unnecessary updates * src/GrampsBSDDB.py: check for open in close() * src/GrampsDbBase.py: spelling error * src/MediaView.py: connect to database-changed * src/PedView.py: remove unused update function * src/PeopleView.py: connect to database-changed * src/PlaceView.py: connect to database-changed * src/SourceView.py: connect to database-changed, remove unnecessary callback * src/gramps_main.py: add database-changed signal 2005-04-03 Alex Roitman * src/AddMedia.py: Remove unneeded update argument. * src/ArgHandler.py (auto_save_load): Mysterious workaround :-). * src/EditPlace.py (display_references): Drop media objects; (DeletePlaceQuery.query_response): use proper handle removal. * src/GrampsBSDDB.py (remove_object): emit media signal. * src/GrampsDbBase.py (GrampsDbBase): Add media-related signals; (commit_media_object,transaction_commit,undo): emit media signals. * src/ImageSelect.py (GlobalMediaProperties,DeleteMediaQuery): Remove unneeded update argument. * src/MediaView.py (media_add,media_update,media_delete): Add callbacks; (change_db): connect callbacks to signals; (popup_change_description): Call property editor without callback param; (on_add_clicked): Call AddMedia without callback param; (add_object,update_display,add_to_display): Remove unneeded methods; (on_edit_clicked): call property editor without callback param; (on_delete_clicked): call deleter without callback param; (on_drag_data_received): Call property editor without callback param. * src/PlaceView.py (new_place_after_edit): Remove unneeded method; (delete_place): Remove unneeded tree update; (is_used) Add method; (on_delete_clicked): Use new detection method. 2005-04-02 Don Allingham * src/ReadGedcom.py: emit proper signals to notify of a database rebuild, handle parent/child relationships better - eliminate string types * src/ReadXML.py: emit proper signals to notify of a database rebuild * src/Sources.py: select just added handle after an addition * src/SourceView.py: fix multiple selection problem. 2005-04-02 Martin Hawlisch * src/EditPerson.py: Remove unneeded arguments. * src/Marriage.py: Remove unneeded arguments. 2005-04-01 Don Allingham * 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 2005-04-01 Alex Roitman * src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument. 2005-04-01 Don Allingham * src/AddSpouse.py: remove unused callbacks * src/FamilyView.py: remove unused callbacks 2005-04-01 Martin Hawlisch * src/plugins/TestcaseGenerator.py: Small changes to family generation * src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types 2005-04-01 Richard Taylor * src/GrampsDBCallback.py: rewrite of new callback scheme using python signals * src/GrampsBSDDB.py: handle signals instead of callback functions * 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 2005-04-01 Don Allingham * src/gramps.glade: disable scrollbars in Pedigree View * src/PedView.py: Apply Martin Hawlisch's canvas resize patch 2005-04-01 Richard Taylor * src/ImageSelect.py (on_photolist_drag_data_get): forgot to remove print statement. 2005-04-01 Richard Taylor * 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. 2005-04-01 Richard Taylor * src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd 2005-04-01 Richard Taylor * 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. 2005-04-01 Richard Taylor * 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. 2005-04-01 Richard Taylor * 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. 2005-04-01 Martin Hawlisch * 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 * src/plugins/TestcaseGenerator.py: Added generation of invalid event references of persons * src/plugins/Check.py: Check for invalid event references of persons 2005-03-31 Don Allingham * 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 2005-03-31 Alex Roitman * 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. * src/plugins/ScratchPad.py (ScratchPadWindow.__init__): Minor change. 2005-03-31 Martin Hawlisch * 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 :-) 2005-03-31 Richard Taylor * 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. 2005-03-30 Don Allingham * 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 2005-03-30 Martin Hawlisch * plugins/TestcaseGenerator.py: Added some more testcases of invalid relations * plugins/Check.py: Added some comments an handling for some more invalid references 2005-03-29 Don Allingham * 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 2005-03-29 Alex Roitman * src/Witness.py (WitnessEditor.__init__): Work around missing reference. * src/gramps_main.py (delete_person_response): Object/handle mixups, remove unneeded commits. * 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. 2005-03-29 Richard Taylor * src/plugins/ScratchPad.py (on_object_select_row): fixed the drop of text into TextView widgets. 2005-03-29 Richard Taylor * 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. 2005-03-27 Don Allingham * src/SourceView.py: connect SourceView.merge into the multiple selection mechanism 2005-03-27 Alex Roitman * src/MergeData.py: Fixes 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. * 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. 2005-03-26 Alex Roitman * src/RelLib.py (Source.replace_source_references): Add method. * src/MergeData.py (MergeSources.merge): Use new handle replacement. 2005-03-26 Don Allingham * src/MergeData.py: Add interface support for parents/family merging 2005-03-26 Martin Hawlisch * src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database * src/plugins/Check.py (check_parent_relationships): typo * 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. 2005-03-25 Richard Taylor * 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. 2005-03-25 Richard Taylor * 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 2005-03-24 Don Allingham * src/EventEdit.py: Display error message if event type not specified. * src/gramps_main.py: fix merge callback 2005-03-24 Alex Roitman * 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. * 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. * 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. 2005-03-24 Richard Taylor * 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. 2005-03-23 Martin Hawlisch * 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. * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch. 2005-03-23 Alex Roitman * 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. * 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. * 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. 2005-03-22 Alex Roitman * 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. * 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. * 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. 2005-03-21 Julio Sanchez * src/MergeData.py: further changes to adapt to new API 2005-03-19 Don Allingham * 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. 2005-03-19 Alex Roitman * 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. * src/gramps.glade: Add tolltip to scratchpad button. 2005-03-18 Alex Roitman * doc/gramps-manual/C/figures/export-druid.png: Update. * doc/gramps-manual/C/gramps-manual.xml: Update. 2005-03-18 Richard Taylor * 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. 2005-03-17 Martin Hawlisch * 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. 2005-03-17 Alex Roitman * 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. * 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. 2005-03-17 Martin Hawlisch * 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 2005-03-16 Alex Roitman * src/GenericFilter.py (HasTextMatchingSubstringOf): Minor. * src/plugins/FilterEditor.py (EditRule:__init__): Typo. * ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current. 2005-03-16 Martin Hawlisch * 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. * 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. 2005-03-16 Richard Taylor * src/ScratchPad.py (ScratchPad): improved the generation of tooltip information for most object types. 2005-03-16 Richard Taylor * src/EditPerson.py (EditPerson.ev_drag_data_received): Fixed drag and drop of events. 2005-03-15 Alex Roitman * 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 (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. * src/data/gramps.xml: Correct GW magic to not collide with XML. 2005-03-15 Richard Taylor * 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. 2005-03-15 Martin Hawlisch * src/GenericFilter.py (FullTextSearch): Added new filter that provides a full-text search thru (nearly) all attributes and linked objects 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(). * src/plugins/ImportGeneWeb.py: fixed small typos 2005-03-14 Alex Roitman * 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. 2005-03-14 Don Allingham * src/gramps_main.py: use new GRAMPS homepage 2005-03-13 Alex Roitman * 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. * src/EventEdit.py (get_place): Typo. * src/DisplayTrace.py (__init__): Mark debian distros. 2005-03-12 Martin Hawlisch * 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. 2005-03-11 Alex Roitman * 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. * 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. 2005-03-11 Martin Hawlisch * src/GenericFilter.py (PersonWithIncompleteEvent, FamilyWithIncompleteEvent, ProbablyAlive,PeoplePrivate): Add filter rules. * src/gramps_main.py (init_filters): Add new filters to the menu. 2005-03-10 Martin Hawlisch * 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. * src/plugins/NavWebPage.py: Catch invalid HomeNote object 2005-03-09 Don Allingham * 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) * src/EditPerson.py: call new_after_edit instead of update_after_edit for new people. * 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 2005-03-09 Martin Hawlisch * src/GenericFilter.py (IsDefaultPerson,IsSiblingOfFilterMatch): Add filter rules. 2005-03-09 Alex Roitman * src/PedView.py: Import RelLib for accessing relationship constants. * src/NameEdit.py: Use empty Date for newly created name. * src/data/gramps.schemas: Place dont-ask key into interface dir. * src/Marriage.py (did_data_change): Compare gramps_id, not handle. * 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. * src/FamilyView.py: Correct constants for birth relationship. * src/AddSpouse.py (select_spouse_clicked): Prevent adding child of the family as a spouse in that family. 2005-03-09 Don Allingham * src/NameEdit.py: assign date on close 2005-03-08 Don Allingham * 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. 2005-03-08 Alex Roitman * 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. * src/DbPrompter.py (ImportDbPrompter.chooser): Typo. * src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos. * src/AddSpouse.py (select_spouse_clicked): Typo. * 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. * 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. 2005-03-07 Alex Roitman * 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. 2005-03-07 Don Allingham * src/RelLib.py: more documentation 2005-03-07 Alex Roitman * src/gramps_main.py (post_load): Upgrade even if no callback. 2005-03-06 Don Allingham * src/GrampsBSDDB.py: display upgrade messages to stdout 2005-03-06 Don Allingham * 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 2005-03-06 Alex Roitman * src/EditSource.py (display_references): List source's references from personal and family gallery objects. 2005-03-04 Alex Roitman * src/GenericFilter.py (HasAttribute.apply): Make work when no value is given; (HasFamilyAttribute.apply): Make work when no value is given. 2005-03-03 Alex Roitman * 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. 2005-03-02 Don Allingham * 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 * src/Marriage.py: fix lds menu * 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 2005-03-02 Alex Roitman * src/DbPrompter.py (ImportDbPrompter.chooser): Explicitly import XML and GEDCOM. * src/plugins/FilterEditor.py (MySelect.get_text): Typo. * src/plugins/FilterEditor.py: Multiple fixes. * src/GenericFilter.py: Multiple fixes. * src/plugins/Makefile.am: Stop shipping ReadNative.py. 2005-02-27 Alex Roitman * 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. 2005-02-27 Don Allingham * src/plugins/NavWebPage.py: add the ability to have notes attached to the Introduction and Home pages 2005-02-27 Julio Sanchez * src/MergeData.py: partial set of changes to handle new API 2005-02-27 Julio Sanchez * 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 2005-02-26 Don Allingham * 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 2005-02-25 Don Allingham * src/gramps_main.py: update places and sources after edit 2005-02-25 Alex Roitman * src/DbPrompter.py (GrampsFormatWidget): Add class; (format_maker): Add_function; (NewSaveasDbPrompter.chooser): Support for explicit format selection. * src/Sources.py (SourceEditor.update_display): Do not add source for the second time. * src/EditPerson.py (EditPerson.__init__): Correct widget names. * 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. * src/EditPerson.py (on_event_update_clicked): Pass callback. * src/EventEdit.py (__init__): Typo. * src/Sources.py (SourceEditor.draw): Do not discard reference data when adding new source. * src/DbPrompter.py: Factory functions for file filters; Support for explicit format selection for open and import dialogs. 2005-02-24 Alex Roitman * src/MediaView.py (on_select_row): Add garbage collection call. 2005-02-23 Don Allingham * 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 * 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 2005-02-22 Don Allingham * src/gramps.glade: use ComboBox instead of ComboBoxEntry for temple * src/EditPerson.py: use ComboBox instead of ComboBoxEntry for temple 2005-02-22 Alex Roitman * configure.in: Bump up the version. * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding. * src/Exporter.py (native_export): Use real export. * src/WriteGrdb.py (exportData): Provide default cl value. * 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. 2005-02-21 Don Allingham * Release: Version 1.1.90 "Successful encyclopedia salesman" released. 2005-02-21 Eero Tamminen * NEWS: Added notes about user visible GraphViz and StatisticsChart report changes/enhancements 2005-02-21 Alex Roitman * NEWS: Update. * src/docgen/PSDrawDoc.py (draw_text,write_at): Attempt latin1 encoding. * src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it from ReportUtils instead. * src/ReportUtils.py (rgb_color): Add function. * src/docgen/LPRDoc.py: Use rgb_color from ReportUtils. * 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. 2005-02-20 Alex Roitman * src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth. * doc/gramps-manual/C/usage.xml: Update. 2005-02-20 Don Allingham * src/ReportUtils.py: use today for age calculation if not death date exists. * src/plugins/NavWebPage.py: handle privacy if requested 2005-02-19 Don Allingham * 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 * 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 2005-02-19 Alex Roitman * 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. * 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. * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names. * src/ReportUtils.py (born_died_str): Find events to reference. 2005-02-18 Don Allingham * src/EditPerson.py: more readonly patches * src/EventEdit.py: more readonly patches * src/Marriage.py: more readonly patches * src/gramps.glade: more readonly patches 2005-02-18 Alex Roitman * 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/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES. * src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES. * src/EditPerson.py: Readonly fix. * src/gramps.glade: Typo. 2005-02-18 Eero Tamminen * src/plugins/StatisticsChart.py: fix date object checking 2005-02-17 Don Allingham * 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 2005-02-17 Alex Roitman * 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. * src/docgen/OpenOfficeDoc.py: Typo. 2005-02-16 Don Allingham * src/EditSource.py: commit events after deleting sources * 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 2005-02-16 Eero Tamminen * src/plugins/GraphViz.py: 'pagesv' value comes from 'vpages' field, not 'hpages' 2005-02-16 Don Allingham * 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 * src/DisplayModels.py: don't override on_row_deleted 2005-02-16 Alex Roitman * 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. * 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. 2005-02-15 Don Allingham * 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 2005-02-15 Alex Roitman * 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. 2005-02-14 Alex Roitman * src/plugins/DetAncestralReport.py: Typos. * src/plugins/DetDescendantReport.py: Typos. * 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. 2005-02-12 Alex Roitman * src/ReadGrdb.py: Check for overlapping handles prior to modifying data. * src/ArgHandler.py (handle_args): Natively open XML and GEDCOM when given a single filename argument. * src/gramps_main.py (read_gedcom,read_xml): Remove ununsed functions. 2005-02-12 Don Allingham * src/plugins/NavWebPage.py: More enhancements * src/Sort.py: sort places by title 2005-02-09 Don Allingham * src/plugins/NavWebpage.py: Build template pages for unused pages, add Surname List and Individual List pages. 2005-02-04 Alex Roitman * src/plugins/NavWebPage.py (display_relationships): Pass another argument to display_spouse(); Use child's ID for link, not the parent's; (display_spouse): Use spacers for additional spouses. Use unique registration name. * src/ReportUtils.py (find_spouse): Typo. 2005-02-03 Don Allingham * src/plugins/NavWebPage.py: more progress 2005-02-02 Don Allingham * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN 2005-02-02 Eero Tamminen * src/plugins/StatisticsChart.py: Better colors for pies 2005-02-02 Alex Roitman * src/Makefile.am: Ship ReadGrdb.py and WriteGrdb.py. 2005-02-01 Alex Roitman * 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. 2005-01-02 Guillaume Pratte * src/po/fr.po : Update from the STABLE branch. 2005-01-31 Alex Roitman * src/RelLib.py: Finish up with actual MALE, FEMALE, and UNKNOWN attributes of the Person class. * src/ReportUtils.py: More report-related methods. * src/plugins/DetAncestralReport.py: Use ReportUtils methods. * src/plugins/DetDescendantReport.py: Use ReportUtils methods. 2005-01-31 Don Allingham * various: Change Person.male, Person.female, and Person.unkwown to Person.MALE, Person.FEMALE and Person.UNKNOWN 2005-01-30 Don Allingham * gramps.spec.in: bring up to date, support Fedora Core and Mandrake * src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin 2005-01-30 Alex Roitman * 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. * src/WriteGrdb.py: Copy metadata; Remove redundant str conversion. * 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. 2005-01-29 Alex Roitman * src/plugins/GraphViz.py (GraphVizDialog.__init__): Use proper response ID; (GraphVizGraphics.__init__): set up self.doc; (EmptyDoc.init): Add empty method. * src/ArgHandler.py: Support for opening in the command-line mode. * src/const.py.in: Add -O | --open option. 2005-01-29 Eero Tamminen * src/plugins/StatisticsChart.py: - Added support for Don's Pie charts + color styles for it - Added bar_items option to decide when Report is going to use Bar charts and when Pie charts 2005-01-29 Eero Tamminen * src/plugins/StatisticsChart.py: - Add first versions of following statistics: - Child counts - Marriage places - Marriage ages - Ages when first child was born - Ages when last child was born - Added a note that children can be either biological or adopted (this relation can be gotten easily/fast only when going from child to parents, not when going from parent to children like I need to) - Take advantage of Don's age calculations function -> Remove "Estimate" from the age descriptions - Convert ages to correctly sortable strings - Add a few TODO notes 2005-01-28 Alex Roitman * 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. * src/ArgHandler.py: Support for the native importer. * NEWS: Update. 2005-01-26 Don Allingham * 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 2005-01-25 Don Allingham * src/ReportUtils.py: allow start and stop event handle selection for age estimation 2005-01-25 Alex Roitman * 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. * src/ReadGedcom.py (parse_person_object,parse_family_object): Use absolute path to work around what seems a gnomevfs issue. 2005-01-25 Eero Tamminen * src/plugins/StatisticsChart.py: - Comment out debug output - Bugfix: each chart to its own page - Move comparison function to report class - Make strings about missing information more consistent/clearer - Use capitalized gender names instead of Gramps (lowercase) consts 2005-01-24 Don Allingham * gramps.spec.in: pkill gconfd to fix settings 2005-01-24 Alex Roitman * 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. * src/plugins/DesGraph.py: Add styles before initializing doc. * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF. * 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. * src/docgen/LPRDoc.py (LPRDoc.draw_box): Shadow support. * 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. 2005-01-23 Don Allingham * src/BaseDoc.py: don't check for init on table or cell addition * src/Report.py: Call doc.init() before write_report 2005-01-23 Eero Tamminen * src/plugins/StatisticsChart.py: - Complete refactoring of Extract class. There are now separate methods for Gramp type extraction and data extraction from types + db is stored to self.db. This makes code much more flexible - Added charts for person age, death and birth places, death cause - Changed _Extract.extractors accesses accordingly - Better chart title localization (use keywords) - Fix two minor bugs in yesterday's code 2005-01-22 Eero Tamminen * src/plugins/StatisticsChart.py: - Move data item options to separate tab in report GUI - Each data item option can now be selected separately and therefore they have separate option names - Note: Generating separate Chart for data options maybe be broken because I couldn't test it because of BaseDoc problems - Put options with predefined values to separate class (like in GraphViz.py) - Add non-localized option value descriptions for CLI 2005-01-21 Eero Tamminen * src/plugins/GraphViz.py: Change CLI help to use non-localized option descriptions 2005-01-19 Don Allingham * 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 2005-01-18 Don Allingham * src/ReportUtils.py: added documentation 2005-01-18 Martin Hawlisch * src/NameEdit.py: Fix patronymic show/save. 2005-01-18 Eero Tamminen * src/plugins/GraphViz.py: - Content options are now on the Report tab, Layout/looks options are left to GraphViz tab - Remade option lists, there's now a new class that keeps them - Moved lists from different places in code to the new class - Added 'rankdir' option for graph direction and 'latin' option for fonts (visible only on command line, in GUI it's taken from selected font and set whether labels need utf8->latin1 conversion) - Changed 'colorize' option to support color filling in addition to just outline color (nicer for on-screen docs) - Changed the options defaults slightly (e.g. "Default" font is now default, this is a bit contraversial) - Non-blood relation line changed from dashed to dotted - Changed three option names to be more understandable: - sfn -> showfamilies - repb -> placecause - incda -> incdate 2005-01-18 Alex Roitman * NEWS: Correct attribution of ini-backend. * configure.in: bump up the version number. * src/DateDisplay.py: Move common objects back to DateDisplay class. * src/dates/Date_ru.py: Add formats and quality. * src/EditPerson.py (get_place): Use "" for empty place's handle. * src/RelLib.py (Event.are_equal): Only compare place handles if at least one if them is non-empty. * 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. * src/dates/Date_fr.py: Add formats and quality. * src/dates/Date_es.py: Add formats and quality. 2005-01-17 Don Allingham * src/ReportUtils.py: Added * src/BaseDoc.py: support for graphs * src/docgen/OpenOfficeDoc.py: write_at support * src/Makefile.am: added ReportUtils.py 2005-01-17 Don Allingham * Release: Version 1.1.3 "Splunge: this is a greate idea, but possibly lousy, and I'm not being indecisive" released. 2005-01-17 Martin Hawlisch * src/ReadGedcom.py: Handle missing TRLR record. 2005-01-17 Alex Roitman * src/plugins/GraphViz.py: Remove bogus UI labels. 2005-01-16 Alex Roitman * src/Plugins.py (reload_plugins): Check for status. * src/Report.py: pychecker fixes * src/plugins/FamilyGroup.py (dump_parent): Typo. * src/ReportOptions.py (OptionHandler.set_options): Ignore unknown options. * src/docgen/PdfDoc.py: Port table and image fixes from STABLE. * src/plugins/Ancestors.py (person_name): Avoid overriding builtin. 2005-01-15 Don Allingham * 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 2005-01-15 Alex Roitman * 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. 2005-01-14 Alex Roitman * 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'. 2005-01-13 Alex Roitman * src/Report.py: Typos. * src/plugins/WebPage.py: Typos. * src/plugins/BookReport.py: Switch to saving/restoring/registering items by the non-localized name. * src/plugins/GraphViz.py: Many various fixes. 2005-01-13 Martin Hawlisch * src/plugins/Check.py: Typos. 2005-01-12 Don Allingham * 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 2005-01-12 Martin Hawlisch * src/DisplayModels.py: Add Date and Place columns to Media model; Zip to Place model. * src/MediaView.py: Support for Date and Place columns. * src/PlaceView.py: Support for Zil column. * src/GrampsDbBase.py (get_place_column_order, get_media_column_order): New column defaults. 2005-01-11 Eero Tamminen * src/plugins/StatisticsChart.py: remove localization from command line options help and put it back to dialog additions. Have options in code in same order as in the GUI. Alias options_class.handler.options_dict for more readable code. Fix sort and gender option parsing. 2005-01-11 Alex Roitman * src/GrampsGconfKeys.py (get_event_id_prefix): Typo. * src/GrampsIniKeys.py (get_event_id_prefix): Typo. * src/Utils.py (for_each_ancestor): Switch from Person to handle. * src/GenericFilter.py (for_each_ancestor): Pass db instance. * src/plugins/GraphViz.py: Support for graphical report if dot was found on the system. * src/Report.py: Switch to using short format names. Fix templates. * src/Plugins.py: Switch to using short format names. * src/PluginMgr.py: Switch to using short format names. * src/ReportOptions.py: Switch to using short format names. * src/plugins/WebPage.py: Fix templates. 2005-01-10 Martin Hawlisch * src/EditPlace.py (EditPlace.display_references): Fix event and object references. * src/ImageSelect.py (GlobalMediaProperties.display_refs): Add references for personal and family events. * src/WriteGedcom.py (write_source_ref): Use source, not handle. 2005-01-10 Alex Roitman * src/plugins/StatisticsChart.py: Misc fixes. * src/PluginMgr.py (reload_plugins): Remove function. * src/Plugins.py (reload_plugins): Add function. 2005-01-10 Eero Tamminen * src/plugins/Makefile.am: * src/plugins/StatisticsChart.py: Initial port of the StatisticsChart plugin to new report scheme (plugin loads and dialog/options work, report generation not yet) 2005-01-08 Don Allingham * src/GrampsDbBase.py: remove thumbnailing routines, add id creation. Removes gtk and Utils dependencies, making the database routines independent of gtk and gnome. * src/ImgManip.py: add thumbnailing routines. * various: thumbnailing changes and pychecker fixes 2005-01-08 Alex Roitman * src/Report.py (CommandLineReport.parse_option_str): Fix PluginMgr lists. * src/plugins/CustomBookText.py: Convert to new scheme. * src/plugins/FamilyGroup.py: Switch from handle to id for spouse. * src/plugins/SimpleBookTitle.py: Cleanups. * src/GrampsInMemDB.py (get_person_from_gramps_id, get_family_from_gramps_id,get_place_from_gramps_id, get_source_from_gramps_id,get_object_from_gramps_id): Unserialize tuple and return a proper GRAMPS object. * src/DbPrompter.py (NewNativeDbPrompter.chooser): Initialize natvie database before attempting to load. * src/gramps.glade: Reorder toolbar style options. * src/GrampsCfg.py (get_toolbar_style): Remove function; (GrampsPreferences.build): Use correct values. * src/GrampsGconfKeys.py (get_toolbar, save_toolbar): Correct tuple of valid values. * src/gramps_main.py (init_interface, toolbar_key_update): Use function from GrampsKeys. * src/data/gramps.schemas: Correct the default and the description of the toolbar key. * src/PluginMgr.py: Minor fixes. 2005-01-07 Don Allingham * src/gramps.glade: removal of more OptionMenus in favor of ComboBoxes * src/GrampsCfg.py: use new ComboBoxes * src/DateHandler.py: fix set_format vs. formats bug 2005-01-07 Alex Roitman * src/Plugins.py: Use doc lists from PluginMgr. * src/Exporter.py: Use exports list from PluginMgr. * src/plugins/BookReport.py: Import Plugins module. * src/NameEdit.py (NameEditor.__init__): Typos. * src/plugins/SimpleBookTitle.py: Convert to new scheme. * src/docgen/LPRDoc.py: Support photo alignments. * src/Report.py: Fix interface creation order. 2005-01-07 Eero Tamminen * src/Makefile.am: Added GrampsKeys.py and GrampsIniKeys.py so that Gramps starts up after installation 2005-01-06 Alex Roitman * src/ArgeHandler.py: Support for WEB for CLI mode. * src/Report.py: Support for WEB reports. * src/plugins/GraphViz.py: Minor tweaks. * src/plugins/WebPage.py: Convert to new scheme. Still rough. 2005-01-06 Don Allingham * src/EditPerson.py: switch to ComboBox from OptionMenu * src/GenericFilter.py: switch to ComboBox from OptionMenu * src/Marriage.py: switch to ComboBox from OptionMenu * src/PeopleView.py: switch to ComboBox from OptionMenu * src/gramps.glade:switch to ComboBox from OptionMenu * src/gramps_main.py: switch to ComboBox from OptionMenu * src/const.py.in: add support for overriding gconf usage * src/GrampsIniKeys.py: provide support for the default schema * src/GrampsKeys.py: select appropriate backend * various: switch from GrampsGconfKeys to GrampsKeys for normal usage 2005-01-05 Douglas S. Blank * src/GrampsIniKeys.py: Alternate backend using .ini files instead of gconf 2005-01-05 Don Allingham * src/gramps_main.py: detect pygtk_version before passing False for markup on MenuItem 2005-01-05 Douglas S. Blank * src/Utils.py (roman): Proper implementation. 2005-01-05 Martin Hawlisch * src/EditSource.py: Patch to fix the list of References of a Source, because currently the Source for a Person and Sources of addresses are omitted. 2005-01-04 Alex Roitman * src/ArgeHandler.py: Support for CODE for CLI mode. * src/Plugins.py: Use 'text' instead of 'doc'. * src/Report.py: Support for CODE reports. * src/ReportOptions.py: Paper-setting methods for runtime. * src/const.py.in: Label change. * src/plugins/GraphViz.py: Convert to new scheme. 2005-01-04 Don Allingham * src/Plugins.py: move non-gui functions to PluginMgr.py * src/PluginMgr.py: Non-gui functions for plugins * src/Makefile.am: Added PluginMgr.py * various: switch from Plugins to PluginMgr 2005-01-03 Don Allingham * src/GrampsDbBase.py: move all thumbnail creation here to have a common thumbnail scheme. * src/GrampsInMemDB.py: remove thumbnail handling, use base class * src/DateHandler.py: Don't force English parser if problem with config value, but LANG is set properly 2005-01-02 Alex Roitman * src/Report.py: Add support for a semi-common 'dispf'. * src/ReportOptions.py: Add support for a semi-common 'dispf'. * src/Utils.py (cm2pt): Add function. * src/plugins/AncestorChart.py: Convert to new scheme. * src/plugins/AncestorChart2.py: Convert to new scheme. * src/plugins/DesGraph.py: Convert to new scheme. * src/Report.py (report): Support for VIEW reports. * src/plugins/Summary.py: Convert to new scheme. * src/plugins/CountAncestors.py: Convert to new scheme. * src/plugins/RelGraph.py: Remove from CVS. * src/plugins/GraphViz.py: Minor fixes. Still not converted yet. * src/plugins/Makefile.am: Stop shipping RelGraph.py. 2005-01-01 Don Allingham * src/EditPerson.py: move strip_id from Utils * src/GrampsCfg.py: use ComboBox for toolbar selection * src/Sources.py: switch to ComboBoxes from OptionMenus * src/Utils.py: removed unused functions * src/gramps.glade: switch to ComboBoxes 2005-01-01 Alex Roitman * src/plugins/DetAncestralReport.py: Minor cleanup. * src/plugins/DetDescendantReport.py: Convert to new scheme. * src/plugins/FamilyGroup.py: Convert to new scheme. * src/Report.py: Typos. * src/plugins/FanChart.py: Convert to new scheme. * src/SubstKeywords.py (SubstKeywords.__init__): Typo. * src/plugins/TimeLine.py: Remove unneeded imports. * src/plugins/FamilyGroup.py: Remove unneeded imports. * src/plugins/Ancestors.py: Remove unneeded imports.