Yang Tse [Thu, 21 Aug 2008 01:55:33 +0000 (01:55 +0000)]
Fixed a couple of bugs in libcurl's internal curl_m*printf() functions.
Yang Tse [Thu, 21 Aug 2008 01:49:19 +0000 (01:49 +0000)]
Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()
Yang Tse [Thu, 21 Aug 2008 00:13:48 +0000 (00:13 +0000)]
fix the output name
Yang Tse [Thu, 21 Aug 2008 00:12:03 +0000 (00:12 +0000)]
Fix one bug detected thanks to test case 557.
Yang Tse [Thu, 21 Aug 2008 00:10:27 +0000 (00:10 +0000)]
Some data type size adjustments.
Yang Tse [Thu, 21 Aug 2008 00:06:15 +0000 (00:06 +0000)]
Get rid of ENABLE_64BIT symbol definition and usage.
Improve HAVE_LONGLONG symbol description.
Yang Tse [Wed, 20 Aug 2008 23:40:40 +0000 (23:40 +0000)]
Update of lib/Makefile.Watcom.
Yang Tse [Wed, 20 Aug 2008 23:38:36 +0000 (23:38 +0000)]
Export 'ares_process_fd' too.
Yang Tse [Wed, 20 Aug 2008 23:35:48 +0000 (23:35 +0000)]
Added option to use c-ares resolver lib.
Yang Tse [Wed, 20 Aug 2008 23:32:50 +0000 (23:32 +0000)]
Use 'Curl_inet_pton()' instead of 'inet_pton()'.
Yang Tse [Wed, 20 Aug 2008 23:29:07 +0000 (23:29 +0000)]
Simplify condition check
Daniel Stenberg [Wed, 20 Aug 2008 21:06:56 +0000 (21:06 +0000)]
the .netrc curl checks for is called _netrc on windows bug report #2061610
Dan Fandrich [Wed, 20 Aug 2008 19:45:43 +0000 (19:45 +0000)]
Added an edited version of Vincent Le Normand's documentation of SFTP quote
commands to the man pages.
Daniel Stenberg [Wed, 20 Aug 2008 19:29:00 +0000 (19:29 +0000)]
- Phil Pellouchoud pointed out that the windows version of libcurl had a
memory leak because it never called the OpenSSL function
CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a
missing define in config-win32.h!
Yang Tse [Mon, 18 Aug 2008 18:52:13 +0000 (18:52 +0000)]
Update test case 557
Yang Tse [Mon, 18 Aug 2008 10:11:26 +0000 (10:11 +0000)]
#159 and #160 already done.
Add more tasks to #144.
Yang Tse [Mon, 18 Aug 2008 09:58:08 +0000 (09:58 +0000)]
Added test case 557 to verify libcurl's internal curl_m*printf() functions
formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.
Gisle Vanem [Sun, 17 Aug 2008 16:20:23 +0000 (16:20 +0000)]
Pick-up programs from Makefile.inc.
Gisle Vanem [Sun, 17 Aug 2008 13:55:24 +0000 (13:55 +0000)]
Replace 'HttpPost' with 'curl_httppost'.
Gisle Vanem [Sun, 17 Aug 2008 13:34:15 +0000 (13:34 +0000)]
Rewritten to also produce a static library (libcurl_wc.lib).
Yang Tse [Sun, 17 Aug 2008 13:25:54 +0000 (13:25 +0000)]
OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
when including the OpenSSL header files. This is the recommended setting, this
prevents the undesired inclusion of header files with the same name as those
of OpenSSL but which do not belong to the OpenSSL package. The visible change
from previously released libcurl versions is that now OpenSSl enabled NetWare
builds also define USE_OPENSSL in config files, and that OpenSSL header files
must be located in a subdirectory named 'openssl'.
Yang Tse [Sun, 17 Aug 2008 01:57:10 +0000 (01:57 +0000)]
Adjust usage of conditional definition of USE_OPENSSL
Yang Tse [Sun, 17 Aug 2008 00:25:38 +0000 (00:25 +0000)]
libcurl internal base64.h header file renamed to curl_base64.h
Yang Tse [Sun, 17 Aug 2008 00:01:26 +0000 (00:01 +0000)]
libcurl internal md5.h header file renamed to curl_md5.h
Yang Tse [Sat, 16 Aug 2008 17:12:42 +0000 (17:12 +0000)]
Added #159 and #160
Gisle Vanem [Sat, 16 Aug 2008 17:05:42 +0000 (17:05 +0000)]
Ops, remove 'use_vc'.
Gisle Vanem [Sat, 16 Aug 2008 16:42:44 +0000 (16:42 +0000)]
Support Watt-32 under Win32.
Yang Tse [Sat, 16 Aug 2008 03:40:25 +0000 (03:40 +0000)]
Oops, missed FORMAT_OFF_TU
Yang Tse [Sat, 16 Aug 2008 03:27:07 +0000 (03:27 +0000)]
Fix Use of conditional definition of USE_OPENSSL
Yang Tse [Sat, 16 Aug 2008 01:33:59 +0000 (01:33 +0000)]
Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.
This reverts previous commit part which did:
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Dan Fandrich [Fri, 15 Aug 2008 19:18:46 +0000 (19:18 +0000)]
Added test case 1065 to test a PUT with a single file but two URLs. This
was discovered to be problematic while investigating an incident reported by
Von back in May. curl in this case doesn't include a Content-Length: or
Transfer-Encoding: chunked header which is illegal. This test case is
added to DISABLED until a solution is found.
Yang Tse [Fri, 15 Aug 2008 02:58:15 +0000 (02:58 +0000)]
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.
CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Yang Tse [Thu, 14 Aug 2008 23:55:24 +0000 (23:55 +0000)]
curlbuild.h is a generated file on configure-capable systems
Dan Fandrich [Thu, 14 Aug 2008 19:18:18 +0000 (19:18 +0000)]
Added Range keyword
Dan Fandrich [Thu, 14 Aug 2008 19:18:01 +0000 (19:18 +0000)]
Added test 1063 to test an invalid large range on a file:
Dan Fandrich [Thu, 14 Aug 2008 18:41:37 +0000 (18:41 +0000)]
Fixed unused variable warning
Yang Tse [Thu, 14 Aug 2008 18:30:19 +0000 (18:30 +0000)]
Take three at trying to detect signed and unsigned curl_off_t integer constant
suffixes, using a test-and-try suffix approach letting the compiler validate it.
Yang Tse [Thu, 14 Aug 2008 11:56:55 +0000 (11:56 +0000)]
When using our internal curlx_strtoll function NEED_CURL_STRTOLL must be defined,
the source code of curlx_strtoll is excluded if NEED_CURL_STRTOLL isn't defined.
Yang Tse [Thu, 14 Aug 2008 10:30:45 +0000 (10:30 +0000)]
CURL_LLONG_MIN should now be signed
Yang Tse [Thu, 14 Aug 2008 03:39:45 +0000 (03:39 +0000)]
Use our CURL_LLONG_MAX and CURL_LLONG_MIN which are defined with the proper suffix.
Yang Tse [Thu, 14 Aug 2008 01:39:49 +0000 (01:39 +0000)]
Change CURL_CHECK_DEF_INTXX_C suffix definition detection.
Add debug tracing for CURL_CHECK_DEF_INTXX_C.
Daniel Stenberg [Wed, 13 Aug 2008 21:05:13 +0000 (21:05 +0000)]
Fixed:
155 - bug #2038004 "Curl OpenSSL not compatible with 7.17 or 7.18"
156 - proxy CONNECT issue (details not public yet due to possible security impact)
Yang Tse [Wed, 13 Aug 2008 19:49:19 +0000 (19:49 +0000)]
Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONG
Yang Tse [Wed, 13 Aug 2008 18:57:48 +0000 (18:57 +0000)]
Ensure that the compiler 'knows' the 'long' type in CURL_CONFIGURE_LONG
Yang Tse [Wed, 13 Aug 2008 18:43:53 +0000 (18:43 +0000)]
Sync config.h generation from lib/Makefile.netware and src/Makefile.netware
Yang Tse [Wed, 13 Aug 2008 17:23:13 +0000 (17:23 +0000)]
Using the name of a macro inside AC_MSG_WARN takes aclocal to NeverLand.
Yang Tse [Wed, 13 Aug 2008 16:14:22 +0000 (16:14 +0000)]
Adjust IBM C compiler CURL_SIZEOF_LONG
Yang Tse [Wed, 13 Aug 2008 15:48:44 +0000 (15:48 +0000)]
Remove first version of comment not intended to be finally committed.
Yang Tse [Wed, 13 Aug 2008 15:32:20 +0000 (15:32 +0000)]
The size of long is a build time characteristic and as such it is now recorded
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process
and in CVS curlbuild.h.dist for non-configure systems.
Yang Tse [Wed, 13 Aug 2008 13:07:50 +0000 (13:07 +0000)]
Split comparison among several lines for debugging
Daniel Stenberg [Wed, 13 Aug 2008 10:57:11 +0000 (10:57 +0000)]
on second thought, let's remove this number from here since it doesn't really
belong among the release numbers anyway
Daniel Stenberg [Wed, 13 Aug 2008 10:55:23 +0000 (10:55 +0000)]
dead mirrors removed => curl.haxx.se/mail/lib-2008-08/0208.html
Daniel Stenberg [Wed, 13 Aug 2008 08:51:52 +0000 (08:51 +0000)]
httpcustomheader.c is a new tiny example showing a HTTP request with a custom
header replacing an internal one
Gisle Vanem [Wed, 13 Aug 2008 08:32:22 +0000 (08:32 +0000)]
Watcom doesn't have <sys/time.h>.
Gisle Vanem [Wed, 13 Aug 2008 08:19:51 +0000 (08:19 +0000)]
Remved '-dDEBUG_THREADING_GETADDRINFO' (no longer used).
Gisle Vanem [Wed, 13 Aug 2008 08:17:50 +0000 (08:17 +0000)]
Update dependencies.
Gisle Vanem [Wed, 13 Aug 2008 07:30:21 +0000 (07:30 +0000)]
Update dependencies.
Gisle Vanem [Wed, 13 Aug 2008 07:16:20 +0000 (07:16 +0000)]
MingW uses gcc. Hence the suffixes for 64-bit are 'LL' and 'ULL'.
Yang Tse [Wed, 13 Aug 2008 03:05:00 +0000 (03:05 +0000)]
Adjustment due to curl_off_t no longer following off_t
Dan Fandrich [Wed, 13 Aug 2008 00:43:46 +0000 (00:43 +0000)]
Added a few user-visible bug fixes
Gunter Knauf [Tue, 12 Aug 2008 21:25:11 +0000 (21:25 +0000)]
sync src makefile with lib makefile.
Dan Fandrich [Tue, 12 Aug 2008 20:21:40 +0000 (20:21 +0000)]
Removed unneeded header files
Dan Fandrich [Tue, 12 Aug 2008 20:07:52 +0000 (20:07 +0000)]
Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur
when a server responded with long headers and data. Luckily, the buffer
overflowed into another unused buffer, so no actual harm was done.
Added test cases 1060 and 1061 to verify.
Yang Tse [Tue, 12 Aug 2008 19:09:20 +0000 (19:09 +0000)]
Fix 'result' may be used uninitialized in function readwrite_data()
Yang Tse [Tue, 12 Aug 2008 18:49:33 +0000 (18:49 +0000)]
Fix curl_off_t sized constants usage
Dan Fandrich [Tue, 12 Aug 2008 18:32:55 +0000 (18:32 +0000)]
Handle short reads
Yang Tse [Tue, 12 Aug 2008 10:08:14 +0000 (10:08 +0000)]
DOS/Windows 'shells' eat echoed percent sign characters unless escaped.
Daniel Stenberg [Tue, 12 Aug 2008 07:21:39 +0000 (07:21 +0000)]
- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
_directory_ if that happened to appear in the path!
Yang Tse [Tue, 12 Aug 2008 07:20:44 +0000 (07:20 +0000)]
Fix CURL_CHECK_DEF_INTXX_C suffix definition detection
Yang Tse [Tue, 12 Aug 2008 03:00:24 +0000 (03:00 +0000)]
Added macros for minimum-width signed and unsigned curl_off_t integer
constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro
used internally to provide its functionality is thanks to Lars Nilsson.
Dan Fandrich [Mon, 11 Aug 2008 23:16:48 +0000 (23:16 +0000)]
Added HTTP CONNECT keywords
Dan Fandrich [Mon, 11 Aug 2008 23:16:08 +0000 (23:16 +0000)]
Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
line of a multiline FTP response whose last byte landed exactly at the end
of the BUFSIZE-length buffer would be treated as the terminal response
line. The following response code read in would then actually be the
end of the previous response line, and all responses from then on would
correspond to the wrong command. Test case 1062 verifies this.
Stop closing a never-opened ftp socket.
Daniel Stenberg [Mon, 11 Aug 2008 20:30:37 +0000 (20:30 +0000)]
152 + 153 are fixed!
Daniel Stenberg [Mon, 11 Aug 2008 20:29:36 +0000 (20:29 +0000)]
- Constantine Sapuntzakis filed bug report #2042430
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using static
variables to tell wether to load the necessary SSPI DLL, but now the loading
has been moved to the more suitable curl_global_init() call.
Daniel Stenberg [Mon, 11 Aug 2008 19:26:01 +0000 (19:26 +0000)]
- Constantine Sapuntzakis filed bug report #2042440
(http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a
problem when using NTLM over a proxy but the end-point does Basic, and then
libcurl would do wrong when the host sent "Connection: close" as the proxy's
NTLM state was erroneously cleared.
Yang Tse [Mon, 11 Aug 2008 19:00:26 +0000 (19:00 +0000)]
Ooops
Yang Tse [Mon, 11 Aug 2008 18:27:21 +0000 (18:27 +0000)]
Added missing signed and unsigned curl_off_t integer constant suffixes for
internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
Daniel Stenberg [Mon, 11 Aug 2008 12:41:13 +0000 (12:41 +0000)]
added two known topics for 7.19.1
Daniel Stenberg [Mon, 11 Aug 2008 10:55:47 +0000 (10:55 +0000)]
five more bugs I'd like to get fixed or at least considered before 7.19.0
Yang Tse [Mon, 11 Aug 2008 03:26:23 +0000 (03:26 +0000)]
Old logic based on CURL_SIZEOF_CURL_OFF_T, ENABLE_64BIT, HAVE_LONGLONG,
has to be revisited and adjusted as appropriate.
Enabling and disabling of large file support needs further inspection.
Yang Tse [Mon, 11 Aug 2008 02:40:19 +0000 (02:40 +0000)]
Fix NetWare missing curl_off_t typedef!!
Yang Tse [Mon, 11 Aug 2008 01:22:57 +0000 (01:22 +0000)]
s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g
Yang Tse [Mon, 11 Aug 2008 00:15:20 +0000 (00:15 +0000)]
Die when curlbuild.h is not created or available
Gunter Knauf [Sun, 10 Aug 2008 22:28:51 +0000 (22:28 +0000)]
fixed creation of curlbuild.h.
Yang Tse [Sun, 10 Aug 2008 18:33:41 +0000 (18:33 +0000)]
Fix NetWare curlbuild.h
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used.
The NetWare specific Makefile is capable of knowing which target is being built.
So, finally, the NetWare Makefile will take care of generating curlbuild.h
Yang Tse [Sun, 10 Aug 2008 00:39:45 +0000 (00:39 +0000)]
Fix: Remove now this SIZEOF_CURL_OFF_T symbol definition.
This should have been done with the initial 64-bit curl_off_t patch.
Yang Tse [Sat, 9 Aug 2008 23:14:40 +0000 (23:14 +0000)]
When running testcurl.pl display definitions from curlbuild.h
Yang Tse [Sat, 9 Aug 2008 21:10:31 +0000 (21:10 +0000)]
Remove debug tracing for DO_CURL_OFF_T_CHECK and CURL_CHECK_DEF
Yang Tse [Sat, 9 Aug 2008 17:46:25 +0000 (17:46 +0000)]
Use int64_t in favour of __int64 for curl_off_t when both are available.
Yang Tse [Sat, 9 Aug 2008 17:26:24 +0000 (17:26 +0000)]
Improve CURL_CHECK_DEF
Yang Tse [Sat, 9 Aug 2008 17:01:17 +0000 (17:01 +0000)]
Fix IBM C and DEC/Compaq C compiler detection
Yang Tse [Sat, 9 Aug 2008 15:28:13 +0000 (15:28 +0000)]
Remove some redundancy
Dan Fandrich [Fri, 8 Aug 2008 20:37:54 +0000 (20:37 +0000)]
Refactored Curl_readwrite() into a number of smaller functions.
Yang Tse [Fri, 8 Aug 2008 17:42:58 +0000 (17:42 +0000)]
Add debug tracing for DO_CURL_OFF_T_CHECK
Yang Tse [Fri, 8 Aug 2008 16:53:02 +0000 (16:53 +0000)]
Remove some redundancy
Yang Tse [Fri, 8 Aug 2008 16:25:07 +0000 (16:25 +0000)]
Remove potential overquoting
Yang Tse [Fri, 8 Aug 2008 15:16:59 +0000 (15:16 +0000)]
Remove rule no longer needed since tests/testcurl.pl revision 1.63
See CVS commit comment on tests/testcurl.pl revision 1.63
Yang Tse [Fri, 8 Aug 2008 12:34:01 +0000 (12:34 +0000)]
Reintroduce the adjustment previously done in testcurl.pl so that it copies the
CVS checked out curlbuild.h.dist as curlbuild.h for any non-configure target
when host system is not running buildconf.bat.
All the curlbuild.h stuff was done taking in consideration that no adjustment
would be needed in non-configure makefiles.
As it is documented, when trying to build on non-configure capable systems or on
systems which for any reason don't run the true configure script, it is required
to have the proper curlbuild.h in place before calling any makefile.
Due to the hardcore memory debugging stuff c-ares enabled debug builds also need
the file in the proper place before attempting to build c-ares.
Yang Tse [Fri, 8 Aug 2008 11:34:08 +0000 (11:34 +0000)]
Add debug tracing for CURL_CHECK_DEF
Dan Fandrich [Fri, 8 Aug 2008 07:51:50 +0000 (07:51 +0000)]
Made ftp a required feature