1. 18 May, 2010 7 commits
    • Jim Fulton's avatar
      Use doctest rather than zope.testing.doctest. · 3ea253ad
      Jim Fulton authored
      3ea253ad
    • Jim Fulton's avatar
      Add future import so tests using with will work w Python 2.5. · fad58f34
      Jim Fulton authored
      (Also use standard doctest.)
      fad58f34
    • Jim Fulton's avatar
      - Added support for wrapper storages that transform pickle data. · 077c0eaa
      Jim Fulton authored
        Applications for this include compression and encryption.  An
        example wrapper storage implementation, ZODB.tests.hexstorage, was
        included for testing.
      
      It is important that storage implementations not assume that
        storages contain pickles.  Renamed IStorageDB to IStorageWrapper and
        expanded it to provide methods for transforming and untransforming
        data records.  Storages implementations should use these methods to
        get pickle data from stored records.
      
      - Deprecated ZODB.interfaces.StorageStopIteration.  Storage
        iterator implementations should just raise StopIteration, which
        means they can now be implemented as generators.
      077c0eaa
    • Jim Fulton's avatar
      Added support for wrapper storages that transform pickle data. (I · 964303ab
      Jim Fulton authored
      thought this support already existed, but found out I was wrong when I
      tried to make it work. :/) Applications for this include compression
      and encryption.  An example wrapper storage implementation,
      ZODB.tests.hexstorage, was included for testing.
      
      It is important that storage implementations not assume that
      storages contain pickles.  Renamed IStorageDB to IStorageWrapper and
      expanded it to provide methods for transforming and untransforming
      data records.  Storages implementations should use these methods to
      get pickle data from stored records.
      964303ab
    • Jim Fulton's avatar
      Removed a print statement. Getting class meta data from a pickle · 6ee0e254
      Jim Fulton authored
      can fail if the pickle has been transformed and a calling storage
      doesn't account for that.  Printing is certainly not the right way to
      deal with the problem.
      
      Also cleaned up some whitespace.
      6ee0e254
    • Jim Fulton's avatar
      Deprecated ZODB.interfaces.StorageStopIteration. Storage · 5da866f4
      Jim Fulton authored
      iterator implementations should just raise StopIteration, which
      means they can now be implemented as generators.
      5da866f4
    • Jim Fulton's avatar
      removed trailing whitespace. · e6679a5e
      Jim Fulton authored
      e6679a5e
  2. 17 May, 2010 3 commits
    • Jim Fulton's avatar
      New Feature: · 308a53f9
      Jim Fulton authored
        The filestorage packer configuration option noe accepts calues of
        the form ``modname:expression``, allowing the use of packer
        factories with options.
      308a53f9
    • Jim Fulton's avatar
      New Feature: · 386750b2
      Jim Fulton authored
        The file-storage backup script, repoze, will now create a backup
        index file if an output file name is given via the --output/-o
        option.
      
      (Merged the tseaver-repozo_index branch.)
      386750b2
    • Jim Fulton's avatar
      Added a small optimization to avoid unnecessary imports that were · 425e35a4
      Jim Fulton authored
      sucking up a lot of time, as shown in some profile output.
      425e35a4
  3. 14 May, 2010 3 commits
  4. 13 May, 2010 10 commits
  5. 07 May, 2010 2 commits
  6. 06 May, 2010 1 commit
  7. 04 May, 2010 14 commits