]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Fri, 8 Feb 2013 05:08:13 +0000 (21:08 -0800)]
[2679] more documentation
JINMEI Tatuya [Fri, 8 Feb 2013 04:31:33 +0000 (20:31 -0800)]
[2679] moved def of JournalEntry inside .cc; it's not needed for test users.
Mukund Sivaraman [Fri, 8 Feb 2013 04:26:37 +0000 (09:56 +0530)]
[2672] Rename _ERR suffix to _ERROR in message IDs
JINMEI Tatuya [Fri, 8 Feb 2013 04:12:55 +0000 (20:12 -0800)]
[2679] added some documentation
Mukund Sivaraman [Fri, 8 Feb 2013 04:12:45 +0000 (09:42 +0530)]
[2281] Enable factory test for static DS with bad zone file
JINMEI Tatuya [Fri, 8 Feb 2013 03:30:08 +0000 (19:30 -0800)]
[2679] extracted non-sqlite3-specific param logic into sharable utility funcs
so that they can be used by other accessor implementations.
JINMEI Tatuya [Fri, 8 Feb 2013 03:16:38 +0000 (19:16 -0800)]
[2679] extracted sqlite3 specific setup into a separate file.
JINMEI Tatuya [Thu, 7 Feb 2013 23:33:49 +0000 (15:33 -0800)]
[2679] extracted test fixture classes into a separate header file.
along with declarations of some common test data. this is for making it
easier to share the test cases with various database accessor implementations.
to resolve inter-class dependencies there are some non trivial changes
(e.g. moving in-class definitions to out-of-class ones in .cc), but this
is basically reordering existing code. no behavior change.
JINMEI Tatuya [Thu, 7 Feb 2013 21:55:01 +0000 (13:55 -0800)]
[master] Merge branch 'trac1725'
JINMEI Tatuya [Thu, 7 Feb 2013 20:24:52 +0000 (12:24 -0800)]
[1924] prioritize a method where possible.
JINMEI Tatuya [Thu, 7 Feb 2013 20:18:49 +0000 (12:18 -0800)]
[1924] constify, adjusted position of '&'
JINMEI Tatuya [Thu, 7 Feb 2013 19:39:03 +0000 (11:39 -0800)]
[1924] cancel a constify; recent change does not allow that any more.
JINMEI Tatuya [Thu, 7 Feb 2013 19:25:13 +0000 (11:25 -0800)]
[1924] Merge remote-tracking branch 'origin/trac1914' into trac1924
fixed Conflicts:
src/lib/cc/tests/session_unittests.cc
Tomek Mrugalski [Thu, 7 Feb 2013 15:58:41 +0000 (16:58 +0100)]
[2697] Another fix for empty client-id, this time in MySQL LeaseMgr
Tomek Mrugalski [Thu, 7 Feb 2013 14:28:36 +0000 (15:28 +0100)]
[2697] Lease4::operator== is now safe to use for leases without client-id
Mukund Sivaraman [Thu, 7 Feb 2013 13:08:41 +0000 (18:38 +0530)]
[2281] Don't use memory source from the factory
Mukund Sivaraman [Thu, 7 Feb 2013 13:08:14 +0000 (18:38 +0530)]
[2281] Don't link to libdatasrc_memory from the static data source
This causes problems when the factory dlclose()es modules (the logger
gets finalized).
Mukund Sivaraman [Thu, 7 Feb 2013 12:58:17 +0000 (18:28 +0530)]
[2281] Remove unused message IDs and move some others to datasrc::memory
Stephen Morris [Thu, 7 Feb 2013 12:49:56 +0000 (12:49 +0000)]
[2681] Handle exceptions thrown when unable to allocate an address
Explicit allocation failures cause the return of packet to the client
indicating that the address allocation has been refused. Also added
was a "catch" for other exceptions - this causes the packet from the
client that generated the exception to be ignored.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 12:01:05 +0000 (13:01 +0100)]
[1924] Reuse similar test code
Michal 'vorner' Vaner [Thu, 7 Feb 2013 10:07:16 +0000 (11:07 +0100)]
[1924] Pydoc comment for the group_sendmsg method.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 09:59:53 +0000 (10:59 +0100)]
[1924] Combine the elementsEqual variants together
One of them is a relict of previous tests and is no longer needed, so
have only one.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 09:51:58 +0000 (10:51 +0100)]
[1924] Get rid of IO test code
It isn't used any more and it is complicated, so remove it.
Mukund Sivaraman [Thu, 7 Feb 2013 07:28:52 +0000 (12:58 +0530)]
[2281] Remove the old in-memory data source code
JINMEI Tatuya [Thu, 7 Feb 2013 06:42:36 +0000 (22:42 -0800)]
[2679] complete conversion to param tests.
it also fixed some intermediate regression: accessor creation and some
other setups that depend on the accessor should be more carefully
customized.
Mukund Sivaraman [Thu, 7 Feb 2013 06:42:22 +0000 (12:12 +0530)]
[2281] Use the new in-memory data source for the static data source
Mukund Sivaraman [Thu, 7 Feb 2013 05:04:34 +0000 (10:34 +0530)]
[2672] Remove ERROR from various message IDs where not applicable
Mukund Sivaraman [Thu, 7 Feb 2013 04:44:06 +0000 (10:14 +0530)]
[2672] Remove unused message ID
Mukund Sivaraman [Thu, 7 Feb 2013 04:41:37 +0000 (10:11 +0530)]
[2672] Fix duplicate use of message ID
This is not allowed by our coding style. Use the correct message ID
instead (which was previously unused).
Mukund Sivaraman [Thu, 7 Feb 2013 04:39:48 +0000 (10:09 +0530)]
[2672] Make some comment updates fixing spelling, etc.
Mukund Sivaraman [Thu, 7 Feb 2013 04:33:28 +0000 (10:03 +0530)]
[2672] Remove unused message ID
JINMEI Tatuya [Thu, 7 Feb 2013 04:13:42 +0000 (20:13 -0800)]
[2679] converted all database tests to parameterized tests.
JINMEI Tatuya [Thu, 7 Feb 2013 04:02:00 +0000 (20:02 -0800)]
[2679] more conversion
JINMEI Tatuya [Thu, 7 Feb 2013 03:56:19 +0000 (19:56 -0800)]
[2679] some more conversion from typed tests to param tests.
JINMEI Tatuya [Thu, 7 Feb 2013 03:46:52 +0000 (19:46 -0800)]
[2679] move enableNSEC3 logic to the parameter. now remove TestSQLite3Accessor.
JINMEI Tatuya [Thu, 7 Feb 2013 03:24:20 +0000 (19:24 -0800)]
[2679] converted some of TYPED_TESTs to TEST_P.
also performed comprehensive keyword substitution (TYPED_TESTs to TEST_P,
remove unnecessary 'this->'), although a large amount of code is still
'#if 0'-ed.
JINMEI Tatuya [Thu, 7 Feb 2013 02:50:44 +0000 (18:50 -0800)]
[2679] use param-test for database tests, 1st step: some setup.
the test fixture is now changed to a value-parameterized test, but test
cases are currently just '#if 0'-ed.
JINMEI Tatuya [Wed, 6 Feb 2013 18:31:09 +0000 (10:31 -0800)]
[master] Merge branch 'trac2145'
fixed Conflicts:
src/bin/bind10/bind10.in
JINMEI Tatuya [Wed, 6 Feb 2013 18:22:33 +0000 (10:22 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
commit.
JINMEI Tatuya [Wed, 6 Feb 2013 18:10:05 +0000 (18:10 +0000)]
[master] added redundant 'const' in a function declaration to help SunStudio.
It insists signature match between declarations and definitions even with such
unnecessary qualifiers, and fails to link due to a false-positive
"undefined symbol" at the link time.
JINMEI Tatuya [Wed, 6 Feb 2013 18:06:00 +0000 (10:06 -0800)]
[master] added changelog for #1866
JINMEI Tatuya [Wed, 6 Feb 2013 17:55:47 +0000 (09:55 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Wed, 6 Feb 2013 17:55:08 +0000 (09:55 -0800)]
[master] adjust latest code for the changes to isc.dns python constants.
with one minor regression fix.
JINMEI Tatuya [Wed, 6 Feb 2013 17:16:41 +0000 (09:16 -0800)]
[master] Merge branch 'trac1866'
fixed Conflicts:
src/bin/ddns/tests/ddns_test.py
src/bin/xfrin/tests/xfrin_test.py
src/lib/dns/python/tests/zone_checker_python_test.py
src/lib/python/isc/ddns/tests/session_tests.py
Jeremy C. Reed [Wed, 6 Feb 2013 16:47:22 +0000 (10:47 -0600)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jeremy C. Reed [Wed, 6 Feb 2013 16:44:00 +0000 (10:44 -0600)]
[master] add NetBSD support
Actually the support was already there.
Renamed the OpenBSD class to NetBSD (since it was first)
and then use it for OpenBSD too (and NetBSD).
This is for ticket #2692. It was reviewed on jabber.
Shane Kerr [Wed, 6 Feb 2013 16:41:10 +0000 (17:41 +0100)]
Fix some memory leaks.
Michal 'vorner' Vaner [Wed, 6 Feb 2013 16:16:41 +0000 (17:16 +0100)]
[1924] Don't use real network IO in the test
Mock the low-level sending method and don't rely on network IO to read
it from the other end.
TODO: Remove the support for reading the other end.
Jeremy C. Reed [Wed, 6 Feb 2013 15:52:50 +0000 (09:52 -0600)]
[master] allow sysinfo to provide some generic output on unknown system
This is for ticket #2128. It was reviewed and discussed on jabber.
This extends SysInfoPOSIX to get the hostname and the load average.
Then as a fallback for unknown systems it uses the SysInfoPOSIX.
(By the way, some information is looked up twice, but this
happened before this patch, but now happens for a couple more things.)
Michal 'vorner' Vaner [Wed, 6 Feb 2013 15:49:28 +0000 (16:49 +0100)]
[1924] (minor) More comment tweaks
Michal 'vorner' Vaner [Wed, 6 Feb 2013 15:10:34 +0000 (16:10 +0100)]
[1924] (minor) Comment tweaks
Michal 'vorner' Vaner [Wed, 6 Feb 2013 15:06:01 +0000 (16:06 +0100)]
[1924] Consider EPIPE and similar as no recipient
If an EPIPE is received in attempt to send a message, consider it
there's no recipient. This is still not perfect, since there may be data
in queue and before the socket is handled, it would be just appended.
Or, if the other socket is closed before the whole queue is sent there,
the messages are silently blackholed. But fully tracking each message
would be too much work for this ticket.
Michal 'vorner' Vaner [Wed, 6 Feb 2013 13:53:31 +0000 (14:53 +0100)]
[1924] Use constant for the error code too
Naoki Kambe [Wed, 6 Feb 2013 12:10:54 +0000 (21:10 +0900)]
[2225_xfrout] remove an empty unittest
Naoki Kambe [Wed, 6 Feb 2013 12:01:07 +0000 (21:01 +0900)]
[2225_xfrout] counting closed unixdomain sockets doesn't need to be inside the try block
Naoki Kambe [Wed, 6 Feb 2013 11:56:30 +0000 (20:56 +0900)]
[2225_xfrout] raise again an exception after incrementing the counter
It should raises again an exception after incrementing the counter if it's
raised while initializing ThreadingUnixStreamServer.
Jelte Jansen [Wed, 6 Feb 2013 10:52:50 +0000 (11:52 +0100)]
[2145] Fix trivial typo in docstring
Shane Kerr [Wed, 6 Feb 2013 10:43:28 +0000 (11:43 +0100)]
Fix typo in comments.
JINMEI Tatuya [Tue, 5 Feb 2013 23:45:12 +0000 (15:45 -0800)]
[master] make sure the top-level bind10 program honors from-build env.
without this lettuce tests doesn't work in-source.
a kind of regression due to #1901
(cherry picked from commit
0749f9e194505698031990eb7c544e8ec076fe10 )
Marcin Siodelski [Wed, 6 Feb 2013 09:20:33 +0000 (10:20 +0100)]
[2657] Minor: corrected some typos.
Yoshitaka Aharen [Wed, 6 Feb 2013 08:40:34 +0000 (17:40 +0900)]
Merge branch 'trac2157_2' into trac2157_merge
Conflicts:
ChangeLog
configure.ac
src/bin/auth/Makefile.am
src/bin/auth/auth_srv.cc
src/bin/auth/auth_srv.h
src/bin/auth/b10-auth.xml.pre
src/bin/auth/statistics.cc
src/bin/auth/statistics.h
src/bin/auth/statistics_items.h
src/bin/auth/tests/Makefile.am
src/bin/auth/tests/auth_srv_unittest.cc
src/bin/auth/tests/statistics_unittest.cc
src/lib/statistics/counter.h
src/lib/statistics/counter_dict.h
tests/lettuce/configurations/example.org.inmem.config
Naoki Kambe [Wed, 6 Feb 2013 06:10:06 +0000 (15:10 +0900)]
[2225_xfrout] setting SPECFILE_LOCATION is more simplified
Mukund Sivaraman [Wed, 6 Feb 2013 05:26:46 +0000 (10:56 +0530)]
[2650] Initialize member variable in constructor
Mukund Sivaraman [Wed, 6 Feb 2013 05:20:32 +0000 (10:50 +0530)]
[2650] Initialize member variable in constructor
Mukund Sivaraman [Wed, 6 Feb 2013 05:18:17 +0000 (10:48 +0530)]
[2650] Remove unused member variable
JINMEI Tatuya [Wed, 6 Feb 2013 03:52:38 +0000 (19:52 -0800)]
[2145] (unrelated) cleanup: rename bind10_test.py to init_test.py.
simply because it makes more sense in terms of what's tested.
JINMEI Tatuya [Wed, 6 Feb 2013 03:03:17 +0000 (19:03 -0800)]
[2145] removed now-unecessary python paths from some run-xxx wrapper scripts
JINMEI Tatuya [Wed, 6 Feb 2013 02:50:56 +0000 (18:50 -0800)]
[2145] added some comments about in-source test setup for bind10 script
Naoki Kambe [Wed, 6 Feb 2013 00:19:05 +0000 (09:19 +0900)]
[2225_statistics_3] change assertGreater() to assertGreaterEqual()
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/
20130129171501 -FreeBSD8-amd64-GCC/logs/unittests.out
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/
20130205115001 -FreeBSD8-amd64-GCC/logs/unittests.out
As the above results, on this platform, it doesn't mostly return an
accurate float of seconds which is less than 1.0. The above failure
happened at line 203 in counters_test.py , but also at line 142 there
is probably the same problem. This fix is similar to
89fd37be8d063c6fce0fa731ab7f3ac9c45667ef .
JINMEI Tatuya [Tue, 5 Feb 2013 23:45:12 +0000 (15:45 -0800)]
[2145] make sure the top-level bind10 program honors from-build env.
without this lettuce tests doesn't work in-source.
a kind of regression due to #1901, not a result of this branch.
JINMEI Tatuya [Tue, 5 Feb 2013 23:38:36 +0000 (15:38 -0800)]
[2145] remove all imports at the isc pakcage level.
JINMEI Tatuya [Tue, 5 Feb 2013 23:34:36 +0000 (15:34 -0800)]
[2145] imported isc.config explicilty.
JINMEI Tatuya [Tue, 5 Feb 2013 23:28:59 +0000 (15:28 -0800)]
[2145] import specific isc.XXX, instead of the whole 'isc' packages.
JINMEI Tatuya [Tue, 5 Feb 2013 23:28:21 +0000 (15:28 -0800)]
[2145] import isc.config explicitly, instead of the whole 'isc' package.
JINMEI Tatuya [Tue, 5 Feb 2013 22:39:21 +0000 (14:39 -0800)]
[2145] import isc.config explicitly, rather than hoping catch-all with 'isc'.
JINMEI Tatuya [Tue, 5 Feb 2013 22:33:28 +0000 (14:33 -0800)]
[2145] explicitly imported isc.log.
JINMEI Tatuya [Tue, 5 Feb 2013 21:49:10 +0000 (13:49 -0800)]
[2661] deal with space after -L in python-config output; it helps some solaris.
JINMEI Tatuya [Tue, 5 Feb 2013 17:21:05 +0000 (09:21 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Tue, 5 Feb 2013 17:10:32 +0000 (09:10 -0800)]
[master] Merge branch 'trac2617'
JINMEI Tatuya [Tue, 5 Feb 2013 17:10:12 +0000 (09:10 -0800)]
[2617] fixed a typo in a comment line.
Marcin Siodelski [Tue, 5 Feb 2013 16:59:14 +0000 (17:59 +0100)]
[2657] Changes to the DHCP configuration example as a result of the review.
Jeremy C. Reed [Tue, 5 Feb 2013 16:19:46 +0000 (10:19 -0600)]
[master] update version to today's timestamp
Jeremy C. Reed [Tue, 5 Feb 2013 16:17:07 +0000 (10:17 -0600)]
[master] minor manpage improvements
update date
update a copyright year
add a history sentence about rename
space between BIND & 10 (consistent style)
fix manual section number in a reference
change date (it was in Dutch anyways :)
Jelte Jansen [Tue, 5 Feb 2013 14:11:11 +0000 (15:11 +0100)]
[master] Update ChangeLog for merge of #1901
Jelte Jansen [Tue, 5 Feb 2013 13:47:05 +0000 (14:47 +0100)]
[master] Merge branch 'trac1901'
Stephen Morris [Tue, 5 Feb 2013 12:46:20 +0000 (12:46 +0000)]
[2657] Final minor changes as part of the review
Stephen Morris [Tue, 5 Feb 2013 12:31:03 +0000 (12:31 +0000)]
[2657] Merge branch 'trac2657' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2657
Conflicts:
doc/guide/bind10-guide.xml
Stephen Morris [Tue, 5 Feb 2013 12:24:42 +0000 (12:24 +0000)]
[2657] More editing of the DHCP sections of the BIND 10 Guide
Mukund Sivaraman [Tue, 5 Feb 2013 11:38:20 +0000 (17:08 +0530)]
[master] Use serial-tests only where available
Yoshitaka Aharen [Tue, 5 Feb 2013 11:29:14 +0000 (20:29 +0900)]
[2157] add a comment for lettuce test: check for Auth receives 'getstats'
Jelte Jansen [Tue, 5 Feb 2013 11:04:09 +0000 (12:04 +0100)]
[1901] Remove sys.argv[0] from rename() call in b10-init
Michal 'vorner' Vaner [Tue, 5 Feb 2013 09:52:33 +0000 (10:52 +0100)]
Use serial tests option
We don't take any benefit from the parallel harness, since we have only
one test binary in each directory, and automake can't parallelize that.
But it was hiding test output, which was annoying.
Acked on the mailing list.
Mukund Sivaraman [Tue, 5 Feb 2013 07:12:59 +0000 (12:42 +0530)]
[2225_xfrout] Delete trailing whitespace
Mukund Sivaraman [Tue, 5 Feb 2013 07:12:47 +0000 (12:42 +0530)]
[2225_xfrout] Update comments
Mukund Sivaraman [Tue, 5 Feb 2013 07:12:31 +0000 (12:42 +0530)]
[2225_xfrout] Change case
Jeremy C. Reed [Tue, 5 Feb 2013 00:03:27 +0000 (18:03 -0600)]
[master] remove __pycache__ directory with distclean
(reported by emhn: left over after a distclean)
Some of the makefiles clear that but not that one. We do
automate the distclean (via distcheck) as part of our
buildfarm. But I think this __pycache__ was introduced in python3.2 and
those build systems don't have it.
This is trivial so didn't get review.
Jeremy C. Reed [Tue, 5 Feb 2013 00:01:30 +0000 (18:01 -0600)]
[master] don't include run.sh in distfile
The run.sh.in is in the distfile.
(issue reported by emhn: was removed with distclean but was in tarball)
Trivial so didn't get review.
JINMEI Tatuya [Mon, 4 Feb 2013 22:23:47 +0000 (14:23 -0800)]
[1866] added note about not-implemented RR types dict in rdata/template.h.
Jelte Jansen [Mon, 4 Feb 2013 22:18:42 +0000 (23:18 +0100)]
[master] Fix cmdctl pem and csv file installation
They were installed twice (to /etc and to /share, removed the latter)
Also, the generated .pem files were included in the tarball, while they should be generated during the build process
JINMEI Tatuya [Mon, 4 Feb 2013 22:11:34 +0000 (14:11 -0800)]
[1866] revise generate_typeclasscode without using temporary text variables.
wouldn't matter for the usage of this script, but this should be slightly
more efficient.