Ondřej Surý
e691b89a9a
Use clock_gettime() instead of gettimeofday() for isc_stdtime function
...
This also removes Solaris 2.8 broken gettimeofday() workaround
2020-03-18 16:02:24 +01:00
Ondřej Surý
3178974f0c
Use the new sorting rules to regroup #include headers
2020-03-09 16:19:22 +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
Witold Kręcicki
f01d739968
Use clock_realtime_fast where available
2019-11-28 12:36:55 +01:00
Witold Kręcicki
33bf90331b
use clock_gettime() instead of gettimeofday() for isc_itme functions
2019-11-07 11:55:37 -08: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
Evan Hunt
1656152d76
Ensure that POSIX strerror_r variant is use even when _GNU_SOURCE is enabled by default
2018-08-29 13:31:28 +02:00
Ondřej Surý
1672935717
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()
2018-08-28 10:31:48 +02:00
Witold Kręcicki
5cdb38c2c7
Remove unthreaded support
2018-08-16 17:18:52 +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ý
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
1e10ef06ce
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
2018-01-04 09:57:40 +11:00
Tinderbox User
7bba3a7c44
update copyright notice / whitespace
2018-01-02 23:45:28 +00:00
Mark Andrews
0645f8f1ce
4853. [bug] Add REQUIRE's and INSIST's to isc_time_formatISO8601L
...
and isc_time_formatISO8601Lms. [RT #46916 ]
2018-01-02 10:57:31 +11:00
Mark Andrews
7770e0b069
4852. [bug] Handle strftime() failing in isc_time_formatISO8601ms.
...
Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601,
isc_time_formatISO8601ms. [RT #46892 ]
2018-01-02 10:48:08 +11:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Mark Andrews
2019cf29e2
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
2017-08-03 08:42:27 +10:00
Tinderbox User
db1010fe82
update copyright notice / whitespace
2017-03-10 23:46:18 +00:00
Evan Hunt
612b2e2c0d
[master] timestamp suffixes for log files
...
4579. [func] Logging channels and dnstap output files can now
be configured with a "suffix" option, set to
either "increment" or "timestamp", indicating
whether to use incrementing numbers or timestamps
as the file suffix when rolling over a log file.
[RT #42838 ]
2017-03-08 23:20:40 -08:00
Evan Hunt
62c85a4a52
[master] allow different time formats: local, iso8601, iso8601-utc
...
4518. [func] The "print-time" option in the logging configuration
can now take arguments "local", "iso8601" or
"iso8601-utc" to indicate the format in which the
date and time should be logged. For backward
compatibility, "yes" is a synonym for "local".
[RT #42585 ]
2016-11-22 23:34:47 -08:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
16201b15a6
update copyright notice / whitespace
2016-01-17 23:45:21 +00:00
Evan Hunt
bb5d14d724
[master] millisecond granularity for statschannel timers
...
4290. [func] The timers returned by the statistics channel
(indicating current time, server boot time, and
most recent reconfiguration time) are now reported
with millisecond accuracy. [RT #40082 ]
2016-01-07 15:34:58 -08:00
Evan Hunt
591389c7d4
[master] 5011 tests and fixes
...
4056. [bug] Expanded automatic testing of trust anchor
management and fixed several small bugs including
a memory leak and a possible loss of key state
information. [RT #38458 ]
4055. [func] "rndc managed-keys" can be used to check status
of trust anchors or to force keys to be refreshed,
Also, the managed keys data file has easier-to-read
comments. [RT #38458 ]
2015-02-05 17:18:15 -08:00
Tinderbox User
2dd6ffb5cb
update copyright notice / whitespace
2015-01-12 23:45:21 +00:00
Mukund Sivaraman
a6f0e9c985
Add NTA persistence ( #37087 )
...
4034. [func] When added, negative trust anchors (NTA) are now
saved to files (viewname.nta), in order to
persist across restarts of the named server.
[RT #37087 ]
2015-01-12 09:07:48 +05:30
Evan Hunt
a147de10fe
[master] portable strptime/timegm
...
3709. [port] Use built-in versions of strptime() and timegm()
on all platforms to avoid portability issues.
[RT #35183 ]
2014-01-14 23:17:47 -08:00
Evan Hunt
903247531a
[master] portable replacement for timegm()
2014-01-10 19:22:02 -08:00
Mark Andrews
a7c412f37c
update copyrights
2014-01-11 07:07:56 +11:00
Mark Andrews
429ab67296
strptime returns time in the local time zone so use mktime
2014-01-10 23:44:59 +11:00
Evan Hunt
789252d55f
[master] stats improvements
...
3700. [func] Allow access to subgroups of XML statistics via
special URLs http://<server>:<port>/xml/v3/server,
/zones, /net, /tasks, /mem, and /status. [RT #35115 ]
3699. [bug] Improvements to statistics channel XSL stylesheet:
the stylesheet can now be cached by the browser;
section headers are omitted from the stats display
when there is no data in those sections to be
displayed; counters are now right-justified for
easier readability. [RT #35117 ]
2014-01-09 18:46:25 -08:00
Mark Andrews
27809a2ee5
3379. [bug] isc_interval_zero and isc_time_epoch should be
...
"const (type)* const". [RT #31069 ]
2012-09-26 14:58:53 +10:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
269c07173e
3295. [bug] Adjust isc_time_secondsastimet range check to be more
...
portable. [RT # 26542]
2012-03-08 15:30:51 +11:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Automatic Updater
c1aef54e14
update copyright notice
2011-03-12 04:59:49 +00:00
Mark Andrews
0874abad14
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:11:27 +00:00
Automatic Updater
6475e22cc9
update copyright notice
2008-02-15 23:46:51 +00:00
Mark Andrews
9e8947d9e6
2333. [bug] Fix off by one error in isc_time_nowplusinterval().
...
[RT #17608 ]
2008-02-15 02:24:04 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
cdce8b88c6
update copyright notice
2007-02-14 00:27:27 +00:00
Mark Andrews
96ea716328
2134. [func] Additional statistics support. [RT #16666 ]
2007-02-13 02:49:08 +00:00
Mark Andrews
148f27aee6
update copyright notice
2006-12-22 01:59:44 +00:00
Mark Andrews
186e7f37c9
2122. [func] Experimental http server and statistics support
...
for named via xml.
2006-12-21 06:03:37 +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