Commit Graph

65 Commits

Author SHA1 Message Date
Don Allingham
06d9588736 * src/DbManager.py: handle cursor while rebuilding
* src/glade/gramps.glade: fix label placement

2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8547
2007-06-14 04:20:44 +00:00
Don Allingham
76e590472f 2007-06-13 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle broken dbs that have been opened
	* src/DbState.py: handle broken dbs that have been opened
	* src/GrampsDbUtils/_Backup.py: write intermediate file firs to make
	sure no errors occur when writing, then replace old backups

	* src/ViewManager.py: better rebuild recovery
	* src/GrampsDb/_GrampsDbConst.py: better rebuild recovery
	* src/GrampsDb/_GrampsDBCallback.py: better rebuild recovery
	* src/DbManager.py: better rebuild recovery
	* src/glade/gramps.glade: better rebuild recovery
	* src/const.py.in: better rebuild recovery
	* src/QuestionDialog.py: better rebuild recovery
	* src/GrampsDbUtils/_ReadGedcom.py: better rebuild recovery
	* src/ArgHandler.py: better rebuild recovery
	* src/DbLoader.py: better rebuild recovery

2007-06-12  Don Allingham  <don@gramps-project.org>


svn: r8546
2007-06-13 22:48:28 +00:00
Don Allingham
150a0fc05d svn: r8540 2007-06-13 02:27:31 +00:00
Don Allingham
c730a8f5c4 2007-06-12 Don Allingham <don@gramps-project.org>
* 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
2007-06-12 23:31:40 +00:00
Don Allingham
e05e6b4edd 2007-06-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
2007-06-12 04:29:15 +00:00
Don Allingham
dc2afe8f55 2007-04-20 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py (BaseModel.add_row_by_handle): 
	if search not defined, do an insert
	* src/GrampsDb/_ReadGedcom.py: fix calendar parsing
	* src/GrampsDb/_WriteGedcom.py: fix calendar generation



svn: r8413
2007-04-21 04:54:28 +00:00
Brian Matherly
44b6c47171 generate DEFAULT_DIR for databases from const.home_dir
svn: r8400
2007-04-18 11:55:17 +00:00
Don Allingham
5580ad12d3 * src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database
* 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
2007-04-02 03:56:30 +00:00
Don Allingham
30ce0c5291 2007-04-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
2007-04-01 22:37:10 +00:00
Don Allingham
ad3ae54224 svn: r8337 2007-03-29 03:21:54 +00:00
Don Allingham
a9a388bead 2007-03-28 Don Allingham <don@gramps-project.org>
* 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
2007-03-29 01:42:21 +00:00
Don Allingham
e8387f71c7 do the sensible thing, prevent duplicate names when creating a new db.
svn: r8332
2007-03-28 04:05:16 +00:00
Don Allingham
e5f0c18781 2007-03-27 Don Allingham <don@gramps-project.org>
* 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
2007-03-28 03:33:11 +00:00
Don Allingham
51de7f3399 2007-03-27 Don Allingham <don@gramps-project.org>
* src/DbManager.py (DbManager.populate): make default directory if it
	does not exist



svn: r8324
2007-03-27 11:54:10 +00:00
Don Allingham
911590e880 * src/ViewManager.py: integrate the new DbManager
* 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
2007-03-27 03:18:49 +00:00