]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Mon, 30 Jul 2012 10:21:24 +0000 (12:21 +0200)]
[1958] Code cleanup: naming, getters layout and return statements.
Marcin Siodelski [Mon, 30 Jul 2012 10:04:39 +0000 (12:04 +0200)]
[1958] Replaced unsigned long long with uin64_t
Marcin Siodelski [Mon, 30 Jul 2012 10:02:28 +0000 (12:02 +0200)]
[1958] Replaced printf with cout.
Marcin Siodelski [Mon, 30 Jul 2012 09:11:23 +0000 (11:11 +0200)]
[1958] Make packet types const and passing them by reference.
Jelte Jansen [Mon, 30 Jul 2012 09:08:19 +0000 (11:08 +0200)]
[master] reverted a small comment merge mistake
Jelte Jansen [Mon, 30 Jul 2012 09:03:09 +0000 (11:03 +0200)]
[master] Merge branch 'trac2148'
Conflicts:
src/lib/dns/labelsequence.h
Jelte Jansen [Mon, 30 Jul 2012 08:55:56 +0000 (10:55 +0200)]
[2148] fix typo in comment
Mukund Sivaraman [Sun, 29 Jul 2012 21:06:47 +0000 (02:36 +0530)]
Merge branch 'master' into trac2124
Mukund Sivaraman [Sun, 29 Jul 2012 21:03:18 +0000 (02:33 +0530)]
[2124] Don't catch InvalidBufferPosition when parsing wiredata
Mukund Sivaraman [Sun, 29 Jul 2012 20:53:52 +0000 (02:23 +0530)]
[2124] Rewrite code to avoid duplication
Mukund Sivaraman [Sun, 29 Jul 2012 20:09:15 +0000 (01:39 +0530)]
Merge branch 'master' into trac2106
Mukund Sivaraman [Sun, 29 Jul 2012 20:02:02 +0000 (01:32 +0530)]
[2106] Rewrite code to avoid using a variable
Mukund Sivaraman [Sun, 29 Jul 2012 19:17:20 +0000 (00:47 +0530)]
Merge branch 'master' into trac2092_2
Conflicts:
src/lib/datasrc/rbtree.h
Also fixes some other API and data differences between master and
trac2092_2 branch which caused several compile and test failures.
Mukund Sivaraman [Sun, 29 Jul 2012 17:54:31 +0000 (23:24 +0530)]
[2092] Add comment about pointer dereference asked by reviewer
JINMEI Tatuya [Sun, 29 Jul 2012 05:02:49 +0000 (05:02 +0000)]
[master] qualify memcpy with std::, it won't compile with sunstudio otherwise.
in response to buildbot report. confirmed the fix on the box, and should be
trivial. so directly committing.
JINMEI Tatuya [Sun, 29 Jul 2012 04:36:47 +0000 (21:36 -0700)]
[2095] include <cstring> for memcpy and qualify it with std::
will be needed for sunstudio.
JINMEI Tatuya [Sun, 29 Jul 2012 04:24:44 +0000 (21:24 -0700)]
[2095] editorial cleanups in doc.
JINMEI Tatuya [Sat, 28 Jul 2012 23:47:33 +0000 (16:47 -0700)]
[master] Merge branch 'trac2091b'
JINMEI Tatuya [Sat, 28 Jul 2012 17:23:23 +0000 (10:23 -0700)]
[2091b] removed the assert from getLabels(), which will soon be moot anyway.
Michal 'vorner' Vaner [Sat, 28 Jul 2012 16:31:21 +0000 (18:31 +0200)]
[2113] Check the MasterFiles params
They are skipped in the ClientList, so not checked at all.
Michal 'vorner' Vaner [Sat, 28 Jul 2012 12:32:56 +0000 (14:32 +0200)]
[2113] Check the configuration by creating the list
A small bugfix in the validation is included. There's no test for it
directly - it is tested implicitly in the plugin test, but I wasn't able
to reproduce it on small test spec files. If we weren't planning for
replacement of the whole thing, it would need some investigation.
Michal 'vorner' Vaner [Sat, 28 Jul 2012 11:33:16 +0000 (13:33 +0200)]
[2113] Construct the classes
Michal 'vorner' Vaner [Sat, 28 Jul 2012 11:21:24 +0000 (13:21 +0200)]
[2113] Validate against the spec
JINMEI Tatuya [Fri, 27 Jul 2012 23:02:51 +0000 (16:02 -0700)]
[master] fixed a typo in doxygen doc.
trivial, direct commit.
JINMEI Tatuya [Fri, 27 Jul 2012 22:26:52 +0000 (15:26 -0700)]
[master] corrected trivial style matters I happened to notice.
folded long lines, and adjusted the position of '*'s.
should be trivial enough, directly committing.
Jeremy C. Reed [Fri, 27 Jul 2012 15:59:54 +0000 (10:59 -0500)]
[master]Merge branch 'trac1999'
Jelte Jansen [Fri, 27 Jul 2012 14:18:26 +0000 (16:18 +0200)]
[2148] Address review comments
- typos
- few code fixes
- test updates
JINMEI Tatuya [Fri, 27 Jul 2012 07:33:58 +0000 (00:33 -0700)]
[2124] some editorial fixes to test data comments
JINMEI Tatuya [Fri, 27 Jul 2012 07:27:05 +0000 (00:27 -0700)]
[2124] prefer empty() over size() > 0 (see the previous commit)
JINMEI Tatuya [Fri, 27 Jul 2012 07:18:32 +0000 (00:18 -0700)]
[2124] some suggested changes:
- use !empty() instead of size() > 0. for vectors there should be
essentially no difference, but for other type of containers the former
is generally better, and so I believe it's better to always follow that
convention.
- constify
Naoki Kambe [Fri, 27 Jul 2012 07:01:11 +0000 (16:01 +0900)]
[2137] Removed 'setstats' command and revied the argument of 'getstats' from
the bind10 daemon
'setstats' is a command duplicate for sending statistics and it was useless
since boss already has same command 'getstats'. Besides, 'getstats' command get
changed. It chacks validity of statistics data before returing. The second
parameter of the 'getstats' is more simpler. The keys of 'owner' and 'data'
needs to be specified. Statistics data are directly specifed. If such
obsoleted name is specified, the stats module might discard sent data.
JINMEI Tatuya [Fri, 27 Jul 2012 06:56:00 +0000 (23:56 -0700)]
[2106] updated documentation
Mukund Sivaraman [Fri, 27 Jul 2012 05:38:37 +0000 (11:08 +0530)]
[2106] Change variable naming slightly
Mukund Sivaraman [Fri, 27 Jul 2012 05:19:12 +0000 (10:49 +0530)]
[2106] Remove Name variant of a RBTree::find() method
It was only used in the memory datasrc, which has been modified to use
the LabelSequence variant.
Also unify some tests.
JINMEI Tatuya [Thu, 26 Jul 2012 22:21:16 +0000 (15:21 -0700)]
[2095] a few more editorial fixes to comments.
Mukund Sivaraman [Thu, 26 Jul 2012 17:03:46 +0000 (22:33 +0530)]
[2124] Rename SSHFP getter methods
Mukund Sivaraman [Thu, 26 Jul 2012 17:00:14 +0000 (22:30 +0530)]
[2124] Add another toWire() test
Mukund Sivaraman [Thu, 26 Jul 2012 16:59:40 +0000 (22:29 +0530)]
[2124] Don't add trailing space in toText() if fingerprint is empty
Also add some tests.
Mukund Sivaraman [Thu, 26 Jul 2012 16:58:47 +0000 (22:28 +0530)]
[2124] Don't access fingerprint_ data when size is 0
JINMEI Tatuya [Thu, 26 Jul 2012 16:24:57 +0000 (09:24 -0700)]
[master] Merge branch 'trac2152'
Jelte Jansen [Thu, 26 Jul 2012 15:36:25 +0000 (17:36 +0200)]
[master] report actual error in masterload
if file cannot be opened.
acked on jabber by jinmei
JINMEI Tatuya [Thu, 26 Jul 2012 07:34:19 +0000 (00:34 -0700)]
[2152] don't play the game with union. the init hack didn't work.
it was wrong anyway because it tried to write to one field and read
from the other. and, it actually caused a failure on Solaris/Sparc.
I suspect it's due to endian and the data size differences, but since
the code was wrong anyway, I now decided to make it (in some sense) less
safer but more straightforward.
JINMEI Tatuya [Thu, 26 Jul 2012 07:12:15 +0000 (00:12 -0700)]
[2124] don't keep a reference to a temporary object.
'rdf' in the original code immediately became dangling reference.
Mukund Sivaraman [Thu, 26 Jul 2012 05:46:00 +0000 (11:16 +0530)]
[2106] Allow RBTree::find() to take LabelSequence
The Name find() variants already test the implementation well as they
wrap around it, but one test was added for checking the LabelSequence
variant API.
JINMEI Tatuya [Thu, 26 Jul 2012 06:02:18 +0000 (23:02 -0700)]
[2095] cleanup: removed unnecessary header file.
JINMEI Tatuya [Thu, 26 Jul 2012 06:00:02 +0000 (23:00 -0700)]
[2095] more documentation/comment update
JINMEI Tatuya [Thu, 26 Jul 2012 05:40:32 +0000 (22:40 -0700)]
[2095] doxygen update
JINMEI Tatuya [Thu, 26 Jul 2012 00:54:29 +0000 (17:54 -0700)]
[2095] two more minor test cases
JINMEI Tatuya [Thu, 26 Jul 2012 00:41:18 +0000 (17:41 -0700)]
[2095] reject too big RRSIG
JINMEI Tatuya [Thu, 26 Jul 2012 00:28:19 +0000 (17:28 -0700)]
[2095] supported RRSIG encoding with basic tests
JINMEI Tatuya [Wed, 25 Jul 2012 22:25:39 +0000 (15:25 -0700)]
[2095] rejected RRSIG in start()
JINMEI Tatuya [Wed, 25 Jul 2012 22:18:46 +0000 (15:18 -0700)]
[2095] cleanup: removed now-unused stuff.
JINMEI Tatuya [Wed, 25 Jul 2012 22:17:17 +0000 (15:17 -0700)]
[2095] handled various error cases
Jeremy C. Reed [Wed, 25 Jul 2012 22:14:15 +0000 (17:14 -0500)]
[master] remove the file generated by unittest
remove file generated by src/bin/auth/tests/command_unittest.cc
to fix distcheck build
JINMEI Tatuya [Wed, 25 Jul 2012 19:19:35 +0000 (12:19 -0700)]
[2095] added some basic parameter validations.
Jeremy C. Reed [Wed, 25 Jul 2012 18:14:46 +0000 (13:14 -0500)]
[master] the datasrc.spec file is generated so use builddir
Jeremy C. Reed [Wed, 25 Jul 2012 17:53:49 +0000 (12:53 -0500)]
[master] make sure src/bin/auth/tests/testdata is in dist tarball
JINMEI Tatuya [Wed, 25 Jul 2012 17:32:23 +0000 (10:32 -0700)]
[2091b] removed an essentially-redundant assertion check.
JINMEI Tatuya [Wed, 25 Jul 2012 17:27:31 +0000 (10:27 -0700)]
[2091b] cleanup: removed a leftover comment line
JINMEI Tatuya [Wed, 25 Jul 2012 17:26:21 +0000 (10:26 -0700)]
[2091b] simplified bitfield swap
JINMEI Tatuya [Wed, 25 Jul 2012 17:15:43 +0000 (10:15 -0700)]
[2091b] more comment clarifications.
Jelte Jansen [Wed, 25 Jul 2012 16:50:06 +0000 (18:50 +0200)]
[2148] final touches
Jelte Jansen [Wed, 25 Jul 2012 16:39:55 +0000 (18:39 +0200)]
[2148] Create test fixture for common names and buf
(not for actual labelsequences, IMO it looks better if they are defined locally)
JINMEI Tatuya [Wed, 25 Jul 2012 16:28:58 +0000 (09:28 -0700)]
[2091b] doxygen comment wording fix.
Jelte Jansen [Wed, 25 Jul 2012 16:15:51 +0000 (18:15 +0200)]
[2148] cleanup and documentation
Jelte Jansen [Wed, 25 Jul 2012 16:05:02 +0000 (18:05 +0200)]
[2148] extend() improvements and more tests
Jeremy C. Reed [Wed, 25 Jul 2012 15:43:33 +0000 (10:43 -0500)]
[master] regen some docs ; catch up on some doc changes
(hopefully soon we won't keep these in the git tree.)
Jelte Jansen [Wed, 25 Jul 2012 13:44:21 +0000 (15:44 +0200)]
[2148] minor cleanup
Jelte Jansen [Wed, 25 Jul 2012 13:29:01 +0000 (15:29 +0200)]
[2148] add LabelSequence::extend() method
Jeremy C. Reed [Wed, 25 Jul 2012 12:49:12 +0000 (07:49 -0500)]
[master] fix errors with ambiguous types and other boost uses
Stop doing "using namespace boost" and be specific with the using boost::.
Problem noticed on Solaris 11 with g++ 4.5.2 and boost 1.50.0.
Tested with older g++ 4.1.3 with boost 1.42.0 (on NetBSD).
Discussed little on jabber.
Jeremy C. Reed [Wed, 25 Jul 2012 12:48:16 +0000 (07:48 -0500)]
[master] fix "error: reference to `map' is ambiguous"
Michal 'vorner' Vaner [Wed, 25 Jul 2012 11:52:04 +0000 (13:52 +0200)]
Explicitly use std:: for map
It seems some compilers can't find it otherwise. This should make them
happy.
Michal 'vorner' Vaner [Wed, 25 Jul 2012 11:46:23 +0000 (13:46 +0200)]
Don't require dynamic libs on static link
There were tests that should have been disabled too, as they use the
static data source, which is loaded dynamically from a .so. Some systems
break on them.
Marcin Siodelski [Wed, 25 Jul 2012 11:19:46 +0000 (13:19 +0200)]
[1958] Added perfdhcp statistics printing functions.
Jelte Jansen [Wed, 25 Jul 2012 09:47:54 +0000 (11:47 +0200)]
[2148] update doxygen for constructor
Jelte Jansen [Wed, 25 Jul 2012 09:41:33 +0000 (11:41 +0200)]
[2148] 'extendable' labelsequence constructor
Mukund Sivaraman [Wed, 25 Jul 2012 07:37:40 +0000 (13:07 +0530)]
[2124] Test toWire() with empty fingerprint data
Mukund Sivaraman [Wed, 25 Jul 2012 07:04:19 +0000 (12:34 +0530)]
[2124] Handle empty SSHFP fingerprints
Mukund Sivaraman [Wed, 25 Jul 2012 05:54:52 +0000 (11:24 +0530)]
[2124] Add wiredata tests where the record is shorter than rdata len indicates
JINMEI Tatuya [Wed, 25 Jul 2012 04:49:09 +0000 (21:49 -0700)]
[2095] tested multi-RDATA cases.
the implementation already supported this case, so only need to adjust tests.
encoding parts of the temporary hack is now unnecessary and removed.
tests were refactored so we can share the same test logic in multiple
scenarios.
JINMEI Tatuya [Wed, 25 Jul 2012 01:34:12 +0000 (18:34 -0700)]
[2095] cleanup: removed the old checkData tests. It's now tested via encoder.
JINMEI Tatuya [Wed, 25 Jul 2012 01:32:08 +0000 (18:32 -0700)]
[2095] added initial version of rdata encoder.
generally working, but missing some validity, corner case tests, etc.
Mukund Sivaraman [Tue, 24 Jul 2012 22:21:11 +0000 (03:51 +0530)]
[2092] Remove some initializers
Mukund Sivaraman [Tue, 24 Jul 2012 22:02:56 +0000 (03:32 +0530)]
[2092] Stop using NULLNODE inside RBNode and RBTree
Also change the dot dumper to use the offset_ptr getters.
JINMEI Tatuya [Tue, 24 Jul 2012 18:01:17 +0000 (11:01 -0700)]
[2095] adjusted utility functions for tests with new LabelSeq interface.
This is a kind of conflict resolution after the initial merge.
JINMEI Tatuya [Tue, 24 Jul 2012 17:26:05 +0000 (10:26 -0700)]
[2091a] more clarification on the use of separate memsgmt for each zone.
also fixed some text that didn't really make sense.
Michal 'vorner' Vaner [Tue, 24 Jul 2012 13:13:41 +0000 (15:13 +0200)]
Remove unused function
Michal 'vorner' Vaner [Tue, 24 Jul 2012 11:34:37 +0000 (13:34 +0200)]
Changelog for #1976
Michal 'vorner' Vaner [Tue, 24 Jul 2012 09:32:53 +0000 (11:32 +0200)]
Merge #1976
Finally! This one was big.
With some minor updates to catch up to the changes after merge.
Conflicts:
src/bin/auth/auth_srv.cc
src/bin/auth/auth_srv.h
src/bin/auth/tests/auth_srv_unittest.cc
src/lib/datasrc/client_list.cc
src/lib/datasrc/tests/client_list_unittest.cc
Naoki Kambe [Sat, 21 Jul 2012 11:46:53 +0000 (20:46 +0900)]
[2136] preserve all statistics data including the inactive instances'
one while stats module is working
also system test of statistics is disabled until codes of both
Boss(#2137) and Auth(#2138) due to their dependencies
Naoki Kambe [Sat, 21 Jul 2012 10:16:26 +0000 (19:16 +0900)]
[2136] implemented polling to each modules for collecting statistics data
Naoki Kambe [Sat, 21 Jul 2012 10:14:39 +0000 (19:14 +0900)]
[2136] revised test_util.py miscellaneously
* change of b10-config dbfile
* update specfile of MockBoss
* invoking three extra Auth modules at a time in the BaseModules class
* implement 'getstats' command in each mock module
Naoki Kambe [Sat, 21 Jul 2012 10:09:45 +0000 (19:09 +0900)]
[2136] revised the debug message of request
since stats doesn't request only boss but request every module
Michal 'vorner' Vaner [Tue, 24 Jul 2012 09:02:07 +0000 (11:02 +0200)]
Merge remote-tracking branch 'origin/trac1976-cont-3' into work/merge
Michal 'vorner' Vaner [Tue, 24 Jul 2012 09:01:41 +0000 (11:01 +0200)]
Merge remote-tracking branch 'origin/trac1976-cont-2' into work/merge
Michal 'vorner' Vaner [Tue, 24 Jul 2012 09:00:25 +0000 (11:00 +0200)]
Merge remote-tracking branch 'origin/trac1976-cont' into work/merge
Conflicts:
src/bin/auth/tests/datasrc_configurator_unittest.cc
Michal 'vorner' Vaner [Tue, 24 Jul 2012 08:51:30 +0000 (10:51 +0200)]
[1976] Make the reload test more realistic
We change the file, not the memory content.
JINMEI Tatuya [Tue, 24 Jul 2012 06:55:43 +0000 (23:55 -0700)]
[2091b] more documentation
Mukund Sivaraman [Tue, 24 Jul 2012 06:35:56 +0000 (12:05 +0530)]
[2092] Test the case when the upper node is indeed the null node
Mukund Sivaraman [Tue, 24 Jul 2012 06:17:25 +0000 (11:47 +0530)]
[2092] Update doc comment