]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
14 years ago[2133] Update the guide about data_sources
Michal 'vorner' Vaner [Wed, 1 Aug 2012 13:09:56 +0000 (15:09 +0200)] 
[2133] Update the guide about data_sources

Describe the data sources in the guide.

14 years ago[2133] Don't use defaults in lettuce
Michal 'vorner' Vaner [Wed, 1 Aug 2012 12:36:01 +0000 (14:36 +0200)] 
[2133] Don't use defaults in lettuce

Because the defaults include references to files in install directory
and lettuce breaks when the files are not yet installed. This should fix
bug #2159 as well.

14 years ago[2133] Provide reasonable default for data_sources
Michal 'vorner' Vaner [Wed, 1 Aug 2012 12:32:16 +0000 (14:32 +0200)] 
[2133] Provide reasonable default for data_sources

Include the default sqlite3 database as well. This is easier than
documenting everything and it would just work.

14 years ago[master] Merge branch 'trac2093'
Jelte Jansen [Wed, 1 Aug 2012 08:39:55 +0000 (10:39 +0200)] 
[master] Merge branch 'trac2093'

14 years ago[master] Merge branch 'trac2095' with fixing conflicts.
JINMEI Tatuya [Tue, 31 Jul 2012 16:58:28 +0000 (09:58 -0700)] 
[master] Merge branch 'trac2095' with fixing conflicts.

14 years ago[2095] update comments based on review feedback
JINMEI Tatuya [Tue, 31 Jul 2012 16:45:26 +0000 (09:45 -0700)] 
[2095] update comments based on review feedback

- make assumptions in the spec more accurate
- move some block of comments closer to the corresponding code for readability

14 years ago[2093] fixed a typo in a comment
JINMEI Tatuya [Tue, 31 Jul 2012 15:47:22 +0000 (08:47 -0700)] 
[2093] fixed a typo in a comment

14 years ago[2093] addressed review comment
Jelte Jansen [Tue, 31 Jul 2012 12:17:29 +0000 (14:17 +0200)] 
[2093] addressed review comment

- fixed a doxygen line
- added a few corner-case tests

14 years ago[2093] constify
JINMEI Tatuya [Tue, 31 Jul 2012 06:36:46 +0000 (23:36 -0700)] 
[2093] constify

14 years ago[2095] introduce a wrapper for encode() to do overrun checks consistently.
JINMEI Tatuya [Mon, 30 Jul 2012 20:00:26 +0000 (13:00 -0700)] 
[2095] introduce a wrapper for encode() to do overrun checks consistently.

14 years ago[2095] simplified RdataFieldComposer::updateOtherData().
JINMEI Tatuya [Mon, 30 Jul 2012 18:56:20 +0000 (11:56 -0700)] 
[2095] simplified RdataFieldComposer::updateOtherData().

it didn't have to be a loop because of implicit assumptions on how the fields
are to be composed.  the simpler version should be more understandable.
the assumptions are now more explicitly documented.  also, one more test case
was added.

14 years ago[2095] tried to improve an exception what() message.
JINMEI Tatuya [Mon, 30 Jul 2012 16:55:19 +0000 (09:55 -0700)] 
[2095] tried to improve an exception what() message.

in response to a review comment.

14 years ago[2095] [2091a] removed redundant consts.
JINMEI Tatuya [Mon, 23 Jul 2012 18:50:10 +0000 (11:50 -0700)] 
[2095] [2091a] removed redundant consts.

14 years ago[2093] rename method to getAbsoluteLabels()
Jelte Jansen [Mon, 30 Jul 2012 15:22:48 +0000 (17:22 +0200)] 
[2093] rename method to getAbsoluteLabels()

14 years ago[2093] some more minor cleanups
Jelte Jansen [Mon, 30 Jul 2012 15:16:47 +0000 (17:16 +0200)] 
[2093] some more minor cleanups

14 years ago[2093] minor cleanup
Jelte Jansen [Mon, 30 Jul 2012 14:56:54 +0000 (16:56 +0200)] 
[2093] minor cleanup

14 years ago[2093] doxygen for getAbsoluteLabelSequence()
Jelte Jansen [Mon, 30 Jul 2012 14:05:43 +0000 (16:05 +0200)] 
[2093] doxygen for getAbsoluteLabelSequence()

14 years ago[2093] add RBNode<T>::getAbsoluteLabelSequence()
Jelte Jansen [Mon, 30 Jul 2012 12:50:42 +0000 (14:50 +0200)] 
[2093] add RBNode<T>::getAbsoluteLabelSequence()

