1. 16 Jun, 2005 6 commits
    • Tim Peters's avatar
      Merge rev 30818 from 3.4 branch. · 080b7db0
      Tim Peters authored
      Remove needless "cleanup" code -- Transaction does not have
      a __del__ method (but probably did at some earlier time).
      080b7db0
    • Jim Fulton's avatar
      Took __init__ out of IConnection for 2 reasons · 2600cd02
      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.
      2600cd02
    • Jim Fulton's avatar
      Greatly simplified the internal dance to create, open, and close · 9cc93561
      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.)
      9cc93561
    • Jim Fulton's avatar
      Because of the, um, automatic way that objects are added to databases · 2751ff22
      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.)
      2751ff22
    • Jim Fulton's avatar
      Fixed the basic tests to open the second db correctly. · a8a91c72
      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.
      a8a91c72
    • Jim Fulton's avatar
      Fixed a bug in basic multi-database support. get_connection needs to · 68ef2b04
      Jim Fulton authored
      pass optional open arguments to secondary databases.
      68ef2b04
  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. · 5c34be65
      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.
      5c34be65
  12. 20 May, 2005 3 commits
    • Tim Peters's avatar
      Merge 3.4b1 news. · 6d35ea52
      Tim Peters authored
      6d35ea52
    • Tim Peters's avatar
      Merge rev 30439 from 3.4 branch. · f78aac1b
      Tim Peters authored
      Missed a socket address change.
      f78aac1b
    • Tim Peters's avatar
      Merge rev 30437 from 3.4 branch. · 6d491ddb
      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
      6d491ddb
  13. 19 May, 2005 3 commits
  14. 18 May, 2005 1 commit