platform/upstream/c-ares.git
15 years agoAllow generation of .html and .pdf versions of c-ares man pages.
Yang Tse [Thu, 21 May 2009 17:40:19 +0000 (17:40 +0000)]
Allow generation of .html and .pdf versions of c-ares man pages.

15 years ago$(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.
Gisle Vanem [Thu, 21 May 2009 11:43:15 +0000 (11:43 +0000)]
$(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.

15 years agoMention last changes
Yang Tse [Wed, 20 May 2009 13:49:43 +0000 (13:49 +0000)]
Mention last changes

15 years agoInitial ares_library_cleanup(3) man page
Yang Tse [Wed, 20 May 2009 11:26:26 +0000 (11:26 +0000)]
Initial ares_library_cleanup(3) man page

15 years agoUpdate man page
Yang Tse [Wed, 20 May 2009 11:25:21 +0000 (11:25 +0000)]
Update man page

15 years agoUpdate man page
Yang Tse [Wed, 20 May 2009 02:12:23 +0000 (02:12 +0000)]
Update man page

15 years agoInitial ares_library_init(3) man page attempt
Yang Tse [Tue, 19 May 2009 19:00:28 +0000 (19:00 +0000)]
Initial ares_library_init(3) man page attempt

15 years agoForce revision update, to force CVS to update the $Id date string format
Yang Tse [Tue, 19 May 2009 16:05:45 +0000 (16:05 +0000)]
Force revision update, to force CVS to update the $Id date string format

15 years agoAdd same copyright notice as other c-ares files
Yang Tse [Tue, 19 May 2009 15:23:25 +0000 (15:23 +0000)]
Add same copyright notice as other c-ares files

15 years agoFix case
Yang Tse [Tue, 19 May 2009 15:19:03 +0000 (15:19 +0000)]
Fix case

15 years agoRemove run-time requirement for advapi32.dll since
Yang Tse [Mon, 18 May 2009 15:49:32 +0000 (15:49 +0000)]
Remove run-time requirement for advapi32.dll since
c-ares can work even with no advapi32.dll at all.

15 years agoIntentionally avoid checking if the address of SystemFunction036, a.k.a.
Yang Tse [Mon, 18 May 2009 01:25:20 +0000 (01:25 +0000)]
Intentionally avoid checking if the address of SystemFunction036, a.k.a.
RtlGenRandom, has been located or not. This function is only available on
WinXP and later. When unavailable c-ares uses portable rand() function.

15 years ago- Provide in external interface preprocessor symbol definitions for
Yang Tse [Mon, 18 May 2009 00:21:02 +0000 (00:21 +0000)]
- Provide in external interface preprocessor symbol definitions for
  CARES_HAVE_ARES_LIBRARY_INIT and CARES_HAVE_ARES_LIBRARY_CLEANUP
  to ease the use of new capabilities.

- Move ares_version() prototype to ares.h

15 years agoIntroduction of ares_library_init() and ares_library_cleanup()
Yang Tse [Sun, 17 May 2009 17:11:28 +0000 (17:11 +0000)]
Introduction of ares_library_init() and ares_library_cleanup()

15 years agoIntroduction 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()

15 years agoremove outdated comment
Yang Tse [Fri, 15 May 2009 09:35:46 +0000 (09:35 +0000)]
remove outdated comment

15 years agoFix preprocessor conditional expression
Yang Tse [Fri, 15 May 2009 01:08:18 +0000 (01:08 +0000)]
Fix preprocessor conditional expression

15 years agofiX *__SOCKLEN_T definitions for remaining targets
Yang Tse [Tue, 12 May 2009 01:57:53 +0000 (01:57 +0000)]
fiX *__SOCKLEN_T definitions for remaining targets

15 years ago*__SOCKLEN_T definitions for OS400 already fixed
Yang Tse [Tue, 12 May 2009 00:54:21 +0000 (00:54 +0000)]
*__SOCKLEN_T definitions for OS400 already fixed

15 years agofIX *__SOCKLEN_T definitions for SYMBIAN32 and VMS targets
Yang Tse [Mon, 11 May 2009 18:20:13 +0000 (18:20 +0000)]
fIX *__SOCKLEN_T definitions for SYMBIAN32 and VMS targets

15 years ago- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
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_.

15 years agoRemove experimental check. Currently there's no need for it.
Yang Tse [Mon, 11 May 2009 00:28:18 +0000 (00:28 +0000)]
Remove experimental check. Currently there's no need for it.

15 years agoFix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
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

15 years agoProper naming for the experimental compiler test and moved to *-compilers.m4
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

15 years agoMoved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to...
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_*

15 years agofIX *__SOCKLEN_T definitions for OS400 and generic GCC targets
Yang Tse [Wed, 6 May 2009 13:58:41 +0000 (13:58 +0000)]
fIX *__SOCKLEN_T definitions for OS400 and generic GCC targets

15 years agofIX *__SOCKLEN_T definitions for MVS and 370 targets
Yang Tse [Mon, 4 May 2009 17:05:25 +0000 (17:05 +0000)]
fIX *__SOCKLEN_T definitions for MVS and 370 targets

15 years agofIX *__SOCKLEN_T definitions for several Windows target tool-chains
Yang Tse [Mon, 4 May 2009 15:25:57 +0000 (15:25 +0000)]
fIX *__SOCKLEN_T definitions for several Windows target tool-chains

15 years agoHP-UX's X/Open network library requirement check follow-up
Yang Tse [Sun, 3 May 2009 19:41:12 +0000 (19:41 +0000)]
HP-UX's X/Open network library requirement check follow-up

15 years agoHP-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

15 years agoUse build-time configured ares_socklen_t instead of socklen_t
Yang Tse [Sat, 2 May 2009 02:36:47 +0000 (02:36 +0000)]
Use build-time configured ares_socklen_t instead of socklen_t

15 years agoDavid McCreedy's "TPF-platform specific changes to various files" patch follow-up
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

15 years agos/libcurl/c-ares
Daniel Stenberg [Fri, 1 May 2009 18:26:03 +0000 (18:26 +0000)]
s/libcurl/c-ares

15 years agoversion number typo fix
Daniel Stenberg [Fri, 1 May 2009 18:24:34 +0000 (18:24 +0000)]
version number typo fix

15 years agoDavid McCreedy's "TPF-platform specific changes to various files" patch
Yang Tse [Fri, 1 May 2009 12:39:40 +0000 (12:39 +0000)]
David McCreedy's "TPF-platform specific changes to various files" patch

15 years agoCheck definition of _XOPEN_SOURCE_EXTENDED with the compiler
Yang Tse [Fri, 1 May 2009 02:03:43 +0000 (02:03 +0000)]
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler

15 years agoCheck if X/Open network library is required
Yang Tse [Thu, 30 Apr 2009 18:35:36 +0000 (18:35 +0000)]
Check if X/Open network library is required

15 years agocope with ares_build.h and ares_rules.h follow-up
Yang Tse [Thu, 30 Apr 2009 13:50:44 +0000 (13:50 +0000)]
cope with ares_build.h and ares_rules.h follow-up

15 years agoAdded some notes regarding ares_build.h
Yang Tse [Thu, 30 Apr 2009 12:44:17 +0000 (12:44 +0000)]
Added some notes regarding ares_build.h

15 years agofix EOL
Yang Tse [Thu, 30 Apr 2009 12:12:31 +0000 (12:12 +0000)]
fix EOL

15 years agofix EOL
Yang Tse [Thu, 30 Apr 2009 12:05:53 +0000 (12:05 +0000)]
fix EOL

15 years agocope with ares_build.h and ares_rules.h
Yang Tse [Thu, 30 Apr 2009 11:48:43 +0000 (11:48 +0000)]
cope with ares_build.h and ares_rules.h

15 years agobuildconf.bat for CVS-tree c-ares
Yang Tse [Thu, 30 Apr 2009 10:43:27 +0000 (10:43 +0000)]
buildconf.bat for CVS-tree c-ares

15 years agoUse 'unsigned int' instead of size_t attempting to avoid header inclusion
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

15 years agoNetWare LibC's getpeername() third argument data type is size_t
Yang Tse [Thu, 30 Apr 2009 00:11:20 +0000 (00:11 +0000)]
NetWare LibC's getpeername() third argument data type is size_t

15 years agoRemove temporary debug tracing for ares_socklen_t Windows targets
Yang Tse [Wed, 29 Apr 2009 18:08:23 +0000 (18:08 +0000)]
Remove temporary debug tracing for ares_socklen_t Windows targets

15 years agoares_socklen_t follow-up
Yang Tse [Wed, 29 Apr 2009 15:15:14 +0000 (15:15 +0000)]
ares_socklen_t follow-up

15 years agoares_build.h Windows follow-up
Yang Tse [Wed, 29 Apr 2009 14:05:21 +0000 (14:05 +0000)]
ares_build.h Windows follow-up

15 years agoAdd temporary debug tracing for ares_socklen_t Windows targets
Yang Tse [Wed, 29 Apr 2009 11:11:59 +0000 (11:11 +0000)]
Add temporary debug tracing for ares_socklen_t Windows targets

15 years agoares_build.h NetWare follow-up
Yang Tse [Wed, 29 Apr 2009 09:39:15 +0000 (09:39 +0000)]
ares_build.h NetWare follow-up

15 years agoares_build.h NetWare attempt
Yang Tse [Wed, 29 Apr 2009 00:17:40 +0000 (00:17 +0000)]
ares_build.h NetWare attempt

15 years agoInitial step towards a configure time ares_socklen_t definition
Yang Tse [Tue, 28 Apr 2009 16:47:33 +0000 (16:47 +0000)]
Initial step towards a configure time ares_socklen_t definition

15 years agoignore stamp-h*
Yang Tse [Tue, 28 Apr 2009 14:23:28 +0000 (14:23 +0000)]
ignore stamp-h*

15 years agoAdded CARES_INCLUDES_SYS_TYPES
Yang Tse [Tue, 28 Apr 2009 10:40:02 +0000 (10:40 +0000)]
Added CARES_INCLUDES_SYS_TYPES

15 years agoInitial step towards a configure time curl_socklen_t definition
Yang Tse [Sun, 26 Apr 2009 18:51:03 +0000 (18:51 +0000)]
Initial step towards a configure time curl_socklen_t definition

15 years agoavoid use of alloca()
Yang Tse [Wed, 22 Apr 2009 10:25:28 +0000 (10:25 +0000)]
avoid use of alloca()

15 years agoMoved potential inclusion of system's malloc.h and memory.h header files to
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.

15 years agoignore
Yang Tse [Tue, 21 Apr 2009 06:10:23 +0000 (06:10 +0000)]
ignore

15 years agoAdded '-DHAVE_LIMITS_H'.
Gisle Vanem [Sat, 18 Apr 2009 16:49:29 +0000 (16:49 +0000)]
Added '-DHAVE_LIMITS_H'.

15 years agoremove compiler options used while debugging the icc 9.1 optimizer issue
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

15 years agomoved HAVE_LIMITS_H to common defines
Yang Tse [Wed, 15 Apr 2009 22:58:30 +0000 (22:58 +0000)]
moved HAVE_LIMITS_H to common defines

15 years agoSet HP-UX compiler warning level back to the one that exposes
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.

15 years agoHAVE_LIMITS_H definition for NetWare CLIB
Yang Tse [Tue, 14 Apr 2009 23:51:12 +0000 (23:51 +0000)]
HAVE_LIMITS_H definition for NetWare CLIB

15 years agouse HAVE_LIMITS_H symbol to protect limits.h inclusion
Yang Tse [Tue, 14 Apr 2009 13:50:32 +0000 (13:50 +0000)]
use HAVE_LIMITS_H symbol to protect limits.h inclusion

15 years agofix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
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

15 years agos/u_long/unsigned long/
Yang Tse [Wed, 11 Mar 2009 05:09:03 +0000 (05:09 +0000)]
s/u_long/unsigned long/

15 years agoDo not halt compilation when using VS2008 to build a Windows 2000 target
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

15 years agoignore
Yang Tse [Fri, 13 Feb 2009 06:34:44 +0000 (06:34 +0000)]
ignore

15 years ago* February 3 2009 (Phil Blundell)
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.

15 years ago- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
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.

15 years agofopen() returns error in 'errno' even on Windows.
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.

15 years agoConstified some arguments in local functions.
Gisle Vanem [Sun, 18 Jan 2009 16:33:10 +0000 (16:33 +0000)]
Constified some arguments in local functions.

15 years ago- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
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.

15 years ago- ares__send_query() now varies the retry timeout pseudo-randomly to avoid
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.

15 years ago- Phil Blundell added the internal function ares__expand_name_for_response()
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.

15 years agoadded HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID to ares Makefile.netware and sync'd with other...
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.

15 years agouse the new URL
Daniel Stenberg [Tue, 9 Dec 2008 22:49:51 +0000 (22:49 +0000)]
use the new URL

15 years agostart over on the 1.6.1 release...
Daniel Stenberg [Tue, 9 Dec 2008 22:41:36 +0000 (22:41 +0000)]
start over on the 1.6.1 release...

15 years agoadd space
Daniel Stenberg [Tue, 9 Dec 2008 22:30:59 +0000 (22:30 +0000)]
add space

15 years agoFix for Win32 targets using Watt-32.
Gisle Vanem [Tue, 9 Dec 2008 14:39:08 +0000 (14:39 +0000)]
Fix for Win32 targets using Watt-32.

15 years agoC89 compilers (like Minix' ACK) only need to handle 31 functions arguments
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.

15 years agoAdded needed defines for Watt-32 on Windows.
Gisle Vanem [Mon, 8 Dec 2008 16:12:11 +0000 (16:12 +0000)]
Added needed defines for Watt-32 on Windows.

15 years agoUndefine 'optarg', 'optind' and 'opterr' when using Watt-32
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).

15 years agoares_writev() shall not be exported when using Watt-32 (has writev).
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.

15 years agoRemoved unneeded defines HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T,
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.

15 years agothe initial version of the ares_set_socket_callback man page
Daniel Stenberg [Thu, 4 Dec 2008 12:54:43 +0000 (12:54 +0000)]
the initial version of the ares_set_socket_callback man page

15 years agoGregor Jasny provided the patch that introduces ares_set_socket_callback(),
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().

15 years agoBring the sys/include.h include test in line with curl's.
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.

15 years agoLet's not call ares_save_options() deprecated just yet
Daniel Stenberg [Wed, 3 Dec 2008 10:03:07 +0000 (10:03 +0000)]
Let's not call ares_save_options() deprecated just yet

15 years agoIntroduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
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.

15 years agoMake sure sys/socket.h is included before netinet/in.h (required by
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)

15 years agominor indent fix
Daniel Stenberg [Mon, 1 Dec 2008 22:36:39 +0000 (22:36 +0000)]
minor indent fix

15 years agoConvert the public config struct to the same binary size/construct as in the
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.

15 years agoAdded '-DHAVE_GETHOSTNAME'.
Gisle Vanem [Sat, 29 Nov 2008 15:19:46 +0000 (15:19 +0000)]
Added '-DHAVE_GETHOSTNAME'.

15 years agoMake sure sys/socket.h is included before netinet/in.h (required by
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)

15 years agoNetware has gethostname()
Dan Fandrich [Fri, 28 Nov 2008 23:34:39 +0000 (23:34 +0000)]
Netware has gethostname()

15 years agoFixed a couple of typos
Dan Fandrich [Fri, 28 Nov 2008 23:24:06 +0000 (23:24 +0000)]
Fixed a couple of typos

15 years agoDon't tweak the HAVE_* macros when using autoconf
Dan Fandrich [Fri, 28 Nov 2008 23:12:11 +0000 (23:12 +0000)]
Don't tweak the HAVE_* macros when using autoconf

15 years agoMake use of gethostname() conditional on it being available
Dan Fandrich [Fri, 28 Nov 2008 22:41:14 +0000 (22:41 +0000)]
Make use of gethostname() conditional on it being available

15 years agoOnly set TCP_NODELAY when it exists
Dan Fandrich [Fri, 28 Nov 2008 22:07:40 +0000 (22:07 +0000)]
Only set TCP_NODELAY when it exists