An error occurred fetching the project authors.
  1. 10 Sep, 2004 1 commit
  2. 26 Aug, 2004 1 commit
    • Tim Peters's avatar
      Merge rev 27279 from 3.3 branch. · 7f5c6b9d
      Tim Peters authored
      Transaction.begin() didn't do anything.
      
      begin() is supposed to abort the current transaction, but
      Transaction.begin() did not.  Calling begin() on a transaction
      *manager* worked fine, and is the intended way to do a begin()
      in 3.3.  But calling begin() on a Transaction object is still
      very easy to do (e.g., the older get_transaction().begin()
      spelling still works), and shouldn't be a subtle disaster.
      7f5c6b9d
  3. 12 Aug, 2004 1 commit
    • Tim Peters's avatar
      Merge/port assorted ZODB changes checked into Zope3's ZODB copy. · 312632fa
      Tim Peters authored
      Please don't do that:  ZODB changes need to be done in the ZODB
      project.  Checkins to Zope3 have no effect on ZODB in reality.
      
      This includes:
      
      r26945 | jim | 2004-08-06 18:30:44 -0400 (Fri, 06 Aug 2004) | 6 lines
         M /Zope3/trunk/src/persistent/tests/test_persistent.py
      
      Updated to work with the versions of doctest from Python with versions
        greater than or equal to 2.3.0 and less than 2.4.0.a2 and with
        versions greater than 2.4.0a2.
      
      r26482 | srichter | 2004-07-13 13:07:03 -0400 (Tue, 13 Jul 2004) | 2 lines
         M /Zope3/trunk/src/transaction/__init__.py
         M /Zope3/trunk/src/transaction/_transaction.py
         M /Zope3/trunk/src/transaction/tests/test_transaction.py
      
      Converted XXX to TODO.
      
      r25953 | sidnei | 2004-06-23 13:14:20 -0400 (Wed, 23 Jun 2004) | 1 line
         M /Zope3/trunk/src/ZODB/interfaces.py
         M /Zope3/trunk/src/transaction/_transaction.py
      
      Add missing sortKey method to ZopeDBTransactionManager and DataManagerAdapter,
      and also add it to the interface.
      
      r25273 | philikon | 2004-06-06 04:43:57 -0400 (Sun, 06 Jun 2004) | 4 lines
      Changed paths:
         M /Zope3/trunk/src/BTrees
         M /Zope3/trunk/src/ZODB
         M /Zope3/trunk/src/persistent
      
      Ignore .so files.
      
      This fix should probably be merged to the original ZODB tree.
      312632fa
  4. 02 Jun, 2004 1 commit
  5. 16 Apr, 2004 1 commit
    • Tim Peters's avatar
      Finally changed Connection to use the new transaction join API. This · 61db5159
      Tim Peters authored
      essentially means a connection keep track of which objects from
      the connection are modified, instead of transactions keeping track of that.
      A good consequence hasn't yet been implemented:  if a connection is
      closed with modifications still pending, we can detect that efficiently
      now, and complain.
      61db5159
  6. 14 Apr, 2004 1 commit
    • Jeremy Hylton's avatar
      Add automatic synchronization for Connection objects. · 81e78f9d
      Jeremy Hylton authored
      This changes the behavior slightly for invalidations.  A Connection
      will receive invalidations even if it didn't have any modified objects
      in the transaction, e.g. db.undo() or a read-only transaction.  For
      this to work, it assumes that the thread that called db.open() is the
      thread that is going to use the connection.  If this isn't true, the
      synch argument to db.open() can be used to disable the new feature.
      81e78f9d
  7. 06 Apr, 2004 1 commit
    • Tim Peters's avatar
      _commitResources() and _cleanup(): When an exception occurs during · 5453f18b
      Tim Peters authored
      the former, remember it and raise it after calling _cleanup.  If
      abort_sub() or tpc_abort() in _cleanup() also raise exceptions, log
      them but don't propagate them.
      
      This stops stray output produced by tests testExceptionInTpcAbort and
      testExceptionInSubAbortSub.
      
      Grrrrr:  I haven't yet been able to figure out how to get logging to work
      in ZODB, so haven't yet been able to check that the new logging is
      reasonable.
      5453f18b
  8. 02 Apr, 2004 1 commit
  9. 01 Apr, 2004 1 commit
    • Jeremy Hylton's avatar
      Merge the jeremy-txn-branch to the head. · a54e7bb3
      Jeremy Hylton authored
      This branch introduces a new transaction API.  The key features are:
        - top-level functions in transaction -- get(), commit(), abort()
        - explicit transaction manager objects
        - Transaction objects are used for exactly one transaction
        - support for transaction synchronizers
      
      The changes here are still provisional, but we want to get them off an
      obscure branch and onto the head for further development.
      a54e7bb3