* src/plugins/verify.glade: update interface.
* src/plugins/Verify.py: More improvements. Still need to finish
filtering and object editing on double click.
svn: r6792
* src/plugins/TestcaseGenerator.py: Use new methods.
* src/DisplayTabs/_LdsModel.py: Use new methods.
* src/Editors/_EditLdsOrd.py: Use new methods.
* src/RelLib/_LdsOrd.py: Add new methods.
* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
* src/lds.py: Rename to LdsUtils.py
* src/GrampsDb/_ReadGedcom.py: Use new module name.
* src/Makefile.am (gdir_PYTHON): Ship new file.
svn: r6770
* src/Selectors/_SelectPerson.py: Use new package.
* src/plugins/RelCalc.py: Use new package.
* src/DataViews/_PersonView.py: Use new package.
* src/DisplayModels: Make new package.
* src/Makefile.am: Remove old files.
In po:
* POTFILES.in: Add new files; remove old files.
svn: r6683
2006-05-15 Alex Roitman <shura@gramps-project.org>
* configure.in: Generate new Makefile.
* src/Makefile.am: adapt to new module.
* src/Selectors: separate selectors in their own module.
* src/Select*.py: move to Selectors.
* src/DataViews/_FamilyView.py: Use new module.
* src/Editors/_EditLdsOrd.py: Use new module.
* src/Editors/_EditPersonRef.py: Use new module.
* src/Editors/_EditFamily.py: Use new module.
* src/DisplayTabs/_SourceEmbedList.py: Use new module.
* src/DisplayTabs/_RepoEmbedList.py: Use new module.
* src/DisplayTabs/_EventEmbedList.py: Use new module.
* src/DisplayTabs/_GalleryTab.py: Use new module.
* src/plugins/FilterEditor.py: Use new module.
* src/plugins/SimpleBookTitle.py: Use new module.
* src/PluginUtils/_Report.py: Use new module.
In po:
2006-05-15 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new files.
svn: r6669
* src/plugins/ChangeTypes.py (init_gui): Work around intltool bug.
In po:
2006-05-14 Alex Roitman <shura@gramps-project.org>
* gramps.pot: update.
svn: r6656
2006-05-12 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py (gtk_color_to_str): Better color to str.
* src/QuestionDialog.py (QuestionDialog2.__init__): Use the
underline for labels.
* src/plugins/ChangeNames.py: Fix WM.
* src/plugins/PatchNames.py: Fix WM.
In po:
* gramps.pot: Update.
svn: r6630
tools with batch transactions.
(ActivePersonTool.pass): Remove method.
* src/plugins/Check.py (Check): Derive from BatchTool.
* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
derive from BatchTool.
* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
transactions; derive from BatchTool.
* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
derive from BatchTool.
* src/glade/gramps.glade: Make both buttons' lables in
questiondialog use underline property.
(ViewManager.import_data): Add undo warning for imports.
svn: r6540
2006-05-01 Alex Roitman <shura@gramps-project.org>
* various: merge changes from gramps20.
In po:
2006-05-01 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6504
* src/PluginUtils/_PluginStatus.py: Fix wm.
* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
the menus still needs to be fixed.
* src/plugins/Leak.py: Fix wm.
* src/docgen/LPRDoc.py: Import Errors module before it is called.
* src/plugins/DumpGenderStats.py: Fix wm.
svn: r6468
* src/Utils.py: Remove obsolete code.
* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
* src/PeopleModel.py: Adapt to new types.
* src/plugins/TestcaseGenerator.py: Adapt to new types.
* src/RelLib/Makefile.am: Ship new files.
* src/RelLib/_EventRef.py: Adapt to new types.
* src/RelLib/_PrimaryObject.py: Adapt to new types.
* src/RelLib/_EventRoleType.py: Add new module.
* src/RelLib/_RepoRef.py: Adapt to new types.
* src/RelLib/_MarkerType.py: Add new module.
* src/RelLib/_Family.py: Adapt to new types.
* src/RelLib/_Person.py: Adapt to new types.
* src/RelLib/_SourceMediaType.py: Add new module.
* src/RelLib/__init__.py: Expose new modules.
* src/Editors/_EditPerson.py: Use new type.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
* src/GrampsDb/_ReadXML.py: Adapt to new types.
* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
* src/DataViews/_FamilyView.py (write_relationship): Use new type.
* src/DataViews/_PedigreeView.py (format_relation): Use new type.
svn: r6372
* src/Editors/_EditFamily.py: Typo
* src/GrampsDb/_GrampsDbBase.py (get_active_person): Handle case of no active person
* src/plugins/TestcaseGenerator.py: really generate shared events; use new GrampsType; randomize name type
* src/DataViews/_PersonView.py: DnD only for lines of persons; Fix set for python 2.3; fix get_parent_family_handle_list usage
svn: r6342
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.
svn: r6012
* src/EditSourceRef.py: update data on save
* src/gramps.glade: hide src_edit_ref by default
* src/plugins/Makefile.am: Calendar.py and holidays.xml
svn: r5964
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.
svn: r5875
* src/ScratchPad.py: fix some issues with new window management and dbstate
* src/scratchpad.glade: moved from src/plugins
* src/plugins/ScratchPad.py: removed
* src/plugins/scratchpad.glade: removed
svn: r5093
* src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing.
svn: r4361
* 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.
svn: r4308
* 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
svn: r4306
* 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.
svn: r4303
* 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.
svn: r4274
* 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.
svn: r4271
* 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.
svn: r4270
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.
svn: r4265
* 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.
svn: r4262
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
svn: r4261
* 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.
svn: r4249
* 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.
svn: r4246
* 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.
svn: r4237
* 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
svn: r4231
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.
svn: r4222
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.
svn: r4213
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
* src/EditPerson.py (x_drag_data_received): fixed problem with
drag and drop of objects that have srcrefs.
svn: r4206
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export
svn: r4197
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.
svn: r4193
Rename FullTextSearch as well as its descriptions.
* src/gramps_main.py: Change string for filter menu.
* src/plugins/FilterEditor.py (EditRule.__init__): Hide window while
drawing.
* src/DateEdit.py (DateEditorDialog.__init__): Hide window while
drawing.
svn: r4186
* src/Makefile.am : Added TreeTip.py to list of installed modules.
* src/TreeTip.py: New module that implements tooltips on TreeView rows.
* src/plugins/Makefile.am: Added ScratchPad.py and scratchpad.glade.
* src/plugins/ScratchPad.py: New module to implement a scratch pad for
temporary storage of drag and drop objects.
* src/plugins/scratchpad.glade: New glade file for ScratchPad window.
svn: r4184
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.
svn: r4105
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False
svn: r4085
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.
svn: r4054
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.
svn: r4022
to Person.MALE, Person.FEMALE and Person.UNKNOWN
* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin
svn: r4008
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.
svn: r4005