platform/upstream/c-ares.git
15 years agoRemove unneeded defines.
Gisle Vanem [Sat, 20 Jun 2009 13:08:53 +0000 (13:08 +0000)]
Remove unneeded defines.

15 years agoUse select_s() and not select().
Gisle Vanem [Sat, 20 Jun 2009 13:07:59 +0000 (13:07 +0000)]
Use select_s() and not select().

15 years agosclose() function-like macro definition used to close a socket,
Yang Tse [Fri, 19 Jun 2009 00:41:03 +0000 (00:41 +0000)]
sclose() function-like macro definition used to close a socket,
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.

15 years agoadd CloseSocket camel case function check
Yang Tse [Thu, 18 Jun 2009 12:36:10 +0000 (12:36 +0000)]
add CloseSocket camel case function check

15 years agocheck for socket() and closesocket() as it is done for other functions
Yang Tse [Wed, 17 Jun 2009 12:52:46 +0000 (12:52 +0000)]
check for socket() and closesocket() as it is done for other functions

15 years agoRemove HAVE_CONFIG_H definition from here,
Yang Tse [Sat, 13 Jun 2009 20:52:30 +0000 (20:52 +0000)]
Remove HAVE_CONFIG_H definition from here,
CFLAGS from common.dj already defines it.

15 years agoinitial step towards decoupling c-ares from libcurl for DOS
Yang Tse [Sat, 13 Jun 2009 18:13:00 +0000 (18:13 +0000)]
initial step towards decoupling c-ares from libcurl for DOS

15 years agodon't ignore these subdirs, they must be removed first
Yang Tse [Sat, 13 Jun 2009 01:44:45 +0000 (01:44 +0000)]
don't ignore these subdirs, they must be removed first

15 years agoRemove DEBUGBUILD symbol definition, is not required for programs using the library.
Yang Tse [Sat, 13 Jun 2009 01:02:04 +0000 (01:02 +0000)]
Remove DEBUGBUILD symbol definition, is not required for programs using the library.

15 years agoDEBUGBUILD symbol definition for debug builds
Yang Tse [Sat, 13 Jun 2009 00:52:48 +0000 (00:52 +0000)]
DEBUGBUILD symbol definition for debug builds

15 years agoignore some subdirs
Yang Tse [Sat, 13 Jun 2009 00:30:08 +0000 (00:30 +0000)]
ignore some subdirs

15 years agofix comment
Yang Tse [Sat, 13 Jun 2009 00:20:41 +0000 (00:20 +0000)]
fix comment

15 years agoTry to make more clear that --enable-curldebug has nothing to do with --enable-debug...
Yang Tse [Fri, 12 Jun 2009 23:51:28 +0000 (23:51 +0000)]
Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library.

15 years agoRevert last change, it is inappropriate.
Yang Tse [Fri, 12 Jun 2009 23:50:33 +0000 (23:50 +0000)]
Revert last change, it is inappropriate.

15 years agoReplace CURLDEBUG with DEBUGBUILD.
Gisle Vanem [Fri, 12 Jun 2009 14:15:13 +0000 (14:15 +0000)]
Replace CURLDEBUG with DEBUGBUILD.

15 years agowhen running automake copy missing files instead of symlinking them
Yang Tse [Thu, 11 Jun 2009 17:46:12 +0000 (17:46 +0000)]
when running automake copy missing files instead of symlinking them

15 years agoAdjusted to take in account that...
Yang Tse [Wed, 10 Jun 2009 02:49:42 +0000 (02:49 +0000)]
Adjusted to take in account that...

With the curl memory tracking feature decoupled from the debug build feature,
CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:

CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)

DEBUGBUILD used for debug enabled specific code (--enable-debug)

15 years agoc-ares' --enable-debug --enable-curldebug decoupling follow-up
Yang Tse [Tue, 9 Jun 2009 17:58:34 +0000 (17:58 +0000)]
c-ares' --enable-debug --enable-curldebug decoupling follow-up

15 years agomention last changes
Yang Tse [Mon, 8 Jun 2009 16:18:04 +0000 (16:18 +0000)]
mention last changes

15 years agoRemove buildconf.bat from release and daily snapshot archives.
Yang Tse [Mon, 8 Jun 2009 14:31:35 +0000 (14:31 +0000)]
Remove buildconf.bat from release and daily snapshot archives.

buildconf.bat is only for CVS tree builds.

15 years agoEnsure that buildconf.bat does nothing unless it is used with a CVS checkout.
Yang Tse [Mon, 8 Jun 2009 14:27:36 +0000 (14:27 +0000)]
Ensure that buildconf.bat does nothing unless it is used with a CVS checkout.

