]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
13 years ago[2353] Indent code
Mukund Sivaraman [Tue, 6 Nov 2012 03:29:42 +0000 (08:59 +0530)] 
[2353] Indent code

13 years ago[2372] further simplification: don't need to save/restore options.
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.

13 years ago[2372] simplification: we actually don't need END_OF_LINE option.
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().

13 years ago[2372] handle crlf class
JINMEI Tatuya [Tue, 6 Nov 2012 03:08:13 +0000 (19:08 -0800)] 
[2372] handle crlf class

13 years ago[2372] make sure last_was_eol becomes false in EOF even with an error
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

13 years ago[2372] handle the case of comment after '('
JINMEI Tatuya [Mon, 5 Nov 2012 23:59:10 +0000 (15:59 -0800)] 
[2372] handle the case of comment after '('

13 years ago[2372] cleanup: we now don't need to pass options to state::handle()
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()

13 years ago[2372] localize disabling options in (); we can do this without mutable state.
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.

13 years ago[master] changelog for #2356
JINMEI Tatuya [Mon, 5 Nov 2012 22:49:20 +0000 (14:49 -0800)] 
[master] changelog for #2356

13 years ago[2372] handle comments in the start state
JINMEI Tatuya [Mon, 5 Nov 2012 22:41:04 +0000 (14:41 -0800)] 
[2372] handle comments in the start state

13 years ago[master] Merge remote-tracking branch 'origin/trac2356'
JINMEI Tatuya [Mon, 5 Nov 2012 22:37:29 +0000 (14:37 -0800)] 
[master] Merge remote-tracking branch 'origin/trac2356'

13 years ago[trac2305] change enable to disable for !verbose off
Jeremy C. Reed [Mon, 5 Nov 2012 20:40:35 +0000 (14:40 -0600)] 
[trac2305] change enable to disable for !verbose off

13 years ago[trac2305] remove repeated word
Jeremy C. Reed [Mon, 5 Nov 2012 20:39:27 +0000 (14:39 -0600)] 
[trac2305] remove repeated word

13 years ago[2342] Have unit tests create database schema on the fly
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.

13 years ago[2414] Minor corrections to comments and spacing between operators
Stephen Morris [Mon, 5 Nov 2012 18:41:18 +0000 (18:41 +0000)] 
[2414] Minor corrections to comments and spacing between operators

13 years ago[2371] added notes about the two mode of error handling: retval and exception.
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.

13 years ago[2371] cleanup: removed now-unnecessary include
JINMEI Tatuya [Mon, 5 Nov 2012 16:58:31 +0000 (08:58 -0800)] 
[2371] cleanup: removed now-unnecessary include

13 years ago[2384] Provide a note about used data type
Michal 'vorner' Vaner [Mon, 5 Nov 2012 15:30:04 +0000 (16:30 +0100)] 
[2384] Provide a note about used data type

13 years ago[2384] Adjust other tests to match
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.

13 years ago[2384] Implement the units in TTLs
Michal 'vorner' Vaner [Mon, 5 Nov 2012 15:26:20 +0000 (16:26 +0100)] 
[2384] Implement the units in TTLs

13 years ago[2384] Tests for units in TTL text
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.

13 years ago[2417] Initialize standard option definitions and keep them in storage.
Marcin Siodelski [Mon, 5 Nov 2012 14:09:39 +0000 (15:09 +0100)] 
[2417] Initialize standard option definitions and keep them in storage.

13 years ago[2417] Added missing header and corrected typo.
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.

13 years ago[2305] initial addition of bindctl section
Jelte Jansen [Mon, 5 Nov 2012 13:45:41 +0000 (14:45 +0100)] 
[2305] initial addition of bindctl section

13 years ago[2417] Append configured DHCPv6 options to server's response.
Marcin Siodelski [Mon, 5 Nov 2012 08:43:20 +0000 (09:43 +0100)] 
[2417] Append configured DHCPv6 options to server's response.

13 years ago[2353] Test BoB.reap_children
Mukund Sivaraman [Mon, 5 Nov 2012 07:13:00 +0000 (12:43 +0530)] 
[2353] Test BoB.reap_children

13 years ago[2342] Move all SQL statement definitions to head of file
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.

13 years ago[2342] Add getLease6 selecting by DUID, IAID and Subnet ID
Stephen Morris [Sun, 4 Nov 2012 19:57:05 +0000 (19:57 +0000)] 
[2342] Add getLease6 selecting by DUID, IAID and Subnet ID

