Yang Tse
82a1c1c989
INSTALL: remove more sections that don't apply to c-ares
13 years ago
Yang Tse
38a9933a6d
ares_timeout.c: fix compiler warning
13 years ago
Ben Noordhuis
f7b66af200
Makefile.m32: fix mingw32 build
...
* add . to include path so ares_build.h is picked up
* make ar configurable to ease cross-compiling
13 years ago
Daniel Stenberg
031040f893
RELEASE-NOTES: added what's happened since 1.7.5
13 years ago
Guenter Knauf
28354d9ad2
Updated copyright year.
13 years ago
Yang Tse
7ce8fe781a
ares_init.c: Further refactoring of Windows system's DNS fetching code
13 years ago
Guenter Knauf
05346c25cb
Android: small changes to dns property part.
...
Prefix prop vars; kill var; use DNS_PROP_NAME_PREFIX macro.
13 years ago
Guenter Knauf
b3afe9cbde
Handle CNAME-only in ares_parse_aaaa_reply().
...
posted to the c-ares list by Peter Griess <pg@std.in>.
13 years ago
Guenter Knauf
2c67ce6459
Add support for multiple DNS servers on Android.
...
Before, c-ares always used the first DNS server on Android, causing
network problems if this DNS server was not available.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
13 years ago
Guenter Knauf
80de4a7295
Added INSTALL so it gets into tarballs.
13 years ago
Guenter Knauf
5e80852e4c
Added some more ifdefs to silent compiler warnings.
13 years ago
Yang Tse
017132bf43
INSTALL: remove a non c-ares section
13 years ago
Yang Tse
2c77c33daa
cares-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 builds
...
When building a Windows target with gcc 4.5 or newer and strict compiler
warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
13 years ago
Yang Tse
81db5a00e4
setup_once.h: tighten requirements for stdbool.h header inclusion
...
Include stdbool.h only when it is available and configure is capable of
detecting a proper 'bool' data type when the header is included.
13 years ago
Yang Tse
cb71b6bd5a
configure: NATIVE_WINDOWS no longer defined in config file
13 years ago
Yang Tse
f6b4cacfae
cares-compilers.m4: double underscore decoration for visibility attribute
13 years ago
Yang Tse
fc2c91c206
build adjustments: CARES_SYMBOL_HIDING no longer defined in config files
...
configure script now provides conditional definitions for Makefile.am
that result in CARES_SYMBOL_HIDING being defined by resulting makefiles
when appropriate.
13 years ago
Yang Tse
41191cdd54
configure: Windows cross-compilation fixes
...
CARES_BUILDING_LIBRARY and CARES_STATICLIB no longer defined in ares_config.h,
configure will generate appropriate conditionals so that mentioned symbols
get defined and used in Makefile derived from Makefile.am at compilation time.
13 years ago
Guenter Knauf
7e2f70a08c
Added INSTALL file adapted from libcurl.
...
Not yet ready, and needs further edits.
13 years ago
Yang Tse
4980cc99e2
ares_init.c: get_iphlpapi_dns_info() refactoring
13 years ago
Guenter Knauf
8b79584e01
Kill some more compiler warnings.
13 years ago
Guenter Knauf
27a478c7a3
Kill compiler warning about unused var.
13 years ago
Guenter Knauf
58e62c5879
Fixed my last commit: wrong preprocessor directive.
13 years ago
Guenter Knauf
7d3f341156
Check for __ANDROID__ in addition to ANDROID macro.
13 years ago
Guenter Knauf
995fa144d9
Check for __ANDROID__ in addition to ANDROID macro.
...
Posted to c-ares list by Wayne.
13 years ago
Guenter Knauf
0d6ef42b5f
Fix for Android to disable useless arpa/nameser.h.
13 years ago
Guenter Knauf
4ef145cede
Fix for Android to include sys/select.h for fd_set.
13 years ago
Yang Tse
41f8ff5070
ares_data.c: some NAPTR related fixes
13 years ago
Daniel Stenberg
506d586276
port numbers: convert them to network order!
...
When the config options ARES_OPT_UDP_PORT or ARES_OPT_TCP_PORT are used,
make sure to convert them to network byte order!
Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-02/0004.shtml
13 years ago
Daniel Stenberg
1c26242c52
white space cleanup
...
- Keep code within 80 columns
- Removed funny spaces after open paren and before closing paren
13 years ago
Poul Thomas Lomholt
73dc26a9fc
get_iphlpapi_dns_info: fix buffer overrun
...
I experienced a buffer overrun exception in c-ares on Windows and
tracked it down to be an error in the calculation of the 'left' variable
in get_iphlpapi_dns_info().
I changed the variable type of 'left' to a _signed_ type because of the
subtraction arithmetic; not sure if a long is the best choice
13 years ago
Daniel Stenberg
90a150f045
Merge pull request #7 from saghul/naptr
...
Added support for parsing NAPTR records
13 years ago
saghul
6bab0393c4
Added support for parsing NAPTR records
13 years ago
Yang Tse
4ab65461b6
ares_init.c: fix compiler warning on winsock builds
13 years ago
Yang Tse
f1a1df1e6c
configure: libtool 1.5 tweaks
13 years ago
Daniel Stenberg
6ae9e71df4
ares_timeout.3: fix the NAME section
...
It was clearly a copy n' paste error
13 years ago
Albert Chin
f394cd55c8
configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def
...
When using Sun C compiler the preprocessor somehow inserts an extra space
in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround
this, macro CURL_CHECK_DEF now ignores all leading whitespace in front of
symbol substitution result.
13 years ago
Yang Tse
3d84eb3bbc
ares_init.c: fix segfault triggered in ares_init_options() upon previous
...
failure of init_by_defaults() and incomplete cleanup there.
13 years ago
Yang Tse
66e91438c5
ares_process.c: fix compiler warning
13 years ago
Yang Tse
a831da792d
fix MSVC compiler warning 'conditional expression is constant'
13 years ago
Yang Tse
bab721cb1c
setup_once.h cleanup and sync
13 years ago
Denis Bilenko
1f8f14d21e
ares_getnameinfo: fix random results with c-ares 1.7.5
...
In ares_getnameinfo memcpy did not copy enough bytes, causing
it to return arbitrary memory contents as a result.
13 years ago
Yang Tse
c8d8ca2606
warnings: fix another 'conversion may lose significant bits' compiler warning
13 years ago
Yang Tse
1089cf6052
ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions
...
Fixing compiler warnings existing definitions triggered on these.
13 years ago
Yang Tse
b816675c0f
ares_destroy.c: fix segfault in ares_destroy_options()
13 years ago
Daniel Stenberg
d0c3cb6840
ares_parse_srv_reply: silence compiler warnings
...
... by adding ugly typecasts.
13 years ago
Daniel Stenberg
2d9a5acff5
CHANGES: generate from script
...
The CHANGES file is now generated automatically with 'git2changes.pl',
invoked by the maketgz script which is used to build release archives.
The former human edited CHANGES file was renamed to CHANGES.0 in git.
13 years ago
Yang Tse
440b5d488a
Makefile.netware: SIZEOF_SHORT definition
13 years ago
Yang Tse
14eb79f660
warnings: fix some 'conversion may lose significant bits' compiler warnings
13 years ago
Yang Tse
34d5d76969
configure: fix symbol hiding usability check
...
A more thorough test is done now in order to determine visibility attribute
usability, given that some compilers don't support visibility attribute on
all configurations.
13 years ago