15 years agoCVS-INFO file only present in CVS tree, never in release nor daily snapshot
Yang Tse [Mon, 8 Jun 2009 14:26:58 +0000 (14:26 +0000)]
CVS-INFO file only present in CVS tree, never in release nor daily snapshot
archives. Used as a sentinel file in buildconf.bat to differentiate CVS builds.

15 years agoUpdate comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).
Gisle Vanem [Mon, 8 Jun 2009 12:09:15 +0000 (12:09 +0000)]
Update comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).

15 years agojust comment it out
Yang Tse [Mon, 8 Jun 2009 02:41:15 +0000 (02:41 +0000)]
just comment it out

15 years agoFor debugging purposes...
Yang Tse [Mon, 8 Jun 2009 02:03:13 +0000 (02:03 +0000)]
For debugging purposes...

Disable the '-export-symbols-regex' to discard this as the origin
of link failures related with shared libraries and non-GNU linkers.

15 years agoc-ares Makefile.am back to using $(top_builddir) for *_LDADD
Yang Tse [Sat, 6 Jun 2009 13:20:10 +0000 (13:20 +0000)]
c-ares Makefile.am back to using $(top_builddir) for *_LDADD

15 years agoc-ares' -no-undefined and --enable-curldebug adjustments
Yang Tse [Fri, 5 Jun 2009 13:17:55 +0000 (13:17 +0000)]
c-ares' -no-undefined and --enable-curldebug adjustments

15 years agoUse relative path to built c-ares tree libtool library
Yang Tse [Tue, 2 Jun 2009 18:29:09 +0000 (18:29 +0000)]
Use relative path to built c-ares tree libtool library

15 years agoJohn E. Malmberg noticed that the configure script was failing to detect the
Yang Tse [Mon, 1 Jun 2009 09:19:16 +0000 (09:19 +0000)]
John E. Malmberg noticed that the configure script was failing to detect the
timeval struct on VMS when building with _XOPEN_SOURCE_EXTENDED undefined due
to definition taking place in socket.h instead of time.h

15 years agoFix compiler warning: out of bound access
Yang Tse [Fri, 29 May 2009 13:19:51 +0000 (13:19 +0000)]
Fix compiler warning: out of bound access

15 years agofix compilation on AIX
Yang Tse [Thu, 28 May 2009 16:43:17 +0000 (16:43 +0000)]
fix compilation on AIX

15 years agoc-ares' --enable-curldebug adjustments
Yang Tse [Thu, 28 May 2009 14:38:04 +0000 (14:38 +0000)]
c-ares' --enable-curldebug adjustments

15 years agoRemove temporarily introduced memory leak.
Yang Tse [Thu, 28 May 2009 09:58:24 +0000 (09:58 +0000)]
Remove temporarily introduced memory leak.

15 years agoTemporarily introduce a memory leak to verify curl debug memory tracking works.
Yang Tse [Wed, 27 May 2009 19:25:51 +0000 (19:25 +0000)]
Temporarily introduce a memory leak to verify curl debug memory tracking works.

15 years agoAllow curl debug memory tracking when building a shared library on
Yang Tse [Wed, 27 May 2009 19:21:09 +0000 (19:21 +0000)]
Allow curl debug memory tracking when building a shared library on
systems which support external, undefined, symbols in shared libraries.

15 years agolanguage fix
Daniel Stenberg [Tue, 26 May 2009 18:03:05 +0000 (18:03 +0000)]
language fix

15 years agoMake ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
Yang Tse [Tue, 26 May 2009 18:00:14 +0000 (18:00 +0000)]
Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
if library initialization has not been performed calling ares_library_init().

15 years agoc-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
Yang Tse [Tue, 26 May 2009 14:50:45 +0000 (14:50 +0000)]
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug

15 years agoPrevent copying 'sourced' manpages for build targets that don't use them.
Yang Tse [Tue, 26 May 2009 13:43:25 +0000 (13:43 +0000)]
Prevent copying 'sourced' manpages for build targets that don't use them.

15 years agominor edits
Daniel Stenberg [Sat, 23 May 2009 20:23:44 +0000 (20:23 +0000)]
minor edits

15 years agoInclude .pdf versions of c-ares man pages in distribution tarball.
Yang Tse [Thu, 21 May 2009 17:40:55 +0000 (17:40 +0000)]
Include .pdf versions of c-ares man pages in distribution tarball.

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