]>
git.ipfire.org Git - thirdparty/kea.git/log
Yoshitaka Aharen [Mon, 19 Nov 2012 07:11:30 +0000 (16:11 +0900)]
[2157] opcode is unsigned
Yoshitaka Aharen [Mon, 19 Nov 2012 06:56:52 +0000 (15:56 +0900)]
[2157] corrected conditions for compound attributes
Yoshitaka Aharen [Mon, 19 Nov 2012 06:26:57 +0000 (15:26 +0900)]
[2157] renamed statistics items generator
Yoshitaka Aharen [Mon, 19 Nov 2012 06:18:54 +0000 (15:18 +0900)]
[2157] add notes for fillNodes
Yoshitaka Aharen [Mon, 19 Nov 2012 05:51:16 +0000 (14:51 +0900)]
[2157] add description for CounterSpec
Yoshitaka Aharen [Mon, 19 Nov 2012 04:36:24 +0000 (13:36 +0900)]
[2157] renamed CounterTypeTree to CounterSpec
Yoshitaka Aharen [Mon, 19 Nov 2012 04:25:59 +0000 (13:25 +0900)]
[2157] add documentation
Yoshitaka Aharen [Mon, 19 Nov 2012 02:03:49 +0000 (11:03 +0900)]
[2157] remove per-zone statistics code
Yoshitaka Aharen [Fri, 16 Nov 2012 10:49:09 +0000 (19:49 +0900)]
[2157] use std::bitset, add notes
Mukund Sivaraman [Mon, 19 Nov 2012 22:29:38 +0000 (03:59 +0530)]
[2353] Update comments
Mukund Sivaraman [Mon, 19 Nov 2012 22:22:55 +0000 (03:52 +0530)]
[2353] Test BoB.startup()
Mukund Sivaraman [Mon, 19 Nov 2012 22:04:56 +0000 (03:34 +0530)]
[2353] Test BoB._socket_data() directly
Mukund Sivaraman [Mon, 19 Nov 2012 22:04:32 +0000 (03:34 +0530)]
[2353] Indent comment
Stephen Morris [Mon, 19 Nov 2012 19:37:07 +0000 (19:37 +0000)]
[2404] Change multiple discrete variables to arrays
... in preparation for adding IPv4 tests
Marcin Siodelski [Mon, 19 Nov 2012 18:06:18 +0000 (19:06 +0100)]
[2490] Moved OptionDefinition::DataType enum to common header.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 16:35:54 +0000 (17:35 +0100)]
[2375] Clarify comment
Michal 'vorner' Vaner [Mon, 19 Nov 2012 16:33:08 +0000 (17:33 +0100)]
[2375] Use safety measures
A scoped pointer, in this case. It probably isn't safer, as the ->handle
couldn't throw in this case, but just for the habit.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 16:30:50 +0000 (17:30 +0100)]
[2375] Clarify comment
Michal 'vorner' Vaner [Mon, 19 Nov 2012 16:27:33 +0000 (17:27 +0100)]
[2375] Test ungetting after EOF
Michal 'vorner' Vaner [Mon, 19 Nov 2012 16:23:01 +0000 (17:23 +0100)]
[2375] Check an unbalanced parenthesis is detected
Michal 'vorner' Vaner [Mon, 19 Nov 2012 15:45:27 +0000 (16:45 +0100)]
[2375] Don't restore internal token on ungetToken
It was not safe, because it may refer to some data elsewhere. Luckily,
it seems it is not needed anyway, since the only way that a token can
get out of the lexer is through the getNextToken, which would get a new
one, and through a testing method not meant for public use.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 15:33:28 +0000 (16:33 +0100)]
[2375] Don't propagate exceptions from internal namespace
Move the ReadError exception into the MasterLexer. That way, it is in
public namespace, so people can expect to see it.
Michal 'vorner' Vaner [Wed, 14 Nov 2012 12:59:15 +0000 (13:59 +0100)]
[2375] Provide weak exception guarantee
Michal 'vorner' Vaner [Wed, 14 Nov 2012 12:34:17 +0000 (13:34 +0100)]
[2375] Implement ungetting tokens
Michal 'vorner' Vaner [Wed, 14 Nov 2012 10:01:33 +0000 (11:01 +0100)]
[2375] Tests for ungetting tokens
Michal 'vorner' Vaner [Tue, 13 Nov 2012 18:18:20 +0000 (19:18 +0100)]
[2375] Check we don't read past the end
Michal 'vorner' Vaner [Tue, 13 Nov 2012 18:04:16 +0000 (19:04 +0100)]
[2375] Add a test a token is actually produced
This is a debug test. It checks the state machine produced a token.
There are no tests for this test, since such condition would be a
programmer error, not something expected.
Michal 'vorner' Vaner [Tue, 13 Nov 2012 17:53:11 +0000 (18:53 +0100)]
[2375] Implement basic getNextToken
No error handling, no special cases, no returning.
Michal 'vorner' Vaner [Tue, 13 Nov 2012 13:39:15 +0000 (14:39 +0100)]
[2375] Tests for simple versions of getToken
No fancy stuff yet, like ungetting tokens, changes of parentheses count,
etc. Just the basic stuff.
Michal 'vorner' Vaner [Mon, 12 Nov 2012 18:24:21 +0000 (19:24 +0100)]
[2375] A fake state class
It is for tests, but in the main code for technical reasons.
Michal 'vorner' Vaner [Mon, 12 Nov 2012 17:14:46 +0000 (18:14 +0100)]
[2375] getNextToken() and ungetNextToken() interface.
With doxygen description of what it should do and empty method bodies,
so the tests in following commits will at least compile.
Stephen Morris [Mon, 19 Nov 2012 15:04:51 +0000 (15:04 +0000)]
[2364] Remove V6 code from Option::pack4()
Michal 'vorner' Vaner [Mon, 19 Nov 2012 14:44:23 +0000 (15:44 +0100)]
[2376] Rename log IDs
There are no contexts any more. Rename the log message IDs not to
contain them.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 14:37:54 +0000 (15:37 +0100)]
[2376] Don't omit isc::
Mostly for consistency.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 14:32:40 +0000 (15:32 +0100)]
[2376] Split cases for add and issue tests
Use separate boolean variables to distinguish if the add callback or an
issue callback was called. The previous did not really ensure the
correct one was called.
Michal 'vorner' Vaner [Mon, 19 Nov 2012 14:27:54 +0000 (15:27 +0100)]
[2376] Rename test fixture
We no longer have context, we have only bunch of callbacks.
Stephen Morris [Mon, 19 Nov 2012 14:25:31 +0000 (14:25 +0000)]
[1486] Rename IOAddress::from_bytes() to IOAddress::fromBytes()
... to conform to coding standards.
Marcin Siodelski [Mon, 19 Nov 2012 11:53:52 +0000 (12:53 +0100)]
[2490] Initialize standard option definitions on first attept to get them.
JINMEI Tatuya [Mon, 19 Nov 2012 11:04:08 +0000 (20:04 +0900)]
[master] Merge branch 'trac2373'
Marcin Siodelski [Mon, 19 Nov 2012 10:18:01 +0000 (11:18 +0100)]
[2490] Added option factory function that takes vector of strings.
Naoki Kambe [Thu, 13 Sep 2012 05:25:11 +0000 (14:25 +0900)]
[2225] updated docstrings for counter.py
Naoki Kambe [Mon, 3 Sep 2012 01:35:20 +0000 (10:35 +0900)]
[2225] changed the behavior of the counter class
It doesn't create a counter object twice if it has been already created. It
just returns created object in that case. The global functors aren't set inside
of the counter classes, but they are set in the init method after the counter
object is firstly created. It is intended at this change that the init method
is responsible for creation of a counter method and setting of the global
functor.
Naoki Kambe [Mon, 19 Nov 2012 04:52:04 +0000 (13:52 +0900)]
[2225] introduced new counter classes and implemented unixsocket counters
- implemented a base class Counter and a concrete XfroutCounter as an external
module under isc.statistics. Because it is easy to implement another
concrete Counter class for other module in future. The caller module can
statically import it. The new counter class provides a getter method for
each statistics item. It is intended for making loose relationship between
the counter class and the caller module.
- added implementation of unixsocket counter into the existing UnixSockServer
Class.
- added new tests for checking counters implemented in UnixSockServer are
working properly into xfrout_test.py.
- implemented enabling/disabling counting in the new counter class.
JINMEI Tatuya [Mon, 19 Nov 2012 03:19:02 +0000 (12:19 +0900)]
[2373] added a comment about if-else complexity in State::start().
JINMEI Tatuya [Mon, 19 Nov 2012 03:10:51 +0000 (12:10 +0900)]
[2373] added a test for qstring: confirm separators are regarded as part of str
JINMEI Tatuya [Mon, 19 Nov 2012 03:05:21 +0000 (12:05 +0900)]
[2373] additional test for escaped str: check escaped \ doesn't confuse lexer.
JINMEI Tatuya [Mon, 19 Nov 2012 02:36:25 +0000 (11:36 +0900)]
[2376] style fix: brace position
Mukund Sivaraman [Sun, 18 Nov 2012 23:17:32 +0000 (04:47 +0530)]
[2353] Test BoB.start_cfgmgr() timeout checks
Mukund Sivaraman [Sun, 18 Nov 2012 23:16:58 +0000 (04:46 +0530)]
[2353] Restore the saved time.time function
Mukund Sivaraman [Sun, 18 Nov 2012 23:16:31 +0000 (04:46 +0530)]
[2353] Don't check an upper bound on number of attempts
Mukund Sivaraman [Sun, 18 Nov 2012 23:09:18 +0000 (04:39 +0530)]
[2353] Test BoB.start_msgq() timeout checks
Mukund Sivaraman [Sun, 18 Nov 2012 22:50:44 +0000 (04:20 +0530)]
[2353] Test BoB.start_ccsession()
Mukund Sivaraman [Sun, 18 Nov 2012 22:41:03 +0000 (04:11 +0530)]
[2353] Fix an error in comments
Mukund Sivaraman [Sun, 18 Nov 2012 22:36:55 +0000 (04:06 +0530)]
[2353] Test options for BoB.start_cfgmgr()
Mukund Sivaraman [Sun, 18 Nov 2012 22:33:42 +0000 (04:03 +0530)]
[2353] Test defaults for BoB.start_cfgmgr()
Mukund Sivaraman [Sun, 18 Nov 2012 22:20:21 +0000 (03:50 +0530)]
[2353] Test BoB.start_msgq()
Mukund Sivaraman [Sun, 18 Nov 2012 21:32:40 +0000 (03:02 +0530)]
[2353] Remove obsolete comments
Mukund Sivaraman [Sun, 18 Nov 2012 19:57:13 +0000 (01:27 +0530)]
Merge branch 'master' into trac2421
Michal 'vorner' Vaner [Sat, 17 Nov 2012 13:08:11 +0000 (14:08 +0100)]
[2376] Add missing test file
Michal 'vorner' Vaner [Sat, 17 Nov 2012 12:56:06 +0000 (13:56 +0100)]
[2376] Implement the createCallbacks function
Michal 'vorner' Vaner [Sat, 17 Nov 2012 12:23:13 +0000 (13:23 +0100)]
[2376] Tests for the createCallbacks function
Michal 'vorner' Vaner [Sat, 17 Nov 2012 12:07:36 +0000 (13:07 +0100)]
[2376] Function declaration to create the callbacks
Including documentation, the implementation is not there yet.
Michal 'vorner' Vaner [Sat, 17 Nov 2012 11:48:24 +0000 (12:48 +0100)]
[2376] A class to hold all the loader callbacks
Marcin Siodelski [Fri, 16 Nov 2012 21:21:02 +0000 (22:21 +0100)]
[2490] Use option definitions to unpack options from received packets.
Marcin Siodelski [Fri, 16 Nov 2012 17:47:28 +0000 (18:47 +0100)]
[2490] Option is created by calling to OptionDefinition::optionFactory.
Stephen Morris [Fri, 16 Nov 2012 15:54:12 +0000 (15:54 +0000)]
[master] ChangeLog for trac2475
Stephen Morris [Fri, 16 Nov 2012 15:40:59 +0000 (15:40 +0000)]
[2475] Merge branch 'master' into trac2475
Stephen Morris [Fri, 16 Nov 2012 14:15:45 +0000 (14:15 +0000)]
[2475] Put #include directives in correct order
Also fix some issues from the review.
Stephen Morris [Fri, 16 Nov 2012 11:19:19 +0000 (11:19 +0000)]
[2475] Split dhcp files into dhcp and dhcpsrv directories
Yoshitaka Aharen [Fri, 16 Nov 2012 10:18:41 +0000 (19:18 +0900)]
[2157] add getter method
Yoshitaka Aharen [Fri, 16 Nov 2012 09:11:42 +0000 (18:11 +0900)]
[2157] renamed according to coding style, moved to anonymous namespace
Yoshitaka Aharen [Fri, 16 Nov 2012 07:41:12 +0000 (16:41 +0900)]
[2157] use a constant instead of a magic number, typo fix
Mukund Sivaraman [Fri, 16 Nov 2012 06:21:35 +0000 (11:51 +0530)]
[2353] Use a MockProcessInfo to test BoB.start_process()
Yoshitaka Aharen [Fri, 16 Nov 2012 06:01:57 +0000 (15:01 +0900)]
[2157] rename following the naming policy
Mukund Sivaraman [Fri, 16 Nov 2012 06:00:37 +0000 (11:30 +0530)]
[2353] Test various combinations of booleans in BoB.reap_children()
Mukund Sivaraman [Fri, 16 Nov 2012 05:33:43 +0000 (11:03 +0530)]
[2353] Test unknown pids in BoB.reap_children()
Mukund Sivaraman [Fri, 16 Nov 2012 05:32:46 +0000 (11:02 +0530)]
[2353] Simply assertFalse() for the list
Mukund Sivaraman [Fri, 16 Nov 2012 05:27:35 +0000 (10:57 +0530)]
[2353] Test exception handling in BoB.reap_children()
Mukund Sivaraman [Thu, 15 Nov 2012 20:34:03 +0000 (02:04 +0530)]
[2421] Put code inside EXPECT_NO_THROW
Mukund Sivaraman [Thu, 15 Nov 2012 20:31:42 +0000 (02:01 +0530)]
[2421] Update comments about test data
Jeremy C. Reed [Thu, 15 Nov 2012 18:27:15 +0000 (12:27 -0600)]
[master] add changelog entry for ticket 2471
note I renumbered existing entry.
Jeremy C. Reed [Thu, 15 Nov 2012 18:25:20 +0000 (12:25 -0600)]
[master]Merge remote-tracking branch 'remotes/bind10-private/sec-trac2471'
Jelte Jansen [Thu, 15 Nov 2012 15:14:33 +0000 (16:14 +0100)]
[1044] Remove old cert and generate on make
Jelte Jansen [Thu, 15 Nov 2012 15:00:45 +0000 (16:00 +0100)]
[1044] Add manpage for b10-certgen
Jelte Jansen [Wed, 14 Nov 2012 12:38:17 +0000 (13:38 +0100)]
[1044] Added b10-certgen tool
To verify and update the b10-cmdctl certificate, using a few hardcoded certificate options (cn=localhost, o=BIND10, country=US).
The tool can also be used to update the existing certificate if it has expired (it is only valid for 1 year)
Yoshitaka Aharen [Thu, 15 Nov 2012 10:00:38 +0000 (19:00 +0900)]
[2157] update item definitions
Yoshitaka Aharen [Thu, 15 Nov 2012 09:46:24 +0000 (18:46 +0900)]
[2157] only count for requests with EDNS version 0
Yoshitaka Aharen [Thu, 15 Nov 2012 09:45:34 +0000 (18:45 +0900)]
[2157] fix code-to-counter conversion table
Yoshitaka Aharen [Thu, 15 Nov 2012 09:15:28 +0000 (18:15 +0900)]
[2157] change need_generate condition
regenerate the file if .pre file is updated
Yoshitaka Aharen [Thu, 15 Nov 2012 09:09:25 +0000 (18:09 +0900)]
[2157] directly convert `ConstEDNSPtr` to bool
Yoshitaka Aharen [Thu, 15 Nov 2012 08:28:06 +0000 (17:28 +0900)]
[2157] remove unnecessary #include
Yoshitaka Aharen [Thu, 15 Nov 2012 08:26:28 +0000 (17:26 +0900)]
[2157] ItemTreeType renamed to ItemTreePtr, fixed markup
Yoshitaka Aharen [Thu, 15 Nov 2012 07:56:29 +0000 (16:56 +0900)]
[2157] remove empty explicit destructor
Yoshitaka Aharen [Thu, 25 Oct 2012 11:40:33 +0000 (20:40 +0900)]
[2155] call reset() instead of initializer
Conflicts:
src/bin/auth/statistics.h
Yoshitaka Aharen [Thu, 25 Oct 2012 11:36:08 +0000 (20:36 +0900)]
[2155] removed inline keywords from methods inside class definition
Conflicts:
src/bin/auth/statistics.h
Yoshitaka Aharen [Thu, 15 Nov 2012 07:44:33 +0000 (16:44 +0900)]
[2155] added some notes to the mapping tables of counter item
JINMEI Tatuya [Thu, 15 Nov 2012 07:40:12 +0000 (23:40 -0800)]
[2373] unrelated extension to getString(): allow recycling the string
I expect we'll need the string object version of token pretty often
for rrtype and TTL, and this version will help make it a bit more
efficient.
Yoshitaka Aharen [Fri, 12 Oct 2012 05:21:15 +0000 (14:21 +0900)]
[2155] update test case according to the review comment
Conflicts:
src/bin/auth/tests/auth_srv_unittest.cc
Yoshitaka Aharen [Wed, 10 Oct 2012 10:34:26 +0000 (19:34 +0900)]
[2155] fixed wrong comment
Conflicts:
src/bin/auth/tests/auth_srv_unittest.cc
Yoshitaka Aharen [Wed, 10 Oct 2012 10:32:37 +0000 (19:32 +0900)]
[2155] inline methods in a canonical way
Conflicts:
src/bin/auth/statistics.h