platform/upstream/curl.git
20 years agoshow curl --version output as well
Daniel Stenberg [Wed, 3 Mar 2004 14:46:37 +0000 (14:46 +0000)]
show curl --version output as well

20 years agolargefile bit for the version_info and now winsock 1.1 only
Daniel Stenberg [Wed, 3 Mar 2004 14:39:47 +0000 (14:39 +0000)]
largefile bit for the version_info and now winsock 1.1 only

20 years agoDavid Byron's work on making libcurl only require winsock 1.1 on Windows
Daniel Stenberg [Wed, 3 Mar 2004 13:32:56 +0000 (13:32 +0000)]
David Byron's work on making libcurl only require winsock 1.1 on Windows
machines.

20 years agothree days of changes
Daniel Stenberg [Wed, 3 Mar 2004 13:30:18 +0000 (13:30 +0000)]
three days of changes

20 years agomore variable type cleanups
Daniel Stenberg [Wed, 3 Mar 2004 13:24:14 +0000 (13:24 +0000)]
more variable type cleanups

20 years agoour timeout values are longs while 'tv_sec' is int
Daniel Stenberg [Wed, 3 Mar 2004 13:17:44 +0000 (13:17 +0000)]
our timeout values are longs while 'tv_sec' is int

20 years agomake the backup variable of the same kind as the data it backups! ;-)
Daniel Stenberg [Wed, 3 Mar 2004 13:12:30 +0000 (13:12 +0000)]
make the backup variable of the same kind as the data it backups! ;-)

20 years agosome more size_t usage, and two added typecasts when converting from size_t
Daniel Stenberg [Wed, 3 Mar 2004 13:11:28 +0000 (13:11 +0000)]
some more size_t usage, and two added typecasts when converting from size_t
to long (MIPSpro warnings)

20 years agotv_sec is an int, so we explicitly typecast the result of long - long to
Daniel Stenberg [Wed, 3 Mar 2004 13:07:32 +0000 (13:07 +0000)]
tv_sec is an int, so we explicitly typecast the result of long - long to
an int when we assign it.

20 years agoattempted typecase to silence the MIPSpro warning:
Daniel Stenberg [Wed, 3 Mar 2004 13:03:35 +0000 (13:03 +0000)]
attempted typecase to silence the MIPSpro warning:

cc-1506 cc: REMARK File = ../../curl/ares/ares__read_line.c, Line = 46
There is an implicit conversion from "unsigned long" to "int"; rounding, sign
extension, or loss of accuracy may result.

if (!fgets(*buf + offset, *bufsize - offset, fp))

20 years ago#ifdef #define #undef circus to prevent compiler warnings on #if operations
Daniel Stenberg [Wed, 3 Mar 2004 12:37:15 +0000 (12:37 +0000)]
#ifdef #define #undef circus to prevent compiler warnings on #if operations
with undefined variables.

20 years agoremoved include stuff now handled by test.h
Daniel Stenberg [Wed, 3 Mar 2004 10:09:30 +0000 (10:09 +0000)]
removed include stuff now handled by test.h

20 years agoWe let this file include more generic headers that many libtests need anyway
Daniel Stenberg [Wed, 3 Mar 2004 10:09:16 +0000 (10:09 +0000)]
We let this file include more generic headers that many libtests need anyway
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD

20 years agoTom Bates' adjustment to build on his nsr-tandem-nsk.
Daniel Stenberg [Wed, 3 Mar 2004 09:27:18 +0000 (09:27 +0000)]
Tom Bates' adjustment to build on his nsr-tandem-nsk.

20 years agorename struct FILE to FILEPROTO, to prevent it from causing trouble with
Daniel Stenberg [Wed, 3 Mar 2004 09:25:59 +0000 (09:25 +0000)]
rename struct FILE to FILEPROTO, to prevent it from causing trouble with
the plain old FILE typedef.

20 years agoDan Fandrich fixed some GSS detection flaws
Daniel Stenberg [Wed, 3 Mar 2004 09:16:36 +0000 (09:16 +0000)]
Dan Fandrich fixed some GSS detection flaws

