Daniel Stenberg
e32ff531a3
Satish Mittal and David J Sullivan fixed an infinit recv() loop in
...
libssh2_banner_receive()
2007-08-08 21:43:12 +00:00
Guenter Knauf
a227554c26
fixed test makefile to generate config.h.
2007-08-08 16:32:42 +00:00
Daniel Stenberg
9f27d176f8
we work on 0.18 now, although it might be 1.0 - who knows?
2007-08-06 20:59:08 +00:00
Daniel Stenberg
bcc4fd6e82
0.17 re-indent
2007-08-06 20:50:22 +00:00
Daniel Stenberg
210459db4b
re-indented the source code with this script:
...
indent \
--braces-on-if-line \
--braces-after-struct-decl-line \
--space-after-cast \
--line-length 79 \
--comment-line-length 79 \
--cuddle-else \
--no-tabs \
--tab-size 8 \
--indent-level 4 \
--no-space-after-for \
--space-after-if \
--space-after-while \
--no-space-after-function-call-names \
*.[ch]
2007-08-06 20:48:04 +00:00
Daniel Stenberg
4c3dd3ea9f
0.16 news
2007-08-06 15:00:48 +00:00
James Housley
0d78e69016
libssh2_userauth_list() requires the lenght of the username to be passed,
...
and not the sizeof() the array holding it.
2007-08-03 15:08:28 +00:00
Daniel Stenberg
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.
2007-08-03 08:05:36 +00:00
Daniel Stenberg
9399ef83c4
this is generated, no need to commit it
2007-08-03 08:04:15 +00:00
Daniel Stenberg
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.
2007-07-31 11:00:29 +00:00
Daniel Stenberg
15e0f56d01
add large file magic checks, and make sure we update the config.h file in the
...
example/simple subdir as well
2007-07-31 10:04:57 +00:00
Daniel Stenberg
d2ef367552
create a private config.h file for the examples
2007-07-31 10:04:24 +00:00
Daniel Stenberg
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.
2007-07-30 22:55:43 +00:00
Daniel Stenberg
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.
2007-07-23 21:18:43 +00:00
Guenter Knauf
2b7856ad32
ooups - forgotten var added.
2007-07-22 02:15:31 +00:00
Guenter Knauf
9a1ce06e31
added keyboard-interactive auth method;
...
added 5. argument to specify auth method.
2007-07-22 02:07:55 +00:00
Guenter Knauf
c9413c628d
changed prelude file for gcc build.
2007-07-22 00:47:21 +00:00
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