platform/upstream/curl.git
20 years agostore times in time_t
Daniel Stenberg [Wed, 10 Mar 2004 09:36:43 +0000 (09:36 +0000)]
store times in time_t

20 years agoJeff Lawson fixed the SSL connection to deal with received signals during the
Daniel Stenberg [Wed, 10 Mar 2004 08:43:01 +0000 (08:43 +0000)]
Jeff Lawson fixed the SSL connection to deal with received signals during the
connect.

20 years agoNow requires an OS string defined by the config*.h file
Daniel Stenberg [Wed, 10 Mar 2004 08:15:50 +0000 (08:15 +0000)]
Now requires an OS string defined by the config*.h file

20 years agomake windows builds use the OS string "i386-pc-win32" instead of just "win32"
Daniel Stenberg [Wed, 10 Mar 2004 08:14:22 +0000 (08:14 +0000)]
make windows builds use the OS string "i386-pc-win32" instead of just "win32"
to make it more like other OS strings

20 years agouse size_t for string lengths
Daniel Stenberg [Wed, 10 Mar 2004 08:12:09 +0000 (08:12 +0000)]
use size_t for string lengths

20 years agoMake sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
Daniel Stenberg [Wed, 10 Mar 2004 08:08:02 +0000 (08:08 +0000)]
Make sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
It is only undefined when this file is included by others (like ares) and
in those cases it doesn't matter.

20 years agoremoved the #if 0'ed pragmas that disable warnings on msvc
Daniel Stenberg [Wed, 10 Mar 2004 07:04:31 +0000 (07:04 +0000)]
removed the #if 0'ed pragmas that disable warnings on msvc

20 years agomoved the curl_socket_t typedef downwards
Daniel Stenberg [Wed, 10 Mar 2004 07:03:13 +0000 (07:03 +0000)]
moved the curl_socket_t typedef downwards

20 years agoadded the new socket type
Daniel Stenberg [Tue, 9 Mar 2004 22:55:47 +0000 (22:55 +0000)]
added the new socket type

20 years agoUse curl_socket_t instead of int for holding sockets. The typedefs and
Daniel Stenberg [Tue, 9 Mar 2004 22:52:50 +0000 (22:52 +0000)]
Use curl_socket_t instead of int for holding sockets. The typedefs and
defines are in setup.h.

20 years agoAdded -I$(top_srcdir)/include, since lib/setup.h might include files from
Daniel Stenberg [Tue, 9 Mar 2004 21:49:46 +0000 (21:49 +0000)]
Added -I$(top_srcdir)/include, since lib/setup.h might include files from
the external curl include dir.

20 years agoonly build with the windows threading trace code if
Daniel Stenberg [Tue, 9 Mar 2004 21:42:43 +0000 (21:42 +0000)]
only build with the windows threading trace code if
DEBUG_THREADING_GETHOSTBYNAME is defined

20 years agoexplicit typecast to visualize that we really want the result of the
Daniel Stenberg [Tue, 9 Mar 2004 21:39:50 +0000 (21:39 +0000)]
explicit typecast to visualize that we really want the result of the
operation as a size_t

20 years agoTor Arntsen's fix to a AIX build problem
Daniel Stenberg [Tue, 9 Mar 2004 21:25:59 +0000 (21:25 +0000)]
Tor Arntsen's fix to a AIX build problem

20 years agoremove ares/aclocal.m4 before cvs update to prevent bad conflicts
Daniel Stenberg [Tue, 9 Mar 2004 11:24:36 +0000 (11:24 +0000)]
remove ares/aclocal.m4 before cvs update to prevent bad conflicts

20 years agomingw has str(n)casecmp() functions
Daniel Stenberg [Tue, 9 Mar 2004 10:18:09 +0000 (10:18 +0000)]
mingw has str(n)casecmp() functions

20 years agotimezone dummy to build better on Windows - Gisle Vanem
Daniel Stenberg [Tue, 9 Mar 2004 09:47:51 +0000 (09:47 +0000)]
timezone dummy to build better on Windows - Gisle Vanem

20 years agoGisle Vanem fixed the bad argc check
Daniel Stenberg [Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)]
Gisle Vanem fixed the bad argc check

20 years agothe error message stuff is for 7.12
Daniel Stenberg [Tue, 9 Mar 2004 09:38:16 +0000 (09:38 +0000)]
the error message stuff is for 7.12

20 years agoAndrés García-fix to make it build with mingw
Daniel Stenberg [Tue, 9 Mar 2004 08:38:25 +0000 (08:38 +0000)]
Andrés García-fix to make it build with mingw

20 years agoadded HAVE_IOCTLSOCKET here
Daniel Stenberg [Tue, 9 Mar 2004 08:35:33 +0000 (08:35 +0000)]
added HAVE_IOCTLSOCKET here

20 years agothis is generated, removed from CVS
Daniel Stenberg [Mon, 8 Mar 2004 16:29:45 +0000 (16:29 +0000)]
this is generated, removed from CVS

20 years agodon't compare signed/unsigned
Daniel Stenberg [Mon, 8 Mar 2004 16:20:51 +0000 (16:20 +0000)]
don't compare signed/unsigned

20 years agoRemoved John Clayton's really odd bug since its never been reported again and
Daniel Stenberg [Mon, 8 Mar 2004 14:04:10 +0000 (14:04 +0000)]
Removed John Clayton's really odd bug since its never been reported again and
it was quite a long time since he experienced that one.

20 years agomention error 64
Daniel Stenberg [Mon, 8 Mar 2004 13:57:38 +0000 (13:57 +0000)]
mention error 64

20 years agothe largefile for version_info fix
Daniel Stenberg [Mon, 8 Mar 2004 13:17:53 +0000 (13:17 +0000)]
the largefile for version_info fix

20 years agofread() returns a size_t
Daniel Stenberg [Mon, 8 Mar 2004 12:56:18 +0000 (12:56 +0000)]
fread() returns a size_t

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