Commit Graph

16 Commits

Author SHA1 Message Date
Don Allingham
3bcaf36d57 * src/GrampsDb/_GrampsDBDir.py: use types.InstanceType
* src/RelLib/_SourceBase.py: use types.InstanceType
	* src/RelLib/_Source.py: use types.InstanceType
	* src/RelLib/_MediaObject.py: use types.InstanceType
	* src/RelLib/_Person.py: use types.InstanceType
	* src/RelLib/_DateBase.py: use types.InstanceType
	* src/RelLib/_ChildRef.py: use types.InstanceType
	* src/RelLib/_Family.py: use types.InstanceType
	* src/RelLib/_Place.py: use types.InstanceType
	* src/RelLib/_RepoRef.py: use types.InstanceType
	* src/RelLib/_Note.py: use types.InstanceType
	* src/RelLib/_EventRef.py: use types.InstanceType
	* src/RelLib/_Repository.py: use types.InstanceType
	* src/RelLib/_Event.py: use types.InstanceType

2007-08-29  Don Allingham  <don@gramps-project.org>


svn: r8899
2007-08-31 01:52:24 +00:00
Don Allingham
5588a61f03 2007-08-29 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py: fast unserialize()
	* src/Editors/_EditPerson.py: fast unserialize()
	* src/RelLib/_SourceBase.py: fast unserialize()
	* src/RelLib/_Source.py: fast unserialize()
	* src/RelLib/_MediaObject.py: fast unserialize()
	* src/RelLib/_Person.py: fast unserialize()
	* src/RelLib/_DateBase.py: fast unserialize()
	* src/RelLib/_ChildRef.py: fast unserialize()
	* src/RelLib/_Name.py: fast unserialize()
	* src/RelLib/_Family.py: fast unserialize()
	* src/RelLib/_Place.py: fast unserialize()
	* src/RelLib/_RepoRef.py: fast unserialize()
	* src/RelLib/_Note.py: fast unserialize()
	* src/RelLib/_EventRef.py: fast unserialize()
	* src/RelLib/_Repository.py: fast unserialize()
	* src/RelLib/_Event.py: fast unserialize()
	* src/Utils.py: all callgraph to profile
	


svn: r8890
2007-08-29 23:01:16 +00:00
Alex Roitman
1c550c4c60 2007-07-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (write_lock_file): Work around
	os.getlogin() problem on some terminals.



svn: r8706
2007-07-08 17:56:46 +00:00
Alex Roitman
1e8a8be782 2007-06-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/RemoveUnused.py (init_gui): Add missing argument.
	* src/GrampsDb/_GrampsInMemDB.py: Rename overridden methods.
	* src/GrampsDb/_GrampsDbBase.py: Rename overridden methods.
	* src/GrampsDb/_GrampsBSDDB.py: Rename overridden methods.
	* src/GrampsDb/_GrampsDBDir.py: Rename overridden methods.



svn: r8671
2007-06-26 06:02:17 +00:00
Alex Roitman
37ee59aff7 Remove debugging output
svn: r8666
2007-06-25 16:12:24 +00:00
Alex Roitman
47bd113d2d 2007-06-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (commit_base): Rename method.
	* src/GrampsDb/_GrampsDbBase.py: Rename __commit_base into commit
	base: caused problems with python2.4 scoping.



svn: r8665
2007-06-25 16:10:10 +00:00
Don Allingham
dfa46b7af4 2007-06-20 Don Allingham <don@gramps-project.org>
* src/DbManager.py: Catch the icons properly
	* src/GrampsDb/_GrampsDBDir.py: catch error on lock file deletion



svn: r8617
2007-06-21 04:55:26 +00:00
Don Allingham
3ec91e149b * src/GrampsDb/_GrampsDBDir.py: revision control check in
* 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
2007-06-19 03:59:10 +00:00
Don Allingham
b5ce4a2c59 2007-06-18 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py: support lock file
	* src/DbManager.py: display locked file message



svn: r8584
2007-06-18 19:33:52 +00:00
Don Allingham
7da9ba3e6a * src/GrampsDb/_GrampsDbBase.py: fix typo
* 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
2007-06-17 00:57:21 +00:00
Alex Roitman
012374cff5 2007-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (open_undodb): Override the base
	method by using undo.db inside the data directory.



svn: r8549
2007-06-14 04:36: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
2615728437 2007-06-03 Don Allingham <don@gramps-project.org>
* src/Simple/__init__.py: add



svn: r8531
2007-06-04 02:49:31 +00:00
Zsolt Foldvari
a7083cf69c * src/GrampsDb/_DbUtils.py (db_copy): include missing Note table;
handling Note bookmarks.
	* src/GrampsDb/_GrampsDbWriteXML.py:
	* src/GrampsDb/_GrampsDBDir.py:
	* src/GrampsDb/_GrampsBSDDB.py:
	* src/Bookmarks.py:
	* src/GrampsDbUtils/_ReadXML.py:
	Handling Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8328
2007-03-27 21:47:18 +00:00
Don Allingham
d20b4833f9 2007-03-24 Don Allingham <don@gramps-project.org>
* 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
2007-03-25 02:25:37 +00:00