Ondřej Surý
4d2d3b49ce
Cleanup the way we detect json-c library to use only pkg-config
2019-05-29 15:08:52 +02:00
Ondřej Surý
eb8c9bdd55
Make lib/isc/app.c opaque and thread-safe
...
This work cleans up the API which includes couple of things:
1. Make the isc_appctx_t type fully opaque
2. Protect all access to the isc_app_t members via stdatomics
3. sigwait() is part of POSIX.1, remove dead non-sigwait code
4. Remove unused code: isc_appctx_set{taskmgr,sockmgr,timermgr}
2019-05-20 18:13:02 +02:00
Ondřej Surý
a04a390195
Convert *.vcxproj.user to CRLF line endings
2019-03-08 18:01:48 +01:00
Ondřej Surý
c2637c8429
Use ForcedIncludeFiles directive to include config.h everywhere automatically
2019-03-08 17:14:38 +01:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Ondřej Surý
c5040e5c9e
Add @OPENSSL_LIB@ to Windows project files as needed
2018-08-10 16:45:00 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Ondřej Surý
71877806e8
Fix ax_check_openssl to accept yes and improve it to modern autotools standard
2018-07-23 22:10:52 +02:00
Ondřej Surý
c3b8130fe8
Make OpenSSL mandatory
2018-07-19 12:47:03 -04:00
Ondřej Surý
7ee8a7e69f
address win32 build issues
...
- Replace external -DOPENSSL/-DPKCS11CRYPTO with properly AC_DEFINEd
HAVE_OPENSSL/HAVE_PKCS11
- Don't enforce the crypto provider from platform.h, just from dst_api.c
and configure scripts
2018-05-22 16:32:21 -07:00
Ondřej Surý
23c1f7e506
Enforce usage of OpenSSL or PKCS#11 library in platform.h header
2018-05-13 19:18:56 -07:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Tony Finch
286a7b6b9a
Allow TTL values when configuring TTLs and time intervals.
...
Options updated to use ttlvals: max-cache-ttl, max-ncache-ttl,
max-policy-ttl, fstrm-set-reopen-interval, interface-interval, and
min-update-interval.
2018-04-13 11:46:06 -07:00
Ondřej Surý
ccdb0287e8
Remove isc_string_copy, isc_string_copy_truncate and isc_string_append.
...
Use strlcpy and strlcat as appropriate instead.
2018-04-12 10:37:33 +02:00
Michał Kępień
4df4a8e731
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
76e17b54ea
libdns refactoring: get rid of two versions of dns_client_createx
2018-04-06 08:04:41 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
a7eb3b3b76
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
4528297486
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
8f8ce953ce
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
fc38731c85
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
1eb1eaac94
use %u instead of %d
2018-02-16 10:20:39 +11:00
Tinderbox User
02ce048c91
update copyright notice / whitespace
2018-02-08 23:46:17 +00:00
Mark Andrews
6757dc6488
[master] fix nsupdate test on windows
...
4888. [test] Initialize sockets correctly in sample-update so
that nsupdate system test will will run on Windows.
[RT #47097 ]
2018-02-08 13:34:43 -08:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Tinderbox User
672586440b
update copyright notice / whitespace
2017-09-09 23:46:01 +00:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Evan Hunt
509ba96497
[rt45019] separate DNS_CRYPTO_LIBS from ISC_OPENSSL_LIBS and use both
2017-09-07 22:05:20 -07:00
Tinderbox User
9ab5ec1d72
update copyright notice / whitespace
2017-07-21 23:46:06 +00:00
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Tinderbox User
0297ebcc89
update copyright notice / whitespace
2017-07-20 23:45:27 +00:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Tinderbox User
bb01fced12
update copyright notice / whitespace
2017-05-30 23:45:32 +00:00
Mark Andrews
e51d62ecae
4629. [bug] dns_client_startupdate could not be called with a
...
running client. [RT #45277 ]
2017-05-30 09:47:41 +10:00
Mark Andrews
3742338a7b
4585. [port] win32: Set CompileAS value. [RT #42474 ]
2017-04-20 12:41:40 +10:00
Mark Andrews
c1870d0e44
freeaddrinfo is called too early.
2016-12-15 09:38:12 +11:00
Tinderbox User
29916e6d7c
update copyright notice / whitespace
2016-12-13 23:46:28 +00:00
Mark Andrews
8ca45ba01a
4533. [bug] dns_client_update should terminate on prerequiste
...
failures (NXDOMAIN, YXDOMAIN, NXRRSET, YXRRSET)
and also on BADZONE. [RT #43865 ]
2016-12-13 15:47:03 +11:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Mark Andrews
ecfa005085
4403. [bug] Rename variables and arguments that shadow: basename,
...
clone and gai_error.
2016-06-28 21:25:30 -04:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Evan Hunt
30370d905e
[master] removed /Gy- from VS project files
...
4302. [port] win32: fixed a build error in VS 2015. [RT #41426 ]
2016-01-27 15:27:57 -08:00
Tinderbox User
3865e18d3d
update copyright notice / whitespace
2015-11-09 23:45:22 +00:00
Evan Hunt
e13d04fda9
[master] fix python script versions
...
4257. [cleanup] Python scripts reported incorrect version. [RT #41080 ]
2015-11-08 21:34:24 -08:00
Mark Andrews
7867d18ce0
Introduce end-of-line normalization
2015-09-29 08:25:35 +10:00
Mark Andrews
91f66e374b
eol -> crlf
2015-08-26 12:43:08 +10:00
Evan Hunt
a32b6291aa
[master] address regression
...
4126. [bug] Addressed a regression introduced in change #4121 .
[RT #39611 ]
2015-05-26 19:11:08 -07:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00