Daniel Stenberg [Sat, 25 Apr 2009 21:01:28 +0000 (21:01 +0000)]
removed pointless file
Daniel Stenberg [Sat, 25 Apr 2009 20:56:09 +0000 (20:56 +0000)]
synced with current reality
Yang Tse [Sat, 25 Apr 2009 10:24:11 +0000 (10:24 +0000)]
Further narrow the use of the icc 9.1 optimizer workaround.
Previous workaround proved useful, and finally did not trigger any warning!
Daniel Stenberg [Fri, 24 Apr 2009 21:55:18 +0000 (21:55 +0000)]
- Kamil Dudka fixed another NSS-related leak when client certs were used.
Daniel Stenberg [Fri, 24 Apr 2009 21:46:42 +0000 (21:46 +0000)]
test 1099: "TFTP get first a non-existing file then an existing" added disabled
as things don't work right here!
Yang Tse [Fri, 24 Apr 2009 10:38:12 +0000 (10:38 +0000)]
Try a simpler variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
Previous workaround proved useful, but triggered the following warning:
warning #556: a value of type "volatile Curl_addrinfo *" cannot be assigned to an entity of type "Curl_addrinfo *"
Daniel Stenberg [Thu, 23 Apr 2009 22:08:36 +0000 (22:08 +0000)]
for is docs remarks
Daniel Stenberg [Thu, 23 Apr 2009 22:01:33 +0000 (22:01 +0000)]
- bug report #2779245 (curl.haxx.se/bug/view.cgi?id=2779245) by Rainer
Koenig pointed out that the man page didn't tell that the *_proxy
environment variables can be specified lower case or UPPER CASE and the
lower case takes precedence,
Daniel Stenberg [Thu, 23 Apr 2009 21:43:01 +0000 (21:43 +0000)]
CURLOPT_POSTQUOTE commands only run when no error
Yang Tse [Thu, 23 Apr 2009 11:09:20 +0000 (11:09 +0000)]
Try another variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
The #pragma optimize("", off) attempt did not fix the problem and SIGSEGV's in Curl_freeaddrinfo() were back.
Dan Fandrich [Thu, 23 Apr 2009 04:12:04 +0000 (04:12 +0000)]
Added new libcurl source files to Amiga, RiscOS and VC6 build files.
Yang Tse [Wed, 22 Apr 2009 15:03:05 +0000 (15:03 +0000)]
Disable optimizations when compiling function Curl_freeaddrinfo() with icc 9.1 on unix IA32.
Previous 'volatile' variables workaround proved useful, but it triggered the following warning:
warning #167: argument of type "volatile Curl_addrinfo *" is incompatible with parameter of type "void *"
Yang Tse [Wed, 22 Apr 2009 10:25:28 +0000 (10:25 +0000)]
avoid use of alloca()
Yang Tse [Tue, 21 Apr 2009 11:46:16 +0000 (11:46 +0000)]
libcurl's memory.h renamed to curl_memory.h
Yang Tse [Tue, 21 Apr 2009 10:26:58 +0000 (10:26 +0000)]
Moved potential inclusion of system's malloc.h and memory.h header files to
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
Yang Tse [Tue, 21 Apr 2009 09:03:15 +0000 (09:03 +0000)]
remove unnecessary typecast
Yang Tse [Tue, 21 Apr 2009 06:10:23 +0000 (06:10 +0000)]
ignore
Daniel Stenberg [Mon, 20 Apr 2009 21:41:17 +0000 (21:41 +0000)]
- Leanic Lefever reported a crash and did some detailed research on why and
how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html). The
conclusion was that if an error is detected and Curl_done() is called for
the connection, ftp_done() could at times return another error code that
then would take precedence and that new code confused existing logic that
works for the first error code (CURLE_SEND_ERROR) only.
Daniel Stenberg [Mon, 20 Apr 2009 17:53:06 +0000 (17:53 +0000)]
- Gisle Vanem noticed that --libtool would produce bogus strings at times for
OBJECTPOINT options. Now we've introduced a new function - my_setopt_str -
within the app for setting plain string options to avoid the risk of this
mistake happening.
Yang Tse [Sun, 19 Apr 2009 05:20:04 +0000 (05:20 +0000)]
attempt to workaround icc 9.1 optimizer induced problem
Daniel Stenberg [Sat, 18 Apr 2009 22:48:28 +0000 (22:48 +0000)]
escape the ' properly
Daniel Stenberg [Sat, 18 Apr 2009 22:18:35 +0000 (22:18 +0000)]
63. When CURLOPT_CONNECT_ONLY is used, the handle cannot reliably be re-used
for any further requests or transfers. The work-around is then to close that
handle with curl_easy_cleanup() and create a new. Some more details:
http://curl.haxx.se/mail/lib-2009-04/0300.html
Gisle Vanem [Sat, 18 Apr 2009 16:54:15 +0000 (16:54 +0000)]
Added 'slist.obj'.
Gisle Vanem [Sat, 18 Apr 2009 16:50:09 +0000 (16:50 +0000)]
Added HAVE_LIMITS_H.
Gisle Vanem [Sat, 18 Apr 2009 16:49:29 +0000 (16:49 +0000)]
Added '-DHAVE_LIMITS_H'.
Gisle Vanem [Sat, 18 Apr 2009 09:59:42 +0000 (09:59 +0000)]
Avoid compiler warning about unused argument.
Daniel Stenberg [Fri, 17 Apr 2009 22:36:13 +0000 (22:36 +0000)]
mention Pramod Sharma and "persistent connections when doing FTP over a HTTP proxy"
Daniel Stenberg [Fri, 17 Apr 2009 12:55:09 +0000 (12:55 +0000)]
As Jeff Pohlmeyer suggested: "pointer to 'char *'" is now instead put:
"pointer to a char pointer".
Daniel Stenberg [Fri, 17 Apr 2009 12:48:24 +0000 (12:48 +0000)]
- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP
proxy. libcurl would then wrongly close the connection after each
request. In his case it had the weird side-effect that it killed NTLM auth
for the proxy causing an inifinite loop!
I added test case 1098 to verify this fix. The test case does however not
properly verify that the transfers are done persistently - as I couldn't
think of a clever way to achieve it right now - but you need to read the
stderr output after a test run to see that it truly did the right thing.
Yang Tse [Fri, 17 Apr 2009 07:48:37 +0000 (07:48 +0000)]
remove compiler options used while debugging the icc 9.1 optimizer issue
Yang Tse [Fri, 17 Apr 2009 07:30:56 +0000 (07:30 +0000)]
re-enable all tests for all icc autobuilds
Yang Tse [Fri, 17 Apr 2009 07:30:25 +0000 (07:30 +0000)]
further narrow the use of the icc 9.1 optimizer workaround
Yang Tse [Thu, 16 Apr 2009 08:31:09 +0000 (08:31 +0000)]
attempt to workaround icc 9.1 optimizer induced problem
Yang Tse [Wed, 15 Apr 2009 22:58:30 +0000 (22:58 +0000)]
moved HAVE_LIMITS_H to common defines
Yang Tse [Wed, 15 Apr 2009 22:54:25 +0000 (22:54 +0000)]
Set HP-UX compiler warning level back to the one that exposes
the socklen_t issue on this platform.
Gunter Knauf [Wed, 15 Apr 2009 04:11:33 +0000 (04:11 +0000)]
moved HAVE_LIMITS_H to common defines (no idea why I didnt this initially already)
Yang Tse [Tue, 14 Apr 2009 23:51:12 +0000 (23:51 +0000)]
HAVE_LIMITS_H definition for NetWare CLIB
Daniel Stenberg [Tue, 14 Apr 2009 22:00:37 +0000 (22:00 +0000)]
first take at bundling cmake-related files in the tarball
Daniel Stenberg [Tue, 14 Apr 2009 22:00:18 +0000 (22:00 +0000)]
things in the pipe right now
Yang Tse [Tue, 14 Apr 2009 13:50:32 +0000 (13:50 +0000)]
use HAVE_LIMITS_H symbol to protect limits.h inclusion
Yang Tse [Tue, 14 Apr 2009 13:26:06 +0000 (13:26 +0000)]
include <limits.h> for INT_MAX definition
Yang Tse [Tue, 14 Apr 2009 12:53:53 +0000 (12:53 +0000)]
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
Benoit Neil [Tue, 14 Apr 2009 09:44:09 +0000 (09:44 +0000)]
(Minor change - From Piotr Dobrogost) Moved a line.
Daniel Stenberg [Tue, 14 Apr 2009 09:40:53 +0000 (09:40 +0000)]
Kamil Dudka's follow-up fix
Daniel Stenberg [Mon, 13 Apr 2009 18:01:02 +0000 (18:01 +0000)]
- bug report #2727981 (curl.haxx.se/bug/view.cgi?id=2727981) by Martin
Storsjo pointed out how setting CURLOPT_NOBODY to 0 could be downright
confusing as it set the method to either GET or HEAD. The example he showed
looked like:
curl_easy_setopt(curl, CURLOPT_PUT, 1);
curl_easy_setopt(curl, CURLOPT_NOBODY, 0);
The new way doesn't alter the method until the request is about to start. If
CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is
0 and the request happens to have been set to HEAD, it will then instead be
set to GET. I believe this will be less surprising to users, and hopefully
not hit any existing users badly.
Daniel Stenberg [Mon, 13 Apr 2009 17:42:10 +0000 (17:42 +0000)]
- Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned
out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue
is found in Redhat's bug tracker:
https://bugzilla.redhat.com/show_bug.cgi?id=453612
There are still memory leaks present, but they seem to have other reasons.
Yang Tse [Mon, 13 Apr 2009 07:18:39 +0000 (07:18 +0000)]
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
Yang Tse [Mon, 13 Apr 2009 03:47:16 +0000 (03:47 +0000)]
improve stunnel version detection
Dan Fandrich [Sat, 11 Apr 2009 07:06:34 +0000 (07:06 +0000)]
Added new libcurl source files to Symbian OS build files.
Improved Symbian support for SSL.
Yang Tse [Sat, 11 Apr 2009 06:36:47 +0000 (06:36 +0000)]
Use 'curl_socket_t' instead of 'int' for socket.
Avoid unnecessary'if-else' nesting.
Yang Tse [Sat, 11 Apr 2009 02:11:02 +0000 (02:11 +0000)]
fix compiler warning: enumerated type mixed with another type
Yang Tse [Fri, 10 Apr 2009 02:58:01 +0000 (02:58 +0000)]
Adjust comment
Yang Tse [Fri, 10 Apr 2009 02:50:21 +0000 (02:50 +0000)]
Daniel Johnson improved the MacOSX-Framework shell script to now perform all
the steps required to build a Mac OS X four way fat ppc/i386/ppc64/x86_64
libcurl.framework. Four way fat framework requires OS X 10.5 SDK or later.
Benoit Neil [Thu, 9 Apr 2009 21:16:28 +0000 (21:16 +0000)]
(Minor update) Moved some utilities to a separate file.
Benoit Neil [Thu, 9 Apr 2009 19:59:38 +0000 (19:59 +0000)]
Cleaned up the custom definition I added (replaced by CURL_STATICLIB)
Gunter Knauf [Thu, 9 Apr 2009 02:50:09 +0000 (02:50 +0000)]
some minor Makefile tweaks for latest libssh2.
Gunter Knauf [Thu, 9 Apr 2009 02:46:56 +0000 (02:46 +0000)]
add back most likely acciedently removed function name justtimeout to fix autobuild breaks.
Yang Tse [Thu, 9 Apr 2009 01:24:41 +0000 (01:24 +0000)]
Skip test #558 and #559 also when using a Win32 DLL
Benoit Neil [Wed, 8 Apr 2009 23:48:07 +0000 (23:48 +0000)]
(Minor update) Added labal prefixes to tests targets
Benoit Neil [Wed, 8 Apr 2009 23:35:09 +0000 (23:35 +0000)]
Added special define for tests that directly include libcurl sources.
Benoit Neil [Wed, 8 Apr 2009 23:20:04 +0000 (23:20 +0000)]
Made the windows .lib addition cleaner.
Benoit Neil [Wed, 8 Apr 2009 22:21:25 +0000 (22:21 +0000)]
Renamed a variable
Benoit Neil [Wed, 8 Apr 2009 20:54:36 +0000 (20:54 +0000)]
Fixed missing HAVE_PROCESS_H (caused a warning)
Benoit Neil [Wed, 8 Apr 2009 20:29:50 +0000 (20:29 +0000)]
Added newline ad the end of generated hugehelp.c (the "default" one, when it hasn't been generated before).
Gisle Vanem [Wed, 8 Apr 2009 18:37:11 +0000 (18:37 +0000)]
Avoid warnings when HAVE_ALRM and SIGALRM are not defined.
Gisle Vanem [Wed, 8 Apr 2009 18:31:54 +0000 (18:31 +0000)]
#ifdef around variables to squelsh warnings.
Benoit Neil [Wed, 8 Apr 2009 11:42:45 +0000 (11:42 +0000)]
Fixed compile defines in CMake scripts
Yang Tse [Wed, 8 Apr 2009 01:25:34 +0000 (01:25 +0000)]
Sun compilers specific preprocessor block removed from curlbuild.h.dist
Benoit Neil [Tue, 7 Apr 2009 22:49:02 +0000 (22:49 +0000)]
(Minor update) Modified a comment, before going to sleep :)
Daniel Stenberg [Tue, 7 Apr 2009 22:07:07 +0000 (22:07 +0000)]
and include the .inc files in the release tarballs...
Benoit Neil [Tue, 7 Apr 2009 21:59:15 +0000 (21:59 +0000)]
Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake scripts), and fixed a missing define under windows in a test source file.
Benoit Neil [Tue, 7 Apr 2009 21:00:50 +0000 (21:00 +0000)]
Added CURL_HIDDEN_SYMBOLS option, and fixed missing SIZEOF_INT causing warnings.
Daniel Stenberg [Tue, 7 Apr 2009 20:51:01 +0000 (20:51 +0000)]
clarified after chat in #curl
Benoit Neil [Tue, 7 Apr 2009 11:23:23 +0000 (11:23 +0000)]
(From Bill Hoffman & Sukender) Added Dashboard reports.
Benoit Neil [Tue, 7 Apr 2009 11:05:26 +0000 (11:05 +0000)]
Fixed tests/server build (removed unnecessary link to libcurl).
Benoit Neil [Mon, 6 Apr 2009 22:45:17 +0000 (22:45 +0000)]
Made the CMake scripts read Makefile.inc. Needs testing I guess.
Daniel Stenberg [Mon, 6 Apr 2009 21:44:53 +0000 (21:44 +0000)]
- I clarified in the docs that CURLOPT_SEEKFUNCTION should return 0 on success
and 1 on fatal errors. Previously it only mentioned non-zero on fatal
errors. This is a slight change in meaning, but it follows what we've done
elsewhere before and it opens up for LOTS of more useful return codes
whenever we can think of them...
Benoit Neil [Mon, 6 Apr 2009 21:05:44 +0000 (21:05 +0000)]
Added tests (exes) targets, refactor a few things.
PS: Once again, sorry if the added files have executable perms on Linux.
Benoit Neil [Mon, 6 Apr 2009 20:44:01 +0000 (20:44 +0000)]
Added curl (exe) target, fixed static/dynamic linking errors.
PS: Sorry if the added file has executable perms on Linux, I didn't found anything related to it...
Benoit Neil [Mon, 6 Apr 2009 19:43:52 +0000 (19:43 +0000)]
Removed the "lib" prefix under linux ("was "liblibcurl") and fixed import library name under Win32 (Added "_imp" for dynamically linked).
Benoit Neil [Mon, 6 Apr 2009 19:22:31 +0000 (19:22 +0000)]
Fixed Win32 link error and disabled MSVC specific (=annoying) warnings (Reported by Bill Hoffman)
Yang Tse [Fri, 3 Apr 2009 12:08:32 +0000 (12:08 +0000)]
fix compiler warning: passing arg 1 of `sk_num' from incompatible pointer type
Benoit Neil [Thu, 2 Apr 2009 23:12:22 +0000 (23:12 +0000)]
Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman)
Yang Tse [Thu, 2 Apr 2009 18:50:39 +0000 (18:50 +0000)]
Fix curl_off_t definition for builds done using Sun compilers and a
non-configured libcurl. In this case curl_off_t data type was gated
to the off_t data type which depends on the _FILE_OFFSET_BITS. This
configuration is exactly the unwanted configuration for our curl_off_t
data type which must not depend on such setting. This breaks ABI for
libcurl libraries built with Sun compilers which were built without
having run the configure script with _FILE_OFFSET_BITS different than
64 and using the ILP32 data model.
Benoit Neil [Thu, 2 Apr 2009 13:14:53 +0000 (13:14 +0000)]
Initial CMake scripts (libcurl only), based on the merge of tetest scripts and mine. These are far to be functionnal yet.
PS: Hello world :)
Dan Fandrich [Thu, 2 Apr 2009 04:41:03 +0000 (04:41 +0000)]
Added the curl_easy_recv return code fix
Daniel Stenberg [Wed, 1 Apr 2009 12:15:37 +0000 (12:15 +0000)]
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
strdup() call failed.
Dan Fandrich [Tue, 31 Mar 2009 14:49:25 +0000 (14:49 +0000)]
Properly return an error code in curl_easy_recv (reported by Jim Freeman).
Gunter Knauf [Sun, 29 Mar 2009 19:40:00 +0000 (19:40 +0000)]
some minor Makefile tweaks.
Daniel Stenberg [Fri, 20 Mar 2009 23:28:20 +0000 (23:28 +0000)]
Gary Maxwell helped us clarify that CURLOPT_SHARE specificly needs the locking
functions if the easy handles are used in multiple threads
Daniel Stenberg [Fri, 20 Mar 2009 12:42:29 +0000 (12:42 +0000)]
removed useless comment
Yang Tse [Wed, 18 Mar 2009 13:58:29 +0000 (13:58 +0000)]
Add a link to "Potential Errors Passing CRT Objects Across DLL Boundaries"
Daniel Stenberg [Wed, 18 Mar 2009 12:48:51 +0000 (12:48 +0000)]
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
explicitly.
Daniel Stenberg [Wed, 18 Mar 2009 09:14:28 +0000 (09:14 +0000)]
minor fix
Gisle Vanem [Sun, 15 Mar 2009 13:43:47 +0000 (13:43 +0000)]
If CURL_DISABLE_PROXY is defined, we must allow socks_sspi.c to call
Curl_blockread_all(). It is needed in code inside USE_WINDOWS_SSPI.
Daniel Stenberg [Fri, 13 Mar 2009 10:02:26 +0000 (10:02 +0000)]
we use libssh2_version() now if available
Daniel Stenberg [Fri, 13 Mar 2009 09:58:15 +0000 (09:58 +0000)]
- Use libssh2_version() to present the libssh2 version in case the libssh2
library is found to support it.
Yang Tse [Thu, 12 Mar 2009 13:18:25 +0000 (13:18 +0000)]
Fix TELNET transfers not being aborted upon write callback failures
Yang Tse [Thu, 12 Mar 2009 02:12:05 +0000 (02:12 +0000)]
Add Curl_read() return code checking
Daniel Stenberg [Wed, 11 Mar 2009 23:00:31 +0000 (23:00 +0000)]
Oops, make the memory magic debug stuff done before global init too just to
catch them all. The memory debug stuff is not in the public API anyway.