Gunter Knauf [Tue, 23 Jan 2007 00:26:45 +0000 (00:26 +0000)]
enabled build with libssh2; fixed copyright for new year..
Gisle Vanem [Mon, 11 Dec 2006 15:18:52 +0000 (15:18 +0000)]
ahost.exe needs getopt.obj.
Yang Tse [Sat, 25 Nov 2006 01:02:52 +0000 (01:02 +0000)]
Make sure RETSIGTYPE is properly defined
Yang Tse [Fri, 24 Nov 2006 16:38:58 +0000 (16:38 +0000)]
Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE
as appropriate for platforms that don't have autotools support
Daniel Stenberg [Wed, 22 Nov 2006 22:54:41 +0000 (22:54 +0000)]
Michael Wallner fixed this problem: When I set domains in the options
struct, and there are domain/search entries in /etc/resolv.conf, the domains
of the options struct will be overridden.
Daniel Stenberg [Wed, 22 Nov 2006 22:51:01 +0000 (22:51 +0000)]
Install ares_dns.h too
Yang Tse [Wed, 22 Nov 2006 18:41:35 +0000 (18:41 +0000)]
Added a check in configure that verifies if <signal.h> is available,
defining HAVE_SIGNAL_H if the header is available.
Added a check in configure that tests if the sig_atomic_t type is
available, defining HAVE_SIG_ATOMIC_T if it is available. Providing
a suitable default in setup_once.h if not available.
Added a check in configure that tests if the sig_atomic_t type is
already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE
if it is available and already defined as volatile.
Daniel Stenberg [Sat, 11 Nov 2006 22:23:48 +0000 (22:23 +0000)]
we did 1.3.2 and are now on the 1.3.3 track!
Gisle Vanem [Tue, 7 Nov 2006 13:29:15 +0000 (13:29 +0000)]
Moved select_s() to Makefile.dj since select() is used in applications.
Yang Tse [Mon, 6 Nov 2006 13:56:51 +0000 (13:56 +0000)]
avoid a couple of potential zero size memory allocations
Daniel Stenberg [Sun, 5 Nov 2006 23:11:22 +0000 (23:11 +0000)]
mention the areslib.dsp fix
Daniel Stenberg [Sun, 5 Nov 2006 23:11:07 +0000 (23:11 +0000)]
add the recent crowd of contributors
Daniel Stenberg [Sun, 5 Nov 2006 23:08:11 +0000 (23:08 +0000)]
Andreas Rieke fixed back the correct line endings!
Daniel Stenberg [Fri, 3 Nov 2006 10:47:35 +0000 (10:47 +0000)]
stand clear for release 1.3.2
Daniel Stenberg [Fri, 3 Nov 2006 10:41:33 +0000 (10:41 +0000)]
Andreas Rieke added missing file and changed line endings
Gisle Vanem [Tue, 31 Oct 2006 20:45:17 +0000 (20:45 +0000)]
Updated dependency output.
Gisle Vanem [Tue, 31 Oct 2006 20:44:36 +0000 (20:44 +0000)]
Updated dependencies to not include config.h.
Gisle Vanem [Tue, 31 Oct 2006 18:01:07 +0000 (18:01 +0000)]
Removed unneeded stuff.
Gisle Vanem [Tue, 31 Oct 2006 17:54:51 +0000 (17:54 +0000)]
Added Watt-32 section to fix things for Watt32+Win32 targets.
Gisle Vanem [Tue, 31 Oct 2006 17:51:54 +0000 (17:51 +0000)]
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
Gisle Vanem [Tue, 31 Oct 2006 17:25:48 +0000 (17:25 +0000)]
Added definition of select() for Watt32.
Gisle Vanem [Tue, 31 Oct 2006 17:24:25 +0000 (17:24 +0000)]
Rewritten to use ../packages/DOS/common.dj.
Yang Tse [Fri, 27 Oct 2006 15:37:26 +0000 (15:37 +0000)]
Sync with lib/setup_once.h
Gisle Vanem [Wed, 25 Oct 2006 14:16:01 +0000 (14:16 +0000)]
Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.
Gisle Vanem [Wed, 25 Oct 2006 14:13:35 +0000 (14:13 +0000)]
Added '-d' option for Watt32 targets. Added cvs id.
Yang Tse [Wed, 25 Oct 2006 10:25:43 +0000 (10:25 +0000)]
Compiler warning fix
Yang Tse [Wed, 18 Oct 2006 21:25:12 +0000 (21:25 +0000)]
Sync with lib/setup_once.h
Yang Tse [Wed, 18 Oct 2006 21:05:40 +0000 (21:05 +0000)]
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
Yang Tse [Wed, 18 Oct 2006 15:57:49 +0000 (15:57 +0000)]
Introduce symbol USE_WINSOCK which will be defined when
using winsock or winsock2 API.
Daniel Stenberg [Wed, 18 Oct 2006 12:59:02 +0000 (12:59 +0000)]
Tor's spell fixes
Yang Tse [Wed, 18 Oct 2006 03:42:06 +0000 (03:42 +0000)]
Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().
Yang Tse [Wed, 18 Oct 2006 03:41:19 +0000 (03:41 +0000)]
Move definition of IS*() macros to setup_once.h
Yang Tse [Sat, 14 Oct 2006 12:01:44 +0000 (12:01 +0000)]
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
Daniel Stenberg [Fri, 13 Oct 2006 21:25:11 +0000 (21:25 +0000)]
Prevent ares_getsock() to overflow if more than 16 sockets are used.
Yang Tse [Fri, 13 Oct 2006 01:35:14 +0000 (01:35 +0000)]
Check for struct timeval at configuration time
Daniel Stenberg [Thu, 12 Oct 2006 16:47:50 +0000 (16:47 +0000)]
avoid an overflow if an excessive amount of servers are used
Yang Tse [Wed, 11 Oct 2006 16:01:16 +0000 (16:01 +0000)]
Remove redundant __CYGWIN__ symbol check
Daniel Stenberg [Mon, 11 Sep 2006 20:25:13 +0000 (20:25 +0000)]
- Guilherme Balena Versiani: I noted a strange BUG in Win32 port
(ares_init.c/get_iphlpapi_dns_info() function): when I disable the network
by hand or disconnect the network cable in Windows 2000 or Windows XP, my
application gets 127.0.0.1 as the only name server. The problem comes from
'GetNetworkParams' function, that returns the empty string "" as the only
name server in that case. Moreover, the Windows implementation of
inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
Daniel Stenberg [Tue, 29 Aug 2006 15:17:47 +0000 (15:17 +0000)]
Brad Spencer did
o made ares_version.h use extern "C" for c++ compilers
o fixed compiler warnings in ares_getnameinfo.c
o fixed a buffer position init for TCP reads
Daniel Stenberg [Mon, 14 Aug 2006 07:21:33 +0000 (07:21 +0000)]
add missing man page
Yang Tse [Sun, 6 Aug 2006 10:58:47 +0000 (10:58 +0000)]
Check for network libraries the _same_ way it is done in cURL.
Yang Tse [Sat, 5 Aug 2006 22:02:47 +0000 (22:02 +0000)]
Check for network libraries the same way it is done in cURL.
Yang Tse [Fri, 4 Aug 2006 17:35:05 +0000 (17:35 +0000)]
Minor compatibility fix
Gisle Vanem [Fri, 4 Aug 2006 15:41:56 +0000 (15:41 +0000)]
Fixed comment.
Yang Tse [Fri, 4 Aug 2006 02:49:04 +0000 (02:49 +0000)]
Fix compiler warning
Yang Tse [Fri, 4 Aug 2006 01:13:24 +0000 (01:13 +0000)]
Avoid redundant check. configure script takes care of not defining
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither
HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
Yang Tse [Fri, 4 Aug 2006 00:39:34 +0000 (00:39 +0000)]
Being unable to link or find out recv() or send() args types is a fatal error.
Yang Tse [Thu, 3 Aug 2006 21:19:40 +0000 (21:19 +0000)]
MinGW/MSYS needs lib ws2_32 for proper operation of configure script.
Daniel Stenberg [Thu, 3 Aug 2006 18:20:45 +0000 (18:20 +0000)]
Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and
not always zero!
Yang Tse [Mon, 31 Jul 2006 18:41:29 +0000 (18:41 +0000)]
Avoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling a Windows target.
Yang Tse [Mon, 31 Jul 2006 17:12:24 +0000 (17:12 +0000)]
Force compilation failure in case macros sread() or swrite() are not defined.
Yang Tse [Mon, 31 Jul 2006 16:58:10 +0000 (16:58 +0000)]
Provide definitions needed for macros sread() and swrite() in config file.
Yang Tse [Sat, 29 Jul 2006 09:15:03 +0000 (09:15 +0000)]
Fix compiler warnings.
Yang Tse [Sat, 29 Jul 2006 08:39:20 +0000 (08:39 +0000)]
include setup_once.h dependency and adjust to 80 char lines.
Yang Tse [Fri, 28 Jul 2006 18:01:23 +0000 (18:01 +0000)]
Replace send() and recv() with swrite() and sread() macros.
Yang Tse [Fri, 28 Jul 2006 14:19:03 +0000 (14:19 +0000)]
First step trying to avoid the multiple header inclusion and recursion nightmare.
Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
Yang Tse [Wed, 26 Jul 2006 10:54:08 +0000 (10:54 +0000)]
Provide multiple header inclusion prevention definition __ARES_PRIVATE_H
Yang Tse [Wed, 26 Jul 2006 10:47:11 +0000 (10:47 +0000)]
Change multiple header inclusion prevention definition to __ARES_BITNCMP_H
Yang Tse [Wed, 26 Jul 2006 10:43:15 +0000 (10:43 +0000)]
Change multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H
Yang Tse [Wed, 26 Jul 2006 10:33:17 +0000 (10:33 +0000)]
Sync header with source code
Yang Tse [Tue, 25 Jul 2006 13:49:50 +0000 (13:49 +0000)]
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
Gisle Vanem [Sun, 23 Jul 2006 10:10:52 +0000 (10:10 +0000)]
Added getopt() processing.
Gisle Vanem [Sat, 22 Jul 2006 17:31:00 +0000 (17:31 +0000)]
Added getopt() processing of [-t {a|aaaa}].
Gisle Vanem [Sat, 22 Jul 2006 15:38:35 +0000 (15:38 +0000)]
Added CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:37:10 +0000 (15:37 +0000)]
2nd try adding CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:21:13 +0000 (15:21 +0000)]
Added CVS id.
Gisle Vanem [Sat, 22 Jul 2006 15:12:34 +0000 (15:12 +0000)]
Use ares_free_string() to avoid detecting leaks.
Gisle Vanem [Sat, 22 Jul 2006 14:51:39 +0000 (14:51 +0000)]
If CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set.
Yang Tse [Fri, 14 Jul 2006 11:04:19 +0000 (11:04 +0000)]
Fix compiler warning
Yang Tse [Fri, 14 Jul 2006 10:30:44 +0000 (10:30 +0000)]
Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.
Yang Tse [Tue, 11 Jul 2006 20:40:38 +0000 (20:40 +0000)]
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
Yang Tse [Fri, 7 Jul 2006 17:34:40 +0000 (17:34 +0000)]
Finally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value and has portability issues.
Change some shell if...then...fi tests into case...esac tests which demand less resources.
Yang Tse [Fri, 7 Jul 2006 14:03:17 +0000 (14:03 +0000)]
Substitution of the literal '-' is only done if it's the first or last character.
Yang Tse [Fri, 7 Jul 2006 12:59:45 +0000 (12:59 +0000)]
Using backslashes and slashes in the strings of the sed 'y' command shall be avoided since its interpretation is not the same across platforms.
Now we use the sed 's' command with a bracket expression.
Yang Tse [Fri, 7 Jul 2006 05:39:14 +0000 (05:39 +0000)]
Fix excessive escaping.
Yang Tse [Fri, 7 Jul 2006 04:42:15 +0000 (04:42 +0000)]
Fix CURL_CHECK_HEADERS_ONCE
Yang Tse [Thu, 6 Jul 2006 15:51:03 +0000 (15:51 +0000)]
Fix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.
Yang Tse [Wed, 5 Jul 2006 23:10:38 +0000 (23:10 +0000)]
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Yang Tse [Tue, 4 Jul 2006 17:19:15 +0000 (17:19 +0000)]
Use a more descriptive var name.
Yang Tse [Tue, 4 Jul 2006 16:54:11 +0000 (16:54 +0000)]
Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
Yang Tse [Tue, 4 Jul 2006 16:10:13 +0000 (16:10 +0000)]
Platforms that don't have/run configure need default values in their config files for:
HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7
HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV
HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV
Yang Tse [Tue, 4 Jul 2006 13:03:33 +0000 (13:03 +0000)]
Find out return types and argument types for functions recv() and send() at configuration stage.
Yang Tse [Mon, 3 Jul 2006 15:32:12 +0000 (15:32 +0000)]
Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID
Yang Tse [Sun, 2 Jul 2006 23:09:46 +0000 (23:09 +0000)]
Make CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when cross-compiling.
Yang Tse [Sun, 2 Jul 2006 01:21:54 +0000 (01:21 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Sun, 2 Jul 2006 01:17:37 +0000 (01:17 +0000)]
Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFO
Yang Tse [Sat, 1 Jul 2006 02:53:18 +0000 (02:53 +0000)]
Get qualifier of arg 1 for getnameinfo apart. Take 2.
Yang Tse [Fri, 30 Jun 2006 19:20:16 +0000 (19:20 +0000)]
Get qualifier of arg 1 for getnameinfo apart.
Yang Tse [Fri, 30 Jun 2006 00:22:39 +0000 (00:22 +0000)]
Remove experimental notice from CURL_CHECK_FUNC_GETNAMEINFO
Daniel Stenberg [Mon, 26 Jun 2006 08:56:04 +0000 (08:56 +0000)]
include config-win32.h in release archives
Daniel Stenberg [Sat, 24 Jun 2006 18:29:18 +0000 (18:29 +0000)]
1.3.1
William Ahern [Mon, 19 Jun 2006 06:41:55 +0000 (06:41 +0000)]
Remove "big endian" DNS section and RR data integer parser macros from
ares_dns.h, which break c-ares on my Sparc64. Bit-wise operations in C
operate on logical values. And in any event the octets are already in
big-endian (aka network) byte order so they're being reversed (thus the
source of the breakage).
William Ahern [Mon, 19 Jun 2006 01:18:05 +0000 (01:18 +0000)]
Handle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP and
UDP even when a poll(2) or select(2) suggest otherwise.
Daniel Stenberg [Wed, 24 May 2006 23:02:51 +0000 (23:02 +0000)]
Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32
Daniel Stenberg [Wed, 10 May 2006 08:03:54 +0000 (08:03 +0000)]
Bram Matthys brought my attention to a libtool peculiarity where detecting
things such as C++ compiler actually is a bad thing and since we don't need
that detection I added a work-around, much inspired by a previous patch by
Paolo Bonzini. This also shortens the configure script quite a lot.
Daniel Stenberg [Fri, 5 May 2006 21:08:09 +0000 (21:08 +0000)]
two more contributors
Daniel Stenberg [Wed, 3 May 2006 22:39:49 +0000 (22:39 +0000)]
moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack
Daniel Stenberg [Wed, 3 May 2006 06:11:44 +0000 (06:11 +0000)]
Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
c-ares call a callback on socket state changes. A better way than the
ares_getsock() to get full control over the socket state.
Gunter Knauf [Thu, 20 Apr 2006 10:26:51 +0000 (10:26 +0000)]
removed -fpack-struct because gcc4 seems to know its obsolete and warns...
Gunter Knauf [Mon, 17 Apr 2006 18:04:27 +0000 (18:04 +0000)]
minor Makefile fix - let's go 2006;
use correct version var.