]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
13 years ago[2414] Merge branch 'master' into trac2414
Stephen Morris [Wed, 7 Nov 2012 17:46:02 +0000 (17:46 +0000)] 
[2414] Merge branch 'master' into trac2414

Conflicts:
src/bin/dhcp6/dhcp6_messages.mes
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/lib/dhcp/addr_utilities.cc
src/lib/dhcp/tests/cfgmgr_unittest.cc

Files automerged successfully:
    src/lib/dhcp/alloc_engine.cc
    src/lib/dhcp/subnet.h
    src/lib/dhcp/tests/alloc_engine_unittest.cc

13 years ago[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Wed, 7 Nov 2012 16:19:53 +0000 (08:19 -0800)] 
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
 commit.

13 years ago[2305] address review comments
Jelte Jansen [Wed, 7 Nov 2012 10:47:32 +0000 (11:47 +0100)] 
[2305] address review comments

updated documentation of bindctl chapter
fixed a stray space in module help output in bindctl

13 years ago[2384] Document the use of units in TTL
Michal 'vorner' Vaner [Wed, 7 Nov 2012 09:45:32 +0000 (10:45 +0100)] 
[2384] Document the use of units in TTL

13 years ago[2384] Test border cases
Michal 'vorner' Vaner [Wed, 7 Nov 2012 09:30:59 +0000 (10:30 +0100)] 
[2384] Test border cases

13 years ago[2384] Rearrange tests
Michal 'vorner' Vaner [Wed, 7 Nov 2012 09:21:06 +0000 (10:21 +0100)] 
[2384] Rearrange tests

There were some non-fromText related tests in the fromText test case.
Moving to separate test case.

13 years ago[2384] Better TTL range checking
Michal 'vorner' Vaner [Wed, 7 Nov 2012 09:17:31 +0000 (10:17 +0100)] 
[2384] Better TTL range checking

Also check partial values and wrap-arouds for numbers.

13 years ago[master] Merge branch 'trac2417'
Marcin Siodelski [Wed, 7 Nov 2012 09:04:34 +0000 (10:04 +0100)] 
[master] Merge branch 'trac2417'

13 years ago[2384] Test case of reused unit
Michal 'vorner' Vaner [Wed, 7 Nov 2012 09:01:56 +0000 (10:01 +0100)] 
[2384] Test case of reused unit

13 years ago[2384] Remove unnecessary cast
Michal 'vorner' Vaner [Wed, 7 Nov 2012 08:59:56 +0000 (09:59 +0100)] 
[2384] Remove unnecessary cast

13 years ago[2384] Show the broken TTL in exception messages
Michal 'vorner' Vaner [Wed, 7 Nov 2012 08:54:30 +0000 (09:54 +0100)] 
[2384] Show the broken TTL in exception messages

13 years ago[2384] Disallow empty TTLs and units-only TTLs
Michal 'vorner' Vaner [Wed, 7 Nov 2012 08:51:12 +0000 (09:51 +0100)] 
[2384] Disallow empty TTLs and units-only TTLs

These are questionable and bind9 does not support them. Even the units
are bind extension of some kind probably.

13 years agoMerge branch 'master' into trac2369
Mukund Sivaraman [Wed, 7 Nov 2012 07:35:21 +0000 (13:05 +0530)] 
Merge branch 'master' into trac2369

13 years ago[2369] Use prefix syntax for increment/decrement operators
Mukund Sivaraman [Wed, 7 Nov 2012 07:01:30 +0000 (12:31 +0530)] 
[2369] Use prefix syntax for increment/decrement operators

13 years ago[2459] do not throw when getZoneWriter result in "not cached".
JINMEI Tatuya [Wed, 7 Nov 2012 05:39:18 +0000 (21:39 -0800)] 
[2459] do not throw when getZoneWriter result in "not cached".

instead, explicitly log the event at the debug level.  behavior-wise there's
no difference, but the corresponding log message can be misleading.

13 years ago[2459] protect the call to getCachedZoneWriter() by mutex. it can cause race.
JINMEI Tatuya [Wed, 7 Nov 2012 05:20:15 +0000 (21:20 -0800)] 
[2459] protect the call to getCachedZoneWriter() by mutex. it can cause race.

