platform/upstream/c-ares.git
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 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 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 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 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 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 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 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 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 agoDon't check for HAVE_ defines in this header file, it is meant to be public
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.

20 years agofix
Daniel Stenberg [Wed, 25 Feb 2004 07:17:31 +0000 (07:17 +0000)]
fix

20 years agoDan Fandrich fixed a minor flaw in Dominick's fix!
Daniel Stenberg [Wed, 25 Feb 2004 06:37:42 +0000 (06:37 +0000)]
Dan Fandrich fixed a minor flaw in Dominick's fix!

20 years agocheck for a few basic header files
Daniel Stenberg [Mon, 23 Feb 2004 16:20:42 +0000 (16:20 +0000)]
check for a few basic header files

20 years agoinclude sys/select.h
Daniel Stenberg [Mon, 23 Feb 2004 16:20:31 +0000 (16:20 +0000)]
include sys/select.h

20 years agoares_free_errmem is gone
Daniel Stenberg [Mon, 23 Feb 2004 13:35:28 +0000 (13:35 +0000)]
ares_free_errmem is gone

20 years agounused and now removed
Daniel Stenberg [Mon, 23 Feb 2004 13:33:18 +0000 (13:33 +0000)]
unused and now removed

20 years agomore int vs long/size_t fixes after icc compiler warnings
Daniel Stenberg [Mon, 23 Feb 2004 08:04:31 +0000 (08:04 +0000)]
more int vs long/size_t fixes after icc compiler warnings

20 years agomore int/long fixes after icc "remarks"
Daniel Stenberg [Mon, 23 Feb 2004 08:00:56 +0000 (08:00 +0000)]
more int/long fixes after icc "remarks"

20 years agonext_id is an unsigned short, typecast the assign to prevent picky compilers
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

20 years agotypecase the bitfiddling results since we get a long and we store an int,
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

20 years agomake ares_expand_name() take a long * instead of an int *, since we do
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

20 years agostrlen() returns a size_t, which might be larger than int on some platforms
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

20 years agoDominick Meglio's fix for supporting multiple names in the Nameserver key
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.

20 years agothis code uses no long long, so we can have warnings about them
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

20 years agocheck for standard headers when --enable-debug is used
Daniel Stenberg [Thu, 19 Feb 2004 09:33:59 +0000 (09:33 +0000)]
check for standard headers when --enable-debug is used

20 years agoI removed the socklen_t requirement from memdebug.h, so we don't need to
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.

20 years agoThe --enable-debug option really requires this to be built as part of curl.
Daniel Stenberg [Wed, 18 Feb 2004 09:07:50 +0000 (09:07 +0000)]
The --enable-debug option really requires this to be built as part of curl.
When using it, we now set the include path to better find the devel curl
headers, and we check for the socklen_t type since the curl memdebug stuff
needs it.

20 years agomemdebug build, 'make' no longer builds the demo tools
Daniel Stenberg [Tue, 17 Feb 2004 07:41:10 +0000 (07:41 +0000)]
memdebug build, 'make' no longer builds the demo tools

20 years ago'make all' also builds the demos
Daniel Stenberg [Tue, 17 Feb 2004 07:40:46 +0000 (07:40 +0000)]
'make all' also builds the demos

20 years agoinclude ares_private.h to make sure we get the memdebug stuff included
Daniel Stenberg [Tue, 17 Feb 2004 07:40:31 +0000 (07:40 +0000)]
include ares_private.h to make sure we get the memdebug stuff included

20 years agoIf CURLDEBUG is set we use the libcurl internal memdebug system to track
Daniel Stenberg [Tue, 17 Feb 2004 07:40:02 +0000 (07:40 +0000)]
If CURLDEBUG is set we use the libcurl internal memdebug system to track
memory leaks etc.

20 years agoonly build adig and ahost if 'make demos' is used
Daniel Stenberg [Mon, 16 Feb 2004 16:27:18 +0000 (16:27 +0000)]
only build adig and ahost if 'make demos' is used

20 years agodon't assume we can use gcc 2.96+ options
Daniel Stenberg [Sun, 15 Feb 2004 12:30:40 +0000 (12:30 +0000)]
don't assume we can use gcc 2.96+ options

20 years agoremoved usage of unset variables (by a function that does nothing!)
Daniel Stenberg [Fri, 13 Feb 2004 12:28:27 +0000 (12:28 +0000)]
removed usage of unset variables (by a function that does nothing!)

20 years agoinstall ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:59:16 +0000 (12:59 +0000)]
install ares_version.h as well

20 years agoDirk Manske's fix to install ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:58:43 +0000 (12:58 +0000)]
Dirk Manske's fix to install ares_version.h as well

