1. 20 Mar, 2001 11 commits
  2. 19 Mar, 2001 6 commits
  3. 17 Mar, 2001 12 commits
  4. 16 Mar, 2001 11 commits
    • Barry Warsaw's avatar
      test_commit.py -> test_minimal.py · 1223f49f
      Barry Warsaw authored
      1223f49f
    • Barry Warsaw's avatar
      39855149
    • Barry Warsaw's avatar
    • Barry Warsaw's avatar
    • Barry Warsaw's avatar
      Essentially, this is a rewrite of the Berkeley versionless, undoless · 47622ceb
      Barry Warsaw authored
      storage.  Some of the internal operations have changed, coding style
      is a bit less compact.  Other substantive changes include:
      
      - The implementation now uses the CommitLog.PacklessLog temporary
        transaction log class.  This avoids the problem with tempfiles being
        unlinked as soon as they are created (and then lost if the process
        exits abnormally).
      
      - Minimal is now derived from BerkeleyBase instead of Base.
      
      - Some updates to use the latest PyBSDDB API, e.g. get() instead of
        has_key().
      
      - The table names have changed to 'serials' and 'pickles'.
      
      - tpc_vote() is now supported.  BerkeleyBase.tpc_vote() calls
        Minimal._vote() and this is where the commit log is placed into the
        promised state.
      
      - The semantics are now that when the transaction successfully
        commits, the commit log file is deleted.  This may need to be
        changed to either a truncation-on-close, or scribble-zero-in-header
        approach for performance reasons.
      47622ceb
    • Barry Warsaw's avatar
      BerkeleyBase.py -- contains a rewritten base class for both the Full · 1f28c122
      Barry Warsaw authored
      and Minimal Berkeley storages.  It derives from
      ZODB.BaseStorage.BaseStorage and supports the tpc_vote() method
      wrapper calling _vote() on the derived class.
      
      CommitLog.py -- contains the temporary transaction commit log file
      classes used to hold transaction changes until they can be committed
      to Berkeley.
      1f28c122
    • Barry Warsaw's avatar
      PyUnit tests for BSDDB storage. · 73e8930f
      Barry Warsaw authored
      test_commitlog.py tests creation, deletion, state transitions,
      low-level and high-level APIs of the CommitLog and derived classes.
      
      test_create.py tests creation of the Berkeley files when a storage is
      created.
      
      test_virgin.py tests that a newly minted Berkeley storage is empty,
      and tests the first commits to such a new storage.
      73e8930f
    • Barry Warsaw's avatar
      0cc6d351
    • Fred Drake's avatar
      · a86fd01a
      Fred Drake authored
      Correct an error in the output relating to implicit closure of <dt>
      elements.
      a86fd01a
    • Fred Drake's avatar
      · 7ce1e3d6
      Fred Drake authored
      Revert an accidental re-indenting of a line that occurred in revision 1.8
      that introduced a bug in the implicit closing of list- and table-related
      elements.
      7ce1e3d6
    • Fred Drake's avatar
      · 9a27d058
      Fred Drake authored
      Move all the test input/output files around so the test/ directory is
      available for Zope-style regression tests; these will appear later.
      9a27d058