14 years ago[master] use std:: before memcpy/memmove
Jelte Jansen [Mon, 30 Jul 2012 12:07:41 +0000 (14:07 +0200)] 
[master] use std:: before memcpy/memmove

14 years ago[master] reverted a small comment merge mistake
Jelte Jansen [Mon, 30 Jul 2012 09:08:19 +0000 (11:08 +0200)] 
[master] reverted a small comment merge mistake

14 years ago[master] Merge branch 'trac2148'
Jelte Jansen [Mon, 30 Jul 2012 09:03:09 +0000 (11:03 +0200)] 
[master] Merge branch 'trac2148'

Conflicts:
src/lib/dns/labelsequence.h

14 years ago[2148] fix typo in comment
Jelte Jansen [Mon, 30 Jul 2012 08:55:56 +0000 (10:55 +0200)] 
[2148] fix typo in comment

14 years agoMerge branch 'master' into trac2124
Mukund Sivaraman [Sun, 29 Jul 2012 21:06:47 +0000 (02:36 +0530)] 
Merge branch 'master' into trac2124

14 years ago[2124] Don't catch InvalidBufferPosition when parsing wiredata
Mukund Sivaraman [Sun, 29 Jul 2012 21:03:18 +0000 (02:33 +0530)] 
[2124] Don't catch InvalidBufferPosition when parsing wiredata

14 years ago[2124] Rewrite code to avoid duplication
Mukund Sivaraman [Sun, 29 Jul 2012 20:53:52 +0000 (02:23 +0530)] 
[2124] Rewrite code to avoid duplication

14 years agoMerge branch 'master' into trac2106
Mukund Sivaraman [Sun, 29 Jul 2012 20:09:15 +0000 (01:39 +0530)] 
Merge branch 'master' into trac2106

14 years ago[2106] Rewrite code to avoid using a variable
Mukund Sivaraman [Sun, 29 Jul 2012 20:02:02 +0000 (01:32 +0530)] 
[2106] Rewrite code to avoid using a variable

14 years agoMerge branch 'master' into trac2092_2
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.

14 years ago[2092] Add comment about pointer dereference asked by reviewer
Mukund Sivaraman [Sun, 29 Jul 2012 17:54:31 +0000 (23:24 +0530)] 
[2092] Add comment about pointer dereference asked by reviewer

14 years ago[master] qualify memcpy with std::, it won't compile with sunstudio otherwise.
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.

14 years ago[2095] include <cstring> for memcpy and qualify it with std::
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.

14 years ago[2095] editorial cleanups in doc.
JINMEI Tatuya [Sun, 29 Jul 2012 04:24:44 +0000 (21:24 -0700)] 
[2095] editorial cleanups in doc.

14 years ago[master] Merge branch 'trac2091b'
JINMEI Tatuya [Sat, 28 Jul 2012 23:47:33 +0000 (16:47 -0700)] 
[master] Merge branch 'trac2091b'

14 years ago[2091b] removed the assert from getLabels(), which will soon be moot anyway.
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.

14 years ago[master] fixed a typo in doxygen doc.
JINMEI Tatuya [Fri, 27 Jul 2012 23:02:51 +0000 (16:02 -0700)] 
[master] fixed a typo in doxygen doc.
trivial, direct commit.

14 years ago[master] corrected trivial style matters I happened to notice.
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.

14 years ago[master]Merge branch 'trac1999'
Jeremy C. Reed [Fri, 27 Jul 2012 15:59:54 +0000 (10:59 -0500)] 
[master]Merge branch 'trac1999'

14 years ago[2148] Address review comments
Jelte Jansen [Fri, 27 Jul 2012 14:18:26 +0000 (16:18 +0200)] 
[2148] Address review comments

- typos
- few code fixes
- test updates

14 years ago[2124] some editorial fixes to test data comments
JINMEI Tatuya [Fri, 27 Jul 2012 07:33:58 +0000 (00:33 -0700)] 
[2124] some editorial fixes to test data comments

14 years ago[2124] prefer empty() over size() > 0 (see the previous commit)
JINMEI Tatuya [Fri, 27 Jul 2012 07:27:05 +0000 (00:27 -0700)] 
[2124] prefer empty() over size() > 0 (see the previous commit)

14 years ago[2124] some suggested changes:
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

14 years ago[2106] updated documentation
JINMEI Tatuya [Fri, 27 Jul 2012 06:56:00 +0000 (23:56 -0700)] 
[2106] updated documentation

