Yang Tse [Sun, 17 May 2009 17:11:28 +0000 (17:11 +0000)]
Introduction of ares_library_init() and ares_library_cleanup()
Yang Tse [Sun, 17 May 2009 17:10:41 +0000 (17:10 +0000)]
Introduction of ares_library_init() and ares_library_cleanup()
Yang Tse [Fri, 15 May 2009 09:35:46 +0000 (09:35 +0000)]
remove outdated comment
Yang Tse [Fri, 15 May 2009 01:08:18 +0000 (01:08 +0000)]
Fix preprocessor conditional expression
Yang Tse [Tue, 12 May 2009 01:57:53 +0000 (01:57 +0000)]
fiX *__SOCKLEN_T definitions for remaining targets
Yang Tse [Tue, 12 May 2009 00:54:21 +0000 (00:54 +0000)]
*__SOCKLEN_T definitions for OS400 already fixed
Yang Tse [Mon, 11 May 2009 18:20:13 +0000 (18:20 +0000)]
fIX *__SOCKLEN_T definitions for SYMBIAN32 and VMS targets
Daniel Stenberg [Mon, 11 May 2009 13:53:26 +0000 (13:53 +0000)]
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
only expose functions starting with ares_.
Yang Tse [Mon, 11 May 2009 00:28:18 +0000 (00:28 +0000)]
Remove experimental check. Currently there's no need for it.
Yang Tse [Thu, 7 May 2009 14:03:04 +0000 (14:03 +0000)]
Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
attempt in generated config.h
Yang Tse [Thu, 7 May 2009 13:58:15 +0000 (13:58 +0000)]
Proper naming for the experimental compiler test and moved to *-compilers.m4
Yang Tse [Thu, 7 May 2009 11:06:48 +0000 (11:06 +0000)]
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
Yang Tse [Wed, 6 May 2009 13:58:41 +0000 (13:58 +0000)]
fIX *__SOCKLEN_T definitions for OS400 and generic GCC targets
Yang Tse [Mon, 4 May 2009 17:05:25 +0000 (17:05 +0000)]
fIX *__SOCKLEN_T definitions for MVS and 370 targets
Yang Tse [Mon, 4 May 2009 15:25:57 +0000 (15:25 +0000)]
fIX *__SOCKLEN_T definitions for several Windows target tool-chains
Yang Tse [Sun, 3 May 2009 19:41:12 +0000 (19:41 +0000)]
HP-UX's X/Open network library requirement check follow-up
Yang Tse [Sun, 3 May 2009 17:35:44 +0000 (17:35 +0000)]
HP-UX's X/Open network library requirement check follow-up
Yang Tse [Sat, 2 May 2009 02:36:47 +0000 (02:36 +0000)]
Use build-time configured ares_socklen_t instead of socklen_t
Yang Tse [Fri, 1 May 2009 22:41:23 +0000 (22:41 +0000)]
David McCreedy's "TPF-platform specific changes to various files" patch follow-up
Daniel Stenberg [Fri, 1 May 2009 18:26:03 +0000 (18:26 +0000)]
s/libcurl/c-ares
Daniel Stenberg [Fri, 1 May 2009 18:24:34 +0000 (18:24 +0000)]
version number typo fix
Yang Tse [Fri, 1 May 2009 12:39:40 +0000 (12:39 +0000)]
David McCreedy's "TPF-platform specific changes to various files" patch
Yang Tse [Fri, 1 May 2009 02:03:43 +0000 (02:03 +0000)]
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
Yang Tse [Thu, 30 Apr 2009 18:35:36 +0000 (18:35 +0000)]
Check if X/Open network library is required
Yang Tse [Thu, 30 Apr 2009 13:50:44 +0000 (13:50 +0000)]
cope with ares_build.h and ares_rules.h follow-up
Yang Tse [Thu, 30 Apr 2009 12:44:17 +0000 (12:44 +0000)]
Added some notes regarding ares_build.h
Yang Tse [Thu, 30 Apr 2009 12:12:31 +0000 (12:12 +0000)]
fix EOL
Yang Tse [Thu, 30 Apr 2009 12:05:53 +0000 (12:05 +0000)]
fix EOL
Yang Tse [Thu, 30 Apr 2009 11:48:43 +0000 (11:48 +0000)]
cope with ares_build.h and ares_rules.h
Yang Tse [Thu, 30 Apr 2009 10:43:27 +0000 (10:43 +0000)]
buildconf.bat for CVS-tree c-ares
Yang Tse [Thu, 30 Apr 2009 01:34:04 +0000 (01:34 +0000)]
Use 'unsigned int' instead of size_t attempting to avoid header inclusion
Yang Tse [Thu, 30 Apr 2009 00:11:20 +0000 (00:11 +0000)]
NetWare LibC's getpeername() third argument data type is size_t
Yang Tse [Wed, 29 Apr 2009 18:08:23 +0000 (18:08 +0000)]
Remove temporary debug tracing for ares_socklen_t Windows targets
Yang Tse [Wed, 29 Apr 2009 15:15:14 +0000 (15:15 +0000)]
ares_socklen_t follow-up
Yang Tse [Wed, 29 Apr 2009 14:05:21 +0000 (14:05 +0000)]
ares_build.h Windows follow-up
Yang Tse [Wed, 29 Apr 2009 11:11:59 +0000 (11:11 +0000)]
Add temporary debug tracing for ares_socklen_t Windows targets
Yang Tse [Wed, 29 Apr 2009 09:39:15 +0000 (09:39 +0000)]
ares_build.h NetWare follow-up
Yang Tse [Wed, 29 Apr 2009 00:17:40 +0000 (00:17 +0000)]
ares_build.h NetWare attempt
Yang Tse [Tue, 28 Apr 2009 16:47:33 +0000 (16:47 +0000)]
Initial step towards a configure time ares_socklen_t definition
Yang Tse [Tue, 28 Apr 2009 14:23:28 +0000 (14:23 +0000)]
ignore stamp-h*
Yang Tse [Tue, 28 Apr 2009 10:40:02 +0000 (10:40 +0000)]
Added CARES_INCLUDES_SYS_TYPES
Yang Tse [Sun, 26 Apr 2009 18:51:03 +0000 (18:51 +0000)]
Initial step towards a configure time curl_socklen_t definition
Yang Tse [Wed, 22 Apr 2009 10:25:28 +0000 (10:25 +0000)]
avoid use of alloca()
Yang Tse [Tue, 21 Apr 2009 10:26:58 +0000 (10:26 +0000)]
Moved potential inclusion of system's malloc.h and memory.h header files to
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
Yang Tse [Tue, 21 Apr 2009 06:10:23 +0000 (06:10 +0000)]
ignore
Gisle Vanem [Sat, 18 Apr 2009 16:49:29 +0000 (16:49 +0000)]
Added '-DHAVE_LIMITS_H'.
Yang Tse [Fri, 17 Apr 2009 07:48:37 +0000 (07:48 +0000)]
remove compiler options used while debugging the icc 9.1 optimizer issue
Yang Tse [Wed, 15 Apr 2009 22:58:30 +0000 (22:58 +0000)]
moved HAVE_LIMITS_H to common defines
Yang Tse [Wed, 15 Apr 2009 22:54:25 +0000 (22:54 +0000)]
Set HP-UX compiler warning level back to the one that exposes
the socklen_t issue on this platform.
Yang Tse [Tue, 14 Apr 2009 23:51:12 +0000 (23:51 +0000)]
HAVE_LIMITS_H definition for NetWare CLIB
Yang Tse [Tue, 14 Apr 2009 13:50:32 +0000 (13:50 +0000)]
use HAVE_LIMITS_H symbol to protect limits.h inclusion
Yang Tse [Tue, 14 Apr 2009 12:53:53 +0000 (12:53 +0000)]
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
Yang Tse [Wed, 11 Mar 2009 05:09:03 +0000 (05:09 +0000)]
s/u_long/unsigned long/
Yang Tse [Fri, 20 Feb 2009 11:30:11 +0000 (11:30 +0000)]
Do not halt compilation when using VS2008 to build a Windows 2000 target
Yang Tse [Fri, 13 Feb 2009 06:34:44 +0000 (06:34 +0000)]
ignore
Phil Blundell [Tue, 3 Feb 2009 14:38:09 +0000 (14:38 +0000)]
* February 3 2009 (Phil Blundell)
- If the server returns garbage or nothing at all in response to an AAAA query,
go on and ask for A records anyway.
Daniel Stenberg [Sat, 31 Jan 2009 20:17:41 +0000 (20:17 +0000)]
- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
hosts file, and it resolves the AAAA field with a fallback to A.
Gisle Vanem [Sun, 18 Jan 2009 17:03:31 +0000 (17:03 +0000)]
fopen() returns error in 'errno' even on Windows.
So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
Gisle Vanem [Sun, 18 Jan 2009 16:33:10 +0000 (16:33 +0000)]
Constified some arguments in local functions.
Daniel Stenberg [Wed, 14 Jan 2009 13:08:50 +0000 (13:08 +0000)]
- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
now declares the private struct ares_in6_addr for all systems instead of
relying on one possibly not present in the system.
Phil Blundell [Tue, 13 Jan 2009 11:51:04 +0000 (11:51 +0000)]
- ares__send_query() now varies the retry timeout pseudo-randomly to avoid
packet storms when several queries were started at the same time.
Daniel Stenberg [Sun, 11 Jan 2009 13:49:13 +0000 (13:49 +0000)]
- Phil Blundell added the internal function ares__expand_name_for_response()
that is now used by the ares_parse_*_reply() functions instead of the
ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
the name expansion fails as in responses that really isn't expected.
Gunter Knauf [Tue, 30 Dec 2008 08:16:24 +0000 (08:16 +0000)]
added HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID to ares Makefile.netware and sync'd with other Makefile.netware.
Daniel Stenberg [Tue, 9 Dec 2008 22:49:51 +0000 (22:49 +0000)]
use the new URL
Daniel Stenberg [Tue, 9 Dec 2008 22:41:36 +0000 (22:41 +0000)]
start over on the 1.6.1 release...
Daniel Stenberg [Tue, 9 Dec 2008 22:30:59 +0000 (22:30 +0000)]
add space
Gisle Vanem [Tue, 9 Dec 2008 14:39:08 +0000 (14:39 +0000)]
Fix for Win32 targets using Watt-32.
Dan Fandrich [Tue, 9 Dec 2008 01:02:28 +0000 (01:02 +0000)]
C89 compilers (like Minix' ACK) only need to handle 31 functions arguments
so split a long sprintf into two calls to get below that number.
Gisle Vanem [Mon, 8 Dec 2008 16:12:11 +0000 (16:12 +0000)]
Added needed defines for Watt-32 on Windows.
Gisle Vanem [Mon, 8 Dec 2008 16:11:16 +0000 (16:11 +0000)]
Undefine 'optarg', 'optind' and 'opterr' when using Watt-32
(to get correct linkage on Windows).
Gisle Vanem [Mon, 8 Dec 2008 16:09:21 +0000 (16:09 +0000)]
ares_writev() shall not be exported when using Watt-32 (has writev).
Added _USE_32BIT_TIME_T to avoid runtime warning. Applies to
VC-2008+ only.
Gisle Vanem [Mon, 8 Dec 2008 14:58:56 +0000 (14:58 +0000)]
Removed unneeded defines HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T,
RETSIGTYPE and HAVE_PROCESS_H.
Daniel Stenberg [Thu, 4 Dec 2008 12:54:43 +0000 (12:54 +0000)]
the initial version of the ares_set_socket_callback man page
Daniel Stenberg [Thu, 4 Dec 2008 12:53:03 +0000 (12:53 +0000)]
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
and I edited it to also get duped by ares_dup().
Dan Fandrich [Thu, 4 Dec 2008 07:18:13 +0000 (07:18 +0000)]
Bring the sys/include.h include test in line with curl's.
Daniel Stenberg [Wed, 3 Dec 2008 10:03:07 +0000 (10:03 +0000)]
Let's not call ares_save_options() deprecated just yet
Daniel Stenberg [Wed, 3 Dec 2008 09:59:50 +0000 (09:59 +0000)]
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
Also discussed on the ml.
Dan Fandrich [Tue, 2 Dec 2008 02:58:04 +0000 (02:58 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)
Daniel Stenberg [Mon, 1 Dec 2008 22:36:39 +0000 (22:36 +0000)]
minor indent fix
Daniel Stenberg [Mon, 1 Dec 2008 19:06:24 +0000 (19:06 +0000)]
Convert the public config struct to the same binary size/construct as in the
latest releases to remain ABI compatible.
Gisle Vanem [Sat, 29 Nov 2008 15:19:46 +0000 (15:19 +0000)]
Added '-DHAVE_GETHOSTNAME'.
Dan Fandrich [Sat, 29 Nov 2008 00:26:07 +0000 (00:26 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C)
Dan Fandrich [Fri, 28 Nov 2008 23:34:39 +0000 (23:34 +0000)]
Netware has gethostname()
Dan Fandrich [Fri, 28 Nov 2008 23:24:06 +0000 (23:24 +0000)]
Fixed a couple of typos
Dan Fandrich [Fri, 28 Nov 2008 23:12:11 +0000 (23:12 +0000)]
Don't tweak the HAVE_* macros when using autoconf
Dan Fandrich [Fri, 28 Nov 2008 22:41:14 +0000 (22:41 +0000)]
Make use of gethostname() conditional on it being available
Dan Fandrich [Fri, 28 Nov 2008 22:07:40 +0000 (22:07 +0000)]
Only set TCP_NODELAY when it exists
Daniel Stenberg [Fri, 28 Nov 2008 15:44:01 +0000 (15:44 +0000)]
updated with changes, preparing for a release soon
Yang Tse [Wed, 26 Nov 2008 17:04:35 +0000 (17:04 +0000)]
Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
buffer to shrink instead of expand if a reply contained 8 or more records.
Yang Tse [Wed, 26 Nov 2008 16:51:51 +0000 (16:51 +0000)]
Brad Spencer provided changes to allow buildconf to work on OS X.
Yang Tse [Tue, 25 Nov 2008 16:26:58 +0000 (16:26 +0000)]
In preparation for the upcomming IPv6 nameservers patch, the internal
ares_addr union is now changed into an internal struct which also holds
the address family.
Dan Fandrich [Thu, 20 Nov 2008 07:59:26 +0000 (07:59 +0000)]
Make checking for struct ifreq a prerequisite for setting
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.
Daniel Stenberg [Thu, 20 Nov 2008 07:50:48 +0000 (07:50 +0000)]
use unsigned short better intead of mixing with ints to prevent compiler
warnings
Daniel Stenberg [Thu, 20 Nov 2008 07:41:26 +0000 (07:41 +0000)]
please the picky compilers by staying with short as the data we get is short
only
Daniel Stenberg [Wed, 19 Nov 2008 15:16:16 +0000 (15:16 +0000)]
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
resolves a host name from the given file, using the regular hosts syntax.
Yang Tse [Wed, 19 Nov 2008 01:57:27 +0000 (01:57 +0000)]
user provided PATH_SEPARATOR always overrides auto-detected one
Yang Tse [Tue, 18 Nov 2008 20:13:55 +0000 (20:13 +0000)]
attempting to keep lines below 80 chars
Yang Tse [Tue, 18 Nov 2008 19:29:31 +0000 (19:29 +0000)]
provide a common PATH_SEPARATOR check method which is required by
upcomming work to support the broadest range of Autoconf versions
Yang Tse [Tue, 18 Nov 2008 01:57:29 +0000 (01:57 +0000)]
check for gethostbyaddr and gethostbyname as it is done for other functions
Yang Tse [Mon, 17 Nov 2008 13:13:15 +0000 (13:13 +0000)]
Make configure script check if ioctl with the SIOCGIFADDR command can be
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.