summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-08.gitignore: ignore patch filesAlexander Klauer1-0/+1
This commit adds a line to .gitignore to the effect that patch files generated by 'git format-patch' are excluded from the repository.
2013-04-08ares_destroy() documentation: no new requestsAlexander Klauer1-1/+2
Clarify that no new requests may be added to a resolver channel that is currently being destroyed.
2013-04-08Documentation: properly document ARES_ECANCELLEDAlexander Klauer7-1/+21
This commit clarifies the behaviour of ares_cancel() with respect to callbacks and adds missing documentation of ARES_ECANCELLED to the man pages of the affected functions.
2013-04-08ares_cancel(): cancel requests safelyAlexander Klauer1-20/+20
An invocation of ares_cancel() walks through the request list, calling the callbacks of all pending requests on a channel. Previously, if such a callback added a new request to the channel, the request list might not end up empty, causing an abort by assertion failure. The present commit ensures that precisely all requests present upon entry of ares_cancel() are cancelled, and that adding new requests through callbacks is safe.
2013-03-10ares.h: stricter CARES_EXTERN linkage decorations logicYang Tse3-52/+46
No API change involved.
2013-03-10ares_build.h.dist: enhance non-configure GCC ABI detection logicYang Tse1-3/+5
GCC specific adjustments: - check __ILP32__ before 32 and 64bit processor architectures in order to detect ILP32 programming model on 64 bit processors which, of course, also support LP64 programming model, when using gcc 4.7 or newer. - keep 32bit processor architecture checks in order to support gcc versions older than 4.7 which don't define __ILP32__ - check __LP64__ for gcc 3.3 and newer, while keeping 64bit processor architecture checks for older versions which don't define __LP64__
2013-03-09ares.h: there is no ares_free_soa functionDaniel Stenberg1-3/+1
2013-03-09Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibilityYang Tse1-0/+2
2013-03-08ares_inet_ntop.3: s/socklen_t/ares_socklen_tYang Tse1-1/+1
2013-03-08configure: use XC_LIBTOOL for portability across libtool versionsYang Tse3-62/+27
2013-03-08xc-lt-iface.m4: provide XC_LIBTOOL macroYang Tse1-0/+465
2013-02-19Makefile.am: use AM_CPPFLAGS instead of INCLUDESYang Tse1-12/+10
2013-02-19inet_ntop.c: s/socklen_t/ares_socklen_tYang Tse1-1/+4
2013-02-19inet_ntop.c: s/socklen_t/ares_socklen_t for portabilityYang Tse1-3/+3
2013-02-19ares.h: s/socklen_t/ares_socklen_t for portabilityDaniel Stenberg1-1/+1
2013-02-17ares_inet_ntop.3: 4th argument is socklen_t!Daniel Stenberg1-1/+2
2013-02-17spell inet correctly!Daniel Stenberg2-2/+2
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg16-62/+36
Make sure that the symbols are always exported and present in c-ares. Make the headers prefixed with 'ares'. Removed the inet_ntop.h version as it no longer features any content.
2013-02-17ares_inet_ntop/ares_inet_pton: added man pagesDaniel Stenberg3-3/+98
2013-02-15curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s()Gisle Vanem1-1/+3
2013-02-15config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32Gisle Vanem1-2/+1
2013-02-15config-dos.h: define strerror() to strerror_s_() for High-CGisle Vanem1-1/+2
2013-02-13ares_get_datatype: removed unused functionDaniel Stenberg2-33/+2
it was also wrongly named as internal functions require two underscores
2013-02-13ares__bitncmp: use two underscores for private functionsDaniel Stenberg3-29/+27
It used a single one previously making it look like a public one
2013-02-13ares__generate_new_id: moved to ares_query.cDaniel Stenberg3-9/+8
... and ares__rc4 is turned into a local static function.
2013-02-13ares__swap_lists: make private and staticDaniel Stenberg3-28/+27
... since there's only one user, make it static within ares_process.c
2013-02-13Makefile.msvc: add four VS version stringsYang Tse1-1/+9
2013-02-13ares_expand_name.3: clarify how to free the dataDaniel Stenberg1-1/+3
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2Yang Tse1-1/+1
- Fix a pair of single quotes to double quotes. URL: http://curl.haxx.se/mail/lib-2013-01/0355.html Reported by: Tor Arntsen
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-upYang Tse1-8/+20
- Take into account that 'wc' may return leading spaces and/or tabs. - Set initial IFS to space, tab and newline.
2013-01-30zz40-xc-ovr.m4: fix 'wc' detectionYang Tse1-3/+14
- Take into account that 'wc' may return leading spaces. - Set internationalization behavior variables. Tor Arntsen analyzed and reported the issue. URL: http://curl.haxx.se/mail/lib-2013-01/0351.html
2013-01-29zz40-xc-ovr.m4: check another three basic utilitiesYang Tse1-24/+116
2013-01-28zz40-xc-ovr.m4: 1.0 interface stabilizationYang Tse2-90/+118
- Stabilization results in 4 public interface m4 macros: XC_CONFIGURE_PREAMBLE XC_CONFIGURE_PREAMBLE_VER_MAJOR XC_CONFIGURE_PREAMBLE_VER_MINOR XC_CHECK_PATH_SEPARATOR - Avoid one level of internal indirection - Update comments - Drop XC_OVR_ZZ40 macro
2013-01-26zz40-xc-ovr.m4: emit witness message in configure BODYYang Tse1-3/+36
This avoids witness message in output when running configure --help, while sending the message to config.log for other configure runs.
2013-01-25zz40-xc-ovr.m4: truly do version conditional overridingYang Tse1-2/+15
- version conditional overriding - catch unexpanded XC macros - fix double words in comments
2013-01-25zz40-xc-ovr.m4: fix variable assignment of subshell output bashismYang Tse1-5/+5
Tor Arntsen analyzed and reported the issue. URL: http://curl.haxx.se/mail/lib-2013-01/0306.html
2013-01-25zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependenciesYang Tse1-0/+36
2013-01-25zz40-xc-ovr.m4: avoid double single-quote usageYang Tse1-4/+4
2013-01-24zz40-xc-ovr.m4: parentheses balancing of 'case' statementsYang Tse1-6/+6
m4 quadrigraph shell comment technique allows proper autoconf parentheses balancing in shell 'case' statements. The presence of unbalanced parentheses may otherwise trigger expansion bugs.
2013-01-24zz40-xc-ovr.m4: internals overhaulingYang Tse1-90/+120
- Update comments - Execute commands in subshells - Faster path separator check - Fix missing 'test' command - Rename private macros - Minimize AC_REQUIRE usage
2013-01-23zz40-xc-ovr.m4: redirect errors and warnings to stderrYang Tse1-7/+27
2013-01-23configure: use XC_CONFIGURE_PREAMBLE early checksYang Tse3-101/+2
Some basic checks we make were placed early enough in generated configure script when using autoconf 2.5X versions. Newer autoconf versions expand these checks much further into the configure script, rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement of early intended checks across all our autoconf supported versions.
2013-01-23zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macroYang Tse1-0/+394
2013-01-23configure: autotools compatibility fixes - step IYang Tse5-27/+351
Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
2013-01-23configure: fix automake 1.13 compatibilityYang Tse3-10/+66
Tested with: buildconf: autoconf version 2.69 buildconf: autom4te version 2.69 buildconf: autoheader version 2.69 buildconf: automake version 1.13.1 buildconf: aclocal version 1.13.1 buildconf: libtool version 2.4 buildconf: GNU m4 version 1.4.16
2013-01-04ares_private.h: use again memdebug.h instead of curl_memdebug.hYang Tse1-1/+1
2013-01-01configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERSYang Tse1-1/+1
automake 1.13 errors if AM_CONFIG_HEADER is used in configure script.
2013-01-01cares-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionallyYang Tse1-7/+7
Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using an autoconf version that does not provide it, instead of what we were doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for all autoconf versions.
2012-12-28ares_private.h: use curl_memdebug.h instead of memdebug.hYang Tse1-1/+2
2012-12-18vc6cares.dsp: add ares_create_query.c and ares_parse_soa_reply.cYang Tse1-0/+8