14 years ago[2106] Change variable naming slightly
Mukund Sivaraman [Fri, 27 Jul 2012 05:38:37 +0000 (11:08 +0530)] 
[2106] Change variable naming slightly

14 years ago[2106] Remove Name variant of a RBTree::find() method
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.

14 years ago[2095] a few more editorial fixes to comments.
JINMEI Tatuya [Thu, 26 Jul 2012 22:21:16 +0000 (15:21 -0700)] 
[2095] a few more editorial fixes to comments.

14 years ago[2124] Rename SSHFP getter methods
Mukund Sivaraman [Thu, 26 Jul 2012 17:03:46 +0000 (22:33 +0530)] 
[2124] Rename SSHFP getter methods

14 years ago[2124] Add another toWire() test
Mukund Sivaraman [Thu, 26 Jul 2012 17:00:14 +0000 (22:30 +0530)] 
[2124] Add another toWire() test

14 years ago[2124] Don't add trailing space in toText() if fingerprint is empty
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.

14 years ago[2124] Don't access fingerprint_ data when size is 0
Mukund Sivaraman [Thu, 26 Jul 2012 16:58:47 +0000 (22:28 +0530)] 
[2124] Don't access fingerprint_ data when size is 0

14 years ago[master] Merge branch 'trac2152'
JINMEI Tatuya [Thu, 26 Jul 2012 16:24:57 +0000 (09:24 -0700)] 
[master] Merge branch 'trac2152'

14 years ago[master] report actual error in masterload
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

14 years ago[2152] don't play the game with union. the init hack didn't work.
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.

14 years ago[2124] don't keep a reference to a temporary object.
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.

14 years ago[2106] Allow RBTree::find() to take LabelSequence
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.

14 years ago[2095] cleanup: removed unnecessary header file.
JINMEI Tatuya [Thu, 26 Jul 2012 06:02:18 +0000 (23:02 -0700)] 
[2095] cleanup: removed unnecessary header file.

14 years ago[2095] more documentation/comment update
JINMEI Tatuya [Thu, 26 Jul 2012 06:00:02 +0000 (23:00 -0700)] 
[2095] more documentation/comment update

14 years ago[2095] doxygen update
JINMEI Tatuya [Thu, 26 Jul 2012 05:40:32 +0000 (22:40 -0700)] 
[2095] doxygen update

14 years ago[2095] two more minor test cases
JINMEI Tatuya [Thu, 26 Jul 2012 00:54:29 +0000 (17:54 -0700)] 
[2095] two more minor test cases

14 years ago[2095] reject too big RRSIG
JINMEI Tatuya [Thu, 26 Jul 2012 00:41:18 +0000 (17:41 -0700)] 
[2095] reject too big RRSIG

14 years ago[2095] supported RRSIG encoding with basic tests
JINMEI Tatuya [Thu, 26 Jul 2012 00:28:19 +0000 (17:28 -0700)] 
[2095] supported RRSIG encoding with basic tests

14 years ago[2095] rejected RRSIG in start()
JINMEI Tatuya [Wed, 25 Jul 2012 22:25:39 +0000 (15:25 -0700)] 
[2095] rejected RRSIG in start()

14 years ago[2095] cleanup: removed now-unused stuff.
JINMEI Tatuya [Wed, 25 Jul 2012 22:18:46 +0000 (15:18 -0700)] 
[2095] cleanup: removed now-unused stuff.

14 years ago[2095] handled various error cases
JINMEI Tatuya [Wed, 25 Jul 2012 22:17:17 +0000 (15:17 -0700)] 
[2095] handled various error cases

14 years ago[master] remove the file generated by unittest
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

14 years ago[2095] added some basic parameter validations.
JINMEI Tatuya [Wed, 25 Jul 2012 19:19:35 +0000 (12:19 -0700)] 
[2095] added some basic parameter validations.

14 years ago[master] the datasrc.spec file is generated so use builddir
Jeremy C. Reed [Wed, 25 Jul 2012 18:14:46 +0000 (13:14 -0500)] 
[master] the datasrc.spec file is generated so use builddir

14 years ago[master] make sure src/bin/auth/tests/testdata is in dist tarball
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

14 years ago[2091b] removed an essentially-redundant assertion check.
JINMEI Tatuya [Wed, 25 Jul 2012 17:32:23 +0000 (10:32 -0700)] 
[2091b] removed an essentially-redundant assertion check.

