Evan Hunt
ba0313e649
fix spelling errors reported by Fossies.
2020-02-21 15:05:08 +11:00
Ondřej Surý
5777c44ad0
Reformat using the new rules
2020-02-14 09:31:05 +01:00
Evan Hunt
e851ed0bb5
apply the modified style
2020-02-13 15:05:06 -08:00
Ondřej Surý
056e133c4c
Use clang-tidy to add curly braces around one-line statements
...
The command used to reformat the files in this commit was:
./util/run-clang-tidy \
-clang-tidy-binary clang-tidy-11
-clang-apply-replacements-binary clang-apply-replacements-11 \
-checks=-*,readability-braces-around-statements \
-j 9 \
-fix \
-format \
-style=file \
-quiet
clang-format -i --style=format $(git ls-files '*.c' '*.h')
uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
clang-format -i --style=format $(git ls-files '*.c' '*.h')
2020-02-13 22:07:21 +01:00
Ondřej Surý
f50b1e0685
Use clang-format to reformat the source files
2020-02-12 15:04:17 +01:00
Ondřej Surý
4957255d13
Use the semantic patch to change the usage isc_mem_create() to new API
2019-09-12 09:26:09 +02: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ý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +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
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
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Tinderbox User
f4eb664ce3
update copyright notice / whitespace
2017-08-09 23:47:50 +00:00
Evan Hunt
cdacec1dcb
[master] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
2017-08-09 00:17:44 -07:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mukund Sivaraman
79a55d4f4d
Add option to tools to print RRs in unknown presentation format ( #41595 )
2016-02-09 15:39:02 +05:30
Tinderbox User
3947e3625a
update copyright notice / whitespace
2016-01-31 23:45:23 +00:00
Evan Hunt
1d36ed108a
[master] spelling
2016-01-31 09:54:13 -08:00
Evan Hunt
aec8a3b7cf
[master] improve rrchecker test
...
4203. [test] The rrchecker system test now tests conversion
to and from unkonwn-type format. [RT #40584 ]
2015-09-11 00:24:47 -07:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Evan Hunt
2667746d5d
[master] silence warning
2013-11-18 16:01:39 -08:00
Mark Andrews
04e33823c4
address uninitialised variable
2013-11-09 14:08:40 +11:00
Mark Andrews
49c1e0d18d
3666. [func] Add a tool, named-rrchecker, for checking the syntax
...
of individual resource records. This tool is intended
to be called by provisioning systems so that the front
end does not need to be upgraded to support new DNS
record types. [RT #34778 ]
2013-11-07 10:41:47 +11:00