* src/DbManager.py: handle drag-n-drop files in DbManager. Dragging an
XML or GEDCOM file into the DbManager will create a new database and import
the file.
svn: r8708
* src/PageView.py (ListView.column_clicked): set the search column for list
views to be the sort column
* src/DataViews/_EventView.py: add docs
* src/DataViews/_FamilyList.py: add docs
* src/DataViews/_NoteView.py: remove unused double_click
* src/GrampsDb/_GrampsDbBase.py: fix __ on functions
* src/ColumnOrder.py: fix __ on functions
svn: r8705
* src/GrampsDbUtils/_WriteGedcom.py
(GedcomWriter.write_long_text): Remove definition;
(GedcomWriter.__init__): Define write_long_text based on self.conc.
2007-07-05 Robert Cawley <rjc@cawley.id.au>
* src/GrampsDbUtils/_WriteGedcom.py: Properly write notes, not
their handles.
svn: r8700
* src/ReportBase/_TemplateParser.py: Close file after parsing.
* src/ReportBase/_ReportOptions.py (OptionListCollection.parse):
Close file after parsing.
* src/ReportBase/_PaperMenu.py: Close file after parsing.
* src/plugins/BookReport.py (BookList.parse): Close file after parsing.
* src/Filters/_FilterList.py (load): Close file after parsing.
* src/BaseDoc.py (StyleSheetList.parse): Close file after parsing.
svn: r8687
* src/ReportBase/_ReportUtils.py: Use name_displayer.
* src/ReportBase/_CommandLineReport.py: Use name_displayer.
* src/ReportBase/_BareReportDialog.py: Use name_displayer.
* src/PluginUtils/_Tool.py: Use name_displayer.
* src/plugins/TimeLine.py: Use name_displayer.
* src/plugins/RelCalc.py: Use name_displayer.
* src/plugins/ReadGrdb.py: Use name_displayer.
* src/plugins/NarrativeWeb.py: Use name_displayer.
* src/plugins/IndivComplete.py: Use name_displayer.
* src/plugins/GraphViz.py: Use name_displayer.
* src/plugins/FindDupes.py: Use name_displayer.
* src/plugins/FamilyGroup.py: Use name_displayer.
* src/plugins/DetDescendantReport.py: Use name_displayer.
* src/plugins/DetAncestralReport.py: Use name_displayer.
* src/plugins/DesGraph.py: Use name_displayer.
* src/plugins/DescendReport.py: Use name_displayer.
* src/plugins/DescendChart.py: Use name_displayer.
* src/plugins/Check.py: Use name_displayer.
* src/plugins/Ancestors.py: Use name_displayer.
* src/plugins/AncestorReport.py: Use name_displayer.
* src/plugins/AncestorChart2.py: Use name_displayer.
* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
* src/Merge/_MergePerson.py: Use name_displayer.
* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
* src/FilterEditor/_ShowResults.py: Use name_displayer.
* src/FilterEditor/_EditRule.py: Use name_displayer.
* src/Editors/_EditPrimary.py: Use name_displayer.
* src/Editors/_EditPersonRef.py: Use name_displayer.
* src/Editors/_EditPerson.py: Use name_displayer.
* src/Editors/_EditName.py: Use name_displayer.
* src/Editors/_EditLdsOrd.py: Use name_displayer.
* src/Editors/_EditFamily.py: Use name_displayer.
* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
* src/DisplayTabs/_NameModel.py: Use name_displayer.
* src/DisplayTabs/_ChildModel.py: Use name_displayer.
* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
* src/DisplayModels/_PeopleModel.py: Use name_displayer.
* src/DisplayModels/_FamilyModel.py: Use name_displayer.
* src/DataViews/_PersonView.py: Use name_displayer.
* src/DataViews/_RelationView.py: Use name_displayer.
* src/DataViews/_PedigreeView.py: Use name_displayer.
* src/Utils.py: Use name_displayer.
* src/SubstKeywords.py: Use name_displayer.
* src/Sort.py: Use name_displayer.
* src/Reorder.py: Use name_displayer.
* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
* src/Navigation.py: Use name_displayer.
* src/DisplayState.py: Use name_displayer.
* src/GrampsCfg.py: Use name_displayer.
* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py
svn: r8680
* src/plugins/ReadGrdb.py (importData): Only copy environment if
it exists.
* src/GrampsDb/_GrampsBSDDB.py (load): Restore env_flags
definition for TXN-less database.
svn: r8674
* src/plugins/ReadGrdb.py (importData): Rework to upgrade and
import a copy of grdb file, leaving the original file untouched.
* src/GrampsDb/_GrampsBSDDB.py (make_env_name): Add method to
determine the environment name.
svn: r8660
2007-06-23 Alex Roitman <shura@gramps-project.org>
* src/plugins/RemoveUnused.py: Rewrite with single-dialog UI.
* src/plugins/unused.glade: Add new file.
* src/plugins/Makefile.am: Ship new file.
In po:
* POTFILES.in: Add new files.
svn: r8646
* src/GrampsDb/_GrampsGEDDB.py (close): Save after batch
transactions: #862.
* src/GrampsDb/_GrampsXMLDB.py (close): Save after batch
transactions: #862.
svn: r8630
* src/DbManager.py: Handle more advanced RCS commands, such as
rename revisions, checking out a new revision, and breaking locks
* src/glade/gramps.glade: fix window positioning
svn: r8614
(find_revisions): get the date from rlog;
(__populate): Use date and comment, not rcs version numbers.
(__button_press): Fix double-click handling.
svn: r8610
* src/DbManager.py (check_in): Add -f option to ci to force
checking even if it is identical.
2007-06-19 Alex Roitman <shura@gramps-project.org>
svn: r8607
* src/DbManager.py: revision control check in
* src/glade/gramps.glade: revision control check in
2007-06-18 Don Allingham <don@gramps-project.org>
svn: r8588
* src/GrampsDb/_GrampsDBDir.py: check for writability, otherwise open as readonly
* src/DbManager.py: use single, user configurable database path
* data/gramps.schemas.in: set default path to ~/.gramps/grampsdb
2007-06-16 Don Allingham <don@gramps-project.org>
svn: r8566
* src/DisplayState.py (RecentDocsMenu.load): work out directories;
(RecentDocsMenu.build): Use symbolic names for menu.
* src/RecentFiles.py: Make work with directories and symbolic
names; remove GNOME-related functionality.
svn: r8550
* src/ViewManager.py: detection and recovery from db errors
* src/GrampsDb/_GrampsDBDir.py: detection and recovery from db errors
* src/GrampsDb/_GrampsBSDDB.py: detection and recovery from db errors
* src/DbManager.py: detection and recovery from db errors
* src/DbState.py: detection and recovery from db errors
* src/ArgHandler.py: detection and recovery from db errors
svn: r8539
* src/DisplayState.py (DisplayState.__signals__): Port fixes from
2.2 tree.
* src/FilterEditor/_EditFilter.py: Port fixes from 2.2 tree.
* src/FilterEditor/_FilterEditor.py: Port fixes from 2.2 tree.
* data/grampsxml.rng: Port fixes from 2.2 tree.
* data/grampsxml.dtd: Port fixes from 2.2 tree.
* src/GrampsDb/_GrampsDbWriteXML.py (_xml_version): Bump up version.
svn: r8536
* src/DbLoader.py (_OPEN_FORMATS): Remove grdb from the native
format list.
* src/GrampsDbUtils/_GrampsDbWRFactories.py
(gramps_db_reader_factory): remove grdb read from the factories,
it is a plugin now.
* src/plugins/ReadGrdb.py: Register import; made module a plugin.
svn: r8530
* src/GrampsDb/_ReadXML.py: partly fix#1053, import privacy of person, family,
media, source, place and repo correct. Still to do: sourceref and lds_ordinance
svn: r8459
* src/glade/gramps.glade: fix#797
* src/glade/gramps.glade: fix#796
* src/GrampsDbUtils/_ReadXML.py: Set specific notetype on import/read of pre 2.3 xml,
inherit privacy of creating object for pre 2.3 xml as much as possible.
svn: r8453
* src/ReportBase/_SimpleDoc.py: add support for tabs
* src/BaseDoc.py: add support for tabs
* src/docgen/TextBufDoc.py: add support for tabs
svn: r8443
inherits the public/private setting of the parent object it is created from,
instead of defaulting to public.
2007-05-07 Benny Malengier <bm@cage.ugent.be>
svn: r8442
* src/Editors/_EditPlace.py:
* src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
* src/Editors/_EditSourceRef.py:
* src/Editors/_EditSource.py:
* src/Editors/_EditRepoRef.py:
* src/Editors/_EditAttribute.py:
* src/Editors/_EditPersonRef.py:
* src/Editors/_EditNote.py:
* src/Editors/_EditPerson.py:
* src/Editors/_EditMediaRef.py:
* src/Editors/_EditEventRef.py:
* src/Editors/_EditMedia.py:
* src/Editors/_EditRepository.py:
* src/Editors/_EditName.py:
* src/Editors/_EditChildRef.py:
* src/Editors/_EditFamily.py:
* src/Editors/_EditEvent.py:
* src/RelLib/_NoteType.py:
* src/DisplayTabs/_NoteTab.py:
* src/GrampsWidgets.py:
* TODO:
Implement using a specific notetype instead of General for notes created as part of a
primary or secondary object. Add list of types to ignore for inclusion in MonitoredDataType in a general manner.
List remaining issues in TODO for multiple notes.
svn: r8441
* src/Editors/_EditPlace.py:
* src/Editors/_EditSource.py:
* src/Editors/_EditNote.py:
* src/Editors/_EditPerson.py:
* src/Editors/_EditRepository.py:
* src/Editors/_EditFamily.py:
* src/DisplayTabs/_NoteTab.py:
Add meaningfull title to the note dialog instead of only the note number, when called from place, source, person, family or repo
svn: r8432
* src/images/.../Makefile.am:
* src/images/Makefile.am:
* src/DataViews/_RelationView.py:
* src/MarkupText.py:
* src/gramps_main.py:
* src/images/.../gramps-font-color...:
* src/images/.../gramps-font-bgcolor...:
* src/images/.../gramps-parents-open...:
* src/images/48x48/gramps-parents-add.png:
New icons for add/share parents, clean up media icon, icons for fonts as asked by Zsolt, delete of no more needed icons gramps-sharefamily, gramps-media-all. Reflect changes to images to makefiles. Use the new icons.
svn: r8430
* src/Editors/_EditFamily.py : add up down arraw on children list
* src/DisplayTabs/_EmbeddedList.py : generalize select method for
up/down movement in list
svn: r8414
* src/DisplayTabs/_EmbeddedList.py
* src/DisplayTabs/_BackRefList.py
* src/DisplayTabs/_NoteTab.py
* src/DisplayTabs/_ButtonTab.py
Added move up and move down buttons to the EmbeddedList, use them only
for now in NoteTab
svn: r8402
* src/DataViews/_FamilyList.py: add marriage date column
* src/GrampsDb/_DbUtils.py: add function for finding a marriage event
* src/DisplayModels/_FamilyModel.py: add marriage date column
* src/GrampsDbUtils/_GedcomParse.py: handle place form handing
* src/GrampsDbUtils/_GedcomLex.py: handle place form handing
* src/GrampsDbUtils/_WriteGedcom.py: handle note list
* src/docgen/ODFDoc.py: escape special characters
svn: r8398
* src/images/
* src/GrampsWidgets.py
* src/glade/gramps.glade
* src/glade/edit_person.glade
* src/DisplayTabs/_NoteTab.py
Added new icons for lock, unlock, viewmedia, and start using them.
Removed old lock and view icons.
svn: r8393
* src/GrampsWidgets.py (Statusbar): min width given in #chars;
right alignment of a bar is enabled.
* src/DisplayState.py (DisplayState.__init__): statusbar creation
with modified parameters.
svn: r8350
* src/DbManager.py: clean up
* src/DbState.py: issue database-changed signal on db close
* src/GrampsDbUtils/_GedcomParse.py: fix adding of notes
* src/DbLoader.py: don't give undo warning if importing into empty db
svn: r8347
* src/ViewManager.py: load previous db if requested
* src/gramps_main.py: load previous db if requested
* src/ArgHandler.py: load previous db if requested
svn: r8340
* src/ViewManager.py: call dbmanager if no file loaded on startup
* src/DbManger.py: open buttons and double click
* src/gramps_main.py: use "Family Trees"
svn: r8336
* src/ViewManager.py: pass dbstate to DbManager
* src/DbManager.py: add icon, prevent deletion of open db, make buttons
do the sensible thing
svn: r8331
forcing some reports to have the "page break between generations" options
even though they weren't using it. All reports now define all of their own
options.
svn: r8323
* src/glade/gramps.glade: integrate the new DbManager
* src/gramps_main.py: integrate the new DbManager
* src/DbManager.py: integrate the new DbManager
svn: r8320
* src/DisplayModels/_PeopleModel.py (PeopleModel._build_search_sub):
switch back to old format for handling cursor until bug can be resolved
svn: r8319
* src/Editors/_EditNote.py (save): pass the handle to the callback
instead of the object itself.
* src/DisplayTabs/_NoteTab.py: pass the add and edit callback functions
to EditNote; side button tooltips.
svn: r8318
* src/ViewManager.py: add support for new directory type
* src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding
* src/GrampsDb/_GrampsDBDir.py: new directory based type
* src/GrampsDb/_GrampsDbFactories.py: add support for new directory type
* src/Editors/_EditNote.py: only update on save
* src/Selectors/_SelectPerson.py: use normal columns
* src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type
* src/GrampsDbUtils/__init__.py: add support for new directory type
* src/GrampsDbUtils/_Backup.py: fast pickle based backup
* src/ArgHandler.py: add support for new directory type
svn: r8313
* 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