Commit Graph

490 Commits

Author SHA1 Message Date
Robey Pointer df20443b29 [project @ robey@lag.net-20060901205930-021bcc34e3d5d8c8]
sadly, revert the append optimization -- it breaks for openssh
2006-09-01 13:59:30 -07:00
Robey Pointer 1f4a3f1976 [project @ robey@lag.net-20060829181836-1cd17df7729c4db8]
remove usage of has_key, which is dangerous and deprecated
2006-08-29 11:18:36 -07:00
Robey Pointer b23079b135 [project @ robey@lag.net-20060829012231-328fee7de77036be]
fix a couple of pcheck warnings
2006-08-28 18:22:31 -07:00
Robey Pointer 2b8738d3ce [project @ robey@lag.net-20060828234834-51542dc36057b361]
fix __setitem__ to do the right thing
2006-08-28 16:48:34 -07:00
Robey Pointer c2b38a1fb8 [project @ robey@lag.net-20060823025610-adee7f6d9bd92725]
ok, ok, switch back to open()
2006-08-22 19:56:10 -07:00
Robey Pointer 145ceab54c [project @ robey@lag.net-20060823025538-3f8a4d761d7d4118]
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
2006-08-22 19:55:38 -07:00
Robey Pointer 738e81033a [project @ robey@lag.net-20060822182819-26cf01113495c9a3]
don't automatically make epydocs for the private (internal) methods and classes
2006-08-22 11:28:19 -07:00
Robey Pointer cc3e383baf [project @ robey@lag.net-20060822025601-aab3b723b95d3a9c]
add 'flags' param to SFTPHandle and make the default impl avoid calling tell() when in append mode; add proper append-mode support to stub_sftp
2006-08-21 19:56:01 -07:00
Robey Pointer 49418d1145 [project @ robey@lag.net-20060816213132-2e094c077d22dc50]
bump version to 1.6.2
2006-08-16 14:31:32 -07:00
Robey Pointer bfe8fac5bf [project @ robey@lag.net-20060816213106-99cffe9de5d555c5]
don't need odict anymore
2006-08-16 14:31:06 -07:00
Robey Pointer 929ce8df7a [project @ robey@lag.net-20060813195045-ca4148e233794d4b]
add a unit test to verify that all the paramiko symbols are exported correctly
2006-08-13 12:50:45 -07:00
Robey Pointer 6d37b6b810 [project @ robey@lag.net-20060813193546-c92b58af1c27d156]
missing commas in exported class list (bug 55946)
2006-08-13 12:35:46 -07:00
Robey Pointer 4707b2d8d1 [project @ robey@lag.net-20060813193233-10db2cfe4c53a1df]
create a gzip file also, when building a release
2006-08-13 12:32:33 -07:00
Robey Pointer 4bedcfbf39 [project @ robey@lag.net-20060801182715-f0977a00fbcce456]
fix logic in checking prefetch buffers: don't stop looking for prefetched data just because all the buffers have arrived
2006-08-01 11:27:15 -07:00
Robey Pointer 05de66db6d [project @ robey@lag.net-20060801182357-e030af9570314145]
use hexlify instead of home-grown hexify
2006-08-01 11:23:57 -07:00
Robey Pointer 074dc36e6b [project @ robey@lag.net-20060801182143-088ff687e0945937]
use hexlify in tests
2006-08-01 11:21:43 -07:00
Robey Pointer 7ac433a6ac [project @ robey@lag.net-20060801182053-a74d120228b8009a]
use hexlify instead of custom-made hexify in demos
2006-08-01 11:20:53 -07:00
Robey Pointer 157484f5eb [project @ robey@lag.net-20060731070137-571efc087c20347a]
clean up test.py a bit and allow filtering from the command line
2006-07-31 00:01:37 -07:00
Robey Pointer 5bbe1a8f36 [project @ robey@lag.net-20060731065604-ec418957546f7ec9]
explain about the new launchpad site
2006-07-30 23:56:04 -07:00
Robey Pointer 4086a5cd35 [project @ robey@lag.net-20060729182801-e5e501844712bd85]
oops, forgot to import SSHException
2006-07-29 11:28:01 -07:00
Robey Pointer 6821b6e8e8 [project @ robey@lag.net-20060727025519-bffe5bcc0556d779]
variant of a patch from warren young to preserve the order of host entries from the 'known_hosts' file and preserve knowlege of which lines had multiple hostnames on them
2006-07-26 19:55:19 -07:00
Robey Pointer 17a93bce4c [project @ robey@lag.net-20060726191515-6ff627b4d7216073]
if a chunk has been requested in prefetch, don't bother doing an overlapping prefetch during readv
2006-07-26 12:15:15 -07:00
Robey Pointer c731a077fb [project @ robey@lag.net-20060726002947-e60cb0a3d7b86919]
don't fetch readv chunks that we have reason to believe are already in prefetch buffers.  no longer need to order the prefetch requests either.
2006-07-25 17:29:47 -07:00
Robey Pointer c24db3e38c [project @ robey@lag.net-20060726000907-b9a2d46eecc64cec]
allow prefetch + readv to occur at the same time (even though it will be really inefficient).  instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far.  break up large readv requests into the max packet size.  add 2 more unit tests to test this stuff.
2006-07-25 17:09:07 -07:00
Robey Pointer 787b0b461d [project @ robey@lag.net-20060723235649-5f757e44908ffb31]
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
2006-07-23 16:56:49 -07:00
Robey Pointer c925c41437 [project @ robey@lag.net-20060723235616-fe1d7920eb25a0ec]
clean up pyc files too
2006-07-23 16:56:16 -07:00
Robey Pointer 4737e44e40 [project @ robey@lag.net-20060723235548-2f5f9ae591d683ca]
clean up use of expected_packet and make it accept a tuple of packet types
2006-07-23 16:55:48 -07:00
Robey Pointer 55a52a09cc [project @ robey@lag.net-20060723204116-319c388eacb937d6]
fix SSHException references in demos
2006-07-23 13:41:16 -07:00
Robey Pointer ffcc22e784 [project @ robey@lag.net-20060713194617-35597c20a6b3bc59]
bump version to 1.6 (oops, forgot to check this in a few days ago)
2006-07-13 12:46:17 -07:00
Robey Pointer ec6e76abc6 [project @ robey@lag.net-20060710070003-b9c4a1a7f7ab0ae9]
apparently some sftp servers may return an mtime of 0xffffffff -- just in case, ignore that value
2006-07-10 00:00:03 -07:00
Robey Pointer ab7c0fe9e8 [project @ robey@lag.net-20060710065931-5e87f3d9879dad46]
new ignores
2006-07-09 23:59:31 -07:00
Robey Pointer 9c8a06b877 [project @ robey@lag.net-20060628050022-2f0d754ed70356f1]
anal-retentive conversion to 'while True'
2006-06-27 22:00:22 -07:00
Robey Pointer c22df44900 [project @ robey@lag.net-20060628045919-ffac82c51c51b3df]
make HostKeys use odict to ensure order is preserved, and add HostKeys.save()
2006-06-27 21:59:19 -07:00
Robey Pointer 4fa4fdee4b [project @ robey@lag.net-20060627064106-71a2bfb5a39a2913]
add PKey.from_private_key to read from a file object
2006-06-26 23:41:06 -07:00
Robey Pointer d81758f1ff [project @ robey@lag.net-20060627060810-93a5453df5ae4a62]
log mkdir mode when given
2006-06-26 23:08:10 -07:00
Robey Pointer be86d5474a [project @ robey@lag.net-20060627060703-3d7eadfb1f5042ad]
catch and discard exceptions thrown when sending a status response during an exception
2006-06-26 23:07:03 -07:00
Robey Pointer 79d239693a [project @ robey@lag.net-20060627060600-07d5b7e2fc57202d]
add PKey.write_private_key to write a private key into a file object, and add tests for it
2006-06-26 23:06:00 -07:00
Robey Pointer 1726162508 [project @ robey@lag.net-20060530070000-358e08e75c891d8b]
add __setitem__ for HostKeys
2006-05-30 00:00:00 -07:00
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