summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes an issue serving binary fileswillmcgugan@gmail.com2013-08-101-26/+26
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@862 67cdc799-7952-0410-af00-57a81ceafa0f
* Don't store methods as attributes.btimby2013-07-191-1/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@861 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixed issue in memoryfs.makedir where a path containing a forward slash at ↵willmcgugan@gmail.com2013-07-061-1/+1
| | | | | | the end would create a directory with an empty filename git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@860 67cdc799-7952-0410-af00-57a81ceafa0f
* doctest correctionwillmcgugan@gmail.com2013-06-281-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@859 67cdc799-7952-0410-af00-57a81ceafa0f
* simpler version of relativefromwillmcgugan@gmail.com2013-06-281-5/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@858 67cdc799-7952-0410-af00-57a81ceafa0f
* Added 'relativefrom' method to path.pywillmcgugan@gmail.com2013-06-283-2/+45
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@857 67cdc799-7952-0410-af00-57a81ceafa0f
* After testing, there is no unicode in six module. six.text_type represents ↵btimby2013-04-241-1/+2
| | | | | | unicode in py2 and str in py3. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@856 67cdc799-7952-0410-af00-57a81ceafa0f
* Pyftpdlib 1.x uses unicode, the provided path will already be unicode and ↵btimby2013-04-241-1/+7
| | | | | | | | | | thus does not require decoding. Detect if the provided path is unicode or not before attempting decoding. Use six.unicode to preserve compatibility with py3. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@855 67cdc799-7952-0410-af00-57a81ceafa0f
* Change of api (fs.open, fs.setcontent, fs.getcontents) to support io module ↵willmcgugan@gmail.com2013-03-3145-1333/+1705
| | | | | | in Py2.6+ and Py3 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@854 67cdc799-7952-0410-af00-57a81ceafa0f
* unicode test filewillmcgugan@gmail.com2013-03-251-0/+212
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@853 67cdc799-7952-0410-af00-57a81ceafa0f
* Data for Python 2 testswillmcgugan@gmail.com2013-03-250-0/+0
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@852 67cdc799-7952-0410-af00-57a81ceafa0f
* Experimental Python3 supportwillmcgugan@gmail.com2013-03-251-0/+142
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@851 67cdc799-7952-0410-af00-57a81ceafa0f
* r844 modified test_archivefs.py to not run the TestReadArchiveFS tests if ↵gcode@loowis.durge.org2013-03-181-0/+6
| | | | | | libarchve isn't available. This commit "completes" that change by adding the same test-skipping to TestWriteArchiveFS too. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@850 67cdc799-7952-0410-af00-57a81ceafa0f
* Tests for mountfilewillmcgugan@gmail.com2013-03-171-4/+46
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@849 67cdc799-7952-0410-af00-57a81ceafa0f
* Some minor fixes and doc changeswillmcgugan@gmail.com2013-03-171-16/+32
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@848 67cdc799-7952-0410-af00-57a81ceafa0f
* Partially fixes Issue 148gcode@loowis.durge.org2013-03-171-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@847 67cdc799-7952-0410-af00-57a81ceafa0f
* *sigh* typo, caught during testing.btimby2013-03-041-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@846 67cdc799-7952-0410-af00-57a81ceafa0f
* Don\'t double-close.btimby2013-03-041-2/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@845 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for xmlrpcwillmcgugan@gmail.com2013-02-106-168/+184
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@844 67cdc799-7952-0410-af00-57a81ceafa0f
* Change the way TempFS's _meta dict gets built so that it 'inherits' default ↵gcode@loowis.durge.org2012-12-232-18/+12
| | | | | | values from OSFS's _meta (eliminates duplicate code) git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@843 67cdc799-7952-0410-af00-57a81ceafa0f
* More accurate (and possibly more efficient) version of the ↵gcode@loowis.durge.org2012-12-221-3/+1
| | | | | | _requires_normalization regex git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@842 67cdc799-7952-0410-af00-57a81ceafa0f
* Made normpath('/.') and normpath('/..') behave more consistentlygcode@loowis.durge.org2012-12-222-2/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@841 67cdc799-7952-0410-af00-57a81ceafa0f
* Change test_invalid_chars to call the base version first (eliminates ↵gcode@loowis.durge.org2012-12-211-5/+1
| | | | | | duplicate code) git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@840 67cdc799-7952-0410-af00-57a81ceafa0f
* Whitespace fix.btimby2012-12-041-1/+39
| | | | | | | | | | unmount now closes the filesystem after unmounting it. Use 'r' in mode since mode might be 'rb'. Rename needs to handle renaming archives (don't redirect through an ArchiveFS). git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@839 67cdc799-7952-0410-af00-57a81ceafa0f
* Micro-optimization for normpath. I should probably leave that function alone ↵willmcgugan@gmail.com2012-12-031-7/+4
| | | | | | now. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@838 67cdc799-7952-0410-af00-57a81ceafa0f
* Implemented generic validatepath method and optimized normpathwillmcgugan@gmail.com2012-12-019-104/+173
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@837 67cdc799-7952-0410-af00-57a81ceafa0f
* Changed detection of Windows for invalid_path_chars stringwillmcgugan@gmail.com2012-11-291-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@836 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixed some encoding mismatch between pyftpdlib (uses str internally) and ↵btimby2012-11-281-2/+11
| | | | | | pyfs (uses unicode). git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@835 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for mountfs testswillmcgugan2012-11-281-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@834 67cdc799-7952-0410-af00-57a81ceafa0f
* fixwillmcgugan@gmail.com2012-11-281-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@833 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for invalid chars in path on win32willmcgugan@gmail.com2012-11-281-3/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@832 67cdc799-7952-0410-af00-57a81ceafa0f
* fixwillmcgugan@gmail.com2012-11-261-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@831 67cdc799-7952-0410-af00-57a81ceafa0f
* InvalidCharsInPathErrorwillmcgugan@gmail.com2012-11-244-14/+27
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@830 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixes for backslashes on Linux issue, see Issue #139willmcgugan@gmail.com2012-11-245-211/+234
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@829 67cdc799-7952-0410-af00-57a81ceafa0f
* Allow wrapped_fs to be set to None when closed by superclass.btimby2012-11-201-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@828 67cdc799-7952-0410-af00-57a81ceafa0f
* If the wrapped_fs reference is not removed, the SubFS will create a cycle ↵btimby2012-11-151-0/+1
| | | | | | with it, preventing both from being garbage collected. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@827 67cdc799-7952-0410-af00-57a81ceafa0f
* Whitespace cleanup.btimby2012-11-151-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@826 67cdc799-7952-0410-af00-57a81ceafa0f
* Prevent MemoryFS.removedir(..., recursive=True) removing non-empty parent ↵gcode@loowis.durge.org2012-10-262-0/+4
| | | | | | | | directories, and fixed up corresponding unit test. Fixes Issue 137 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@825 67cdc799-7952-0410-af00-57a81ceafa0f
* Be less heavy-handed, setting the reference to None will do.btimby2012-10-183-3/+54
| | | | | | | | Ensure that pyfs file systems are closed when use with ftp and sftp daemons. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@824 67cdc799-7952-0410-af00-57a81ceafa0f
* __del__() is inherited from FS and redundant.btimby2012-10-181-7/+7
| | | | | | | | | Synchronize the close() methods. Ensure the close() methods close and del referenced file systems. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@823 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for missing ResourceNotFound error in fs.walkwillmcgugan@gmail.com2012-10-091-76/+80
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@822 67cdc799-7952-0410-af00-57a81ceafa0f
* Implemented walk() which allows caller to decide how to treat archives.btimby2012-09-211-0/+106
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@821 67cdc799-7952-0410-af00-57a81ceafa0f
* Had replaced **kwargs with named arguments. Needed to update this call ↵btimby2012-09-171-1/+1
| | | | | | accordingly. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@820 67cdc799-7952-0410-af00-57a81ceafa0f
* Under some conditions, these methods are required. However, there was a bug inbtimby2012-09-171-0/+22
| | | | | | | | isfile(). It did not properly handle the case of a path within a mountable archive. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@819 67cdc799-7952-0410-af00-57a81ceafa0f
* No need to override isfile() and isdir() anymore, getinfo() is correct.btimby2012-09-171-22/+0
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@818 67cdc799-7952-0410-af00-57a81ceafa0f
* Overhauled most of the ArchiveMountFS file system method implementations so thatbtimby2012-09-171-64/+104
| | | | | | | | | | | they behave properly when dealing with archive files (instead of archive contents). A couple of these changes were also driven by the need to mix ArchiveFS mount points with mount points hosting other file systems (like remote file systems). git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@817 67cdc799-7952-0410-af00-57a81ceafa0f
* Oops, forgot the auto_mount parameter.btimby2012-09-131-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@816 67cdc799-7952-0410-af00-57a81ceafa0f
* Not yet fully-tested, but move(), copy(), remove() work properly. These ↵btimby2012-09-131-50/+106
| | | | | | | | | | | | | changes allow for archives themselves to be handled. Without these changes, an archive would be automatically mounted, once mounted, operations on the archive file itself would fail. Also added a max_size parameter to ArchiveMountFS, to avoid mounting really large archives. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@815 67cdc799-7952-0410-af00-57a81ceafa0f
* Prevent files being opened with '+' in the mode string. Fixes Issue 129gcode@loowis.durge.org2012-09-011-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@814 67cdc799-7952-0410-af00-57a81ceafa0f
* Use stat() to determine mtime instead of relying on fs directly.btimby2012-08-291-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@813 67cdc799-7952-0410-af00-57a81ceafa0f