Commit Graph
160 Commits
Author SHA1 Message Date
Mark Andrews dd2055b130 2118. [bug] Handle response with long chains of domain name
compression pointers which point to other compression
                        pointers. [RT #16427]
2006-12-07 07:03:10 +00:00
Mark Andrews ea407e7082 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 03:10:49 +00:00
Mark Andrews 70b15d3957 update copyright notice 2006-01-10 23:50:41 +00:00
Mark Andrews 2cb35446ae style 2006-01-10 03:03:26 +00:00
Mark Andrews 3a204dc120 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:33:30 +00:00
Mark Andrews 876546cb4d finetune isc_thread_key implementation [RT #15408] 2005-09-18 07:58:09 +00:00
Mark Andrews 88259e7f02 silence compiler warnings 2005-09-10 01:09:29 +00:00
Mark Andrews b93f209433 make sure key is created if needed on both paths 2005-09-10 01:04:22 +00:00
Mark Andrews 7d014ff9d7 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:23:39 +00:00
Mark Andrews b3ed8cabc1 1904. [bug] A escaped character is, potentially, converted to
the output character set too early. [RT #14666]
2005-07-20 01:49:27 +00:00
Rob Austein 372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews ee91dffebc 1811. [func] Preserve the case of domain names in rdata during
zone transfers. [RT #13547]
2005-03-04 02:57:30 +00:00
Mark Andrews 7150e2289b update copyright 2005-01-11 01:39:40 +00:00
Mark Andrews 4238db360a 1794. [func] Named and named-checkzone can now both check for
non-terminal wildcard records.
2005-01-10 00:05:32 +00:00
Mark Andrews bdf6738ff3 1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
for conformance to the name space convention.  Binary
                        backward compatibility to the old function name is
                        provided. [RT #12376]
2004-09-01 05:17:05 +00:00
Mark Andrews 90c44ce934 1614. [port] win32: silence resource limit messages. [RT# 11101] 2004-04-19 23:15:59 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews 2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Tatuya JINMEI 神明達哉 e407562a75 1528. [cleanup] Simplify some dns_name_ functions based on the
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Mark Andrews fcb54ce0a4 whitespace / layout 2003-10-17 03:46:46 +00:00
Mark Andrews 1e107b3d7b 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 02:22:26 +00:00
Mark Andrews 806c235ecf 1458. [cleanup] sprintf() -> snprintf(). 2003-04-11 07:25:31 +00:00
Mark Andrews 3369e61105 remove unused code 2003-01-08 04:42:22 +00:00
Mark Andrews b6309ed962 developer: jinmei
reviewer: marka
1368.   [func]          remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews 0ad5cb4782 1350. [bug] dns_name_fromtext() failed to handle too many labels
gracefully.
2002-08-02 00:25:15 +00:00
Mark Andrews 8f96645217 1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
reflect written requirements.
2002-05-29 00:27:53 +00:00
Mark Andrews d8d489cd8e 1206. [bug] dns_name_downcase() enforce requirement that
target != NULL or name->buffer != NULL.
2002-05-28 03:39:46 +00:00
Brian Wellington 6585d8782b the region passed to dns_name_fromregion() can be const. 2002-03-14 00:36:07 +00:00
Mark Andrews f38c274c21 1211. [bug] dns_name_fromtext() incorrectly handled certian
valid octal bitlabels. [RT #2483]
2002-02-26 12:43:38 +00:00
Brian Wellington b7dca533e0 avoid calling set_offsets() in dns_name_copy() if possible. 2001-12-28 20:59:27 +00:00
Brian Wellington 41e50ece38 add dns_name_hashbylabel() and make the rbt use it. 2001-12-04 01:32:44 +00:00
Danny Mayer e61793f086 Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32 2001-11-19 03:08:44 +00:00
Andreas Gustafsson f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson 60dcbecf04 Instead of choosing between memcpy and memmove at run time, call
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson 77efdc854b spacing; typo 2001-06-21 01:30:22 +00:00
Andreas Gustafsson 6f118c4893 removed redundant 'i++;' 2001-04-24 00:56:17 +00:00
Andreas Gustafsson cedd0ab1e8 811. [bug] Parantheses were not quoted in zone dumps. [RT #1194] 2001-04-19 18:39:42 +00:00
Brian Wellington 45e22378fc dns_name_tofilenametext() now downcases the name, which means the callers
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington 7d7215baf8 Add dns_name_tofilenametext(), and use it in the dnssec tools. 2001-03-27 22:57:48 +00:00
Brian Wellington 31efcf6478 Build the offsets table in dns_name_fromwire() while parsing the name, not
by calling set_offsets.
2001-02-13 00:07:25 +00:00
Brian Wellington 29daf5bc77 The suffix returned by dns_compress_findglobal() is never used, so remove it. 2001-02-12 18:07:52 +00:00
Brian Wellington 0c264c9094 The prefix and suffix names used in name compression don't need offset tables,
since they're never used.  Not having offset tables makes filling in their
contents more efficient.
2001-02-12 05:22:34 +00:00
Brian Wellington 9427d22299 make dns_name_fromtext fail when passed an empty string, not assert. 2001-01-22 03:30:27 +00:00
Andreas Gustafsson 4755b174df simplified constant names, eliminating the dns_constname structs 2001-01-11 21:07:21 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson ec0613a097 commented 2001-01-07 22:01:59 +00:00
Brian Wellington 3e6753a753 Make a macro version of dns_name_toregion. 2001-01-04 20:00:57 +00:00
Brian Wellington 1c33761bcf Minor optimization - use the number of labels in the prefix as the loop
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington 6d5032f9a2 Micro-optimizations:
- use the DNS_NAME_INIT macro in name.c
	- create dns_name_copy() and use it instead of dns_name_concatenate()
	  when doing a copy.
2001-01-03 00:05:15 +00:00
Brian Wellington 575737b964 Rewrite the name compression code to use a hashtable instead of an RBT and
avoid allocating memory in most cases.  This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00