]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Tue, 4 Sep 2012 17:17:27 +0000 (19:17 +0200)]
[2109] ZoneFinder for the improved memory datasource
Moved out the ZoneFinder-specific classes and code from memory_datasrc.[h|cc] into memory/zonefinder.[h|cc]
The new code is mostly similar to the original, but using the new data structures instead of the old. It is also no longer templated (not necessary anymore) and no longer uses the pimpl (also no longer relevant), so it should be somewhat easier to read and modify.
JINMEI Tatuya [Fri, 31 Aug 2012 01:58:29 +0000 (10:58 +0900)]
[2098] one minor comment update reflecting recent code changes
JINMEI Tatuya [Fri, 31 Aug 2012 01:32:13 +0000 (10:32 +0900)]
[2098] a minor grammar fix in document
JINMEI Tatuya [Fri, 31 Aug 2012 01:28:40 +0000 (10:28 +0900)]
[2098] explicitly confirm unexpected method calls result in exception.
JINMEI Tatuya [Fri, 31 Aug 2012 01:18:23 +0000 (10:18 +0900)]
[2098] cleanup: removed commented-out unused method parameter.
JINMEI Tatuya [Fri, 31 Aug 2012 01:16:15 +0000 (10:16 +0900)]
[2098] use a real name object for real name instead of serialized labelseqs
It will simplify various parts of the code.
Name object is expensive, but either way it involves memory allocation
anyway, so performance impact wouldn't be much different.
JINMEI Tatuya [Fri, 31 Aug 2012 00:57:53 +0000 (09:57 +0900)]
[2098] try to improve in-method comments for isSameKind()
JINMEI Tatuya [Fri, 31 Aug 2012 00:43:15 +0000 (09:43 +0900)]
[2098] unified the normal and truncation toWire test cases.
JINMEI Tatuya [Fri, 31 Aug 2012 00:01:08 +0000 (17:01 -0700)]
[2098] editorial cleanup: removed unnecessary postfix in variable names
JINMEI Tatuya [Thu, 30 Aug 2012 23:58:34 +0000 (16:58 -0700)]
[2098] make sure unexpected method call doesn't happen by exception/assert
JINMEI Tatuya [Thu, 30 Aug 2012 23:43:57 +0000 (16:43 -0700)]
[2098] silence cppcheck warnings
they are basically false positives, but addressing them is not difficult
so I modified the code rather than suppressing them.
JINMEI Tatuya [Wed, 29 Aug 2012 19:20:44 +0000 (12:20 -0700)]
[2098] [master] add cppcheck suppression rule for an intentional self-equivalence test
okayed on jabber.
JINMEI Tatuya [Thu, 30 Aug 2012 00:28:34 +0000 (17:28 -0700)]
[2098] cleanup: removed space in a blank line.
JINMEI Tatuya [Thu, 30 Aug 2012 00:23:11 +0000 (17:23 -0700)]
[2098] added a simple micro benchmark test for rendering TreeNodeRRsets.
JINMEI Tatuya [Wed, 29 Aug 2012 23:40:06 +0000 (16:40 -0700)]
[2098] documentation update
JINMEI Tatuya [Wed, 29 Aug 2012 23:06:48 +0000 (16:06 -0700)]
[2098] cleanup: removed now-unnecessary header file
JINMEI Tatuya [Wed, 29 Aug 2012 23:06:22 +0000 (16:06 -0700)]
[2098] supported isSameKind.
JINMEI Tatuya [Wed, 29 Aug 2012 21:31:50 +0000 (14:31 -0700)]
[2098] cleanup: removed now-unecessary definitions
now that we've rebased on a newer version of master.
JINMEI Tatuya [Wed, 29 Aug 2012 21:31:10 +0000 (14:31 -0700)]
[2098] supported wildcard-expanded owner names
JINMEI Tatuya [Wed, 29 Aug 2012 18:27:20 +0000 (11:27 -0700)]
[2098] checked RRSIG only cases.
the implementation already covers such cases. just adding tests to confirm
the behavior.
JINMEI Tatuya [Wed, 29 Aug 2012 17:56:16 +0000 (10:56 -0700)]
[2098] supported toText().
JINMEI Tatuya [Wed, 29 Aug 2012 17:03:12 +0000 (10:03 -0700)]
[2098] tested some more basic cases
JINMEI Tatuya [Wed, 29 Aug 2012 16:49:06 +0000 (09:49 -0700)]
[2098] added truncation case with 2 RRSIGs
JINMEI Tatuya [Wed, 29 Aug 2012 07:45:28 +0000 (00:45 -0700)]
[2098] resolved other conflict after rebase on master
JINMEI Tatuya [Wed, 29 Aug 2012 07:10:33 +0000 (00:10 -0700)]
[2098] supported truncation case
also cleaned up the code by unifying the common rendering logic for main
and RRSIG RRs.
JINMEI Tatuya [Wed, 29 Aug 2012 01:52:20 +0000 (18:52 -0700)]
[2098] supportd rdata iterator
JINMEI Tatuya [Wed, 29 Aug 2012 01:02:15 +0000 (18:02 -0700)]
[2098] supported getName()
JINMEI Tatuya [Wed, 29 Aug 2012 00:54:04 +0000 (17:54 -0700)]
[2098] supported toWire for renderer, still skipping some advanced cases.
JINMEI Tatuya [Tue, 28 Aug 2012 00:33:30 +0000 (17:33 -0700)]
[2098] copy getAbsoluteLabels() from rbtree with trivial modifications.
we need to it for TreeNodeRRset::toWire() (actually this method was
introduced exactly for that purpose).
JINMEI Tatuya [Tue, 28 Aug 2012 00:21:16 +0000 (17:21 -0700)]
[2098] some additional changes to making writeName virtual in the base class.
JINMEI Tatuya [Tue, 28 Aug 2012 00:18:50 +0000 (17:18 -0700)]
[2098] move the MessageRenderer: writeName to the base call as virtual method.
The TreeNodeRRset version will need to use that.
JINMEI Tatuya [Sat, 25 Aug 2012 07:15:44 +0000 (00:15 -0700)]
[2098] added base definition of TreeNodeRRset and some simple methods.
JINMEI Tatuya [Wed, 29 Aug 2012 04:41:40 +0000 (21:41 -0700)]
[master] Merge branch 'trac2107merge'
Naoki Kambe [Wed, 29 Aug 2012 02:03:37 +0000 (11:03 +0900)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Mukund Sivaraman [Wed, 29 Aug 2012 01:30:36 +0000 (07:00 +0530)]
[2107] Fix a typo in a comment
Naoki Kambe [Wed, 29 Aug 2012 01:26:28 +0000 (10:26 +0900)]
[master] updated ChangeLog
- updated git id of the ChangeLog entry for #2179
- removed a conflict marker around the entry 458
Naoki Kambe [Wed, 29 Aug 2012 01:21:39 +0000 (10:21 +0900)]
[master] Merge branch 'trac2179'
Conflicts:
ChangeLog
Mukund Sivaraman [Wed, 29 Aug 2012 00:39:22 +0000 (06:09 +0530)]
Merge branch 'master' into trac2165_2
JINMEI Tatuya [Wed, 29 Aug 2012 00:09:26 +0000 (17:09 -0700)]
[2107merge] Merge branch 'trac2107' into trac2107merge with fixing conflicts.
Conflict resolution is mostly straightforward adujstment for the latest
interface, but it's not super trivial and should be reviewed.
JINMEI Tatuya [Tue, 28 Aug 2012 22:20:40 +0000 (15:20 -0700)]
[2107] have DomainTreeNode::setData() return pointer to old data.
added some test cases to confirm the behavior; update the doc.
JINMEI Tatuya [Tue, 28 Aug 2012 22:01:36 +0000 (15:01 -0700)]
[2107] define "find rdataset" method as a static method of the class.
with notes about the intent.
JINMEI Tatuya [Tue, 28 Aug 2012 21:34:20 +0000 (14:34 -0700)]
[2107] renamed exception-safety tests for ZoneDataTest with more comments.
hopefully the new name better represents the intent.
JINMEI Tatuya [Tue, 28 Aug 2012 21:32:01 +0000 (14:32 -0700)]
[2107] clarified getter/for-modify methods in ZoneData doc.
JINMEI Tatuya [Tue, 28 Aug 2012 21:15:48 +0000 (14:15 -0700)]
[2107] doc update: more explicit about modify method of NSEC3Data.
JINMEI Tatuya [Tue, 28 Aug 2012 21:10:30 +0000 (14:10 -0700)]
[2107] s/WILD_NODE/WILDCARD_NODE/ as suggested in the review
JINMEI Tatuya [Tue, 28 Aug 2012 21:08:17 +0000 (14:08 -0700)]
[2107] editorial cleanup: removed a leftover comment-out'ed line
JINMEI Tatuya [Tue, 28 Aug 2012 21:06:51 +0000 (14:06 -0700)]
[2107] minor editorial update: make sure \c is in the same line as its target.
not sure if it's absolute necessary for doxygen to process it, but I thought
it's more readable anyway.
JINMEI Tatuya [Tue, 28 Aug 2012 20:20:31 +0000 (13:20 -0700)]
[master] Merge branch 'trac2097'
Michal 'vorner' Vaner [Tue, 28 Aug 2012 09:32:00 +0000 (11:32 +0200)]
Merge #2096
Conflicts:
src/lib/datasrc/memory/Makefile.am
JINMEI Tatuya [Tue, 28 Aug 2012 09:26:51 +0000 (11:26 +0200)]
[2096] Clarify about small optimisation
Mostly by jinmei, small changes by vorner (assert->throw, as assert can
be turned off).
Michal 'vorner' Vaner [Tue, 28 Aug 2012 09:21:01 +0000 (11:21 +0200)]
[2096] Document naming intention
Mukund Sivaraman [Tue, 28 Aug 2012 05:37:56 +0000 (11:07 +0530)]
[2107] Add minor spacing
Mukund Sivaraman [Tue, 28 Aug 2012 05:29:30 +0000 (10:59 +0530)]
[2107] Change the order of some terms in expression
... just for clarity that the length comes first, and that this is not
some zero terminated buffer.
Mukund Sivaraman [Tue, 28 Aug 2012 03:29:19 +0000 (08:59 +0530)]
[2107] Make some more comment updates
Mukund Sivaraman [Tue, 28 Aug 2012 02:48:08 +0000 (08:18 +0530)]
[2107] Make minor comment upates
Naoki Kambe [Tue, 28 Aug 2012 02:46:37 +0000 (11:46 +0900)]
[2179] updated the ChangeLog entry for #2179
updated the entry according to the reviewer's comment:
- corrected the word: changed "differential" updates to "partial" updates as it is
- a few language improvements
- tabify: translate 8-spaces to tab
JINMEI Tatuya [Mon, 27 Aug 2012 22:57:52 +0000 (15:57 -0700)]
[2107] clarified the ownership of DomainTree data.
JINMEI Tatuya [Mon, 27 Aug 2012 22:42:30 +0000 (15:42 -0700)]
[2107] fixed a use-after-free bug in rdataSetDeleter.
JINMEI Tatuya [Mon, 27 Aug 2012 22:28:41 +0000 (15:28 -0700)]
[2107] updated doc for MemorySegmentTest, with correction and clarification.
JINMEI Tatuya [Mon, 27 Aug 2012 22:15:18 +0000 (15:15 -0700)]
[2107] added explicit tests for SegmentObjectHolderTest.
JINMEI Tatuya [Mon, 27 Aug 2012 21:46:13 +0000 (14:46 -0700)]
[2107] clearly separated mutable and immutable versions of getNext().
and tested for both versions.
JINMEI Tatuya [Mon, 27 Aug 2012 21:36:58 +0000 (14:36 -0700)]
[2107] add explicit tests for RdataSet::getNext()
Mukund Sivaraman [Mon, 27 Aug 2012 18:15:34 +0000 (23:45 +0530)]
[2165] Remove effects that were used during EDNS testing
JINMEI Tatuya [Mon, 27 Aug 2012 17:48:43 +0000 (10:48 -0700)]
[master] Merge branch 'trac2216'
JINMEI Tatuya [Mon, 27 Aug 2012 17:48:07 +0000 (10:48 -0700)]
[master] fixed a trivial typo in AUTH_SEND_NORMAL_RESPONSE
okayed on jabber
Mukund Sivaraman [Mon, 27 Aug 2012 17:28:35 +0000 (22:58 +0530)]
[2165] Test RRType::RRSIG() query when FIND_DNSSEC is not passed
Tomek Mrugalski [Mon, 27 Aug 2012 14:13:10 +0000 (16:13 +0200)]
Merge branch 'trac2040'
Kazunori Fujiwara [Mon, 27 Aug 2012 09:12:47 +0000 (18:12 +0900)]
[2138] Merge branch 'master' into trac2138
Jelte Jansen [Mon, 27 Aug 2012 07:37:32 +0000 (09:37 +0200)]
[master] update Changelog for merge of #2178
Jelte Jansen [Mon, 27 Aug 2012 07:34:56 +0000 (09:34 +0200)]
[master] Merge branch 'trac2178'
Mukund Sivaraman [Mon, 27 Aug 2012 01:59:51 +0000 (07:29 +0530)]
[2107] Fix another API doc issue in LabelSequence::equals()
Mukund Sivaraman [Mon, 27 Aug 2012 01:36:09 +0000 (07:06 +0530)]
[2165] Fix answer section count in comment
Mukund Sivaraman [Mon, 27 Aug 2012 01:35:48 +0000 (07:05 +0530)]
[2165] Don't continue and render RRSIGs if data is truncated
Naoki Kambe [Mon, 27 Aug 2012 01:23:15 +0000 (10:23 +0900)]
[master] added the reviewed ChangeLog entry for #2136, #2137, and #2138
When merging trac2138,
- Git id of #2138 on the ChangeLog entry will be updated.
- Skipped tests on tests/system/bindctl/tests.sh will be uncommented out.
Naoki Kambe [Mon, 27 Aug 2012 01:12:23 +0000 (10:12 +0900)]
[master] Merge branch 'trac2137'
Naoki Kambe [Mon, 27 Aug 2012 01:12:07 +0000 (10:12 +0900)]
[master] Merge branch 'trac2136'
Conflicts:
tests/system/bindctl/nsx1/b10-config.db.template.in
Mukund Sivaraman [Sun, 26 Aug 2012 23:52:02 +0000 (05:22 +0530)]
[2165] Add TODO to commented out test code
Mukund Sivaraman [Sun, 26 Aug 2012 23:39:33 +0000 (05:09 +0530)]
[2165] Update comment
Mukund Sivaraman [Sun, 26 Aug 2012 23:10:57 +0000 (04:40 +0530)]
[2165] Move ZoneFinder::stripRRsigs() into a .cc file
Mukund Sivaraman [Sun, 26 Aug 2012 22:37:44 +0000 (04:07 +0530)]
[2165] Rename variables
Mukund Sivaraman [Sun, 26 Aug 2012 22:19:17 +0000 (03:49 +0530)]
[2165] Remove another block of redundant code
This seems to be existing code from before #2165. It is also
sub-optimal, so it's better replaced with stripRRsigs().
Mukund Sivaraman [Sun, 26 Aug 2012 22:12:29 +0000 (03:42 +0530)]
[2165] Ignore RRSIG database records if sigs argument is false
This avoids some more processing if RRSIGs are not requested.
DatabaseClientTest.invalidRdata was adjusted to call find() with
ZoneFinder::FIND_DNSSEC because the invalid RDATA was in the RRSIG.
Mukund Sivaraman [Sun, 26 Aug 2012 22:09:35 +0000 (03:39 +0530)]
[2165] Rename member variable to contain underscore
Mukund Sivaraman [Sun, 26 Aug 2012 22:08:52 +0000 (03:38 +0530)]
[2165] Fix typo in comment
JINMEI Tatuya [Sat, 25 Aug 2012 05:10:34 +0000 (05:10 +0000)]
[master] explicit cast NULL in EXPECT_EQ; some compilers bare NULL.
this fixes build failure reported at:
http://git.bind10.isc.org/~tester/builder//BIND10/
20120825015000 -Solaris10-sparc-Sunstudio/logs/build.out
JINMEI Tatuya [Sat, 25 Aug 2012 04:27:33 +0000 (21:27 -0700)]
[2097] removed now-unneeded files
JINMEI Tatuya [Sat, 25 Aug 2012 00:53:29 +0000 (17:53 -0700)]
[2097] Merge branch 'trac2096' into trac2097 with fixing conflicts.
It's mainly about renaming the header file. Also, define empty
action callbacks within RdataReader again as I noticed it would be
useful for RdataSet implementation (and for some other purposes,
such as additional section processing).
JINMEI Tatuya [Sat, 25 Aug 2012 00:30:03 +0000 (17:30 -0700)]
[2216] unrelated improvement: catch exceptions from the test body
this sometimes happens, and depending on the environment, what() isn't
always displayed. so it's helpful to catch it and report the error.
JINMEI Tatuya [Sat, 25 Aug 2012 00:25:48 +0000 (17:25 -0700)]
[2216] updated data source configuration using the new API
JINMEI Tatuya [Sat, 25 Aug 2012 00:02:28 +0000 (17:02 -0700)]
[2216] added -d option to dump debug logs
not directly related, but would be useful for extending the benchmark
code and to check the server behavioer.
JINMEI Tatuya [Fri, 24 Aug 2012 22:52:02 +0000 (15:52 -0700)]
[master] Merge branch 'trac2100'
JINMEI Tatuya [Fri, 24 Aug 2012 16:38:03 +0000 (09:38 -0700)]
[2096] restored lost documentation from now-rm'ed rdata_field.h.
also clarified RdataEncodeSpec is a forward delcaration (maybe obvious,
but the sudden single declaration looked a bit awkward)
and, make class-vs-struct consistent for it; clang++ requires the consistency.
Jelte Jansen [Fri, 24 Aug 2012 13:20:13 +0000 (15:20 +0200)]
[2178] reduce try-catch masterloaderror scope
Tomek Mrugalski [Fri, 24 Aug 2012 12:39:56 +0000 (14:39 +0200)]
[2040] Changes after review
Marcin Siodelski [Fri, 24 Aug 2012 11:22:26 +0000 (13:22 +0200)]
[master] Fixed memory leak in IfaceMgr singleton.
Michal 'vorner' Vaner [Fri, 24 Aug 2012 10:15:52 +0000 (12:15 +0200)]
[2096] Minor improvements
* Check for impossible return value and throw in that case.
* Call nextInternal directly, to avoid some indirection. This might
cause a small performance benefit.
Michal 'vorner' Vaner [Fri, 24 Aug 2012 09:45:40 +0000 (11:45 +0200)]
[2096] Reader and encoder merged to the same file
They share some bit of private stuff, so we get rid of the private
header. We still have a bit of the code included from outside, but this
is only for tests (and it's not a header).
JINMEI Tatuya [Fri, 24 Aug 2012 06:26:48 +0000 (23:26 -0700)]
[2178] (unrelated) style nit: adjusted brace position for 'catch'
JINMEI Tatuya [Fri, 24 Aug 2012 06:22:28 +0000 (23:22 -0700)]
[2178] editorial: spacing
JINMEI Tatuya [Fri, 24 Aug 2012 01:29:20 +0000 (18:29 -0700)]
[2178] fixed build error about EXPECT_EQ due to missing operator<<
using EXPECT_EQ(==) instead.