Commit Graph

402 Commits

Author SHA1 Message Date
Robey Pointer e0f0ae5eb2 [project @ robey@lag.net-20060530065945-158cc1305bfc2c82]
missed the client id
2006-05-29 23:59:45 -07:00
Robey Pointer 471876ff3e [project @ robey@lag.net-20060530065858-6300e2d76304778c]
convert an EOFError into SSHException during sftp negotation
2006-05-29 23:58:58 -07:00
Robey Pointer 0ad8405d15 [project @ robey@lag.net-20060512172544-f1cab2a1959987bf]
fix new cygwin test failures reported by alexander
2006-05-12 10:25:44 -07:00
Robey Pointer da04f66cf6 [project @ robey@lag.net-20060511013755-ab5fc64a30791cac]
trim more of the history
2006-05-10 18:37:55 -07:00
Robey Pointer af4b8fedc9 [project @ robey@lag.net-20060511013313-411d1524da3b53f0]
bump version to 1.6, fix up docs a little bit
2006-05-10 18:33:13 -07:00
Robey Pointer 6f4110a066 [project @ robey@lag.net-20060511011140-ab3550c28121f900]
fix a few bugs found by pycheck
2006-05-10 18:11:40 -07:00
Robey Pointer 8843feb633 [project @ robey@lag.net-20060509164549-14e664f234b4b747]
new parent exception for all auth failures, and new specific exception for bad host key
2006-05-09 09:45:49 -07:00
Robey Pointer 02e8178510 [project @ robey@lag.net-20060508005224-a8a04cd59f9fa016]
pulled out openssh config parsing into its own class
2006-05-07 17:52:24 -07:00
Robey Pointer 887354c088 [project @ robey@lag.net-20060508002320-d6e64e96f913febd]
check off a few readme items
2006-05-07 17:23:20 -07:00
Robey Pointer 1d2bd214c3 [project @ robey@lag.net-20060508002214-0403d95f73b152f5]
couple of doc fixes
2006-05-07 17:22:14 -07:00
Robey Pointer 2a03425e27 [project @ robey@lag.net-20060508002007-3b7b87c361fe876a]
add unit tests for SSHClient, and fix a few bugs that uncovered
2006-05-07 17:20:07 -07:00
Robey Pointer de1e072c73 [project @ robey@lag.net-20060507230153-dba6b2d664b5ef3f]
channel operations raise an exception on error now instead of returning a bool
2006-05-07 16:01:53 -07:00
Robey Pointer 581103665b [project @ robey@lag.net-20060504025237-a015ee747d9a2e75]
if open_channel fails, it now raises ChannelException.  added a unit test for that too.  renegotiate_keys will also raise an exception now instead of returning a bool.
2006-05-03 19:52:37 -07:00
Robey Pointer aac434e9b0 [project @ robey@lag.net-20060503163531-2297cd257acc51e5]
make a slightly different exception for the expected mode on cygwin (why would they add support for some but not all of the unix mode bits? very odd)
2006-05-03 09:35:31 -07:00
Robey Pointer 2067e9a136 [project @ robey@lag.net-20060502002709-617a268779f7ca6b]
readv should just yield results as it gets them (suggestion from robertc)
2006-05-01 17:27:09 -07:00
Robey Pointer 57bc6728af [project @ robey@lag.net-20060430024043-e4391438febc9bf2]
check for None channel and display error
2006-04-29 19:40:43 -07:00
Robey Pointer e646d0ee4c [project @ robey@lag.net-20060430023238-3cd706d10c2de472]
try to clean up if the server object throws an exception
2006-04-29 19:32:38 -07:00
Robey Pointer c278de9fd4 [project @ robey@lag.net-20060428174959-bae73f58ca8ed33a]
patch from nicholas piper to catch keepalives sent to the client
2006-04-28 10:49:59 -07:00
Robey Pointer 9819087210 [project @ robey@lag.net-20060428172401-ad8da020daedd941]
2 more unit test bugs found by alexander (can't change atime on win32)
2006-04-28 10:24:01 -07:00
Robey Pointer c05200dcc6 [project @ robey@lag.net-20060424011141-18957fe09447af6b]
more README
2006-04-23 18:11:41 -07:00
Robey Pointer 3bcdf46a9d [project @ robey@lag.net-20060424011126-66797c157af18805]
add SSHClient (so far)
2006-04-23 18:11:26 -07:00
Robey Pointer 8e81ba61f5 [project @ robey@lag.net-20060424011046-7edc8e67b364f07d]
mark a couple of functions as since 1.5.2
2006-04-23 18:10:46 -07:00
Robey Pointer 5c2c949b1e [project @ robey@lag.net-20060420072722-924a44953b8d9919]
tweak a test that relied too much on timing
2006-04-20 00:27:22 -07:00
Robey Pointer abb7f1f1ba [project @ robey@lag.net-20060420072627-958cad5e36cb8ecc]
fix a bug where prefetch() at EOF would throw an exception, and add a unit test
2006-04-20 00:26:27 -07:00
Robey Pointer d965f00563 [project @ robey@lag.net-20060412205753-e6c5d195a51fc389]
fix docs
2006-04-12 13:57:53 -07:00
Robey Pointer 6e2f3b6548 [project @ robey@lag.net-20060412203612-863c46529730f786]
bump up the default banner timeout to 15 seconds and make it configurable via (undocumented) Transport.banner_timeout
2006-04-12 13:36:12 -07:00
Robey Pointer 37dd98bc61 [project @ robey@lag.net-20060412093740-9fad67f9fbafcd7d]
fix doc typo
2006-04-12 02:37:40 -07:00
Robey Pointer f765980313 [project @ robey@lag.net-20060412084327-0d666ca96c0b0976]
oops, don't forget to add the empty() method
2006-04-12 01:43:27 -07:00
Robey Pointer e7afd83308 [project @ robey@lag.net-20060412084250-bd347f3f01aca394]
flip the switch: use BufferedPipe inside Channel
2006-04-12 01:42:50 -07:00
Robey Pointer 22db02c82f [project @ robey@lag.net-20060411224806-2683ac099f9608ae]
add a test that feed/read can happen piecemeal
2006-04-11 15:48:06 -07:00
Robey Pointer b7a615d02a [project @ robey@lag.net-20060411224733-0361ad3758aee64d]
add a way to set the event to trigger, and fix a typo
2006-04-11 15:47:33 -07:00
Robey Pointer 1df0e7e629 [project @ robey@lag.net-20060411074019-1c4ec3497399bf11]
oops, don't forget BufferedPipe unit tests
2006-04-11 00:40:19 -07:00
Robey Pointer 9e14a3bf58 [project @ robey@lag.net-20060411073946-8830b560b276266f]
factor out BufferedPipe into its own class
2006-04-11 00:39:46 -07:00
Robey Pointer 017d315bce [project @ robey@lag.net-20060409073938-bcbb9a13a6f311c2]
changes to win_pageant from todd whiteman which avoid using ctypes and apparently makes the pageant agent work
2006-04-09 00:39:38 -07:00
Robey Pointer 8087fa5a29 [project @ robey@lag.net-20060408222456-d3813e0206a2cda7]
assertTrue doesn't exist in py23
2006-04-08 15:24:56 -07:00
Robey Pointer ccc1046a5c [project @ robey@lag.net-20060406181821-68f9bc13b3580d37]
some fixes for win32: potential fix for lockup during failed tests; don't try chmod/chown or symlinks; fix canonicalize to convert dos-style path separators to '/'; open local files in binary mode; close a file before erasing it
2006-04-06 11:18:21 -07:00
Robey Pointer d7b28ac257 [project @ robey@lag.net-20060327001936-9dd7d3b155614bbf]
allow multiple prefetches to happen in rapid succession
2006-03-26 16:19:36 -08:00
Robey Pointer 0cee90eeca [project @ robey@lag.net-20060327001726-7ccb095fd5c416f5]
roll in some changes from bzr that may be necessary to get stub_sftp to work on windows
2006-03-26 16:17:26 -08:00
Robey Pointer 4120a15823 [project @ robey@lag.net-20060326235536-31da9988fb7a06be]
slightly more docs to hostkeys
2006-03-26 15:55:36 -08:00
Robey Pointer b12d10fd72 [project @ robey@lag.net-20060326204635-1c5418c54187b95d]
fix exception-catching error found by alexander belchenko
2006-03-26 12:46:35 -08:00
Robey Pointer 016060388a [project @ robey@lag.net-20060324174423-1d310608680dd29b]
try out john's win_pageant code
2006-03-24 09:44:23 -08:00
Robey Pointer 62c9588365 [project @ robey@lag.net-20060312043043-a96ec6e03210f476]
fix Makefile :)
2006-03-11 20:30:43 -08:00
Robey Pointer 4eb0b9ac3e [project @ robey@lag.net-20060312042905-752c324bdc1ac2cf]
bump version to 1.5.4
2006-03-11 20:29:05 -08:00
Robey Pointer 82d8ca6e11 [project @ robey@lag.net-20060312040732-8d16f6c42f12f138]
document readv, fix thinko, and add a readv unit test
2006-03-11 20:07:32 -08:00
Robey Pointer ece62093bd [project @ robey@lag.net-20060312040633-92b1c78bf815905d]
add test to verify that 'for x in hostkeys' works
2006-03-11 20:06:33 -08:00
Robey Pointer 862e1f48e3 [project @ robey@lag.net-20060310022234-c183ad0b3f31eb28]
generalize the prefetching a bit so that it can be reused for a readv method
2006-03-09 18:22:34 -08:00
Robey Pointer a98c5cf627 [project @ robey@lag.net-20060309082830-ea89d2b2259098a2]
revise the prefetch machinery so that it doesn't assert if you seek to earlier than the prefetched buffers.  also, keep around any prefetched data that has been seeked around, so that jumping around in the file will still get the benefit of prefetch, though only the first time any chunk is read.
2006-03-09 00:28:30 -08:00
Robey Pointer bbcf7687aa [project @ robey@lag.net-20060309082217-438047d0007d5a5b]
reads were being rounded up to an 8k buffer size, even with no buffering specified when the file was opened.  i traced this back to the old ChannelFile where it worked correctly.  fix to only buffer when asked to.
2006-03-09 00:22:17 -08:00
Robey Pointer 284614a857 [project @ robey@lag.net-20060309081619-4ec529d524744e14]
fix up the manifest
2006-03-09 00:16:19 -08:00
Robey Pointer 89e39a4559 [project @ robey@lag.net-20060309081455-84be2ae54f98e897]
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
2006-03-09 00:14:55 -08:00