]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Wed, 5 Sep 2012 11:03:33 +0000 (13:03 +0200)]
[2202] Unify class-struct
It should be the same according to the standard, but Clang seems not to
agree with that.
Michal 'vorner' Vaner [Wed, 5 Sep 2012 10:57:20 +0000 (12:57 +0200)]
[2202] Don't use PTHREAD_MUTEX_ROBUST
It seems it isn't portable and it's not very useful check.
Jelte Jansen [Wed, 5 Sep 2012 09:47:05 +0000 (11:47 +0200)]
[master] Merge branch 'trac2160'
Jelte Jansen [Wed, 5 Sep 2012 09:46:21 +0000 (11:46 +0200)]
[2160] add comment about Message vars in sync_udp_server
Jelte Jansen [Wed, 5 Sep 2012 09:21:31 +0000 (11:21 +0200)]
[master] fix for bsd/osx timeout error
Check if socket has not been closed after timeout in read
discussed on jabber
Michal 'vorner' Vaner [Wed, 5 Sep 2012 08:43:51 +0000 (10:43 +0200)]
[2202] Check the mutex is locked when it should
And update tests so they lock.
Michal 'vorner' Vaner [Wed, 5 Sep 2012 08:14:32 +0000 (10:14 +0200)]
[2202] Debug-only method Mutex::locked
It can be used to check the thing is locked.
Mukund Sivaraman [Wed, 5 Sep 2012 05:32:54 +0000 (11:02 +0530)]
[master] Update .gitignore
Mukund Sivaraman [Wed, 5 Sep 2012 05:32:02 +0000 (11:02 +0530)]
[2108] Save RRsets and call RdataSet::create() with their corresponding RRSIGs
Mukund Sivaraman [Wed, 5 Sep 2012 03:59:11 +0000 (09:29 +0530)]
[2108] Add underscore to member variable
Mukund Sivaraman [Wed, 5 Sep 2012 03:56:05 +0000 (09:26 +0530)]
[2108] Make FindResult return non-const ZoneData
This is to make it work with InMemoryClient::add() method, which will
modify existing zone data.
Stephen Morris [Tue, 4 Sep 2012 19:19:55 +0000 (20:19 +0100)]
[2143] Editorial changes to layout and language
Marcin Siodelski [Tue, 4 Sep 2012 15:23:09 +0000 (17:23 +0200)]
[1959] Minor change in checkExitConditions.
Marcin Siodelski [Tue, 4 Sep 2012 14:39:23 +0000 (16:39 +0200)]
[1959] Implemented changes from the 3rd part of code review.
Michal 'vorner' Vaner [Tue, 4 Sep 2012 10:37:35 +0000 (12:37 +0200)]
Disable broken test
The test may be broken by design. In such case, it should be removed.
But it is left there for now, maybe it's just broken implementation and
someone (the reviewer?) may have an idea how to fix it.
Michal 'vorner' Vaner [Tue, 4 Sep 2012 10:30:00 +0000 (12:30 +0200)]
[2202] Lock whenever we use the client lists
Hopefully at all places.
Any idea how we can test this? That it is locked in all places and that
we didn't forget a place?
Michal 'vorner' Vaner [Tue, 4 Sep 2012 10:08:14 +0000 (12:08 +0200)]
[2202] Add a mutex to the AuthSrv
To be used when accessing the client lists.
Michal 'vorner' Vaner [Tue, 4 Sep 2012 09:15:42 +0000 (11:15 +0200)]
[2202] Implement the mutex
And fix the tests. Some of them were broken a lot, some of them only
little.
Marcin Siodelski [Tue, 4 Sep 2012 09:12:14 +0000 (11:12 +0200)]
[1959] A couple of minor changes to cover second part of the review.
Marcin Siodelski [Tue, 4 Sep 2012 08:25:00 +0000 (10:25 +0200)]
[1959] Implemented changes from the second part of code review.
Jelte Jansen [Tue, 4 Sep 2012 08:17:27 +0000 (10:17 +0200)]
[master] add libdeps to datasrc/memory/benchmarks
Mukund Sivaraman [Tue, 4 Sep 2012 07:48:11 +0000 (13:18 +0530)]
[2108] Fix NSEC3PARAM variable name
Mukund Sivaraman [Tue, 4 Sep 2012 07:47:30 +0000 (13:17 +0530)]
[2108] Fix namespace of node flags
Mukund Sivaraman [Tue, 4 Sep 2012 07:42:28 +0000 (13:12 +0530)]
[2108] Port contextCheck() to new API
Jelte Jansen [Tue, 4 Sep 2012 07:37:57 +0000 (09:37 +0200)]
[master] update Changelog for merge of #357
Jelte Jansen [Tue, 4 Sep 2012 07:36:17 +0000 (09:36 +0200)]
Merge branch 'trac357'
Mukund Sivaraman [Tue, 4 Sep 2012 07:28:26 +0000 (12:58 +0530)]
[2108] Remove use of getClass() which doesn't exist in the Impl class
Mukund Sivaraman [Tue, 4 Sep 2012 07:28:04 +0000 (12:58 +0530)]
[2108] Port NSEC3PARAM check to the new design
Mukund Sivaraman [Tue, 4 Sep 2012 07:14:08 +0000 (12:44 +0530)]
[2108] Rename member variable to contain underscore
Mukund Sivaraman [Tue, 4 Sep 2012 07:12:16 +0000 (12:42 +0530)]
[2108] Update InMemoryClientImpl::add() to use the new design
Mukund Sivaraman [Tue, 4 Sep 2012 07:11:29 +0000 (12:41 +0530)]
[2108] Remove name of unused argument
Mukund Sivaraman [Tue, 4 Sep 2012 07:11:08 +0000 (12:41 +0530)]
[2108] Remove an excess argument
Mukund Sivaraman [Tue, 4 Sep 2012 07:10:51 +0000 (12:40 +0530)]
[2108] Fix use of member variable
Mukund Sivaraman [Tue, 4 Sep 2012 03:30:55 +0000 (09:00 +0530)]
[2108] Add a findZone() variant temporarily to derive from DataSourceClient
Its implementation just throws.
Mukund Sivaraman [Tue, 4 Sep 2012 03:00:47 +0000 (08:30 +0530)]
[2108] Remove unused includes
Mukund Sivaraman [Tue, 4 Sep 2012 03:00:31 +0000 (08:30 +0530)]
[2108] Remove what's left of RBNodeRRset
Mukund Sivaraman [Tue, 4 Sep 2012 02:55:10 +0000 (08:25 +0530)]
[2108] Remove additionals handling code
JINMEI Tatuya [Mon, 3 Sep 2012 14:09:43 +0000 (23:09 +0900)]
[master] worked around dubious compiler behavior on const reference
this workaround should avoid this build error:
http://git.bind10.isc.org/~tester/builder//BIND10/
20120903130000 -FreeBSD8-i386-Clang/logs/build.out
Michal 'vorner' Vaner [Mon, 3 Sep 2012 13:10:06 +0000 (15:10 +0200)]
[2202] Tests for mutex
JINMEI Tatuya [Mon, 3 Sep 2012 12:55:10 +0000 (21:55 +0900)]
[master] Merge branch 'trac2098'
JINMEI Tatuya [Mon, 3 Sep 2012 12:54:27 +0000 (21:54 +0900)]
[2098] made TreeNodeRRset non-copyable explicitly and documented it.
Michal 'vorner' Vaner [Mon, 3 Sep 2012 12:16:47 +0000 (14:16 +0200)]
[2202] Add forgotten test file
Marcin Siodelski [Mon, 3 Sep 2012 12:15:22 +0000 (14:15 +0200)]
[1959] Implemented first set of changes from the code review.
Michal 'vorner' Vaner [Mon, 3 Sep 2012 12:13:14 +0000 (14:13 +0200)]
[2202] Implement Thread wrapper
Michal 'vorner' Vaner [Mon, 3 Sep 2012 11:04:12 +0000 (13:04 +0200)]
Tests for the Thread class
Jelte Jansen [Mon, 3 Sep 2012 10:02:43 +0000 (12:02 +0200)]
[2160] remove superfluous call to message->clear()
Mukund Sivaraman [Mon, 3 Sep 2012 08:55:40 +0000 (14:25 +0530)]
[2108] Update comment
Mukund Sivaraman [Mon, 3 Sep 2012 08:55:16 +0000 (14:25 +0530)]
[2108] Swap the new ZoneData in place when loading a zone
Mukund Sivaraman [Mon, 3 Sep 2012 08:24:51 +0000 (13:54 +0530)]
[2108] Add ZoneTable::setZoneData()
Mukund Sivaraman [Mon, 3 Sep 2012 07:10:17 +0000 (12:40 +0530)]
[2108] Fix addWildCards() further
Mukund Sivaraman [Mon, 3 Sep 2012 06:42:27 +0000 (12:12 +0530)]
[2108] Port addWildcards() to the new design
Mukund Sivaraman [Mon, 3 Sep 2012 00:53:36 +0000 (06:23 +0530)]
[2108] Save file name during load() and implement getFileName()
getFileName() is used by the client list when reloading a zone.
We may also want to add a reload() method in the future.
Jeremy C. Reed [Fri, 31 Aug 2012 23:43:41 +0000 (18:43 -0500)]
[master] use DISTCLEANFILES instead of MAINTAINERCLEANFILES for docs
Jeremy C. Reed [Fri, 31 Aug 2012 19:57:09 +0000 (14:57 -0500)]
[master] fix MAINTAINERCLEANFILES
fix my previous commit; sorry I tested wrong. This changes
+= to just = for first use of MAINTAINERCLEANFILES.
Jeremy C. Reed [Fri, 31 Aug 2012 19:50:09 +0000 (14:50 -0500)]
[master] use MAINTAINERCLEANFILES for man pages
Use "make maintainer-clean" instead of "make distclean" to remove the manpages.
This fixes problem where enduser using tarball does a "make clean"
and loses the maintainer-tarball-provided manpages.
Jeremy C. Reed [Fri, 31 Aug 2012 19:03:10 +0000 (14:03 -0500)]
[master] fix some changelog formatting for previous entry
Jeremy C. Reed [Fri, 31 Aug 2012 19:02:30 +0000 (14:02 -0500)]
[master] add entry for 1687
Jeremy C. Reed [Fri, 31 Aug 2012 18:57:46 +0000 (13:57 -0500)]
[master]Merge branch 'trac1687'
Jeremy C. Reed [Fri, 31 Aug 2012 18:48:14 +0000 (13:48 -0500)]
[master] fix spelling
Fix a misspelling in a log output.
Also fix same misspelling in some comments and unittest output.
Jeremy C. Reed [Fri, 31 Aug 2012 16:18:01 +0000 (11:18 -0500)]
[1687] add missing man page
This has not been reviewed. Let's consider it a stub for now.
Jeremy C. Reed [Fri, 31 Aug 2012 16:16:28 +0000 (11:16 -0500)]
[1687]Merge branch 'master' into trac1687
removed the conflicting generated files
Jeremy C. Reed [Fri, 31 Aug 2012 16:10:58 +0000 (11:10 -0500)]
[master] regenerate log messages docs
Jelte Jansen [Fri, 31 Aug 2012 15:22:59 +0000 (17:22 +0200)]
[2160] Automatically clean message after processMessage()
Jeremy C. Reed [Fri, 31 Aug 2012 14:34:22 +0000 (09:34 -0500)]
[master] add another missing dist file
The tests didn't fail due to missing file. See memory_datasrc_unittest.cc:
EXPECT_THROW(zone_finder_.load(TEST_DATA_DIR "/duplicate_rrset.zone"),
...
EXPECT_THROW(rootzone.load(TEST_DATA_DIR "/duplicate_rrset.zone"),
I assume this is a false-negative because the test successds because
loading still fails.
Maybe that test or "load" should be extended for this, but for now I add
the missing file to EXTRA_DIST.
Jeremy C. Reed [Fri, 31 Aug 2012 14:21:24 +0000 (09:21 -0500)]
[master] add missing dist file
detected by distcheck failure:
http://git.bind10.isc.org/~tester/builder/BIND10-distcheck/
20120831093000 -FreeBSD8-i386/logs/distcheck.out
discussed on jabber
Jelte Jansen [Fri, 31 Aug 2012 13:35:36 +0000 (15:35 +0200)]
[357] set default tcp recv timeout to 5 seconds
Jelte Jansen [Fri, 31 Aug 2012 12:26:56 +0000 (14:26 +0200)]
[357] test for negative timeout config
Jelte Jansen [Fri, 31 Aug 2012 11:58:02 +0000 (13:58 +0200)]
[357] address review comments
- explain 0 value for tcp_recv_timeout
- initialize value in config parser (to 0, it will be set by build() anyway)
Michal 'vorner' Vaner [Fri, 31 Aug 2012 11:55:33 +0000 (13:55 +0200)]
[2202] Minimal thread interface
To test the Mutexes, we'll need to run threads. So this is mostly to
support some tests for now, but it'll be needed later too.
Michal 'vorner' Vaner [Fri, 31 Aug 2012 11:08:53 +0000 (13:08 +0200)]
[2202] Interface of Mutex wrapper
Created with minimalistic set of functionality. Created a new library
for it, there'll be more thread-related stuff here.
Michal 'vorner' Vaner [Fri, 31 Aug 2012 08:33:51 +0000 (10:33 +0200)]
Changelog for #2188
Michal 'vorner' Vaner [Fri, 31 Aug 2012 08:31:55 +0000 (10:31 +0200)]
Merge #2188
b10-loadzone tries to remove comments from RData strings
Naoki Kambe [Fri, 31 Aug 2012 06:34:56 +0000 (15:34 +0900)]
[2158] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2158
Conflicts:
ChangeLog
Naoki Kambe [Fri, 31 Aug 2012 06:32:52 +0000 (15:32 +0900)]
[2158] fixed full qualified class name
JINMEI Tatuya [Fri, 31 Aug 2012 01:58:29 +0000 (10:58 +0900)]
[2098] one minor comment update reflecting recent code changes
Mukund Sivaraman [Fri, 31 Aug 2012 00:17:30 +0000 (05:47 +0530)]
[2108] Add an InMemoryClient implementation
This commit contains:
* skeleton with load() ported
* findNSEC3() ported
The rest isn't, and won't compile currently.
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.
Mukund Sivaraman [Thu, 30 Aug 2012 23:21:08 +0000 (04:51 +0530)]
[2108] Add initial interface for InMemoryClient
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.
Tomek Mrugalski [Thu, 30 Aug 2012 15:19:28 +0000 (17:19 +0200)]
[2143] DHCP Performance measurements
- DHCP benchmarks run
- DHCP Performance Guide updated with precompiled statement results
Jelte Jansen [Thu, 30 Aug 2012 13:43:44 +0000 (15:43 +0200)]
[master] add missing LDADD to benchmark makefile
Michal 'vorner' Vaner [Thu, 30 Aug 2012 12:34:32 +0000 (14:34 +0200)]
Merge #2180
Warn administrator when creating an empty SQLite data source.
Jelte Jansen [Thu, 30 Aug 2012 12:21:20 +0000 (14:21 +0200)]
[357] update bind10-guide and auth manpage
Jelte Jansen [Thu, 30 Aug 2012 11:51:59 +0000 (13:51 +0200)]
[357] update doxygen and comments
Tomek Mrugalski [Thu, 30 Aug 2012 08:41:02 +0000 (10:41 +0200)]
[2143]: MySQL DHCP benchmark now works with -Ofast
JINMEI Tatuya [Thu, 30 Aug 2012 00:54:22 +0000 (17:54 -0700)]
[2180] s/Bind10/BIND 10/
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.
Jeremy C. Reed [Wed, 29 Aug 2012 22:00:01 +0000 (17:00 -0500)]
[master] add missing header file
distcheck failed since wasn't listed