13 years ago[2353] Test bind10_src.fatal_signal()
Mukund Sivaraman [Wed, 7 Nov 2012 05:14:58 +0000 (10:44 +0530)] 
[2353] Test bind10_src.fatal_signal()

13 years ago[2353] Test bind10_src.get_signame()
Mukund Sivaraman [Wed, 7 Nov 2012 05:09:36 +0000 (10:39 +0530)] 
[2353] Test bind10_src.get_signame()

13 years ago[2353] Test BoB.init_socket_srv() and BoB.remove_socket_srv()
Mukund Sivaraman [Wed, 7 Nov 2012 05:01:21 +0000 (10:31 +0530)] 
[2353] Test BoB.init_socket_srv() and BoB.remove_socket_srv()

13 years ago[2353] Test more component startup methods
Mukund Sivaraman [Wed, 7 Nov 2012 04:31:05 +0000 (10:01 +0530)] 
[2353] Test more component startup methods

13 years ago[2298_7] add checking of the two same lists
Naoki Kambe [Wed, 7 Nov 2012 02:15:25 +0000 (11:15 +0900)] 
[2298_7] add checking of the two same lists

check whether the list of 'identifier' attributes in root is same
as the list of item names in DUMMY_DATA

13 years ago[2449] print a warning message if readline module isn't imported.
JINMEI Tatuya [Tue, 6 Nov 2012 23:15:17 +0000 (15:15 -0800)] 
[2449] print a warning message if readline module isn't imported.

do this only when stdin is a terminal; otherwise some lettuce tests will fail,
and it would possibly break some other automatic processing scripts.

13 years ago[2417] Minor: removed <b> tag in the documentation.
Marcin Siodelski [Tue, 6 Nov 2012 17:08:00 +0000 (18:08 +0100)] 
[2417] Minor: removed <b> tag in the documentation.

13 years ago[2371] move the definition of END_OF_STREAM from test to the main impl .cc.
JINMEI Tatuya [Tue, 6 Nov 2012 16:56:50 +0000 (08:56 -0800)] 
[2371] move the definition of END_OF_STREAM from test to the main impl .cc.

based on review discussions.  it makes sense as we cannot assume its address
is never needed in non test applications.

13 years ago[2342] Extended documentation to discuss running of unit tests
Stephen Morris [Tue, 6 Nov 2012 14:11:17 +0000 (14:11 +0000)] 
[2342] Extended documentation to discuss running of unit tests

13 years ago[2342] Add programmer documentation
Stephen Morris [Tue, 6 Nov 2012 13:44:17 +0000 (13:44 +0000)] 
[2342] Add programmer documentation

Also add missing library into the makefile - this showed its
absence on OS/X.

13 years ago[2305] add section about configuration data types
Jelte Jansen [Tue, 6 Nov 2012 13:31:56 +0000 (14:31 +0100)] 
[2305] add section about configuration data types

13 years ago[2342] Abstracted common MySQL binding code into a separate method.
Stephen Morris [Tue, 6 Nov 2012 12:58:10 +0000 (12:58 +0000)] 
[2342] Abstracted common MySQL binding code into a separate method.

13 years ago[2298_7] add comments about checking each 'item' element under the root element
Naoki Kambe [Tue, 6 Nov 2012 12:22:33 +0000 (21:22 +0900)] 
[2298_7] add comments about checking each 'item' element under the root element

