1. 09 Jun, 2005 1 commit
  2. 06 Jun, 2005 4 commits
  3. 03 Jun, 2005 1 commit
  4. 02 Jun, 2005 4 commits
  5. 31 May, 2005 2 commits
  6. 27 May, 2005 3 commits
  7. 26 May, 2005 1 commit
    • Tim Peters's avatar
      Merge rev 30518 from 3.4 branch. · 61f10100
      Tim Peters authored
      Change test.py to use zope.testing.testrunner, and update the
      latter to Jim's development version.  Hardest part turned out
      to be teaching ZODB's setup.py how to "build" this version of
      zope.testing (it has a lot of packages in a test directory,
      where the latter is not itself a package).
      
      Incidentally repaired an oversight in building zope.interface
      too.
      61f10100
  8. 20 May, 2005 3 commits
    • Tim Peters's avatar
      Merge 3.4b1 news. · 858c408a
      Tim Peters authored
      858c408a
    • Tim Peters's avatar
      Merge rev 30439 from 3.4 branch. · 4cc10aed
      Tim Peters authored
      Missed a socket address change.
      4cc10aed
    • Tim Peters's avatar
      Merge rev 30437 from 3.4 branch. · 453f2028
      Tim Peters authored
      Use ZConfig's new socket address types appropriately.
      
      These config file keys changed:
      
      section    key              was             is
      -------    ---------------  --------------  -------------------------
      zeo        address          socket-address  socket-binding-address
      zeo        monitor-address  socket-address  socket-binding-address
      zeoclient  server           socket-address  socket-connection-address
      453f2028
  9. 19 May, 2005 3 commits
  10. 18 May, 2005 1 commit
  11. 13 May, 2005 1 commit
  12. 12 May, 2005 3 commits
    • Tim Peters's avatar
      Merge rev 30344 from 3.4 branch. · e5dd8a3a
      Tim Peters authored
      checkUndoInVersion():  Add an optional `hook` argument.
      
      This gets called "in the middle" of the test, if specified.
      ZRS 1.5 uses this to pass a callback that arranges to start a
      ZRS secondary then.  ZRS had its own copy of this test, but
      it's a miserable & messy test, and the copy it had failed in
      5 different places when using ZODB 3.4 (it had gotten way of
      synch with changes since ZODB 3.2).
      
      Also removed all traces of the bizarre _x_dostore() method.
      Not sure what that was about, but if the comments were right
      we don't care about ZEO 1.0 anymore.
      e5dd8a3a
    • Tim Peters's avatar
      Merge rev 30339 from 3.4 branch. · 2bf2150c
      Tim Peters authored
      ZEO/tests/zeoserver.py, log():  repair broken interface
      between old logging code and the use of Python's logging
      package.
      
      ZODB/tests/TransactionalUndoStorage.py, _exercise_info_indices():
      Jeez Louise, the new tests I added for undoInfo+undoLog work fine
      in ZODB, but break the ZRS tests(!).  They close the DB "too soon",
      and in one of the ZRS scenarios that leaves a recovering secondary
      without a primary to recover from.
      2bf2150c
    • Tim Peters's avatar
      Merge rev 30334 from 3.4 branch. · cc491b3e
      Tim Peters authored
      undoInfo() and undoLog() almost always returned wrong # of results.
      
      Repaired, + new tests.
      cc491b3e
  13. 11 May, 2005 3 commits
  14. 09 May, 2005 2 commits
  15. 06 May, 2005 6 commits
    • Tim Peters's avatar
      Merge rev 30291 from 3.4 branch. · 1cc5d8c1
      Tim Peters authored
      __call__() got broken about a year ago.
      
      There are no tests for this.
      1cc5d8c1
    • Tim Peters's avatar
      Merge rev 30284 from 3.4 branch. · 7be303d2
      Tim Peters authored
      Fixed some incorrect comments.
      7be303d2
    • Tim Peters's avatar
      Merge rev 30279 from 3.4 branch. · 29171512
      Tim Peters authored
      Fix obscure bug.
      
      If a threaded transaction manager ever passed None to
      the Transaction constructor's `synchronizers` argument, then
      synchronizers registered later in the same transaction
      were invisible to the transaction, and so their afterCompletion()
      methods wouldn't get called when the transaction ended.
      29171512
    • Tim Peters's avatar
      Merge rev 30262 from 3.4 branch. · 85f3ed4a
      Tim Peters authored
      `synchs` can be None -- deal with it.  Reported by Gary Poster.
      85f3ed4a
    • Tim Peters's avatar
      Merge 3.4a6 news. · 46951531
      Tim Peters authored
      46951531
    • Tim Peters's avatar
      Merge rev 30255 from 3.4 branch. · 70cdbf06
      Tim Peters authored
      ISynchronizer grows a newTransaction() method, called
      whenever TransactionManager.begin() is called.
      
      Connection implements that, and changes its ISynchronizer
      afterCompletion() method, to call sync() on its storage
      (if the storage has such a method), and to process
      invalidations in any case.
      
      The bottom line is that storage sync() will get done "by
      magic" now after top-level commit() and abort(), and after
      explicit TransactionManager.begin().  This should make it
      possible to deprecate Connection.sync(), although I'm not
      doing that yet.  Made a small but meaningful start by
      purging many sync() calls from some of the nastiest ZEO
      tests -- and they still work fine.
      70cdbf06
  16. 03 May, 2005 1 commit
    • Tim Peters's avatar
      Merge rev 30235 from 3.4 branch. · 44099d9f
      Tim Peters authored
      Partial savepoint review.
      
      Added more comments.  Changed some comments to English.
      Renamed some attributes and methods for clarity.
      Switched to using a Python WeakKeyDictionary instead of
      rolling our own out of a Python dict and raw weakrefs.
      44099d9f
  17. 02 May, 2005 1 commit
    • Tim Peters's avatar
      Merge rev 30231 from 3.4 branch. · e56a17ed
      Tim Peters authored
      Port from ZODB 3.2.
      
      Added new test checkSubtxnCommitDoesntGetInvalidations to
      verify that a longstanding bug in subtransaction commit is
      repaired.
      
      Jim (Fulton) discovered this in ZODB 3.4's code, while implementing
      savepoint/rollback.  Same bugs had been there at least since ZODB 3.1.
      
      Also added news about the bug.
      e56a17ed