]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Thu, 18 Oct 2012 14:40:31 +0000 (16:40 +0200)]
[2210] Add support for reconfigure in datasrc_clients_mgr
Tomek Mrugalski [Thu, 18 Oct 2012 17:35:26 +0000 (19:35 +0200)]
[2324] increaseAddress() added in IterativeAllocator.
Tomek Mrugalski [Thu, 18 Oct 2012 17:33:50 +0000 (19:33 +0200)]
[2324] Basic operations for Memfile_Lease implemented
addLease6(), getLease6(IOAddress), deleteLease6(IOAddress) working.
That is a bare minimum that is required for testing allocation
engine.
JINMEI Tatuya [Thu, 18 Oct 2012 16:17:31 +0000 (09:17 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Thu, 18 Oct 2012 16:16:24 +0000 (09:16 -0700)]
[master] rename lock.h->sync.h, which was changed while #2205 was dev'ed
JINMEI Tatuya [Thu, 18 Oct 2012 16:10:12 +0000 (09:10 -0700)]
[master] Merge branch 'trac2205'
Jeremy C. Reed [Thu, 18 Oct 2012 15:54:00 +0000 (10:54 -0500)]
[master] add missing logger placeholder for RESOLVER_NON_IN_PACKET
See ticket #2366 for details.
Okayed by muks on jabber.
Note that no test checked this and I don't introduce any test
since I am pretty sure this code will no exist in any production
version of a resolver (since won't limit IN only).
Jeremy C. Reed [Thu, 18 Oct 2012 14:42:44 +0000 (09:42 -0500)]
[trac2361]Merge branch 'master' into trac2361
Jeremy C. Reed [Thu, 18 Oct 2012 14:40:55 +0000 (09:40 -0500)]
[trac2361] add new test for CHAOS version.bind and authors.bind TXT
Mukund Sivaraman [Thu, 18 Oct 2012 13:43:02 +0000 (19:13 +0530)]
[2236] Include and use the define from config.h
Mukund Sivaraman [Thu, 18 Oct 2012 13:42:37 +0000 (19:12 +0530)]
[2236] Add status whether debugging is enabled in configure output
This also fixes a bug where the AM_CONDITIONAL was not set properly.
Mukund Sivaraman [Thu, 18 Oct 2012 13:32:36 +0000 (19:02 +0530)]
[2236] Use ENABLE_DEBUG within the lock implementation
Mukund Sivaraman [Thu, 18 Oct 2012 13:32:04 +0000 (19:02 +0530)]
[2236] Add a --enable-debug configure flag
Jelte Jansen [Thu, 18 Oct 2012 13:03:28 +0000 (15:03 +0200)]
[master] remove include of moved file lock.h
(it is now sync.h, which was already included)
Acked on jabber by muks
Jelte Jansen [Thu, 18 Oct 2012 12:19:35 +0000 (14:19 +0200)]
[master] Merge branch 'trac2349'
Conflicts:
src/lib/util/threads/tests/lock_unittest.cc
Jelte Jansen [Thu, 18 Oct 2012 12:16:22 +0000 (14:16 +0200)]
[2205] initialize member signal_count
Stephen Morris [Thu, 18 Oct 2012 10:33:51 +0000 (11:33 +0100)]
[2342] getVersion() is now working
This change adds the code for prepared statement creation and the
template for retrieving information from the database.
Mukund Sivaraman [Thu, 18 Oct 2012 05:22:38 +0000 (10:52 +0530)]
[2208] Update ConfigurableClientList and other bits accordingly
Mukund Sivaraman [Thu, 18 Oct 2012 05:21:47 +0000 (10:51 +0530)]
[2208] Update InMemoryClient to take a ZoneTableSegment in its constructor
Mukund Sivaraman [Thu, 18 Oct 2012 05:20:42 +0000 (10:50 +0530)]
[2208] Make ZoneTableSegmentLocal manage a real ZoneTable object
* Change ZoneTableSegment accordingly
* Make ZoneTable hold its RRClass to use during its destruction
* Use a mock ZoneTableSegmentTest that takes a mem_segment so that
tests can check that all memory is deallocated at teardown.
JINMEI Tatuya [Thu, 18 Oct 2012 00:23:31 +0000 (17:23 -0700)]
[2205] minor style fix: brace position
JINMEI Tatuya [Thu, 18 Oct 2012 00:07:35 +0000 (17:07 -0700)]
[master] temporarily disabled destroyWhileWait due to compat issue with solaris
solaris's pthread_cond_destroy doesn't seem to fail reliably in this case
as the test expects.
JINMEI Tatuya [Wed, 17 Oct 2012 23:18:54 +0000 (16:18 -0700)]
[2205] reordered log messages
JINMEI Tatuya [Wed, 17 Oct 2012 23:17:39 +0000 (16:17 -0700)]
[2205] tried to improve what() message of some test exceptions
JINMEI Tatuya [Wed, 17 Oct 2012 23:15:10 +0000 (16:15 -0700)]
[2205] clarify the accessibility of DataSrcClientsBuilderBase
JINMEI Tatuya [Wed, 17 Oct 2012 23:12:50 +0000 (16:12 -0700)]
[2205] logged really unexpected exception in manager's dtor.
JINMEI Tatuya [Wed, 17 Oct 2012 23:05:51 +0000 (16:05 -0700)]
[2205] some wording fixes in-code documentation
JINMEI Tatuya [Wed, 17 Oct 2012 22:56:27 +0000 (15:56 -0700)]
[2205] avoid referencing post-destructor member variables.
by a bit ugly hack: we specialize some part of the destructor and make
a local copy of these variables so the tests can inspect them later.
JINMEI Tatuya [Wed, 17 Oct 2012 21:45:57 +0000 (14:45 -0700)]
[master] Merge branch 'trac2332'
commit.
commit.
Jelte Jansen [Wed, 17 Oct 2012 21:15:20 +0000 (23:15 +0200)]
[2349] use existing member running_query_ in tests
to delete AbstractRunningQuery objects returned by forward()
Marcin Siodelski [Wed, 17 Oct 2012 20:41:48 +0000 (22:41 +0200)]
[2304] Applied changes suggested in the second code review.
JINMEI Tatuya [Wed, 17 Oct 2012 20:07:40 +0000 (13:07 -0700)]
[2207] minor style cleanup: constify
Marcin Siodelski [Wed, 17 Oct 2012 19:29:08 +0000 (21:29 +0200)]
[2316] Changes according to code review.
JINMEI Tatuya [Wed, 17 Oct 2012 18:44:35 +0000 (11:44 -0700)]
[2207] editorial: folded a long line
JINMEI Tatuya [Wed, 17 Oct 2012 18:38:54 +0000 (11:38 -0700)]
[2207] editorial: folded long lines
JINMEI Tatuya [Wed, 17 Oct 2012 18:38:35 +0000 (11:38 -0700)]
[2207] one more fix of s/reloader/writer/
JINMEI Tatuya [Wed, 17 Oct 2012 17:49:19 +0000 (10:49 -0700)]
[2207] editorial: some more s/reloader/write/ changes in doc.
Stephen Morris [Wed, 17 Oct 2012 17:37:22 +0000 (18:37 +0100)]
[2342] Got the basic "open database" test working.
Tomek Mrugalski [Wed, 17 Oct 2012 16:06:46 +0000 (18:06 +0200)]
[2324] Initial, rough version of allocation engine implemented.
Tomek Mrugalski [Wed, 17 Oct 2012 16:06:05 +0000 (18:06 +0200)]
[2324] duid.h improvements.
JINMEI Tatuya [Wed, 17 Oct 2012 16:05:37 +0000 (09:05 -0700)]
[2332] renamed thread/lock.h to thread/sync.h as it's not only for locks now
Tomek Mrugalski [Wed, 17 Oct 2012 16:05:25 +0000 (18:05 +0200)]
[2324] Subnet now stores last allocated address.
Tomek Mrugalski [Wed, 17 Oct 2012 16:03:31 +0000 (18:03 +0200)]
[2324] LeaseMgr is now a meta-singleton
- only one of its derived classes can be instantiated
JINMEI Tatuya [Wed, 17 Oct 2012 15:59:58 +0000 (08:59 -0700)]
[2332] changed one exception to assert() based on review discussion
Jelte Jansen [Wed, 17 Oct 2012 13:19:43 +0000 (15:19 +0200)]
[master] Merge branch 'trac2223'
Marcin Siodelski [Wed, 17 Oct 2012 11:18:25 +0000 (13:18 +0200)]
[2270] Corrected some minor typos.
Michal 'vorner' Vaner [Wed, 17 Oct 2012 11:11:05 +0000 (13:11 +0200)]
[2207] Style: correct capitalization
Michal 'vorner' Vaner [Wed, 17 Oct 2012 11:10:08 +0000 (13:10 +0200)]
[2207] Test it cleans up automatically
Michal 'vorner' Vaner [Wed, 17 Oct 2012 10:59:23 +0000 (12:59 +0200)]
[2207] Throw better exception
Michal 'vorner' Vaner [Wed, 17 Oct 2012 10:49:49 +0000 (12:49 +0200)]
[2207] The parameter of local writer is Local as well
But the benefit of this change is questionable.
Michal 'vorner' Vaner [Wed, 17 Oct 2012 10:43:55 +0000 (12:43 +0200)]
[2207] Provide strong exception guarantee
Michal 'vorner' Vaner [Wed, 17 Oct 2012 10:23:33 +0000 (12:23 +0200)]
[2207] Update docs of ZoneWriterLocal
They were outdated, for previous version of the interface.
Michal 'vorner' Vaner [Wed, 17 Oct 2012 10:15:05 +0000 (12:15 +0200)]
[2207] Split off the local Writer
Into a separate file. It is not needed to be too public.
Michal 'vorner' Vaner [Wed, 17 Oct 2012 09:58:51 +0000 (11:58 +0200)]
[2207] Better documentation for LoadAction
Michal 'vorner' Vaner [Wed, 17 Oct 2012 09:17:20 +0000 (11:17 +0200)]
[2207] Style: Lines between comments and definitions
Michal 'vorner' Vaner [Wed, 17 Oct 2012 09:14:30 +0000 (11:14 +0200)]
[2207] Rename ZoneUpdater -> ZoneWriter
According to the review, Updater might be misleading.
JINMEI Tatuya [Wed, 17 Oct 2012 02:51:25 +0000 (19:51 -0700)]
[2205] create DataSrcClientsMgr in auth's main() just to confirm it starts/ends
it currently does nothing user-visible.
JINMEI Tatuya [Wed, 17 Oct 2012 00:30:18 +0000 (17:30 -0700)]
[2205] make AUTH_DATASRC_CLIENTS_BUILDER_COMMAND more readable using text.
also explicitly reject invalid command ID, which should be internal bug.
JINMEI Tatuya [Wed, 17 Oct 2012 00:12:46 +0000 (17:12 -0700)]
[2205] overall documentation updates
JINMEI Tatuya [Tue, 16 Oct 2012 22:45:01 +0000 (15:45 -0700)]
[2205] cleanups: use more specific internal namespaces and reorder code
mainly for better readability. no functional change.
JINMEI Tatuya [Tue, 16 Oct 2012 21:15:49 +0000 (14:15 -0700)]
[2207] fixed a minor typo in doc
Mukund Sivaraman [Tue, 16 Oct 2012 19:31:14 +0000 (01:01 +0530)]
Revert "Merge branch 'master' into trac2198_2"
This reverts commit
f8181bb72251fd3d5f33e157d1f2a2a75a58d765 , reversing
changes made to
453b58784344390cbc5375624e6e92a86b4ff3f1 .
Mukund Sivaraman [Tue, 16 Oct 2012 19:29:03 +0000 (00:59 +0530)]
Revert "[master] Link -lpthread in libb10-threads target"
This reverts commit
8d321e3ea9f85227296cfac94a9ce79c7db70fdf .
Mukund Sivaraman [Tue, 16 Oct 2012 19:28:45 +0000 (00:58 +0530)]
Revert "[master] Check for EDEADLK too when using Mutex::tryLock()"
This reverts commit
42c638e07a45b69d902a51b35838ae21ac19d116 .
Mukund Sivaraman [Tue, 16 Oct 2012 19:28:31 +0000 (00:58 +0530)]
Revert "[master] Avoid static destruction fiasco with InterprocessSyncFile and logger"
This reverts commit
34701adba7f7390640c70ba769cdb0b20f01f82c .
Mukund Sivaraman [Tue, 16 Oct 2012 18:47:08 +0000 (00:17 +0530)]
[master] Avoid static destruction fiasco with InterprocessSyncFile and logger
JINMEI Tatuya [Tue, 16 Oct 2012 17:41:42 +0000 (10:41 -0700)]
[2223] editorial: a missing period in comment
Mukund Sivaraman [Tue, 16 Oct 2012 06:24:19 +0000 (11:54 +0530)]
[master] Check for EDEADLK too when using Mutex::tryLock()
Stephen Morris [Tue, 16 Oct 2012 15:39:32 +0000 (16:39 +0100)]
[2342] Added MySQL lease manager and null implementation
Also includes first unit test, which fails.
Marcin Siodelski [Tue, 16 Oct 2012 15:09:47 +0000 (17:09 +0200)]
[2316] Added option collection to the Subnet class.
Jelte Jansen [Tue, 16 Oct 2012 14:09:24 +0000 (16:09 +0200)]
[2349] document member in test class
Jelte Jansen [Tue, 16 Oct 2012 13:54:11 +0000 (15:54 +0200)]
[2349] Revert pimpl classes, make abstract base class
saves a second dynamic allocation (and more importantly, one that couldn't be freed)
Jelte Jansen [Tue, 16 Oct 2012 12:43:42 +0000 (14:43 +0200)]
[2223] some minor cleanups in final review
JINMEI Tatuya [Tue, 16 Oct 2012 06:00:28 +0000 (23:00 -0700)]
[2205] make sure wating for builder thread in the mgr destructor.
on second thought I realized we need to synchronize them because the builder
thread refers to the main thread's class member variables.
shutdown() method is now meaningless so deprecated for now.
Mukund Sivaraman [Tue, 16 Oct 2012 05:04:31 +0000 (10:34 +0530)]
[master] Link -lpthread in libb10-threads target
JINMEI Tatuya [Tue, 16 Oct 2012 03:46:30 +0000 (20:46 -0700)]
[2205] cover the case where Thread.wait() throws.
Mukund Sivaraman [Tue, 16 Oct 2012 01:05:50 +0000 (06:35 +0530)]
Merge branch 'master' into trac2268
JINMEI Tatuya [Tue, 16 Oct 2012 00:35:07 +0000 (17:35 -0700)]
[2205] catch exceptions inside builder and log it.
Mukund Sivaraman [Tue, 16 Oct 2012 00:31:22 +0000 (06:01 +0530)]
Merge branch 'master' into trac2198_2
Mukund Sivaraman [Tue, 16 Oct 2012 00:30:19 +0000 (06:00 +0530)]
[2198] Don't return anything from thread functions
JINMEI Tatuya [Mon, 15 Oct 2012 23:31:18 +0000 (16:31 -0700)]
[2205] handle the case where manager is destroyed without shutdown()
JINMEI Tatuya [Mon, 15 Oct 2012 23:10:12 +0000 (16:10 -0700)]
[2205] small refactoring: extracting send-command part to a thread
we'll use this pattern for other commands.
JINMEI Tatuya [Mon, 15 Oct 2012 23:04:46 +0000 (16:04 -0700)]
[2205] added a test case using a real thread
JINMEI Tatuya [Mon, 15 Oct 2012 22:52:48 +0000 (15:52 -0700)]
[2205] (unrelated small fix) don't define constants in .h. see also #2358.
JINMEI Tatuya [Mon, 15 Oct 2012 22:06:21 +0000 (15:06 -0700)]
[2205] supported manager's shutdown command
JINMEI Tatuya [Mon, 15 Oct 2012 21:30:11 +0000 (14:30 -0700)]
[2205] introduce DataSrcClientsMgr, tested initial startup.
JINMEI Tatuya [Mon, 15 Oct 2012 20:45:53 +0000 (13:45 -0700)]
[2332] added comments about missing pthread_cond_xxx variants
JINMEI Tatuya [Mon, 15 Oct 2012 20:42:24 +0000 (13:42 -0700)]
[2332] fixing typos and wording in doc
JINMEI Tatuya [Mon, 15 Oct 2012 20:39:32 +0000 (13:39 -0700)]
[2332] updated doc for wait() on what should happen if mutex isn't locked.
mentioning pthread_cond_wait() seems to be confusing, so I'd rather
just describing what this method does.
JINMEI Tatuya [Mon, 15 Oct 2012 20:31:04 +0000 (13:31 -0700)]
[2332] Make sure preUnlockAction() doesn't throw when it shouldn't.
adding a parameter to control that.
JINMEI Tatuya [Mon, 15 Oct 2012 20:16:24 +0000 (13:16 -0700)]
[master] added changelog for #1858
JINMEI Tatuya [Mon, 15 Oct 2012 20:13:45 +0000 (13:13 -0700)]
[master] Merge branch 'trac1858'
commit.
JINMEI Tatuya [Mon, 15 Oct 2012 18:21:47 +0000 (11:21 -0700)]
[2332] changed the type of Locker::mutex_ to a reference.
may not be a big deal in such a simple case, but just as suggested in review.
JINMEI Tatuya [Mon, 15 Oct 2012 18:17:21 +0000 (11:17 -0700)]
[2332] renamed a too-short test name a possibly better one
JINMEI Tatuya [Mon, 15 Oct 2012 18:14:56 +0000 (11:14 -0700)]
[2332] use EXPECT_DEATH_IF_SUPPORTED instead of ifdef.
avoiding ifdef is generally better, and _IF_SUPPORTED seems to have been
supported since googletest 1.4 and should be commonly available for us.
JINMEI Tatuya [Mon, 15 Oct 2012 17:16:51 +0000 (10:16 -0700)]
[2223] style fix: brace position
JINMEI Tatuya [Mon, 15 Oct 2012 16:50:00 +0000 (09:50 -0700)]
[2268] use textToRRset instead of building RRset manually
this will make the test code a bit more concise.
Jelte Jansen [Mon, 15 Oct 2012 15:22:05 +0000 (17:22 +0200)]
[2349] forgot to remove a line from makefile as well
Jelte Jansen [Mon, 15 Oct 2012 14:09:50 +0000 (16:09 +0200)]
[2349] forgot to remove a line from configure.ac
Tomek Mrugalski [Mon, 15 Oct 2012 13:55:19 +0000 (15:55 +0200)]
[master] Using the default value of second parameter for substr