34d5c9a4b1
Added a note about recent changes in a summarized way, added dates to the three most recent releases and made many lines < 80 columns.
Daniel Stenberg
2007-11-08 15:42:09 +00:00
e8bb993437
include specified files from the win32 dir, not everything within it since that gives us CVS files too etc
Daniel Stenberg
2007-11-08 15:14:13 +00:00
371a795443
fix transfer stall bug with non-blocking transfers, by Gavrie Philipson
Daniel Stenberg
2007-11-08 13:46:54 +00:00
2d773f9322
Stop shadowing a global declaration
Dan Fandrich
2007-09-28 18:29:40 +00:00
80f6c7c6d1
Immanuel Gregoire made libssh2_packet_read() properly deal with blocks when in non-blocking state. Until this fix, libssh2 just couldn't work properly on Windows while non-blocking.
Daniel Stenberg
2007-09-24 20:49:43 +00:00
46f26d3d0e
oops, that was debugging code that wasn't supposed to be committed!
Daniel Stenberg
2007-09-24 12:15:45 +00:00
5d91d286f1
fix by Immanuel Gregoire, sizeof != strlen!
Daniel Stenberg
2007-09-24 12:14:18 +00:00
5a854cfb26
fixed ssize_t typedef; added a define to detect already defined ssize_t.
Guenter Knauf
2007-09-18 18:13:18 +00:00
e905b206ed
fix line endings to crlf and flag binary to avoid nasty conversions.
Guenter Knauf
2007-09-15 15:26:37 +00:00
fe7a6f967d
Mention the const change in libssh2_channel_setenv_ex since it's a (minor) change to the API.
Dan Fandrich
2007-08-20 23:26:58 +00:00
5879a0245b
added link to native Win32 awk.
Guenter Knauf
2007-08-18 18:53:26 +00:00
d90d8bdae7
The libssh2_channel_receive_window_adjust() function failed to set the state variables at times and thus this function would misbehave on repeated invokes.
Daniel Stenberg
2007-08-12 21:53:32 +00:00
f216b36328
When we have less than blocksize data left we MUST (attempt to) read more since we can't decrypt anything in that situation.
Daniel Stenberg
2007-08-10 22:22:45 +00:00
c4630d1ffb
Removed unnecessary casts and added const where necessary.
Dan Fandrich
2007-08-09 01:10:11 +00:00
17173aab0e
Added const to varname parameter of libssh2_channel_setenv_ex
Dan Fandrich
2007-08-09 01:09:09 +00:00
f8d4de78e9
Fixed the samples to build outside the source tree. Removed redundant _SOURCES lines.
Dan Fandrich
2007-08-09 00:42:05 +00:00
e32ff531a3
Satish Mittal and David J Sullivan fixed an infinit recv() loop in libssh2_banner_receive()
Daniel Stenberg
2007-08-08 21:43:12 +00:00
a227554c26
fixed test makefile to generate config.h.
Guenter Knauf
2007-08-08 16:32:42 +00:00
9f27d176f8
we work on 0.18 now, although it might be 1.0 - who knows?
Daniel Stenberg
2007-08-06 20:59:08 +00:00
0d78e69016
libssh2_userauth_list() requires the lenght of the username to be passed, and not the sizeof() the array holding it.
James Housley
2007-08-03 15:08:28 +00:00
02e5b3b423
LIBSSH2_APINO is now gone, the sooner the better. This is gonna cause some pains in apps relying on it, but it is broken by design and we should not rely on it at all. Go for the LIBSSH2_VERSION_* defines instead if you need to check for versions.
Daniel Stenberg
2007-08-03 08:05:36 +00:00
9399ef83c4
this is generated, no need to commit it
Daniel Stenberg
2007-08-03 08:04:15 +00:00
68c86e2c4c
The examples no longer have an include path pointing to the private source dir but instead uses its own config.h file, that now is included first to make large file magic have an effect.
Daniel Stenberg
2007-07-31 11:00:29 +00:00
15e0f56d01
add large file magic checks, and make sure we update the config.h file in the example/simple subdir as well
Daniel Stenberg
2007-07-31 10:04:57 +00:00
d2ef367552
create a private config.h file for the examples
Daniel Stenberg
2007-07-31 10:04:24 +00:00
3167f054ff
Peter O'Gorman pointed out (and fixed) that the non-blocking check in configure made libssh2 use blocking sockets on AIX 4 and 5, while that wasn't the intention.
Daniel Stenberg
2007-07-30 22:55:43 +00:00
209d06d6c9
libssh2_poll() no longer relies on C99 features but instead uses alloca() on systems that have it - and uses a fixed-size array on those that don't. session.c was also cleaned from a large amount of trailing whitespace.
Daniel Stenberg
2007-07-23 21:18:43 +00:00
edcfab905a
added selection of authentication method based on what libssh2_userauth_list() returns; added vars for the key files.
Guenter Knauf
2007-07-19 15:25:46 +00:00
46f59112d9
* After setting the error to the error string from in the packet, set the pointer to NULL so it can't be double freed. * On session cleanup be sure to free the last error if it needs to be
James Housley
2007-07-19 15:02:37 +00:00
05c1164a67
The test after the memory allocation was backwards, so keyboard-interactive would always fail due to a memory problem.
James Housley
2007-07-18 19:54:51 +00:00
3fc4caf42f
fixed call to libssh2_userauth_list() since NULL isnt supported for the username.
Guenter Knauf
2007-07-18 19:31:15 +00:00
1a9fee074b
added check for available authentication methods.
Guenter Knauf
2007-07-18 11:46:25 +00:00
8f62c7322f
added NMakefile to Makefile.am so that it gets included with releases and daily snapshots.
Guenter Knauf
2007-07-17 13:22:55 +00:00
839be89a49
added test success messages.
Guenter Knauf
2007-07-16 22:16:21 +00:00
669e69966a
another trial to fix the typedefs.
Guenter Knauf
2007-07-16 22:05:30 +00:00
138b1b3830
fixed MSVC project files to build static lib and dll in separate direcories.
Guenter Knauf
2007-07-15 23:46:30 +00:00
4088283465
support --enable-maintainer-mode
Daniel Stenberg
2007-07-15 22:21:46 +00:00
387a1fdf4b
add maketgz to release archives
Daniel Stenberg
2007-07-15 21:47:27 +00:00
d574d7dea0
Added LIBSSH2_TIMESTAMP to the public header and it contains the timestamp of the making of the release archive.
Daniel Stenberg
2007-07-15 21:36:29 +00:00
b2df0b26f7
fixed test makefile to build all samples.
Guenter Knauf
2007-07-15 20:34:33 +00:00
bb76ed34a0
fixed NMakefile stuff to build at least the DLL again.
Guenter Knauf
2007-07-15 20:06:19 +00:00
153e1959f4
Fix make distcheck. Noted by Daniel.
Simon Josefsson
2007-07-15 08:22:00 +00:00
a3155d5d12
I'm fine with just name
Daniel Stenberg
2007-07-14 23:33:21 +00:00
8485ee6fd5
introduced some more version defines.
Guenter Knauf
2007-07-14 22:18:32 +00:00
4f76c2b80c
Metion the current code style in the new file called HACKING. In this, we could also add descriptions on how to send us patches and bug reports etc...
Daniel Stenberg
2007-07-14 21:28:02 +00:00
accd865aff
converted to 4-level space indents, no trailing whitespace
Daniel Stenberg
2007-07-14 21:24:38 +00:00
84e16944b4
some more NetWare makefile fixes.
Guenter Knauf
2007-07-14 21:04:32 +00:00
e0254f3936
removed compiler warnings, narrowed some source lines, killed trailing whitespace
Daniel Stenberg
2007-07-14 20:54:47 +00:00
14881b2370
For now make LIBSSH2_APINO a long, some compilers make constants an int it seems.
James Housley
2007-07-14 16:21:50 +00:00
a87fdff9e9
The variable "packet" needs to be in LIBSSH2_SFTP_HANDLE for re-entry when blocking in libssh2_sftp_close_handle()
James Housley
2007-07-09 15:11:37 +00:00
50fd6590f0
While the previous commit seemed to correct a problem, it actually exposed another problem. Commit this until a proper fix is found
James Housley
2007-07-08 17:14:19 +00:00
2b1c979d7e
Remove a blocking while loop that wasn't removed when the code to return PACKET_EAGAIN was added, but should have been.
James Housley
2007-07-08 15:37:44 +00:00
6ac790a477
* Since the packet as already had data read from it, it can't retrun PACKET_EAGAIN while reading the rest of it. * Get the error message in libssh2_scp_recv() in the same manner as it was gotten in libssh2_scp_send_ex()
James Housley
2007-07-05 15:31:19 +00:00
b53db3d3a9
fix bug #1701782 - for now we only define for the compiler versions where we know for sure - if later versions still need those defines please report to the list.
Guenter Knauf
2007-07-05 12:52:30 +00:00
83d77f3878
enter next round after release.
Guenter Knauf
2007-07-05 12:46:42 +00:00
530e57d4ac
Gavrie Philipson sumitted a patch to get the actual text of the error on scp upload.
James Housley
2007-07-05 11:08:17 +00:00
a9fc3bdb4e
Change the wording of the return value to match the rest of the man pages
James Housley
2007-07-04 10:44:40 +00:00
cf9ed016e7
as mentioned in bug #1655429, the CRLF pair was stripped off in the wrong order!
Daniel Stenberg
2007-06-28 20:53:32 +00:00
1901324122
added missing files (in 0.15) to the release tarball
Daniel Stenberg
2007-06-25 20:48:07 +00:00
74b12c3c7a
* Eberhard Mattes submitted a patch "According to RFC 4251, a boolean value of true is encoded as 1, not as 0xff". Servers should accept any non-zero value.
RELEASE.0.15
James Housley
2007-06-23 22:20:30 +00:00
25adcc150e
Guenter Knauf submitted code to detect on windows if the socket is blocking or not
James Housley
2007-06-22 16:46:36 +00:00
639b29631a
update export list for recent changes
Guenter Knauf
2007-06-20 23:44:58 +00:00
7808cab1e4
libssh2_channel_read_ex() needed more changes to fully support non-blocking IO
James Housley
2007-06-18 22:39:30 +00:00
9dfd71121e
Small fixes: * libssh2_sftp_packet_read() - use the right variable for the number of bytes returned by libssh2_channel_read_ex() * libssh2_sftp_packet_requirev - only call libssh2_waitsocket() when in blocking IO mode
James Housley
2007-06-18 22:38:32 +00:00
e555510008
Fix distcheck.
Simon Josefsson
2007-06-18 11:55:41 +00:00
ba728148a9
Make libssh2_channel_receive_window_adjust() properly support non-blocking
James Housley
2007-06-17 23:35:07 +00:00
019cd1abc0
Clean up and standardization of code
James Housley
2007-06-17 23:34:35 +00:00
0742a972c1
Created libssh2_sftp_readdir_ex() and updated LIBSSH2_APINO to 200706151200
James Housley
2007-06-15 17:22:49 +00:00
ca616cea36
Add missing back-slash, so now they can actually be installed
James Housley
2007-06-15 11:01:22 +00:00
8accb43cd6
Add libssh2_channel_get_exit_status()
James Housley
2007-06-15 10:53:04 +00:00
bc6ab7e0cb
Add me
James Housley
2007-06-15 10:08:33 +00:00
363f5a690d
Another bug pointed out by Troy Gutjahr. The free and nulling for two pointers were crossed
James Housley
2007-06-15 10:07:49 +00:00
8223acec0a
Don't use memory after it has been freed, pointed out by Troy Gutjahr
James Housley
2007-06-15 01:41:58 +00:00
136b2bfcdc
Some older BSD systems, OS X 10.3.9 for example, need <stdio.h> before <sys/select.h>. And <uio.h> is needed for iovec
James Housley
2007-06-14 22:50:32 +00:00
bc179b6e87
Update libssh2_channel_set_blocking.3 and add libssh2_session_set_blocking.3
James Housley
2007-06-14 17:23:13 +00:00
d4648be5a6
Add libssh2_userauth_authenticated.3, libssh2_userauth_list.3, libssh2_userauth_password_ex.3 and libssh2_userauth_publickey_fromfile.3
James Housley
2007-06-14 17:15:32 +00:00
f71b59c900
Add libssh2_sftp_unlink_ex.3 and libssh2_sftp_write.3
James Housley
2007-06-14 16:46:14 +00:00
fbf9d7cebd
Add libssh2_sftp_shutdown.3, libssh2_sftp_stat_ex.3, libssh2_sftp_symlink_ex.3 and libssh2_sftp_tell.3
James Housley
2007-06-14 16:33:38 +00:00
82d59f90e1
Add libssh2_sftp_last_error.3, libssh2_sftp_rename_ex.3, libssh2_sftp_rmdir_ex.3 and libssh2_sftp_seek.3
James Housley
2007-06-14 16:08:43 +00:00
cd077c350f
Add libssh2_sftp_close_handle.3 and libssh2_sftp_fstat_ex.3
James Housley
2007-06-14 15:45:03 +00:00
49fef5e598
Add libssh2_session_abstract.3, libssh2_session_callback_set.3, libssh2_session_method_pref.3 and libssh2_session_methods.3
James Housley
2007-06-14 15:26:58 +00:00
c5ba20a2c0
Add libssh2_hostkey_hash.3, libssh2_scp_recv.3 and libssh2_scp_send_ex.3
James Housley
2007-06-14 14:56:32 +00:00
6546a010a4
Updated to include the most recent entries from ChangeLog
James Housley
2007-06-14 10:34:10 +00:00