Guenter Knauf
327c31a634
added var to specify cross compiler prefix.
2007-07-21 22:59:24 +00:00
Guenter Knauf
4ace76b30d
added some defines for MSVC and other non-gcc compilers.
2007-07-20 09:52:02 +00:00
Guenter Knauf
2127c5967e
moved the inclusion of libssh2_config.h to the top.
2007-07-20 09:51:05 +00:00
Guenter Knauf
242475c42a
added keyboard-interactive auth method;
...
added 4. argument to specify auth method.
2007-07-20 01:23:10 +00:00
Guenter Knauf
854dffe0a4
moved blocks to make keyboard-interactive second choice (if implemented).
2007-07-19 17:08:54 +00:00
Guenter Knauf
278219fc0a
few cosmetic changes; added block for future implementation of keyboard-interactive method.
2007-07-19 15:43:48 +00:00
Guenter Knauf
16be3fc778
removed obsolete line.
2007-07-19 15:29:06 +00:00
Guenter Knauf
edcfab905a
added selection of authentication method based on what libssh2_userauth_list() returns; added vars for the key files.
2007-07-19 15:25:46 +00:00
James Housley
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
2007-07-19 15:02:37 +00:00
James Housley
05c1164a67
The test after the memory allocation was backwards, so keyboard-interactive
...
would always fail due to a memory problem.
2007-07-18 19:54:51 +00:00
Guenter Knauf
3fc4caf42f
fixed call to libssh2_userauth_list() since NULL isnt supported for the username.
2007-07-18 19:31:15 +00:00
Guenter Knauf
1a9fee074b
added check for available authentication methods.
2007-07-18 11:46:25 +00:00
Guenter Knauf
8f62c7322f
added NMakefile to Makefile.am so that it gets included with releases and daily snapshots.
2007-07-17 13:22:55 +00:00
Guenter Knauf
839be89a49
added test success messages.
2007-07-16 22:16:21 +00:00
Guenter Knauf
669e69966a
another trial to fix the typedefs.
2007-07-16 22:05:30 +00:00
Guenter Knauf
138b1b3830
fixed MSVC project files to build static lib and dll in separate direcories.
2007-07-15 23:46:30 +00:00
Daniel Stenberg
4088283465
support --enable-maintainer-mode
2007-07-15 22:21:46 +00:00
Guenter Knauf
402978bd1b
fixed MSVC project files.
2007-07-15 22:11:12 +00:00
Daniel Stenberg
387a1fdf4b
add maketgz to release archives
2007-07-15 21:47:27 +00:00
Daniel Stenberg
d574d7dea0
Added LIBSSH2_TIMESTAMP to the public header and it contains the timestamp of
...
the making of the release archive.
Added 'maketgz' as a script to build release archives with, including automated
snapshots or whatever. It updates the defines in include/libssh2.h.
configure now extracts the version number from the include/libssh2.h header in
the source tree instead of using it fixed set in the script (to remove the
need for regenerating the configure script when we run maketgz).
Makefile.am now has a dist-hook that puts ".dist" files in the release tree
instead of the file without the .dist extension, so that we can easily add
modified files in release archives. Like maketgz.
2007-07-15 21:36:29 +00:00
Guenter Knauf
b2df0b26f7
fixed test makefile to build all samples.
2007-07-15 20:34:33 +00:00
Guenter Knauf
bb76ed34a0
fixed NMakefile stuff to build at least the DLL again.
2007-07-15 20:06:19 +00:00
Simon Josefsson
153e1959f4
Fix make distcheck. Noted by Daniel.
2007-07-15 08:22:00 +00:00
Daniel Stenberg
a3155d5d12
I'm fine with just name
2007-07-14 23:33:21 +00:00
Guenter Knauf
8485ee6fd5
introduced some more version defines.
2007-07-14 22:18:32 +00:00
Daniel Stenberg
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...
2007-07-14 21:28:02 +00:00
Daniel Stenberg
accd865aff
converted to 4-level space indents, no trailing whitespace
2007-07-14 21:24:38 +00:00
Guenter Knauf
84e16944b4
some more NetWare makefile fixes.
2007-07-14 21:04:32 +00:00
Daniel Stenberg
e0254f3936
removed compiler warnings, narrowed some source lines, killed trailing
...
whitespace
2007-07-14 20:54:47 +00:00
James Housley
14881b2370
For now make LIBSSH2_APINO a long, some compilers make constants an int it
...
seems.
2007-07-14 16:21:50 +00:00
Guenter Knauf
4ec68bdc04
added build for older CLIB version.
2007-07-09 22:47:24 +00:00
James Housley
a87fdff9e9
The variable "packet" needs to be in LIBSSH2_SFTP_HANDLE for re-entry when
...
blocking in libssh2_sftp_close_handle()
2007-07-09 15:11:37 +00:00
James Housley
50fd6590f0
While the previous commit seemed to correct a problem, it actually exposed
...
another problem. Commit this until a proper fix is found
2007-07-08 17:14:19 +00:00
James Housley
2b1c979d7e
Remove a blocking while loop that wasn't removed when the code to
...
return PACKET_EAGAIN was added, but should have been.
2007-07-08 15:37:44 +00:00
James Housley
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()
2007-07-05 15:31:19 +00:00
Guenter Knauf
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.
2007-07-05 12:52:30 +00:00
Guenter Knauf
83d77f3878
enter next round after release.
2007-07-05 12:46:42 +00:00
James Housley
530e57d4ac
Gavrie Philipson sumitted a patch to get the actual text of the error
...
on scp upload.
2007-07-05 11:08:17 +00:00
James Housley
a9fc3bdb4e
Change the wording of the return value to match the rest of the man pages
2007-07-04 10:44:40 +00:00
Mikhail Gusarov
e2c88f6ae3
Fixed manpage syntax (catched by Debian's lintian)
2007-07-04 09:42:08 +00:00
Daniel Stenberg
cf9ed016e7
as mentioned in bug #1655429 , the CRLF pair was stripped off in the wrong
...
order!
2007-06-28 20:53:32 +00:00
Daniel Stenberg
1901324122
added missing files (in 0.15) to the release tarball
2007-06-25 20:48:07 +00:00
James Housley
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.
Bug: 1703472
2007-06-23 22:20:30 +00:00
James Housley
25adcc150e
Guenter Knauf submitted code to detect on windows if the socket is
...
blocking or not
2007-06-22 16:46:36 +00:00
Guenter Knauf
639b29631a
update export list for recent changes
2007-06-20 23:44:58 +00:00
James Housley
7808cab1e4
libssh2_channel_read_ex() needed more changes to fully support
...
non-blocking IO
2007-06-18 22:39:30 +00:00
James Housley
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
2007-06-18 22:38:32 +00:00
Simon Josefsson
e555510008
Fix distcheck.
2007-06-18 11:55:41 +00:00
James Housley
ba728148a9
Make libssh2_channel_receive_window_adjust() properly support non-blocking
2007-06-17 23:35:07 +00:00
James Housley
019cd1abc0
Clean up and standardization of code
2007-06-17 23:34:35 +00:00