20 years agoinclude process.h to get the _getpid() proto
Daniel Stenberg [Thu, 5 Feb 2004 12:19:13 +0000 (12:19 +0000)]
include process.h to get the _getpid() proto

20 years agofixed "comparison between signed and unsigned" complaints
Daniel Stenberg [Wed, 4 Feb 2004 10:24:23 +0000 (10:24 +0000)]
fixed "comparison between signed and unsigned" complaints

20 years agodon't use 'sin' as variable name as the picky compiler warnings complain
Daniel Stenberg [Wed, 4 Feb 2004 10:23:15 +0000 (10:23 +0000)]
don't use 'sin' as variable name as the picky compiler warnings complain
about it shadowing the function sin()

20 years agofixing
Daniel Stenberg [Wed, 4 Feb 2004 09:16:05 +0000 (09:16 +0000)]
fixing

20 years agoprevent a compiler warning about a macro definition
Daniel Stenberg [Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)]
prevent a compiler warning about a macro definition

20 years agoprevent the windows version to use global symbol names
Daniel Stenberg [Wed, 4 Feb 2004 08:00:25 +0000 (08:00 +0000)]
prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions

20 years agowe use the more aggressive compiler warnings
Daniel Stenberg [Wed, 4 Feb 2004 07:54:42 +0000 (07:54 +0000)]
we use the more aggressive compiler warnings

20 years agomade more pointers unsigned, as they were mostly used passed in to functions
Daniel Stenberg [Wed, 4 Feb 2004 07:52:13 +0000 (07:52 +0000)]
made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.

20 years agotypecast comparision between signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:51:30 +0000 (07:51 +0000)]
typecast comparision between signed and unsigned

20 years agotry_config() takes a second parameter as const, to prevent picky compiler
Daniel Stenberg [Wed, 4 Feb 2004 07:50:51 +0000 (07:50 +0000)]
try_config() takes a second parameter as const, to prevent picky compiler
warnings

20 years agotakes a void *, not a char * anymore
Daniel Stenberg [Wed, 4 Feb 2004 07:50:18 +0000 (07:50 +0000)]
takes a void *, not a char * anymore

20 years agoares_free_string() now takes a void * instead
Daniel Stenberg [Wed, 4 Feb 2004 07:49:33 +0000 (07:49 +0000)]
ares_free_string() now takes a void * instead

20 years agodon't compare signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:48:46 +0000 (07:48 +0000)]
don't compare signed and unsigned

20 years agoadded a tags target
Daniel Stenberg [Wed, 4 Feb 2004 07:48:20 +0000 (07:48 +0000)]
added a tags target

20 years agonew configure file
Daniel Stenberg [Wed, 4 Feb 2004 07:48:00 +0000 (07:48 +0000)]
new configure file

20 years agouse configure.ac instead of configure.in
Daniel Stenberg [Wed, 4 Feb 2004 07:47:04 +0000 (07:47 +0000)]
use configure.ac instead of configure.in
support --enable-debug to switch on picky compiler options

20 years agostop a compiler warning
Daniel Stenberg [Wed, 4 Feb 2004 07:40:25 +0000 (07:40 +0000)]
stop a compiler warning

20 years agolibcares.a is here
Daniel Stenberg [Tue, 3 Feb 2004 14:06:16 +0000 (14:06 +0000)]
libcares.a is here

20 years agoWe now produce 'libcares.a' instead, to make it possible to have both c-ares
Daniel Stenberg [Tue, 3 Feb 2004 13:58:08 +0000 (13:58 +0000)]
We now produce 'libcares.a' instead, to make it possible to have both c-ares
and the original ares installed in the same lib dir.

20 years agoadd link to the new cares web site
Daniel Stenberg [Tue, 3 Feb 2004 09:40:19 +0000 (09:40 +0000)]
add link to the new cares web site

20 years agoadded notes about incompatible functions
Daniel Stenberg [Tue, 3 Feb 2004 09:16:40 +0000 (09:16 +0000)]
added notes about incompatible functions

20 years agoadjusted to the new single-parameter version of this function
Daniel Stenberg [Tue, 3 Feb 2004 08:58:10 +0000 (08:58 +0000)]
adjusted to the new single-parameter version of this function

20 years agoremoved odd newline
Daniel Stenberg [Tue, 3 Feb 2004 08:47:26 +0000 (08:47 +0000)]
removed odd newline

20 years agomodified *strerror()
Daniel Stenberg [Tue, 3 Feb 2004 06:38:38 +0000 (06:38 +0000)]
modified *strerror()

