Commit Graph

7 Commits

Author SHA1 Message Date
Benny Malengier
b3beba53d8 Some bsddb changes
* allow to use bsddb3 as database via a config setting
  * set async write to disk to improve speed, eg import * 40


svn: r16446
2011-01-23 21:25:51 +00:00
Nick Hall
f748668c89 GEPS 011: Tagging - Converted to use new database table object
svn: r15921
2010-09-21 17:52:37 +00:00
Gerald Britton
cd8ded4b37 Updates to undo/redo logic:
1. Replace single transaction list with separate undo/redo deques
2. Update UndoHistory GUI to work with new queue setup
3. Add test to txn.py for empty transaction list


svn: r15427
2010-05-20 18:32:08 +00:00
Gerald Britton
a4b22193c2 Use defaultdict instead of dict to simplify code and improve performance
svn: r14060
2010-01-13 15:46:12 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Gerald Britton
c8f7bf0c69 Add new modules to support restructured database objects
bsddbtxn.py -- Wrapper for BSDDB DBTxn to support context manager protocol
    txn.py      -- GrampsDbTxn class to manage atomic transactions
    write.py    -- GrampsDbWrite class for read/write databases
    read.py     -- GrampsDbRead class for read-only databases
    undoredo.py -- GrampsDbUndo class to manage the undo database
    upgrade.py  -- Helper module for upgrading a database at open time


svn: r13078
2009-08-19 17:05:39 +00:00