1. 20 Dec, 2002 5 commits
    • Guido van Rossum's avatar
      We saw a weird crash of a test run once in _update_cache() where · 4a1f099f
      Guido van Rossum authored
      self._tbuf was unexpectedly None.  The only way this can happen is
      when the storage is closed (probably by a different thread); close()
      sets _tbuf to None.  It turns out that a TransactionBuffer instance
      can safely be closed more than once, so there's no need to set _tbuf
      to None in the close() method.
      4a1f099f
    • Fred Drake's avatar
      Add a note about where to look for information on the mkhowto program; · 70a17a06
      Fred Drake authored
      recent confusion would have been avoided had the instructions been
      followed.
      70a17a06
    • Matt Behrens's avatar
      ebe41d36
    • Stephan Richter's avatar
      Refactoring and fixing VFS and FTP · 455b1544
      Stephan Richter authored
      I am glad to make this commit that fixes up a lot of the FTP
      implementation. I fixed the behavior of many of the FTP commands,
      including LIST, SIZE, and CWD.
      
      I moved the original VFSFile/DirectoryView into abstract classes and wrote
      a special implementation for each content type, which makes the code much
      more flexible.
      
      Also I finally implemented a smart way of adding files via VFS through
      file extension introspection, based on Jim's ExtensionViewName proposal.
      
      I am adding documentation in the DevelCookbook right now and will later
      add a README file.
      
      TODOs:
      
      - make VFS View names flexible, so that file extensions specify views.
      
      - Simplify ZCML directives, so that one can add new extensions for Add views
        quicker. A solution might look like that:
      
            <vfs:view
                name=".dtml"
                for="Zope.App.OFS.Container.IAdding."
                factory=".DTMLPageAdd."
                permission="Zope.ManageContent">
              <vfs:extension name=".html" />
              <vfs:extension name=".xul" />
              <vfs:extension name=".xml" />
              ...
            </vfs:view>
      
        This method would also be good for defining a default fiel extension.
      
      - Show an object with its default file extension.
      455b1544
    • Barry Warsaw's avatar
      e2d477c7
  2. 19 Dec, 2002 1 commit
  3. 18 Dec, 2002 1 commit
  4. 17 Dec, 2002 3 commits
  5. 16 Dec, 2002 3 commits
  6. 13 Dec, 2002 18 commits
  7. 12 Dec, 2002 9 commits