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ý
bc1d4c9cb4
Clear the pointer to destroyed object early using the semantic patch
...
Also disable the semantic patch as the code needs tweaks here and there because
some destroy functions might not destroy the object and return early if the
object is still in use.
2020-02-09 18:00:17 -08:00
Ondřej Surý
ae83801e2b
Remove blocks checking whether isc_mem_get() failed using the coccinelle
2019-07-23 15:32:35 -04: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ý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +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
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Evan Hunt
434bfc3dfa
[master] "in-view" zone option
...
3673. [func] New "in-view" zone option allows direct sharing
of zones between views. [RT #32968 ]
2013-11-13 20:35:40 -08:00
Tinderbox User
b7e6fc2a4c
update copyright notice
2013-03-08 23:47:06 +00:00
Mark Andrews
3a0da183bb
3520. [bug] 'mctx' was not being referenced counted in some places
...
where it should have been. [RT #32794 ]
2013-03-08 14:38:03 +11:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Mark Andrews
38f6085062
silence Division by zero warning
2011-12-01 01:33:27 +00:00
Automatic Updater
b9e911c71c
update copyright notice
2011-11-30 23:46:25 +00:00
Mark Andrews
5e3daa58f4
move declaration to start of block
2011-11-30 06:06:33 +00:00
Evan Hunt
0da3b4a9a7
3228. [tuning] Dynamically grow symbol table to improve zone
...
loading performance. [RT #26523 ]
2011-11-30 04:27:17 +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
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
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Andreas Gustafsson
d55642259e
use a simpler, faster hash function
2001-03-07 23:52:16 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +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
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
David Lawrence
87cafc5e70
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.
Also cleaned up a few places where variable names clashed with reserved
identifiers. (Which mostly works fine, but strictly speaking is undefined
by the standard.)
Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
David Lawrence
47b26abe77
ensure proper range for argument to ctype functions
2000-05-09 22:22:25 +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
David Lawrence
7896e45912
121. [cleanup] <isc/symtab.h> does not need <isc/mem.h> or
...
<isc/result.h>. Multiple inclusion protection
symbol fixed from ISC_SYMBOL_H to ISC_SYMTAB_H.
isc_symtab_t moved to <isc/types.h>.
2000-04-28 04:16:34 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
James Brister
71737a4d6b
Let the user (at symtab creation time) specify an argument to be passed
...
through to the undefine action.
1999-06-08 13:02:10 +00:00
Bob Halley
c23afd025e
update copyright
1999-01-06 05:33:05 +00:00
Bob Halley
d386111bff
case sensitive switch for symbol tables
1999-01-04 22:30:28 +00:00
Bob Halley
7cfb2cec61
fix comment
1998-12-19 00:15:50 +00:00
Bob Halley
9695806934
Don't allow type 0 to be used in a define.
1998-12-19 00:15:19 +00:00
Bob Halley
95bcf47ff9
exists policy
1998-12-19 00:13:59 +00:00
Michael Graff
53d53f147b
pull in <config.h> for possible alternate definition of inline
1998-12-18 22:20:02 +00:00
Bob Halley
f058f96484
undefine action; assertions
1998-12-18 21:17:37 +00:00
Bob Halley
7c9b885120
add symtab
1998-12-18 19:06:16 +00:00