platform/upstream/c-ares.git
19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:30:25 +0000 (14:30 +0000)]
Replace IsNT with IS_NT().

19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:23:20 +0000 (14:23 +0000)]
Replace IsNT with IS_NT().
Return correct timeval in windows_port.c.
Squelch gcc warnings:
  use 'ares_socket_t' in ares_fds.c.
  Don't cast a 'lvalue' in ares_init.c.

19 years agofix CURL_EXTERN for debug builds
Daniel Stenberg [Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)]
fix CURL_EXTERN for debug builds

19 years agotwo post-1.2.1 changes
Daniel Stenberg [Sun, 7 Nov 2004 23:48:42 +0000 (23:48 +0000)]
two post-1.2.1 changes

19 years agoadded ares_cancel and ares_version
Daniel Stenberg [Sun, 7 Nov 2004 13:37:07 +0000 (13:37 +0000)]
added ares_cancel and ares_version

19 years agomention incompatibilities with ares
Daniel Stenberg [Tue, 26 Oct 2004 08:08:41 +0000 (08:08 +0000)]
mention incompatibilities with ares

19 years agoignore this
Daniel Stenberg [Sun, 24 Oct 2004 13:02:46 +0000 (13:02 +0000)]
ignore this

19 years agomaketgz now creates a ares_version.h.dist file with the given version data
Daniel Stenberg [Sun, 24 Oct 2004 13:02:09 +0000 (13:02 +0000)]
maketgz now creates a ares_version.h.dist file with the given version data
properly set, and the Makefile.am is now fixed to use that when building
a new package with make dist.

19 years ago1.2.1 release time
Daniel Stenberg [Wed, 20 Oct 2004 08:01:38 +0000 (08:01 +0000)]
1.2.1 release time

19 years agoremoved tabs and trailing whitespace from source
Daniel Stenberg [Wed, 6 Oct 2004 07:50:18 +0000 (07:50 +0000)]
removed tabs and trailing whitespace from source

19 years ago- Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
Daniel Stenberg [Tue, 28 Sep 2004 22:19:39 +0000 (22:19 +0000)]
- Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
  when they made Alpha's) uses /etc/svc.conf for the purpose fixed below for
  other OSes. He made c-ares check for and understand it if present.

- Now c-ares will use local host name lookup _before_ DNS resolving by default
  if nothing else is told.

19 years ago- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
Daniel Stenberg [Sun, 26 Sep 2004 22:35:18 +0000 (22:35 +0000)]
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
  file to determine the sequence in which to search /etc/hosts and DNS.  So on
  systems where this order is defined by /etc/host.conf instead of a "lookup"
  entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
  first, and /etc/hosts second.

  c-ares now looks at

  1) resolv.conf (for the "lookup" line);
  2) nsswitch.fon (for the "hosts:" line);
  3) host.conf (for the "order" line).

  First match wins.

19 years agoDominick Meglio host file path discovery patch for windows
Daniel Stenberg [Sun, 26 Sep 2004 18:20:58 +0000 (18:20 +0000)]
Dominick Meglio host file path discovery patch for windows

19 years agoignore more
Daniel Stenberg [Tue, 14 Sep 2004 21:31:06 +0000 (21:31 +0000)]
ignore more

19 years agofixed nasty warnings with gcc 3.3.
Gunter Knauf [Fri, 3 Sep 2004 18:51:36 +0000 (18:51 +0000)]
fixed nasty warnings with gcc 3.3.

19 years agomention Gisle's recent fixes
Daniel Stenberg [Mon, 30 Aug 2004 09:16:31 +0000 (09:16 +0000)]
mention Gisle's recent fixes

19 years agoRemoved ares_free_errmem.c from MSCV project files.
Gisle Vanem [Sun, 29 Aug 2004 15:40:17 +0000 (15:40 +0000)]
Removed ares_free_errmem.c from MSCV project files.
Fixed line-endings to CR-LF.

19 years agoMore patches for Watt-32 on Win32; don't include "nameser.h".
Gisle Vanem [Fri, 20 Aug 2004 14:10:44 +0000 (14:10 +0000)]
More patches for Watt-32 on Win32; don't include "nameser.h".

19 years agoNo WSAGetLastError() on Watt-32/DOS
Gisle Vanem [Fri, 20 Aug 2004 14:07:11 +0000 (14:07 +0000)]
No WSAGetLastError() on Watt-32/DOS

19 years agoNo <sys/uio.h> on DOS/Win32
Gisle Vanem [Fri, 20 Aug 2004 13:48:24 +0000 (13:48 +0000)]
No <sys/uio.h> on DOS/Win32

19 years agoChanges for Watt-32 on Windows. I've assumed Configure
Gisle Vanem [Fri, 20 Aug 2004 13:45:26 +0000 (13:45 +0000)]
Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.

19 years agoZLIB_ROOT not needed
Gisle Vanem [Thu, 19 Aug 2004 15:24:49 +0000 (15:24 +0000)]
ZLIB_ROOT not needed

19 years agoMy first CVS commit just to see if this works.
Gisle Vanem [Thu, 19 Aug 2004 15:16:40 +0000 (15:16 +0000)]
My first CVS commit just to see if this works.
BTW. Used eclipse IDE fo this, which really kicks ass.

19 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

19 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

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

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

19 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

19 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

19 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.

19 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"