Commit Graph

5 Commits

Author SHA1 Message Date
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