14 years ago[2091b] cleanup: removed a leftover comment line
JINMEI Tatuya [Wed, 25 Jul 2012 17:27:31 +0000 (10:27 -0700)] 
[2091b] cleanup: removed a leftover comment line

14 years ago[2091b] simplified bitfield swap
JINMEI Tatuya [Wed, 25 Jul 2012 17:26:21 +0000 (10:26 -0700)] 
[2091b] simplified bitfield swap

14 years ago[2091b] more comment clarifications.
JINMEI Tatuya [Wed, 25 Jul 2012 17:15:43 +0000 (10:15 -0700)] 
[2091b] more comment clarifications.

14 years ago[2148] final touches
Jelte Jansen [Wed, 25 Jul 2012 16:50:06 +0000 (18:50 +0200)] 
[2148] final touches

14 years ago[2148] Create test fixture for common names and buf
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)

14 years ago[2091b] doxygen comment wording fix.
JINMEI Tatuya [Wed, 25 Jul 2012 16:28:58 +0000 (09:28 -0700)] 
[2091b] doxygen comment wording fix.

14 years ago[2148] cleanup and documentation
Jelte Jansen [Wed, 25 Jul 2012 16:15:51 +0000 (18:15 +0200)] 
[2148] cleanup and documentation

14 years ago[2148] extend() improvements and more tests
Jelte Jansen [Wed, 25 Jul 2012 16:05:02 +0000 (18:05 +0200)] 
[2148] extend() improvements and more tests

14 years ago[master] regen some docs ; catch up on some doc changes
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.)

14 years ago[2148] minor cleanup
Jelte Jansen [Wed, 25 Jul 2012 13:44:21 +0000 (15:44 +0200)] 
[2148] minor cleanup

14 years ago[2148] add LabelSequence::extend() method
Jelte Jansen [Wed, 25 Jul 2012 13:29:01 +0000 (15:29 +0200)] 
[2148] add LabelSequence::extend() method

14 years ago[master] fix errors with ambiguous types and other boost uses
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.

14 years ago[master] fix "error: reference to `map' is ambiguous"
Jeremy C. Reed [Wed, 25 Jul 2012 12:48:16 +0000 (07:48 -0500)] 
[master] fix "error: reference to `map' is ambiguous"

14 years agoExplicitly use std:: for map
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.

14 years agoDon't require dynamic libs on static link
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.

14 years ago[2148] update doxygen for constructor
Jelte Jansen [Wed, 25 Jul 2012 09:47:54 +0000 (11:47 +0200)] 
[2148] update doxygen for constructor

14 years ago[2148] 'extendable' labelsequence constructor
Jelte Jansen [Wed, 25 Jul 2012 09:41:33 +0000 (11:41 +0200)] 
[2148] 'extendable' labelsequence constructor

14 years ago[2124] Test toWire() with empty fingerprint data
Mukund Sivaraman [Wed, 25 Jul 2012 07:37:40 +0000 (13:07 +0530)] 
[2124] Test toWire() with empty fingerprint data

14 years ago[2124] Handle empty SSHFP fingerprints
Mukund Sivaraman [Wed, 25 Jul 2012 07:04:19 +0000 (12:34 +0530)] 
[2124] Handle empty SSHFP fingerprints

14 years ago[2124] Add wiredata tests where the record is shorter than rdata len indicates
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

14 years ago[2095] tested multi-RDATA cases.
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.

14 years ago[2095] cleanup: removed the old checkData tests. It's now tested via encoder.
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.

14 years ago[2095] added initial version of rdata 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.

14 years ago[2092] Remove some initializers
Mukund Sivaraman [Tue, 24 Jul 2012 22:21:11 +0000 (03:51 +0530)] 
[2092] Remove some initializers

14 years ago[2092] Stop using NULLNODE inside RBNode and RBTree
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.

14 years ago[2095] adjusted utility functions for tests with new LabelSeq interface.
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.

14 years ago[2091a] more clarification on the use of separate memsgmt for each zone.
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.

14 years agoRemove unused function
Michal 'vorner' Vaner [Tue, 24 Jul 2012 13:13:41 +0000 (15:13 +0200)] 
Remove unused function

14 years agoChangelog for #1976
Michal 'vorner' Vaner [Tue, 24 Jul 2012 11:34:37 +0000 (13:34 +0200)] 
Changelog for #1976

14 years agoMerge #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

14 years agoMerge remote-tracking branch 'origin/trac1976-cont-3' into work/merge
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

14 years agoMerge remote-tracking branch 'origin/trac1976-cont-2' 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