]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Tue, 13 Nov 2012 18:18:20 +0000 (19:18 +0100)]
[2375] Check we don't read past the end
Michal 'vorner' Vaner [Tue, 13 Nov 2012 18:04:16 +0000 (19:04 +0100)]
[2375] Add a test a token is actually produced
This is a debug test. It checks the state machine produced a token.
There are no tests for this test, since such condition would be a
programmer error, not something expected.
Michal 'vorner' Vaner [Tue, 13 Nov 2012 17:53:11 +0000 (18:53 +0100)]
[2375] Implement basic getNextToken
No error handling, no special cases, no returning.
Michal 'vorner' Vaner [Tue, 13 Nov 2012 13:39:15 +0000 (14:39 +0100)]
[2375] Tests for simple versions of getToken
No fancy stuff yet, like ungetting tokens, changes of parentheses count,
etc. Just the basic stuff.
Michal 'vorner' Vaner [Mon, 12 Nov 2012 18:24:21 +0000 (19:24 +0100)]
[2375] A fake state class
It is for tests, but in the main code for technical reasons.
Michal 'vorner' Vaner [Mon, 12 Nov 2012 17:14:46 +0000 (18:14 +0100)]
[2375] getNextToken() and ungetNextToken() interface.
With doxygen description of what it should do and empty method bodies,
so the tests in following commits will at least compile.
JINMEI Tatuya [Mon, 19 Nov 2012 11:04:08 +0000 (20:04 +0900)]
[master] Merge branch 'trac2373'
JINMEI Tatuya [Mon, 19 Nov 2012 03:19:02 +0000 (12:19 +0900)]
[2373] added a comment about if-else complexity in State::start().
JINMEI Tatuya [Mon, 19 Nov 2012 03:10:51 +0000 (12:10 +0900)]
[2373] added a test for qstring: confirm separators are regarded as part of str
JINMEI Tatuya [Mon, 19 Nov 2012 03:05:21 +0000 (12:05 +0900)]
[2373] additional test for escaped str: check escaped \ doesn't confuse lexer.
Mukund Sivaraman [Sun, 18 Nov 2012 19:57:13 +0000 (01:27 +0530)]
Merge branch 'master' into trac2421
Stephen Morris [Fri, 16 Nov 2012 15:54:12 +0000 (15:54 +0000)]
[master] ChangeLog for trac2475
Stephen Morris [Fri, 16 Nov 2012 15:40:59 +0000 (15:40 +0000)]
[2475] Merge branch 'master' into trac2475
Stephen Morris [Fri, 16 Nov 2012 14:15:45 +0000 (14:15 +0000)]
[2475] Put #include directives in correct order
Also fix some issues from the review.
Stephen Morris [Fri, 16 Nov 2012 11:19:19 +0000 (11:19 +0000)]
[2475] Split dhcp files into dhcp and dhcpsrv directories
Mukund Sivaraman [Thu, 15 Nov 2012 20:34:03 +0000 (02:04 +0530)]
[2421] Put code inside EXPECT_NO_THROW
Mukund Sivaraman [Thu, 15 Nov 2012 20:31:42 +0000 (02:01 +0530)]
[2421] Update comments about test data
Jeremy C. Reed [Thu, 15 Nov 2012 18:27:15 +0000 (12:27 -0600)]
[master] add changelog entry for ticket 2471
note I renumbered existing entry.
Jeremy C. Reed [Thu, 15 Nov 2012 18:25:20 +0000 (12:25 -0600)]
[master]Merge remote-tracking branch 'remotes/bind10-private/sec-trac2471'
JINMEI Tatuya [Thu, 15 Nov 2012 07:40:12 +0000 (23:40 -0800)]
[2373] unrelated extension to getString(): allow recycling the string
I expect we'll need the string object version of token pretty often
for rrtype and TTL, and this version will help make it a bit more
efficient.
Mukund Sivaraman [Thu, 15 Nov 2012 07:19:55 +0000 (12:49 +0530)]
[2421] Include zone name in log messages
Mukund Sivaraman [Thu, 15 Nov 2012 06:55:22 +0000 (12:25 +0530)]
[2421] Update DATASRC_LOAD_FROM_ITERATOR_ERROR description
Mukund Sivaraman [Thu, 15 Nov 2012 05:36:17 +0000 (11:06 +0530)]
[2421] Add unit tests for broken zones during configure()
JINMEI Tatuya [Thu, 15 Nov 2012 03:16:04 +0000 (19:16 -0800)]
[2373] some more comment updates
JINMEI Tatuya [Thu, 15 Nov 2012 03:04:02 +0000 (19:04 -0800)]
[2373] refactoring: extend skipComment to include 'escaped' consideration.
this will help constify 'c' in String::handle.
JINMEI Tatuya [Thu, 15 Nov 2012 03:01:20 +0000 (19:01 -0800)]
[2373] refactoring: use bitmap to check token boundary.
this will help unify the conditions and keep the code concise, and is
hopefully a bit more efficient.
JINMEI Tatuya [Thu, 15 Nov 2012 02:41:14 +0000 (18:41 -0800)]
[2373] supported quoted string state
JINMEI Tatuya [Wed, 14 Nov 2012 23:51:41 +0000 (15:51 -0800)]
[2373] (unrelated doc fix) corrected "optionality" of token type
EOL/EOF will be always returned if found; INTIAL_WS will be returned
only specified in option
JINMEI Tatuya [Wed, 14 Nov 2012 23:01:36 +0000 (15:01 -0800)]
[2373] supported escaping separaters
JINMEI Tatuya [Wed, 14 Nov 2012 22:45:26 +0000 (14:45 -0800)]
[2373] supported other separater characters and comments
JINMEI Tatuya [Wed, 14 Nov 2012 19:18:38 +0000 (11:18 -0800)]
[2373] comment update
JINMEI Tatuya [Wed, 14 Nov 2012 19:16:56 +0000 (11:16 -0800)]
[2373] implemented some simple case of string state handling.
Jeremy C. Reed [Wed, 14 Nov 2012 18:31:05 +0000 (12:31 -0600)]
[master] add released date (for tomorrow)
Jeremy C. Reed [Wed, 14 Nov 2012 18:28:56 +0000 (12:28 -0600)]
[master] changelog formatting cleanup
use two tabs before the committer username.
use a tab before the keyword type.
lines too long
Jeremy C. Reed [Wed, 14 Nov 2012 18:23:30 +0000 (12:23 -0600)]
[master] use reorder_message_file.py to order .mes files
Stephen Morris [Wed, 14 Nov 2012 18:07:06 +0000 (18:07 +0000)]
[2473] Merge branch 'master' into trac2473
Jeremy C. Reed [Wed, 14 Nov 2012 17:59:29 +0000 (11:59 -0600)]
[2473] various minor changes
some of the changes are unrelated to this branch, but they
were minor and I noticed while reviewing.
grammar improvements
remove unuseful shutdown examples
add some docbook formatting tags
commented out an empty TODO section.
Stephen Morris [Wed, 14 Nov 2012 17:31:55 +0000 (17:31 +0000)]
[2473] Updated BIND 10 Guide with details of DHCPv6 changes
Jeremy C. Reed [Wed, 14 Nov 2012 17:28:53 +0000 (11:28 -0600)]
[master] documentation updates
Remove some references to experimental, development, prototype
Mention that bind10 doesn't start the DNS or DHCP servers by default.
Also reword a couple sentences so this is not implied.
This is for ticket #2451.
This was not reviewed. The changes are minor.
Stephen Morris [Wed, 14 Nov 2012 15:38:44 +0000 (15:38 +0000)]
[master] Merge branch 'trac2472'
Jeremy C. Reed [Wed, 14 Nov 2012 15:14:18 +0000 (09:14 -0600)]
[master] few minor formatting changes
not reviewed, very minor
change some docbook tags
move some example prompts for formatting
Jeremy C. Reed [Wed, 14 Nov 2012 14:54:39 +0000 (08:54 -0600)]
[master] split the starting bind10 chapter into two chapters
This split is done so the bindctl chapter comes before
the chapter on using bindctl to configure Boss/components.
Discussed via jabber and in ticket #2305.
Also added some brief content on how to stop bind10 and how to list
processes.
Stephen Morris [Wed, 14 Nov 2012 14:44:23 +0000 (14:44 +0000)]
[2472] Merge branch 'master' into trac2472
Stephen Morris [Wed, 14 Nov 2012 14:30:46 +0000 (14:30 +0000)]
[2472] Modified test names in line with convention
Jeremy C. Reed [Wed, 14 Nov 2012 14:27:06 +0000 (08:27 -0600)]
[master] split quick start section into its own chapter
It adds a step to enable the auth server. Some other minor changes too.
This was not reviewed, but has very little content changes.
Jelte Jansen [Wed, 14 Nov 2012 14:22:18 +0000 (15:22 +0100)]
[master] Update changelog for merge of #2305
Jelte Jansen [Wed, 14 Nov 2012 14:19:32 +0000 (15:19 +0100)]
[master] Merge branch 'trac2305'
Jeremy C. Reed [Wed, 14 Nov 2012 14:12:29 +0000 (08:12 -0600)]
[master] don't install the *example.hex files
They are used for testing.
Discussed on jabber.
Also see ticket #2479 (but this commit doesn't solve the main
issue reported there).
Jeremy C. Reed [Wed, 14 Nov 2012 14:04:45 +0000 (08:04 -0600)]
[master] remove temporary AM_CPPFLAGS used for testing
now receives settings via configure
discussed on jabber
Jeremy C. Reed [Wed, 14 Nov 2012 13:33:55 +0000 (07:33 -0600)]
[master] check for mysql.h not mysql/mysql.h
since mysql directory may already be provided by mysql_config output
and anyways mysql.h is used by the code.
Stephen Morris [Wed, 14 Nov 2012 12:43:15 +0000 (12:43 +0000)]
[2472] Move choice of DHCP6 lease manager to main
Before this change, the choice of lease manager was set in
ControlledDhcpv6Srv. This means that unit tests for that code
always used the MySQL lease manager (if present). This change
ensures that unit tests always use the Memfile manager.
Mukund Sivaraman [Wed, 14 Nov 2012 09:02:10 +0000 (14:32 +0530)]
[2421] Check that the load error messages are logged
Mukund Sivaraman [Wed, 14 Nov 2012 08:41:34 +0000 (14:11 +0530)]
[2421] Add a lettuce testcase where the zone file doesn't exist
Mukund Sivaraman [Wed, 14 Nov 2012 07:55:29 +0000 (13:25 +0530)]
[2421] Throw ZoneLoaderException even for MasterLoadError
Mukund Sivaraman [Wed, 14 Nov 2012 07:48:26 +0000 (13:18 +0530)]
[2421] Catch ZoneValidationException at a higher level
Also split the iterator vs. file log message ids, so that they
are used only in one place each.
Mukund Sivaraman [Wed, 14 Nov 2012 07:34:55 +0000 (13:04 +0530)]
[2421] Update InMemoryClient doc about exceptions
Mukund Sivaraman [Wed, 14 Nov 2012 07:34:30 +0000 (13:04 +0530)]
[2421] Throw AddError instead of OutOfZone when loading out-of-zone data
OutOfZone is used in the ZoneFinder for other class of errors
and we can't really bring it into the ZoneValidationException
hierarchy.
Mukund Sivaraman [Wed, 14 Nov 2012 06:49:43 +0000 (12:19 +0530)]
[2421] Add zone exceptions hierarchy
JINMEI Tatuya [Wed, 14 Nov 2012 06:14:41 +0000 (22:14 -0800)]
[master] Merge branch 'trac2459'
JINMEI Tatuya [Wed, 14 Nov 2012 06:09:22 +0000 (22:09 -0800)]
[2459] some more comments about datasrc locking. suggested by muks.
JINMEI Tatuya [Wed, 14 Nov 2012 04:28:12 +0000 (20:28 -0800)]
[2471] fixed a minor typo in comments.
trivial, directly committing.
JINMEI Tatuya [Wed, 14 Nov 2012 04:27:32 +0000 (20:27 -0800)]
[2471] add a missing EXTRA_DIST. this will fix distcheck failure.
JINMEI Tatuya [Wed, 14 Nov 2012 03:53:18 +0000 (19:53 -0800)]
[master] define virtual dtor for master lexer state classes.
just for silencing some compilers. in our usage this doesn't matter
in practice. committing at my discretion.
Jeremy C. Reed [Tue, 13 Nov 2012 23:26:02 +0000 (17:26 -0600)]
[trac2305] minor changes to guide
i.e. (means "that is") to "for example"
change punctuation
add some formatting tags
JINMEI Tatuya [Tue, 13 Nov 2012 21:12:20 +0000 (13:12 -0800)]
[master] Merge branch 'trac2372'
JINMEI Tatuya [Tue, 13 Nov 2012 18:15:48 +0000 (10:15 -0800)]
[2372] clarified that INITIAL_WS is recognized only after an EOL.
Stephen Morris [Tue, 13 Nov 2012 15:48:07 +0000 (15:48 +0000)]
[2472] Merge branch 'master' into trac2472
Stephen Morris [Tue, 13 Nov 2012 15:43:42 +0000 (15:43 +0000)]
[2472] Miscellaneous fixes after review
Stephen Morris [Tue, 13 Nov 2012 12:14:55 +0000 (12:14 +0000)]
[2472] Add getType() method and update message when backend is started
The message when the DHCPv6 database backend is started now includes
both the type and the name of the database.
Stephen Morris [Tue, 13 Nov 2012 12:06:48 +0000 (12:06 +0000)]
[2472] Use MySQL for lease manager backend (if present)
Parameters are hard-coded for the moment.
Marcin Siodelski [Tue, 13 Nov 2012 12:02:17 +0000 (13:02 +0100)]
[master] Merge branch 'trac2463'
Conflicts:
src/bin/dhcp6/tests/config_parser_unittest.cc
Shane Kerr [Tue, 13 Nov 2012 10:49:32 +0000 (11:49 +0100)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Shane Kerr [Tue, 13 Nov 2012 10:48:37 +0000 (11:48 +0100)]
Fix broken Solaris build by initializing variable.
Jelte Jansen [Tue, 13 Nov 2012 10:45:06 +0000 (11:45 +0100)]
[master] Update changelog for merge of #2464
Jelte Jansen [Tue, 13 Nov 2012 09:59:50 +0000 (10:59 +0100)]
[master] Merge branch 'trac2464'
Jelte Jansen [Tue, 13 Nov 2012 09:52:59 +0000 (10:52 +0100)]
[2305] addressed some comments in guide
Marcin Siodelski [Tue, 13 Nov 2012 09:19:54 +0000 (10:19 +0100)]
[2463] Fixed typos as a result of the review.
Naoki Kambe [Tue, 13 Nov 2012 01:40:18 +0000 (10:40 +0900)]
[master] ChangeLog for #2298
Naoki Kambe [Tue, 13 Nov 2012 01:09:58 +0000 (10:09 +0900)]
[2298_7] Merge branch 'trac2298_7'
Naoki Kambe [Tue, 13 Nov 2012 01:09:56 +0000 (10:09 +0900)]
[2298_1] Merge branch 'trac2298_1'
Jeremy C. Reed [Mon, 12 Nov 2012 21:05:54 +0000 (15:05 -0600)]
[trac2305] various minor documentation changes
add some docbook formatting tags
minor formatting changes.
bindctl -a defaults to 127.0.0.1 not localhost
add a space between "BIND 10"
some rewording
a few punctuation changes
add a sentence to describe an example
JINMEI Tatuya [Mon, 12 Nov 2012 20:22:41 +0000 (12:22 -0800)]
[2372] use specific constatnt values for Options instead of using the << trick
the previous code doesn't seem to be understandable as I thought, so I
simplfy revert to the more straightforward way.
also added doc for the enum
JINMEI Tatuya [Mon, 12 Nov 2012 20:12:58 +0000 (12:12 -0800)]
[2372] catch a buggy case of bogus ID in State::getInstance
JINMEI Tatuya [Mon, 12 Nov 2012 20:05:46 +0000 (12:05 -0800)]
[2372] made sure entire test sstring is built before starting test case.
The previous code should actually be safe based on the iostream/streambuf
APIs, but it's even much safer to completely give the ownership of the
passed stream to the input source.
Stephen Morris [Mon, 12 Nov 2012 19:17:51 +0000 (19:17 +0000)]
[master] ChangeLog for trac2342
JINMEI Tatuya [Mon, 12 Nov 2012 19:05:58 +0000 (11:05 -0800)]
[2372] hide specific state cleasse inside an unnamed namespace.
they don't have to be (actually they already aren't) visible outside this
translation unit.
JINMEI Tatuya [Mon, 12 Nov 2012 19:02:28 +0000 (11:02 -0800)]
[2372] a minor documentation wording correction.
JINMEI Tatuya [Mon, 12 Nov 2012 18:50:48 +0000 (10:50 -0800)]
[2372] minor editorial cleanup in a comment
Stephen Morris [Mon, 12 Nov 2012 17:16:07 +0000 (17:16 +0000)]
[2342] Merge branch 'master' into trac2342
Stephen Morris [Mon, 12 Nov 2012 14:57:03 +0000 (14:57 +0000)]
[2342] Miscellaneous changes as a result of review
Michal 'vorner' Vaner [Mon, 12 Nov 2012 10:53:53 +0000 (11:53 +0100)]
Make some constants unsigned explicitly
This should fix compilation, where it complains:
rrttl_unittest.cc:79: warning: this decimal constant is unsigned only in ISO C90
Michal 'vorner' Vaner [Mon, 12 Nov 2012 09:25:29 +0000 (10:25 +0100)]
Changelog for #2384
Michal 'vorner' Vaner [Mon, 12 Nov 2012 09:10:20 +0000 (10:10 +0100)]
Merge #2384
Stephen Morris [Sun, 11 Nov 2012 22:55:41 +0000 (22:55 +0000)]
[2342] Merge branch 'master' into trac2342
Conflicts:
doc/devel/mainpage.dox
src/lib/dhcp/Makefile.am
src/lib/dhcp/lease_mgr.cc
src/lib/dhcp/lease_mgr.h
src/lib/dhcp/tests/Makefile.am
src/lib/dhcp/tests/lease_mgr_unittest.cc
A number of other files were modified to resolve incompatibilities
in the way lease managers were created, and to promote the dummy
"memfile" lease manager to a fully-fledged lease manager with
unit tests.
Michal 'vorner' Vaner [Sat, 10 Nov 2012 10:28:53 +0000 (11:28 +0100)]
[2384] Little bit more range checking
There was a gap when one thing could overflow to negative numbers.
JINMEI Tatuya [Fri, 9 Nov 2012 22:27:14 +0000 (14:27 -0800)]
[2471] make sure rdata iterator is valid in DNAME proc for sufficiently long
otherwise it could result in using a freed object if the RRset comes from
the built in in-memory data source. This change makes the test in the
previous commit pass.
JINMEI Tatuya [Fri, 9 Nov 2012 22:25:46 +0000 (14:25 -0800)]
[2471] added a test cast for DNAME query proc using real in-memory datasrc.
this reproduces the problem of this ticket.
JINMEI Tatuya [Fri, 9 Nov 2012 17:21:29 +0000 (09:21 -0800)]
[2384] style fix: folded a long line
Stephen Morris [Fri, 9 Nov 2012 16:58:04 +0000 (16:58 +0000)]
[master] ChangeLog for trac2414
Stephen Morris [Fri, 9 Nov 2012 16:40:20 +0000 (16:40 +0000)]
[2414] Merge branch 'master' into trac2414