13 years ago[2298_7] remove find() so that each element 'item' under the root element is checked
Naoki Kambe [Tue, 6 Nov 2012 12:12:45 +0000 (21:12 +0900)] 
[2298_7] remove find() so that each element 'item' under the root element is checked
(actually this test wasn't run.)

13 years ago[2298_7] use with-statement instead of try-except-finally statement
Naoki Kambe [Tue, 6 Nov 2012 12:01:31 +0000 (21:01 +0900)] 
[2298_7] use with-statement instead of try-except-finally statement

13 years ago[2298_7] add an example of the path in docstring of xml_handler()
Naoki Kambe [Tue, 6 Nov 2012 12:37:43 +0000 (21:37 +0900)] 
[2298_7] add an example of the path in docstring of xml_handler()

13 years ago[2298_7] add comments about preparation of the requested path,
Naoki Kambe [Tue, 6 Nov 2012 12:40:11 +0000 (21:40 +0900)] 
[2298_7] add comments about preparation of the requested path,
regarding the condition that it is started with XM_URL_PATH + '/'

13 years ago[2417] Added changes suggested in the code review.
Marcin Siodelski [Tue, 6 Nov 2012 12:12:32 +0000 (13:12 +0100)] 
[2417] Added changes suggested in the code review.

13 years ago[2298_7] add description about evaluating the requested path in each if-condition
Naoki Kambe [Tue, 6 Nov 2012 11:40:43 +0000 (20:40 +0900)] 
[2298_7] add description about evaluating the requested path in each if-condition

13 years ago[2353] Add test for BoB.start_simple()
Mukund Sivaraman [Tue, 6 Nov 2012 09:29:47 +0000 (14:59 +0530)] 
[2353] Add test for BoB.start_simple()

13 years ago[2353] Add test for BoB.register_process()
Mukund Sivaraman [Tue, 6 Nov 2012 08:35:01 +0000 (14:05 +0530)] 
[2353] Add test for BoB.register_process()

13 years ago[2353] Add test for BoB.start_process()
Mukund Sivaraman [Tue, 6 Nov 2012 08:23:21 +0000 (13:53 +0530)] 
[2353] Add test for BoB.start_process()

13 years ago[2353] Add test for BoB.kill_started_components()
Mukund Sivaraman [Tue, 6 Nov 2012 07:36:36 +0000 (13:06 +0530)] 
[2353] Add test for BoB.kill_started_components()

13 years ago[2353] Add test for BoB.get_processes()
Mukund Sivaraman [Tue, 6 Nov 2012 07:31:23 +0000 (13:01 +0530)] 
[2353] Add test for BoB.get_processes()

13 years ago[2384] style nits: typo, folded short lines, unnecessary ;, paren for sizeof
JINMEI Tatuya [Tue, 6 Nov 2012 07:13:10 +0000 (23:13 -0800)] 
[2384] style nits: typo, folded short lines, unnecessary ;, paren for sizeof

13 years ago[2372] overall documentation updates
JINMEI Tatuya [Tue, 6 Nov 2012 05:12:37 +0000 (21:12 -0800)] 
[2372] overall documentation updates

13 years ago[2369] Make InputSource non-copyable
Mukund Sivaraman [Tue, 6 Nov 2012 04:33:15 +0000 (10:03 +0530)] 
[2369] Make InputSource non-copyable

13 years ago[2369] Add TODOs to remove saveLine() and compact() later
Mukund Sivaraman [Tue, 6 Nov 2012 04:30:04 +0000 (10:00 +0530)] 
[2369] Add TODOs to remove saveLine() and compact() later

13 years ago[2369] Describe why the operation failed in OpenError exception
Mukund Sivaraman [Tue, 6 Nov 2012 04:27:39 +0000 (09:57 +0530)] 
[2369] Describe why the operation failed in OpenError exception

13 years ago[2369] Make constructors explicit
Mukund Sivaraman [Tue, 6 Nov 2012 04:16:34 +0000 (09:46 +0530)] 
[2369] Make constructors explicit

13 years ago[2372] some more cleanup for State::start by removing explicit continue.
JINMEI Tatuya [Tue, 6 Nov 2012 04:05:49 +0000 (20:05 -0800)] 
[2372] some more cleanup for State::start by removing explicit continue.

maybe a matter of taste, but it seems to make it look more concise and
readable.

13 years ago[2372] even further simplification: deprecate start state
JINMEI Tatuya [Tue, 6 Nov 2012 04:02:54 +0000 (20:02 -0800)] 
[2372] even further simplification: deprecate start state

I recognized we only need to pass options to the initial state.  So it makes
more sense to handle this case separately.  this will simplify the interface
for the other classes, and it will make the entry point for the lexer clearer.

13 years ago[2372] even further simplification of option handling
JINMEI Tatuya [Tue, 6 Nov 2012 03:48:47 +0000 (19:48 -0800)] 
[2372] even further simplification of option handling

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.