20 years agocorrected the reuse_fresh condition
Daniel Stenberg [Tue, 2 Mar 2004 14:00:44 +0000 (14:00 +0000)]
corrected the reuse_fresh condition

20 years agolarge file in jan 2004
Daniel Stenberg [Tue, 2 Mar 2004 10:22:05 +0000 (10:22 +0000)]
large file in jan 2004

20 years agovarious updates
Daniel Stenberg [Tue, 2 Mar 2004 10:08:04 +0000 (10:08 +0000)]
various updates

20 years agotwo items fixed, one so old I don't think its valid anymore
Daniel Stenberg [Tue, 2 Mar 2004 10:07:47 +0000 (10:07 +0000)]
two items fixed, one so old I don't think its valid anymore

20 years agodisplay src/config.h as well after configure as run
Daniel Stenberg [Tue, 2 Mar 2004 09:50:37 +0000 (09:50 +0000)]
display src/config.h as well after configure as run

20 years agoYet another curl_off_t printf format attempt, we now exclude the %-letter from
Daniel Stenberg [Tue, 2 Mar 2004 09:31:18 +0000 (09:31 +0000)]
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.

20 years agoDefine CURL_NO_OLDIES to prevent us from getting obsolete stuff defined.
Daniel Stenberg [Tue, 2 Mar 2004 09:13:28 +0000 (09:13 +0000)]
Define CURL_NO_OLDIES to prevent us from getting obsolete stuff defined.

20 years agoCURLOPT_MUTE is obsolete since a long while, we don't need to set it!
Daniel Stenberg [Tue, 2 Mar 2004 09:11:52 +0000 (09:11 +0000)]
CURLOPT_MUTE is obsolete since a long while, we don't need to set it!

20 years agoclean the html and pdf files
Daniel Stenberg [Tue, 2 Mar 2004 08:28:23 +0000 (08:28 +0000)]
clean the html and pdf files

20 years agouse FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
Daniel Stenberg [Tue, 2 Mar 2004 07:25:39 +0000 (07:25 +0000)]
use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
having to redef that name

20 years ago- we switch to simply use FORMAT_OFF_T internally
Daniel Stenberg [Tue, 2 Mar 2004 07:25:08 +0000 (07:25 +0000)]
- we switch to simply use FORMAT_OFF_T internally
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.

20 years agothe CURLOPT_FRESH_CONNECT fix
Daniel Stenberg [Mon, 1 Mar 2004 16:32:51 +0000 (16:32 +0000)]
the CURLOPT_FRESH_CONNECT fix

20 years agoa fair day's work!
Daniel Stenberg [Mon, 1 Mar 2004 16:30:59 +0000 (16:30 +0000)]
a fair day's work!

20 years agoUse CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.
Daniel Stenberg [Mon, 1 Mar 2004 16:28:00 +0000 (16:28 +0000)]
Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.

20 years agoNow uses CURL_FORMAT_OFF_T instead of %Od
Daniel Stenberg [Mon, 1 Mar 2004 16:27:34 +0000 (16:27 +0000)]
Now uses CURL_FORMAT_OFF_T instead of %Od
Fixed the check for bad resumes. Made test case 99 work and proved a bug
in test case ... eh, was it 32?

20 years agolarge_file is a new feature we can require for a specific test
Daniel Stenberg [Mon, 1 Mar 2004 16:25:24 +0000 (16:25 +0000)]
large_file is a new feature we can require for a specific test

