]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Wed, 3 Oct 2012 14:11:51 +0000 (16:11 +0200)]
[2275] valgrind fix: close db in test case
Stephen Morris [Wed, 3 Oct 2012 13:32:37 +0000 (14:32 +0100)]
[2269] Minor documentation changes.
Jelte Jansen [Wed, 3 Oct 2012 11:07:54 +0000 (07:07 -0400)]
[master] fix src/lib/util/threads compiler/linker flags
This fixes the compilation issue shown on http://git.bind10.isc.org/~tester/builder/BIND10-valgrind/
20121003092419 -CentOS5-x86_64-GCC/logs/build.out
Discussed on jabber
Mukund Sivaraman [Wed, 3 Oct 2012 10:50:48 +0000 (16:20 +0530)]
[2268] Sort oft-used RRTypes to be in front of RdataSet lists
Yoshitaka Aharen [Wed, 3 Oct 2012 10:12:52 +0000 (19:12 +0900)]
[2157] documentation update
Mukund Sivaraman [Wed, 3 Oct 2012 10:05:08 +0000 (15:35 +0530)]
[2268] Remove unused includes from InMemoryClient implementation
Mukund Sivaraman [Wed, 3 Oct 2012 09:59:38 +0000 (15:29 +0530)]
[2268] Untabify code
Mukund Sivaraman [Wed, 3 Oct 2012 09:58:16 +0000 (15:28 +0530)]
[2268] Remove pimpl from InMemoryClient
Mukund Sivaraman [Wed, 3 Oct 2012 09:34:51 +0000 (15:04 +0530)]
[2268] Remove unused member variables from InMemoryClient::Loader
Mukund Sivaraman [Wed, 3 Oct 2012 09:22:28 +0000 (14:52 +0530)]
[2268] Use the ZoneDataUpdater in test code too
Mukund Sivaraman [Wed, 3 Oct 2012 09:10:35 +0000 (14:40 +0530)]
[2268] Use ZoneDataUpdater in InMemoryClient
JINMEI Tatuya [Wed, 3 Oct 2012 07:58:32 +0000 (07:58 +0000)]
[master] added 'std::' to strerror. sunstudio is strict and requires this.
this fixes build regression: http://git.bind10.isc.org/~tester/builder//BIND10/
20121003052334 -Solaris10-sparc-Sunstudio/logs/build.out
committing at my discretion (confirmed it compiled)
Mukund Sivaraman [Wed, 3 Oct 2012 07:55:34 +0000 (13:25 +0530)]
[2268] Add ZoneDataUpdater class
Yoshitaka Aharen [Tue, 2 Oct 2012 10:34:02 +0000 (19:34 +0900)]
[2157] add header files to EXTRA_DIST
add statistics header files to EXTRA_DIST
Mukund Sivaraman [Wed, 3 Oct 2012 05:45:52 +0000 (11:15 +0530)]
[2206] Add comment about moving methods to the header later
Mukund Sivaraman [Wed, 3 Oct 2012 05:41:02 +0000 (11:11 +0530)]
[2206] Change getHeader() to return a reference
Mukund Sivaraman [Wed, 3 Oct 2012 05:34:51 +0000 (11:04 +0530)]
[2206] Remove redundant return descriptions
Mukund Sivaraman [Wed, 3 Oct 2012 05:32:16 +0000 (11:02 +0530)]
[2206] Fix doc comment
Mukund Sivaraman [Wed, 3 Oct 2012 05:28:30 +0000 (10:58 +0530)]
[2206] Add const variant of getHeader()
Mukund Sivaraman [Wed, 3 Oct 2012 05:27:59 +0000 (10:57 +0530)]
[2206] Fix const variant of getTable()
Mukund Sivaraman [Wed, 3 Oct 2012 05:27:42 +0000 (10:57 +0530)]
[2206] Add const method tests
Mukund Sivaraman [Wed, 3 Oct 2012 05:19:54 +0000 (10:49 +0530)]
[2206] Update comments
Mukund Sivaraman [Wed, 3 Oct 2012 05:19:01 +0000 (10:49 +0530)]
[2206] Make constructors protected
Mukund Sivaraman [Wed, 3 Oct 2012 04:51:17 +0000 (10:21 +0530)]
[2206] Use a fixture in tests
Mukund Sivaraman [Wed, 3 Oct 2012 04:40:32 +0000 (10:10 +0530)]
[2206] Add a ZoneTableSegment::destroy() method
Also update doc comments asking callers to use the destroy() method.
Mukund Sivaraman [Wed, 3 Oct 2012 04:30:06 +0000 (10:00 +0530)]
[2206] Add a doc comment that getHeader() should never return NULL
Mukund Sivaraman [Wed, 3 Oct 2012 04:28:04 +0000 (09:58 +0530)]
[2206] Add ZoneTableHeader::getTable() method
Mukund Sivaraman [Wed, 3 Oct 2012 04:03:54 +0000 (09:33 +0530)]
[2206] Update doc comments to remove redundant bits
Also correct comments where wrong, and add a code comment for
ZoneTableSegment::create().
JINMEI Tatuya [Wed, 3 Oct 2012 03:38:31 +0000 (20:38 -0700)]
[2203] changed the callback type of addRemoteConfig to boost::function.
this will make it more convenient, e.g., by allowing the caller to pass
boost::bind encapsulating a class object and a class method.
boost::function is upper compatible to function pointer, so it doesn't
ensure source-level compatibility.
the functor overhead shouldn't matter in this context, and since this module
already uses boost::function this change doesn't introduce additional
dependency.
JINMEI Tatuya [Wed, 3 Oct 2012 03:24:57 +0000 (20:24 -0700)]
[2203] refactoring 1st step: move session obj outside of datasrc configurator.
JINMEI Tatuya [Tue, 2 Oct 2012 23:12:29 +0000 (16:12 -0700)]
[2060] (unrelated) make the finder Context class "more basic"
by defining a generic derived class and moving optional member variables
there.
this essentially addresses the issue of #1767.
JINMEI Tatuya [Tue, 2 Oct 2012 21:15:14 +0000 (14:15 -0700)]
[2060] added the getAtOrigin() method to ZoneFinder::Context.
defining the common interface and the default implementation.
Michal 'vorner' Vaner [Tue, 2 Oct 2012 19:21:48 +0000 (21:21 +0200)]
Merge #2202
The locking of client lists in auth server. This is to allow background
loading later on.
Conflicts:
src/bin/auth/auth_srv.cc
src/bin/auth/auth_srv.h
Michal 'vorner' Vaner [Tue, 2 Oct 2012 19:05:33 +0000 (21:05 +0200)]
[2292] Get rid of the const_cast
It was needed when extracting data from a domain tree chain. The chain
now can hold mutable pointers too, so we use that (and some amount of
template bureaucracy) to avoid the cast.
While the interface changed (on the core find function, it is not
possible to pass const node chain and have a mutable node get out), it
doesn't seem to influence the current code. Also, it is a private
interface anyway, so it should be safe.
Mukund Sivaraman [Tue, 2 Oct 2012 14:47:11 +0000 (20:17 +0530)]
[master] Add link to system specific install instructions to INSTALL
Michal 'vorner' Vaner [Tue, 2 Oct 2012 18:22:23 +0000 (20:22 +0200)]
[2292] Parametrize constness of the chain
JINMEI Tatuya [Tue, 2 Oct 2012 17:43:35 +0000 (10:43 -0700)]
[2202] minor style fix: folded a long line.
Tomek Mrugalski [Tue, 2 Oct 2012 15:18:49 +0000 (17:18 +0200)]
[2237] Pool4 and tests implemented.
JINMEI Tatuya [Tue, 2 Oct 2012 14:53:56 +0000 (16:53 +0200)]
[2202] Change comment style
So it is consistent with the rest.
Jelte Jansen [Tue, 2 Oct 2012 14:26:22 +0000 (16:26 +0200)]
[master] update changelog for merge of 2254
Michal 'vorner' Vaner [Tue, 2 Oct 2012 14:21:44 +0000 (16:21 +0200)]
[2202] Use simpler test for mutex
As Jinmei suggests, a double seems to be not atomic enough, so we can
use that. This is mostly his code, slightly modified (and comments
rewritten).
Jelte Jansen [Tue, 2 Oct 2012 14:00:42 +0000 (16:00 +0200)]
[master] forgot to add test file to EXTRA_DIST
Jelte Jansen [Tue, 2 Oct 2012 13:47:53 +0000 (15:47 +0200)]
[master] Merge branch 'trac2254'
Jelte Jansen [Tue, 2 Oct 2012 13:44:50 +0000 (15:44 +0200)]
[2254] Merge branch 'trac2254' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2254
Jelte Jansen [Tue, 2 Oct 2012 13:41:01 +0000 (15:41 +0200)]
[2254] one more comment
Mukund Sivaraman [Tue, 2 Oct 2012 13:36:11 +0000 (19:06 +0530)]
Merge branch 'master' into trac2276
Jelte Jansen [Tue, 2 Oct 2012 13:30:22 +0000 (15:30 +0200)]
[2254] Expand _complete comment, add one more testcase
also renamed IDENTIFIER_PARAM to CFGITEM_IDENTIFIER_PARAM
Mukund Sivaraman [Tue, 2 Oct 2012 13:30:02 +0000 (19:00 +0530)]
[2301] Add comment for ANY_SUB query
Mukund Sivaraman [Sun, 30 Sep 2012 20:07:11 +0000 (01:37 +0530)]
[2301] Update ANY_SUB query to use LIKE clause efficiently
See <https://lists.isc.org/pipermail/bind10-dev/2012-March/003167.html>
for discussion.
We should not do concatenation in the SQL clause (i.e., pass an
expression to LIKE). We also query on the 'rname' column (labels in
reverse order) instead of 'name'.
Yoshitaka Aharen [Tue, 2 Oct 2012 10:34:02 +0000 (19:34 +0900)]
[2157] add header files to EXTRA_DIST
add statistics header files to EXTRA_DIST
Yoshitaka Aharen [Tue, 2 Oct 2012 09:54:09 +0000 (18:54 +0900)]
[2157] fix systest failure
update the name of statistics items in systest
Yoshitaka Aharen [Tue, 2 Oct 2012 09:43:48 +0000 (18:43 +0900)]
[2157] some optimization of statistics in query processing
Yoshitaka Aharen [Tue, 2 Oct 2012 09:25:19 +0000 (18:25 +0900)]
[2157] modified an interface to get statistics data
Counters::get returns auth statistics data in the format defined in the
spec file.
Michal 'vorner' Vaner [Tue, 2 Oct 2012 08:53:10 +0000 (10:53 +0200)]
[2202] Comment catching of exceptions
Michal 'vorner' Vaner [Tue, 2 Oct 2012 08:43:09 +0000 (10:43 +0200)]
[2202] Assert instead of throw
So we don't throw from a destructor. This should never happen anyway.
Jelte Jansen [Tue, 2 Oct 2012 07:41:38 +0000 (09:41 +0200)]
[2278] Add temporary suppression for false positives
Yoshitaka Aharen [Tue, 2 Oct 2012 06:26:29 +0000 (15:26 +0900)]
[2157] update spec file
Added entries for statistics items into the spec file
JINMEI Tatuya [Tue, 2 Oct 2012 04:13:02 +0000 (21:13 -0700)]
[1870] removed rrsetlist.h from the libdns___include_HEADERS
it will be cleaned up and should better be excluded from the publicly
visible list.
JINMEI Tatuya [Mon, 1 Oct 2012 22:31:27 +0000 (15:31 -0700)]
[1870] some more doc cleanups
JINMEI Tatuya [Mon, 1 Oct 2012 22:26:25 +0000 (15:26 -0700)]
[1870] provided top level README
JINMEI Tatuya [Mon, 1 Oct 2012 22:12:52 +0000 (15:12 -0700)]
[1870] separated BIND 10 common libs and DNS lib
so that we can eventually selectively choose module specific libraries.
JINMEI Tatuya [Mon, 1 Oct 2012 22:12:15 +0000 (15:12 -0700)]
[1870] removed src/bin/host/Makefile from toplevel configure.ac.
JINMEI Tatuya [Mon, 1 Oct 2012 21:34:17 +0000 (14:34 -0700)]
[2202] Merge branch 'trac2202' with the remote version.
fixing conflicts, apparently due to a missing push:
src/lib/util/threads/tests/lock_unittest.cc
Tomek Mrugalski [Mon, 1 Oct 2012 17:19:49 +0000 (19:19 +0200)]
[2269] Developer's guide updated.
JINMEI Tatuya [Mon, 1 Oct 2012 17:18:31 +0000 (10:18 -0700)]
[2254] minor (unrelated) style fix: make lhs and rhs around == more reasonable.
per guideline. also, there shouldn't have been a reason for using the
unreadable version in python in the first place, because statement like
'if x = 0:' would result in a syntax error.
Tomek Mrugalski [Mon, 1 Oct 2012 16:56:55 +0000 (18:56 +0200)]
[2269] Remaining DHCPv6 config parsers documented.
Tomek Mrugalski [Mon, 1 Oct 2012 16:05:44 +0000 (18:05 +0200)]
[master] Test fix for ambiguous IPv6 notation (ending with :0 vs ::)
Tomek Mrugalski [Mon, 1 Oct 2012 16:05:06 +0000 (18:05 +0200)]
[master] Added missing header (Solaris compilation fix)
Tomek Mrugalski [Mon, 1 Oct 2012 15:54:51 +0000 (17:54 +0200)]
[master] Compilation fix in src/lib/dhcp/addr_utilities.cc (after 2238 merge)
Tomek Mrugalski [Mon, 1 Oct 2012 14:47:31 +0000 (16:47 +0200)]
[2269] Documentation update in progress
Michal 'vorner' Vaner [Mon, 1 Oct 2012 14:20:33 +0000 (16:20 +0200)]
[2202] The vector must be a reference
Otherwise, each thread would get its own copy of it, messing with it
privately, not causing any need for locking.
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:52:04 +0000 (15:52 +0200)]
[2202] Drop support for recursive mutexes
They are not needed currently.
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:44:02 +0000 (15:44 +0200)]
[2202] Don't release the lock until rendered
Since the message could contain some data from inside of the locked
lists/data sources, we need to keep the lock until we render it.
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:37:38 +0000 (15:37 +0200)]
[2202] More detail in TODO comment
Tomek Mrugalski [Mon, 1 Oct 2012 13:32:19 +0000 (15:32 +0200)]
[2269] Merge branch 'trac2238' into trac2269
Conflicts:
src/lib/dhcp/tests/cfgmgr_unittest.cc
src/lib/dhcp/triplet.h
Tomek Mrugalski [Mon, 1 Oct 2012 13:26:00 +0000 (15:26 +0200)]
[master] Merge branch 'trac2238'
Conflicts:
ChangeLog
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:25:02 +0000 (15:25 +0200)]
[2202] Avoid delete in different thread
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:22:39 +0000 (15:22 +0200)]
Add a timeout in case something got stuck
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:17:51 +0000 (15:17 +0200)]
[2202] Try throwing std::exception too
Michal 'vorner' Vaner [Mon, 1 Oct 2012 13:10:50 +0000 (15:10 +0200)]
[2202] Test improvements
* Reimplementing destroyLocked as death test
* Comments
* Includes to use < > instead of " "
* Don't use c99-isms.
Tomek Mrugalski [Mon, 1 Oct 2012 12:45:46 +0000 (14:45 +0200)]
[2238] Triplet,Pool,Subnet tests split to separate files (after review)
Michal 'vorner' Vaner [Mon, 1 Oct 2012 12:24:51 +0000 (14:24 +0200)]
[2202] Minor improvements
* Documentation
* Exception texts
* Exception safety for a rare situation
Yoshitaka Aharen [Mon, 1 Oct 2012 12:02:38 +0000 (21:02 +0900)]
[2155] modify Counters::inc() to update new counters
Counters::inc() now takes DNS message and query/response attributes.
It increments the counters related to the message.
Some tests have been mofdified or removedue to the change of the
interface.
Yoshitaka Aharen [Mon, 1 Oct 2012 06:20:55 +0000 (15:20 +0900)]
[2155] remove unnecessary MockSession from testcase
MockSession is not used in statistics_unittest.cc as
isc::auth::statistics::Counters class does not have a session.
Mukund Sivaraman [Sun, 30 Sep 2012 22:05:22 +0000 (03:35 +0530)]
[2206] Define and implement ZoneTableSegment class
Mukund Sivaraman [Sun, 30 Sep 2012 20:43:15 +0000 (02:13 +0530)]
[2276] Change order of arguments to createFindResult()
"... because it's more consistent with other functions/methods that
take both a node and rdataset, and because it would be the more natural
order if we consider the pair of them as an RRset."
Mukund Sivaraman [Sun, 30 Sep 2012 20:37:05 +0000 (02:07 +0530)]
[2276] Rename some incorrectly named rrset variables to rdataset
Mukund Sivaraman [Sun, 30 Sep 2012 20:31:37 +0000 (02:01 +0530)]
[2276] Rename find_internal() to findInternal() as per naming convention
Mukund Sivaraman [Sun, 30 Sep 2012 20:29:24 +0000 (01:59 +0530)]
[2276] Add argument that was missing in last commit
JINMEI Tatuya [Sun, 30 Sep 2012 20:28:16 +0000 (01:58 +0530)]
[2276] Avoid uninitialized variable from in-memory getClosestNSEC
nsec_node can be left uninitialized and subsequently used.
A straightforward fix is to set it to NULL at declaration, but I'd
rather solve it by making the interface safer, i.e., instead of passing
ZoneNode** to getClosestNSEC(), let getClosestNSEC return a pair of
ZoneNode* and RdataSet*.
Mukund Sivaraman [Sun, 30 Sep 2012 19:53:58 +0000 (01:23 +0530)]
[1899] Add another unittest to check that NSEC3 RRs are being returned
Mukund Sivaraman [Sun, 30 Sep 2012 19:46:39 +0000 (01:16 +0530)]
[1899] Break up UNION SQL query into two and merge manually
Also drop unnecessary columns and ORDER BYs.
Mukund Sivaraman [Sun, 30 Sep 2012 19:15:45 +0000 (00:45 +0530)]
[1899] Add a unique constraint to nsec3 table
This is to check that only one NSEC3 RR exists per owner name in a
zone. The code to fix #1899 would depend on this assertion.
Jelte Jansen [Sun, 30 Sep 2012 11:22:17 +0000 (13:22 +0200)]
[2254] cleanup and a few more comments
Jelte Jansen [Sun, 30 Sep 2012 10:56:36 +0000 (12:56 +0200)]
[2254] expand _get_list_items comments more
Jelte Jansen [Sun, 30 Sep 2012 10:48:40 +0000 (12:48 +0200)]
[2254] Add more docstring to _get_list_items
Jelte Jansen [Sun, 30 Sep 2012 10:31:31 +0000 (12:31 +0200)]
[2254] direct test for find_spec_part change
JINMEI Tatuya [Sat, 29 Sep 2012 04:24:11 +0000 (21:24 -0700)]
[1870] introduced separate m4 files for dependencies.
JINMEI Tatuya [Fri, 28 Sep 2012 23:39:38 +0000 (16:39 -0700)]
[1870] make sure install some more headers under dns/ and util/
there may be more, but at least this makes (b10-)host compile as a 3rd party
app.
JINMEI Tatuya [Fri, 28 Sep 2012 23:37:47 +0000 (16:37 -0700)]
[1870] moved src/bin/host under example/
(at least for now) there's no way to transform xml doc to other formats.
only xml is provided for reference.