20 years agouse the new single-argument ares_strerror()
Daniel Stenberg [Mon, 2 Feb 2004 16:15:58 +0000 (16:15 +0000)]
use the new single-argument ares_strerror()

20 years agoremove rcsid stuff from c files, it serves no useful purpose
Daniel Stenberg [Mon, 2 Feb 2004 15:59:35 +0000 (15:59 +0000)]
remove rcsid stuff from c files, it serves no useful purpose

20 years agoremoved the silly second argument to ares_strerror()
Daniel Stenberg [Mon, 2 Feb 2004 15:59:12 +0000 (15:59 +0000)]
removed the silly second argument to ares_strerror()

This breaks the API and ABI with the existing ares library. We hereby require
the upcoming c-ares 1.0 for asynch name resolves!

20 years agodocumented ares_version()
Daniel Stenberg [Thu, 29 Jan 2004 12:07:48 +0000 (12:07 +0000)]
documented ares_version()

20 years agoreturn a const char *
Daniel Stenberg [Thu, 29 Jan 2004 12:07:34 +0000 (12:07 +0000)]
return a const char *

20 years agouse the name 'c-ares' for this package
Daniel Stenberg [Thu, 29 Jan 2004 11:33:31 +0000 (11:33 +0000)]
use the name 'c-ares' for this package

20 years agoinclude the new README.cares
Daniel Stenberg [Thu, 29 Jan 2004 11:33:16 +0000 (11:33 +0000)]
include the new README.cares

20 years agopoint out that this is a forked project, all c-ares specific stuff is now
Daniel Stenberg [Thu, 29 Jan 2004 11:32:45 +0000 (11:32 +0000)]
point out that this is a forked project, all c-ares specific stuff is now
in README.cares

20 years agoc-ares specific README, leaving most of the original README as-is
Daniel Stenberg [Thu, 29 Jan 2004 11:32:24 +0000 (11:32 +0000)]
c-ares specific README, leaving most of the original README as-is

20 years agocut off the initial blurb, moved that to README.cares
Daniel Stenberg [Thu, 29 Jan 2004 11:32:01 +0000 (11:32 +0000)]
cut off the initial blurb, moved that to README.cares

20 years agoDirk Manske fixed a flaw in the setting of the socket to non-blocking
Daniel Stenberg [Thu, 29 Jan 2004 11:23:36 +0000 (11:23 +0000)]
Dirk Manske fixed a flaw in the setting of the socket to non-blocking

20 years agothe gettimeofday fix
Daniel Stenberg [Sun, 4 Jan 2004 12:20:37 +0000 (12:20 +0000)]
the gettimeofday fix

20 years agoDominick Meglio's fix to make our private gettimeofday() use the ares_
Daniel Stenberg [Sun, 4 Jan 2004 12:19:06 +0000 (12:19 +0000)]
Dominick Meglio's fix to make our private gettimeofday() use the ares_
namespace

21 years agoc-ares is the new name and ares_version() was added
Daniel Stenberg [Fri, 24 Oct 2003 20:30:14 +0000 (20:30 +0000)]
c-ares is the new name and ares_version() was added

21 years agoIntroducing ares_version(), so that we can have apps get version info about
Daniel Stenberg [Fri, 24 Oct 2003 20:28:04 +0000 (20:28 +0000)]
Introducing ares_version(), so that we can have apps get version info about
what particular ares version that is being used.

21 years agoignore these too
Daniel Stenberg [Fri, 17 Oct 2003 07:10:06 +0000 (07:10 +0000)]
ignore these too

21 years agoname it pre1
Daniel Stenberg [Wed, 8 Oct 2003 20:26:44 +0000 (20:26 +0000)]
name it pre1

21 years agoclarify why this package exists
Daniel Stenberg [Wed, 8 Oct 2003 20:26:05 +0000 (20:26 +0000)]
clarify why this package exists

21 years agorun autoconf if needed
Daniel Stenberg [Wed, 8 Oct 2003 20:25:37 +0000 (20:25 +0000)]
run autoconf if needed

21 years agoignore these files
Daniel Stenberg [Wed, 8 Oct 2003 20:20:52 +0000 (20:20 +0000)]
ignore these files

21 years agoadded for completeness
Daniel Stenberg [Wed, 8 Oct 2003 20:18:15 +0000 (20:18 +0000)]
added for completeness

21 years agoclarified the reason for this package
Daniel Stenberg [Wed, 8 Oct 2003 20:18:01 +0000 (20:18 +0000)]
clarified the reason for this package

21 years agoares 1.1.1 with collected applied patches
Daniel Stenberg [Tue, 7 Oct 2003 21:54:04 +0000 (21:54 +0000)]
ares 1.1.1 with collected applied patches