Systemd/src/resolve
Zbigniew Jędrzejewski-Szmek 349cc4a507 build-sys: use #if Y instead of #ifdef Y everywhere
The advantage is that is the name is mispellt, cpp will warn us.

$ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/"
$ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;'
$ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g'
$ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g'
+ manual changes to meson.build

squash! build-sys: use #if Y instead of #ifdef Y everywhere

v2:
- fix incorrect setting of HAVE_LIBIDN2
2017-10-04 12:09:29 +02:00
..
RFCs tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
dns-type.c build-sys: add check for gperf lookup function signature (#5055) 2017-01-10 08:39:05 +01:00
dns-type.h resolved: explicitly refuse zone transfers using the bus API 2016-06-21 13:20:48 +02:00
dns_type-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
generate-dns_type-gperf.py Mark python scripts executable 2017-05-07 20:16:47 -04:00
generate-dns_type-list.sed meson: build systemd using meson 2017-04-23 21:47:26 -04:00
meson.build build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
org.freedesktop.resolve1.conf resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
org.freedesktop.resolve1.service resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
resolv.conf resolved: respond to local resolver requests on 127.0.0.53:53 2016-06-21 14:15:23 +02:00
resolve-tool.c resolve: add missing space in output message (#5574) 2017-03-12 20:12:03 -04:00
resolved-bus.c network,resolve: remove comments related to kdbus 2017-08-23 12:42:35 +09:00
resolved-bus.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-conf.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
resolved-conf.h build-sys: add check for gperf lookup function signature (#5055) 2017-01-10 08:39:05 +01:00
resolved-def.h resolved: include inttypes.h in resolved-def.h given that we use UINT64_C 2016-02-10 14:32:27 +01:00
resolved-dns-answer.c Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
resolved-dns-answer.h resolved: implement sending goodbye mDNS packet 2017-01-19 11:51:21 +02:00
resolved-dns-cache.c Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
resolved-dns-cache.h resolved: when using the ResolveRecord() bus call, adjust TTL for caching time 2016-06-21 13:20:48 +02:00
resolved-dns-dnssec.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
resolved-dns-dnssec.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-packet.c test-resolved-packet: skip most of the loop 2017-07-13 17:55:02 -04:00
resolved-dns-packet.h test-resolved-packet: skip most of the loop 2017-07-13 17:55:02 -04:00
resolved-dns-query.c resolved: when there is no gateway, make sure _gateway results in NXDOMAIN 2017-09-29 18:01:04 +02:00
resolved-dns-query.h resolved: when following a CNAME initialize authenticated bit by the weakest answer 2017-02-09 16:13:07 +01:00
resolved-dns-question.c resolved: allow resolution of names which libidn2 considers invalid (#6315) 2017-07-11 10:42:21 +02:00
resolved-dns-question.h resolved: add dns_answer_is_empty() and dns_question_is_empty() helpers 2016-06-21 13:20:48 +02:00
resolved-dns-rr.c resolved: add cache-flush bit to answers in mDNS announcements 2017-01-19 11:51:21 +02:00
resolved-dns-rr.h resolved: respond to local resolver requests on 127.0.0.53:53 2016-06-21 14:15:23 +02:00
resolved-dns-scope.c resolved: size the mdns announce answer array properly 2017-02-14 11:13:48 +01:00
resolved-dns-scope.h resolved: let's propagate errors from dns_scope_announce() and elsewhere 2017-02-13 20:44:11 +01:00
resolved-dns-search-domain.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
resolved-dns-search-domain.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-server.c resolved: downgrade log messages about switching DNS servers 2017-07-03 11:20:04 +02:00
resolved-dns-server.h resolved: when the dns server feature level grace period elapses, flush caches 2017-02-17 10:25:15 +01:00
resolved-dns-stream.c tree-wide: use `!IN_SET(..)` for `a != b && a != c && …` 2017-10-02 13:09:56 +02:00
resolved-dns-stream.h resolved: directly include some required headers instead of inheriting 2016-08-31 15:33:21 -07:00
resolved-dns-stub.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
resolved-dns-stub.h resolved: simplify error handling in manager_dns_stub_{udp,tcp}_fd() 2016-10-09 21:22:23 -04:00
resolved-dns-synthesize.c Merge pull request #6946 from poettering/synthesize-dns 2017-10-03 10:26:53 +02:00
resolved-dns-synthesize.h resolved: synthesize RRs for data from /etc/hosts 2016-01-25 17:19:19 +01:00
resolved-dns-transaction.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
resolved-dns-transaction.h resolved: extend various timeouts 2017-02-17 10:25:16 +01:00
resolved-dns-trust-anchor.c exec-util,conf-files: skip non-executable files in execute_directories() 2017-09-13 11:42:31 +02:00
resolved-dns-trust-anchor.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-zone.c resolved: implement mDNS probing and announcement 2017-01-19 11:51:21 +02:00
resolved-dns-zone.h resolved: populate mDNS scopes' zones with RRs for the host 2017-01-19 11:51:21 +02:00
resolved-etc-hosts.c resolved: correctly handle non-address RR types with /etc/hosts lookups (#4808) 2016-12-22 07:58:02 +01:00
resolved-etc-hosts.h resolved: synthesize RRs for data from /etc/hosts 2016-01-25 17:19:19 +01:00
resolved-gperf.gperf resolved: add global config option to control mDNS stack 2017-03-21 13:35:08 +09:00
resolved-link-bus.c resolve: fix strv memleak 2017-01-24 22:27:21 -05:00
resolved-link-bus.h resolved: rename "SearchDomains" property in the Manager interface to "Domains" 2016-02-13 20:33:49 +01:00
resolved-link.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
resolved-link.h resolved: count the number of addresses per link 2017-02-13 20:41:09 +01:00
resolved-llmnr.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
resolved-llmnr.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-manager.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
resolved-manager.h Merge pull request #4832 from rojkov/mdns 2017-02-12 15:38:51 -05:00
resolved-mdns.c resolved: detect and warn other running mDNS stack 2017-03-21 13:34:52 +09:00
resolved-mdns.h resolved: implement mDNS probing and announcement 2017-01-19 11:51:21 +02:00
resolved-resolv-conf.c tree-wide: fput[cs]() → fput[cs]_unlocked() wherever that makes sense (#6396) 2017-07-21 10:35:45 +02:00
resolved-resolv-conf.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved.c units: make use of the new !! ExecStart= prefix in systemd-resolved.service 2017-08-10 15:04:32 +02:00
resolved.conf.in resolved: add global config option to control mDNS stack 2017-03-21 13:35:08 +09:00
test-dns-packet.c test: drop TEST_DATA_DIR, fold into get_testdata_dir() 2017-02-16 21:45:57 +01:00
test-dnssec-complex.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
test-dnssec.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
test-resolve-tables.c test-resolve-tables: verify that dns type/class length is within limits 2016-02-16 19:55:51 -05:00
test-resolved-packet.c test-resolved-packet: skip most of the loop 2017-07-13 17:55:02 -04:00