]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Fri, 11 May 2012 22:08:02 +0000 (22:08 +0000)]
[master] excluded DHCP related stuff from Makefile's
as a temporary workaround for build failure due to ifmgr problems.
JINMEI Tatuya [Fri, 11 May 2012 21:48:04 +0000 (21:48 +0000)]
[master] be sure to include cstring for memcpy, and add std:: for it.
committing at my discretion.
JINMEI Tatuya [Fri, 11 May 2012 19:30:33 +0000 (19:30 +0000)]
[master] added missing include file for strncmp() and std:: qualifier for it.
apparently it didn't cause an error before as a side effect of including some
other header file. due to a slight change to buffer.h we now need to do it
explicitly here (which is a good practice anyway).
committing it at my discretion.
JINMEI Tatuya [Fri, 11 May 2012 19:27:19 +0000 (12:27 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Fri, 11 May 2012 19:25:24 +0000 (12:25 -0700)]
[master] removed the "from-iterator" ctor of InputBuffer and its test.
It's not used anywhere else, and caused build failure on Solaris/SunStudio.
okayed on jabber.
I also made a few minor cleanups: unify string.c/ctring to the latter
and qualify memcpy() with std::
JINMEI Tatuya [Fri, 11 May 2012 18:49:57 +0000 (18:49 +0000)]
[master] ensure constness in ?: expressions. will fix build error for some g++
okayed on jabber.
Jelte Jansen [Fri, 11 May 2012 14:30:15 +0000 (16:30 +0200)]
[master] fix return value for strict compiler checks
also fixed a trivial typo in a unit test
Jelte Jansen [Fri, 11 May 2012 13:55:51 +0000 (15:55 +0200)]
[master] Update Changelog for NSEC-merge (#1803-#1810)
Jelte Jansen [Fri, 11 May 2012 10:52:42 +0000 (12:52 +0200)]
[nsec_merge] Merge branch 'trac1808-2' into nsec_merge
Conflicts:
src/lib/datasrc/tests/memory_datasrc_unittest.cc
Jelte Jansen [Fri, 11 May 2012 10:50:54 +0000 (12:50 +0200)]
[nsec_merge] Merge branch 'trac1807' into nsec_merge
Conflicts:
src/lib/datasrc/tests/rbtree_unittest.cc
Jelte Jansen [Fri, 11 May 2012 10:50:07 +0000 (12:50 +0200)]
[nsec_merge] Merge branch 'trac1805' into nsec_merge
Jelte Jansen [Fri, 11 May 2012 10:49:49 +0000 (12:49 +0200)]
[nsec_merge] Merge branch 'trac1803' into nsec_merge
JINMEI Tatuya [Fri, 11 May 2012 09:37:05 +0000 (02:37 -0700)]
[1808-2] adjusted wildcard+NXRRSET case to check its NSEC record.
i.e., wildcard substitution shouldn't happen. the (revised) main code already
handles this correctly, so we don't have to modify it.
JINMEI Tatuya [Fri, 11 May 2012 08:58:37 +0000 (01:58 -0700)]
[1808-2] extracted NSEC-getting code for normal NXRRSET case to a helper func.
this simplifies the main code, and avoids using the same log ID twice.
JINMEI Tatuya [Fri, 11 May 2012 08:49:28 +0000 (01:49 -0700)]
[1808-2] cleanup: removed the NSEC4NXRRSET test.
it was once introduced in the 1808 branch, but it's not necessary now that
the generic findCheck() covers that case.
JINMEI Tatuya [Fri, 11 May 2012 08:47:55 +0000 (01:47 -0700)]
[1808-2] updated findCheck so it can be used for normal the NXRRSET case.
also fixed a small problem in the main code that it didn't consider
the FIND_DNSSEC flag.
JINMEI Tatuya [Fri, 11 May 2012 08:33:07 +0000 (01:33 -0700)]
[1808-2] Merge branch 'trac1810' into trac1808-2 with fixing conflict.
trac1810 itself is still under review, but I think merging it first will
help reduct conflicts later.
JINMEI Tatuya [Fri, 11 May 2012 08:25:08 +0000 (01:25 -0700)]
[1808-2] Merge branch 'trac1805' into trac1808-2
JINMEI Tatuya [Fri, 11 May 2012 08:14:36 +0000 (01:14 -0700)]
[1808-2] Merge branch 'trac1808' into trac1808-2
Mukund Sivaraman [Fri, 11 May 2012 06:51:45 +0000 (12:21 +0530)]
[1803] Remove redundant check
Mukund Sivaraman [Fri, 11 May 2012 06:05:55 +0000 (11:35 +0530)]
[1803] Use isEmpty() instead of checking the level count
Mukund Sivaraman [Fri, 11 May 2012 06:05:34 +0000 (11:35 +0530)]
[1803] Use member variables directly instead of calls
This keeps it consistent with usage in the rest of the file.
Mukund Sivaraman [Fri, 11 May 2012 06:03:18 +0000 (11:33 +0530)]
[1803] Make minor comment fixes
Mukund Sivaraman [Fri, 11 May 2012 05:33:00 +0000 (11:03 +0530)]
[master] Remove redundant code from RBTree<T>::nextNode()
Mukund Sivaraman [Fri, 11 May 2012 05:28:50 +0000 (10:58 +0530)]
[1803] Fix compile errors in some unit tests
Mukund Sivaraman [Thu, 10 May 2012 13:24:03 +0000 (18:54 +0530)]
[1803] Make some more comment fixes
JINMEI Tatuya [Thu, 10 May 2012 16:52:08 +0000 (09:52 -0700)]
[1807] fixed a typo in a comment
Tomek Mrugalski [Thu, 10 May 2012 15:33:05 +0000 (17:33 +0200)]
fillRandom now uses random() instead of rand()
- a generic improvement that fixes NetBSD test failure.
Jelte Jansen [Thu, 10 May 2012 13:33:45 +0000 (15:33 +0200)]
[1807] removed unnecessary comment
Jelte Jansen [Thu, 10 May 2012 13:32:21 +0000 (15:32 +0200)]
[1807] Add two more easier ways to call rbtree::find
Jelte Jansen [Thu, 10 May 2012 13:06:16 +0000 (15:06 +0200)]
[1807] fix NSEC on nonterminal wildcard match
and add check to see which exact nsec is returned
Jelte Jansen [Thu, 10 May 2012 08:45:57 +0000 (10:45 +0200)]
[1807] re-add accidentally removed test for 'normal' ENT
Tomek Mrugalski [Thu, 10 May 2012 07:51:28 +0000 (09:51 +0200)]
Compilation fix for Solaris 10 (in pkt6.cc)
JINMEI Tatuya [Thu, 10 May 2012 04:17:14 +0000 (21:17 -0700)]
[1810] supported NO_WILDCARD find option for in-memory data source.
Mukund Sivaraman [Thu, 10 May 2012 02:44:30 +0000 (08:14 +0530)]
[1803] Make minor editorial fixes
JINMEI Tatuya [Thu, 10 May 2012 01:24:36 +0000 (18:24 -0700)]
[1810] refactor the wildcard test for the convenience of later changes.
test semantics were not changed.
JINMEI Tatuya [Thu, 10 May 2012 00:57:52 +0000 (17:57 -0700)]
[1809] make sure NSEC is returned (when appropriate) for wcard cancel case.
JINMEI Tatuya [Thu, 10 May 2012 00:40:43 +0000 (17:40 -0700)]
[1809] cleanup: unified nxdomain cases whether it's for NSEC or not.
JINMEI Tatuya [Thu, 10 May 2012 00:29:01 +0000 (17:29 -0700)]
[1809] added test cases to check NSEC isn't returned without FIND_DNSSEC.
(no need to change the tested code).
JINMEI Tatuya [Wed, 9 May 2012 23:51:10 +0000 (16:51 -0700)]
[1809] Merge branch 'trac1805' into trac1809
JINMEI Tatuya [Wed, 9 May 2012 22:51:17 +0000 (15:51 -0700)]
[1808] unrelated doc fix: updated the dsescription of find().
It seemed to be based on an older version of implementation, mentioning
the now-nonexistent Zone class. Updated the description to reflect the
current status of code.
JINMEI Tatuya [Wed, 9 May 2012 22:48:25 +0000 (15:48 -0700)]
[1808] editorial fixes: redundant space; space after comma, long lines, indent.
JINMEI Tatuya [Wed, 9 May 2012 20:54:03 +0000 (13:54 -0700)]
[1805] minor optimization: check nsec_signed first in getClosestNSEC().
in practice the DNSSEC option is provided in many cases, considering
the common default behavior of widely deployed resolvers, while not many
zones are actually not signed at all in the first place (much less whether
it's NSEC or NSEC3). so in many cases we should simply be able to stop the
condition check with the nsec_signed.
JINMEI Tatuya [Wed, 9 May 2012 20:51:45 +0000 (13:51 -0700)]
[1805] added some more comments about node_path as requested in review.
JINMEI Tatuya [Wed, 9 May 2012 18:40:05 +0000 (11:40 -0700)]
[master] temporarily disabled Dhcpv6SrvTest::Solicit_basic.
It fails on some systems. e.g.
http://git.bind10.isc.org/~tester/builder//BIND10/
20120509174501 -MacOSX10.6-x86_64-Clang-Static/logs/unittests.out
Tomek Mrugalski [Wed, 9 May 2012 16:31:45 +0000 (18:31 +0200)]
Test fixes in dhcpv6.
Jelte Jansen [Wed, 9 May 2012 15:21:42 +0000 (17:21 +0200)]
[1807] return NSEC data on other ENT cases
Tomek Mrugalski [Wed, 9 May 2012 14:38:10 +0000 (16:38 +0200)]
make distcheck fix
Tomek Mrugalski [Wed, 9 May 2012 13:23:54 +0000 (15:23 +0200)]
IfaceMgr compilation fix for BSD systems.
Tomek Mrugalski [Wed, 9 May 2012 12:58:16 +0000 (14:58 +0200)]
Compilation fix: added missing header for distance method.
Jelte Jansen [Wed, 9 May 2012 12:41:12 +0000 (14:41 +0200)]
[1806] removed double nsec_signed_ && FIND_DNSSEC check
also added an extra sanity check
Tomek Mrugalski [Wed, 9 May 2012 12:23:06 +0000 (14:23 +0200)]
[1528] ChangeLog commit-id update.
Tomek Mrugalski [Wed, 9 May 2012 12:19:48 +0000 (14:19 +0200)]
Merge branch 'master' into trac1528
Conflicts:
ChangeLog
src/lib/dhcp/iface_mgr_linux.cc
Tomek Mrugalski [Wed, 9 May 2012 11:28:57 +0000 (13:28 +0200)]
[1540] ChangeLog commit-id update.
Tomek Mrugalski [Wed, 9 May 2012 11:23:33 +0000 (13:23 +0200)]
Merge branch 'master' into trac1540
Conflicts:
ChangeLog
src/bin/dhcp4/dhcp4_srv.h
src/lib/dhcp/libdhcp++.h
src/lib/dhcp/option.cc
src/lib/dhcp/option.h
src/lib/dhcp/option4_addrlst.cc
src/lib/dhcp/option6_ia.cc
src/lib/dhcp/option6_iaaddr.h
src/lib/dhcp/pkt4.h
src/lib/dhcp/pkt6.cc
src/lib/dhcp/pkt6.h
Tomek Mrugalski [Wed, 9 May 2012 10:35:54 +0000 (12:35 +0200)]
Default values are now in range of uintX_t (Compilation fix for Solaris).
Jelte Jansen [Wed, 9 May 2012 10:25:32 +0000 (12:25 +0200)]
[1806] in-mem DS: add NSEC record for ENT
JINMEI Tatuya [Wed, 9 May 2012 09:07:40 +0000 (02:07 -0700)]
[1805] completed implementation of getClosestNSEC().
for tests, we use some of the NXDOMAIN cases (part of #1809)
Xie Jiagui [Wed, 9 May 2012 08:08:53 +0000 (16:08 +0800)]
[1808] Update InMemoryZoneFinder::find() in order to support NSEC
for NXRRSET at DNSSEC qureys. Two unittests were added to assure
these.
JINMEI Tatuya [Wed, 9 May 2012 07:36:00 +0000 (00:36 -0700)]
[1805] internal refactoring: pass node_path to findZone() from callers.
it's not necessarily needed for the puropse of this branch, but we'll
eventually need it for #1807. By doing this now will help reduce merge
conflicts later.
JINMEI Tatuya [Wed, 9 May 2012 07:18:36 +0000 (00:18 -0700)]
[1805] Merge branch 'trac1803' into trac1805
JINMEI Tatuya [Tue, 8 May 2012 23:32:15 +0000 (16:32 -0700)]
[1964] updated the non-check mode case of logging to be consistent.
JINMEI Tatuya [Tue, 8 May 2012 23:09:18 +0000 (16:09 -0700)]
[1964] added another test case where we can really check the thrown exception.
also clarified the comment: the previous one didn't make perfect sense in
that if it's really about exception we could have simply used EXCEPT_THROW.
JINMEI Tatuya [Tue, 8 May 2012 22:57:11 +0000 (15:57 -0700)]
[1964] use assert() instead of throwing exception in checkExcessPlaceholders.
unfortunatelly, we cannot throw here because it's called from the Formatter
destructor. death tests now work for environments where it previously failed.
JINMEI Tatuya [Tue, 8 May 2012 22:23:06 +0000 (15:23 -0700)]
[1964] small cleanups for checkExcessPlaceholders.
- style fixes
- constify (also for replacePlaceholder)
- make sure all parameters are used regardless of ENABLE_LOGGER_CHECKS
JINMEI Tatuya [Tue, 8 May 2012 22:11:55 +0000 (15:11 -0700)]
[1964] moved dontCreateCoreDumps to libutil_unittests.
this solves various build troubles such as leaving it unused, causing
circular dependcies, or the use of unnamed namespace in a public header file.
Jeremy C. Reed [Tue, 8 May 2012 16:52:22 +0000 (11:52 -0500)]
[master][trac1531] spelling typo fixes in comments
Tomek Mrugalski [Tue, 8 May 2012 16:17:58 +0000 (18:17 +0200)]
[1540] Changes after review:
- test prints out information that failed socket binding is ok.
- iface_mgr buffers are no longer static.
Tomek Mrugalski [Tue, 8 May 2012 15:32:18 +0000 (17:32 +0200)]
Merge branch 'trac1531'
Conflicts:
doc/.gitignore
src/lib/util/buffer.h
Mukund Sivaraman [Tue, 8 May 2012 15:00:43 +0000 (20:30 +0530)]
[1892] Change EXPECT_ABORT to EXPECT_DEATH
Mukund Sivaraman [Tue, 8 May 2012 15:00:25 +0000 (20:30 +0530)]
[1892] Fix the message string in MismatchedPlaceholders exceptions
Tomek Mrugalski [Tue, 8 May 2012 15:08:48 +0000 (17:08 +0200)]
[1531] Changes after Jeremy's review.
Tomek Mrugalski [Tue, 8 May 2012 12:50:29 +0000 (14:50 +0200)]
[1528] Nitpick comparison optimization in Linux version of ifacemgr
Tomek Mrugalski [Tue, 8 May 2012 12:48:13 +0000 (14:48 +0200)]
[1528] Small clean-ups in Linux version of ifacemgr.
JINMEI Tatuya [Mon, 7 May 2012 17:08:55 +0000 (10:08 -0700)]
[master] cleanup: removed an obsolete comment added in development.
It was temporarily introduced at
1fc79b93 for #1028, but it should have been
cleaned up even before commiting the change.
should be trivial and harmless, so I'm directly commiting the cleanup.
Mukund Sivaraman [Mon, 7 May 2012 13:24:45 +0000 (18:54 +0530)]
[master] Use -c to copy when using install-sh
Michal 'vorner' Vaner [Mon, 7 May 2012 13:03:38 +0000 (15:03 +0200)]
[1803] Document the tests little bit more
Michal 'vorner' Vaner [Mon, 7 May 2012 12:54:39 +0000 (14:54 +0200)]
[1803] Implement the previousNode start match
In case the find didn't give us an exact node, we need to correct the
search at the beginning. The code is slightly dense, but should be well
commented. Also, the tests are fixed slightly and one more added.
Michal 'vorner' Vaner [Mon, 7 May 2012 11:24:22 +0000 (13:24 +0200)]
[1803] Special-case handling in previousNode
The empty chain may mean we did not call find previously. But it also
can mean we just run out of nodes or that we did not find the correct
node. We also handle empty tree specially.
Michal 'vorner' Vaner [Mon, 7 May 2012 09:11:09 +0000 (11:11 +0200)]
[1903] Minor fix to the exception text
It talked about the other method.
Michal 'vorner' Vaner [Mon, 7 May 2012 09:10:13 +0000 (11:10 +0200)]
[1903] More tests for previousNode
This time, we check it can start iterating if we search for something
that is not in the tree.
Mukund Sivaraman [Mon, 7 May 2012 07:13:04 +0000 (12:43 +0530)]
[master] Remove files that are put in place by autoreconf
Mukund Sivaraman [Mon, 7 May 2012 05:12:38 +0000 (10:42 +0530)]
[master] Make a minor whitespace fix to the last but one ChangeLog entry
Mukund Sivaraman [Mon, 7 May 2012 05:12:15 +0000 (10:42 +0530)]
[1930] Add ChangeLog entry
Mukund Sivaraman [Fri, 4 May 2012 09:45:51 +0000 (15:15 +0530)]
[1930] Install headers into bind10-specific directory
Michal 'vorner' Vaner [Fri, 4 May 2012 18:13:39 +0000 (20:13 +0200)]
[1803] Unify some mostly duplicate code
The predecessor and successor are almost the same, so it makes little
sense to have the code twice.
Michal 'vorner' Vaner [Fri, 4 May 2012 17:51:48 +0000 (19:51 +0200)]
[1803] Implement the previousNode for found nodes
Slight change was done in the test, as the test can't find the "hidden"
nodes using find. Also, we need to clear the node chain manually between
reusing it.
Mukund Sivaraman [Fri, 4 May 2012 12:54:38 +0000 (18:24 +0530)]
[1892] Add scaffolding check around resource.h
Michal 'vorner' Vaner [Fri, 4 May 2012 12:54:45 +0000 (14:54 +0200)]
[1803] Tests for part of the previousNode
These test when we start at an exact match. Iterates from the very end
and from somewhere in the middle.
Michal 'vorner' Vaner [Fri, 4 May 2012 12:52:00 +0000 (14:52 +0200)]
[1803] Interface for previousNode
This is not exactly as in the ticket, but is the same as nextNode.
Mukund Sivaraman [Fri, 4 May 2012 12:51:14 +0000 (18:21 +0530)]
[1880] Add dontCreateCoreDumps() to EXPECT_ABORT tests
Mukund Sivaraman [Fri, 4 May 2012 11:02:02 +0000 (16:32 +0530)]
[1880] EXTRA_DIST resource.h
Michal 'vorner' Vaner [Fri, 4 May 2012 07:53:15 +0000 (09:53 +0200)]
[1880] Style fix
We use anonymous namespace instead of static before a function.
Mukund Sivaraman [Fri, 4 May 2012 03:27:16 +0000 (08:57 +0530)]
[1880] Move dontCreateCoreDumps() definition to the header due to dependency issues
Mukund Sivaraman [Fri, 4 May 2012 03:07:22 +0000 (08:37 +0530)]
[1880] Untabify file
Mukund Sivaraman [Thu, 3 May 2012 04:13:57 +0000 (09:43 +0530)]
[1880] Use a helper function instead of repeating code
Mukund Sivaraman [Wed, 2 May 2012 05:15:56 +0000 (10:45 +0530)]
[1880] Don't create core files when EXPECT_DEATH is used
Jelte Jansen [Fri, 4 May 2012 07:55:49 +0000 (07:55 +0000)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jelte Jansen [Fri, 4 May 2012 07:53:49 +0000 (07:53 +0000)]
[master] more ldadd order fixes
other binaries in log/unittests also need to link to our local libs first
Michal 'vorner' Vaner [Fri, 4 May 2012 07:06:02 +0000 (09:06 +0200)]
Merge #1802