]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Tue, 9 Apr 2013 05:27:15 +0000 (10:57 +0530)]
[2387] Add includes
These are not strictly necessary, as other headers include <memory>.
Mukund Sivaraman [Tue, 9 Apr 2013 05:23:12 +0000 (10:53 +0530)]
[2387] Remove default data from wiredata .spec files
Mukund Sivaraman [Tue, 9 Apr 2013 05:22:14 +0000 (10:52 +0530)]
[2387] Add some assertions anyway
JINMEI Tatuya [Mon, 8 Apr 2013 22:33:20 +0000 (15:33 -0700)]
[2887] catch another possible exception in assertRaises in a python test.
this is another workaround for the binary compatibility issue of FreeBSD 9.1.
JINMEI Tatuya [Mon, 8 Apr 2013 21:25:37 +0000 (14:25 -0700)]
[2887] catch all exceptions in RRset_addRdata.
this is necessary anyway, but in particular helps avoid ugly crash
due to buggy Python code on FreeBSD 9.1.
JINMEI Tatuya [Mon, 8 Apr 2013 21:06:19 +0000 (14:06 -0700)]
[2887] use pointer based dynamic_cast instead of catching bad_cast
the effect is the same, but it should avoid unexpected result of
FreeBSD 9.1, which has binary incompatibility between libstdc++ and C++
compilers. (and, avoiding try-catch would be better in terms of
performance anyway).
JINMEI Tatuya [Mon, 8 Apr 2013 18:26:17 +0000 (11:26 -0700)]
[2877] documented why we provide DEL_RNAME
Paul Selkirk [Mon, 8 Apr 2013 17:42:38 +0000 (13:42 -0400)]
[2521] add MasterLexer constructor for RRSIG
Mukund Sivaraman [Mon, 8 Apr 2013 15:13:46 +0000 (20:43 +0530)]
[mater] Link libb10-threads to various test programs in lib/log/tests/
JINMEI Tatuya [Mon, 8 Apr 2013 15:24:16 +0000 (08:24 -0700)]
[2387] style: fixed a long line
Mukund Sivaraman [Mon, 8 Apr 2013 14:50:34 +0000 (20:20 +0530)]
[2831] Add a comment and make a minor comment update
Mukund Sivaraman [Mon, 8 Apr 2013 14:04:50 +0000 (19:34 +0530)]
[2831] Rewrite message for better clarity
"out of segment address" can be misconstrued as running out of segment
address space.
Mukund Sivaraman [Mon, 8 Apr 2013 13:56:49 +0000 (19:26 +0530)]
[2831] Some more minor comment updates
Mukund Sivaraman [Mon, 8 Apr 2013 13:56:27 +0000 (19:26 +0530)]
[2831] Use EXPECT_NE instead of EXPECT_TRUE for void* return
Michal 'vorner' Vaner [Mon, 8 Apr 2013 12:17:09 +0000 (14:17 +0200)]
[2738] Tweak the times and iteration counts
So even the naive approach terminates some day.
Michal 'vorner' Vaner [Mon, 8 Apr 2013 12:15:45 +0000 (14:15 +0200)]
[2738] Don't preserve pointers to stack
It seems the boost::function created from functor takes just the
reference. This led to taking address of temporary and failing later on.
Allocate new object manually and delete it after it was used.
Michal 'vorner' Vaner [Mon, 8 Apr 2013 12:14:46 +0000 (14:14 +0200)]
[2738] Use IOService::post
Instead of abusing the timer with 0 timeout, which is rejected.
Michal 'vorner' Vaner [Mon, 8 Apr 2013 11:37:55 +0000 (13:37 +0200)]
[2871] IOService::post()
To execute a callback later, from the event loop. This is to be used in
the fake resolution, instead of timer with 0 timeout (which doesn't
work, we are strict with asserting invalid parameters).
Michal 'vorner' Vaner [Mon, 8 Apr 2013 11:09:59 +0000 (13:09 +0200)]
[2871] Example naive resolver benchmark
The simplest example of a resolver using the fake resolution. Processes
one query at a time.
Michal 'vorner' Vaner [Mon, 8 Apr 2013 10:33:59 +0000 (12:33 +0200)]
[2871] The fake interface implemented
JINMEI Tatuya [Fri, 5 Apr 2013 07:31:09 +0000 (00:31 -0700)]
[2738] another version of high level IPC document
Paul Selkirk [Sat, 6 Apr 2013 21:20:11 +0000 (17:20 -0400)]
[2521] add minimal doxygen comments for string & lexer constructors
JINMEI Tatuya [Thu, 4 Apr 2013 05:36:02 +0000 (22:36 -0700)]
[2834] removed now-unused methods and members from InMemoryClient.
load() related methods and members were removed, and internally maintained
zone file names were removed too. some log messages were moved to
more appropriate places.
JINMEI Tatuya [Thu, 4 Apr 2013 05:13:08 +0000 (22:13 -0700)]
[2834] updated InMemoryClient tests so they use the load() method.
some were simply disabled, which will soon be removed.
JINMEI Tatuya [Sat, 6 Apr 2013 03:58:25 +0000 (20:58 -0700)]
[2834] made exception what() a bit more accurate
JINMEI Tatuya [Fri, 5 Apr 2013 22:52:06 +0000 (15:52 -0700)]
[2834] documentation update
JINMEI Tatuya [Sat, 6 Apr 2013 00:58:01 +0000 (17:58 -0700)]
[2252] minor editorial fixes: combine short lines; typo
Paul Selkirk [Sat, 6 Apr 2013 00:31:43 +0000 (20:31 -0400)]
[2521] add MasterLexer constructor for OPT
Marcin Siodelski [Fri, 5 Apr 2013 18:45:45 +0000 (20:45 +0200)]
[991] Check for the IP_PKTINFO support in send/receive functions.
Marcin Siodelski [Fri, 5 Apr 2013 18:38:27 +0000 (20:38 +0200)]
[991] Eliminated the warning about unused variable.
Marcin Siodelski [Fri, 5 Apr 2013 18:22:25 +0000 (20:22 +0200)]
[991] Removed garbage code for IfaceMgr on BSD.
Thomas Markwalder [Fri, 5 Apr 2013 17:08:51 +0000 (13:08 -0400)]
[master] Merge branch 'trac2634'
Michal 'vorner' Vaner [Fri, 5 Apr 2013 11:41:19 +0000 (13:41 +0200)]
[2871] Put forgotten files to git
Michal 'vorner' Vaner [Fri, 5 Apr 2013 11:05:20 +0000 (13:05 +0200)]
[2871] Implementation of the FakeQuery
The FakeQuery class is implemented. The FakeInterface is, however, still
missing, so it doesn't work (not even link).
Michal 'vorner' Vaner [Fri, 5 Apr 2013 09:23:03 +0000 (11:23 +0200)]
[2871] Interface of the fake query
Provide interface of the FakeQuery. That one will represent the work to
be done during a benchmark for single query.
Also provide interface for FakeInterface, which will generate the
queries and handle the event loop.
Paul Selkirk [Fri, 5 Apr 2013 04:47:45 +0000 (00:47 -0400)]
[2832] add datasrc spec support for 'cache-type'
Marcin Siodelski [Thu, 4 Apr 2013 16:30:56 +0000 (18:30 +0200)]
[991] Clarified the comment when responding to broadcast address.
Tomek Mrugalski [Thu, 4 Apr 2013 15:56:08 +0000 (17:56 +0200)]
[master] Merge branch 'trac2827' (relay support in dhcp/Pkt6)
Conflicts:
ChangeLog
Mukund Sivaraman [Thu, 4 Apr 2013 14:24:19 +0000 (19:54 +0530)]
[2831] Some minor comment updates
Mukund Sivaraman [Thu, 4 Apr 2013 14:24:01 +0000 (19:54 +0530)]
[2831] Clarify comment about overflow
Mukund Sivaraman [Thu, 4 Apr 2013 14:23:30 +0000 (19:53 +0530)]
[2831] Rename some variables to full names (that are not very long)
Marcin Siodelski [Thu, 4 Apr 2013 13:53:02 +0000 (15:53 +0200)]
[2827] Corrected minor typo.
Jeremy C. Reed [Thu, 4 Apr 2013 13:35:55 +0000 (08:35 -0500)]
[master] On line 92 use a # hash mark before the Trac number.
and also remove dash before beta revision in version naming
Thomas Markwalder [Thu, 4 Apr 2013 13:27:55 +0000 (09:27 -0400)]
[2634] Replaced ASSERTs with EXPECTs per review comments in storage
unit tests.
Marcin Siodelski [Thu, 4 Apr 2013 13:17:31 +0000 (15:17 +0200)]
[991] Broadcast options are enabled on sockets conditionally.
Jeremy C. Reed [Thu, 4 Apr 2013 13:03:32 +0000 (08:03 -0500)]
[master] add "1" to beta revision
Jeremy C. Reed [Thu, 4 Apr 2013 13:00:32 +0000 (08:00 -0500)]
[master] fix typo/misspelling in comment
trivial, no review
Jeremy C. Reed [Thu, 4 Apr 2013 13:00:08 +0000 (08:00 -0500)]
[master] document --without-werror
I wrote this some month ago.
Didn't get reviewed.
Jeremy C. Reed [Thu, 4 Apr 2013 12:58:41 +0000 (07:58 -0500)]
[master] mention 1.1.0-beta
Thomas Markwalder [Thu, 4 Apr 2013 12:37:33 +0000 (08:37 -0400)]
[2634] Addressed review comments.
Naoki Kambe [Thu, 4 Apr 2013 11:12:59 +0000 (20:12 +0900)]
[2252] update the note to more accurate one due to bug #2879
Naoki Kambe [Thu, 4 Apr 2013 05:13:15 +0000 (14:13 +0900)]
[2252] add an exceptional case when checking initial statistics of Xfrout
Sometime an unixdomain socket could be already opened at the first
time when stats daemon queries xfrout statistics.
Marcin Siodelski [Thu, 4 Apr 2013 10:57:43 +0000 (12:57 +0200)]
[991] Implemented missing unit test for IfaceMgr::setPacketFilter.
Marcin Siodelski [Thu, 4 Apr 2013 09:35:29 +0000 (11:35 +0200)]
[991] Code cleanup.
Naoki Kambe [Thu, 4 Apr 2013 04:37:31 +0000 (13:37 +0900)]
[2252] parameterize for the domain name not to be contained in queried statistics
Naoki Kambe [Thu, 4 Apr 2013 03:00:59 +0000 (12:00 +0900)]
[2252] correct the wrong number of columns to be mentioned
Naoki Kambe [Mon, 1 Apr 2013 13:47:09 +0000 (22:47 +0900)]
[2252] update case names and their docstrings according to the tested counters
Naoki Kambe [Mon, 1 Apr 2013 13:46:44 +0000 (22:46 +0900)]
[2252] update the test cases due to the previous change
test_do_soacheck_uptodate() and test_do_xfrin_uptodate() are updated
for a failure case. test_do_xfrin_fail() is removed for duplicate
cases.
Michal 'vorner' Vaner [Thu, 4 Apr 2013 09:06:26 +0000 (11:06 +0200)]
[2871] Empty benchmark binary
Create all the necessary makefiles and other stuff, to have a place to
put the benchmarks to later.
Naoki Kambe [Mon, 1 Apr 2013 12:47:06 +0000 (21:47 +0900)]
[2252] change positions for counters to be counted
xfrsuccess is counted if requesting an xfr succeeds, otherwise xfrfail
is counted. also counters such as axfrreqv4, axfrreqv6, ixfrreqv4,
and ixfrreqv6 are counted before requesting an xfr.
Michal 'vorner' Vaner [Thu, 4 Apr 2013 08:34:18 +0000 (10:34 +0200)]
[2877] Sort logging messages
No real change, just sorting the messages in the message file.
Michal 'vorner' Vaner [Thu, 4 Apr 2013 08:26:45 +0000 (10:26 +0200)]
[2877] Description for log messages
Provide descriptions for log messages added in the previous commit, the
ones for more detailed logging during update of database based
datasource.
Mukund Sivaraman [Thu, 4 Apr 2013 08:25:36 +0000 (13:55 +0530)]
[2831] Add punctuation to better follow the documentation
Also make a minor typo fix.
Mukund Sivaraman [Thu, 4 Apr 2013 08:23:49 +0000 (13:53 +0530)]
[2831] Rearrange sentences in API doc comment
Mukund Sivaraman [Thu, 4 Apr 2013 08:23:03 +0000 (13:53 +0530)]
[2831] Rename variable, and also update test condition
Mukund Sivaraman [Thu, 4 Apr 2013 08:21:43 +0000 (13:51 +0530)]
[2831] Make a coding style update
JINMEI Tatuya [Thu, 4 Apr 2013 08:14:01 +0000 (10:14 +0200)]
[2877] Provide more detailed logs for database updates
Provide the data being updated and operations on database based
datasources.
Applied verbatim from the mailing list.
Michal 'vorner' Vaner [Thu, 4 Apr 2013 08:10:44 +0000 (10:10 +0200)]
[2877] Comments and documentation
For the previous commit, adding the reverse name to the list of
parameters for delete.
JINMEI Tatuya [Thu, 4 Apr 2013 07:49:00 +0000 (09:49 +0200)]
[2877] Delete DB records based on rname
This is significantly faster, as the rname has an index on it, while the
name doesn't.
Applied verbatim as sent on the mailing list. Documentation will come
soon.
Mukund Sivaraman [Thu, 4 Apr 2013 05:57:45 +0000 (11:27 +0530)]
[master] Remove duplicate Makefile.am rules
JINMEI Tatuya [Thu, 4 Apr 2013 04:37:38 +0000 (21:37 -0700)]
[2834] use NULL instead of 0
based on discussion in #2833
JINMEI Tatuya [Wed, 3 Apr 2013 22:35:38 +0000 (15:35 -0700)]
[2834] avoid using InMemoryClient::load for some tests.
instead, load it into ZoneTableSegment directly. also introduced a utility
function as it would be used may times
JINMEI Tatuya [Wed, 3 Apr 2013 21:12:15 +0000 (14:12 -0700)]
[2834] adjusted expected log message in lettuce tests for changes in the branch
JINMEI Tatuya [Wed, 3 Apr 2013 21:10:56 +0000 (14:10 -0700)]
[2834] fixed a regression: missing return; added a test that would cover it.
and also updated doc to clarify some result codes of getCachedZoneWriter()
JINMEI Tatuya [Wed, 3 Apr 2013 05:17:59 +0000 (22:17 -0700)]
[2834] use CacheConfig::getLoadAction for ConfigurableClientList::configure.
we now don't distinguish MasterFiles and other data sources, so we unified
two error logs.
JINMEI Tatuya [Wed, 3 Apr 2013 05:02:52 +0000 (22:02 -0700)]
[2834] add getZoneCount() to ZoneTable and use it for InMemoryClient
since we are going to deprecate direct load within InMemoryClient this is
necessary.
JINMEI Tatuya [Wed, 3 Apr 2013 04:02:52 +0000 (21:02 -0700)]
[2834] updated getCachedZoneWriter so it uses CacheConfig::getLoadAction.
JINMEI Tatuya [Wed, 3 Apr 2013 03:50:32 +0000 (20:50 -0700)]
[2834] refactor client_list tests so it uses CacheConfig
JINMEI Tatuya [Wed, 3 Apr 2013 03:15:08 +0000 (20:15 -0700)]
[2834] added a simple getter for cache conf to DataSourceInfo.
JINMEI Tatuya [Wed, 3 Apr 2013 02:59:08 +0000 (19:59 -0700)]
[2834] return null functor from getLoadAction if not configured for cache.
this would be more convenient in actual usage.
JINMEI Tatuya [Wed, 3 Apr 2013 00:12:59 +0000 (17:12 -0700)]
[2834] supported datasrc version of getLoadAction.
again, functor class was copied from client_list.
JINMEI Tatuya [Tue, 2 Apr 2013 23:13:44 +0000 (16:13 -0700)]
[2834] supported CacheConfig::getLoadAction for MasterFiles.
functor was copied from client_list.cc (the latter should eventually be
removed in this branch)
JINMEI Tatuya [Tue, 2 Apr 2013 23:47:28 +0000 (16:47 -0700)]
[2834] (unrelated cleanup): move all datasrc exceptions to exceptions.h.
data_source.h is now effectively empty so was removed.
Naoki Kambe [Mon, 1 Apr 2013 10:37:09 +0000 (19:37 +0900)]
[2252] update datetime to always return fixed seconds
The datetime object is replaced with a fake one which always returns fixed
seconds. This produces a same result independent on an actual time frame.
Naoki Kambe [Fri, 29 Mar 2013 08:38:02 +0000 (17:38 +0900)]
[2252] remove STATS_SEND_STATISTICS_REQUEST
It is not constant whether STATS_SEND_STATISTICS_REQUEST or
XFRIN_RECEIVED_COMMAND (XFROUT_RECEIVED_GETSTATS_COMMAND) comes
first. It is not reliable to check the former one prior to the latter
one. Eventually the latter one is an important event so the former
one is removed.
Naoki Kambe [Thu, 28 Mar 2013 10:41:41 +0000 (19:41 +0900)]
[2252] reorder by tools/reorder_message_file.py
Naoki Kambe [Thu, 28 Mar 2013 08:39:16 +0000 (17:39 +0900)]
[2252] correct a wrong word
Naoki Kambe [Thu, 28 Mar 2013 11:09:55 +0000 (20:09 +0900)]
[2252] update descriptions of last_*xfr_duration
about the case that a started timer is never stopped due to failure
Naoki Kambe [Fri, 29 Mar 2013 04:14:26 +0000 (13:14 +0900)]
[2252] update descriptions of zonename
it doesn't distinguish zone classes.
Naoki Kambe [Thu, 28 Mar 2013 09:39:04 +0000 (18:39 +0900)]
[2252] update descriptions
consider an exceptional case that transferring is done in less than a
microsecond
JINMEI Tatuya [Wed, 3 Apr 2013 23:59:52 +0000 (23:59 +0000)]
[master] use a separate object to pass to a function instead of a temporary
some compilers claim it causes a copy whie it's defined non copyable,
triggering an error. this fixes some build failure reported by the bots.
should mostly trivial, so committing at my discretion.
Jeremy C. Reed [Wed, 3 Apr 2013 21:36:33 +0000 (16:36 -0500)]
[master] for bind. zone change wording from "static" to "built-in"
acknowledged on jabber
JINMEI Tatuya [Wed, 3 Apr 2013 21:15:53 +0000 (14:15 -0700)]
[master] changelog for (part of) #2833
JINMEI Tatuya [Wed, 3 Apr 2013 21:14:54 +0000 (14:14 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Wed, 3 Apr 2013 20:56:38 +0000 (13:56 -0700)]
[master] Merge branch 'trac2833'
Jeremy C. Reed [Wed, 3 Apr 2013 20:19:04 +0000 (15:19 -0500)]
[master] fix order of .mes file
(used tools/reorder_message_file.py)
JINMEI Tatuya [Wed, 3 Apr 2013 19:54:24 +0000 (12:54 -0700)]
[2833] use example.com zone for tests using in-memory data source (cache)
instead of the "static" BIND zone. there's no difference between these two
any more, so this is just a matter of style.
JINMEI Tatuya [Wed, 3 Apr 2013 19:48:37 +0000 (12:48 -0700)]
[2833] fixed a typo in doc
Marcin Siodelski [Wed, 3 Apr 2013 17:59:19 +0000 (19:59 +0200)]
[991] Changes to perfdhcp according to new IfaceMgr code.
Mukund Sivaraman [Wed, 3 Apr 2013 14:42:21 +0000 (20:12 +0530)]
[2387] Fix leaks