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ý
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
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
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
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
c2abd6efeb
update copyrights
2014-05-01 10:00:00 +10:00
Evan Hunt
44613d4d86
[master] named -L option for default logfile
...
3832. [func] "named -L <filename>" causes named to send log
messages to the specified file by default instead
of to the system log. (Thanks to Tony Finch.)
[RT #35845 ]
2014-04-29 17:17:03 -07:00
Tinderbox User
49503f1d9f
update copyright notice
2013-01-05 23:45:47 +00:00
Mark Andrews
25b95d31ce
3450. [bug] Stop logfileconfig system test spam system logs.
...
[RT #32315 ]
Squashed commit of the following:
commit ad40744e2c7dc253b70857bb229def5dd194b418
Author: Mark Andrews <marka@isc.org >
Date: Fri Jan 4 17:24:45 2013 +1100
logfileconfig spams the system log files
2013-01-06 07:56:10 +11:00
Tatuya JINMEI 神明達哉
609f86163a
2525. [func] New logging category "query-errors" to provide detailed
...
internal information about query failures, especially
about server failures. [RT #19027 ]
2009-01-07 01:46:40 +00:00
Automatic Updater
5569e7de51
update copyright notice
2009-01-05 23:47:54 +00:00
Tatuya JINMEI 神明達哉
3fb1637c92
trivial comment cleanups (RT#19118)
2009-01-05 23:20:22 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
29747dfe5e
2123. [func] Use Doxygen to generate internal documention.
...
[RT #11398 ]
2006-12-22 01:46:19 +00:00
Mark Andrews
c7efca8420
update copyright notice
2006-06-09 00:54:09 +00:00
Mark Andrews
c55dd77de4
2042. [bug] named-checkconf was incorrectly rejecting the
...
logging category "config". [RT #16117 ]
2006-06-07 02:28:28 +00:00
Mark Andrews
3b4405aba9
1837. [bug] Compile time option ISC_FACILITY was not effective
...
for 'named -u <user>'. [RT #13714 ]
2005-05-20 01:19:43 +00:00
Mark Andrews
69fe9aaafd
update copyright notice
2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
84a5b69f00
1756. [func] named-checkconf now checks the logging configuration.
...
[RT #12352 ]
2004-11-09 21:24:20 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
cc4928ec71
1219. [func] New category 'update-security'.
2002-06-12 06:29:49 +00:00
Mark Andrews
ee80f45064
1135. [func] You can now override the default syslog() facility for
...
named/lwresd at compile time. [RT #1982 ]
2001-11-23 01:15:07 +00:00
Andreas Gustafsson
cc8e8b59d6
1082. [bug] The -g option to named incorrectly caused logging
...
to be sent to syslog in addition to stderr.
2001-10-31 17:42:04 +00:00
Andreas Gustafsson
1d9ab72131
902. [bug] The -d option was ignored if both -t and -g were also
...
specified.
2001-06-14 14:14:17 +00:00
Mark Andrews
89d03d4715
Redo:
...
839. [func] Dump packets for which there was no view or that the
class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b31c8af1d9
name libisccfg logging functions consistently with
...
other libisccfg functions [RT #1020 ]
2001-03-13 03:04:09 +00:00
Brian Wellington
90c099e88e
762. [feature] named now uses the new configuration parser.
2001-03-04 21:21:39 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Mark Andrews
3b1a582101
lcfg was not being initalied to NULL.
2000-11-25 01:33:11 +00:00
Andreas Gustafsson
86a4d80e06
565. [func] Log queries more like BIND 8: query logging is now
...
done to category queries, level info. [RT #169 ]
2000-11-23 01:32:48 +00:00
Brian Wellington
8bc1e5bb4a
Call isc/dns_log_setcontext(NULL) after ns_g_lctx has been destroyed.
2000-09-26 22:12:13 +00:00
Brian Wellington
8f7cae3d7b
#include <isc/result.h>
2000-08-25 01:08:20 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Brian Wellington
878d3073b1
First pass at merging lwresd into named. Seems to work, but doesn't shut down
...
properly. Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Michael Graff
c90f5e8d1e
Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext().
2000-05-03 21:11:40 +00:00
Andreas Gustafsson
7193a1762e
suppress logging until UID switch to avoid creating log
...
files as root
2000-05-02 18:45:08 +00:00
Andreas Gustafsson
a0f6cda5fd
the 'default_debug' log channel was not set up when
...
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Andreas Gustafsson
5fe5a0c026
revised logging categories
2000-03-23 00:55:12 +00:00
David Lawrence
5542df0959
When loading a configuration file, set log defaults if and only if no
...
"category default" clause was found in a logging statement.
When setting defaults, use ISC_LOGCATEGORY_DEFAULT for the category parameter
instead of NULL.
Don't do the isc_log{category,module}byname lookup every time through the
loop in logconf.c:category_fromconf(); it can be done just once, before
entering the loop.
2000-03-04 16:41:48 +00:00
Andreas Gustafsson
11d435aa4c
implemented logging defaults suggested by Tale
2000-03-01 20:40:14 +00:00
Andreas Gustafsson
e02c696ea5
checkpoint: restructured logging configuration code
...
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00