elcallio
c32103e112
Add virtual function set for socket IO
...
Defines a structure of basic create, close, read/write
functions as virtual function calls, settable for individual
c-ares channels.
8 years ago
David Drysdale
bac968cbb0
test: ignore aresfuzzname binary
8 years ago
Stephen Sorley
9fe30b55bc
Always use check_symbol_exists instead of check_function_exists.
8 years ago
Gregor Jasny
e7fdf4829e
Also add includes to TARGETS_INST_DEST
8 years ago
Stephen Sorley
672c359b75
Windows build fixes
8 years ago
Gregor Jasny
97f8b14c85
CMake: Export targets
8 years ago
Gregor Jasny
7219fe2f05
CMake: Use GNUInstallDirs for install location defaults
8 years ago
David Drysdale
071927737d
Update Makefile.am for renamed INSTALL.md
8 years ago
David Drysdale
5a869aeaf3
docs: convert INSTALL to MarkDown & tweak ( #83 )
8 years ago
Gregor Jasny
4d56128b5b
Merge pull request #77 from stephen-sorley/cmake_modernize
...
Updated CMake minimum version to 2.8.12.
8 years ago
Stephen Sorley
5f4cb4d093
Changed executables to depend directly on internal libcares target, instead of against
...
the external-facing alias targets.
8 years ago
Stephen Sorley
49b79065ed
Updated Travis to pull CMake 2.8.12 from kubuntu-backports ppa.
8 years ago
Stephen Sorley
10cb4b437f
Updated CMake minimum version to 2.8.12.
...
Changed the way usage requirements (include dirs, compile defs, dependent libraries) are specified, to match the recommended standard practice for modern CMake. This involves using target-specific functions (target_include_directories, target_compile_definitions, etc.), along with the PUBLIC, PRIVATE or INTERFACE modifiers.
Updated chain-building support to imitate new-style Find modules (import libs), instead of old-style Find modules (cache variables).
8 years ago
Chris Araman
fbf1b4b3d6
configure: clock_gettime workaround ( #75 )
...
Commits 7518c26
, c41726b
, and bc14ee7
brought this workaround to the CMake build system. This expands it to the autoconf build system.
Fixes #71
8 years ago
David Drysdale
8fdd3d3d19
test: add fuzz entrypoint for ares_create_query()
8 years ago
David Drysdale
d6823a5cf3
test: Add gTest/gMock files to SOURCES
...
Built tarballs are not including all of the files needed
to build the test suite because they are missing from the
<target>_SOURCES variable in Makefile.am.
8 years ago
David Drysdale
b0aebb9515
travis: Move build scripts under travis/
...
Travis doesn't always propagate errors in inline multi-line
scripts, so move them all to be explicit shell scripts, each
with set -e.
8 years ago
David Drysdale
98bdeeefa3
travis: check distributed tarball builds
8 years ago
Daniel Stenberg
02f609c90c
dist: ship msvc_ver.inc too
...
Reported-by: Bruce Stephens
Fixes #69
8 years ago
Aaron Bieber
b0af263838
fix build on OpenBSD
8 years ago
Daniel Stenberg
2f467d20a6
ares_version.h: bump, working on 1.12.1 now
8 years ago
Gregor Jasny
5979d6d4ad
Merge pull request #64 from bradh352/master
...
Add CMake build system support to C-Ares.
8 years ago
Brad House
1d8077b285
suggested PROJECT_NAME change broke chain building as it needs the magic PROJECT_NAME set in the ADD_LIBRARY for matching. Fix to make both goals work
8 years ago
Brad House
bc14ee76b9
update MacOSX 10.12 detection
8 years ago
Brad House
c41726b42a
Expand XCode clock_gettime fix to include MacOS 10.12, not just iOS10
8 years ago
David Drysdale
7842a9d861
Revert "travis: work around bug in PyCParser"
...
This reverts commit a24a10a348
.
8 years ago
David Drysdale
a24a10a348
travis: work around bug in PyCParser
...
See https://github.com/pyca/cryptography/issues/3187
8 years ago
Brad House
6db065bc54
PROJECT_SOURCE_DIR instead of CMAKE_CURRENT_SOURCE_DIR as per @gjasny
8 years ago
Brad House
ec730cc1c9
use a project name of c-ares as per @gjasny
8 years ago
Brad House
096282df53
Import curl conversion of Makefile.inc to cmake form dynamically as per bdoetsch@ameritech.net to make maintaining multiple build systems easier
8 years ago
Daniel Stenberg
f9cda85d07
dist: add ares_library_initialized.* to the tarball
8 years ago
David Drysdale
1e5dbb9e45
test: check ares_create_query with too-long name
8 years ago
Daniel Stenberg
3aead6a988
man pages: minor formatting edits
8 years ago
Brad House
e46e59454c
merge fc7917e from @daviddrysdale ... travis build updates for cmake
8 years ago
Brad House
bb764c88c6
cleanups as per @gjasny ... Use naked IF statements and use NOT DEFINED
8 years ago
Daniel Stenberg
7691f773af
RELEASE-NOTES: 1.12.0
8 years ago
David Drysdale
727d0352f6
ares-test-misc: test ares_create_query with escaped trailing dot
8 years ago
Daniel Stenberg
65c71be1cb
ares_create_query: avoid single-byte buffer overwrite
...
... when the name ends with an escaped dot.
CVE-2016-5180
Bug: https://c-ares.haxx.se/adv_20160929.html
8 years ago
Brad House
503d8712f2
CMake: Unify library versioning with the libtool methodology to make keeping library versions in sync easier with the autotools build system
8 years ago
Daniel Stenberg
51fbb479f7
ares_library_initialized.3: added
8 years ago
Daniel Stenberg
5ba7d14932
make: bump CARES_VERSION_INFO for release
8 years ago
David Drysdale
3041634a7a
man: update ares_init_options.3
8 years ago
Daniel Stenberg
3d29337d7b
ares_library_init.3: corrected the ares_library_init_mem proto
8 years ago
Brad House
7518c26d8e
XCode v8 introduced clock_gettime() for iOS v10. However, it is a weak symbol, which means when earlier iOS versions try to use clock_gettime() it results in a crash due to the missing symbol. Detect this condition and do not set HAVE_CLOCK_GETTIME_MONOTONIC.
8 years ago
Brad House
e4fe33edb7
Adds cmake build system support to C-Ares.
...
The patch does not modify any source files, it only adds 3 new files
(CMakelists.txt, ares_build.h.cmake, ares_config.h.cmake) which form the
build system. I've tried to go through as much of the autotools tests and
extracted what I thought was appropriate, though many of the tests aren't
as in-depth in CMake as they are for autotools ... it is unclear why some
of them exist at all, I'm guessing for legacy systems that CMake probably
doesn't support anyhow.
Building the library, and examples (adig, ahost, acountry) plus installation
should work across a large number of tested platforms. The tests have not
yet been integrated.
8 years ago
Daniel Stenberg
500a12b932
README.md: remove space from link
8 years ago
Daniel Stenberg
a4ebe2d023
README: link to the correct c-ares badge!
...
Reported-by: David Hotham
Fixes #63
8 years ago
Daniel Stenberg
2e38829571
docs: minor formatting edits
8 years ago
Daniel Stenberg
53952e3022
ares_destroy.3: formatting polish
8 years ago
Daniel Stenberg
7658fcdefb
ares_init.3: split the init docs into two separate man pages
8 years ago