1. 04 Apr, 2003 1 commit
    • Richard Jones's avatar
      I've fixed the various scripts etc. in the CVS so that I can now install a ZEO... · 9b5a2a88
      Richard Jones authored
      I've fixed the various scripts etc. in the CVS so that I can now install a ZEO client/server setup. The way it actually ended up working is:
      
      - runzope.py and zopectl.py are moved to Zope/Startup/run.py and Zope/zdaemon/zopectl.py respectively
      - bin/mkzopeinstance now takes a "-z/--zeo host:port" which sets up a custom_zodb.py in the new zope instance home
      - bin/mkzeoinstance now overrides less, because...
      - ZEO/mkzeoinst.py generates an additional script, runzeo, which is the "runner" for the ZEO server. Both it an the zeoctl script need to know about the ZOPE_HOME, so that's been added to the scripts (via the params)
      - fixed setup.py so it installed ZEO/schema.xml
      
      9b5a2a88
  2. 03 Apr, 2003 1 commit
    • Richard Jones's avatar
      Make ZEO instances that actually work: · c9154033
      Richard Jones authored
       - the scripts won't be in the user's $PATH, so override that lookup
         in from mkzeoinst.py in the mkzeoinstance script
       - the scripts won't be executable, so prepend commands with $python
      c9154033
  3. 02 Apr, 2003 1 commit
    • Jeremy Hylton's avatar
      Restore cache behavior for unreferenced by recently used objects. · 41dc25c3
      Jeremy Hylton authored
      The implementation is to make the reference in the cache "ring" a new
      reference rather than a borrowed reference.  It is the intent of the
      cache to keep N recently used objects in memory, regardless of whether
      they are currently referenced.  The goal is to avoid the cost of
      recreating the objects, based on the assumption that they are likely
      to be used again soon.
      41dc25c3
  4. 01 Apr, 2003 11 commits
  5. 31 Mar, 2003 2 commits
    • Jeremy Hylton's avatar
      91179e57
    • Jeremy Hylton's avatar
      Fix several ref count bugs. · de5d6448
      Jeremy Hylton authored
      Remove object_from_oid() which appeared to be mis-used about half the
      time.  Instead use std PyDict_GetItem() and incref only when
      necessary.
      
      Make sure an object's reference to its cache is decref'd when the
      object is deallocated.  This change seems to eliminate leaking pickle
      caches.
      
      Remaining mystery: Why do objects stay in the cache even when there
      are no references to them?
      de5d6448
  6. 26 Mar, 2003 1 commit
  7. 25 Mar, 2003 2 commits
  8. 24 Mar, 2003 7 commits
  9. 21 Mar, 2003 1 commit
  10. 20 Mar, 2003 1 commit
    • Jeremy Hylton's avatar
      Change prepare() signature in IDataManager. · 626e22d6
      Jeremy Hylton authored
      The manager should raise an exception in its prepare() method rather
      than returning a boolean to indicate failure.  Rationale: The txn
      manager can't raise a reasonable exception, because it doesn't know
      what the data manager couldn't prepare.
      626e22d6
  11. 17 Mar, 2003 10 commits
  12. 16 Mar, 2003 1 commit
  13. 13 Mar, 2003 1 commit