1. 16 Jun, 2005 6 commits
    • Tim Peters's avatar
      Merge rev 30818 from 3.4 branch. · 7614cce3
      Tim Peters authored
      Remove needless "cleanup" code -- Transaction does not have
      a __del__ method (but probably did at some earlier time).
      7614cce3
    • Jim Fulton's avatar
      Took __init__ out of IConnection for 2 reasons · 7ce4935d
      Jim Fulton authored
      1. Construction of Connections is an implementation detail.
         ZODB client code should never construct connections directly.
      
      2. __init__ is not a method of IConnection.  It might be a method of
         some sort of connection factory api, if we had one.
      7ce4935d
    • Jim Fulton's avatar
      Greatly simplified the internal dance to create, open, and close · 318f92e8
      Jim Fulton authored
      connections.   Connections now get their database and related data
      when they are constructed.  They no longer throw away this information
      when they are closed.  (The old design that threw away the database
      and related data did so to avoid memory leaks in Python 1.)
      
      Fixed a multi-database connection-management bug. (The fix
      necessitated the simplification.)
      318f92e8
    • Jim Fulton's avatar
      Because of the, um, automatic way that objects are added to databases · 8fcb1362
      Jim Fulton authored
      by virtue of being reachable from objects in databases, there is
      a danger of ambiguity when an object is reachable from multiple
      databases.  This ambiguity can lead to very subtle bugs with the
      symtom that objects are in unexpected databases.
      
      Introduced a check to refuse to commit when the ambiguity exists.
      
      (This required changing the connection '_creating' attribute to a
      dictionary.)
      8fcb1362
    • Jim Fulton's avatar
      Fixed the basic tests to open the second db correctly. · 00eb5e1d
      Jim Fulton authored
      Secondary connections always need to be made from an existing
      connection.
      
      Added check to make sure we don't get references across incompatible
      connections.
      00eb5e1d
    • Jim Fulton's avatar
      Fixed a bug in basic multi-database support. get_connection needs to · f16ffbd0
      Jim Fulton authored
      pass optional open arguments to secondary databases.
      f16ffbd0
  2. 15 Jun, 2005 1 commit
  3. 14 Jun, 2005 1 commit
  4. 10 Jun, 2005 2 commits
  5. 09 Jun, 2005 8 commits
  6. 06 Jun, 2005 4 commits
  7. 03 Jun, 2005 1 commit
  8. 02 Jun, 2005 4 commits
  9. 31 May, 2005 2 commits
  10. 27 May, 2005 3 commits
  11. 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
  12. 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
  13. 19 May, 2005 3 commits
  14. 18 May, 2005 1 commit