platform/upstream/curl.git
20 years agouse curl standard source formatting
Daniel Stenberg [Mon, 8 Mar 2004 12:51:33 +0000 (12:51 +0000)]
use curl standard source formatting

20 years agotypecast enum to int to make it printf() properly
Daniel Stenberg [Mon, 8 Mar 2004 12:51:13 +0000 (12:51 +0000)]
typecast enum to int to make it printf() properly

20 years agovariable type fixes
Daniel Stenberg [Mon, 8 Mar 2004 12:48:09 +0000 (12:48 +0000)]
variable type fixes

20 years agoMoved the error message buffer into the glob struct as well.
Daniel Stenberg [Mon, 8 Mar 2004 12:47:37 +0000 (12:47 +0000)]
Moved the error message buffer into the glob struct as well.

20 years agoCommented the Curl_read() arguments.
Daniel Stenberg [Mon, 8 Mar 2004 12:37:46 +0000 (12:37 +0000)]
Commented the Curl_read() arguments.

20 years agosize_t/int fix
Daniel Stenberg [Mon, 8 Mar 2004 12:37:11 +0000 (12:37 +0000)]
size_t/int fix

20 years agostrlen() returns size_t
Daniel Stenberg [Mon, 8 Mar 2004 12:36:54 +0000 (12:36 +0000)]
strlen() returns size_t

20 years agowe ignore the ICC warning 1419 as well
Daniel Stenberg [Mon, 8 Mar 2004 11:37:12 +0000 (11:37 +0000)]
we ignore the ICC warning 1419 as well

20 years agowaitconnect() takes the timeout argument as a long
Daniel Stenberg [Mon, 8 Mar 2004 11:36:47 +0000 (11:36 +0000)]
waitconnect() takes the timeout argument as a long

20 years agostore size as size_t
Daniel Stenberg [Mon, 8 Mar 2004 11:33:49 +0000 (11:33 +0000)]
store size as size_t
use %zd when outputting size_t

20 years agodon't use 'register'
Daniel Stenberg [Mon, 8 Mar 2004 11:28:14 +0000 (11:28 +0000)]
don't use 'register'
make strtol() returns get stored in long variables
don't mix size_t with int

20 years agosize_t/int/long fixes
Daniel Stenberg [Mon, 8 Mar 2004 08:38:29 +0000 (08:38 +0000)]
size_t/int/long fixes

20 years agowe must not only support long long for Largefile to work, we must have
Daniel Stenberg [Mon, 8 Mar 2004 07:46:26 +0000 (07:46 +0000)]
we must not only support long long for Largefile to work, we must have
a curl_off_t type that is larger than 4 bytes

20 years agoissue 12 fixed, the final known outstanding issue to be done before 7.11.1
Daniel Stenberg [Fri, 5 Mar 2004 13:12:58 +0000 (13:12 +0000)]
issue 12 fixed, the final known outstanding issue to be done before 7.11.1

20 years agoissue 12 fix
Daniel Stenberg [Fri, 5 Mar 2004 12:54:18 +0000 (12:54 +0000)]
issue 12 fix

20 years agoanother include to prevent warnings
Daniel Stenberg [Fri, 5 Mar 2004 11:39:19 +0000 (11:39 +0000)]
another include to prevent warnings

20 years agotwo fixes, one new mirror
Daniel Stenberg [Fri, 5 Mar 2004 10:18:58 +0000 (10:18 +0000)]
two fixes, one new mirror

20 years agoclonk
Daniel Stenberg [Fri, 5 Mar 2004 10:14:46 +0000 (10:14 +0000)]
clonk

20 years agomore fixing to make the progress/getinfo stuff to work properly when doing
Daniel Stenberg [Fri, 5 Mar 2004 09:40:16 +0000 (09:40 +0000)]
more fixing to make the progress/getinfo stuff to work properly when doing
file: transfers too

20 years agoclearly tell that these are ftp response timeouts
Daniel Stenberg [Fri, 5 Mar 2004 09:37:48 +0000 (09:37 +0000)]
clearly tell that these are ftp response timeouts

20 years agoMajor rewrite of the test HTTP server to allow more fancy features to make
Daniel Stenberg [Fri, 5 Mar 2004 08:32:11 +0000 (08:32 +0000)]
Major rewrite of the test HTTP server to allow more fancy features to make
better tests with the issue12-patch applied.
This change also includes Andrés García's win32-fixes.
Made the logging look better/more readable in sws.log

20 years ago'make clean' should only remove the generated html files, index.html is not
Daniel Stenberg [Fri, 5 Mar 2004 08:01:55 +0000 (08:01 +0000)]
'make clean' should only remove the generated html files, index.html is not
one of them!

20 years agomention the D binding
Daniel Stenberg [Fri, 5 Mar 2004 07:57:07 +0000 (07:57 +0000)]
mention the D binding

20 years agoMultiple updates, most of them being proper formatting to create nice html
Daniel Stenberg [Fri, 5 Mar 2004 07:55:02 +0000 (07:55 +0000)]
Multiple updates, most of them being proper formatting to create nice html
links in the web pages, but also additional facts and removal of old crap.

20 years agoissue 12 fix is pending and is working in devel
Daniel Stenberg [Thu, 4 Mar 2004 16:19:12 +0000 (16:19 +0000)]
issue 12 fix is pending and is working in devel
added issue 24 - fix the progress meter for large files on slow networks to
not wrap

20 years agoWhen following to a new URL, we must make sure to call Curl_done() first,
Daniel Stenberg [Thu, 4 Mar 2004 16:13:33 +0000 (16:13 +0000)]
When following to a new URL, we must make sure to call Curl_done() first,
since the current connection must be taken care of properly before we move
on. Christopher R. Palmer reported a problem he found due to this mistake.

20 years agoAndrés García's patch to prevent warnings while compiling with mingw, mainly
Daniel Stenberg [Thu, 4 Mar 2004 15:32:18 +0000 (15:32 +0000)]
Andrés García's patch to prevent warnings while compiling with mingw, mainly
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.

20 years agouse size_t for the data, but keep the protos use ssize_t to better fit
Daniel Stenberg [Thu, 4 Mar 2004 15:25:06 +0000 (15:25 +0000)]
use size_t for the data, but keep the protos use ssize_t to better fit
with the existing transfer.c code

20 years agoinclude the proper header file too
Daniel Stenberg [Thu, 4 Mar 2004 15:23:57 +0000 (15:23 +0000)]
include the proper header file too

20 years agofix progress data to be updated properly for file: transfers, as reported
Daniel Stenberg [Thu, 4 Mar 2004 15:12:12 +0000 (15:12 +0000)]
fix progress data to be updated properly for file: transfers, as reported
by Jesse Noller

20 years agoprevent harmless compiler warning
Daniel Stenberg [Thu, 4 Mar 2004 12:57:12 +0000 (12:57 +0000)]
prevent harmless compiler warning

20 years agoDavid Byron's version resource fix
Daniel Stenberg [Thu, 4 Mar 2004 09:56:39 +0000 (09:56 +0000)]
David Byron's version resource fix

20 years agonew "version resource" file for windows builds
Daniel Stenberg [Thu, 4 Mar 2004 09:56:17 +0000 (09:56 +0000)]
new "version resource" file for windows builds

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