20 years agosupport 'large_file' as a feature to require for specific tests (such as
Daniel Stenberg [Mon, 1 Mar 2004 16:24:54 +0000 (16:24 +0000)]
support 'large_file' as a feature to require for specific tests (such as
test 99)

20 years agocheck for CURL_VERSION_LARGEFILE in the feature bitmask
Daniel Stenberg [Mon, 1 Mar 2004 16:24:26 +0000 (16:24 +0000)]
check for CURL_VERSION_LARGEFILE in the feature bitmask

20 years agoset CURL_VERSION_LARGEFILE if we support large files
Daniel Stenberg [Mon, 1 Mar 2004 16:24:04 +0000 (16:24 +0000)]
set CURL_VERSION_LARGEFILE if we support large files

20 years agodefine ENABLE_64BIT if we have enabled 64bit large files
Daniel Stenberg [Mon, 1 Mar 2004 16:23:35 +0000 (16:23 +0000)]
define ENABLE_64BIT if we have enabled 64bit large files
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!

20 years agofixed the test code to work
Daniel Stenberg [Mon, 1 Mar 2004 16:22:17 +0000 (16:22 +0000)]
fixed the test code to work

20 years ago* Added CURL_VERSION_LARGEFILE
Daniel Stenberg [Mon, 1 Mar 2004 16:20:20 +0000 (16:20 +0000)]
* Added CURL_VERSION_LARGEFILE

* If CURL_NO_OLDIES is defined, we hide all obsolete functions/options.

* CURL_FORMAT_OFF_T is defined for portable printf()ing of curl_off_t types
(although not with curl_mprintf()!)

20 years agoadded test 99, very basic initial large file test
Daniel Stenberg [Mon, 1 Mar 2004 16:18:40 +0000 (16:18 +0000)]
added test 99, very basic initial large file test

20 years agoglobal dns cache is not nice, we consider it obsolete starting now
Daniel Stenberg [Mon, 1 Mar 2004 15:50:15 +0000 (15:50 +0000)]
global dns cache is not nice, we consider it obsolete starting now

20 years agoIgnore the dreaded aclocal warnings on underquoted definitions that the
Daniel Stenberg [Mon, 1 Mar 2004 13:14:26 +0000 (13:14 +0000)]
Ignore the dreaded aclocal warnings on underquoted definitions that the
recent autoconf annoyingly introduced.

20 years agoPerhaps -Wundef is better on gcc versions after 2.95, since the autobuild
Daniel Stenberg [Mon, 1 Mar 2004 13:10:35 +0000 (13:10 +0000)]
Perhaps -Wundef is better on gcc versions after 2.95, since the autobuild
on FreeBSD gives us lots of warnings in system headers and I suspect this
option is what causes them!

20 years agoWhen setting aggressive pedantic compiler options, display what options
Daniel Stenberg [Mon, 1 Mar 2004 13:02:34 +0000 (13:02 +0000)]
When setting aggressive pedantic compiler options, display what options
that were set. For easier debugging/changing of this.

20 years agoremoved an unnecessary shift and splut up som weird two-statements-per-line
Daniel Stenberg [Mon, 1 Mar 2004 12:54:59 +0000 (12:54 +0000)]
removed an unnecessary shift and splut up som weird two-statements-per-line
code

20 years agoUse the z-option to printf %d for size_t printf. z is supported by the
Daniel Stenberg [Mon, 1 Mar 2004 12:45:12 +0000 (12:45 +0000)]
Use the z-option to printf %d for size_t printf. z is supported by the
libcurl *printf and by Linux printf(). This should make the code work nicely
even for 64bit size_ts.

20 years agoSupport 'z' for size_t-sized integer printing, as in %zd or %zx.
Daniel Stenberg [Mon, 1 Mar 2004 12:44:07 +0000 (12:44 +0000)]
Support 'z' for size_t-sized integer printing, as in %zd or %zx.

20 years agoOnly consider the fresh-connection option on the first connection made, not
Daniel Stenberg [Mon, 1 Mar 2004 09:43:42 +0000 (09:43 +0000)]
Only consider the fresh-connection option on the first connection made, not
on followed redirections etc. This should fix the bug #905365, which caused
NTLM to fail with the option set.

20 years agoMoved two 7.11.2 issues over to the more general TODO docs.
Daniel Stenberg [Mon, 1 Mar 2004 09:08:52 +0000 (09:08 +0000)]
Moved two 7.11.2 issues over to the more general TODO docs.

20 years agominor spellfix
Daniel Stenberg [Mon, 1 Mar 2004 08:54:22 +0000 (08:54 +0000)]
minor spellfix

20 years agointend the top-level blurb to make it easier to discard it from the web
Daniel Stenberg [Mon, 1 Mar 2004 08:50:28 +0000 (08:50 +0000)]
intend the top-level blurb to make it easier to discard it from the web
site output

20 years agoTor and David
Daniel Stenberg [Mon, 1 Mar 2004 08:20:21 +0000 (08:20 +0000)]
Tor and David

20 years agomention how to make a curl handle use the share
Daniel Stenberg [Mon, 1 Mar 2004 08:02:50 +0000 (08:02 +0000)]
mention how to make a curl handle use the share

20 years agoOnly attempt to send the FTP QUIT command if we actually have a FTP struct.
Daniel Stenberg [Mon, 1 Mar 2004 07:59:25 +0000 (07:59 +0000)]
Only attempt to send the FTP QUIT command if we actually have a FTP struct.

20 years agoin Curl_disonnect(): call the protocol-specific disconnect function before we
Daniel Stenberg [Mon, 1 Mar 2004 07:19:26 +0000 (07:19 +0000)]
in Curl_disonnect(): call the protocol-specific disconnect function before we
unlink the "current" connection struct from the connection cache.

20 years agoReport the correct size when 'verifiedserver' is requested.
Daniel Stenberg [Mon, 1 Mar 2004 07:16:45 +0000 (07:16 +0000)]
Report the correct size when 'verifiedserver' is requested.

20 years agoDirk Manske fixed the attempt to install the removed errmem manpage
Daniel Stenberg [Sun, 29 Feb 2004 18:39:31 +0000 (18:39 +0000)]
Dirk Manske fixed the attempt to install the removed errmem manpage

20 years agousing roffit 0.6 we can get <a href> links with the --mandir option
Daniel Stenberg [Fri, 27 Feb 2004 15:48:13 +0000 (15:48 +0000)]
using roffit 0.6 we can get <a href> links with the --mandir option

20 years agoformatting update to produce better links with the new roffit version
Daniel Stenberg [Fri, 27 Feb 2004 15:34:06 +0000 (15:34 +0000)]
formatting update to produce better links with the new roffit version

20 years agoelaborate on the URL option
Daniel Stenberg [Fri, 27 Feb 2004 14:07:22 +0000 (14:07 +0000)]
elaborate on the URL option

20 years agominor size_t fix to kill a warning
Daniel Stenberg [Fri, 27 Feb 2004 13:21:47 +0000 (13:21 +0000)]
minor size_t fix to kill a warning

20 years agofixed some more size_t/int/long warnings and removed a few CMC comments
Daniel Stenberg [Fri, 27 Feb 2004 13:21:14 +0000 (13:21 +0000)]
fixed some more size_t/int/long warnings and removed a few CMC comments

20 years agoMark obsolete options with OSBOLETE in a comment on the same line, to make
Daniel Stenberg [Fri, 27 Feb 2004 12:41:03 +0000 (12:41 +0000)]
Mark obsolete options with OSBOLETE in a comment on the same line, to make
it easier to exclude them with grep, when grepping for options.

20 years agoispell by Tor Arntsen
Daniel Stenberg [Fri, 27 Feb 2004 12:27:40 +0000 (12:27 +0000)]
ispell by Tor Arntsen

20 years agoupdated the debug option function from curl's acinclude.m4
Daniel Stenberg [Fri, 27 Feb 2004 11:29:36 +0000 (11:29 +0000)]
updated the debug option function from curl's acinclude.m4

20 years agoremove the number of obsolete options
Daniel Stenberg [Fri, 27 Feb 2004 09:02:29 +0000 (09:02 +0000)]
remove the number of obsolete options

20 years agoAdded a few options that were still not documented. Now I believe all options
Daniel Stenberg [Fri, 27 Feb 2004 09:02:06 +0000 (09:02 +0000)]
Added a few options that were still not documented. Now I believe all options
mentioned in the current curl/curl.h header file (that aren't marked as
obsolete) are present.

20 years agoupdated with recent events
Daniel Stenberg [Fri, 27 Feb 2004 08:08:08 +0000 (08:08 +0000)]
updated with recent events

20 years agoissue 21 is now history
Daniel Stenberg [Fri, 27 Feb 2004 07:15:42 +0000 (07:15 +0000)]
issue 21 is now history

20 years agoJoe Halpin made the FTP code send 'QUIT' on the control connection before
Daniel Stenberg [Fri, 27 Feb 2004 07:08:37 +0000 (07:08 +0000)]
Joe Halpin made the FTP code send 'QUIT' on the control connection before
it disconnects the TCP connection, like a good ftp client should!

20 years agowe need to hide this warning since it otherwise appears on all verifiedserver
Daniel Stenberg [Thu, 26 Feb 2004 22:56:32 +0000 (22:56 +0000)]
we need to hide this warning since it otherwise appears on all verifiedserver
requests to the ftp server!

20 years agoKill the server when this test is done, as other FTP-tests sometimes
Daniel Stenberg [Thu, 26 Feb 2004 22:40:33 +0000 (22:40 +0000)]
Kill the server when this test is done, as other FTP-tests sometimes
have problems otherwise.

20 years agofixed a "comparison between signed and unsigned" warning
Daniel Stenberg [Thu, 26 Feb 2004 22:19:20 +0000 (22:19 +0000)]
fixed a "comparison between signed and unsigned" warning

20 years agoDavid Byron's fixes to make the latest curl build fine under MSVC 6.
Daniel Stenberg [Thu, 26 Feb 2004 16:23:28 +0000 (16:23 +0000)]
David Byron's fixes to make the latest curl build fine under MSVC 6.

20 years agothis works like buildconf + configure does on unixes
Daniel Stenberg [Thu, 26 Feb 2004 16:13:13 +0000 (16:13 +0000)]
this works like buildconf + configure does on unixes

20 years agoadjusted to work with the modified fopen() line and the new calloc line
Daniel Stenberg [Thu, 26 Feb 2004 14:53:17 +0000 (14:53 +0000)]
adjusted to work with the modified fopen() line and the new calloc line

20 years agoGisle Vanem's added support calloc()-debugging and outputting mode for
Daniel Stenberg [Thu, 26 Feb 2004 14:52:51 +0000 (14:52 +0000)]
Gisle Vanem's added support calloc()-debugging and outputting mode for
fopen() as well.

20 years agouse calloc instead of malloc and we won't have to memset() the struct
Daniel Stenberg [Thu, 26 Feb 2004 14:52:16 +0000 (14:52 +0000)]
use calloc instead of malloc and we won't have to memset() the struct

20 years agoWhen this is verified to be a CVS tree, we remove the two generated source
Daniel Stenberg [Thu, 26 Feb 2004 13:59:10 +0000 (13:59 +0000)]
When this is verified to be a CVS tree, we remove the two generated source
files from the source dir to make certain they're generated in the build
process.

20 years agoClear up int/long/size_t/ssize_t usage a bit
Daniel Stenberg [Thu, 26 Feb 2004 13:40:43 +0000 (13:40 +0000)]
Clear up int/long/size_t/ssize_t usage a bit

20 years agominor fixes to avoid MIPSPro pedantic warnings
Daniel Stenberg [Thu, 26 Feb 2004 12:47:43 +0000 (12:47 +0000)]
minor fixes to avoid MIPSPro pedantic warnings

20 years agodon't mix int and size_t, it generates warnings!
Daniel Stenberg [Thu, 26 Feb 2004 12:45:29 +0000 (12:45 +0000)]
don't mix int and size_t, it generates warnings!

20 years agoMake icc ignore "invalid format string conversion" warnings as well. They
Daniel Stenberg [Thu, 26 Feb 2004 12:40:09 +0000 (12:40 +0000)]
Make icc ignore "invalid format string conversion" warnings as well. They
appear because of our home-grown option '%Od' for the curl_off_t output.

20 years agouse %ld when printf()ing long variables (and removed use of 'register')
Daniel Stenberg [Thu, 26 Feb 2004 12:32:29 +0000 (12:32 +0000)]
use %ld when printf()ing long variables (and removed use of 'register')

20 years agoadded the ever-present source header
Daniel Stenberg [Thu, 26 Feb 2004 11:46:17 +0000 (11:46 +0000)]
added the ever-present source header

20 years agoDon't call the lock/unlock functions if they are NULL. They can still be
Daniel Stenberg [Thu, 26 Feb 2004 11:39:38 +0000 (11:39 +0000)]
Don't call the lock/unlock functions if they are NULL. They can still be
NULL without violating protocol.

20 years agoUse __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel icc
Daniel Stenberg [Thu, 26 Feb 2004 11:37:14 +0000 (11:37 +0000)]
Use __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel icc
compiler!

20 years agoruntests.pl now provides the srcdir to the ftpserver so that it can pass
Daniel Stenberg [Thu, 26 Feb 2004 09:19:59 +0000 (09:19 +0000)]
runtests.pl now provides the srcdir to the ftpserver so that it can pass
that to loadtest properly.

20 years agomodified loadtest() to produce better error message when it fails to load
Daniel Stenberg [Thu, 26 Feb 2004 09:19:16 +0000 (09:19 +0000)]
modified loadtest() to produce better error message when it fails to load
a test file

20 years agoThe build logs were created in the "wrong" dir and thus never removed
Daniel Stenberg [Thu, 26 Feb 2004 07:58:49 +0000 (07:58 +0000)]
The build logs were created in the "wrong" dir and thus never removed
after use, this is an attempt to fix this.

20 years agotoday's work
Daniel Stenberg [Wed, 25 Feb 2004 15:44:39 +0000 (15:44 +0000)]
today's work

20 years agotypecast to int when printfing CURLcode
Daniel Stenberg [Wed, 25 Feb 2004 15:43:15 +0000 (15:43 +0000)]
typecast to int when printfing CURLcode

20 years agouse %ld when printfing longs
Daniel Stenberg [Wed, 25 Feb 2004 15:41:36 +0000 (15:41 +0000)]
use %ld when printfing longs

20 years agodisable the use of long double, we don't use it
Daniel Stenberg [Wed, 25 Feb 2004 15:34:05 +0000 (15:34 +0000)]
disable the use of long double, we don't use it

20 years agoif ares is present, run aclocal in that dir before autoconf is run
Daniel Stenberg [Wed, 25 Feb 2004 14:32:57 +0000 (14:32 +0000)]
if ares is present, run aclocal in that dir before autoconf is run

20 years agoadded the better debug option logic from curl by adding acinclude.m4 to the
Daniel Stenberg [Wed, 25 Feb 2004 14:32:39 +0000 (14:32 +0000)]
added the better debug option logic from curl by adding acinclude.m4 to the
configure stuff

20 years agoBased on a patch by Greg Hewgill I modified how long long is used, as we
Daniel Stenberg [Wed, 25 Feb 2004 14:15:38 +0000 (14:15 +0000)]
Based on a patch by Greg Hewgill I modified how long long is used, as we
can use a 64bit type with MSVC that is a long long equivalent.

20 years agoset debug options when using the icc compiler
Daniel Stenberg [Wed, 25 Feb 2004 14:14:30 +0000 (14:14 +0000)]
set debug options when using the icc compiler

20 years agobetter formatting of the share options
Daniel Stenberg [Wed, 25 Feb 2004 12:34:19 +0000 (12:34 +0000)]
better formatting of the share options

20 years agomark the function name
Daniel Stenberg [Wed, 25 Feb 2004 12:32:33 +0000 (12:32 +0000)]
mark the function name

20 years agoadded CURLOPT_SHARE
Daniel Stenberg [Wed, 25 Feb 2004 12:20:41 +0000 (12:20 +0000)]
added CURLOPT_SHARE