Daniel Stenberg [Wed, 10 Mar 2004 08:12:09 +0000 (08:12 +0000)]
use size_t for string lengths
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.
Daniel Stenberg [Wed, 10 Mar 2004 07:04:31 +0000 (07:04 +0000)]
removed the #if 0'ed pragmas that disable warnings on msvc
Daniel Stenberg [Wed, 10 Mar 2004 07:03:13 +0000 (07:03 +0000)]
moved the curl_socket_t typedef downwards
Daniel Stenberg [Tue, 9 Mar 2004 22:55:47 +0000 (22:55 +0000)]
added the new socket type
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.
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.
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
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
Daniel Stenberg [Tue, 9 Mar 2004 21:25:59 +0000 (21:25 +0000)]
Tor Arntsen's fix to a AIX build problem
Daniel Stenberg [Tue, 9 Mar 2004 11:24:36 +0000 (11:24 +0000)]
remove ares/aclocal.m4 before cvs update to prevent bad conflicts
Daniel Stenberg [Tue, 9 Mar 2004 10:18:09 +0000 (10:18 +0000)]
mingw has str(n)casecmp() functions
Daniel Stenberg [Tue, 9 Mar 2004 09:47:51 +0000 (09:47 +0000)]
timezone dummy to build better on Windows - Gisle Vanem
Daniel Stenberg [Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)]
Gisle Vanem fixed the bad argc check
Daniel Stenberg [Tue, 9 Mar 2004 09:38:16 +0000 (09:38 +0000)]
the error message stuff is for 7.12
Daniel Stenberg [Tue, 9 Mar 2004 08:38:25 +0000 (08:38 +0000)]
Andrés García-fix to make it build with mingw
Daniel Stenberg [Tue, 9 Mar 2004 08:35:33 +0000 (08:35 +0000)]
added HAVE_IOCTLSOCKET here
Daniel Stenberg [Mon, 8 Mar 2004 16:29:45 +0000 (16:29 +0000)]
this is generated, removed from CVS
Daniel Stenberg [Mon, 8 Mar 2004 16:20:51 +0000 (16:20 +0000)]
don't compare signed/unsigned
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.
Daniel Stenberg [Mon, 8 Mar 2004 13:57:38 +0000 (13:57 +0000)]
mention error 64
Daniel Stenberg [Mon, 8 Mar 2004 13:17:53 +0000 (13:17 +0000)]
the largefile for version_info fix
Daniel Stenberg [Mon, 8 Mar 2004 12:56:18 +0000 (12:56 +0000)]
fread() returns a size_t
Daniel Stenberg [Mon, 8 Mar 2004 12:51:33 +0000 (12:51 +0000)]
use curl standard source formatting
Daniel Stenberg [Mon, 8 Mar 2004 12:51:13 +0000 (12:51 +0000)]
typecast enum to int to make it printf() properly
Daniel Stenberg [Mon, 8 Mar 2004 12:48:09 +0000 (12:48 +0000)]
variable type fixes
Daniel Stenberg [Mon, 8 Mar 2004 12:47:37 +0000 (12:47 +0000)]
Moved the error message buffer into the glob struct as well.
Daniel Stenberg [Mon, 8 Mar 2004 12:37:46 +0000 (12:37 +0000)]
Commented the Curl_read() arguments.
Daniel Stenberg [Mon, 8 Mar 2004 12:37:11 +0000 (12:37 +0000)]
size_t/int fix
Daniel Stenberg [Mon, 8 Mar 2004 12:36:54 +0000 (12:36 +0000)]
strlen() returns size_t
Daniel Stenberg [Mon, 8 Mar 2004 11:37:12 +0000 (11:37 +0000)]
we ignore the ICC warning 1419 as well
Daniel Stenberg [Mon, 8 Mar 2004 11:36:47 +0000 (11:36 +0000)]
waitconnect() takes the timeout argument as a long
Daniel Stenberg [Mon, 8 Mar 2004 11:33:49 +0000 (11:33 +0000)]
store size as size_t
use %zd when outputting size_t
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
Daniel Stenberg [Mon, 8 Mar 2004 08:38:29 +0000 (08:38 +0000)]
size_t/int/long fixes
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
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
Daniel Stenberg [Fri, 5 Mar 2004 12:54:18 +0000 (12:54 +0000)]
issue 12 fix
Daniel Stenberg [Fri, 5 Mar 2004 11:39:19 +0000 (11:39 +0000)]
another include to prevent warnings
Daniel Stenberg [Fri, 5 Mar 2004 10:18:58 +0000 (10:18 +0000)]
two fixes, one new mirror
Daniel Stenberg [Fri, 5 Mar 2004 10:14:46 +0000 (10:14 +0000)]
clonk
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
Daniel Stenberg [Fri, 5 Mar 2004 09:37:48 +0000 (09:37 +0000)]
clearly tell that these are ftp response timeouts
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
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!
Daniel Stenberg [Fri, 5 Mar 2004 07:57:07 +0000 (07:57 +0000)]
mention the D binding
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.
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
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.
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.
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
Daniel Stenberg [Thu, 4 Mar 2004 15:23:57 +0000 (15:23 +0000)]
include the proper header file too
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
Daniel Stenberg [Thu, 4 Mar 2004 12:57:12 +0000 (12:57 +0000)]
prevent harmless compiler warning
Daniel Stenberg [Thu, 4 Mar 2004 09:56:39 +0000 (09:56 +0000)]
David Byron's version resource fix
Daniel Stenberg [Thu, 4 Mar 2004 09:56:17 +0000 (09:56 +0000)]
new "version resource" file for windows builds
Daniel Stenberg [Wed, 3 Mar 2004 14:46:37 +0000 (14:46 +0000)]
show curl --version output as well
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
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.
Daniel Stenberg [Wed, 3 Mar 2004 13:30:18 +0000 (13:30 +0000)]
three days of changes
Daniel Stenberg [Wed, 3 Mar 2004 13:24:14 +0000 (13:24 +0000)]
more variable type cleanups
Daniel Stenberg [Wed, 3 Mar 2004 13:17:44 +0000 (13:17 +0000)]
our timeout values are longs while 'tv_sec' is int
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! ;-)
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)
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.
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))
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.
Daniel Stenberg [Wed, 3 Mar 2004 10:09:30 +0000 (10:09 +0000)]
removed include stuff now handled by test.h
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
Daniel Stenberg [Wed, 3 Mar 2004 09:27:18 +0000 (09:27 +0000)]
Tom Bates' adjustment to build on his nsr-tandem-nsk.
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.
Daniel Stenberg [Wed, 3 Mar 2004 09:16:36 +0000 (09:16 +0000)]
Dan Fandrich fixed some GSS detection flaws
Daniel Stenberg [Tue, 2 Mar 2004 14:00:44 +0000 (14:00 +0000)]
corrected the reuse_fresh condition
Daniel Stenberg [Tue, 2 Mar 2004 10:22:05 +0000 (10:22 +0000)]
large file in jan 2004
Daniel Stenberg [Tue, 2 Mar 2004 10:08:04 +0000 (10:08 +0000)]
various updates
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
Daniel Stenberg [Tue, 2 Mar 2004 09:50:37 +0000 (09:50 +0000)]
display src/config.h as well after configure as run
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'.
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.
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!
Daniel Stenberg [Tue, 2 Mar 2004 08:28:23 +0000 (08:28 +0000)]
clean the html and pdf files
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
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.
Daniel Stenberg [Mon, 1 Mar 2004 16:32:51 +0000 (16:32 +0000)]
the CURLOPT_FRESH_CONNECT fix
Daniel Stenberg [Mon, 1 Mar 2004 16:30:59 +0000 (16:30 +0000)]
a fair day's work!
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.
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?
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
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)
Daniel Stenberg [Mon, 1 Mar 2004 16:24:26 +0000 (16:24 +0000)]
check for CURL_VERSION_LARGEFILE in the feature bitmask
Daniel Stenberg [Mon, 1 Mar 2004 16:24:04 +0000 (16:24 +0000)]
set CURL_VERSION_LARGEFILE if we support 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!
Daniel Stenberg [Mon, 1 Mar 2004 16:22:17 +0000 (16:22 +0000)]
fixed the test code to work
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()!)
Daniel Stenberg [Mon, 1 Mar 2004 16:18:40 +0000 (16:18 +0000)]
added test 99, very basic initial large file test
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
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.
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!
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.
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