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')
Daniel Stenberg [Thu, 26 Feb 2004 11:46:17 +0000 (11:46 +0000)]
added the ever-present source header
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.
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!
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.
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
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.
Daniel Stenberg [Wed, 25 Feb 2004 15:44:39 +0000 (15:44 +0000)]
today's work
Daniel Stenberg [Wed, 25 Feb 2004 15:43:15 +0000 (15:43 +0000)]
typecast to int when printfing CURLcode
Daniel Stenberg [Wed, 25 Feb 2004 15:41:36 +0000 (15:41 +0000)]
use %ld when printfing longs
Daniel Stenberg [Wed, 25 Feb 2004 15:34:05 +0000 (15:34 +0000)]
disable the use of long double, we don't use it
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
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
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.
Daniel Stenberg [Wed, 25 Feb 2004 14:14:30 +0000 (14:14 +0000)]
set debug options when using the icc compiler
Daniel Stenberg [Wed, 25 Feb 2004 12:34:19 +0000 (12:34 +0000)]
better formatting of the share options
Daniel Stenberg [Wed, 25 Feb 2004 12:32:33 +0000 (12:32 +0000)]
mark the function name
Daniel Stenberg [Wed, 25 Feb 2004 12:20:41 +0000 (12:20 +0000)]
added CURLOPT_SHARE
Daniel Stenberg [Wed, 25 Feb 2004 10:19:02 +0000 (10:19 +0000)]
Moved most of the set-debug-options-depending-on-compiler logic to the new
CURL_CC_DEBUG_OPTS function in acinclude.m4
Daniel Stenberg [Wed, 25 Feb 2004 09:03:09 +0000 (09:03 +0000)]
Output $CC and $CFLAGS as well. A Tor Arntsen patch.
Daniel Stenberg [Wed, 25 Feb 2004 07:22:00 +0000 (07:22 +0000)]
Don't check for HAVE_ defines in this header file, it is meant to be public
and we can't depend on configure-defines in it. This logic is borrowed from
the public curl headers.
Daniel Stenberg [Wed, 25 Feb 2004 07:17:31 +0000 (07:17 +0000)]
fix
Daniel Stenberg [Wed, 25 Feb 2004 06:37:42 +0000 (06:37 +0000)]
Dan Fandrich fixed a minor flaw in Dominick's fix!
Daniel Stenberg [Mon, 23 Feb 2004 16:20:42 +0000 (16:20 +0000)]
check for a few basic header files
Daniel Stenberg [Mon, 23 Feb 2004 16:20:31 +0000 (16:20 +0000)]
include sys/select.h
Daniel Stenberg [Mon, 23 Feb 2004 16:09:39 +0000 (16:09 +0000)]
fixed some warnings in the (both new and old) base64 usage
Daniel Stenberg [Mon, 23 Feb 2004 16:04:16 +0000 (16:04 +0000)]
features no one seem to care much about are now moved over to the 7.11.2
release
Daniel Stenberg [Mon, 23 Feb 2004 14:24:49 +0000 (14:24 +0000)]
make newer MSCV7 compilers use _strtoi64() as a strtoll() replacement
Daniel Stenberg [Mon, 23 Feb 2004 13:48:27 +0000 (13:48 +0000)]
limit rate and windows timeouts
Daniel Stenberg [Mon, 23 Feb 2004 13:35:28 +0000 (13:35 +0000)]
ares_free_errmem is gone
Daniel Stenberg [Mon, 23 Feb 2004 13:33:18 +0000 (13:33 +0000)]
unused and now removed
Daniel Stenberg [Mon, 23 Feb 2004 12:01:10 +0000 (12:01 +0000)]
Removed getpass from here. The fact this still was present here indicates
that this file is out of date!
Daniel Stenberg [Mon, 23 Feb 2004 11:59:28 +0000 (11:59 +0000)]
curl_off_t is 8 bytes big on windows
Daniel Stenberg [Mon, 23 Feb 2004 11:44:03 +0000 (11:44 +0000)]
switch the arguments according to the c source
Daniel Stenberg [Mon, 23 Feb 2004 11:39:21 +0000 (11:39 +0000)]
oops, the decode() function got its arguments reversed in my cleanup
operation!
Daniel Stenberg [Mon, 23 Feb 2004 09:01:08 +0000 (09:01 +0000)]
correct the input data structs
Daniel Stenberg [Mon, 23 Feb 2004 08:38:49 +0000 (08:38 +0000)]
use size_t to keep strlen() results
Daniel Stenberg [Mon, 23 Feb 2004 08:35:57 +0000 (08:35 +0000)]
simplied how create_hostcache_id() is used, and also its function somewhat
cleared up some ssize_t/size_t mixups
Daniel Stenberg [Mon, 23 Feb 2004 08:24:53 +0000 (08:24 +0000)]
adjusted to the modified base64 protos
Daniel Stenberg [Mon, 23 Feb 2004 08:22:43 +0000 (08:22 +0000)]
More size_t cleanups in the base64 functions.
Daniel Stenberg [Mon, 23 Feb 2004 08:07:55 +0000 (08:07 +0000)]
The base64 encode function now takes a size_t for size, not an int as
previously.
Daniel Stenberg [Mon, 23 Feb 2004 08:04:31 +0000 (08:04 +0000)]
more int vs long/size_t fixes after icc compiler warnings
Daniel Stenberg [Mon, 23 Feb 2004 08:00:56 +0000 (08:00 +0000)]
more int/long fixes after icc "remarks"
Daniel Stenberg [Mon, 23 Feb 2004 07:57:44 +0000 (07:57 +0000)]
next_id is an unsigned short, typecast the assign to prevent picky compilers
to warn
Daniel Stenberg [Mon, 23 Feb 2004 07:55:58 +0000 (07:55 +0000)]
typecase the bitfiddling results since we get a long and we store an int,
they may not be of the size size
Daniel Stenberg [Mon, 23 Feb 2004 07:52:20 +0000 (07:52 +0000)]
make ares_expand_name() take a long * instead of an int *, since we do
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need
long
Daniel Stenberg [Mon, 23 Feb 2004 07:46:59 +0000 (07:46 +0000)]
strlen() returns a size_t, which might be larger than int on some platforms
Daniel Stenberg [Mon, 23 Feb 2004 07:32:45 +0000 (07:32 +0000)]
argh, use single-quotes instead of double ones to make $Revision appear
Daniel Stenberg [Mon, 23 Feb 2004 07:17:13 +0000 (07:17 +0000)]
use the proper source header, and set the version string to this file's
revision number
Daniel Stenberg [Mon, 23 Feb 2004 07:08:59 +0000 (07:08 +0000)]
cd back to the root path before removing the build dir, since some systems
refuse to remove the dir otherwise!
Daniel Stenberg [Sun, 22 Feb 2004 22:42:20 +0000 (22:42 +0000)]
Dominick Meglio's fix for supporting multiple names in the Nameserver key
on Windows.
Daniel Stenberg [Sun, 22 Feb 2004 22:36:36 +0000 (22:36 +0000)]
this code uses no long long, so we can have warnings about them
Daniel Stenberg [Sun, 22 Feb 2004 22:31:24 +0000 (22:31 +0000)]
the missing part of Gisle Vanem's connect-timeout fix for win32
Daniel Stenberg [Sat, 21 Feb 2004 16:56:01 +0000 (16:56 +0000)]
-Wno-format-nonliteral does not exist in my gcc 2.96, only use that with
newer versions
Daniel Stenberg [Sat, 21 Feb 2004 16:18:57 +0000 (16:18 +0000)]
mention in --limit-rate that --speed-limit might ruin the limiting slightly.
Daniel Stenberg [Sat, 21 Feb 2004 15:08:21 +0000 (15:08 +0000)]
David Byron's fix to allow the speed-limit logic work even if you set
limit-rate. It does work on the expense of the rate limiter.
Daniel Stenberg [Sat, 21 Feb 2004 15:05:46 +0000 (15:05 +0000)]
added some extra typecasts to prevent compiler warnings when converting
int to various types
Daniel Stenberg [Sat, 21 Feb 2004 14:57:29 +0000 (14:57 +0000)]
inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy picky
compilers
Daniel Stenberg [Fri, 20 Feb 2004 16:41:50 +0000 (16:41 +0000)]
Gisle Vanem brings name resolving timeout possibilities to windows people.
This works by magicly starting up a new thread that can be killed when the
timeout is reached. testtesttest!
Daniel Stenberg [Fri, 20 Feb 2004 16:29:57 +0000 (16:29 +0000)]
that icc attempt in configure
Daniel Stenberg [Fri, 20 Feb 2004 16:22:47 +0000 (16:22 +0000)]
Some compilers warn on completely empty source files, we provide a blank
one to prevent that.
Daniel Stenberg [Fri, 20 Feb 2004 16:18:26 +0000 (16:18 +0000)]
Convert functions to ANSI-style declaration to prevent compiler warnings
Daniel Stenberg [Fri, 20 Feb 2004 15:39:37 +0000 (15:39 +0000)]
When the built-in manual is disabled, we generate a function doing nothing
just to avoid making a totally empty file. Just to avoid compiler warnings.
Daniel Stenberg [Fri, 20 Feb 2004 15:16:31 +0000 (15:16 +0000)]
No longer support Z as a flag to print size_t, it isn't used by libcurl
and I doubt anyone else uses it.
Better preprocessor magic for the O flag (for curl_off_t printing) to prevent
compiler warnings.
Daniel Stenberg [Fri, 20 Feb 2004 13:09:35 +0000 (13:09 +0000)]
cool.haxx.se, no longer sourceforge
Daniel Stenberg [Fri, 20 Feb 2004 10:11:50 +0000 (10:11 +0000)]
Only use -Wstrict-prototypes with gcc 3.3 or later.
It is working with earlier versions, but when I use it with 3.0.3, I can't
get it to ignore errors in "system headers" with -isystem so we get
excessive amounts of warnings on SSL headers which is very annoying.
Daniel Stenberg [Fri, 20 Feb 2004 08:51:43 +0000 (08:51 +0000)]
include sys/select.h to prevent picky compiler warnings when using select()
without proto
Daniel Stenberg [Fri, 20 Feb 2004 08:47:23 +0000 (08:47 +0000)]
we call the macro CURLMAX() isntead of MAX(), just because it turned up
it collides with another MAX define on some platforms (like netbsd 1.6.1)
Daniel Stenberg [Fri, 20 Feb 2004 07:22:25 +0000 (07:22 +0000)]
oops, missed a define when I changed from Curl_ to curlx_
Daniel Stenberg [Fri, 20 Feb 2004 07:19:18 +0000 (07:19 +0000)]
fix protos to prevent warnings
Daniel Stenberg [Fri, 20 Feb 2004 07:19:01 +0000 (07:19 +0000)]
added getpart.h for the spitout() proto
Daniel Stenberg [Fri, 20 Feb 2004 07:14:58 +0000 (07:14 +0000)]
%HTTPPORT supported in subVariables
Daniel Stenberg [Fri, 20 Feb 2004 07:05:10 +0000 (07:05 +0000)]
mention what ports the test suite uses
Daniel Stenberg [Fri, 20 Feb 2004 06:59:17 +0000 (06:59 +0000)]
When trying to see if there's a friendly http server on "our" port, we
only accept return code 7 to indicate that there's no server present.
Daniel Stenberg [Thu, 19 Feb 2004 21:34:52 +0000 (21:34 +0000)]
-Wcast-align is a bit too annoying
Daniel Stenberg [Thu, 19 Feb 2004 21:32:19 +0000 (21:32 +0000)]
Anything that looks like gcc 5.0 or more is no longer treated as gcc. I hope
this will make us exclude icc 8.0 etc.
Daniel Stenberg [Thu, 19 Feb 2004 21:21:12 +0000 (21:21 +0000)]
refer to FILEFORMAT
Daniel Stenberg [Thu, 19 Feb 2004 19:25:11 +0000 (19:25 +0000)]
When --enable-debug is used, for every -I provided to $CPPFLAGS we add
a corresponding -isystem, if using gcc, to inhibit warnings on those
headers.
Daniel Stenberg [Thu, 19 Feb 2004 16:24:22 +0000 (16:24 +0000)]
Tor Arntsen's tiny fix!
Daniel Stenberg [Thu, 19 Feb 2004 15:58:58 +0000 (15:58 +0000)]
if not yacc or bison is found, check if we *really* need it, and if we do
we bail out!
Daniel Stenberg [Thu, 19 Feb 2004 15:39:06 +0000 (15:39 +0000)]
fixed the no-ssl version to return int as well
Daniel Stenberg [Thu, 19 Feb 2004 13:03:04 +0000 (13:03 +0000)]
provide protos to the functions to prevent warnings
Daniel Stenberg [Thu, 19 Feb 2004 13:00:33 +0000 (13:00 +0000)]
typecast the type to an int on return
Daniel Stenberg [Thu, 19 Feb 2004 13:00:05 +0000 (13:00 +0000)]
return int from test()
Daniel Stenberg [Thu, 19 Feb 2004 12:59:57 +0000 (12:59 +0000)]
provide a test() proto
Daniel Stenberg [Thu, 19 Feb 2004 12:56:45 +0000 (12:56 +0000)]
use a die and a log function to die and log texts
better detect test suite failures
remove the buildlog at exit
make a random buildlog file name, now in the same dir where the build dir
is created
checks if the ares build succeeded
Daniel Stenberg [Thu, 19 Feb 2004 12:10:07 +0000 (12:10 +0000)]
remove the build.log too at exit, and also use the proper $pwd prefix
to find the files/dirs to remove so that it still works if we "die" after
having done a 'cd'
Daniel Stenberg [Thu, 19 Feb 2004 10:21:54 +0000 (10:21 +0000)]
very minor phrase edit
Daniel Stenberg [Thu, 19 Feb 2004 10:21:43 +0000 (10:21 +0000)]
fixes from the recent days
Daniel Stenberg [Thu, 19 Feb 2004 09:33:59 +0000 (09:33 +0000)]
check for standard headers when --enable-debug is used
Daniel Stenberg [Thu, 19 Feb 2004 09:22:00 +0000 (09:22 +0000)]
Doug Porter's patch that changes the order of preferences on how to find the
default netrc file. We now read and uses HOME _before_ we use getpwuid() to
better allow users to move around HOME to use different .netrc files without
having to rely on even blacker magic.
Daniel Stenberg [Thu, 19 Feb 2004 09:01:13 +0000 (09:01 +0000)]
If --enable-debug is used and gcc, we figure out which version and then we
use as aggressive warning options as possible for the used compiler version.
Daniel Stenberg [Thu, 19 Feb 2004 08:19:21 +0000 (08:19 +0000)]
item 19 is considered fixed until we get to hear differently
item 25 is now dealt with using the curlx_ prefix, mentioned in detail here:
http://curl.haxx.se/mail/lib-2004-02/0215.html
Daniel Stenberg [Thu, 19 Feb 2004 08:13:20 +0000 (08:13 +0000)]
Use the strtoofft.h header file from the lib directory, as we are now
officially using library-code when building the app (at least for the platforms
that don't have a strtoll() on their own).
Daniel Stenberg [Thu, 19 Feb 2004 08:12:13 +0000 (08:12 +0000)]
Remade to use curlx_-prefix. This means this function can be compiled and
linked separately by the application. This function is not provided by the
libcurl API. It can only be accessed by apps if they compile and use this
particular source code.
Daniel Stenberg [Wed, 18 Feb 2004 16:16:13 +0000 (16:16 +0000)]
AIX and Tru64 have what Tor calls "horribly broken 'which' programs" so we
now scan the PATH ourself to find the path to (g)libtool
Daniel Stenberg [Wed, 18 Feb 2004 15:28:56 +0000 (15:28 +0000)]
removed some "jhrg" from comments
Daniel Stenberg [Wed, 18 Feb 2004 12:26:27 +0000 (12:26 +0000)]
I removed the socklen_t requirement from memdebug.h, so we don't need to
figure it out here anymore to build debug builds.
Daniel Stenberg [Wed, 18 Feb 2004 12:22:56 +0000 (12:22 +0000)]
Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd
argument to also not force the casual includer to know about the socklen_t
type.
Daniel Stenberg [Wed, 18 Feb 2004 12:18:33 +0000 (12:18 +0000)]
Modified curl_accept() to take a 'void *' in the 2nd argument instead of
sockaddr *. This has the added benefit that source files that include
memdebug.h doesn't have to know about "sockaddr".