]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:22:10 +0000 (19:22 +0100)]
[2377] Use rdata::compare to check equality of Rdata
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:13:47 +0000 (19:13 +0100)]
[2377] Pass string by reference
It was obviously forgotten (and cppcheck complained).
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:12:28 +0000 (19:12 +0100)]
[2377] cleanup: Simplify the test callback
Michal 'vorner' Vaner [Fri, 7 Dec 2012 17:01:23 +0000 (18:01 +0100)]
[2377] docs: Add forgotten update to the addRRCallback
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:58:26 +0000 (17:58 +0100)]
[2377] Keep a boolean variable for option
The option would be used often. While the produced code would probably
be the same, because the compiler can see it's equivalent, this is more
convenient to use.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:49:15 +0000 (17:49 +0100)]
[2377] Minor code simplification
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:46:48 +0000 (17:46 +0100)]
[2377] Don't accept quoted TTLs and such
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:45:08 +0000 (17:45 +0100)]
[2377] Small optimizations
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:29:33 +0000 (17:29 +0100)]
[2377] Move a method outside of the class definition
Just to make it easier for some editors to parse.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:22:56 +0000 (17:22 +0100)]
[2377] Prepare MasterLoader::pushSource for future
When we support $INCLUDE, it should report reasonable place of error,
not :0.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:12:35 +0000 (17:12 +0100)]
[2377] #include just to make sure
Michal 'vorner' Vaner [Fri, 7 Dec 2012 16:10:27 +0000 (17:10 +0100)]
[2377] Report error on !MANY_ERRORS as exception
In this case, the user should be aware of the error as much as possible.
In case of MANY_ERRORS, we can't do this, exception is able to handle
just one error.
Jelte Jansen [Fri, 7 Dec 2012 15:34:03 +0000 (16:34 +0100)]
[2504] use example.com zone for test
Michal 'vorner' Vaner [Fri, 7 Dec 2012 15:01:22 +0000 (16:01 +0100)]
[2377] docs: Reference note about Lenient mode
JINMEI Tatuya [Fri, 7 Dec 2012 14:54:28 +0000 (06:54 -0800)]
[2445] Merge branch 'trac2445' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2445
Michal 'vorner' Vaner [Fri, 7 Dec 2012 14:52:24 +0000 (15:52 +0100)]
[2377] Provide MasterLoader constructor from stream
Instead of file name. And use it for some of the tests, to avoid
juggling with files.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 14:02:18 +0000 (15:02 +0100)]
[2377] Use rrsetCheck() for comparing RRsets
Comparing their toText() might be unreliable. In theory, the toText()
result could be slightly different even for equal RRsets (if their
background implementation is different) and the test fail.
Include a hack for the rrsetCheck interface being incompatible.
Jelte Jansen [Thu, 6 Dec 2012 18:04:32 +0000 (19:04 +0100)]
[1351] Use TSIG key ring in b10-xfrin
instead of separately configured keys;
with this change, the Xfrin/zones[X]/tsig_key value is not interpreted as a full key string, but as the name to look up in the /tsig_keys/keys list (like acls do)
Michal 'vorner' Vaner [Fri, 7 Dec 2012 13:59:48 +0000 (14:59 +0100)]
[2377] Fix BasicRRset::getRRsig() documentation
It claimed it throws every time and returns NULL at the same time. It is
impossible and the first one is not true.
Stephen Morris [Fri, 7 Dec 2012 13:42:03 +0000 (13:42 +0000)]
[master] ChangeLog for trac 2404
Stephen Morris [Fri, 7 Dec 2012 12:28:21 +0000 (12:28 +0000)]
[2404] Merge branch 'master' into trac2404
Stephen Morris [Fri, 7 Dec 2012 12:25:40 +0000 (12:25 +0000)]
[2404] Alter memfile "getName()" to return "memory"
This reflects the fact that at the moment, the data is stored in
memory and not in a backing file.
Stephen Morris [Fri, 7 Dec 2012 11:18:47 +0000 (11:18 +0000)]
[2404] Minor changes as a result of review
Jelte Jansen [Fri, 7 Dec 2012 10:55:01 +0000 (11:55 +0100)]
[2445] Remove LogBuffer singleton
LogBuffers are now members of BufferAppender instances, and the singleton has been removed. LoggerManagerImpl keeps them (if any) around while processing a new specification, and flushes them when done.
Stephen Morris [Fri, 7 Dec 2012 10:26:01 +0000 (10:26 +0000)]
[master] ChangeLog for trac 2396
Stephen Morris [Fri, 7 Dec 2012 09:59:00 +0000 (09:59 +0000)]
[2396] Merge branch 'master' into trac2396
Jelte Jansen [Fri, 7 Dec 2012 09:44:57 +0000 (10:44 +0100)]
[2445] Address smaller points in logbuffer code
- update README
- copy vector of event on flush
- only use very basic functions in case of flush-on-destruct
Jelte Jansen [Fri, 7 Dec 2012 08:58:56 +0000 (09:58 +0100)]
[2445] Rename log_buffer and its namespace
To prevent accidental outside use, all LogBugger (and BufferAppender) code is in the namespace isc::log::internal now, and the files have been renamed to _impl
Yoshitaka Aharen [Fri, 7 Dec 2012 06:35:27 +0000 (15:35 +0900)]
[2157] fix indent
JINMEI Tatuya [Fri, 7 Dec 2012 04:50:48 +0000 (20:50 -0800)]
[2377] style fixes: folded long lines, constify
JINMEI Tatuya [Fri, 7 Dec 2012 04:23:44 +0000 (20:23 -0800)]
[2377] hide test definitions in an unnamed namespace.
JINMEI Tatuya [Fri, 7 Dec 2012 04:09:25 +0000 (20:09 -0800)]
[2377] constify
JINMEI Tatuya [Fri, 7 Dec 2012 03:31:40 +0000 (19:31 -0800)]
[2377] style fix: don't use result of x&y as a boolean directly
Jeremy C. Reed [Fri, 7 Dec 2012 03:01:51 +0000 (21:01 -0600)]
[master] fix typo and standardize one spelling
in docs. trivial. no review.
JINMEI Tatuya [Fri, 7 Dec 2012 01:50:53 +0000 (17:50 -0800)]
[master] include notify's source IP in ZONEMGR_UNKNOWN_ZONE_NOTIFIED log msg.
okayed on jabber.
JINMEI Tatuya [Fri, 7 Dec 2012 01:50:27 +0000 (17:50 -0800)]
[master] Merge branch 'trac2442'
with fixing Conflicts for:
src/lib/dns/gen-rdatacode.py.in
src/lib/dns/tests/rdata_txt_like_unittest.cc
JINMEI Tatuya [Thu, 6 Dec 2012 23:26:00 +0000 (15:26 -0800)]
[2442] in CharStringTooLong what() msg, clarify it includes an extra octet.
JINMEI Tatuya [Thu, 6 Dec 2012 21:00:47 +0000 (13:00 -0800)]
[2377] style fix: added a blank line between method defs for readability.
JINMEI Tatuya [Thu, 6 Dec 2012 18:08:59 +0000 (10:08 -0800)]
[2445] fixed a typo
Marcin Siodelski [Thu, 6 Dec 2012 16:16:17 +0000 (17:16 +0100)]
[master] Added ChangeLog entry for #2479.
Marcin Siodelski [Thu, 6 Dec 2012 15:39:04 +0000 (16:39 +0100)]
[2491] Changes as a result of the review.
Naoki Kambe [Thu, 6 Dec 2012 04:02:12 +0000 (13:02 +0900)]
[2225_statistics] change the variable names
`number` to `concurrency` and `cycle` to `number`
Naoki Kambe [Thu, 6 Dec 2012 03:55:43 +0000 (12:55 +0900)]
[2225_statistics] correct the variable names from the counter object
Naoki Kambe [Thu, 6 Dec 2012 03:54:22 +0000 (12:54 +0900)]
[2225_statistics] remove the unnecessary parameters
Naoki Kambe [Thu, 6 Dec 2012 03:53:00 +0000 (12:53 +0900)]
[2225_statistics] manipulate the counter via incrementer and getter methods
Naoki Kambe [Thu, 6 Dec 2012 03:38:51 +0000 (12:38 +0900)]
[2225_statistics] add checking validation of statistics data in case of no TEST_SPECFILE_LOCATION
Naoki Kambe [Thu, 6 Dec 2012 03:37:01 +0000 (12:37 +0900)]
[2225_statistics] add a new test case TestCounter0() in case of no TEST_SPECFILE_LOCATION
Naoki Kambe [Thu, 6 Dec 2012 07:42:35 +0000 (16:42 +0900)]
[2225_statistics] add the new test methods according to the new interface:
test_perzone_counters()
test_xfrrunning_counters()
test_socket_counters()
test_unknown_item()
Naoki Kambe [Thu, 6 Dec 2012 03:27:24 +0000 (12:27 +0900)]
[2225_statistics] remove the obsolete test methods:
test_perzone_counters()
test_xfrrunning_counters()
test_unixsocket_counters()
test_perzone_timers()
test_ipsocket_counters()
Naoki Kambe [Thu, 6 Dec 2012 04:08:38 +0000 (13:08 +0900)]
[2225_statistics] remove the unnecessary parameters
Naoki Kambe [Thu, 6 Dec 2012 04:05:26 +0000 (13:05 +0900)]
[2225_statistics] add Counter() constructors according to the update
Naoki Kambe [Thu, 6 Dec 2012 03:12:13 +0000 (12:12 +0900)]
[2225_statistics] remove the unnecessary setUpClass() methods
Naoki Kambe [Thu, 6 Dec 2012 03:07:17 +0000 (12:07 +0900)]
[2225_statistics] update the docstring
Naoki Kambe [Thu, 6 Dec 2012 02:58:12 +0000 (11:58 +0900)]
[2225_statistics] correct the variable names from the statistics class
Naoki Kambe [Thu, 6 Dec 2012 02:56:20 +0000 (11:56 +0900)]
[2225_statistics] change the default statistics spec in case of a spec file specified in the constructor
Naoki Kambe [Thu, 6 Dec 2012 12:56:47 +0000 (21:56 +0900)]
[2225_statistics] add _Statistics() class having default statistics data set
Mukund Sivaraman [Thu, 6 Dec 2012 11:36:31 +0000 (17:06 +0530)]
[2503] Insert the origin name into the NSEC3 tree by default
Stephen Morris [Thu, 6 Dec 2012 11:26:03 +0000 (11:26 +0000)]
[2513] Merge branch 'master' into trac2513
Stephen Morris [Thu, 6 Dec 2012 11:19:41 +0000 (11:19 +0000)]
[2396] Modified IOAddress tests in light of review
Mukund Sivaraman [Thu, 6 Dec 2012 11:08:18 +0000 (16:38 +0530)]
[2503] Add testcase that reproduces the problem
Mukund Sivaraman [Thu, 6 Dec 2012 10:28:25 +0000 (15:58 +0530)]
[2504] Fix getClosestNSEC() when tree.find() results in SUBDOMAIN
When tree.find() results in SUBDOMAIN, the node_path's top contains the
previous node. Calling previousNode() yet again will return its
further previous node.
Tomek Mrugalski [Thu, 6 Dec 2012 09:34:47 +0000 (10:34 +0100)]
[2270] ChangeLog updated.
Naoki Kambe [Thu, 6 Dec 2012 02:49:34 +0000 (11:49 +0900)]
[2225_statistics] rename _Counter() to Counter() and change its interface
Naoki Kambe [Thu, 6 Dec 2012 07:59:22 +0000 (16:59 +0900)]
[2225_statistics] rename _stoptimer() to stop(), change its interface, and update the description
It doesn't raise DataNotFound if the timer isn't started but it raises if the
timer is stopped, which isn't defined in the spec file.
Naoki Kambe [Thu, 6 Dec 2012 02:30:30 +0000 (11:30 +0900)]
[2225_statistics] rename _starttimer() to start() and change its interface
Naoki Kambe [Thu, 6 Dec 2012 07:38:57 +0000 (16:38 +0900)]
[2225_statistics] rename _getter() to get() and change its interface
Naoki Kambe [Thu, 6 Dec 2012 07:34:16 +0000 (16:34 +0900)]
[2225_statistics] rename _decrementer() to dec() and change its interface
Naoki Kambe [Thu, 6 Dec 2012 07:32:42 +0000 (16:32 +0900)]
[2225_statistics] rename _incrementer() to inc() and change its interface
Marcin Siodelski [Thu, 6 Dec 2012 07:29:25 +0000 (08:29 +0100)]
[master] Merge branch 'trac2479'
Mukund Sivaraman [Thu, 6 Dec 2012 06:54:38 +0000 (12:24 +0530)]
[2504] Add testcase that reproduces the problem
This test currently fails with an assertion.
Mukund Sivaraman [Thu, 6 Dec 2012 03:51:19 +0000 (09:21 +0530)]
[2353] Check that BoB.start_msgq() calls isc.cc.Session() and group_subscribe()
Mukund Sivaraman [Thu, 6 Dec 2012 03:20:03 +0000 (08:50 +0530)]
[2353] Test BoB.startup() when socket already exists
Mukund Sivaraman [Thu, 6 Dec 2012 03:08:01 +0000 (08:38 +0530)]
[2353] Remove unused assignments
Mukund Sivaraman [Thu, 6 Dec 2012 03:04:46 +0000 (08:34 +0530)]
[2353] Rename variable
Mukund Sivaraman [Thu, 6 Dec 2012 03:02:06 +0000 (08:32 +0530)]
[2353] Remove run_under_unittests hack from BoB.start_cfgmgr()
Mukund Sivaraman [Thu, 6 Dec 2012 03:00:54 +0000 (08:30 +0530)]
[2353] Make DummySession() return a real message in group_recvmsg()
Mukund Sivaraman [Thu, 6 Dec 2012 02:47:01 +0000 (08:17 +0530)]
[2353] Restore isc.config.ModuleCCSession during tearDown()
Naoki Kambe [Thu, 6 Dec 2012 02:22:38 +0000 (11:22 +0900)]
[2225_statistics] remove the unnecessary parameters
Naoki Kambe [Thu, 6 Dec 2012 02:20:38 +0000 (11:20 +0900)]
[2225_statistics] remove the unnecessary Counter() class
Naoki Kambe [Thu, 6 Dec 2012 02:45:28 +0000 (11:45 +0900)]
[2225_statistics] remove _parse_stats_spec()
Mukund Sivaraman [Thu, 6 Dec 2012 02:43:47 +0000 (08:13 +0530)]
[2353] Restore time.time() and time.sleep() during tearDown()
Mukund Sivaraman [Thu, 6 Dec 2012 02:29:20 +0000 (07:59 +0530)]
[2353] Unify verbose and non-verbose cases
Naoki Kambe [Thu, 6 Dec 2012 02:03:20 +0000 (11:03 +0900)]
[2225_statistics] remove the unnecessary functor creators
Mukund Sivaraman [Thu, 6 Dec 2012 01:36:55 +0000 (07:06 +0530)]
[2353] Don't call real sleep() in mock function
Jelte Jansen [Wed, 5 Dec 2012 21:30:44 +0000 (22:30 +0100)]
[2445] put LogBuffer::flush() call into processEnd()
And clean up the process() calls and processSpecification() method (which should mostly look like they were now)
Jelte Jansen [Wed, 5 Dec 2012 20:15:19 +0000 (21:15 +0100)]
[2445] Address the smaller points in the review
JINMEI Tatuya [Wed, 5 Dec 2012 19:34:59 +0000 (11:34 -0800)]
[master] Merge branch 'trac2382'
with fixing Conflicts for
src/lib/dns/gen-rdatacode.py.in
src/lib/dns/rdata.cc
src/lib/dns/rrparamregistry-placeholder.cc
src/lib/dns/tests/rdata_hinfo_unittest.cc
src/lib/dns/tests/rdata_txt_like_unittest.cc
JINMEI Tatuya [Wed, 5 Dec 2012 18:43:06 +0000 (10:43 -0800)]
[2442] updated comment for string::operator[] when it's empty
this is actually ensured by the C++ standard lib spec.
JINMEI Tatuya [Wed, 5 Dec 2012 18:36:13 +0000 (10:36 -0800)]
[2442] use std::string instead of POD array for constructing obj of DDD.
Jelte Jansen [Wed, 5 Dec 2012 15:00:23 +0000 (16:00 +0100)]
[2445] Don't replace appenders in processSpecification()
slightly changed outer layer process() call so it isn't necessary anymore
Tomek Mrugalski [Wed, 5 Dec 2012 14:38:14 +0000 (15:38 +0100)]
[2270] Dhcp4ConfigParser members are now private.
Tomek Mrugalski [Wed, 5 Dec 2012 14:27:30 +0000 (15:27 +0100)]
[2270] Changes after review
- added boundary checks for Uint32Parser
- fixed #include order
- Class renamed to Dhcp4ConfigParser
- added extra test for Uint32Parser
- Many Doxygen fixes and clean-ups
Tomek Mrugalski [Wed, 5 Dec 2012 14:23:34 +0000 (15:23 +0100)]
[2270] Fix for repeated reconf in dhcp6 (old defaults are now removed)
Tomek Mrugalski [Wed, 5 Dec 2012 14:22:05 +0000 (15:22 +0100)]
[2270] Fixes in Doxygen comments in src/bin/dhcp6
JINMEI Tatuya [Wed, 5 Dec 2012 08:11:57 +0000 (00:11 -0800)]
[2445] minor cleanups: brace position, indent, use 'protected' in test class
JINMEI Tatuya [Wed, 5 Dec 2012 08:11:18 +0000 (00:11 -0800)]
[2445] do explicit check for NULL against a pointer
Mukund Sivaraman [Wed, 5 Dec 2012 08:10:51 +0000 (13:40 +0530)]
[2353] Check if msgq_socket_file is carried over in BoB.startup()
JINMEI Tatuya [Wed, 5 Dec 2012 08:10:49 +0000 (00:10 -0800)]
[2445] constify, unify two short lines, spacing
Mukund Sivaraman [Wed, 5 Dec 2012 08:00:33 +0000 (13:30 +0530)]
[2353] Change assertion type for dict
Mukund Sivaraman [Wed, 5 Dec 2012 07:56:29 +0000 (13:26 +0530)]
[2353] Explain why we throw after 15 recv()s, in a comment