platform/upstream/c-ares.git
20 years agomention Harshal Pradhan's windows fix
Daniel Stenberg [Fri, 13 Aug 2004 12:01:20 +0000 (12:01 +0000)]
mention Harshal Pradhan's windows fix

20 years agoHarshal Pradhan made minor syntax change to make this build with MSVC 7.1
Daniel Stenberg [Fri, 13 Aug 2004 12:00:33 +0000 (12:00 +0000)]
Harshal Pradhan made minor syntax change to make this build with MSVC 7.1

20 years agoignore more files
Daniel Stenberg [Tue, 10 Aug 2004 10:43:10 +0000 (10:43 +0000)]
ignore more files

20 years agovariable type fix
Daniel Stenberg [Thu, 29 Jul 2004 07:24:39 +0000 (07:24 +0000)]
variable type fix

20 years agoremoved C++ comment to please picky source checkers
Daniel Stenberg [Thu, 29 Jul 2004 07:19:27 +0000 (07:19 +0000)]
removed C++ comment to please picky source checkers

20 years ago--enable-debug builds static only, Gisle fixed a memory leak and more
Daniel Stenberg [Sat, 24 Jul 2004 21:51:43 +0000 (21:51 +0000)]
--enable-debug builds static only, Gisle fixed a memory leak and more

20 years agoGisle Vanem:
Daniel Stenberg [Sat, 24 Jul 2004 21:47:49 +0000 (21:47 +0000)]
Gisle Vanem:

Basically in loops like handle_errors(), 'query->next' was assigned a local
variable and then query was referenced after the memory was freed by
next_server(). I've changed that so next_server() and end_query() returns the
next query. So callers should use this ret-value.

The next problem was that 'server->tcp_buffer_pos' had a random value at entry
to 1st recv() (luckily causing Winsock to return ENOBUFS).

I've also added a ares_writev() for Windows to streamline the code
a bit more.

20 years ago--enable-debug now makes the lib built static only since otherwise we
Daniel Stenberg [Sat, 24 Jul 2004 21:22:46 +0000 (21:22 +0000)]
--enable-debug now makes the lib built static only since otherwise we
get problems

20 years agogenerate the new configure better
Daniel Stenberg [Sat, 24 Jul 2004 06:29:38 +0000 (06:29 +0000)]
generate the new configure better

20 years agonow generated by automake
Daniel Stenberg [Fri, 23 Jul 2004 18:34:21 +0000 (18:34 +0000)]
now generated by automake

20 years ago- Fixed a few variable return types for some system calls. Made configure
Daniel Stenberg [Thu, 22 Jul 2004 22:18:45 +0000 (22:18 +0000)]
- Fixed a few variable return types for some system calls. Made configure
  check for ssize_t to make it possible to use that when receiving the send()
  error code. This is necessary to prevent compiler warnings on some systems.

- Made configure create config.h, and all source files now include setup.h that
  might include the proper config.h (or a handicrafted alternative).

- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
  use 'int' for that.

- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
  lib on most platforms if wanted. (This bloated the size of the release
  archive with another 200K!)

- Makefile.am now uses Makefile.inc for the c sources, h headers and man
  pages, to make it easier for other makefiles to use the exact same set of
  files.

- Adjusted 'maketgz' to use the new automake magic when building distribution
  archives.

20 years agominor cleanup.
Gunter Knauf [Sun, 11 Jul 2004 18:14:11 +0000 (18:14 +0000)]
minor cleanup.

20 years agoadded ifdef for NetWare to ares.h.
Gunter Knauf [Sun, 11 Jul 2004 08:30:23 +0000 (08:30 +0000)]
added ifdef for NetWare to ares.h.

20 years agomingw and netware makefiles added by Gunter Knauf
Daniel Stenberg [Tue, 6 Jul 2004 08:06:03 +0000 (08:06 +0000)]
mingw and netware makefiles added by Gunter Knauf

20 years agominor cosmetic fix.
Gunter Knauf [Mon, 5 Jul 2004 21:44:09 +0000 (21:44 +0000)]
minor cosmetic fix.

20 years agoadded MingW32 makefile.
Gunter Knauf [Mon, 5 Jul 2004 13:53:27 +0000 (13:53 +0000)]
added MingW32 makefile.

