2005-07-16 Martin Hawlisch * src/plugins/Makefile.am: Install NavWebPage.py plugin * src/data/Makefile.am: Install stylesheets for NavWebPage 2005-07-15 Don Allingham * src/Reportutils.py: copy source information while sanitizing data * src/plugins/NavWebPage.py: add source references instead of direct links to sources 2005-07-15 Alex Roitman * src/plugins/NavWebPage.py: Use researcher info from Gramps session, not from the database. * src/data/main4.css: Typos. 2005-07-15 Martin Hawlisch * src/plugins/NavWebPage.py: Avoid some segfaults; HTML validation fixes; Show all names of a person; Show all images of person/source and place; Add plugin version to header; Optimize page titles * src/Utils.py (find_mime_type_pixbuf): Dont segfault with note only object * src/SelectObject.py (on_select_row): Dont segfault with note only object * src/GenericFilter.py: Only load rules that provide the required number of arguments. 2005-07-14 Don Allingham * src/plugins/NavWebPage.py: gallery/media object enhancements, div/span fixes in HTML, source and place references, individual source pges. 2005-07-14 Martin Hawlisch * src/plugins/NavWebPage.py: Added display_note_object and display_first_image_as_thumbnail to BasePage; PlacePage and IndividualPage use this now. Display URL list of Individuals and Places 2005-07-14 Don Allingham * src/plugins/NavWebPage.py: wrap content with div, fix encoding problems 2005-07-13 Don Allingham * src/Sort.py: don't use upper case, let locale.strcoll figure this out (correctly) for us * src/plugins/NavWebPage.py: fix sorting. * src/data/main*.css: added stylesheets for web page generator * src/data/Makefile.am: add stylesheets 2005-07-13 Alex Roitman * src/GenericFilter.py: Proper test for place in event-based filters; (Rule.set_list): Add assertion to have the correct number of arguments; (various): stop testing for number of arguments. * src/AddSpouse.py (LikelyFilter): Add labels to the filter. * src/ChooseParents.py (LikelyFilter): Add labels to the filter. * src/SelectiChild.py (LikelyFilter): Add labesl to the filter. * src/gramps_main.py (init_filters): Instantiate filters with corrent number of arguments. 2005-07-13 Don Allingham * src/GrampsInMemDB.py: add get_event_cursor * src/GrampsDbBase.py: add get_event_cursor 2005-07-12 Don Allingham * src/plugins/NavWebPage.py: handle links properly * src/plugins/Makefile.am: export Rebuild.py 2005-07-11 Don Allingham * src/GrampsBSDDB.py: add repair_secondary task to rebuild secondary indices * src/GrampsDbBase.py: add repair_secondary task * src/plugins/Check.py: move to "Repair Database" category * src/plugins/Rebuild.py: new plugin to repair secondary indices 2005-07-11 Alex Roitman * src/plugins/GraphViz.py (GraphViz.__init__): Define nominal and reduced margins; (write_report): Use nominal margin to compute virtual size and reduced margin to write the margin size; (write_header): Write reduced margin into header. 2005-07-10 Don Allingham * src/plugins/NavWebPage.py: enhancements, almost usable * src/Report.py: fixed spacing 2005-07-09 Alex Roitman * src/ReadXML.py (stop_ref): Properly read id-based witness reference created by old gramps. 2005-07-09 Julio Sanchez * src/docgen/OpenOfficeDoc.py: Make the output conform to the DTDs for OpenOffice.org XML 2005-07-08 Alex Roitman * src/plugins/GraphViz.py: Use single margin value, properly use cm for margin, properly use 2 digits after converting to inches. * src/ChooseParents.py (__init__): Handle events with empty dates. 2005-07-07 Julio Sanchez * src/docgen/OpenOfficeDoc.py: Compute correctly the draw:viewBox to please some versions of OpenOffice.org 2005-07-05 Martin Hawlisch * src/PeopleModel.py (calculate_data): Fix invert of search result * src/Date.py (is_equal): Only compare text value for TEXTONLY dates. * src/GenericFilter.py: Add new filters to search for notes * src/gramps_main.py: Add new filters 2005-07-05 Alex Roitman * src/system_filters.xml: Remove testing contents. * src/EditPerson.py (__init__): Refresh person object from handle, if handle exists. * src/Marriage.py (__init__): Refresh family object from handle, if handle exists. * NEWS: Update. * configure.in: Bump up the release number. * Release: Version 2.0.5 "It's certainly uncontaminated by cheese" released. * configure.in: Bump up the version number. 2005-07-03 Alex Roitman * src/plugins/GraphViz.py (dump_person): Correctly test for birth relations. 2005-07-03 Eero Tamminen * src/po/fi.po: Updated translated to latest template 2005-07-02 Alexander Roitman * src/RelLib.py (Family.get_handle_referents): Typo; (Event.get_handle_referents): Work around possible None for witness. * src/plugins/Check.py (check_source_references): Add checking routine to detect and remove dangling source references. * configure.in: Bump up the version number. 2005-07-01 Alex Roitman * src/plugins/WebPage.py (write_sibling): Apply patch from bug # 1230430 at sf.net with minor tweaks. * src/NEWS: Update. 2005-06-29 Don Allingham * src/GrampsDbBase.py: don't count_person for gender stats on add_person, since already done it commit_person 2005-06-29 Martin Hawlisch * src/plugins/DumpGenderStats.py: New plugin for debugging 2005-06-29 Don Allingham * src/GrampsBSDDB.py: provide an upgrade task to rebuild gender stats * src/GrampsDbBase.py: move gender stats handling to the commit_person task, instead of trying to handle it in the Person() class * src/RelLib.py: removal of genderstats handling 2005-06-28 Don Allingham * src/EditPerson.py: parse date correctly on edit * src/ReadGedcom.py: load previously used title properly into the dictionary to prevent traceback 2005-06-27 Don Allingham * src/PeopleView.py: fix on_get_iter on delete person 2005-06-27 Julio Sanchez * src/po/es.po: Translation fixes * src/GenericFilter.py: Do not attempt to translate user filters, fix a problem with filter names that contain non-ASCII characters 2005-06-26 Don Allingham * src/ImageSelect.py: allow the path variable to be editable * src/gramps.glade: allow the path variable to be editable * src/PeopleView.py: partial implementation of the alexrithm to select a new person after a person has been deleted * src/const.py.in: fix confidence display * src/ReadXML.py: prevent duplicate place names on import * src/ReadGedcom.py: prevent duplicate place names on import 2005-06-26 Julio Sanchez * src/GenericFilter.py: Fix uninitialized ancestor_cache in HasCommonAncestorWithFilterMatch, fix or-ing filters 2005-06-24 Martin Hawlisch * src/PeopleView.py (build_people_context_menu): Workaround to get a proper german translation. * srx/po/de.po: Updated 2005-06-24 Alexander Roitman * src/po/fr.po: Add missing format line parameters. 2005-06-23 Don Allingham * src/WriteGedcom.py: Fix GEDCOM date exporting. 2005-06-23 Alex Roitman * src/Relationship.py (is_spouse): Use context. * src/get_strings: Add "__" to default keywords. * src/po/template.po: Update for 2.0.4. * src/RelLib.py (SourceNote.replace_source_references, MediaBase.replace_media_references,): Fix problem with replacing multiple occurrences. * src/po/ru.po: Update for 2.0.4. 2005-06-23 Julio Sanchez * src/WriteGedcom.py: Fix family source references, fix spurious PLAC subrecords, respect more privacy settings * src/po/es.po: Translation fixes 2005-06-22 Don Allingham * src/FamilyView.py: fix deleting of spouse and children * src/PlaceView.py: fix sorting * src/SourceView.py: fix sorting 2005-06-22 Alexander Roitman * src/GenericFilter.py (IsDescendantOfFilterMatch.__init__): Remove unneeded method. * src/FamilyView.py (remove_child_clicked): Prevent signal race. * NEWS: Update. * src/TarFile.py (extract_files): insert missing 'replace' call. * src/Relationship.py (is_spouse): return translated spouse name, based on gender and family relation. * src/plugins/rel_*.py (get_relationship): use new spouse scheme. 2005-06-21 Don Allingham * src/GenericFilter.py: optimize a few filters 2005-06-21 Alexander Roitman * src/po/fr.po: Remove extra "%" signs. * src/Report.py (CommandLineReport.parse_option_str): Fix indentation. 2005-06-21 Martin Hawlisch * src/GenericFilter.py: Resolve handle-person mixup +many other bugfixes 2005-06-20 Don Allingham * src/AddSpouse.py: accept Person instead of handle * src/ChooseParents.py: accept Person instead of handle * src/GenericFilter.py: use single pass through database, filters accept Person objects instead of handles * src/PeopleModel.py: don't precalculate handle list * src/RelLib.py: allow person object to be initialized with serialized data * src/SelectChild.py: accept Person instead of handle 2005-06-20 Alexander Roitman * src/SelectChild.py (LikelyFilter.prepare,LikelyFilter.apply): Handle absent birth of a parent. * src/AddSpouse.py (LikelyFilter.prepare,LikelyFilter.apply): Handle absent birth of a parent; correctly use gender. 2005-06-19 Don Allingham * src/AddSpouse.py: display idle cursor, build better likely filter * src/SelectChild.py: display idle cursor * src/ChooseParents.y: display "Loading..." while loading lists 2005-06-18 Don Allingham * src/ChooseParents.py: build custom filter rules to speed up loading the data, provide watch cursor to provide feedback to the user. * src/Date.py: provide sort data recalculation function 2005-06-19 Eero Tamminen * src/plugins/StatisticsChart.py: Changed the entry fields to SpinButtons as suggested by Alex 2005-06-17 Don Allingham * src/ChooseParents.py: optimize the add of a person to the models * src/EditPlace.py: check to make sure a duplicate title is not entered 2005-06-17 Alex Roitman * src/WriteGedcom.py (write_sources): Pass handle to the id creator; (write_person): write person sources; (sid): return gramps_id; (write_families): write family sources. * src/WriteGedcom.py: Pass gramps_id to filter rules. * src/plugins/ExportVCalendar.py: Pass gramps_id to filter rules. * src/plugins/ExportVCard.py: Pass gramps_id to filter rules. * src/plugins/GraphViz.py: Pass gramps_id to filter rules. * src/plugins/IndivComplete.py: Pass gramps_id to filter rules. * src/plugins/NavWebPage.py: Pass gramps_id to filter rules. * src/plugins/StatisticsChart.py: Pass gramps_id to filter rules. * src/plugins/TimeLine.py: Pass gramps_id to filter rules. * src/plugins/WebPage.py: Pass gramps_id to filter rules. * src/plugins/WriteFtree.py: Pass gramps_id to filter rules. * src/plugins/WriteGeneWeb.py: Pass gramps_id to filter rules. * src/plugins/WebPage.py (write_report): Test for empty dir_name. 2005-06-16 Martin Hawlisch * src/gramps_main.py (on_merge_activate,on_fast_merge_activate): only merge if exactly two persons have been selected 2005-06-15 Alex Roitman * src/WriteGedcom.py (GedcomWriterOptionBox.get_option_box): Build person-centered filters only if a person is selected. * src/plugins/WriteGeneweb.py (GeneWebWriterOptionBox.get_option_box): Build person-centered filters only if a person is selected. * src/plugins/WriteFtree.py (FtreeWriterOptionBox.get_option_box): Build person-centered filters only if a person is selected. * src/PedView.py (load_canvas): Set anchor_txt to None if no person is selected; (set_anchor,remove_anchor): Only set anchor text if anchor_txt evaluates as True. 2005-06-15 Martin Hawlisch * src/po/de.po: Applied patches from Jens Seidel and Anton Huber 2005-06-10 Alex Roitman * src/docgen/AbiWord2Doc.py: Only embed one data chunk per image file; add empty paragraph if the image is not in paragraph already. 2005-06-10 Martin Hawlisch * src/ReportUtils.py (place_name): Really return place name * src/plugins/NavWebPage.py: Marked strings for translation; Dont crash if media file does not exist; Generate pages for every place; Build list of used sources 2005-06-09 Martin Hawlisch * src/plugins/Makefile.am: Install vCal and vCard plugins 2005-06-08 Martin Hawlisch * src/EditPerson (__init__): Make gender guessing work again 2005-06-08 Daniel Durand * src/plugins/rel_fr.py: Add more levels; provide fallback phrases. 2005-06-07 Alex Roitman * src/FamilyView.py (north_american,latin_american,icelandic): Fix object/handle mixups. 2005-06-05 Eero Tamminen * src/po/fi.po: Translated rest of the tips (=everything). Improved previous translations and fixed typos. 2005-06-05 Alex Roitman * configure.in: Bump up the version number. * src/Utils.py (strip_context): Add function. 2005-06-05 Don Allingham * src/DateHandler.py: fixed initialization of parser class * Release: Version 2.0.3 "Mynd you, møøse bites Kan be pretty nasti..." released. 2005-06-05 Alex Roitman * configure.in: Bump up the version number. 2005-06-04 Don Allingham * src/DateHandler.py: handle generic "en", "fr" cases as a fallback if the unknown "yy_XX" code is passed. Try yy if yy_XX fails. * src/dates/Date_*.py: add a default xx case * Release: Version 2.0.2 "Little fermented curd will do the trick" released. 2005-06-03 Don Allingham * src/DateHandler.py: add more English locales * src/dates/Date_fi.py: fix estimated/calculated, handle span properly * src/dates/Makefile.am: remove Date_fi for 2.0.2 2005-06-04 Eero Tamminen * src/po/fi.po: Updated translation to 2.0.2 template.pot. Everything except for a few dozen tips is translated. 2005-06-03 Julio Sanchez * src/po/es.po: Translation update for version 2.0.2. 2005-06-03 Don Allingham * src/EditPerson.py: Don't add empty strings to pdmap * src/AutoComp.py: don't add empty strings to completion 2005-06-03 Alexander Roitman * src/Utils.py (bold_label,unbold_label,temp_label): optionally set cursor. * src/EditSource.py (__init__,on_switch_page): Call display_references using idle_add; (display_references): set cursor when done. * src/EditPlace (__init__,on_switch_page): Call display_references using idle_add; (display_references): set cursor when done. * src/ImageSelect (__init__,on_switch_page): Call display_references using idle_add; (display_references): set cursor when done. * src/EditPlace.py, src/EditSource.py: Detect new objects by handle. * src/const.py.in (save_frel): Return English strings. * src/plugins/FamilyGroup.py (parse_user_options): Only select spouse if there is any. 2005-06-03 Jens Arvidsson * src/po/sv.po: Minor fixes found via pochkpyvar.pl. 2005-06-03 Jens Arvidsson * src/po/sv.po: Translation update for version 2.0.2. 2005-06-02 Don Allingham * src/dates/Date_fi.py: Finnish date parser * src/dates/Makefile.am: added Date_fi.py * src/ChooseParents.py: fixed all_males filtering problem, display all people when a person is blocked by the likely filter 2005-06-02 Alex Roitman * src/ReadGedcom.py (get_next): Use single space to split the line into level, tag, and the field contents; strip extra white space off the tag name. * src/po/ru.po: Update for 2.0.2. * NEWS: Update. 2005-06-01 Martin Hawlisch * src/Utils.py (probably_alive): If no year is given it now treats people as dead when they have a death event instead of counting them as alive in the curent year when they died in the current year. 2005-06-01 Anton Huber * src/po/de.po: Updated translation 2005-06-01 Don Allingham * src/PeopleModel.py: Improve rebuid times by using database cursor, caching sort names, and replacing loops with map/lamba * src/PeopleView.py: prevent goto_active_person reentrancy, use get_selected_objects instead of selected_foreach, combine row_changed and set_dnd_target into the same callback, rebuild only affected surname on person-update if pissible 2005-06-01 Alex Roitman * src/plugins/Makefile.am: Don't ship NavWebPage yet. * src/po/template.po: Update for 2.0.2. 2005-05-31 Don Allingham * src/plugins/Checkpoint.py: add support for custom command 2005-05-30 Martin Hawlisch * src/DbPrompter.py: Properly return False if opening a file failed 2005-05-31 Anton Huber * src/po/de.po: Updated translation 2005-05-30 Don Allingham * src/plugins/Checkpoint.py: Start of a checkpoint tool 2005-05-30 Martin Hawlisch * src/ArgHandler.py (handle_args) Exit if opening a file failed * src/Errors.py: New exception type "FileVersionError" * src/GrampsDbBase.py (version_supported): New method * src/GrampsBSDDB.py (version_supported): New method * src/gramps_main.py (read_file) catch FileVersionError; (post_load): only load if version_supported() * src/ReadGrdb.py (importData): only load if version_supported() 2005-05-30 Matt Brubeck * src/DbPrompter.py: fix handling of spaces when creating a new file - use open instead of "touch" 2005-05-30 Alex Roitman * src/po/sv.po: Typo (closes 1211150). 2005-05-28 Martin Hawlisch * src/gramps_main.py (read_file): Optimize exception handling of load_database errors. * src/ArgHandler.py (auto_save_load): Return actual status of read_file instead of always 1. This will now open the select database dialog on autoload errors. 2005-05-28 Alex Roitman * configure.in: Bump up the version number after 2.0.1. 2005-05-28 Martin Hawlisch * src/gramps_main.py (change_active_person): Dont change to the current active person again. * src/FamilyView.py (drag_data_received): Allow reordering of childs when they were not correctly ordered before. 2005-05-23 Jens Arvidsson * src/po/sv.po: A few fixes to the Swedish translation. 2005-05-26 Don Allingham * src/PeopleView.py: back port anti-flicker code from HEAD * src/dates/Date_de.py: use "etwa" instead of "circa" * src/DateDisplay.py: don't mark date formats as translatable 2005-05-25 Don Allingham * src/DateDisplay.py: properly encode french republican dates as unicode 2005-05-26 Martin Hawlisch * src/EditSource.py (DelSrcQuery.query_response), src/EditPlace.py (DeletePlaceQuery.query_response), src/ImageSelect.py (DeleteMediaQuery.query_response): Block signals while removing the references of the to be deleted object to get much more speed. * src/plugins/TestcaseGenerator.py: Add place, media and source references. * src/SourceView.py (button_press): Handle case of no selection. 2005-05-25 Alex Roitman * src/WriteGedcom.py (write_person): Typo. * src/NameDisplay.py (sorted): Use sorted name, not display name flag. * src/Sort.py (by_sorted_name): Add method. * src/WebPage (dump_index): Proper sorting, for both last name sections and the names within each section. 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-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 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-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-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-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 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 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-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-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-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-28 Don Allingham * src/FamilyView.py: fix adding child to wrong family 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 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-25 Martin Hawlisch * src/FamilyView.py: Dont crash on empty database 2005-04-24 Don Allingham * src/gramps.glade: remove REDO menu item 2005-04-24 Eero Tamminen * configure.in: Add Finnish back to installed languages * src/po/fi.po: Make translations more consistent + some fixes 2005-04-24 Alex Roitman * src/plugins/rel_ru.py (get_parents): Remove gettext string. * src/ReportUtils.py (list_person_str): Add missing periods; Use burial_date and burial_place for named format string parameters. * src/ReportUtils.py (died_str): Typo. * src/plugins/DetDescendantReport.py (add_user_options): Typos. * src/plugins/DetAncestralReport.py (add_user_options): Typos. * src/gramps_main.py (on_home_clicked): Typo. * src/rule.glade: Translate label. * src/po/fi.po: Add to gramps20 branch. * src/po/template.po: Update translation template. * src/po/ru.po: Translation update. * src/EditSource.py (button_press): Proper invokation of editors. * src/ImageSelect.py: Remove workarounds for window management. * src/Report.py (GrampsStyleComboBox): Use non-translated style name. 2005-04-23 Julio Sanchez * src/po/es.po: Nearly complete update, but completely untested 2005-04-23 Eero Tamminen * src/po/fi.po: Improved translations for style and filter names and some other things. Still not tested 2005-04-22 Don Allingham * src/Date.py (__cmp__): check for Date instance before compare 2005-04-21 Martin Hawlisch * src/ReadGedcom.py (parse_family_object): Set MediaRef properly; (parse_individual): Set Adoption event properly; (importData): Dont crash because of a short line; Support _WITN, _WTN and _GODP; Ignore _LOC extended locations * src/Marriage.py (__init__): Properly get place title 2005-04-20 Don Allingham * src/DbPrompter.py: handle runtime errors issued by gnomevfs.get_mime_type 2005-04-21 Eero Tamminen * src/po/fi.po: Translation updated, but not yet tested & fixed 2005-04-20 Martin Hawlisch * src/plugins/ExportVCalendar.py: Mark strings for translation; use proper family name 2005-04-20 Eero Tamminen * src/plugins/changenames.glade: fix typo * src/plugins/TestcaseGenerator.py: fix typos in description * src/plugins/DetAncestralReport.py: fix gettext usage * src/plugins/DetDescendantReport.py: fix gettext usage * src/plugins/ChangeNames.py: fix typo 2005-04-20 Don Allingham * src/plugins/DetAncestralReport.py: fixed i18n strings * src/ReadGedcom.py: handle FTM style of child/parent relationship translation * src/gedcomimport.py: * src/DisplayModels.py: fix bad index into list * src/Relationship.py: handle race condition where the screen wants to update with a stale family handle after the database has been closed and the internal data has not be rebuilt. 2005-04-19 Martin Hawlisch * src/GenericFilter.py: Don't crash on corrupt database 2005-04-19 Eero Tamminen * src/GenericFilter.py: Fix typo * src/ReportUtils.py: Fix typos * src/gramps.glade: Fix typo 2005-04-18 Guillaume Pratte * src/po/fr.po: Translation updated, but not finished. 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.