JINMEI Tatuya
101852ff21
supported lcov
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@466 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-14 00:35:05 +00:00
JINMEI Tatuya
f77ed6a24e
- added some more tests for wider coverage
...
- use assertion for conditions that must be met
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@465 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-14 00:26:02 +00:00
JINMEI Tatuya
467a449308
described the RRParamRegistry class and did some cleanup
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@464 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-14 00:04:39 +00:00
Jelte Jansen
4de81a4f15
added a missing position counter
...
removed a few lines of dead code
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@463 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 13:14:31 +00:00
JINMEI Tatuya
50f60d194b
detailed description of the RRTTL class
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@462 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 09:13:32 +00:00
JINMEI Tatuya
b8b1724c28
cleanup: removed redundant 'this'
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@461 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 09:09:50 +00:00
JINMEI Tatuya
8a72851d55
added [n]equals() according to the coding guidelines.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@460 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 09:08:50 +00:00
JINMEI Tatuya
d08deeb4b8
wording fixes
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@459 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 08:59:35 +00:00
JINMEI Tatuya
6ed603d13f
matched descriptions and declarations
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@458 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 08:55:52 +00:00
JINMEI Tatuya
0c6f898705
some editorial fixes
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@457 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 05:37:24 +00:00
JINMEI Tatuya
89bfd82c95
removed unnecessary space after EOL
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@456 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 04:54:57 +00:00
JINMEI Tatuya
bc834d1301
typo
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@455 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 04:54:21 +00:00
JINMEI Tatuya
c5fb984780
detailed description of RRClasses
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@454 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 04:52:28 +00:00
JINMEI Tatuya
db5fe3bb22
detailed description of RRTypes
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@453 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 04:39:50 +00:00
JINMEI Tatuya
fa6148f180
minor missing description
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@452 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 04:39:35 +00:00
JINMEI Tatuya
e1b80e023a
added test cases for RRParamRegistry, and fixed bugs in error handling code
...
found by the tests
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@451 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-13 00:26:00 +00:00
JINMEI Tatuya
a414d7fc91
include stdint.h for uintXX_t
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@450 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 23:03:01 +00:00
JINMEI Tatuya
023e14f985
added RRTTL class
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@449 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 20:51:12 +00:00
JINMEI Tatuya
bc46e20a08
style: use camel names for function-like things
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@448 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 20:50:30 +00:00
JINMEI Tatuya
93456d376b
cleanup: we don't actually need a helper object for transform
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@447 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 19:39:47 +00:00
Jelte Jansen
5546f52f59
temporary branch for example implementation of original data source proposal. Mainly for archival purposes, will be removed once definite design is agreed upon.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datasource1@446 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 10:32:29 +00:00
JINMEI Tatuya
0288eec8b4
added toWire() for RRType and RRClass
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@445 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 03:53:09 +00:00
JINMEI Tatuya
7b6e64c336
added boos availability check
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@444 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 03:52:46 +00:00
JINMEI Tatuya
86daa64a01
added "from wire" constructors
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@443 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-12 02:57:59 +00:00
JINMEI Tatuya
7e4ba48187
added opertor<< and tests
...
added test cases for TYPE00053, etc.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@442 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-11 23:56:01 +00:00
JINMEI Tatuya
50e35e753e
templatized common logic for RRType and RRClass to avoid code duplicate
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@441 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-11 23:12:00 +00:00
JINMEI Tatuya
971ef11b3f
minor cleanup
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@440 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-09 03:01:37 +00:00
JINMEI Tatuya
e3c045cb82
implemented RRType and RRClass classes.
...
workable, but not yet completed: need documentation, more test cases and
cleanup.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@439 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-09 02:58:46 +00:00
Shane Kerr
b5d9864f28
Moved child process cleanup out of signal handler.
...
Fix for broken msgq startup.
Update TODO.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@438 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-08 12:55:21 +00:00
Jelte Jansen
8b3bc064c7
move reuseaddr directive before bind()
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@437 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-08 12:43:58 +00:00
Jelte Jansen
f37a4968f4
fix for msgq; ctrl-c-ing bind10 would sometimes leave the socket connection hanging. Fixed to catch SIGTERM and KeyboardInterrupts to cleanly shut down the msgq (is there a way to do this without a global variable?)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@436 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-08 11:45:19 +00:00
JINMEI Tatuya
32d666903a
merge from trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@435 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-07 01:23:21 +00:00
JINMEI Tatuya
1dc34b5231
fixed a minor typo in a comment line. I believe this is sufficiently trivial
...
so I don't bother to ask for an explicit review.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@434 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-07 01:21:34 +00:00
JINMEI Tatuya
835e13a76f
merging the name class change in the trunk into the new working branch
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrparams@430 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 20:48:26 +00:00
JINMEI Tatuya
e157fb565c
merged the name class to the main trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@429 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 20:44:11 +00:00
JINMEI Tatuya
f464585739
merged the name class to the main trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@428 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 20:41:57 +00:00
JINMEI Tatuya
16e0f58b08
Added a small note about outputbuffer.getdata() in the detailed class
...
description.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@427 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 20:31:05 +00:00
Jelte Jansen
470b5bb729
fixed a few bugs found with the tests;
...
- added a wire-type ITEM_REAL (for DoubleElements) (we could technically
use ITEM_INT with the current code, but certainly not ITEM_UTF8).
if we keep this one, we need to add it to the other versions too (python&ruby)
- Bad boolean values in the string format returned a Null ElementPtr instead of raising an exception.
- Fixed decoding of True values off the wire
- Removed a few checks that aren't needed
- Fixed a null-termination problem when encoding big packets (i.e. > 256 and
> 65535 bytes)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@426 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 12:59:22 +00:00
Jelte Jansen
b84f1d4f21
nearly complete code coverage (toXML is not covered, and the bad_alloc catches, should those be removed?)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@425 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-04 12:54:59 +00:00
Jeremy C. Reed
07144bf236
Fix --with-lcov to actually accept the specified location.
...
And fix setting of CPPFLAGS and LIBS. Don't use make-style
variable syntax in shell scripts as it became shell command substition.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@424 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-31 18:13:15 +00:00
Jeremy C. Reed
241dab1fa1
Add more paths to exclude for the LCOV coverage report.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@423 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-31 18:11:19 +00:00
JINMEI Tatuya
304195da3c
described why we consider the trailing dot as part of "ancestor".
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@422 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-31 00:57:52 +00:00
JINMEI Tatuya
67bcfeeb15
make isc::dns::Exception inherit from std::exception
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@421 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-31 00:35:41 +00:00
JINMEI Tatuya
a3c696d385
s/getLabels()/getLabelCount()/ as the former may be confusing while the
...
latter has clearer on what it does.
the corresponding private member variable was also renamed to be consistent.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@420 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 23:09:48 +00:00
JINMEI Tatuya
6a8af646b3
described the design choice (at the moment) about why we don't have an
...
abstract base buffer class.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@419 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 20:19:41 +00:00
JINMEI Tatuya
0ad6a01b78
use more conservative AC_PREREQ (2.59)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@418 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 19:54:55 +00:00
Jelte Jansen
307918fc7a
added doxygen docs for most of data.h
...
copied jinmei's Doxyfile from branches/jinmei-dnsmessageapi
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@417 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 13:59:38 +00:00
Jelte Jansen
6cd9f05e65
catch session error and exit (fix for trac ticket 11)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@416 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 09:45:42 +00:00
JINMEI Tatuya
2659704ed5
avoid using a magic number
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@415 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-30 07:26:40 +00:00
JINMEI Tatuya
191f7600be
removed unnecessary 'using namespace'
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@414 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-29 20:11:14 +00:00