20 years agotry to relax linux build host detection.
Gunter Knauf [Mon, 5 Jul 2004 01:58:33 +0000 (01:58 +0000)]
try to relax linux build host detection.

20 years agoGünter Knauf made c-ares build and run on Novell Netware.
Daniel Stenberg [Sun, 4 Jul 2004 22:20:26 +0000 (22:20 +0000)]
Günter Knauf made c-ares build and run on Novell Netware.

20 years agoadded NetWare section for paths.
Gunter Knauf [Sun, 4 Jul 2004 21:36:32 +0000 (21:36 +0000)]
added NetWare section for paths.

20 years agoupdate to build both test apps.
Gunter Knauf [Sun, 4 Jul 2004 21:35:26 +0000 (21:35 +0000)]
update to build both test apps.

20 years agominor fix for compiling on Linux.
Gunter Knauf [Sat, 3 Jul 2004 22:25:37 +0000 (22:25 +0000)]
minor fix for compiling on Linux.

20 years agoadded few ifdefs to make it usable for NetWare.
Gunter Knauf [Sat, 3 Jul 2004 21:48:42 +0000 (21:48 +0000)]
added few ifdefs to make it usable for NetWare.

20 years agoadded NetWare makefile.
Gunter Knauf [Sat, 3 Jul 2004 21:44:32 +0000 (21:44 +0000)]
added NetWare makefile.

20 years agodjgpp fixes by Gisle
Daniel Stenberg [Thu, 1 Jul 2004 13:55:13 +0000 (13:55 +0000)]
djgpp fixes by Gisle

20 years agoGisle's win32-fix. 'errno' is not used for errors when socket() fails on
Daniel Stenberg [Thu, 1 Jul 2004 13:54:24 +0000 (13:54 +0000)]
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
Windows.

20 years agoGisle added makefile for djgpp builds
Daniel Stenberg [Thu, 1 Jul 2004 13:53:13 +0000 (13:53 +0000)]
Gisle added makefile for djgpp builds

20 years agoGisle's djgpp magic
Daniel Stenberg [Thu, 1 Jul 2004 06:59:43 +0000 (06:59 +0000)]
Gisle's djgpp magic

20 years agoGisle Vanem made this build fine with djgpp and the Watt-32 stack.
Daniel Stenberg [Thu, 1 Jul 2004 06:58:47 +0000 (06:58 +0000)]
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.

20 years agoprevent compiler warnings on non-win32 platforms
Daniel Stenberg [Mon, 14 Jun 2004 10:45:30 +0000 (10:45 +0000)]
prevent compiler warnings on non-win32 platforms

20 years agoGisle Vanem's init patch for Windows
Daniel Stenberg [Thu, 10 Jun 2004 13:11:32 +0000 (13:11 +0000)]
Gisle Vanem's init patch for Windows

20 years agofix
Daniel Stenberg [Tue, 8 Jun 2004 21:26:03 +0000 (21:26 +0000)]
fix

20 years agoJames Bursa fixed a RISC OS init issue, removed trailing whitespace
Daniel Stenberg [Tue, 8 Jun 2004 21:25:11 +0000 (21:25 +0000)]
James Bursa fixed a RISC OS init issue, removed trailing whitespace

20 years agofree() allocated memory when the ares search can't be made
Daniel Stenberg [Thu, 27 May 2004 07:10:36 +0000 (07:10 +0000)]
free() allocated memory when the ares search can't be made

20 years agoclear the domains and sortlist when the 'channel' is first created so that
Daniel Stenberg [Thu, 27 May 2004 07:10:02 +0000 (07:10 +0000)]
clear the domains and sortlist when the 'channel' is first created so that
we can compare if non-NULL elsewhere

20 years agobetter checks to avoid free(NULL)
Daniel Stenberg [Thu, 27 May 2004 07:09:21 +0000 (07:09 +0000)]
better checks to avoid free(NULL)

20 years agoJames Bursa's fix to prevent free(NULL) to occur
Daniel Stenberg [Thu, 27 May 2004 06:42:48 +0000 (06:42 +0000)]
James Bursa's fix to prevent free(NULL) to occur

