Commit Graph

3194 Commits

Author SHA1 Message Date
Willem Toorop aafdba690d Server capabilities test, listen on single localhost IPv4 address 2019-12-16 11:54:00 +01:00
Willem Toorop 0fbe0dccc3 Debugging server capability testing 2019-12-16 11:47:40 +01:00
Willem Toorop f1ea127e7a NLnet Labs reversed space takes long to lookup... 2019-12-16 11:04:49 +01:00
Willem Toorop e2813299ee Target everything does not exist with me ...
.. but did exist in travis???
2019-12-13 16:19:29 +01:00
Willem Toorop 17d5627529 Make TCP_FASTOPEN work again for linux and FreeBSD 2019-12-13 16:18:53 +01:00
Willem Toorop 39e2c8a33e replace '//' with #ifdef 0 / #endif
because my compiler complains about it for some reason
2019-12-13 11:34:14 +01:00
Willem Toorop 17784bd3f5 Try to fix yxml 2019-12-13 11:29:34 +01:00
Willem Toorop e28ee2b0e0 New commits in yxml 2019-12-10 15:21:51 +01:00
Sara Dickinson d92a91e771 Fix up unit tests for all the event loops.
Various housekeeping
2019-11-29 10:50:49 +00:00
Sara Dickinson 33774228a3 Missed one SOA that is not returned 2019-11-28 16:42:42 +00:00
Sara Dickinson 0fc75dfbaf Work around issue in cmake (after 3.5 but fixed in 3.12) where object libraries could not be used with target_link_library().
Tweak libcheck/windows logic.

Hacks to make tests pass with strange bionic system resolver behaviour
Add to README that xenial doesn’t have libunbound-dev 1.5.9 packaged
2019-11-28 16:22:45 +00:00
Sara Dickinson 26d678b344 More update to README
v. minor updates to tests to clean up output
2019-11-18 20:41:28 +00:00
Jim Hague 6352419823 Correct typo. 2019-11-18 18:33:00 +00:00
Jim Hague b8c7690df4 Add CMake build instructions for Windows and Visual Studio. 2019-11-18 18:31:41 +00:00
Sara Dickinson b455c3feca If we want to use only libidn2 then we need to move to bionic for the travis build (the libidn2 package for xenial is too old!). So update the travis build for this.
Fix the default mode for STUB_ONLY build for Windows vs linux
2019-11-18 16:59:29 +00:00
Sara Dickinson 38f59b7bea Remove libidn support
More updates to README
2019-11-18 14:05:50 +00:00
Sara Dickinson fa72271221 Add simple test to run stubby 2019-11-15 16:35:56 +00:00
Sara Dickinson 2925c7e80b Add verbose on failure output to unit tests 2019-11-15 15:52:39 +00:00
Sara Dickinson 323e6a6ba6 Update submodules and fix issue with loading local hosts 2019-11-15 14:29:33 +00:00
Sara Dickinson 499555b8a5 More fixes for remaining tests.. 2019-11-14 17:58:11 +00:00
Sara Dickinson 80b0c7a45e Add missing compile flags so JSON parsing of listen_addresses works!!!! 2019-11-14 17:43:26 +00:00
Sara Dickinson d59380fca0 Start work on remaining tests 2019-11-14 14:40:24 +00:00
Sara Dickinson 1cca550799 Fix lib name on linux 2019-11-14 14:05:47 +00:00
Sara Dickinson 8b3e3412f5 Merge branch 'feature/cmake' of https://github.com/getdnsapi/getdns into feature/cmake_testfix 2019-11-14 12:38:15 +00:00
Sara Dickinson ffbc49cc2d Get all of the tests run by ‘run-all.sh’ working apart from those that require valgrind…….
update stubby commit and ymlx commit to remove build warnings
2019-11-14 11:36:18 +00:00
Jim Hague 277a4ae9c7 Add test for new libuv callback styles.
This fixes a build warning on Mac.
2019-11-13 18:07:31 +00:00
Jim Hague 4314f5dbf9 Be more generous about what constitutes a build directory name. 2019-11-13 18:06:36 +00:00
Sara Dickinson cafd745383 More work on the README - some sections still to do
Also add build dir to .gitignore
2019-11-04 17:31:14 +00:00
Sara Dickinson 383a162bf4 update stubby submodule target 2019-11-04 14:07:26 +00:00
Willem Toorop 41e09259db
Merge pull request #438 from neheb/patch-1
platform: Prefer poll.h to sys/poll.h
2019-11-04 09:33:42 +01:00
Rosen Penev 3f6203bf0f
platform: Prefer poll.h to sys/poll.h
sys/poll.h seems to be some GNU extension. musl warns about this:

warning redirecting incorrect #include <sys/poll.h> to <poll.h>

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-03 14:30:34 -08:00
Jim Hague beda65f262 Basic updates to README for cmake version. 2019-11-01 12:40:05 +00:00
Jim Hague e00a79a240 Remove autoconf build and update to autoconf-less Stubby. 2019-11-01 12:27:10 +00:00
Jim Hague 7a1e72d51e Increase minimum libunbound version to 1.5.9 to get pluggable event handling.
At Willem's suggestion.
2019-11-01 12:10:52 +00:00
Jim Hague 1cac86424e Fix build problem with ENABLE_DEBUG_STUB when not using ENABLE_DEBUG_ALL. 2019-11-01 10:44:55 +00:00
Jim Hague 011b4c6099 Pick up stubby install fixes. 2019-10-31 18:03:48 +00:00
Jim Hague 5be26496ac Update to pick up latest Stubby build fixes. 2019-10-31 16:19:45 +00:00
Jim Hague 0e432cc7c2 Add option to build Doxygen.
This requires a change to the Doxyfile. I can't see a way to avoid this.
2019-10-31 13:41:04 +00:00
Jim Hague ba54c50779 Add options to build the example programs. 2019-10-31 12:59:28 +00:00
Jim Hague c66d772c97 Add libidn2 to list of library names searched when looking for libidn2.
Other find packages do this, and omitting it stops it from finding vcpkg library.
2019-10-31 12:45:46 +00:00
Jim Hague 07a074c1b1 Add binary build dir as include interface for the getdns libraries.
Any library user will need that to find the getdns header files.
2019-10-30 18:12:23 +00:00
Jim Hague a46ded25b6 Implement enabling and checking for TCP Fast Open. 2019-10-30 17:21:25 +00:00
Jim Hague ffa5d6144f Add manual enable/disable of the poll event loop.
And fix the detection of poll().
2019-10-30 14:40:11 +00:00
Jim Hague cbed43ed59 Add ENABLE_EDNS_COOKIES. 2019-10-30 14:09:13 +00:00
Jim Hague c75d8df399 Remove obsolete comment. 2019-10-30 14:02:49 +00:00
Jim Hague 74d9404759 FIrst pass at GnuTLS support. 2019-10-30 14:02:32 +00:00
Jim Hague f34218d812 Correct comments. 2019-10-30 13:41:15 +00:00
Jim Hague 633724327f Get CMake build working under MinGW.
The MinGW linker does not like -VERSION: one little bit.

I rearranged the order of the ifs hoping that MinGW and friends would be a UNIX, but it was not to be.
2019-10-29 18:10:04 +00:00
Jim Hague ea09baf376 Fix Windows build failure when libunbound is present. 2019-10-29 17:42:21 +00:00
Jim Hague b0ef0887db Add libunbound dependencies where necessary.
I think it's only needed for getdns_query and getdns_server_mon because it gets included in config.h, of all places.
2019-10-29 16:53:19 +00:00