13 years ago[2369] Add InputSource::mark() as a combination of saveLine() and compact()
Mukund Sivaraman [Sun, 4 Nov 2012 17:14:08 +0000 (22:44 +0530)] 
[2369] Add InputSource::mark() as a combination of saveLine() and compact()

13 years ago[2369] Constify variables in various places
Mukund Sivaraman [Sun, 4 Nov 2012 17:00:16 +0000 (22:30 +0530)] 
[2369] Constify variables in various places

13 years ago[2369] Read data from the test file to check the InputSource
Mukund Sivaraman [Sun, 4 Nov 2012 16:19:56 +0000 (21:49 +0530)] 
[2369] Read data from the test file to check the InputSource

13 years ago[2369] Use the more specialized std::ifstream instead of std::fstream
Mukund Sivaraman [Sun, 4 Nov 2012 16:10:33 +0000 (21:40 +0530)] 
[2369] Use the more specialized std::ifstream instead of std::fstream

13 years ago[2369] Rename non-existent filename in test
Mukund Sivaraman [Sun, 4 Nov 2012 15:58:54 +0000 (21:28 +0530)] 
[2369] Rename non-existent filename in test

13 years ago[2342] Add selection of Lease6 by DUID and IAID
Stephen Morris [Sat, 3 Nov 2012 18:26:57 +0000 (18:26 +0000)] 
[2342] Add selection of Lease6 by DUID and IAID

13 years ago[2372] handle non-closed parenthesis error.
JINMEI Tatuya [Sat, 3 Nov 2012 00:03:11 +0000 (17:03 -0700)] 
[2372] handle non-closed parenthesis error.

13 years ago[2372] handle unbalanced parentheses.
JINMEI Tatuya [Fri, 2 Nov 2012 23:44:56 +0000 (16:44 -0700)] 
[2372] handle unbalanced parentheses.

13 years ago[2372] covered a minor case of initial_ws after skipping a newline
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

13 years ago[2372] internal refactoring: pass original options at the time of start
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.

13 years ago[2372] more parentheses support
JINMEI Tatuya [Fri, 2 Nov 2012 23:03:36 +0000 (16:03 -0700)] 
[2372] more parentheses support

13 years ago[2372] use the END_OF_STREAM constant instead of hardocded condition of '< 0'
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'

13 years ago[2372] more conflict resolution that git didn't detect.
JINMEI Tatuya [Fri, 2 Nov 2012 22:23:52 +0000 (15:23 -0700)] 
[2372] more conflict resolution that git didn't detect.

13 years ago[2372] more conflict resolution
JINMEI Tatuya [Fri, 2 Nov 2012 22:23:32 +0000 (15:23 -0700)] 
[2372] more conflict resolution

13 years ago[2371] more comment wording adjustments
JINMEI Tatuya [Fri, 2 Nov 2012 22:21:07 +0000 (15:21 -0700)] 
[2371] more comment wording adjustments

13 years ago[2372] initial parentheses support
JINMEI Tatuya [Fri, 2 Nov 2012 21:56:02 +0000 (14:56 -0700)] 
[2372] initial parentheses support

13 years ago[2372] handled spaces.
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.

13 years ago[2372] lexer state classes, some initial defs and tests
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

13 years ago[2372] Merge branch 'trac2371' into trac2372
JINMEI Tatuya [Fri, 2 Nov 2012 22:04:33 +0000 (15:04 -0700)] 
[2372] Merge branch 'trac2371' into trac2372

13 years ago[2371] catch an error in opening a source file and gives feedback to caller.
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.

13 years ago[2371] adjusted test name/comment to match the method name change of open/close
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

13 years ago[2371] renamed open/close() {push,pop}Source() as suggested in review.
JINMEI Tatuya [Fri, 2 Nov 2012 21:06:52 +0000 (14:06 -0700)] 
[2371] renamed open/close() {push,pop}Source() as suggested in review.

13 years ago[2371] define END_OF_STREAM within InputSource to avoid duplicate def.
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.

13 years ago[2371] use the real InputSource class instead of the temporary fake version.
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.

13 years ago[2371] Merge branch 'trac2369' into trac2371
JINMEI Tatuya [Fri, 2 Nov 2012 20:26:24 +0000 (13:26 -0700)] 
[2371] Merge branch 'trac2369' into trac2371

13 years ago[2417] Create basic set of stdandard DHCPv6 option definition instances.
Marcin Siodelski [Fri, 2 Nov 2012 19:10:10 +0000 (20:10 +0100)] 
[2417] Create basic set of stdandard DHCPv6 option definition instances.

