- added a wire-type ITEM_REAL (for DoubleElements) (we could technically
use ITEM_INT with the current code, but certainly not ITEM_UTF8).
if we keep this one, we need to add it to the other versions too (python&ruby)
- Bad boolean values in the string format returned a Null ElementPtr instead of raising an exception.
- Fixed decoding of True values off the wire
- Removed a few checks that aren't needed
- Fixed a null-termination problem when encoding big packets (i.e. > 256 and
> 65535 bytes)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@426 e5f2f494-b856-4b98-b285-d166d9295462
And fix setting of CPPFLAGS and LIBS. Don't use make-style
variable syntax in shell scripts as it became shell command substition.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@424 e5f2f494-b856-4b98-b285-d166d9295462
configure --with-lcov will try /usr/bin and /usr/local/bin for the lcov and genhtml binaries
(use --with-lcov=PATH to specify a full path to the lcov binary, genhtml is assumed to be in the same one)
this enables a new makefile target; coverage
make coverage removes old coverage results, performs the tests (by depending on make check), and generates a new report in coverage/
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@412 e5f2f494-b856-4b98-b285-d166d9295462
Now gives a configure-time error if gtest is not found (by checking gtest/gtest.h in the path(s))
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@411 e5f2f494-b856-4b98-b285-d166d9295462
Configuration syntax has changed; see README
Also the parkinglot.db format has changed and 'old' configuration will be
thrown away.
Merge back done to facilitate refactoring of names to conform to style guidelines (doing that in a separate branch could create too many conflicts)
next up: tests and documentation
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@405 e5f2f494-b856-4b98-b285-d166d9295462
removed catch-all in ccsession (i want to get the original exception)
check result size after get_config in parkinglot
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@397 e5f2f494-b856-4b98-b285-d166d9295462
also added a is_null(ElementPtr) function
added a test target to the main makefile (which will execute any executable binary in the tree that ends with "unittests")
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@387 e5f2f494-b856-4b98-b285-d166d9295462
TODO: these install wrappers need to be improved to run correctly
from the installed prefix.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@370 e5f2f494-b856-4b98-b285-d166d9295462
Install these scripts too.
(TODO: need to install the wrapper script too.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@369 e5f2f494-b856-4b98-b285-d166d9295462
bigtool now listens to 'specification_update' and 'commands_update' commands for data_spec and module commands of modules that were not running yet at the time bigtool was started. no command for removal yet
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@352 e5f2f494-b856-4b98-b285-d166d9295462
config data store now also has a version, so we can include a migration path later (for now if it find an old version it will throw away all config)
when storing the configuration, write it to a tmp file first, then move it if the writing succeeds, so we don't end up with a 0-byte file
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@351 e5f2f494-b856-4b98-b285-d166d9295462
config commands are kind of based on the message i sent last week to -dev; set,unset,add (to list), remove (from list), revert, and commit
changed configuration is stored, but not sent to and used by parkinglot etc. yet
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@343 e5f2f494-b856-4b98-b285-d166d9295462
somewhat parse the commands structure in bigtool as they are sent by the config manager
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@318 e5f2f494-b856-4b98-b285-d166d9295462