20 years agoJames Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
Daniel Stenberg [Thu, 13 May 2004 06:53:29 +0000 (06:53 +0000)]
James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
system thinks free(NULL) is badness)

20 years ago- Nico Stappenbelt reported that when processing domain and search lines in
Daniel Stenberg [Tue, 11 May 2004 21:12:10 +0000 (21:12 +0000)]
- Nico Stappenbelt reported that when processing domain and search lines in
  the resolv.conf file, the first entry encountered is processed and used as
  the search list. According to the manual pages for both Linux, Solaris and
  Tru64, the last entry of either a domain or a search field is used.

20 years agodon't free(NULL)
Daniel Stenberg [Mon, 3 May 2004 09:17:49 +0000 (09:17 +0000)]
don't free(NULL)

20 years ago1.2.0
Daniel Stenberg [Tue, 13 Apr 2004 07:44:26 +0000 (07:44 +0000)]
1.2.0

20 years agoupdated to not include the msvc-generated files
Daniel Stenberg [Sun, 11 Apr 2004 06:33:02 +0000 (06:33 +0000)]
updated to not include the msvc-generated files

20 years agowhen checked out from CVS, run this to generate the proper scripts
Daniel Stenberg [Sun, 11 Apr 2004 06:32:41 +0000 (06:32 +0000)]
when checked out from CVS, run this to generate the proper scripts

20 years agowe're working on 1.2.0 now
Daniel Stenberg [Thu, 8 Apr 2004 18:10:03 +0000 (18:10 +0000)]
we're working on 1.2.0 now

20 years agomention the man page updates from the other day
Daniel Stenberg [Tue, 6 Apr 2004 15:12:50 +0000 (15:12 +0000)]
mention the man page updates from the other day

20 years agogenerated files, no need to keep in CVS
Daniel Stenberg [Mon, 5 Apr 2004 12:38:54 +0000 (12:38 +0000)]
generated files, no need to keep in CVS

20 years agoedits, mainly to make the generated html output nicer
Daniel Stenberg [Fri, 2 Apr 2004 09:56:01 +0000 (09:56 +0000)]
edits, mainly to make the generated html output nicer

20 years agominor edits
Daniel Stenberg [Fri, 2 Apr 2004 09:50:42 +0000 (09:50 +0000)]
minor edits

20 years agoDirk Manske's ares_cancel() function was added.
Daniel Stenberg [Thu, 1 Apr 2004 08:25:58 +0000 (08:25 +0000)]
Dirk Manske's ares_cancel() function was added.

20 years agoedited slightly, point out our new mailinglist
Daniel Stenberg [Thu, 1 Apr 2004 08:25:23 +0000 (08:25 +0000)]
edited slightly, point out our new mailinglist

20 years agoremind us about cvs tagging when we've built a release archive
Daniel Stenberg [Thu, 1 Apr 2004 08:23:26 +0000 (08:23 +0000)]
remind us about cvs tagging when we've built a release archive

20 years agoDominick Meglio man page fixes
Daniel Stenberg [Thu, 1 Apr 2004 06:10:56 +0000 (06:10 +0000)]
Dominick Meglio man page fixes

20 years agoDominick Meglio fixed a missing comma
Daniel Stenberg [Wed, 31 Mar 2004 06:10:40 +0000 (06:10 +0000)]
Dominick Meglio fixed a missing comma

20 years agoDominick Meglio's new ares_expand_string() function
Daniel Stenberg [Tue, 30 Mar 2004 09:06:42 +0000 (09:06 +0000)]
Dominick Meglio's new ares_expand_string() function

20 years agochanged the long to int typecasts to see if icc 8.0 complains less on this
Daniel Stenberg [Tue, 23 Mar 2004 08:42:01 +0000 (08:42 +0000)]
changed the long to int typecasts to see if icc 8.0 complains less on this

20 years agoignore aclocal.m4
Daniel Stenberg [Fri, 12 Mar 2004 08:57:10 +0000 (08:57 +0000)]
ignore aclocal.m4

20 years agoGisle Vanem improved build on Windows.
Daniel Stenberg [Wed, 10 Mar 2004 11:28:34 +0000 (11:28 +0000)]
Gisle Vanem improved build on Windows.

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