13 years ago[2414] All outstanding changes after review.
Tomek Mrugalski [Fri, 2 Nov 2012 18:55:55 +0000 (19:55 +0100)] 
[2414] All outstanding changes after review.

13 years ago[2356] try -Wl,-R first to make it safer for build-time failure
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

13 years agoMerge #2383
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.

13 years ago[2356] fixed typo: use ISC_RPATH_FLAG instead of hardcoded "-R"
JINMEI Tatuya [Fri, 2 Nov 2012 17:58:15 +0000 (13:58 -0400)] 
[2356] fixed typo: use ISC_RPATH_FLAG instead of hardcoded "-R"

13 years ago[2414] 2 new tests implemented (ManySolicits, ManyRequests), comments added
Tomek Mrugalski [Fri, 2 Nov 2012 17:24:23 +0000 (18:24 +0100)] 
[2414] 2 new tests implemented (ManySolicits, ManyRequests), comments added

13 years ago[2414] Changes after review.
Tomek Mrugalski [Fri, 2 Nov 2012 17:23:58 +0000 (18:23 +0100)] 
[2414] Changes after review.

13 years ago[2414] Memory leaks in AllocEngine tests fixed.
Tomek Mrugalski [Fri, 2 Nov 2012 10:35:55 +0000 (11:35 +0100)] 
[2414] Memory leaks in AllocEngine tests fixed.

13 years ago[2369] Move exceptions to the top of class
Mukund Sivaraman [Fri, 2 Nov 2012 04:29:16 +0000 (09:59 +0530)] 
[2369] Move exceptions to the top of class

13 years ago[2369] Throw OpenError when opening the input file fails
Mukund Sivaraman [Fri, 2 Nov 2012 04:27:22 +0000 (09:57 +0530)] 
[2369] Throw OpenError when opening the input file fails

13 years ago[2369] Add a file test as well
Mukund Sivaraman [Fri, 2 Nov 2012 04:15:27 +0000 (09:45 +0530)] 
[2369] Add a file test as well

13 years ago[2371] fixed a trivial description error in doc
JINMEI Tatuya [Thu, 1 Nov 2012 23:13:53 +0000 (16:13 -0700)] 
[2371] fixed a trivial description error in doc

13 years ago[2371] doc wording update as suggested in review
JINMEI Tatuya [Thu, 1 Nov 2012 23:12:41 +0000 (16:12 -0700)] 
[2371] doc wording update as suggested in review

13 years ago[master] update Changelog for merge of #2213
Jelte Jansen [Thu, 1 Nov 2012 21:21:29 +0000 (22:21 +0100)] 
[master] update Changelog for merge of #2213

13 years ago[2414] {first,last}AddrInPrefix not handles invalid prefix lengths
Tomek Mrugalski [Thu, 1 Nov 2012 17:34:17 +0000 (18:34 +0100)] 
[2414] {first,last}AddrInPrefix not handles invalid prefix lengths

13 years ago[2414] DHCP6_SUBNET_SELECTED log message fixed
Tomek Mrugalski [Thu, 1 Nov 2012 16:44:21 +0000 (17:44 +0100)] 
[2414] DHCP6_SUBNET_SELECTED log message fixed

13 years ago[2414] Compilation fix for Solaris
Tomek Mrugalski [Thu, 1 Nov 2012 16:43:56 +0000 (17:43 +0100)] 
[2414] Compilation fix for Solaris

13 years ago[2414] Fix in checkLease method
Tomek Mrugalski [Thu, 1 Nov 2012 15:37:48 +0000 (16:37 +0100)] 
[2414] Fix in checkLease method

13 years ago[2414] Allocation process is now logged properly.
Tomek Mrugalski [Thu, 1 Nov 2012 15:16:53 +0000 (16:16 +0100)] 
[2414] Allocation process is now logged properly.

13 years ago[2383] Clarify @ in names
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.

13 years ago[2414] Tests for selectSubnet() implemented.
Tomek Mrugalski [Thu, 1 Nov 2012 10:54:17 +0000 (11:54 +0100)] 
[2414] Tests for selectSubnet() implemented.

13 years ago[master] Merge branch 'trac2213'
Jelte Jansen [Thu, 1 Nov 2012 10:50:19 +0000 (11:50 +0100)] 
[master] Merge branch 'trac2213'

Conflicts:
src/bin/auth/command.cc

