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.
Daniel Stenberg [Wed, 11 Mar 2009 22:56:03 +0000 (22:56 +0000)]
- Kamil Dudka made the curl tool properly call curl_global_init() before any
other libcurl function.
Daniel Stenberg [Wed, 11 Mar 2009 09:00:34 +0000 (09:00 +0000)]
update the embedded copyright year
Yang Tse [Wed, 11 Mar 2009 05:09:03 +0000 (05:09 +0000)]
s/u_long/unsigned long/
Yang Tse [Wed, 11 Mar 2009 04:45:18 +0000 (04:45 +0000)]
fix previous commit misplaced break statement
Yang Tse [Wed, 11 Mar 2009 04:15:33 +0000 (04:15 +0000)]
Added TELNET timeout support for Windows builds
Daniel Stenberg [Tue, 10 Mar 2009 10:00:06 +0000 (10:00 +0000)]
Moved 7.19.2 and older entries from CHANGES to CHANGES.0 (the latter is not
shipped in release archives but is only in CVS)
Daniel Stenberg [Mon, 9 Mar 2009 12:21:46 +0000 (12:21 +0000)]
- Frank Hempel found out a bug and provided the fix:
curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
option. It only enabled the cookie engine in the destination handle if
data->cookies is not NULL (where data is the source handle). In case of a
newly initialized handle which just had the cookie support enabled by a
curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was
still NULL because the setopt-call only appends the value to
data->change.cookielist, hence duplicating this handle would not have the
cookie engine switched on.
We also concluded that the slist-functionality would be suitable for being
put in its own module rather than simply hanging out in lib/sendf.c so I
created lib/slist.[ch] for them.
Daniel Stenberg [Mon, 9 Mar 2009 09:24:31 +0000 (09:24 +0000)]
- Andreas Farber made the 'buildconf' script check for the presence of m4
scripts to make it detect a bad checkout earlier. People with older
checkouts who don't do cvs update with the -d option won't get the new dirs
and then will get funny outputs that can be a bit hard to understand and
fix.
Dan Fandrich [Mon, 9 Mar 2009 04:32:51 +0000 (04:32 +0000)]
Avoid a compile warning in --disable-proxy case
Daniel Stenberg [Sun, 8 Mar 2009 22:56:55 +0000 (22:56 +0000)]
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
allocation of the memory BIO was not being properly checked.
Daniel Stenberg [Sun, 8 Mar 2009 22:52:05 +0000 (22:52 +0000)]
- Andre Guibert de Bruet fixed the gnutls-using code: There are a few places
in the gnutls code where we were checking for negative values for errors,
when the man pages state that GNUTLS_E_SUCCESS is returned on success and
other values indicate error conditions.
Daniel Stenberg [Sun, 8 Mar 2009 22:45:59 +0000 (22:45 +0000)]
Andre Guibert de Bruet fixed a typo in the error message
Daniel Stenberg [Sun, 8 Mar 2009 22:42:50 +0000 (22:42 +0000)]
- Bill Egert pointed out (curl.haxx.se/bug/view.cgi?id=2671602) that
curl didn't use sprintf() in a way that is documented to work in POSIX but
since we use our own printf() code (from libcurl) that shouldn't be a
problem. Nonetheless I modified the code to not rely on such particular
features and to not cause further raised eyebrowse with no good reason.
Dan Fandrich [Thu, 5 Mar 2009 06:44:18 +0000 (06:44 +0000)]
Expanded the security section of the libcurl-tutorial man page to cover
more issues for authors to consider when writing robust libcurl-using
applications.
Yang Tse [Thu, 5 Mar 2009 01:23:14 +0000 (01:23 +0000)]
Fix NTLM authentication memory leak on SSPI enabled Windows builds
Dan Fandrich [Wed, 4 Mar 2009 08:09:39 +0000 (08:09 +0000)]
Fixed a problem with m4 quoting in the OpenSSL configure check reported
by Daniel Johnson.
Daniel Stenberg [Tue, 3 Mar 2009 13:25:19 +0000 (13:25 +0000)]
Added test 1097 to verify the bug Axel Kuhn epidox posted on March 3 2009
on curl-users, it is also added to DISABLED since I don't have time to work
on it further right now.
Daniel Stenberg [Tue, 3 Mar 2009 11:01:24 +0000 (11:01 +0000)]
- David James brought a patch that make libcurl close (all) dead connections
whenever you attempt to open a new connection.
Daniel Stenberg [Tue, 3 Mar 2009 10:41:11 +0000 (10:41 +0000)]
15 additional contributor from the 7.19.4 RELEASE-NOTES
Daniel Stenberg [Tue, 3 Mar 2009 10:02:26 +0000 (10:02 +0000)]
Gah! We can't have 'curl' added here since even though it removes the curl
binary it also removes the include/curl subdir!
Patrick Monnerat [Tue, 3 Mar 2009 09:57:21 +0000 (09:57 +0000)]
Options CURLOPT_REDIR_PROTOCOLS and CURLOPT_PROTOCOLS, and associated definitions added to RPG binding
Daniel Stenberg [Mon, 2 Mar 2009 23:44:42 +0000 (23:44 +0000)]
start over on the journey towards 7.19.5
Daniel Stenberg [Mon, 2 Mar 2009 23:05:31 +0000 (23:05 +0000)]
- David Kierznowski notified us about a security flaw
(http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in
which previous libcurl versions (by design) can be tricked to access an
arbitrary local/different file instead of a remote one when
CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release
together this the addition of two new setopt options for controlling this
new behavior:
o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to
follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option
excludes the FILE and SCP protocols and thus you nee to explicitly allow
them in your app if you really want that behavior.
o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch
using the primary URL option. This is useful if you want to allow a user or
other outsiders control what URL to pass to libcurl and yet not allow all
protocols libcurl may have been built to support.
Daniel Stenberg [Mon, 2 Mar 2009 10:43:46 +0000 (10:43 +0000)]
7.19.4 won't get anything else
Daniel Stenberg [Mon, 2 Mar 2009 09:03:11 +0000 (09:03 +0000)]
the Eiffel binding
Daniel Stenberg [Sun, 1 Mar 2009 14:20:26 +0000 (14:20 +0000)]
nothing more left for 7.19.4, the issue #216 is moved to 7.19.5 since we're
too close to release now
Yang Tse [Sat, 28 Feb 2009 01:35:53 +0000 (01:35 +0000)]
for portability reasons: s/inet_pton/Curl_inet_pton/
Yang Tse [Sat, 28 Feb 2009 01:11:57 +0000 (01:11 +0000)]
fix compiler warning
Daniel Stenberg [Fri, 27 Feb 2009 13:52:05 +0000 (13:52 +0000)]
mention the '-o -' trick
Daniel Stenberg [Fri, 27 Feb 2009 12:11:08 +0000 (12:11 +0000)]
217 - Dan Fandrich's "GnuTLS initialization thread safety"
218 - Senthil Raja Velu's "CURLOPT_LOCALPORT option broken", patch by
Markus Koetter
Both are now committed
Daniel Stenberg [Fri, 27 Feb 2009 12:07:14 +0000 (12:07 +0000)]
- Senthil Raja Velu reported a problem when CURLOPT_INTERFACE and
CURLOPT_LOCALPORT were used together (the local port bind failed), and
Markus Koetter provided the fix!
Daniel Stenberg [Fri, 27 Feb 2009 08:53:10 +0000 (08:53 +0000)]
Indentation fixes, untabify and related whitespace-cleanup. No code changed.
Daniel Stenberg [Wed, 25 Feb 2009 12:51:39 +0000 (12:51 +0000)]
corrected and clarified the top comment
Daniel Stenberg [Wed, 25 Feb 2009 12:51:17 +0000 (12:51 +0000)]
- As Daniel Fandrich figured out, we must do the GnuTLS initing in the
curl_global_init() function to properly maintain the performing functions
thread-safe. We've previously (28 April 2007) moved the init to a later time
just to avoid it to fail very early when libgcrypt dislikes the situation,
but that move was bad and the fix should rather be in libgcrypt or
elsewhere.
Daniel Stenberg [Tue, 24 Feb 2009 09:42:39 +0000 (09:42 +0000)]
improved
Daniel Stenberg [Tue, 24 Feb 2009 09:35:55 +0000 (09:35 +0000)]
A handy little helper file for doing recursive diffs on curl source/build trees
without involving CVS:
diff -X diff-exclude -ru curl-old curl-patched
Daniel Stenberg [Tue, 24 Feb 2009 08:30:09 +0000 (08:30 +0000)]
- Brian J. Murrell found out that Negotiate proxy authentication didn't work.
It happened because the code used the struct for server-based auth all the
time for both proxy and server auth which of course was wrong.
Daniel Stenberg [Mon, 23 Feb 2009 21:21:00 +0000 (21:21 +0000)]
4.17 Non-functional connect timeouts
Daniel Stenberg [Mon, 23 Feb 2009 18:45:00 +0000 (18:45 +0000)]
- After a bug reported by James Cheng I've made curl_easy_getinfo() for
CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return
-1 if the sizes aren't know. Previously these returned 0, make it impossible
to detect the difference between actually zero and unknown.
Daniel Stenberg [Mon, 23 Feb 2009 16:28:51 +0000 (16:28 +0000)]
For 7.19.5 (due to feature freeze)
220 - Take advantage of libssh2_version() that's been added for the upcoming
1.1, to extract the run-time version number properly.
Yang Tse [Mon, 23 Feb 2009 14:34:40 +0000 (14:34 +0000)]
adjustment for new Mac OS X framework build script
Yang Tse [Mon, 23 Feb 2009 12:39:06 +0000 (12:39 +0000)]
Daniel Johnson provided a shell script that will perform all the steps needed
to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework
Daniel Stenberg [Mon, 23 Feb 2009 10:40:36 +0000 (10:40 +0000)]
mention default port number
Daniel Stenberg [Mon, 23 Feb 2009 09:36:54 +0000 (09:36 +0000)]
- I renamed everything in the windows builds files that used the name 'curllib'
to the proper 'libcurl' as clearly this caused confusion.
Daniel Stenberg [Mon, 23 Feb 2009 09:36:08 +0000 (09:36 +0000)]
lzma compressed tarballs too for some testing, it does produce MUCH smaller
files
Yang Tse [Mon, 23 Feb 2009 01:04:18 +0000 (01:04 +0000)]
use the internal snprintf() function
Daniel Stenberg [Fri, 20 Feb 2009 22:56:55 +0000 (22:56 +0000)]
mention 4 pending fixes/patches
Yang Tse [Fri, 20 Feb 2009 12:10:23 +0000 (12:10 +0000)]
Mark Incley noticed VS2008 compilation halting when building for Windows 2000
Yang Tse [Fri, 20 Feb 2009 11:30:11 +0000 (11:30 +0000)]
Do not halt compilation when using VS2008 to build a Windows 2000 target
Daniel Stenberg [Fri, 20 Feb 2009 09:14:25 +0000 (09:14 +0000)]
clarified the FTP passive/active mode options somewhat
Daniel Stenberg [Fri, 20 Feb 2009 08:19:19 +0000 (08:19 +0000)]
the FTP multi interface bug