Evan Hunt
3095574c1c
convert buffer_test
...
(cherry picked from commit 02a5db7631 )
2018-11-14 22:08:49 -08:00
Evan Hunt
d99a9db93a
silence warning from missing print.h
...
(cherry picked from commit a0de6707c0 )
2018-10-30 08:09:28 -07:00
Michał Kępień
72caf33ffb
Add unit tests for isc_buffer_copyregion()
...
Add some basic checks for isc_buffer_copyregion() to ensure it behaves
as expected for both fixed-size buffers and buffers which can be
automatically reallocated. Adjust the list of headers included by
lib/isc/tests/buffer_test.c so that it matches what that test program
really uses.
(cherry picked from commit 15440d8027 )
2018-10-30 13:33:42 +01:00
Ondřej Surý
884929400c
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
2018-08-10 11:17:51 +02:00
Ondřej Surý
38a6d1d44d
Change isc_buffer_reallocate() into a static functions as it is not used outside of isc_buffer_reserve()
...
(cherry picked from commit 20faf4652a )
2018-08-01 08:41:25 +02:00
Ondřej Surý
56117f9799
Remove illogical condition from isc_buffer_reallocate that would return ISC_R_NOSPACE when requested size is less than available size
...
(cherry picked from commit 7785f644c3 )
2018-08-01 08:41:25 +02:00
Mark Andrews and Michał Kępień
438395086c
silence cppcheck portability warning
...
(cherry picked from commit 6aae115d15 )
2018-05-11 08:30:13 +02:00
Evan Hunt
efccdad0ea
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
2018-03-09 14:39:56 -08:00
Ondřej Surý
557a5c3f78
Update license headers to not include years in copyright in all applicable files
...
(cherry picked from commit 843d389661 )
2018-02-23 10:38:02 +01:00
Michał Kępień
0d61fe5dfd
[master] Remove non-portable isc_buffer_printf() unit test
2017-10-11 09:30:48 +02:00
Tinderbox User
5414e48606
update copyright notice / whitespace
2017-10-09 23:45:53 +00:00
Evan Hunt
4c368378fc
[master] print.h; add missing win32 declaration
2017-10-09 15:01:46 -07:00
Michał Kępień
077f9626c2
[master] Add isc_buffer_printf()
...
4767. [func] Add a new function, isc_buffer_printf(), which can be
used to append a formatted string to the used region of
a buffer. [RT #46201 ]
2017-10-09 11:43:07 +02:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Evan Hunt
6c2a76b3e2
[master] copyrights, win32 definitions
2016-05-26 12:36:17 -07:00
Witold Krecicki
7a00d69909
4376. [experimental] Added support for Catalog Zones, a new method for
...
provisioning secondary servers in which a list of
zones to be served is stored in a DNS zone and can
be propagated to slaves via AXFR/IXFR. [RT #41581 ]
4375. [func] Add support for automatic reallocation of isc_buffer
to isc_buffer_put* functions. [RT #42394 ]
2016-05-26 21:23:19 +02:00
Tinderbox User
551e0d486d
update copyright notice / whitespace
2015-09-30 23:45:36 +00:00
Mark Andrews
2a12984ce6
4227. [bug] Silence static analysis warnings. [RT #40828
2015-09-30 14:14:47 +10:00
Evan Hunt
907e01d6f3
[master] buffer ATF test was failing
2014-11-15 00:56:17 -08:00
Evan Hunt
e32d354f75
[master] allow arbitrary-size rndc output
...
4005. [func] The buffer used for returning text from rndc
commands is now dynamically resizable, allowing
arbitrarily large amounts of text to be sent back
to the client. (Prior to this change, it was
possible for the output of "rndc tsig-list" to be
truncated.) [RT #37731 ]
2014-11-14 15:58:54 -08:00