Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #967
Also adds test coverage for writing various types to
BufferedFile which required some small changes to the test
LoopbackFile subclass.
Change against the 1.17 branch.
|
|
|
|
Added comments. Removed fifth line from test because it was unnecessary
since the final line could be used instead.
|
|
Changed file.py readline() to always check for a newline. Had to make a
few changes for what went into self._rbuffer in the case where buffer
size was met or exceeded and we found a newline.
|
|
Edited test to catch readline error. file.py code change in progress
(DOES NOT WORK PROPERLY) so saving it temporarily.
|
|
This fixes bzr's use of paramiko.
Fixes issue #343/#285.
|
|
It is the right thing to do since we have no idea what encoding the file
is in, or even if the file is text data. BufferedFile.readline() is
unchanged and returns text strings assuming the file is utf-8 encoded.
This should fix the following issue:
http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252
Antoine Brenner
Conflicts:
sites/www/changelog.rst
|
|
|
|
|
|
|
|
Conflicts:
paramiko/proxy.py
|
|
|
|
bump copyright year to 2007
|
|
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
|
|
more unit tests
add test for BufferedFile.read(-1) and sftp.normalize().
|
|
more unit tests
add a unit test for sending a large (1MB) file with line buffering but no
linefeeds (this triggered several bugs and inefficiencies), and another test
to verify that the write buffer is flushed on seek.
|
|
add unit tests
add unit tests for BufferedFile and SFTP (it's a start). remove the demo sftp
client because it was 99% copied from the other demos, which makes it kinda
confusing. the unit tests are a much better example.
|