1. 18 Sep, 2002 1 commit
  2. 17 Sep, 2002 26 commits
  3. 16 Sep, 2002 8 commits
  4. 15 Sep, 2002 1 commit
    • Guido van Rossum's avatar
      Fix argument passing to the storage factory in winserver. · 207efabe
      Guido van Rossum authored
      This code used to assume that all arguments were strings.
      It was always wrong (create was passed as '0' or '1' rather
      than as 0 or 1) but this was somehow masked.  When I added
      readonly, things broke.  The solution is that winserver.py
      ha a convention that an argument starting with '=' is
      evaluated as an expression, and _startserver in testZEO's
      WindowsConnectionText uses this for the create and readonly
      args.
      207efabe
  5. 14 Sep, 2002 1 commit
  6. 13 Sep, 2002 3 commits
    • Guido van Rossum's avatar
      Import Disconnected from the correct module. · 8b3a867c
      Guido van Rossum authored
      Add a LOG call to ConnectionTests.setUp().
      
      Add tests for the ClientStorage read_only and read_only_fallback
      features.  Note that the latter feature is not completely working yet;
      the reconnect feature doesn't work, so it's of questionable value for
      now (though it *does* connect to a read-only storage whe no read-write
      storage is available).
      8b3a867c
    • Guido van Rossum's avatar
      Major refactoring of the ConnectThread, to support the · 660a7b1e
      Guido van Rossum authored
      read_only_fallback option of ClientStorage.
      
      Unfortunately, this still doesn't work completely; as shown by some
      disabled tests that I'll check in shortly, the reconnect feature is
      still broken.  But it's weekend time, and I need a checkpoint to keep
      my own sanity.
      660a7b1e
    • Guido van Rossum's avatar
      I don't like subsystem or label names with spaces in them. Instead of · 703cf4f3
      Guido van Rossum authored
      "ClientStorage <pid>", use "ClientStorage:<pid>".
      
      Also log a message when a ClientStorage instance is created, showing
      the pid, the read_only and read_only_fallback parameters, and the
      storage name.
      
      Also log some more things: the retry of the register() call with
      read_only=1, the notifyConnected call,
      
      Also clean up a few comments and docstrings, removing one XXX that
      seems out of date.
      
      Also change the _tpc_cond.wait() method call into a wait(30).  That
      way it is interruptable.
      703cf4f3