1. 18 May, 2010 8 commits
    • Jim Fulton's avatar
      Use doctest rather than zope.testing.doctest. · 1f4c78b7
      Jim Fulton authored
      This required using manuel to get the footnote
      feature. Unfortunately, manuel imports zope.testing.doctest. :)
      Hpefully, this will be fixed soon.
      
      Updated the testhistoricalconnections.py tearDown to clear conflict
      resolution class cache. The cache was causing tests to fail when tests
      were run multiple times.
      1f4c78b7
    • Jim Fulton's avatar
      Use doctest rather than zope.testing.doctest. · 539a20f6
      Jim Fulton authored
      539a20f6
    • Jim Fulton's avatar
      Add future import so tests using with will work w Python 2.5. · 6d06232b
      Jim Fulton authored
      (Also use standard doctest.)
      6d06232b
    • Jim Fulton's avatar
      - Added support for wrapper storages that transform pickle data. · e4b88ec2
      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.
      e4b88ec2
    • Jim Fulton's avatar
      Added support for wrapper storages that transform pickle data. (I · b686609b
      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.
      b686609b
    • Jim Fulton's avatar
      Removed a print statement. Getting class meta data from a pickle · 2c4506a2
      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.
      2c4506a2
    • Jim Fulton's avatar
      Deprecated ZODB.interfaces.StorageStopIteration. Storage · 2509cc6d
      Jim Fulton authored
      iterator implementations should just raise StopIteration, which
      means they can now be implemented as generators.
      2509cc6d
    • Jim Fulton's avatar
      removed trailing whitespace. · 047c5946
      Jim Fulton authored
      047c5946
  2. 17 May, 2010 3 commits
    • Jim Fulton's avatar
      New Feature: · c91d06fe
      Jim Fulton authored
        The filestorage packer configuration option noe accepts calues of
        the form ``modname:expression``, allowing the use of packer
        factories with options.
      c91d06fe
    • Jim Fulton's avatar
      New Feature: · 0632ffa6
      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.)
      0632ffa6
    • Jim Fulton's avatar
      Added a small optimization to avoid unnecessary imports that were · f19d7a0c
      Jim Fulton authored
      sucking up a lot of time, as shown in some profile output.
      f19d7a0c
  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 13 commits