1. 26 Jul, 2000 1 commit
  2. 12 Jul, 2000 1 commit
  3. 10 Jul, 2000 2 commits
  4. 07 Jul, 2000 6 commits
    • Jim Fulton's avatar
      *** empty log message *** · 2edd45cc
      Jim Fulton authored
      2edd45cc
    • Jim Fulton's avatar
      The (commit) invalidate method incorrectly sent messages that are part · 7781d937
      Jim Fulton authored
      of the startup invalidation protocol.
      7781d937
    • Jim Fulton's avatar
    • Jim Fulton's avatar
      Changed the way that the storage is closed. Our close method may be · d2b62143
      Jim Fulton authored
      called from a separate thread than the async main loop. We only want
      the async main loop to close our _call (rpc) object. Instead of
      closing it directly, we call closeIntensionally(), which, in return,
      requests that the async main loop closes it, via the select trigger.
      d2b62143
    • Jim Fulton's avatar
      Added a separate call to check the cache size so that we only check · 3798d197
      Jim Fulton authored
      when a transaction is about to be written. It would be bad if we
      "flipped" the cache twice during a transaction, as we would have
      incomplete transaction data.  Note that this means that we could
      exceed the target cache size if the data for a transaction exceeded
      the target size (/2).
      
      Changed the way that the storage is closed. Our close method may be
      called from a separate thread than the async main loop. We only want
      the async main loop to close our _call (rpc) object. Instead of
      closing it directly, we call closeIntensionally(), which, in return,
      requests that the async main loop closes it, via the select trigger.
      3798d197
    • Jim Fulton's avatar
      Added some comments. · 13b77d9f
      Jim Fulton authored
      Added seek before write in invalidate method. Without this, strange
      things happen on NT and solaris. (I was probably breaking a rule of
      thumb that says never to do a write() right after a read() even though
      tell() would indicate I was in the right place.)
      
      Added logic to update the cache index on an invalidate.
      
      Added a separate call to check the cache size so that we only check
      when a transaction is about to be written. It would be bad if we
      "flipped" the cache twice during a transaction, as we would have
      incomplete transaction data.  Note that this means that we could
      exceed the target cache size if the data for a transaction exceeded
      the target size (/2).
      13b77d9f
  5. 06 Jul, 2000 1 commit
  6. 05 Jul, 2000 3 commits
  7. 01 Jul, 2000 7 commits
  8. 29 Jun, 2000 4 commits
  9. 27 Jun, 2000 1 commit
  10. 23 Jun, 2000 1 commit
  11. 20 Jun, 2000 1 commit
  12. 19 Jun, 2000 2 commits
  13. 12 Jun, 2000 1 commit
  14. 09 Jun, 2000 1 commit
  15. 05 Jun, 2000 1 commit
  16. 03 Jun, 2000 2 commits
  17. 02 Jun, 2000 1 commit
  18. 30 May, 2000 2 commits
    • Jim Fulton's avatar
      Fixed bug that could cause infinate loop when odd objects · b2f7343d
      Jim Fulton authored
      got registered. (Deja vu all over again. ;)
      
      Changed to commit objects in registration order and to allow
      additional objects to get registered while commiting. (The
      later was wanted by PJE.)
      
      Added a comment in commit to explain the "invariant".
      
      Fixed bug that caused objects to get multiply aborted.  Now always
      clear object registry on commit and abort. This seems like a good
      idea anyway. (We were relying on free_transaction to have the
      same effect. This faild miserably in single-threaded apps and
      in certain error conditions.
      
      Added a teeny optimization in get_transaction().
      b2f7343d
    • Jim Fulton's avatar
      Fixed missfeature pointed out by PJE. We do not quite provide · 6b082ac2
      Jim Fulton authored
      transparent Pythonic sematics for __setattr__ and __delattr__.
      If these methods are implemented, then they *must*::
      
        self._p_changed=1 # prefered
      
      or::
      
        self.__changed__(1) # if people get the heebe-jeebees from setting attrs
      
      to manually register that an object's persistent state has changed, if,
      in fact, it has.
      6b082ac2
  19. 28 May, 2000 2 commits