* src/MarkupText.py (MarkupBuffer.set_text): better unicode encoding.
* src/Editors/_EditPlace.py: source code encoding comment removed;
EditPlace._validate_coordinate: proper unicode coding;
EditPlace._setup_fields: longitude and latitude entries moved out to
glade.
* src/Editors/_EditNote.py (EditNote._local_init): redundant method
call removed.
* src/GrampsWidgets.py: enable custom widget support from glade;
MonitoredEntry.connect: enable support for custom data for signal.
* src/glade/gramps.glade (place_editor): include ValidatableMaskedEntry
for longitude and latitude entries.
* src/ManagedWindow.py (ManagedWindow.show): replace window.show() with
window.show_all().
svn: r8311
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
string for parseString.
* src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditMedia.py:
* src/Editors/_EditName.py:
* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
with FILL=False yoption for having the validation error tip at right
position.
svn: r8309
* src/ViewManager.py: use tooltips for buttons when text disabled (bug 959)
* src/Editors/_EditSourceRef.py: fix help button (bug 960), delete the cancel
on the comment tab.
* src/Editors/_EditReference.py: make sure help button is sensitive if used.
* src/GrampsDbUtils/_GedcomParse.py: check for UTF16 BOM
* src/ArgHandler.py: use STOCK_NEW for create of db (bug 947)
* src/DbLoader.py: use STOCK_NEW for create of db (bug 947)
svn: r8304
file:
# -*- coding: latin-1 -*-
See here: http://www.python.org/dev/peps/pep-0263/ for details.
I'm not sure if this is what we want to do, or if there is a better way,
But I needed to do something to get Gramps running again.
svn: r8300
* src/RelLib/_Note.py: import const from MarkupText module
* src/MarkupText.py: use actions instead of widgets on the interface;
new helper functions
* src/Editors/_EditNote.py: move widgets out to glade; implement new
MarkupText buffer interface; use uimanager/toolbar for formatting
* src/glade/gramps.glade: edit_note update
svn: r8292
* src/Editors/_EditAddress.py: note list support
* src/Editors/_EditLdsOrd.py: note list support
* src/Editors/_EditSourceRef.py: note list support
* src/Editors/_EditSource.py: note list support
* src/Editors/_EditRepoRef.py: note list support
* src/Editors/_EditAttribute.py: note list support
* src/Editors/_EditPersonRef.py: note list support
* src/Editors/_EditPerson.py: note list support
* src/Editors/_EditMediaRef.py: note list support
* src/Editors/_EditEventRef.py: note list support
* src/Editors/_EditMedia.py: note list support
* src/Editors/_EditRepository.py: note list support
* src/Editors/_EditName.py: note list support
* src/Editors/_EditChildRef.py: note list support
* src/Editors/_EditFamily.py: note list support
* src/Editors/_EditEvent.py: note list support
* src/DisplayTabs/_NoteTab.py: note list support
* src/GrampsDbUtils/_GedcomParse.py: note list support
svn: r8183
* src/data/mainX.css: enable formatted notes on narrative web
* src/plugins/NarrativeWeb.py: enable formatted notes on narrative web
* src/MarkupText.py: properly reset xml generator output: fix#924
* src/ManagedWindow.py: enable accelerators in editor windows
* src/Editors/_EditPrimary.py: enable accelerators in editor windows
* src/Editors/_EditSecondary.py: enable accelerators in editor windows
* src/Editors/_EditReference.py: enable accelerators in editor windows
* src/DisplayTabs/_NoteTab.py: enable accelerators in editor windows
* src/DisplayTabs/_ButtonTab.py: enable accelerators in editor windows
* src/DisplayTabs/_GrampsTab.py: enable accelerators in editor windows
svn: r8137
* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): fix
warning message.
2007-02-02 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): update on data change
from family-update signal
svn: r8036
* src/GrampsDb/_GrampsBSDDB.py: initialize the next gramps_id
indexes to the length of the tables to prevent a walk of the db
entries.
* src/DisplayModels/_BaseModel.py: handle row-insert properly
* src/PageView.py: handle row adding properly
svn: r7963
* src/Editors/_EditAddress.py: new date entry
* src/Editors/_EditLdsOrd.py: new date_entry
* src/Editors/_EditSourceRef.py: new date_entry
* src/Editors/_EditEventRef.py: new date_entry
* src/Editors/_EditMedia.py: new date_entry
* src/Editors/_EditName.py: new date_entry
* src/Editors/_EditEvent.py: new date_entry
* src/GrampsWidgets.py: add options to ValidatedDateEntry to specify colors and icon
* src/glade/gramps.glade: new date_entry
* src/Errors.py: new date_entry
* src/DateEdit.py: new date_entry
svn: r7872
* src/DataViews/_MediaView.py: external view support for media objects
* src/Editors/_EditPlace.py: external view support for media objects
* src/Editors/_EditMediaRef.py: external view support for media objects
* src/Editors/_EditMedia.py: external view support for media objects
* src/glade/gramps.glade: external view support for media objects
svn: r7773
* src/Editors/_EditSource.py: consistent menu and title names
* src/Editors/_EditPerson.py: consistent menu and title names
* src/Editors/_EditMedia.py: consistent menu and title names
* src/Editors/_EditRepository.py: consistent menu and title names
* src/Editors/_EditFamily.py: consistent menu and title names
* src/Editors/_EditEvent.py: consistent menu and title names
svn: r7709
* data/gramps.schemas.in: default transactions to off
* src/Config/_GrampsConfigKeys.py: default transaction to off
* src/Editors/_EditFamily.py: remove dead code
* src/plugins/DetDescendantReport.py: remove dead code
svn: r7631
* src/Config/_GrampsConfigKeys.py: add saving of family editor size
* src/Editors/_EditFamily.py: add saving of family editor size
* src/DisplayTabs/_GalleryTab.py: Catch possible exception
* src/glade/gramps.glade: add saving of family editor size
* src/DbLoader.py: Display error message on RUNRECOVERY error
* src/DisplayTabs/_AddrEmbedList.py: make labels more consistent (#513)
svn: r7616
* src/Editors/_EditPerson.py: Change Unknown Gender dialog to allow
the user to specify without going back to the main window
* src/plugins/RemoveUnused.py: cleanup
svn: r7569
cleanup into its own method (as in the parent class).
FIXME: This needs to be fixed so that _cleanup_on_exit is not
run on OK, only on cancel. Maybe we need _clean_up_on_cancel() ?
* src/DisplayTabs/_TextTab.py (cancel): Only reset text, not the
whole source reference.
svn: r7370
* src/GrampsLogger/_ErrorReportAssistant.py: capitalize "GRAMPS"
* src/ViewManager.py: display buttons on first open
* src/Editors/_EditSourceRef.py: fix cancelling of text (bug #450)
* src/DisplayTabs/_NoteTab.py: fix cancelling of text
* src/DisplayTabs/_TextTab.py: fix cancelling of text
svn: r7345
* src/images/sources.svg: new icon
* src/images/reports.svg: new icon
* src/images/tools.svg: new icon
* src/images/events.svg: new icon
* src/images/place.svg: new icon
* src/images/tools.svg: new icon
* src/ViewManager.py: use new icons
* src/gramps_main.py: register new icons
2006-09-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
* src/GrampsDb/_ReadGedcom.py: check for IO Eror
* src/ViewManager.py: display message if a portability problem is
detected
* src/QuestionDialog.py: Add Warning dialog that can be disabled
* src/DbLoader.py: Detect missing database problem
* src/ArgHandler.py: support for disabling transactions
* src/GrampsCfg.py: new config keys for transactions
* src/Config/_GrampsConfigKeys.py: new config keys for transactions
2006-09-17 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: handle missing database on autoload (#447)
* src/ArgHandler.py: handle missing database on autoload (#447)
* src/DbLoader.py: handle missing database on autoload (#447)
* src/Makefile.am: remove uninstalled packages from makefile
* src/GrampsDb/_ReadXML.py: place vs. address changes
* src/GrampsDb/_WriteXML.py: place vs. address changes
* src/GrampsDb/_EditPlace.py: place vs. address changes
* src/Editors/_EditPlace.py: place vs. address changes
* src/Editors/_EditLocation.py: place vs. address changes
* src/RelLib/_Address.py: place vs. address changes
* src/RelLib/_LocationBase.py: place vs. address changes
* src/RelLib/_Location.py: place vs. address changes
* src/DisplayTabs/_LocationModel.py: place vs. address changes
* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
* src/glade/gramps.glade: place vs. address changes
svn: r7325
* src/GrampsDb/_ReadXML.py: remove commented out code
* src/Editors/_EditEvent.py: handle overwriting of date text
* src/RelLib/_DateBase.py: allow optional dropping of date text on
serialization
* src/RelLib/_Date.py: allow optional dropping of date text on
serialization
* src/RelLib/_Event.py: allow optional dropping of date text on
serialization
svn: r7306
after a primary name change
* src/DisplayTabs/_NameEmbedList.py: add primary name change menu item
* src/GrampsWidgets.py: add reinitalization method to handle change of
associated data item
svn: r7268
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
change.
* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
interface.
* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
and Add callbacks divided.
* src/RelLib/_Name.py: Default/standard name format definitions moved to
NameDisplay.
* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
interface.
* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
NameDisplay interface.
svn: r7099
* src/GrampsCfg.py: Custom name format support improvements.
* src/Editors/_EditName.py: Custom name format support improvements.
* src/NameDisplay.py: Custom name format support improvements.
* src/plugins/Check.py (cleanup_deleted_name_formats): Db cleanup of
deleted custom name format references.
svn: r7083
* src/ViewManager.py: Custom name format support.
* src/GrampsCfg.py: Custom name format support.
* src/RelLib/_Name.py: Custom name format support.
* src/Editors/_EditName.py: Custom name format support.
* src/glade/gramps.glade: Custom name format support.
* src/NameDisplay.py: Custom name format support.
svn: r7032
* src/Editors/_EditFamily.py: add edit child/relationship options
in the popup menu
* src/DisplayTab/_EmbeddedList.py: break out menu specification to
make it easier to override
* src/glade/gramps.glade: remove unused objects
* help/C/figures/place.png: update
svn: r7008
* src/ViewManager.py (ViewManager.post_load_newdb): Register
custom formats after loading the db.
* src/GrampsCfg.py: Switch to use new formats (still in progress).
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
custom name formats list.
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata)
(GrampsBSDDB._close_metadata): load and save name_formats.
* src/Editors/_EditName.py (EditName._setup_fields): Use proper
format lists.
* src/NameDisplay.py: Support new name formats scheme.
* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.
svn: r6999
* src/Editors/_EditEvent.py: focus on date on open
* src/Editors/_EditEventRef.py: focus on date on open
* src/UndoHistory.py: don't attempt to unregister with the window
manager, since not registered to begin with
svn: r6926
* src/Editors/_EditFamiy.py: make EditPerson windows subordinate
to EditFamily windows. This prevents the EditPerson window from
trying to trying to access a non-existent window and causing a
segfault
svn: r6900
* src/DisplayTabs/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/DisplayTabs/__init__.py: Import new module.
* src/DisplayTabs/_TextTab.py: Add new module.
* src/Editors/_EditSourceRef.py (_setup_fields): Remove Text tab;
(_create_tabbed_pages): Add Text tab.
* src/glade/gramps.glade (source_ref_edit): Remove Text tab.
In po:
2006-06-15 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6894
* src/NameDisplay.py: Factor out commont code.
* src/Editors/_EditName.py (_setup_fields): Remove Default item.
* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
place of previous DEF.
* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
do not set conf attribute on attr, addr, and event.
svn: r6889
* src/Selectors/_SelectPerson.py (__init__): take track argument.
* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
* src/Editors/_EditPersonRef.py (_select_person): Adapt to
SelectPerson change.
* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
convert to Managed window.
* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
* src/ViewManager.py (make_report_callback): Use dbstate and uistate.
svn: r6830
* src/DataViews/_RelationView.py: build skip list for SelectFamily so that
* a person cannot be his own parent
* src/Editors/_EditFamily.py: don't allow a person to be his own parent
* src/Selectors/_BaseSelector.py: Add skipping of handles
* src/DisplayModels/_BaseModel.py: Add skipping of handles
* src/DisplayModels/_MediaModel.py: Add skipping of handles
* src/DisplayModels/_RepositoryModel.py: Add skipping of handles
* src/DisplayModels/_SourceModel.py: Add skipping of handles
* src/DisplayModels/_EventModel.py: Add skipping of handles
* src/DisplayModels/_FamilyModel.py: Add skipping of handles
* src/DisplayModels/_PlaceModel.py: Add skipping of handles
svn: r6790
* 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/Editors/_EditPlace.py: new SelectPlace interface
* src/Editors/_EditEventRef.py: new SelectPlace interface
* src/Editors/_EditEvent.py: new SelectPlace interface
* src/GrampsWidgets.py: new Place editor interface
svn: r6695
* src/Editors/_EditLdsOrd.py: Adapt to new selector.
* src/DisplayTabs/_SourceEmbedList.py: Adapt to new selector.
* src/DisplayTabs/_EventEmbedList.py: Adapt to new selector.
* src/DisplayTabs/_GalleryTab.py: Adapt to new selector.
* src/Selectors/_BaseSelector.py: Use DisplaModel models.
* src/Selectors/_SelectRepository.py: Use DisplaModel models.
* src/Selectors/_SelectSource.py: Use DisplaModel models.
* src/Selectors/_SelectEvent.py: Use DisplaModel models.
* src/Selectors/_SelectFamily.py: Use DisplaModel models.
* src/Selectors/_SelectPlace.py: Use DisplaModel models.
* src/Selectors/_SelectObject.py: Use DisplaModel models.
svn: r6687
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/glade/edit_person.glade: add call name field
* src/DataViews/_PersonView.py: start of filter sidebar,
use hbox instead of hpaned
* src/Editors/_EditPlace.py: add ID field
* src/Editors/_EditSource.py: add ID field
* src/Editors/_EditEventRef.py: add ID field
* src/Editors/_EditEvent.py: add ID field
svn: r6551
initialize load_image callback
* src/DisplayTabs.py (GalleryTab): call callback if defined when
the list is updated, handle reorder inserting of None objects
svn: r6476
* src/Editors/_EditFamily.py: provide add new parent option
* src/Editors/_EditEvent.py: used set_window
* src/glade/gramps.glade: add new buttons for add new parent
svn: r6470
* 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/GrampsDb/_ConstXML.py: new types
* src/GrampsDb/_WriteXML.py: new types
* src/Editors/_EditUrl.py: new types
* src/Editors/_EditPerson.py: new types
* src/Editors/_EditRepository.py: new types
* src/Editors/_EditName.py: new types
* src/Editors/_EditChildRef.py: new types
* src/RelLib/__init__.py: new types
* src/RelLib/_Url.py: new types
* src/RelLib/_RepositoryType.py: new types
* src/RelLib/_GrampsType.py: new types
* src/RelLib/_UrlType.py: new types
* src/RelLib/_Repository.py: new types
* src/RelLib/_NameType.py: new types
* src/RelLib/_ChildRefType.py: new types
* src/DisplayTabs.py: new types
* src/GrampsWidgets.py: new types
* src/Utils.py: new types
svn: r6360
* 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