]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Wed, 13 Mar 2013 21:24:31 +0000 (14:24 -0700)]
[2831] detect buildability of managed_mapped_file, w/ or w/o -Werror.
Thomas Markwalder [Wed, 10 Apr 2013 21:02:10 +0000 (17:02 -0400)]
[2355] Initial commit of refactoring bin/dchp4 and bin/dchp6
configuration parsing classes into a common set of classes
in lib/dhcpsrv. Moved most of the parsers classes into
new files dhcp_parsers.h/cc. Eliminated use of global
variables within common parsers.
Stephen Morris [Wed, 10 Apr 2013 19:11:00 +0000 (20:11 +0100)]
[2467] Replace "raw" pointers with scoped pointers in libdhcp tests
Also tidy up a few comments.
JINMEI Tatuya [Wed, 10 Apr 2013 18:58:24 +0000 (11:58 -0700)]
[2831] updated rw ctor so that we can create a new segment, removing old one.
also clarified that in other read-write open existing file isn't modified.
JINMEI Tatuya [Wed, 10 Apr 2013 18:13:00 +0000 (11:13 -0700)]
[2831] added note about too small initial_size, and added a test for the case.
JINMEI Tatuya [Wed, 10 Apr 2013 17:44:08 +0000 (10:44 -0700)]
[2831] clarifed the intent of the assert() in growSegment().
JINMEI Tatuya [Wed, 10 Apr 2013 17:38:00 +0000 (10:38 -0700)]
[2831] simplified code a bit using static_cast instead of memcpy
JINMEI Tatuya [Wed, 10 Apr 2013 17:24:24 +0000 (10:24 -0700)]
[2831] added a test to have another process open and read mapped memory
JINMEI Tatuya [Wed, 10 Apr 2013 17:03:16 +0000 (10:03 -0700)]
[2831] extracted interproc synchronization utility from syncfile test
so we can share it with memory-sement-mapped.
JINMEI Tatuya [Wed, 10 Apr 2013 16:32:08 +0000 (09:32 -0700)]
[2877] editorial: combined two short lines
JINMEI Tatuya [Wed, 10 Apr 2013 16:28:11 +0000 (09:28 -0700)]
[2877] style fix: folded a long line.
JINMEI Tatuya [Wed, 10 Apr 2013 16:23:09 +0000 (09:23 -0700)]
[2877] corrected a typo (one made by myself in a previous commit)
Thomas Markwalder [Wed, 10 Apr 2013 14:54:35 +0000 (10:54 -0400)]
[master] Added ChangeLog entry 602.
Thomas Markwalder [Wed, 10 Apr 2013 14:52:25 +0000 (10:52 -0400)]
[master] Merge branch 'trac2770' moves b10-dhcp4 and b10-dhcp6 server id
files into --localstatedir/bind10.
Marcin Siodelski [Wed, 10 Apr 2013 13:41:24 +0000 (15:41 +0200)]
[991] Use pktinfo to pass control messages on Linux only.
Michal 'vorner' Vaner [Wed, 10 Apr 2013 13:31:43 +0000 (15:31 +0200)]
[2877] Don't overload interface
Provide separate list of parameter strings for deleting NSEC3 records.
It is cleaner to have separate enum for listing the parameters needed to
delete NSEC3 than re-using generic delete parameters and having the hash
passed twice.
Thomas Markwalder [Wed, 10 Apr 2013 12:06:32 +0000 (08:06 -0400)]
[master] Added entry 602.
Thomas Markwalder [Wed, 10 Apr 2013 12:03:33 +0000 (08:03 -0400)]
[master] Merge branch 'trac2784' correct perfdhcp crash on mismatched
command line parameters.
Stephen Morris [Wed, 10 Apr 2013 11:38:48 +0000 (12:38 +0100)]
[2784] Minor change to error message when wrong IP switch is used
Mukund Sivaraman [Wed, 10 Apr 2013 07:58:57 +0000 (13:28 +0530)]
Merge branch 'trac2387'
Mukund Sivaraman [Wed, 10 Apr 2013 07:55:24 +0000 (13:25 +0530)]
[2387] Revert "Add some assertions anyway"
This reverts commit
65f68f7b9235307f8af029b37ebc7c2a309ed7e9 .
Michal 'vorner' Vaner [Wed, 10 Apr 2013 07:17:28 +0000 (09:17 +0200)]
Changelog for #2877
Michal 'vorner' Vaner [Wed, 10 Apr 2013 07:11:12 +0000 (09:11 +0200)]
Merge #2877
Fix SQLite backend so the deletes are not so slow.
This is the urgent part of the fix; we'll have another half of the branch
later, to clean up some details.
JINMEI Tatuya [Wed, 10 Apr 2013 03:56:14 +0000 (20:56 -0700)]
[2831] removed unnecessary flush before reset() (as the dtor calls flush)
JINMEI Tatuya [Wed, 10 Apr 2013 03:34:29 +0000 (20:34 -0700)]
[2831] check two different addressed from getNamedAddress can share the data.
JINMEI Tatuya [Wed, 10 Apr 2013 03:15:48 +0000 (20:15 -0700)]
[2831] added a test checking named data survive grow/shrink
Paul Selkirk [Wed, 10 Apr 2013 02:48:23 +0000 (22:48 -0400)]
[2521] add MasterLexer constructor for DHCID
Paul Selkirk [Wed, 10 Apr 2013 02:45:17 +0000 (22:45 -0400)]
[2521] enabled previously disabled rrsig test
also changed createFromLexer from static function to private method
JINMEI Tatuya [Tue, 9 Apr 2013 23:46:59 +0000 (16:46 -0700)]
[2831] corrected example code in doc
JINMEI Tatuya [Tue, 9 Apr 2013 23:12:49 +0000 (16:12 -0700)]
[2831] use \throw to describe exceptions where appropriate.
also changed some of `InvalidOperation` cases to
`MemorySegmentError` as it should be basically generic enough at the
base class level.
JINMEI Tatuya [Tue, 9 Apr 2013 22:34:12 +0000 (15:34 -0700)]
[2831] added more comments about crash in boost on multiple calls to shrink.
JINMEI Tatuya [Tue, 9 Apr 2013 22:21:02 +0000 (15:21 -0700)]
[2831] corrected exception what() message.
JINMEI Tatuya [Tue, 9 Apr 2013 22:18:06 +0000 (15:18 -0700)]
[2831] handle NULL name values for xxxNamedAddress explicitly.
JINMEI Tatuya [Tue, 9 Apr 2013 21:52:53 +0000 (14:52 -0700)]
[2831] described implementation-specific differences of setNamedAddress.
JINMEI Tatuya [Tue, 9 Apr 2013 21:46:18 +0000 (14:46 -0700)]
[2831] define MemorySegmentMapped::INITIAL_SIZE explicitly as it's public.
JINMEI Tatuya [Tue, 9 Apr 2013 21:41:58 +0000 (14:41 -0700)]
[2831] use NULL instead of 0; maybe worth discussing, but out of scope of task.
JINMEI Tatuya [Tue, 9 Apr 2013 21:20:57 +0000 (14:20 -0700)]
[2831] more explicitly clarify passing NULL to setNamedAddress.
JINMEI Tatuya [Tue, 9 Apr 2013 21:15:35 +0000 (14:15 -0700)]
[2831] explain the rational behind the difference between allocate/set name
regarding the case where the segment has grown due to the allocation.
JINMEI Tatuya [Tue, 9 Apr 2013 20:55:03 +0000 (13:55 -0700)]
[2831] explain the design rationale of MemorySegmentGrown
Marcin Siodelski [Tue, 9 Apr 2013 20:30:40 +0000 (22:30 +0200)]
[991] Conditional assignment replaced with if else clause.
This overcomes the build failure on Solaris where it complains about
incompatible types of ? operands.
JINMEI Tatuya [Tue, 9 Apr 2013 20:00:11 +0000 (13:00 -0700)]
[2831] minor editorial fixes: corrected a typo; folded a long line.
Marcin Siodelski [Tue, 9 Apr 2013 19:44:24 +0000 (21:44 +0200)]
[991] Corrected typo in the function name.
Marcin Siodelski [Tue, 9 Apr 2013 19:36:31 +0000 (21:36 +0200)]
[991] Added virtual destructor to the base class.
JINMEI Tatuya [Tue, 9 Apr 2013 19:29:03 +0000 (12:29 -0700)]
[master] editorial: removed a garbage character
Thomas Markwalder [Tue, 9 Apr 2013 19:23:31 +0000 (15:23 -0400)]
[master] Added ChangeLog entry 600.
Thomas Markwalder [Tue, 9 Apr 2013 19:16:32 +0000 (15:16 -0400)]
[master] Merge branch 'trac2837' always use STRICT_SQL mode in
mysql_lease_mgr.
JINMEI Tatuya [Tue, 9 Apr 2013 18:02:51 +0000 (11:02 -0700)]
[2879] some style fixes: improve docstring, folded long lines
JINMEI Tatuya [Tue, 9 Apr 2013 17:06:30 +0000 (10:06 -0700)]
[2387] suggested editorial cleanups to doxygen doc: make it formal and unified.
Marcin Siodelski [Tue, 9 Apr 2013 17:03:50 +0000 (19:03 +0200)]
[991] Addressed review comments.
Jeremy C. Reed [Tue, 9 Apr 2013 15:09:48 +0000 (10:09 -0500)]
[master] fix regression in MasterLoaderTest
I introduced problem by fixing a typo in a comment in a zone file.
The character positions or file sizes of the file were hardcoded
in the unit test. I had seen the failure on my system but didn't
associate it. (My mistake for not looking closely.)
The typo fix added one character so changed the hardcoded 549 to 500
and 506 to 507.
(Later maybe some macros should be used for this?)
Jeremy C. Reed [Tue, 9 Apr 2013 13:17:34 +0000 (08:17 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
merged
Jeremy C. Reed [Tue, 9 Apr 2013 13:15:22 +0000 (08:15 -0500)]
[master] many spelling or typo fixes
mostly in documentation or in comments
reviewed by muks via jabber
includes output changes for two isc_throw.
Michal 'vorner' Vaner [Tue, 9 Apr 2013 13:14:53 +0000 (15:14 +0200)]
Merge #2888
Fix failure to connect in msgq tests.
Thomas Markwalder [Tue, 9 Apr 2013 11:39:45 +0000 (07:39 -0400)]
[2784] Corrected syntax errors due to premature checkin.
Stephen Morris [Tue, 9 Apr 2013 11:26:31 +0000 (12:26 +0100)]
[2837] Fixed omissions from previous review corrections
Added braces to a single-line "if" statement. Also corrected
some comments and removed trailing spaces from some statements.
Michal 'vorner' Vaner [Tue, 9 Apr 2013 11:23:27 +0000 (13:23 +0200)]
[2877] Document new column
Describe the value of the column in the NSEC3 case.
Thomas Markwalder [Tue, 9 Apr 2013 11:21:17 +0000 (07:21 -0400)]
[2784] Addressed review comments.
Thomas Markwalder [Tue, 9 Apr 2013 10:55:06 +0000 (06:55 -0400)]
[2837] Addressed review comments.
Mukund Sivaraman [Tue, 9 Apr 2013 08:42:34 +0000 (14:12 +0530)]
[2831] Make some more minor comment updates
Mukund Sivaraman [Tue, 9 Apr 2013 08:02:26 +0000 (13:32 +0530)]
[2831] Use chmod() function instead of calling a program
Mukund Sivaraman [Tue, 9 Apr 2013 07:56:15 +0000 (13:26 +0530)]
[2831] Add some more checks when the segment is grown
It also makes use a of a prev_size variable (based on the initial
returned segment size).
Mukund Sivaraman [Tue, 9 Apr 2013 07:50:46 +0000 (13:20 +0530)]
[2831] Test getSize() directly with the new size, before and after reset
Mukund Sivaraman [Tue, 9 Apr 2013 07:49:28 +0000 (13:19 +0530)]
[2831] Make some more minor comment updates
Mukund Sivaraman [Tue, 9 Apr 2013 05:50:27 +0000 (11:20 +0530)]
[2387] Rearrange code
Mukund Sivaraman [Tue, 9 Apr 2013 05:48:28 +0000 (11:18 +0530)]
[2387] Move text about missing key data to the constructor API doc
Mukund Sivaraman [Tue, 9 Apr 2013 05:31:47 +0000 (11:01 +0530)]
[2387] Add comments on use of auto_ptr
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).