Simon Josefsson
c7a1d30590
Use libtool -export-symbols-regex to reduce numer of exported symbols.
2009-03-17 10:19:54 +00:00
Daniel Stenberg
8096b459d4
cleanup round
2009-03-16 23:25:14 +00:00
Daniel Stenberg
7ef3406b57
Added (templates for) the 13 missing man pages
2009-03-16 15:00:45 +00:00
Daniel Stenberg
d870042496
two more renaming of man pages to the actual function name
2009-03-16 14:40:37 +00:00
Daniel Stenberg
27355c740f
rename the man page to use the same name as the actual function
2009-03-16 14:28:37 +00:00
Daniel Stenberg
f8ad00e6ae
mention the basic changes in my previous few commits
2009-03-16 08:23:54 +00:00
Daniel Stenberg
94090cf55c
Patch from bug report #1960894 by "Heiner" applied, and edited by me. It makes
...
SCP recv and send deal with file names containing spaces (and other
shell-special letters) by quoting them before they are passed to the remote
server.
2009-03-15 23:28:25 +00:00
Daniel Stenberg
ce9d44a3ff
fixed some wrong comments and did a minor code edit and some further
...
whitespace changes
2009-03-15 23:07:09 +00:00
Daniel Stenberg
a678dbac06
added three more public functions I found lacking man pages
2009-03-15 22:59:46 +00:00
Daniel Stenberg
0812744424
fix a compiler warning
2009-03-15 22:40:11 +00:00
Daniel Stenberg
f56b8ef605
simplified how the "scp" command line is created in the libssh2_scp_recv()
...
function
2009-03-15 22:38:47 +00:00
Daniel Stenberg
1a630c5c09
Simplified libssh2_channel_read_ex() and made it send window adjustments less
...
frequent, use a few less struct fields in the channel struct and improved
reading from the network with libssh2_packet_read(). I also modified the
windowing algorithm and now use a much larger window. This greatly enhances
SSH/SCP performance. I also increased the size of the buffer the transport
layer uses from 4k to 16K.
2009-03-15 22:29:23 +00:00
Daniel Stenberg
3793b6768d
oops, use %06d for the microseconds!
2009-03-14 23:04:25 +00:00
Daniel Stenberg
269bd5e9a4
re-indented and other whitespace edits
2009-03-14 22:29:48 +00:00
Daniel Stenberg
d7566e5065
improved trace logs with time stamps
2009-03-14 22:29:28 +00:00
Daniel Stenberg
bdd005a5e5
fixed to work quite similar to the sftp_nonblock example so that it waits
...
for the socket correctly and measures the transfer speed fine
2009-03-14 09:40:57 +00:00
Daniel Stenberg
a52f5d3b7e
Cleanups, that do seem to have boosted SFTP download performance up to 300% in
...
some tests:
* cut off "_ex" from several internal function names
* corrected some log outputs
* simplified libssh2_channel_read_ex() and made it much faster in the process
* cut out {{{ and }}} comments that were incorrect anyway
* fixed sftp_packet_ask() to return the correct packet by using memcmp() and
not strncmp()
* fixed mkdir()'s wait for packet to use the correct request_id - it
semi-worked previously because strncmp() in sftp_packet_ask() made it
match far too easily.
* took away the polling functionality from sftp_packet_ask() since it wasn't
used
2009-03-13 22:15:27 +00:00
Daniel Stenberg
d89782d99f
improved non-blocking behavior for some of the initing stuff before the actual
...
data transfer begins
2009-03-13 22:14:47 +00:00
Daniel Stenberg
2ba8db9168
wait for socket action accordingly, and do some measurements on the transfer
...
to make this better to use for speed tests
2009-03-13 12:35:13 +00:00
Daniel Stenberg
5f32304805
- (Mar 7 2009) Olivier Hervieu pointed out a flaw in the
...
libssh2_channel_x11_req_ex() function that made it produce a crappy random
chunk of data. Peter Stuge improved the fix to not do out-of-boundary
writes. I (Daniel Stenberg) replaced the snprintf() with a plain sprintf()
since the size argument wasn't adding anything anyway.
2009-03-07 22:08:05 +00:00
Guenter Knauf
16941e1fcf
some minor Makefile tweaks.
2009-03-06 07:25:37 +00:00
Daniel Stenberg
663da93b42
- Added libssh2_version()
2009-02-23 16:22:46 +00:00
Daniel Stenberg
1addcbbf53
- (Feb 20 2009) libssh2_channel_direct_tcpip_ex() bug #1902169 fixed, which
...
caused it to fail when called a second time.
2009-02-20 16:14:45 +00:00
Mikhail Gusarov
d722e09196
Fixed dash-as-minus warning in libssh2_base64_decode.3 manpage
2009-02-17 16:22:51 +00:00
Mikhail Gusarov
317740415a
Fixed syntax error in libssh2_banner_set.3 manpage
2009-02-17 16:22:17 +00:00
Simon Josefsson
558de5e103
Bump ABI revision from 1.0.0 to 1.0.1 due to code changes.
2009-02-16 21:49:31 +00:00
Simon Josefsson
74aad1869d
Fix typo.
2009-02-16 21:48:22 +00:00
Simon Josefsson
b9de72732b
Add date for v1.0 release.
2009-02-16 21:46:40 +00:00
Daniel Stenberg
c672b837f8
- (Feb 12 2009) Romain Bondue extended Markus Moeller fix from Feb 8, based on
...
a previous (uncommitted) patch by Erik Brossler. It improves
libssh2_channel_write_ex in blocking situations when the socket is set non-
blocking.
2009-02-12 11:46:28 +00:00
Daniel Stenberg
c547e07caa
Markus Moeller fixed a flaw in libssh2_channel_write_ex() that would occur
...
on EAGAIN situations.
2009-02-08 12:09:20 +00:00
Daniel Stenberg
6a78a6b358
I want to remove all those macros from the official API at next soname bump
2009-01-01 22:52:46 +00:00
Daniel Stenberg
369fcddb24
fixed compiler warnings, and stripped off "libssh2_" from static functions
...
as that makes shorter function names and then making the code look fine within
80 columns is easier!
2009-01-01 22:47:06 +00:00
Daniel Stenberg
97fbb77da5
made the three public headers use (mostly) lines shorter than 80 columns as
...
HACKING says - it makes them much more readable to my old tired eyes...
2009-01-01 22:27:08 +00:00
Daniel Stenberg
acc2c5dfb9
we're actually working on the 1.0.1 version now (or should it be 1.1?)
2008-12-28 21:01:36 +00:00
Daniel Stenberg
27197bcff3
Added 'TODO' file (again) with some fresh things I could think of right now
2008-12-26 07:54:08 +00:00
Daniel Stenberg
64b3e5e3f6
Added libssh2_trace man page
2008-12-26 07:46:45 +00:00
Daniel Stenberg
ba79d6b52d
libssh2_base64_decode is deprecated and subject for removal in a future
...
version (like on the next soname bump)
2008-12-26 07:37:55 +00:00
Daniel Stenberg
6b38e21fa7
wrote up a first libssh2_base64_decode man page, added a few missing man
...
pages to the tarball
2008-12-23 13:23:45 +00:00
Daniel Stenberg
11330ee6da
based on Heiner Steven's report, fix the name and description of these man
...
pages!
2008-12-23 12:34:17 +00:00
Daniel Stenberg
b3649e86a8
briefly mention my recent sftp-related fixes
2008-12-22 23:40:27 +00:00
Daniel Stenberg
2f32080772
mention web site and mailing list, as I think they're not mentioned anywhere
...
else in the package!
2008-12-22 23:39:46 +00:00
Daniel Stenberg
7aac082782
removed obviously superfluous comments
2008-12-22 22:43:05 +00:00
Daniel Stenberg
5a35edcb9a
use a single >>32 instead of "(value / 65536) / 65536", just make sure that
...
the shift is done on a 64bit type
2008-12-22 22:33:03 +00:00
Daniel Stenberg
079d20aca8
remove unused #ifndef, and two whitespace changes
2008-12-22 22:31:51 +00:00
Daniel Stenberg
b357379923
style/indent changes only to enforce < 80 column lines more strict
2008-12-22 22:10:47 +00:00
Daniel Stenberg
62769b438f
libssh2_sftp_seek64() it is now for the 64bit seek function too as the seek2
...
name has never been used in a release and it makes the naming consistent
2008-12-22 13:18:36 +00:00
Daniel Stenberg
d602478e87
0.19 is now 1.0
2008-12-22 12:51:27 +00:00
Daniel Stenberg
8eba2961ac
Based on Alexander Lamaison's patch, there's now a new
...
function called libssh2_sftp_tell64() that returns the 64 bit file offset,
as the existing libssh2_sftp_tell() only returns a size_t.
2008-12-22 12:46:45 +00:00
Daniel Stenberg
962a41e4ec
first conversion of a malloc => buffer in the sftp handle struct
2008-12-22 12:38:41 +00:00
Daniel Stenberg
31841e7c74
helper script for emacs users to get the code style done libssh2-style
...
automatically
2008-12-20 12:36:50 +00:00