]>
granicus.if.org Git - curl/log
Yang Tse [Tue, 24 May 2011 13:18:26 +0000 (15:18 +0200)]
compiler warning: fix
Fix compiler warning: expression has no effect
Yang Tse [Mon, 23 May 2011 17:37:41 +0000 (19:37 +0200)]
compiler warning: fix
Fix compiler warning: `keycheck' might be used uninitialized in this function.
Fix compiler warning: `keybit' might be used uninitialized in this function.
Yang Tse [Mon, 23 May 2011 17:04:49 +0000 (19:04 +0200)]
compiler warning: fix
Fix variable declaration placement
Yang Tse [Mon, 23 May 2011 14:59:43 +0000 (16:59 +0200)]
compiler warning: fix
Fix missing semicolon
Yang Tse [Mon, 23 May 2011 14:55:49 +0000 (16:55 +0200)]
compiler warning: fix
Fix compiler warning: expression has no effect
Fix OOM handling
Yang Tse [Mon, 23 May 2011 14:55:09 +0000 (16:55 +0200)]
compiler warning: fix
Fix compiler warning: expression has no effect
Yang Tse [Mon, 23 May 2011 10:57:23 +0000 (12:57 +0200)]
compiler warning: fix
Fix compiler warning: unused variable 'data'
Yang Tse [Sat, 21 May 2011 13:06:50 +0000 (15:06 +0200)]
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 21 May 2011 12:59:03 +0000 (14:59 +0200)]
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 21 May 2011 12:55:10 +0000 (14:55 +0200)]
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 21 May 2011 12:39:42 +0000 (14:39 +0200)]
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 21 May 2011 12:10:17 +0000 (14:10 +0200)]
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 21 May 2011 11:46:37 +0000 (13:46 +0200)]
compiler warning: fix
Fix compiler warning: empty body in an if-statement
Yang Tse [Sat, 21 May 2011 11:22:11 +0000 (13:22 +0200)]
unit tests: adjust header inclusion order
Additionally, prevent multiple inclusions of curl_config.h
Daniel Stenberg [Fri, 20 May 2011 21:45:16 +0000 (14:45 -0700)]
Merge pull request #19 from pierrejoye/master
winbuild: typo in docs
Ola Mork [Fri, 20 May 2011 21:40:59 +0000 (23:40 +0200)]
cyassl: build without filesystem
Get cyassl's NO_FILESYSTEM to work with libcurl. Otherwise I'd get linker
errors for the missing "SSL_CTX_load_verify_locations" functions.
Pierre Joye [Fri, 20 May 2011 11:35:23 +0000 (13:35 +0200)]
- typo
Daniel Stenberg [Wed, 18 May 2011 21:46:57 +0000 (23:46 +0200)]
typo: close is in man page section 3
Yang Tse [Thu, 19 May 2011 20:28:28 +0000 (22:28 +0200)]
tests: verify OPEN/CLOSESOCKETFUNCTION
Test 585: Fix opensocket return type, and avoid function name clash.
Yang Tse [Thu, 19 May 2011 09:48:32 +0000 (11:48 +0200)]
version: linkage fix
Fix linkage on c-ares enabled Windows static builds
Daniel Stenberg [Wed, 18 May 2011 20:30:10 +0000 (22:30 +0200)]
curl_easy_setopt.3: document CLOSESOCKET* options
Daniel Stenberg [Wed, 18 May 2011 19:48:14 +0000 (21:48 +0200)]
tests: verify OPEN/CLOSESOCKETFUNCTION
Test 585 and 586 were added. Using a modified lib500.c
Daniel Stenberg [Mon, 16 May 2011 21:53:38 +0000 (23:53 +0200)]
symbols-in-versions: add CLOSESOCKET*
Daniel Stenberg [Mon, 16 May 2011 21:52:15 +0000 (23:52 +0200)]
CLOSESOCKETFUNCTION: use the callback
Fix the return type of the callback to match close() and make use of it.
Daniel Stenberg [Mon, 16 May 2011 21:46:43 +0000 (23:46 +0200)]
CLOSESOCKETFUNCTION: added
Introduced the initial setup to allow closesocket callbacks by making
sure sclose() is only ever called from one place in the libcurl source
and still run all test cases fine.
Daniel Stenberg [Wed, 18 May 2011 18:48:42 +0000 (20:48 +0200)]
GnuTLS handshake: fix timeout
Commit
cbf4961bf3e garbled the timeout handling while doing SSL
handshaking (in an attempt at fixing another bug). This puts sanity
back.
Bug: http://curl.haxx.se/mail/lib-2011-05/0167.html
Reported by: Ethan Glasser Camp
Daniel Stenberg [Mon, 16 May 2011 13:21:04 +0000 (15:21 +0200)]
checksrc: trailing whitespace detection fix
Marcel Roelofs [Mon, 16 May 2011 09:19:03 +0000 (11:19 +0200)]
negotiate sspi: fix sequential requests
Daniel Stenberg [Fri, 13 May 2011 06:55:15 +0000 (08:55 +0200)]
tests: added HTTP If-Modified-Since tests
Added test 1126 and 1127 to verify curl's behaviour when If-Modified-Since
is used and a 200 is returned.
The list of test cases in Makefile.am is now sorted numerically.
Daniel Stenberg [Tue, 3 May 2011 20:39:38 +0000 (22:39 +0200)]
include: cleanup
Made the public headers checksrc compliant
Removed types.h (it's been unused since April 2004)
Made the root makefile do make in include by default as well, so that
TAGS and the checksrc will work better.
Dan Fandrich [Fri, 6 May 2011 20:48:59 +0000 (13:48 -0700)]
Fixed compilation when RTSP is disabled
Dan Fandrich [Fri, 6 May 2011 20:48:24 +0000 (13:48 -0700)]
Fixed LDAP after RTSP readwrite change
Daniel Stenberg [Fri, 6 May 2011 09:26:37 +0000 (11:26 +0200)]
RELEASE-NOTES: synced with
32001ac4149b206
Daniel Stenberg [Thu, 5 May 2011 15:07:21 +0000 (17:07 +0200)]
set_userpass: convert from protocol-specific to generic
The protocol handler's flags field now can set that the protocol
requires a password, so that the set_userpass function doesn't have to
have the specific knowledge of which protocols that do.
Daniel Stenberg [Thu, 5 May 2011 14:53:05 +0000 (16:53 +0200)]
RTSP: cleanups
Made several functions static
Made one function defined to nothing when RTSP is disabled to avoid
the #ifdefs in code.
Removed explicit rtsp.h includes
Daniel Stenberg [Thu, 5 May 2011 14:27:03 +0000 (16:27 +0200)]
RTSP: convert protocol-specific checks to generic
Add a 'readwrite' function to the protocol handler struct and use that
for the extra readwrite functionality RTSP needs.
Daniel Stenberg [Thu, 5 May 2011 13:49:43 +0000 (15:49 +0200)]
SSL: check for SSL, not specific protocols
Code cleanup to check less for protocols and more for the specific
relevant feature. Like if SSL is required.
Daniel Stenberg [Thu, 5 May 2011 13:38:01 +0000 (15:38 +0200)]
http_perhapsrewind: remove HTTP check
No need to check for HTTP as this is now a HTTP-specific function
Daniel Stenberg [Thu, 5 May 2011 13:18:31 +0000 (15:18 +0200)]
http_perhapsrewind:
make it static, remove Curl_ prefix
Daniel Stenberg [Thu, 5 May 2011 13:14:19 +0000 (15:14 +0200)]
remove FILE protocol-specific checks
Also, convert the BANPROXY flag into NONETWORK for the protocols
(file:// only atm) that don't work over networks.
Daniel Stenberg [Thu, 5 May 2011 09:54:58 +0000 (11:54 +0200)]
curl.1: --socks* options no longer needed
As we now can specify all the socks proxy types with the regular --proxy
option using protocol prefix.
Daniel Stenberg [Thu, 5 May 2011 09:47:55 +0000 (11:47 +0200)]
socks proxy: allow socks5h:// prefix too
Using 'socks5h' as proxy protocol will make it a
CURLPROXY_SOCKS5_HOSTNAME proxy which is SOCKS5 and asking the proxy to
resolve host names. I found no "standard" protocol name for this.
Daniel Stenberg [Thu, 5 May 2011 09:28:03 +0000 (11:28 +0200)]
curl.1: minor edit of --ftp-ssl*
Jari Aalto [Thu, 5 May 2011 09:26:12 +0000 (11:26 +0200)]
curl.1: use GNU style and sort options
Follow style of GNU layout (cp, mv ...) where options are separated with
comma: -o, --option
Order item alphabetically (by length also): -o, -O, --option
Follow style of GNU layout by moving help related options to the end:
--help, -M, --version
Daniel Stenberg [Wed, 4 May 2011 22:02:39 +0000 (00:02 +0200)]
Corrected comments
closepolicy has been deprecated and unused for years
Daniel Stenberg [Wed, 4 May 2011 21:56:18 +0000 (23:56 +0200)]
ConnectionStore: remove unused return code
Daniel Stenberg [Wed, 4 May 2011 21:45:30 +0000 (23:45 +0200)]
indent correctly
Daniel Stenberg [Tue, 3 May 2011 20:47:56 +0000 (22:47 +0200)]
curl_easy_getinfo.3: clarify some timing info
Daniel Stenberg [Mon, 2 May 2011 21:31:38 +0000 (23:31 +0200)]
curl_easy_setopt.3: clarify the SSH KEYFILE options usage
The internal defaults are important info
Daniel Stenberg [Mon, 2 May 2011 20:15:14 +0000 (22:15 +0200)]
docs: mention the protocol:// support in proxy strings
Daniel Stenberg [Mon, 2 May 2011 12:40:17 +0000 (14:40 +0200)]
--data-ascii: add mention
As it is a separate option it should have a .IP title
Daniel Stenberg [Mon, 2 May 2011 09:14:30 +0000 (11:14 +0200)]
url encode docs: mention '-', '.', '_' and '~'
Clarify that the '-', '.', '_' or '~' letters are also not escaped since
they shouldn't according to RFC3986 section 2.3.
This is how this function has behaved since sep 2010, commit
5df13c31735fa0 .
Daniel Stenberg [Sun, 1 May 2011 21:01:31 +0000 (23:01 +0200)]
SSH: set non-blocking earlier
Introduce an INIT state for the SSH state machine and set libssh2
non-blocking in that so that it is set properly before
libssh2_session_startup() is called.
Bug: http://curl.haxx.se/mail/archive-2011-05/0001.html
Daniel Stenberg [Sat, 30 Apr 2011 16:49:35 +0000 (18:49 +0200)]
curl_formfree.3: mention argument may be NULL
As the code already checks for it we can just as well make it official!
Daniel Stenberg [Fri, 29 Apr 2011 14:46:49 +0000 (16:46 +0200)]
ConnectionExists: avoid NULL dereference
When checking for connections that are bound to a particular device we
must make sure we don't compare with a NULL pointer.
Daniel Stenberg [Fri, 29 Apr 2011 14:33:45 +0000 (16:33 +0200)]
resolver_error: remove bad semicolon
Daniel Stenberg [Thu, 28 Apr 2011 20:23:11 +0000 (22:23 +0200)]
RELEASE-NOTES: synced with
c4bc1d473f324
Daniel Stenberg [Thu, 28 Apr 2011 20:14:05 +0000 (22:14 +0200)]
anyauthput.c: stdint.h must not be included unconditionally
As it is already included by curlbuild.h if it exists on the platform it
was included here superfluously anyway.
Reported by: Dagobert Michelsen
Bug: http://curl.haxx.se/bug/view.cgi?id=
3294509
Daniel Stenberg [Wed, 27 Apr 2011 11:20:27 +0000 (13:20 +0200)]
gai_strerror: provide private implementation
There are systems (like NetWare) without its own gai_strerror()
function.
Daniel Stenberg [Wed, 27 Apr 2011 11:07:49 +0000 (13:07 +0200)]
treaded-resolver: better error messages
Now use gai_strerror() to get proper error messages when getaddrinfo()
has failed. Detect the function in configure.
Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
Daniel Stenberg [Wed, 27 Apr 2011 12:44:00 +0000 (14:44 +0200)]
proxy: allow socks:// prefix in proxy string
Inspired by a patch from OB.Conseil. Added test case 708 to verify.
Zmey Petroff [Wed, 27 Apr 2011 20:05:07 +0000 (00:05 +0400)]
CMake: improve library search, implement install.
Improved library search by check_function_exists_concat() macro:
it does not revert the list of libraries any more.
Improved OpenSSL library search: first find zlib, then search for
openssl libraries that may depend on zlib.
For Unix: openssl libraries can now be detected in nonstandard
locations. Supply CMAKE_LIBRARY_PATH to CMake on command line.
Added installation capability (very basic one yet).
Daniel Stenberg [Thu, 28 Apr 2011 07:39:33 +0000 (09:39 +0200)]
multi-socks: fix connect to proxy
When connecting to a socks or similar proxy we do the proxy handshake at
once when we know the TCP connect is completed and we only consider the
"connection" complete after the proxy handshake. This fixes test 564
which is now no longer considered disabled.
Reported by: Dmitri Shubin
Bug: http://curl.haxx.se/mail/lib-2011-04/0127.html
Daniel Stenberg [Thu, 28 Apr 2011 07:21:20 +0000 (09:21 +0200)]
cleanup: remove old unused debug code
Dan Fandrich [Wed, 27 Apr 2011 19:42:15 +0000 (12:42 -0700)]
Make checksrc.pl work on out-of-tree builds
Source files given with absolute paths do not have the
-D directory specifier prepended.
Daniel Stenberg [Wed, 27 Apr 2011 09:42:02 +0000 (11:42 +0200)]
make: add checksrc.pl to dist
Daniel Stenberg [Wed, 27 Apr 2011 08:23:27 +0000 (10:23 +0200)]
make: add 'checksrc' as target to check code style
The make target checksrc now works in the root makefile and in both the
src and lib directories.
It is also run automatically on "all" if configure --enable-debug was
used.
Daniel Stenberg [Mon, 25 Apr 2011 20:44:39 +0000 (22:44 +0200)]
checksrc: whitespace and code style cleanup
Make everything adhere to the standards upheld by checksrc.pl and now
run checksrc from the makefile on debug builds.
Daniel Stenberg [Mon, 25 Apr 2011 20:43:02 +0000 (22:43 +0200)]
checksrc: add -W to allow a file to be whitelisted
Useful when a known file just doesn't comply and there's no intention to
make it do so.
Daniel Stenberg [Fri, 22 Apr 2011 21:01:30 +0000 (23:01 +0200)]
whitespace cleanup: no space first in conditionals
"if(a)" is our style, not "if( a )"
Daniel Stenberg [Fri, 22 Apr 2011 21:00:31 +0000 (23:00 +0200)]
lib/make: run checksrc.pl once for all files
Since it now supports multiple files this will be faster and will show
problems for more file than one at a time - more convenient.
Daniel Stenberg [Fri, 22 Apr 2011 20:58:17 +0000 (22:58 +0200)]
checksrc: scan many files, more checks
It now scans multiple files and outputs an error+warning count summary
at the end in case at least one was detected.
-D can be used to specify in which dir the files are located
The script now scans for conditions that starts with a space for
if/while/for lines.
Daniel Stenberg [Wed, 20 Apr 2011 20:44:38 +0000 (22:44 +0200)]
Makefile: run checksrc if debug enabled
And make the build fail if a warning or error was detected
Daniel Stenberg [Wed, 20 Apr 2011 20:44:08 +0000 (22:44 +0200)]
checksrc: exit error code if warnings or errors
Daniel Stenberg [Wed, 20 Apr 2011 20:43:41 +0000 (22:43 +0200)]
SSH: move knownhost logic to separate function
Daniel Stenberg [Wed, 20 Apr 2011 13:17:42 +0000 (15:17 +0200)]
source cleanup: unify look, style and indent levels
By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.
Guenter Knauf [Wed, 27 Apr 2011 01:45:18 +0000 (03:45 +0200)]
Windows native IDN fixes.
For now provide prototypes instead of including the
non-standard normalisation.h which is only available in the
"Internationalized Domain Names Mitigation APIs" download.
Dan Fandrich [Tue, 26 Apr 2011 04:58:37 +0000 (21:58 -0700)]
Fixed compiler warning in Windows SSPI case
Dan Fandrich [Tue, 26 Apr 2011 02:01:40 +0000 (19:01 -0700)]
Fixed compilation when the synchronous resolver is used
Dan Fandrich [Tue, 26 Apr 2011 01:07:32 +0000 (18:07 -0700)]
Added new resolver sources to Symbian and VC6 build files
Daniel Stenberg [Mon, 25 Apr 2011 17:50:56 +0000 (19:50 +0200)]
hostip: comment fixed to state current situation
Daniel Stenberg [Sun, 30 Jan 2011 23:10:35 +0000 (00:10 +0100)]
async resolvers: further cleanups
asyn-ares.c and asyn-thread.c are two separate backends that implement
the same (internal) async resolver API for libcurl to use. Backend is
specified at build time.
The internal resolver API is defined in asyn.h for asynch resolvers.
Daniel Stenberg [Sun, 30 Jan 2011 00:00:52 +0000 (01:00 +0100)]
asynch resolvers: cleanup
Fixed indents, coding conventions and white space edits.
Modified the c-ares completion callback function to again NOT read the
conn data when the ares handle is being taken down as then it may have
been freed already.
Vsevolod Novikov [Sat, 29 Jan 2011 19:12:10 +0000 (20:12 +0100)]
asynch resolvers: unified
Introducing an internal API for handling of different async resolver
backends.
Guenter Knauf [Sun, 24 Apr 2011 16:58:07 +0000 (18:58 +0200)]
Enabled OpenWatcom native Windows IDN build.
For now we directly import the Idn* symbols with the linker;
an upcoming release of OWC will have these added to the import
lib normaliz.lib, and prototypes are added to winnnls.h.
Daniel Stenberg [Wed, 20 Apr 2011 14:08:28 +0000 (16:08 +0200)]
NTLM: work with unicode
Rewritten code from a patch brought by Matteo Rocco.
Daniel Stenberg [Fri, 22 Apr 2011 20:02:55 +0000 (22:02 +0200)]
bump version: work towards 7.21.7
Daniel Stenberg [Fri, 22 Apr 2011 20:02:33 +0000 (22:02 +0200)]
THANKS: contributors from 7.21.6
Daniel Stenberg [Fri, 22 Apr 2011 17:17:26 +0000 (19:17 +0200)]
RELEASE-NOTES: two more contributors
Dan Fandrich [Thu, 21 Apr 2011 21:47:35 +0000 (14:47 -0700)]
Fixed test 1023 when using daily snapshots
Dan Fandrich [Thu, 21 Apr 2011 21:47:07 +0000 (14:47 -0700)]
Include unistd.h to declare close()
Fabian Keil [Tue, 19 Apr 2011 13:55:37 +0000 (15:55 +0200)]
In lib/, change 'wanna' to 'want to'.
Found with codespell.
Fabian Keil [Tue, 19 Apr 2011 14:08:24 +0000 (16:08 +0200)]
Fix spelling errors in buildconf
Found with codespell.
Fabian Keil [Tue, 19 Apr 2011 14:06:47 +0000 (16:06 +0200)]
Fix spelling errors in src/
Found with codespell.
Fabian Keil [Tue, 19 Apr 2011 14:05:17 +0000 (16:05 +0200)]
Fix spelling errors in include/
Fabian Keil [Tue, 19 Apr 2011 13:54:13 +0000 (15:54 +0200)]
Fix a couple of spelling errors in lib/
Found with codespell.
Julien Chaffraix [Thu, 14 Apr 2011 14:15:12 +0000 (07:15 -0700)]
transfer.c: Fixed indentation in readwrite_data.
Dan Fandrich [Wed, 20 Apr 2011 23:51:44 +0000 (16:51 -0700)]
Fixed closing test tag
Daniel Stenberg [Wed, 20 Apr 2011 21:59:36 +0000 (23:59 +0200)]
RELEASE-NOTES: synced with
3242abd87a1262
Daniel Stenberg [Wed, 20 Apr 2011 21:37:29 +0000 (23:37 +0200)]
SFTP: close file before postquote
Make sure that files are closed before the post quote commands run as if
they operate on the just transferred file they could otherwise easily
fail.
Patch by: Rajesh Naganathan (edited)