13 years ago[master] Fix leaks in AllocEngine tests reported by Valgrind
Mukund Sivaraman [Thu, 1 Nov 2012 08:26:17 +0000 (13:56 +0530)] 
[master] Fix leaks in AllocEngine tests reported by Valgrind

13 years ago[2298_1] use sorted() instead of using sort() redundantly
Naoki Kambe [Thu, 1 Nov 2012 07:53:11 +0000 (16:53 +0900)] 
[2298_1] use sorted() instead of using sort() redundantly

13 years ago[2371] Make minor comment updates
Mukund Sivaraman [Thu, 1 Nov 2012 07:14:11 +0000 (12:44 +0530)] 
[2371] Make minor comment updates

13 years ago[2369] Explain how compact() affects ungetAll()
Mukund Sivaraman [Thu, 1 Nov 2012 05:10:00 +0000 (10:40 +0530)] 
[2369] Explain how compact() affects ungetAll()

13 years ago[2369] Distinguish between EOF and failures in getChar()
Mukund Sivaraman [Thu, 1 Nov 2012 05:05:17 +0000 (10:35 +0530)] 
[2369] Distinguish between EOF and failures in getChar()

13 years ago[2369] Use a const variable's value for END_OF_STREAM state
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

13 years ago[2369] Initialize buffer_pos_ with 0
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.

13 years ago[2369] Constify name_
Mukund Sivaraman [Thu, 1 Nov 2012 04:18:55 +0000 (09:48 +0530)] 
[2369] Constify name_

13 years ago[2369] Rename exception to UngetBeforeBeginning
Mukund Sivaraman [Thu, 1 Nov 2012 04:16:40 +0000 (09:46 +0530)] 
[2369] Rename exception to UngetBeforeBeginning

13 years ago[2369] Rename files to master_lexer_inputsource.{cc,h}
Mukund Sivaraman [Thu, 1 Nov 2012 04:09:35 +0000 (09:39 +0530)] 
[2369] Rename files to master_lexer_inputsource.{cc,h}

13 years ago[2416] Wait for AUTH_LOAD_ZONE in lettuce test
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.

13 years ago[2298_1] style: folded long lines
JINMEI Tatuya [Thu, 1 Nov 2012 02:27:22 +0000 (19:27 -0700)] 
[2298_1] style: folded long lines

13 years ago[2414] Test for REQUEST and LeaseMgr storage implemented.
Tomek Mrugalski [Thu, 1 Nov 2012 01:10:25 +0000 (02:10 +0100)] 
[2414] Test for REQUEST and LeaseMgr storage implemented.

13 years ago[2414] New tests for Dhcpv6Srv implemented, old ones refactored.
Tomek Mrugalski [Thu, 1 Nov 2012 00:53:59 +0000 (01:53 +0100)] 
[2414] New tests for Dhcpv6Srv implemented, old ones refactored.

13 years ago[2414] Dhcp6SrvTest.SolicitBasic updated to test real address allocation
Tomek Mrugalski [Wed, 31 Oct 2012 23:55:21 +0000 (00:55 +0100)] 
[2414] Dhcp6SrvTest.SolicitBasic updated to test real address allocation

13 years ago[2356] share the rpath m4 function with examples in the top level configure.ac
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

13 years ago[2356] more note about rpath, in README.
JINMEI Tatuya [Wed, 31 Oct 2012 22:46:02 +0000 (15:46 -0700)] 
[2356] more note about rpath, in README.

13 years ago[2356] added some note about rpath
JINMEI Tatuya [Wed, 31 Oct 2012 22:38:21 +0000 (15:38 -0700)] 
[2356] added some note about rpath

13 years ago[2356] introduce the helper m4 macro to identify -R variant linker options
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.

13 years ago[2356] set the saved LIBS correctly
JINMEI Tatuya [Wed, 31 Oct 2012 21:56:34 +0000 (14:56 -0700)] 
[2356] set the saved LIBS correctly

13 years ago[2356] corrected ressoring LDFLAGS.
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.

13 years ago[2356] wording fix in an error message
JINMEI Tatuya [Wed, 31 Oct 2012 21:40:33 +0000 (14:40 -0700)] 
[2356] wording fix in an error message

13 years ago[2356] add BOOST_CPPFLAGS for checking BIND 10 common .h and lib
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

13 years ago[2356] renamed CPPFLAGS_SAVES to _SAVED for consistency.
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.

13 years ago[master] Changelog entry for #2318.
Marcin Siodelski [Wed, 31 Oct 2012 20:31:52 +0000 (21:31 +0100)] 
[master] Changelog entry for #2318.