Willem Toorop
1b3f570792
Bump version for release
2020-02-28 15:39:53 +01:00
Jim Hague
ab49db8aa5
Tighten Nettle version checking, and fix build issue with Nettle >= 3.4.
...
Nettle 3.4 introduced accessor functions for obtaining nettle_secp_256r1 and nettle_secp_384r1. Use them if present.
Fixes #458
2020-02-25 13:30:25 +00:00
Willem Toorop
e3fbe4fb51
getdns-1.6.0-rc.1
2020-02-21 14:21:12 +01:00
Willem Toorop
dadddb0d7b
Detect if __func__ can be used with debugging
2020-02-20 21:09:17 +01:00
Willem Toorop
4453febf2d
Build eventloop support libraries by default
...
Resolves issue #169
2020-02-20 20:25:35 +01:00
Willem Toorop
a6a2695fee
Update stubby release & Changelog
2019-12-20 14:02:23 +01:00
Willem Toorop
24824bb413
Not string.h but strings.h!
2019-12-20 11:23:45 +00:00
Willem Toorop
2cc4865b14
Merge pull request #451 from getdnsapi/feature/readme-polish
...
Feature/readme polish
2019-12-18 15:02:07 +01:00
Willem Toorop
f701af7508
Remove INSTALL from CMakeLists.txt too
2019-12-18 14:53:26 +01:00
Willem Toorop
6b1ba31334
Switch to semvers 2.0
2019-12-18 12:29:21 +01:00
Willem Toorop
293011c27f
Bump version + move CodeStyle to project-doc
2019-12-16 13:47:14 +01:00
Willem Toorop
17d5627529
Make TCP_FASTOPEN work again for linux and FreeBSD
2019-12-13 16:18:53 +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
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
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
323e6a6ba6
Update submodules and fix issue with loading local hosts
2019-11-15 14:29:33 +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
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
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
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
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
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
Jim Hague
bb59275ba9
More Windows system libraries. These are used by libuv.
2019-10-29 15:46:04 +00:00
Jim Hague
4af076f5fb
Ensure include directories for external libraries are on the path.
2019-10-29 15:38:54 +00:00
Jim Hague
6a043d2fac
Add libuv extension.
2019-10-29 09:15:04 +00:00
Jim Hague
c359a0b65e
Add libev extension.
2019-10-29 09:13:57 +00:00
Jim Hague
02561c2d7e
Add building the libevent extension.
...
Insist on libevent2.
2019-10-28 18:11:42 +00:00
Jim Hague
4ab7f8f757
Shared libraries - move versioning and export list into functions.
...
Also for Windows add looking for a template .RC of the target name and adding that to the build too.
2019-10-28 17:11:00 +00:00
Jim Hague
7cf119fb6b
Only include libidn/idn2 includes on building getdns objects if they are set.
2019-10-28 11:05:54 +00:00
Jim Hague
69ab8adb12
Allow user to disable use of libidn/idn2.
...
It's tempting to do the same for libunbound, but that's only pulled in if you're not building stub-only, and in that case there is no choice - you have to have libunbound.
2019-10-28 10:36:34 +00:00
Jim Hague
5df3bc4fce
Libidn/idn2 needs to be included in the library link, certainly for shared libs.
...
So might as well do the same for static libs.
2019-10-28 10:35:36 +00:00
Jim Hague
545916d347
Make building getdns_query and getdns_server_mon optional. Default is on.
2019-10-28 10:06:02 +00:00
Jim Hague
1da968a35f
Detect and use libidn and libidn2 if present.
2019-10-28 09:57:29 +00:00
Jim Hague
164b089011
Add option to enable MDNS support.
2019-10-25 17:18:29 +01:00
Jim Hague
d9e5f405e7
Add option to build Stubby from subproject, and remove Stubby-only items from getdns config.
...
This requires the latest version of the Stubby CMake build to work.
2019-10-25 16:16:04 +01:00
Jim Hague
2fa1a184e4
Remove blanket include directory addition and make specific to individual targets.
...
This is best practice. We don't want that directory potentially contaminating other included builds.
2019-10-25 15:58:48 +01:00
Jim Hague
f1885cc4a6
Remove surplus entry on CMAKE_MODULE_PATH and verbosity put in there temporarily and accidentally committed.
2019-10-25 15:54:57 +01:00
Jim Hague
dbad46c516
Correct ordering of project and includes.
2019-10-24 17:49:23 +01:00
Jim Hague
9dcd8482f5
Add stub only mode, on by default.
...
If disabled, it needs to drag in libunbound. So do all that.
2019-10-24 17:40:37 +01:00
Jim Hague
530c8c5e8e
Use BSD library we found directly, and mark its path as advanced, as per other libraries.
2019-10-24 17:32:05 +01:00
Jim Hague
e8eafdfa44
Rearrange includes, to CTest and thus BUILD_TESTING is always present.
...
We can then use BUILD_TESTING to control whether to build the test executables or not.
2019-10-24 17:29:30 +01:00