2006-12-21 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_GrampsXMLDB.py: fix bookmarks
	* TODO: update



svn: r7834
This commit is contained in:
Don Allingham 2006-12-21 19:11:44 +00:00
parent ce9effa6fe
commit e7b9763573
3 changed files with 42 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2006-12-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsXMLDB.py: fix bookmarks
* TODO: update
2006-12-21 Stefan Bjork <betula@users.sourceforge.net> 2006-12-21 Stefan Bjork <betula@users.sourceforge.net>
* src/plugins/DetAncestralReport.py, * src/plugins/DetAncestralReport.py,
* src/plugins/DetDescendantReport.py: Add dot (".") after event * src/plugins/DetDescendantReport.py: Add dot (".") after event

48
TODO
View File

@ -1,21 +1,43 @@
* Replace the LPRDoc interface (based on gnome-print) with a GTK based
print routine. This would remove one of the last gnome-specific
libraries, and make portability better. Even more important, the
gnome-print interface has been deprecated by the GNOME project, so it
will not be around forever. We need to adapt to the new GTK method.
* Add support for formatted notes. We have a start by ripping off code
from GPL code from grecipe-manager.
* Allow for multiple notes. A tabbed interface would be really useful, * Allow for multiple notes. A tabbed interface would be really useful,
since there are no titles for notes. Not all objects would necessarily since there are no titles for notes. Not all objects would
need multiple notes. Determine which ones should and shouldn't. necessarily need multiple notes. Determine which ones should and
* Date calculator. shouldn't.
See http://sourceforge.net/mailarchive/forum.php?thread_id=3252078&forum_id=1993
* Adapt the kiwi-entry widget from the Kiwi project so that GRAMPS can
use it. It looks like it can be broken out from the core of the
Kiwi project. This would give us filtered input, icons in the entry,
and shading of the box. All of which would be good to help restrict
input to valid input.
* Date calculator. See
http://sourceforge.net/mailarchive/forum.php?thread_id=3252078&forum_id=1993
* Add string substitutions for web page generation (name, report name, * Add string substitutions for web page generation (name, report name,
date, etc). date, etc).
* Add support for sources of the parent/child relation * Add support for sources of the parent/child relation
* Add support for storing reliability (confidence) of the marriage information;
see http://sourceforge.net/mailarchive/forum.php?thread_id=3066997&forum_id=1993 * Add support for storing reliability (confidence) of the marriage
and http://sourceforge.net/mailarchive/forum.php?thread_id=3134931&forum_id=1993 information; see
http://sourceforge.net/mailarchive/forum.php?thread_id=3066997&forum_id=1993
and
http://sourceforge.net/mailarchive/forum.php?thread_id=3134931&forum_id=1993
for the details. for the details.
* Add autofill feature for City, Church parish, County, State and Country?
* Move LDS temple info out of const.py and into an XML file * Move LDS temple info out of const.py and into an XML file
* Enhanced web page generator
* Make the descendant graph adapt to the page size, not stuck with the current * Make the descendant graph adapt to the page size, not stuck with the
3 entries per page. current 3 entries per page.
* Add slideshow generation ability to web page generator * Add slideshow generation ability to web page generator
* Add parameter definition of Filter Rules to the filter itself, so it can be
removed from the filter editor and used by PeopleView.
* And a whole lot more.... * And a whole lot more....

View File

@ -44,6 +44,7 @@ class GrampsXMLDB(GrampsInMemDB):
def __init__(self, use_txn = True): def __init__(self, use_txn = True):
"""creates a new GrampsDB""" """creates a new GrampsDB"""
GrampsInMemDB.__init__(self) GrampsInMemDB.__init__(self)
self.bookmarks = GrampsDbBookmarks()
def load(self, name, callback, mode="w"): def load(self, name, callback, mode="w"):
@ -57,9 +58,7 @@ class GrampsXMLDB(GrampsInMemDB):
except OSError, IOError: except OSError, IOError:
return 1 return 1
self.bookmarks = self.metadata.get('bookmarks') self.bookmarks.set(self.metadata.get('bookmarks',[]))
if self.bookmarks == None:
self.bookmarks = []
self.db_is_open = True self.db_is_open = True
return 1 return 1
@ -67,9 +66,7 @@ class GrampsXMLDB(GrampsInMemDB):
self.id_trans = {} self.id_trans = {}
db_copy(other_database,self,callback) db_copy(other_database,self,callback)
GrampsInMemDB.load(self,filename,callback) GrampsInMemDB.load(self,filename,callback)
self.bookmarks = self.metadata.get('bookmarks') self.bookmarks.set(self.metadata.get('bookmarks',[]))
if self.bookmarks == None:
self.bookmarks = []
self.db_is_open = True self.db_is_open = True
quick_write(self,self.full_name,callback) quick_write(self,self.full_name,callback)
return 1 return 1