]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Tue, 6 Nov 2012 03:29:42 +0000 (08:59 +0530)]
[2353] Indent code
JINMEI Tatuya [Tue, 6 Nov 2012 03:27:25 +0000 (19:27 -0800)]
[2372] further simplification: don't need to save/restore options.
paren_count has all information, and we can handle it completely locally.
JINMEI Tatuya [Tue, 6 Nov 2012 03:17:25 +0000 (19:17 -0800)]
[2372] simplification: we actually don't need END_OF_LINE option.
it can be completely local in Start::handle().
JINMEI Tatuya [Tue, 6 Nov 2012 03:08:13 +0000 (19:08 -0800)]
[2372] handle crlf class
JINMEI Tatuya [Tue, 6 Nov 2012 00:06:56 +0000 (16:06 -0800)]
[2372] make sure last_was_eol becomes false in EOF even with an error
JINMEI Tatuya [Mon, 5 Nov 2012 23:59:10 +0000 (15:59 -0800)]
[2372] handle the case of comment after '('
JINMEI Tatuya [Mon, 5 Nov 2012 23:54:47 +0000 (15:54 -0800)]
[2372] cleanup: we now don't need to pass options to state::handle()
JINMEI Tatuya [Mon, 5 Nov 2012 23:48:37 +0000 (15:48 -0800)]
[2372] localize disabling options in (); we can do this without mutable state.
JINMEI Tatuya [Mon, 5 Nov 2012 22:49:20 +0000 (14:49 -0800)]
[master] changelog for #2356
JINMEI Tatuya [Mon, 5 Nov 2012 22:41:04 +0000 (14:41 -0800)]
[2372] handle comments in the start state
JINMEI Tatuya [Mon, 5 Nov 2012 22:37:29 +0000 (14:37 -0800)]
[master] Merge remote-tracking branch 'origin/trac2356'
Jeremy C. Reed [Mon, 5 Nov 2012 20:40:35 +0000 (14:40 -0600)]
[trac2305] change enable to disable for !verbose off
Jeremy C. Reed [Mon, 5 Nov 2012 20:39:27 +0000 (14:39 -0600)]
[trac2305] remove repeated word
Stephen Morris [Mon, 5 Nov 2012 19:29:39 +0000 (19:29 +0000)]
[2342] Have unit tests create database schema on the fly
The unit tests now create the schema before each test and destroy
it afterwards. This will be more flexible than needing to update
the schema on test machines each time. The drawback is the need
to keep the database creation script in step with the hardcoded
set of SQL statements in the test program.
Stephen Morris [Mon, 5 Nov 2012 18:41:18 +0000 (18:41 +0000)]
[2414] Minor corrections to comments and spacing between operators
JINMEI Tatuya [Mon, 5 Nov 2012 17:32:42 +0000 (09:32 -0800)]
[2371] added notes about the two mode of error handling: retval and exception.
JINMEI Tatuya [Mon, 5 Nov 2012 16:58:31 +0000 (08:58 -0800)]
[2371] cleanup: removed now-unnecessary include
Michal 'vorner' Vaner [Mon, 5 Nov 2012 15:30:04 +0000 (16:30 +0100)]
[2384] Provide a note about used data type
Michal 'vorner' Vaner [Mon, 5 Nov 2012 15:27:39 +0000 (16:27 +0100)]
[2384] Adjust other tests to match
Obviously, the master loader now can accept the TTL units. This is good
news, but we need to adjust the test that checked it throws.
Michal 'vorner' Vaner [Mon, 5 Nov 2012 15:26:20 +0000 (16:26 +0100)]
[2384] Implement the units in TTLs
Michal 'vorner' Vaner [Mon, 5 Nov 2012 14:39:21 +0000 (15:39 +0100)]
[2384] Tests for units in TTL text
They fail, since this is not implemented yet.
Marcin Siodelski [Mon, 5 Nov 2012 14:09:39 +0000 (15:09 +0100)]
[2417] Initialize standard option definitions and keep them in storage.
Marcin Siodelski [Mon, 5 Nov 2012 13:51:02 +0000 (14:51 +0100)]
[2417] Added missing header and corrected typo.
This fixes build issues discovered during code review.
Jelte Jansen [Mon, 5 Nov 2012 13:45:41 +0000 (14:45 +0100)]
[2305] initial addition of bindctl section
Marcin Siodelski [Mon, 5 Nov 2012 08:43:20 +0000 (09:43 +0100)]
[2417] Append configured DHCPv6 options to server's response.
Mukund Sivaraman [Mon, 5 Nov 2012 07:13:00 +0000 (12:43 +0530)]
[2353] Test BoB.reap_children
Stephen Morris [Sun, 4 Nov 2012 20:20:21 +0000 (20:20 +0000)]
[2342] Move all SQL statement definitions to head of file
It is easier to add a new statement to the head of the file rather
than searching through the file for the method in which the prepared
statements are created.
Stephen Morris [Sun, 4 Nov 2012 19:57:05 +0000 (19:57 +0000)]
[2342] Add getLease6 selecting by DUID, IAID and Subnet ID
Mukund Sivaraman [Sun, 4 Nov 2012 17:14:08 +0000 (22:44 +0530)]
[2369] Add InputSource::mark() as a combination of saveLine() and compact()
Mukund Sivaraman [Sun, 4 Nov 2012 17:00:16 +0000 (22:30 +0530)]
[2369] Constify variables in various places
Mukund Sivaraman [Sun, 4 Nov 2012 16:19:56 +0000 (21:49 +0530)]
[2369] Read data from the test file to check the InputSource
Mukund Sivaraman [Sun, 4 Nov 2012 16:10:33 +0000 (21:40 +0530)]
[2369] Use the more specialized std::ifstream instead of std::fstream
Mukund Sivaraman [Sun, 4 Nov 2012 15:58:54 +0000 (21:28 +0530)]
[2369] Rename non-existent filename in test
Stephen Morris [Sat, 3 Nov 2012 18:26:57 +0000 (18:26 +0000)]
[2342] Add selection of Lease6 by DUID and IAID
JINMEI Tatuya [Sat, 3 Nov 2012 00:03:11 +0000 (17:03 -0700)]
[2372] handle non-closed parenthesis error.
JINMEI Tatuya [Fri, 2 Nov 2012 23:44:56 +0000 (16:44 -0700)]
[2372] handle unbalanced parentheses.
JINMEI Tatuya [Fri, 2 Nov 2012 23:25:57 +0000 (16:25 -0700)]
[2372] covered a minor case of initial_ws after skipping a newline
JINMEI Tatuya [Fri, 2 Nov 2012 23:18:43 +0000 (16:18 -0700)]
[2372] internal refactoring: pass original options at the time of start
this will make the overall interface simpler.
JINMEI Tatuya [Fri, 2 Nov 2012 23:03:36 +0000 (16:03 -0700)]
[2372] more parentheses support
JINMEI Tatuya [Fri, 2 Nov 2012 22:29:15 +0000 (15:29 -0700)]
[2372] use the END_OF_STREAM constant instead of hardocded condition of '< 0'
JINMEI Tatuya [Fri, 2 Nov 2012 22:23:52 +0000 (15:23 -0700)]
[2372] more conflict resolution that git didn't detect.
JINMEI Tatuya [Fri, 2 Nov 2012 22:23:32 +0000 (15:23 -0700)]
[2372] more conflict resolution
JINMEI Tatuya [Fri, 2 Nov 2012 22:21:07 +0000 (15:21 -0700)]
[2371] more comment wording adjustments
JINMEI Tatuya [Fri, 2 Nov 2012 21:56:02 +0000 (14:56 -0700)]
[2372] initial parentheses support
JINMEI Tatuya [Fri, 2 Nov 2012 03:09:09 +0000 (20:09 -0700)]
[2372] handled spaces.
handle() signature was extended so it can refer to and update lexer
options.
JINMEI Tatuya [Thu, 1 Nov 2012 04:13:20 +0000 (21:13 -0700)]
[2372] lexer state classes, some initial defs and tests
Fixing merge conflicts:
src/lib/dns/master_lexer.cc
JINMEI Tatuya [Fri, 2 Nov 2012 22:04:33 +0000 (15:04 -0700)]
[2372] Merge branch 'trac2371' into trac2372
JINMEI Tatuya [Fri, 2 Nov 2012 21:43:25 +0000 (14:43 -0700)]
[2371] catch an error in opening a source file and gives feedback to caller.
JINMEI Tatuya [Fri, 2 Nov 2012 21:29:10 +0000 (14:29 -0700)]
[2371] adjusted test name/comment to match the method name change of open/close
JINMEI Tatuya [Fri, 2 Nov 2012 21:06:52 +0000 (14:06 -0700)]
[2371] renamed open/close() {push,pop}Source() as suggested in review.
JINMEI Tatuya [Fri, 2 Nov 2012 20:41:39 +0000 (13:41 -0700)]
[2371] define END_OF_STREAM within InputSource to avoid duplicate def.
unfortunately this requires another usual workaround in the test, so
it was also made.
JINMEI Tatuya [Fri, 2 Nov 2012 20:35:22 +0000 (13:35 -0700)]
[2371] use the real InputSource class instead of the temporary fake version.
note: right now build fails due to the duplicate definition of
InputSource::END_OF_STREAM. It will be fixed in the next commit.
JINMEI Tatuya [Fri, 2 Nov 2012 20:26:24 +0000 (13:26 -0700)]
[2371] Merge branch 'trac2369' into trac2371
Marcin Siodelski [Fri, 2 Nov 2012 19:10:10 +0000 (20:10 +0100)]
[2417] Create basic set of stdandard DHCPv6 option definition instances.
Tomek Mrugalski [Fri, 2 Nov 2012 18:55:55 +0000 (19:55 +0100)]
[2414] All outstanding changes after review.
JINMEI Tatuya [Fri, 2 Nov 2012 18:07:55 +0000 (11:07 -0700)]
[2356] try -Wl,-R first to make it safer for build-time failure
Michal 'vorner' Vaner [Fri, 2 Nov 2012 18:06:17 +0000 (19:06 +0100)]
Merge #2383
Add a new constructor to name, one that takes an optional origin and completes
relative names with it.
Also clarify the '@' handling as a side effect.
JINMEI Tatuya [Fri, 2 Nov 2012 17:58:15 +0000 (13:58 -0400)]
[2356] fixed typo: use ISC_RPATH_FLAG instead of hardcoded "-R"
Tomek Mrugalski [Fri, 2 Nov 2012 17:24:23 +0000 (18:24 +0100)]
[2414] 2 new tests implemented (ManySolicits, ManyRequests), comments added
Tomek Mrugalski [Fri, 2 Nov 2012 17:23:58 +0000 (18:23 +0100)]
[2414] Changes after review.
Tomek Mrugalski [Fri, 2 Nov 2012 10:35:55 +0000 (11:35 +0100)]
[2414] Memory leaks in AllocEngine tests fixed.
Mukund Sivaraman [Fri, 2 Nov 2012 04:29:16 +0000 (09:59 +0530)]
[2369] Move exceptions to the top of class
Mukund Sivaraman [Fri, 2 Nov 2012 04:27:22 +0000 (09:57 +0530)]
[2369] Throw OpenError when opening the input file fails
Mukund Sivaraman [Fri, 2 Nov 2012 04:15:27 +0000 (09:45 +0530)]
[2369] Add a file test as well
JINMEI Tatuya [Thu, 1 Nov 2012 23:13:53 +0000 (16:13 -0700)]
[2371] fixed a trivial description error in doc
JINMEI Tatuya [Thu, 1 Nov 2012 23:12:41 +0000 (16:12 -0700)]
[2371] doc wording update as suggested in review
Jelte Jansen [Thu, 1 Nov 2012 21:21:29 +0000 (22:21 +0100)]
[master] update Changelog for merge of #2213
Tomek Mrugalski [Thu, 1 Nov 2012 17:34:17 +0000 (18:34 +0100)]
[2414] {first,last}AddrInPrefix not handles invalid prefix lengths
Tomek Mrugalski [Thu, 1 Nov 2012 16:44:21 +0000 (17:44 +0100)]
[2414] DHCP6_SUBNET_SELECTED log message fixed
Tomek Mrugalski [Thu, 1 Nov 2012 16:43:56 +0000 (17:43 +0100)]
[2414] Compilation fix for Solaris
Tomek Mrugalski [Thu, 1 Nov 2012 15:37:48 +0000 (16:37 +0100)]
[2414] Fix in checkLease method
Tomek Mrugalski [Thu, 1 Nov 2012 15:16:53 +0000 (16:16 +0100)]
[2414] Allocation process is now logged properly.
Michal 'vorner' Vaner [Thu, 1 Nov 2012 13:36:56 +0000 (14:36 +0100)]
[2383] Clarify @ in names
If it is alone, it means the origin (or root, if the absolute-name
constructor is used). If it is not alone, it is taken verbatim, without
any special meaning.
Add some tests to verify this.
Remove unused enum value. It was a relict from non-exact port of bind9
code.
Tomek Mrugalski [Thu, 1 Nov 2012 10:54:17 +0000 (11:54 +0100)]
[2414] Tests for selectSubnet() implemented.
Jelte Jansen [Thu, 1 Nov 2012 10:50:19 +0000 (11:50 +0100)]
[master] Merge branch 'trac2213'
Conflicts:
src/bin/auth/command.cc
Mukund Sivaraman [Thu, 1 Nov 2012 08:26:17 +0000 (13:56 +0530)]
[master] Fix leaks in AllocEngine tests reported by Valgrind
Naoki Kambe [Thu, 1 Nov 2012 07:53:11 +0000 (16:53 +0900)]
[2298_1] use sorted() instead of using sort() redundantly
Mukund Sivaraman [Thu, 1 Nov 2012 07:14:11 +0000 (12:44 +0530)]
[2371] Make minor comment updates
Mukund Sivaraman [Thu, 1 Nov 2012 05:10:00 +0000 (10:40 +0530)]
[2369] Explain how compact() affects ungetAll()
Mukund Sivaraman [Thu, 1 Nov 2012 05:05:17 +0000 (10:35 +0530)]
[2369] Distinguish between EOF and failures in getChar()
Mukund Sivaraman [Thu, 1 Nov 2012 04:50:10 +0000 (10:20 +0530)]
[2369] Use a const variable's value for END_OF_STREAM state
Mukund Sivaraman [Thu, 1 Nov 2012 04:21:49 +0000 (09:51 +0530)]
[2369] Initialize buffer_pos_ with 0
This is equivalent code to the former. The former was written such to
drive the point that buffer_pos_ is by default pointing at the end of
the buffer_ vector. At construction, the buffer_ vector is empty, so
both work.
Mukund Sivaraman [Thu, 1 Nov 2012 04:18:55 +0000 (09:48 +0530)]
[2369] Constify name_
Mukund Sivaraman [Thu, 1 Nov 2012 04:16:40 +0000 (09:46 +0530)]
[2369] Rename exception to UngetBeforeBeginning
Mukund Sivaraman [Thu, 1 Nov 2012 04:09:35 +0000 (09:39 +0530)]
[2369] Rename files to master_lexer_inputsource.{cc,h}
Mukund Sivaraman [Tue, 30 Oct 2012 19:41:02 +0000 (01:11 +0530)]
[2416] Wait for AUTH_LOAD_ZONE in lettuce test
For the SOA=1239 case, lettuce (instead of waiting for a new
AUTH_LOAD_ZONE message) waits for the last output AUTH_LOAD_ZONE
message because the last SOA=1238 case generated a AUTH_LOAD_ZONE that
was not skipped past in RunningProcess._wait_for_output_str(). So it
immediately matches the last AUTH_LOAD_ZONE and continues right away
which causes it to query Auth prematurely.
JINMEI Tatuya [Thu, 1 Nov 2012 02:27:22 +0000 (19:27 -0700)]
[2298_1] style: folded long lines
Tomek Mrugalski [Thu, 1 Nov 2012 01:10:25 +0000 (02:10 +0100)]
[2414] Test for REQUEST and LeaseMgr storage implemented.
Tomek Mrugalski [Thu, 1 Nov 2012 00:53:59 +0000 (01:53 +0100)]
[2414] New tests for Dhcpv6Srv implemented, old ones refactored.
Tomek Mrugalski [Wed, 31 Oct 2012 23:55:21 +0000 (00:55 +0100)]
[2414] Dhcp6SrvTest.SolicitBasic updated to test real address allocation
JINMEI Tatuya [Wed, 31 Oct 2012 22:57:26 +0000 (15:57 -0700)]
[2356] share the rpath m4 function with examples in the top level configure.ac
JINMEI Tatuya [Wed, 31 Oct 2012 22:46:02 +0000 (15:46 -0700)]
[2356] more note about rpath, in README.
JINMEI Tatuya [Wed, 31 Oct 2012 22:38:21 +0000 (15:38 -0700)]
[2356] added some note about rpath
JINMEI Tatuya [Wed, 31 Oct 2012 22:31:29 +0000 (15:31 -0700)]
[2356] introduce the helper m4 macro to identify -R variant linker options
extracted from the top-level configure.ac.
JINMEI Tatuya [Wed, 31 Oct 2012 21:56:34 +0000 (14:56 -0700)]
[2356] set the saved LIBS correctly
JINMEI Tatuya [Wed, 31 Oct 2012 21:51:22 +0000 (14:51 -0700)]
[2356] corrected ressoring LDFLAGS.
we should have used _SAVED; also we need to make a copy of LDFLAGS (in
LDFLAGS_SAVED) before extending it. it now does both of these correctly.
JINMEI Tatuya [Wed, 31 Oct 2012 21:40:33 +0000 (14:40 -0700)]
[2356] wording fix in an error message
JINMEI Tatuya [Wed, 31 Oct 2012 21:37:48 +0000 (14:37 -0700)]
[2356] add BOOST_CPPFLAGS for checking BIND 10 common .h and lib
util/buffer.h needs a boosst header file, so we make sure it's in the path
JINMEI Tatuya [Wed, 31 Oct 2012 21:28:04 +0000 (14:28 -0700)]
[2356] renamed CPPFLAGS_SAVES to _SAVED for consistency.
this is editorial; no behavior change.
Marcin Siodelski [Wed, 31 Oct 2012 20:31:52 +0000 (21:31 +0100)]
[master] Changelog entry for #2318.