2005-08-09 Martin Hawlisch * src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that. * src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE. * src/PedView.py: Start using new PageView logic. Unfinished. * src/gramps_main.py: Enable PedView 2005-08-08 Don Allingham * src/DbState.py: Added new class to keep track of database status * src/PageView.py: base class for pluggable views * src/PersonView.py: new version of PeopleView * src/ViewManager.py: view and database management class 2005-08-05 Don Allingham * various: remove set_date/get_date removal to be replaced by DateHandler calls 2005-07-08 Alex Roitman * various: merge changes made in gramps20 branch with main trunk. 2005-06-24 Martin Hawlisch * src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20 * src/plugins/TestcaseGenerator.py: Update to new tuple types * src/RelLib.py: Use DeprecationWarning and api wrappers instead of assert to make HEAD a little more usable again until all transitition is done 2005-06-20 Don Allingham * src/GenericFilter.py: optimize looping and reducing fetches * src/Utils.py: fix event handle accesses 2005-06-16 Alex Roitman * src/EventEdit.py: Remove unused variable. * src/EventEdit.py: Hide warning message for new events and for existing events with the default role; Only commit new Event when OK clicked in the editor. * src/RelLib.py: Add assertions for external witness methods. * src/gramps.glade: Make warning easy to show/hide. 2005-06-15 Don Allingham * src/DisplayModels.py: fixed event type display * src/ReadXML.py: build child/family relationships properly on import, add missing event descriptions * src/RelLib.py: type checking for set_role relationship types 2005-06-15 Alex Roitman * src/ListBox.py (EventListBox.set_place): Fix place setting. 2005-06-14 Alex Roitman * src/events.png, src/repos.png, src/repos24.png: Add GNOME icons for the stock calendar and drawer. * src/events24.png: Update small icon. * src/gramps.glade: Use new icons for the Event View and Repository View side bar buttons. Add small icons to the main notebook tabs. 2005-06-08 Martin Hawlisch * src/EditPerson.py: Make gender guessing work again 2005-06-08 Alex Roitman * src/gramps_main.py (init_interface): Set proper color for new icons. * src/gramps.glade (gramps): Label new buttons, left-align labels. * src/GrampsDbBase.py (get_event_column_order): Show date column. * src/EventView.py (Module): Add "Last Changed" column; do not hard-code handle column. * src/DisplayModels.py (EventModel.__init__): Switch column order. * src/EventView.py (Module): Remove extra column. * src/EventEdit.py (EventEditor.__init__): Remove obsolete code. * src/gramps.glade (Marriage): Re-work dialog similar to EditPerson. * src/Utils.py (family_event_roles): Add mapping. * src/RelLib.py (EventRef): Add FAMILY role. * src/Marriage.py: Start using Listbox, so far for Events only. * src/ListBox.py: Support both person and family primaries. * src/EventEdit.py: Support both person and family primaries. * src/EditPerson.py (on_apply_person_clicked): Do not commit event, as this is done in the editor. * src/EditPerson.py: Commit events, since there may be changes made no in the editor. * src/EventEdit.py: Use combined mapping for all events. * src/FamilyView.py: Proper display of child relations. * src/Marriage.py: Commit events; properly call common event/ref editor. * src/Utils.py: Minor. * src/gramps.glade: Minor update. * src/AutoComp.py (StandardCustomSelector.__init__): Compare active_key to None. * src/gramps.glade (marriageDialog): Remove displayed strings from the Sttributes tab. * src/Marriage.py: Delegate attribute handling to ListBox. * src/ListBox.py (AttrListBox): Support both personal and family attributes. * src/ChooseParents.py: Correct use of types; Use family relations between parents; Use EventRef for birth; Remove obsolete code. * src/gramps.glade (familyDialog): Typo in widget name. 2005-06-08 Martin Hawlisch * src/EventView.py (column_names): Add missing column * src/RepositoryView.py (column_names): Add missing columns * src/GrampsDbBase.py: fix column_order methods * src/DisplayModels.py (RepositoryModel): Remove parish column because it is not editable anyway * src/gramps_main.py (column_order): add Repository View; (init_interface): Remove unneeded callback 2005-06-08 Alex Roitman * src/ChooseParens.py: Support for (int,str) relationships. * src/FamilyView.py (new_child_after_edit): Use tuple relationships. * src/SelectChild.py: Support for (int,str) relationships. * src/gramps.glade (selec_child,modparents,familyDialog): Replace ComboBoxes with ComboBoxEntries. * src/RelLib.py (add_parent_family_handle, change_parent_family_handle): Correct the docstring to reflect tuple relationships. 2005-06-07 Alex Roitman * src/gramps.glade (selecty_person): Change positioning; add icon. * src/edit_person.glade (event_tab): Correct tooltips. * src/SelectEvent.py: Add to CVS. * src/Makefile.am: Ship SelectEvent.py file. * src/SelectChild.py (build_list): Use mapping from Utils. * src/ReadGrdb.py (importData): Properly copy event table. * src/ListBox.py: Properly fill in the Combo maps without collisions; Add Role to the EventListbox; Support selecting an existing Event object. * src/GrampsInMemDB.py: Support for event id table. * src/GrampsDbBase.py: Support for event id table. * src/GrampsBSDDB.py: Support for event id table; emit event-delete signal when events are deleted. * src/EventView.py: Support deleting events. * src/EventEdit.py: Support deleting events; Proper adding events. 2005-06-07 Martin Hawlisch * various: const to RelLib transitition. 2005-06-07 Alex Roitman * src/EventView.py (build_columns): Do not artificially create an extra column. 2005-06-06 Alex Roitman * src/AttrEdit.py: proper type selector support. * src/AutoComp.py (by_value): Use locale-aware sorting. * src/EditPerson.py: Support select button for the event tab. * src/EventEdit.py (EventRefEditor): Editor for both events and event refs. * src/ListBox.py: Support for select button; Proper removal of entries; Proper Event/ref editing support; fixes for combos. * src/NameEdit.py: Typo. * src/edit_person.glade: Add select button to the event tab. * src/gramps.glade: Add new editor for both events and refs. * src/DisplayModels.py: Support for event view. * src/EventEdit.py: Commit event on OK. * src/GrampsDbBase.py: Event column order and event cursor. * src/GrampsInMemDB.py: Event cursor. * src/gramps.glade: Event View, rework buttons. * src/gramps_main.py: Event View support. * src/EventView.py: Add to CVS. * src/Makefile.am: Ship EventView. 2005-06-05 Alex Roitman * src/DateHandler.py: Fix typo caught in gramps20 branch. 2005-06-05 Julio Sanchez * src/po/es.po: version merge fix 2005-06-04 Alex Roitman * various: merge changes made in gramps20 branch with main trunk. * src/RelLib.py (Event): Add a list to store external witnesses. 2005-06-03 Don Allingham * src/AttrEdit.py: support get_type/set_type in dropdown menu * src/EditPerson.py: remove items properly based off EventRef * src/DisplayModels.py: remove unused print * src/ListBox.py: get EventBox working for event types * src/PedView.py: handle event types * src/ReadXML.py: handle name types properly * src/RelLib.py: add type checking for set_type 2005-06-03 Martin Hawlisch * src/DisplayModels.py (RepositoryModel): Display repository type as text * src/RelLib.py (Repository): Serialize type as tuple not unicode * src/EditSource.py (ReposRefListView): Display repository type as text 2005-06-02 Don Allingham * src/DisplayModels.py: Handle EventRefs properly * src/FamilyView.py: handle relationship types * src/ReadXML.py: start of upgrade process * src/RelLib.py: ROLE_PRIMARY -> PRIMARY 2005-06-02 Alex Roitman * src/ListModel.py: Check for the list to be long enough. * src/gramps.glade: Replace ComboBox with ComboBoxEntry; remove unneeded scrollwed window (caused warning). * src/RelLib.py (Family.set_relationship): Update doc string. 2005-06-01 Don Allingham * src/EditPerson.py: Start event_ref integration * src/EventEdit.py: Start event_ref integration * src/ListModel.py: Start event_ref integration * src/PersonModel.py: Start event_ref integration * src/ListBox.py: Start event_ref integration * src/gramps.glade: 2005-06-01 Alex Roitman * src/AutoComp.py (StandardCustomSelector): Provide an option to use an existing ComboBoxEntry instance; add set_values method. * src/RelLib.py (Family.__init__): Use tuple for type. * src/Utils.py: Add event_roles mapping. * src/AddSpouse.py, src/EditPerson.py, src/FamilyView.py, src/ListBox.py, src/Marriage.py, src/NameEdit.py: Support tuple types. * src/gramps.glade: Replace ComboBox with ComboBoxEntry; add icons. * various: More support for event refs. 2005-05-31 Martin Hawlisch * src/EditSource.py, src/ListBox.py, src/ReadGedcom.py, src/WriteGedcom.py: Constants moved from const to Utils and RelLib 2005-05-31 Alex Roitman * src/AutoComp.py (StandardCustomSelector): Add class to handle (int,str) selections including custom strings. * src/RelLib.py (Witness): Remove class, as it is obsoleted by the EventRef class. * src/AutoComp.py (StandardCustomSelector): Add autocompletion. 2005-05-30 Alex Roitman * src/RelLib.py: Move constants back to RelLib, as class attributes. * src/Utils.py: Move constant mappings from const.py.in. * src/const.py.in: Move constants and mappings elsewhere. * various: Use constants from RelLib, not const. * src/RelLib.py: Fix (int,str) types. 2005-05-30 Martin Hawlisch * src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person 2005-05-28 Alex Roitman * src/RelLib.py: Delegate event handle reference lookup from Person to EventRef class; (RepoRef.get_handle_referents): Remove unneeded method (inherited from BaseObject). 2005-05-27 Martin Hawlisch * src/RelLib.py: RepoRef now derives BaseObject to enable full-text search * src/GenericFilter.py: Enable Repositories in full-text search filter * src/RelLib.py: Move constants from RelLib to const * src/plugins/TestcaseGenerator.py: Move constants from RelLib to const * src/gramps.glade: Add ScrolledWindow to RepositoryView to make it look like Source and Place View. * src/const.py.in: Replace static definition of lds_temple_to_abrev by dynamic generation from lds_temple_codes so they need to be defined only once. 2005-05-27 Alex Roitman * src/GrampsBSDDB.py (upgrade_7): Add upgrade path for repo changes. * src/const.py.in: Define integer constants for standard events. * gramps.glade: Resolve merge conflicts. * src/GrampsBSDDB.py (upgrade_*): Use transaction for commits. * src/const.py.in: Get rid of TransTable use in favor of int contsants. * src/GrampsBSDDB.py (upgrade_2): Use proper constants. * src/RelLib.py: Move constants out to const.py.in. * src/ChooseParents.py: Fix constants. * src/FamilyView.py: Fix constants. * src/PedView.py: Fix constants. * src/ReadGedcom.py: Fix constants. * src/ReadXML.py: Fix constants. * src/SelectChild.py: Fix constants. * src/WriteXML.py: Fix constants. * src/GrampsBSDDB.py (upgrade_7): Enforce str for the default handle. 2005-05-27 Richard Taylor * src/EditRepository.py: polish Repository Ref UI * src/RelLib.py: merge minor changes from HEAD * src/RepositoryRefEdit.py: polish Repository Ref UI * src/gramps.glade: polish Repository Ref UI 2005-05-27 Richard Taylor * src/EditRepository.py: completed delete Repository * src/RepositoryView.py: completed delete Repository * src/Utils.py: added then removed a method, line number changed. 2005-05-27 Richard Taylor * src/EditSource.py: completed support Repository Ref UI * src/RepositoryRefEdit.py: everything now works accept MediaType * src/gramps.glade: tooltips etc. for Repository Ref UI 2005-05-27 Martin Hawlisch * src/RelLib.py: Add wrappers for old event handle API including a DeprecationWarning (this makes HEAD no longer completely defunct); Add checks for EventRef class type * src/EditPerson.py: typo * src/plugins/TestcaseGenerator.py: Support for event references. 2005-05-26 Alex Roitman * src/RelLib.py (EventRef): Add class. * src/EditPerson.py: Support for event references. * src/FamilyView.py: Support for event references. * src/ListBox.py: Support for event references. * src/PedView.py: Support for event references. * src/RelLib.py: Support for event references. 2005-05-26 Martin Hawlisch * src/plugins/TestcaseGenerator.py: Add place, media and source references. * src/PedView.py (rebuild_trees): Resize matching is now done later by idle callback; (add_table_to_notebook): Work with PyGtk < 2.4; (format_relation): Adapt format to availably space. 2005-05-26 Richard Taylor * src/EditSource.py: added Repositories tab and related code (not complete) * src/RepositoryRefEdit.py: outline of Repository Ref UI * src/gramps.glade: Repositoy tab for Source and Repository Ref UI 2005-05-26 Richard Taylor * src/DisplayModels.py: fixed for removing phone * src/RelLib.py: removed phone field from Repository because it is in Location anyway. * src/RepositoryView.py: Fixed display of home_url in list view. 2005-05-26 Richard Taylor * src/EditRepository.py: add support for repository types * src/GrampsBSDDB.py: add get_repository_type_list method * src/GrampsInMemDB.py: add get_repository_type_list method 2005-05-26 Richard Taylor * src/EditRepository.py: new module to edit repository objects * src/RepositoryView.py: new module to main repository list view * src/DisplayModels.py: added a model for Repositories * src/gramps.glade: added Repository tab to gramps, and added new repositoryEditor dialog * src/gramps_main.py: added calls for repository editor 2005-05-26 Richard Taylor * src/GrampsBSDDB.py: add support for Repository primary table * src/GrampsDbBase.py: add support for Repository primary table * src/GrampsGconfKeys.py: add Repository id prefix keys * src/GrampsInMemDB.py: add support for Repository primary table * src/GrampsIniKeys.py: add Repository id prefix keys 2005-05-25 Alex Roitman * src/EditPlace.py: WATCH cursor and temp label for References tab. * src/EditSource.py: Improve manipulating notebook tab labels. * src/Utils.py (temp_label): Add function; (bold_label,unbold_label): Properly set cursor to default. * src/gramps.glade (event editor, source editor, place editor): Add icons to notebook tabs. 2005-05-25 Alex Roitman * src/RelLib.py: Switch Repository from using locations to using Address object. Adjust methods accordingly. Add RepoRef class. Add support for RepoRef list in Source class. 2005-05-25 Richard Taylor * src/RelLib.py: added Repository class and unittests 2005-05-25 Richard Taylor * src/plugins/ScratchPad.py: disabled search because it does not do what the user expects. 2005-05-25 Richard Taylor * src/plugins/ScratchPad.py: rename on_scratch_pad_delete_event for consistency * src/plugins/scratchpad.glade: add on_scratch_pad_delete_event to fix bug when window is close using the window manager close button. 2005-05-25 Alex Roitman * src/EditSource.py (__init__): set cursor to WATCH before displaying references; call display_references when idle; (display_references): set cursor to LEFT_PTR when done. * src/ListModel.py (__init__): Typo. * src/Utils.py (bold_label,unbold_label): make work with both labels and their parent containers. 2005-05-24 Don Allingham * various: CVS conflict resolution 2005-05-24 Martin Hawlisch * src/plugins/PHPGedViewConnector.py: Enhanced version. 2005-05-23 Alex Roitman * various: merge changes made in gramps20 branch with main trunk. 2005-05-23 Don Allingham * src/MergePeople.py: clean up and refactoring of code. * Release: Version 2.0.1 "None shall pass" released. 2005-05-23 Alex Roitman * src/po/ru.po: More tranlsated tips. 2005-05-23 Eero Tamminen * src/po/fi.po: Translate all fuzzy strings. Tips are still to be translated * src/plugins/StatisticsChart.py: Fix a typo in one string (I actually changed the string, but now it should actually be understandable i.e. something people can localize) * src/dates/Makefile.am, src/dates/Date_fi.py: Remove Finnish date parser. Unfortunately I don't have time either to fix DateParser.py regexps matches to be position independent or write the required (almost) duplicate code to Date_fi.py directly 2005-05-23 Jens Arvidsson * src/po/sv.po: Translation update for version 2.0.1. 2005-05-22 Don Allingham * src/MergePeople.py: merge improvements, merge data not merged before. 2005-05-22 Alex Roitman * src/ImageSelect.py (item_event): Do nothing if nothing is selected. * src/EditSource.py (button_press): Return if no data. * src/Sources.py (drag_data_get): Return if no data. * src/EditPerson.py (ev_drag_data_get,name_drag_data_get): Return if no data. * src/EditPlace.py (url_source_drag_data_get): Properly obtain data; return if no data. 2005-05-22 Julio Sanchez * src/po/es.po: Updated translation for filters, tips still pending 2005-05-21 Don Allingham * src/ChooseParents.py: handle the addition of a person correctly. Warn if the person just added is suppressed by the filter. * src/MergePeople.py: use __debug__ for print statements 2005-05-20 Don Allingham * src/MergePeople.py: fixed name merging, incorporate Martin's patches. 2005-05-20 Eero Tamminen * src/po/fi.po: Merge PO file and (finally) translate the welcome message. Otherwise translation is not yet updated * src/data/gramps.desktop: Add Finnish translations 2005-05-20 Martin Hawlisch * src/WriteXML.py: Remove unnecessary database reads, so it does no longer crash when exporting a corrupt database. * src/WriteGedcom.py: Some hardening against corrupt database. 2005-05-20 Alex Roitman * src/SelectObject.py (on_select_row): Properly get mime type. * src/GrampsBSDDB.py (remove_object): Use correct key for transaction. * src/ImageSelect.py (add_thumbnail, on_delete_media_clicked): Identify canvas items by MediaRef instance, not by the handle of the referred MediaObject. * src/gramps_main.py (read_file): Remove set_resizable() calls. * src/MediaView.py (on_drag_drop): Remove drag_get_data() call as it was calling extraneous 'drag-data-received' signal. * src/ReadGedcom.py (parse_person_object,parse_family_object): Always add media references/objects, even if the files are not found (keep the warnings); set the note for the media references. * example/gedcom/sample.ged: Correct object format tags. * src/ChooseParents.py (close_child_windows): Pass no arguments to child_window.close(). 2005-05-19 Don Allingham * src/DisplayModels.py: remove place column * src/MediaView.py: delete Place option * src/GrampsDbBase.py: new default for media columns * src/GrampsBSDDB.py: upgrade database version for media columns * src/MediaView.py: enable sorting by columns * src/DisplayModels.py: enable sorting by columns for MediaModel 2005-05-19 Alex Roitman * src/MergePeople.py (merge_family_pair): Properly use handles. * src/RelLib.py (SourceNote.replace_source_references): Properly replace references; (MediaBase.replace_media_references): Properly replace references. * src/MergeData.py: Correct comments. * src/mergedata.glade: Make information panes non-editable. * src/gramps.glade: Enclose date and place groups into tables, to allow proper widget order when using tab key. * src/EditSource.py (button_press): Properly test event names. * src/po/ru.po: Partial update for 2.0.1. 2005-05-19 Martin Hawlisch * src/GenericFilter.py: Catch invalid input in some filters; (old_names_2_class): Add one name for full 1.0.11 compatibility; (FilterParser): Properly catch invalid rule names and invalid module/class names. 2005-05-18 Don Allingham * src/dates/Date_de.py: handle dates in the form of dd. mon year 2005-05-18 Richard Bos * src/data/gramps.desktop: Add Dutch strings. 2005-05-18 James Treacy * src/data/tips.xml: Update and rework. 2005-05-18 Alex Roitman * src/GenericFilter.py: Use class names for internal work; Rework ID-based filters to use gramps-id instead of a handle. * src/plugins/FilterEditor.py: Use class names for internal work. * src/po/template.po: Update for 2.0.1. * src/gramps_main.py (open_example): Add example database funciton. * NEWS: Update. * src/po/ru.po: Partial update for 2.0.1. 2005-05-18 Don Allingham * src/ReadGedcom.py: grab description for birth and death events * src/WriteGedcom.py: export description for birth and death events * example/gedcom/sample.ged: add test case 2005-05-18 Martin Hawlisch * src/GrampsInMemDB.py: Emit the *-delete signals correctly. * src/GrampsDbBase.py: Emission of the *-update/*-add signals should not depend on the existance of a transaction. 2005-05-18 Don Allingham * src/plugins/FilterEditor.py: sort entries in Add Rule dialog 2005-05-18 Martin Hawlisch * src/GrampsBSDDB.py, src/GrampsDbBase.py, src/GrampsInMemDB.py, src/RelLib.py: Catch invalid arguments instead of crashing. TODO: raise TypeError or HandleError instead of simply returning? * src/plugins/TestcaseGenerator.py: Added debbuging helpers for signal emissions 2005-05-17 Don Allingham * configure.in: bump up verison number to 2.1.0 2005-05-17 Alex Roitman * src/GenericFilter.py: Change filter rule names to make them consistent. * src/gramps_main.py: Change filter names to make them consistent. * src/Date.py: Import gettext. * src/DateDisplay.py: Import gettext. * src/GenericFilter.py: Support existing custom_filters.xml files by adding an old2new mapping for names. * src/AddSpouse.py (select_spouse_clicked): Display warning and provide a way to override when trying to add child/parent as a spouse. 2005-05-17 Martin Hawlisch * src/plugins/ImportGeneWeb.py (decode): Decode characters and named entities. Because gramps is not web browser based we can simply use unicode. 2005-05-16 Don Allingham * src/PlaceView.py: select correct column for sorting * src/SourceView.py: select correct column for sorting * src/WriteGedcom.py: used 'replace' mode on iso-8859-1 string encoding conversion 2005-05-16 Martin Hawlisch * src/ReadGedcom.py (parse_trailer): Catch EOF to warn about premature EOF only once; Always close file; (parse_record): Properly catch premature EOF instead of unknown level 0 records; Support single line SOUR records; (parse_address): Support PHON and NOTE, ignore _NAME. 2005-05-16 Alex Roitman * src/ansel_utf8.py: Convert to Unix end-of-line. * src/plugins/StatisticsChart.py: Minor stylistic corrections. * src/GenericFilter.py: Minor stylistic corrections. * src/TarFile.py: Indent with spaces, remove string module. * src/RelImage.py: Remove unused string module. * src/SubstKeywords.py: Remove string module. 2005-05-16 Don Allingham * src/FamilyView.py: fix reordering of children in family view 2005-05-15 Don Allingham * src/ChooseParents.py: redraw window properly after person add * src/DisplayModels.py: provide sorting support * src/PlaceView.py: add sorting by columns * src/SourceView.py: add sorting by columns 2005-05-14 Don Allingham * src/ReadGedcom.py: add a few more items to parse from Legacy generated GEDCOM files 2005-05-14 Alex Roitman * src/data/Makefile.am: Always install gramps.schemas and gramps.xml, with or without packager mode. 2005-05-14 Martin Hawlisch * src/GenericFilter.py (IsSiblingOfFilterMatch): Match only sibling, not the filterMatch; (HasEvent,HasFamilyEvent): Dont crash in filter editor. * src/GenericFilter.py (HasTextMatchingSubstringOf, HasTextMatchingRegexpOf): Search media objects in full text search. * src/RelLib.py: Add GRAMPS ID to get_text_data_list so this field is usable in full text search; Dont crash if get_text_data_list contains None values instead of empty strings. * src/EditPerson.py, src/AddMedia.py, src/ImageSelect.py, src/ReportUtils.py, src/SelectObject.py, src/plugins/Ancestors.py, src/plugins/IndivComplete.py, src/plugins/IndivSummary.py, src/plugins/WebPage.py, src/plugins/WriteCD.py: Dont crash with "note only" media object. 2005-05-13 Don Allingham * src/plugins/ScratchPad.py: fix GdkAtom index problem with pygtk2.4 2005-05-13 Martin Hawlisch * src/GenericFilter.py (HasEvent,HasFamilyEvent): Correct filter rules 2005-05-13 Alex Roitman * src/DateDisplay.py (DateDisplayEn): Localize format names. * src/get_strings: Support extracting strings from tips.xml file. * src/build_po: Process tips.xml file. * src/TipOfDay.py (TipOfDay.__init__): Use translated tips. * src/po/template.po: new translatable strings. * src/DateEdit.py (parse_and_check): Display date as parsed on focus-out from the entry fields. 2005-05-13 Martin Hawlisch * src/SelectChild.py (on_save_child_clicked) Commit new parent family of child properly; correct handle/object mismatch; exec parent callback to do a proper redraw (closes #1201151) * src/dates/Date_de.py: Register for all variants of german; Add other variants of month names for parser * src/Date.py: Raise Exception.DateError on invalid arguments * src/DateParser.py: Catch DateError and use text only date as fallback * src/plugins/TestcaseGenerator.py: Handle DateError exception * src/plugins/ImportGeneWeb.py: Distinguish unknown people * src/DateDisplay.py: Allow B.C.E. in years to be localized * src/dates/Date_de.py: Some more translations including B.C.E. 2005-05-12 Don Allingham * src/GrampsBSDDB.py: force database sync on transaction commit 2005-05-12 Martin Hawlisch * src/GenericFilter.py (ParamFilter.apply): Set parameter list before prepare (solves crash in full text search) * src/gramps_main.py: Enable full text search filters again 2005-05-12 Alex Roitman * src/plugins/Check.py (cleanup_missing_photos): Typo. * configure.in: Bump up the version number. * NEWS: Update. * src/ReportUtils.py (insert_images): Pass sizes to add_media_object; (married_str): Quit if no spouse. * src/data/gramps.xml: Include different cases for file extensions. * src/po/ru.po: Typo. 2005-05-12 Martin Hawlisch * src/plugins/TestcaseGenerator.py: Added generation of multiple date formats including invalid dates. This is displaying and reparsing every date to compare the result. * src/plugins/NavWebPage.py (HomePage): Dont crash on note only object * src/dates/Date_de.py: Updated translation 2005-05-11 Don Allingham * src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character encoding is indicated in the file, the screen display can get corrupted due to keys that aren't unicode values * src/dates/Date_de.py: first pass at a German date handler 2005-05-11 Martin Hawlisch * src/DateHandler.py: Fallback to "C" locale instead of the ISO format. This currently basically falls back to en, but this could be enhanced by a translated fallback parser later. 2005-05-11 Julio Sanchez * src/po/es.po: remerge from 2.0.0 2005-05-11 Don Allingham * src/EditPerson.py: remerge from 2.0.0 2005-05-11 Alex Roitman * INSTALL, NEWS, README, acinclude.m4, configure.in, doc/gramps.1.in, doc/gramps-manual/Makefile.am, doc/gramps-manual/C/*.xml, doc/gramps-manual/C/figures/*.png, src/AddSpouse.py, src/AddrEdit.py, src/AttrEdit.py, src/ChooseParents.py, src/Date.py, src/DateEdit.py, src/DbPrompter.py, src/DisplayModels.py, src/EditPlace.py, src/EditSource.py, src/EventEdit.py, src/FamilyView.py, src/GenericFilter.py, src/GrampsBSDDB.py, src/GrampsGconfKeys.py, src/GrampsIniKeys.py, src/GrampsXMLDB.py, src/ImageSelect.py, src/Marriage.py, src/MergeData.py, src/MergePeople.py, src/NameEdit.py, src/PedView.py, src/PeopleModel.py, src/ReadGedcom.py, src/ReadXML.py, src/RelLib.py, src/ReportUtils.py, src/SourceView.py, src/StartupDialog.py, src/UrlEdit.py, src/Witness.py, src/WriteGedcom.py, src/WriteXML.py, src/gramps.glade, src/gramps_main.py, src/mergedata.glade, src/data/Makefile.am, src/data/gramps.schemas, src/data/tips.xml, src/dates/Date_fi.py, src/dates/Makefile.am, src/plugins/Check.py, src/plugins/FilterEditor.py, src/plugins/GraphViz.py, src/plugins/ImportGeneWeb.py, src/plugins/PatchNames.py, src/plugins/ReorderIds.py, src/plugins/ScratchPad.py, src/plugins/SoundGen.py, src/plugins/StatisticsChart.py, src/plugins/TestcaseGenerator.py, src/plugins/Verify.py, src/plugins/rel_es.py, src/po/da.po, src/po/de.po, src/po/es.po, src/po/fi.po, src/po/fr.po, src/po/nb.po, src/po/nl.po, src/po/no.po, src/po/ru.po, src/po/sv.po, src/po/template.po: Merge changes made in gramps20 into HEAD. 2005-05-10 Don Allingham * Release: Version 2.0.0 "The Bright Side of Life"" released. 2005-05-10 Don Allingham * src/DbPrompter.py: add callback for progressbar * src/GrampsXMLDB.py: pass callback task * src/ReadXML.py: handle progress callback, fix placeobj error * src/gramps_main.py: define progress bar callback, remove problem filters 2005-05-10 Eero Tamminen * src/plugins/StatisticsChart.po: add gettext _() to three strings where it was missing 2005-05-10 Don Allingham * src/StartupDialog.py: check for broken Slackware library, and missing gconf installation, present error messages instead of tracebacks 2005-05-10 Alex Roitman * src/data/gramps.schemas: Add a welcome key. * src/GrampsGconfKeys.py: Add get/set methods for welcome key. * src/GrampsIniKeys.py: Add get/set methods for welcome key. * src/po/ru.po: Update. * src/gramps.glade: Remove unused widget. * src/gramps_main.py: Use new welcome key for the welcome dialog. * src/data/tips.xml: Update tips. * src/WriteXML.py (write_witness): Proper witness reference. * src/ReadXML.py (start_witness): Initialize empty comment. 2005-05-10 Julio Sanchez * src/po/es.po: Updated translation * src/plugins/rel_es.py: Revert to more conservative relationships 2005-05-09 Don Allingham * src/gramps.glade: new scrollable message dialog * src/gramps_main.py: add new upgrading information message * src/template.po: new translatable string * src/StartupDialog.py: Added Alex's configuration upgrade, but wrapped in gconf detection 2005-05-09 Alex Roitman * doc/gramps-manual/C/authors.xml: Update. * src/DisplayModels.py (column_change): Use localized time string. * src/PeopleModel.py (column_change): Use localized time string. * src/RelLib.py (get_change_display): Use localized time string. 2005-05-09 Baruch Even * src/plugins/GraphViz.py (parse_user_options): Use 'justyears'. 2005-05-08 Don Allingham * src/WriteGedcom.py: fix adopted relationship generation 2005-05-08 Alex Roitman * src/po/ru.po: Typos. * doc/gramps-manual/C/usage.xml: Typo. 2005-05-07 Alex Roitman * INSTALL: Update. 2005-05-07 Julio Sanchez * src/po/es.po: Updated translation 2005-05-07 Jens Arvidsson * src/po/sv.po: Partial translation update for version 2.0.0. 2005-05-07 Martin Hawlisch * src/PedView.py (build_detail_string), src/FamilyView.py (load_family): Dont crash on strange signal race condition, that leaves database in corrupt state before sending "active-changed" * src/plugins/ImportGeneWeb.py (read_children_lines): Properly add birth event; (parse_person): Remove brackets from name; (get_or_create_place): Fix typo 2005-05-06 Alex Roitman * acinclude.m4: Copy macro for GCONF configuration from gconf2-dev; add --disable-mime-install and --enable-packager-mode arguments. * configure.in: Call new macros; Remove obsolete French and Russian manuals for the time being. * doc/gramps-manual/Makefile.am: Remove obsolete manuals. * src/data/Makefile.am: Conditional installation of gconf keys and mime types. * src/po/da.po: Typos preventing make. * NEWS: Update. * README: Update. 2005-05-06 Larry Allingham * doc/gramps-manual/C/authors.xml, doc/gramps-manual/C/faq.xml, doc/gramps-manual/C/mainwin.xml, doc/gramps-manual/C/usage.xml: Typos and corrections. 2005-05-06 Don Allingham * src/ReadGedcomp.py: Handle inline sources better in GEDCOM files * src/ReportUtils.py: check for spouse existance before creating a marriage string - return an empty string instead. * src/ReadXML.py: fix handling of non-gregorian dates * src/EditPerson.py: faster building of place lists using cursors 2005-05-06 Martin Hawlisch * src/gramps_main.py (undo): Block signals during undo to make it MUCH faster when undoing larger imports or plugin runs 2005-05-06 Don Allingham * src/gramps_main.py: fix beta warning dialog 2005-05-05 Alex Roitman * doc/gramps.1.in, doc/gramps-manual/C/bugs.xml, doc/gramps-manual/C/cmdline.xml, doc/gramps-manual/C/faq.xml, doc/gramps-manual/C/getstart.xml, doc/gramps-manual/C/gramps-manual.xml, doc/gramps-manual/C/mainwin.xml, doc/gramps-manual/C/preface.xml: Update. 2005-05-05 Don Allingham * src/plugins/PatchNames.py: handle multiple titles (bug 1196056) * src/plugins/ReorderIDs.py: bring up to speed with new handle/id methodology, 2005-05-05 Martin Hawlisch * src/GenericFilter.py: Fix copy-n-paste errors; dont crash on empty database 2005-05-04 Alex Roitman * doc/gramps-manual/C/figures/scratch-pad.png: Add new figure. * doc/gramps-manual/C/authors.xml: Update. * doc/gramps-manual/C/keybind.xml: Update. * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/cfe-ar.png: Update. * doc/gramps-manual/C/figures/cfe-df.png: Update. * src/plugins/FilterEditor.py: Correct manual section. * src/plugins/ScratchPad.py: Correct manual section. * src/plugins/SoundGen.py: Correct manual section. * src/plugins/Verify.py: Correct manual section. * src/SourceView.py (__init__): Connect to the key-press-event. * doc/gramps-manual/C/keybind.xml: Update. * doc/gramps-manual/C/cmdline.xml: Update. * doc/gramps-manual/C/custom.xml: Update. * doc/gramps-manual/C/filtref.xml: Update. 2005-05-03 Don Allingham * src/gramps_main.py: remove beta warning, handle OSError on config open 2005-05-03 Tino Meinen * src/po/nl.po: Updated Dutch translation 2005-05-03 Eero Tamminen * src/po/fi.po: Updated to new template. 2005-05-03 Martin Hawlisch * src/GenericFilter.py (HaveChildren): Match what it should 2005-05-03 Alex Roitman * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/*.png: Add new figures. * src/MergePeople.py: Minor cleanups; Help buttons. * src/MergeData.py: Minor cleanups; Help buttons. * src/mergedata.glade: Minor cleanups; Help buttons. * doc/gramps-manual/C/prefs.xml: Update. * doc/gramps-manual/C/figures/prefs.png: Add new figure. 2005-05-03 Don Allingham * src/ReportUtils.py: fixed type (get-day() -> get_day()) 2005-05-03 Don Allingham * src/ListBox.py: added to CVS * src/Makefile.am: added ListBox.py 2005-05-02 Don Allingham * src/gramps.glade: remove place field, fixed parent relationships * src/ImageSelect.py: remove place handling 2005-05-02 Alex Roitman * src/DateEdit.py (DateEditorDialog.__init__): Correct manual section. * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/edit-person-notes.png: Update. * doc/gramps-manual/C/figures/date-selection.png: Add new figure. * src/EditPlace.py: Correct manual section. * src/EditSource.py: Correct manual section. * src/EventEdit.py: Correct manual section. * src/ImageSelect.py: Correct manual section. * src/Marriage.py: Correct manual section. * src/NameEdit.py: Correct manual section. * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/edit-*.png: Update. * src/AddrEdit.py: Correct manual section. * src/AttrEdit.py: Correct manual section. * src/Witness.py: Correct manual section. * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/edit-*.png: Update. * src/po/ru.po: Translation update. 2005-05-02 Martin Hawlisch * src/gramps_main.py: Disable fast merge on a readonly db * src/plugins/Check.py: Disable on readonly db * src/plugins/TestcaseGenerator.py: Disable on readonly db 2005-05-02 Don Allingham * src/GrampsBSDDB.py: handle missing version number properly, detect empty database properly. * src/ReadGedcom.py: set default gedcom parser class to "GEDCOM 5.5" instead of None * src/AddSpouse.py: fix filtering of lists using GenericFilters * src/ChooseParents.py: fix filtering of lists using GenericFilters * src/GenericFilter.py: fix date comparison 2005-05-02 Don Allingham * src/EditPerson.py: start of new gallery * src/ImageSelect.py: start of new gallery * src/Witness.py: fix listmodel * src/const.py.in: LDS temple names * src/edit_person.glade: start of new gallery 2005-05-01 Alex Roitman * src/EditPerson.py (on_help_clicked): Call appropriate manual section. * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/edit-person-*.png: Update. * configure.in: Bump up version, to distinguish from released 1.1.99. 2005-05-01 Don Allingham * src/po/template.po: updated for string changes * src/Date.py: add the ui_calendar_names for translation for the ui * src/DateEdit.py: use the new ui_calendar_names for the ui * src/plugins/Check.py: delete families that contain only a single parent and no children 2005-05-01 Eero Tamminen * src/dates/Date_fi.py: Fixed Display class + other changes. Parser is waiting for Gramps DateParser.py update 2005-04-30 Don Allingham * src/EditPerson.py: Add support for inline editing * src/EventEdit.py: Don't commit events here - should be commited elsewhere * src/ListModel.py: Add support for table callback functions to update data after inline editing * src/const.py.in: convert Alternate Birth and Alternate Death to Birth and Death 2005-04-29 Eero Tamminen * src/dates/Date_fi.py: initial Finnish date parser, doesn't yet work correctly * src/dates/Makefile.am: Added Date_fi.py * src/po/fi.po: Updated translation from template.po + some fixes 2005-04-29 Alex Roitman * src/edit_person.glade: Compact name edit button. 2005-04-29 Martin Hawlisch * src/plugins/PHPGedViewConnector.py, src/plugins/phpgedview.glade: New files. Start of a client interface for phpGedView. unfinished. Put them in CVS to not loose them. 2005-04-28 Alex Roitman * src/EditPlace.py (on_add_url_clicked,on_update_url_clicked): Use empty name when not available. * src/UrlEdit.py (__init__): Work with empty names. 2005-04-28 Don Allingham * src/FamilyView.py: fix adding child to wrong family 2005-04-28 Don Allingham * src/EditPerson.py: remove dead logic for birth/death editing, fix list handling * src/EventEdit.py: fix callbacks for updating events * src/GrampsDbBase.py: shorten handles * src/Utils.py: shorten handles * src/edit_person.glade: fix image spacing 2005-04-27 Don Allingham * src/EditPerson.py: rewrite of tabbed lists * src/EventEdit.py: bold the label * src/ListModel.py: allow column types to be specified * src/edit_person.glade: tab improvements 2005-04-27 Martin Hawlisch * src/gramps_main.py (__init__): Avoid TypeError in schema error message * src/StartupDialog.py (__init__): Catch Schema errors 2005-04-26 Alex Roitman * NEWS, configure.in, src/EditPerson.py, src/EditSource.py, src/FamilyView.py, src/ImageSelect.py, src/Marriage.py, src/MergePeople.py, src/ReadGedcom.py, src/Report.py, src/ReportUtils.py, src/gedcomimport.glade, src/gramps.glade, src/gramps_main.py, src/rule.glade, src/plugins/ChangeNames.py, src/plugins/DetAncestralReport.py, src/plugins/DetDescendantReport.py, src/plugins/ExportVCalendar.py, src/plugins/TestcaseGenerator.py, src/plugins/changenames.glade, src/plugins/rel_ru.py, src/po/es.po, src/po/fr.po, src/po/ru.po, src/po/template.po: Merge changes made in gramps20 into HEAD. 2005-04-26 Martin Hawlisch * src/EditPerson.py (on_apply_person_clicked): Fix crash when changing gender caused by a family handle/object mismatch * src/MergePeople.py: Corrected gender display (closes #1190203) 2005-04-26 Martin Hawlisch * src/PedView.py: Removed navigation buttons in flavour of a menu; 2005-04-23 Don Allingham * src/ListModel.py: keep track of data index * src/EventEdit.py: use new label scheme for tabs that uses an icon to indicate used tabs * src/AddrEdit.py: use new label scheme for tabs that uses an icon to indicate used tabs * src/AttrEdit.py: use new label scheme for tabs that uses an icon to indicate used tabs * src/NameEdit.py: use new label scheme for tabs * src/Date.py: incorporate instance check form gramps20 branch * src/EditPerson.py: add additional fields for name edit, handle lds page better, adapt to new label scheme * src/GrampsDbBase.py: fix typos * src/GrampsGEDDB.py: fix undo handling * src/GrampsInMemDB.py: fix undo handling * src/GrampsXMLDB.py: fix undo handling * src/PeopleView.py: don't reselect an already selected person * src/Utils.py: new tab scheme * src/edit_person.glade new tab scheme * src/gramps_main.py: 1->True, 0->False replacements * src/DbPrompter.py: bring up to date with gramps20 branch * src/DisplayModels.py: bring up to date with gramps20 branch * src/ReadGedcom.py: bring up to date with gramps20 branch * src/Relationship.py: bring up to date with gramps20 branch 2005-04-23 Martin Hawlisch * src/GrampsDbBase.py (_find_from_handle,find_object_from_handle, find_place_from_handle): Fix typo 2005-04-19 Martin Hawlisch * src/PedView.py: Replaced gnome canvas by an implementation that uses gtk+ only. Still incomplete. * src/gramps_main.py: Removed canvas specific calls of the PedView * src/GrampsDbBase.py (create_id): Use sys.maxint to get the maximum possible integer number * GenericFilter.py: Don't crash on corrupt database 2005-04-18 Don Allingham * src/edit_person.glade: re-add edit_person.glade * src/EditPerson.py: start of new EditPerson dialog * src/ListModel.py: enhancements for the start of inline editing * src/Makefile.am: add edit_person.glade * src/ReadXML.py: commit transactions properly * src/const.py.in: add edit_person.glade back in 2005-04-17 Don Allingham * src/GrampsBSDDB.py: actually perform the commits during the transaction_commit task, instead of the commit_* tasks * src/GrampsInMem.py: actually perform the commits during the transaction_commit task, instead of the commit_* tasks * src/GrampsDbBase.py: actually perform the commits during the transaction_commit task, instead of the commit_* tasks 2005-04-17 Eero Tamminen * src/gramps.glade: Fix typo * src/GenericFilter.py: Fix typo * src/ReportUtils.py: Fix typos 2005-04-15 Martin Hawlisch * src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler 2005-04-14 Don Allingham * src/plugins/Check.py: loop through family relationships until all problems are resolved * src/FamilyView.py: make load_family more robust to signals 2005-04-14 Martin Hawlisch * src/gramps_main.py (undo): Dont emit "database-changed" * src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing. 2005-04-13 Don Allingham * src/EditSource.py: allow double click on reference to bring up the referece editor * src/EventEdit.py: don't require a callback * src/ImageSelect.py: horrible hack for handling removing parent windows. Alex: HELP! * src/gramps_main.py: check for reentrancy into the undo handler * src/plugins/WebPage.py: fixed check on dialog run() return value, changed deprecated gtk.mainiteration to gtk.main_iteration * src/WriteGedcom.py: fixed problem with skipping events 2005-04-12 Don Allingham * src/FamilyView.py: commit family before people when committing new spouse. * src/EventEdit.py: more robust handler for new place after an edit 2005-04-12 Martin Hawlisch * src/ArgHandler.py: Fixed typo 2005-04-11 Richard Taylor * src/plugins/ScratchPad.py: hook up to 'database-changed' signal so that pad is cleared when a new database is opened. 2005-04-11 Alex Roitman * src/MergeData.py (on_merge_places_clicked): Commit event. * src/SourceView.py (button_press,build_context_menu): Work with multiple selections. * src/ArgHandler.py: Minor string changes. * src/DbPrompter.py: Minor string changes. * src/po/template.po: Update translation template. * src/po/ru.po: Some translation updates. 2005-04-11 Martin Hawlisch * src/PedView.py (load_canvas): Catch bug of not existing family * src/plugins/Check.py: Fix events, that reference non existing places * src/plugins/ImportGeneWeb.py: Add line numbers to error messages; Support for "csrc" and "cbp" fields; Catch empty date 2005-04-10 Alex Roitman * Release: Version 1.1.95 "When danger reared its ugly head, he bravely turned his tail and fled" released. * configure.in: Bump up the version number. * src/RelLib.py (BaseObject): add get_referenced_handles, get_handle_referents, and get_referenced_handles_recursively methods. (various subclasses): override get_referenced_handles and/or get_handle_referents as appropriate. 2005-04-10 Alex Roitman * NEWS: Update. 2005-04-10 Don Allingham * src/EventEdit.py: Add new places to the database. * src/Check.py: repair family types of "None" in the database * src/Makefile.am: add MergePeople.py 2005-04-09 Don Allingham * src/FamilyView.py: ignore None family types. This should never occur, but we want to be safe. 2005-04-09 Alex Roitman * src/po/template.po: Update translation template. 2005-04-09 Richard Taylor * src/GrampsDBCallback.py: block recursive signal calls, improved error reporting. All warnings are now printed to stderr even if logging is turned off. 2005-04-08 Don Allingham * src/AddMedia.py: pychecker changes * src/ChooseParents.py: pychecker changes * src/DdTargets.py: pychecker changes * src/FamilyView.py: pychecker changes * src/GrampsCfg.py: pychecker changes * src/MergeData.py: pychecker changes * src/MergePeople.py: pychecker changes * src/NameEdit.py: pychecker changes * src/NoteEdit.py: pychecker changes * src/RelLib.py: pychecker changes * src/gramps_main.py: pychecker changes * src/GrampsDbBase.py: correctly handle signals when undoing a delete operation * src/PeopleView.py: remove unused signal * src/gramps_main.py: handle history mechanism with new signal scheme, avoiding the double active-changed when selecting an element 2005-04-08 Martin Hawlisch * src/Utils.py (probably_alive): Added two more checks for birth and death year * src/gramps_main.py: Added "Invert" checkbox for person filter; Fix "active-changed" signals to not cause Tracebacks. * src/gramps.glade: Added "Invert" checkbox for person filter * src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel * src/PeopleModel.py: Enable invertation of filter result * src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events * src/GenericFilter.py (FilterParser.startElement): Catch non existing filter rule and print an error message 2005-04-08 Richard Taylor * src/Utils.py (probably_alive): fix some bugs and added checking of ancestors. 2005-04-07 Martin Hawlisch * src/GenericFilter.py: Call prepare/reset for nested filters 2005-04-07 Richard Taylor * src/gramps_main.py: correct type signature for 'active-changed' signal. * src/GrampsDBCallback.py: improve the error reporting. 2005-04-06 Don Allingham * src/FamilyView.py: keep track of local person during update, connect active-changed signal * src/PedView.py: update database pointer when database changed, update active person * src/gramps_main.py: keep track of active-changed, use local person 2005-04-06 Martin Hawlisch * src/gramps.glade: People View: Add label for filter text input field. * src/GenericFilter.py (ProbablyAlive): Add check for input parameter, (HasSourceOf): get handle only once, removed unused code. * src/gramps_main.py: Show label for filter input field. * src/Utils.py (probably_alive): Add some checks to make current year parameter work. 2005-04-06 Richard Taylor * src/GenericFilter.py: added a current year parameter to probably alive rule. * src/Utils.py: added a current year parameter to probably alive function. 2005-04-06 Richard Taylor * src/plugins/FilterEditor.py: Added source IDs into the source combobox. 2005-04-06 Richard Taylor * src/GenericFilter.py: Added HasSourceOf rule * src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs. 2005-04-06 Martin Hawlisch * src/PedView.py: Truncate place names because they tend to be loooong. 2005-04-06 Richard Taylor * src/DdTargets.py: added PERSON_LINK_LIST target. * src/FamilyView.py: corrected bug when person is droped if there is no current family. * src/PeopleView.py: enabled dnd of lists of people. * src/plugins/ScratchPad.py: support lists of people. 2005-04-06 Richard Taylor * src/GrampsDBCallback.py: improved error reporting when there is an error in a callback function. Added unittest for exception in callback function. 2005-04-06 Martin Hawlisch * src/gramps_main.py (post_load): Emit "database-changed" signal instead of calling change_db(). * src/PedView.py: Connect to "database-changed" signal and handle person-update signals to redraw the view. * src/FamilyView.py (__init__) connect to database-changed signal, dont call change_cb because on initialisation there is no real database. (change_db): use database parameter supplied by signal emission. * src/PeopleView.py (__init__) dont connect the signals, this will be done by change_db, (change_db): Use supplied database. * src/SourceView.py (__init__): dont call change_cb because on initialisation there is no real database and this will be done by the signal. * src/plugins/ChangeNames.py: Block signal emission during run * src/plugins/Check.py: Block signal emission during run * src/plugins/ImportGeneWeb.py: Block signal emission during run * src/plugins/ImportvCard.py: Block signal emission during run * src/plugins/TestcaseGenerator.py: Block signal emission during run 2005-04-06 Richard Taylor * src/plugins/ScratchPad.py: made clear buttons sensitive to contents of list and current selection. Added support for PERSON_LINK dnd. * src/DdTargets.py: added PERSON_LINK target and simplified generation of targets lists. * src/FamilyView.py: added dnd of person handles to and from the child list. * src/PeopleView.py: added dnd of person handles from the person list. 2005-04-05 Alex Roitman * src/GrampsBSDDB.py (upgrade_5): Make work with half-upgraded data. 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-04 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.