David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Andreas Gustafsson
28059de4ef
when a master file ends in a place where a newline is expected,
...
make the warning message say 'file does not end with newline' instead of
'unexpected end of file' to lead the user on the right tracks to fixing
the most likely cause. Also, don't include the function name in the message.
2000-07-10 19:07:19 +00:00
Mark Andrews
fd4810861c
Warn on unexpected <eof> if input source is a file, treat as <eol><eof>
...
regardless of input source.
2000-07-10 05:15:04 +00:00
Mark Andrews
d1e971ba02
316. [bug] EOF mid line should be a error.
...
315. [bug] Handle non-empty blanks lines.
2000-07-09 12:52:34 +00:00
Mark Andrews
b74e73c5b4
294. [bug] If we run out of space in while processing glue
...
when reading a master file and commit "current name"
reverts to "name_current" instead of staying as
"name_glue".
2000-06-29 15:55:19 +00:00
Mark Andrews
0380c44d02
241. [cleanup] nscount and soacount have been removed from the
...
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
David Lawrence
20b20b2394
202. [func] isc_lex_getsourceline() changed from returning int
...
to returning unsigned long, the type of its underlying
counter.
2000-05-24 15:07:59 +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
Andreas Gustafsson
4331ce6a17
warn about ignored out-of-zone data
2000-04-28 23:15:24 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Brian Wellington
e9a9ae4fc6
Added dns_trust_ultimate for zone data (can be renamed later if necessary).
2000-04-20 18:47:21 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Bob Halley
f1e96dc67f
ignore out-of-zone data
2000-03-29 21:01:30 +00:00
Andreas Gustafsson
64b42acc5f
propagate the current and default TTLs into and out of
...
$INCLUDEd files (RT #69 )
2000-03-22 19:27:51 +00:00
Andreas Gustafsson
4cf7efa59d
typos
2000-03-22 17:59:13 +00:00
Andreas Gustafsson
4cc66f2516
typo
2000-03-22 17:54:15 +00:00
Andreas Gustafsson
8ba076755d
typo
2000-03-22 17:50:34 +00:00
Andreas Gustafsson
0c7a0db602
typo
2000-03-22 17:46:34 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Olafur Gudmundsson
3a36d3d7e6
Added code to reject lines beginning with $ that are not known Directives.
...
Any name starting with $ should be escaped to comply with RFC1035.
Effect any zone will stop loading at first error, message is printed if
logging has been enabled.
2000-02-03 19:03:59 +00:00
Andreas Gustafsson
62e22bc7a5
typos in comments
2000-02-02 00:36:34 +00:00
Andreas Gustafsson
3a7a4eb1a5
trailing newlines are no longer needed in messages printed
...
using the rdata callbacks, and were never needed when calling
UNEXPECTED_ERROR
2000-01-22 01:41:17 +00:00
Andreas Gustafsson
68c703dd71
GETTOKEN() macro did not set result, causing
...
dns_master_load() to print messages like "dns_master_load: success".
Also, result of dns_time64_fromtext() was not checked.
2000-01-22 00:28:00 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Andreas Gustafsson
b0f7803835
consistently print a colon after the line number in error/warning messages
1999-11-30 02:21:59 +00:00
Andreas Gustafsson
db05fd8e29
error message 'class(FOO) != zone class(BAR)' sometimes had random
...
garbage after class names
1999-11-30 02:20:24 +00:00
Bob Halley
a7c6cb0a8c
Remove remnant of old TTL code that broke $TTL.
1999-11-04 06:12:40 +00:00
Mark Andrews
6314cd3338
Support $TTL w/ BIND 8 format
...
dns_ttl_fromtext() to return DNS_R_BADTTL not DNS_R_SYNTAX.
1999-11-04 01:21:28 +00:00
Mark Andrews
9088094680
Add read support for BIND 8 TTL / counter format to soa.
...
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
Olafur Gudmundsson
81cc8efc64
Zone file parser did not handle large CERT records in use
1999-10-26 18:05:23 +00:00
Bob Halley
b9fd2590a7
add const to filename args, cleanups
1999-10-25 18:41:36 +00:00
David Lawrence
619fb9349b
Make the conversion from 64 bit time to 32 bit time explicit. It
...
is already checked after the conversion to ensure no data is lost.
1999-10-08 23:26:55 +00:00
Bob Halley
21737e85d8
preserve rr ordering
1999-10-07 19:40:30 +00:00
Bob Halley
732e0731de
SIG support
1999-08-31 22:14:06 +00:00
Bob Halley
aeb1ccee6a
allow buffer and stream loading
1999-08-05 22:10:23 +00:00
Bob Halley
a01f52a731
callback structure changes
1999-07-30 23:33:15 +00:00
Bob Halley
42a5f9c8f5
lint from alpha build
1999-06-24 17:55:41 +00:00
Andreas Gustafsson
c1bfdd2995
turn on ISC_LEXOPT_ESCAPE
1999-06-09 11:56:45 +00:00
Andreas Gustafsson
5fc7ba3e1a
added dns_db_dump(), $DATE, and supporting changes
1999-06-08 10:35:23 +00:00
Mark Andrews
d44cd3fc3a
Class mismatch was not reporting the zone's class.
...
The correct class was not being passed to dns_rdata_fromtext().
1999-04-25 22:18:11 +00:00
Bob Halley
f4f2ef7d80
fix minor textual nits
1999-03-24 00:29:54 +00:00
Mark Andrews
0d46301a6e
NBUF was one to small.
...
GETTOKEN is now a simple macro that calls gettoken (static inline).
1999-03-23 00:04:01 +00:00
Mark Andrews
dd082cc554
Added BIND 8.x ttl processing.
...
Allow ttl / class to be specified in any order.
Suppress duplicate rdata.
Additional commentry.
1999-03-22 06:21:29 +00:00
Bob Halley
4c1132f344
update copyright
1999-03-06 04:12:06 +00:00
Bob Halley
904a573437
C++ compatibility
1999-03-04 02:48:47 +00:00
Mark Andrews
fdd04623a6
Convert to user error / warn callbacks.
1999-02-10 05:25:37 +00:00
Mark Andrews
82d0558893
Pass multiple callbacks in dns_rdatacallbacks_t.
...
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00