this will make the code -Woverloaded-virtual clean.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@730 e5f2f494-b856-4b98-b285-d166d9295462
- implemented DataDefinition.validate(data)
(has one more feature than the cpp version, you can optionally pass it
a list where it stores errors it finds, for user feedback)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@720 e5f2f494-b856-4b98-b285-d166d9295462
DNS library, and since we want to make the latter a general purpose library
we should avoid having dependency on std objects as much as possible.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@717 e5f2f494-b856-4b98-b285-d166d9295462
in general we should avoid non-private member variables whenever possible
for various reasons. and, in this case we can actually make it private
as we provide the accessor member function.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@716 e5f2f494-b856-4b98-b285-d166d9295462
in runQuery().
the bug is a perfect example of why we should define variables as locally as
possible (and more preferably why we should avoid using variables maintaining
states as much as possible in the first place)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@715 e5f2f494-b856-4b98-b285-d166d9295462
additional clenaup and improvements:
- supported NS for the static names
- use 0 TTL to be compatible with the current behavior
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@714 e5f2f494-b856-4b98-b285-d166d9295462
This makes it so I can now actually run bind10 without any installation first.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@713 e5f2f494-b856-4b98-b285-d166d9295462
for starting programs from bind10.
Have auth installed to pkglibexecdir. (While here add a comment about
pkgdatadir problem.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@712 e5f2f494-b856-4b98-b285-d166d9295462
for bind10-10.0.0. This defines @PACKAGE@ or $PACKAGE used for
installation subdirectory names.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@711 e5f2f494-b856-4b98-b285-d166d9295462
so that we do not have to add /cpp/ to every #include line
- removed /cpp/ from every include line
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@700 e5f2f494-b856-4b98-b285-d166d9295462
- isc::data::TypeError is now a subtype of isc::dns::Exception (which i think we should move to namespace isc::)
- isc::data::ParseError not yet; it is a subclass of std::runtime_error (due to the error in quiestion being constructed on the fly, can we add an equivalent of that to isc::[dns::]Exception?
- toWire() family of functions now writes directly to a stream, with a convenience function for Element that does return a std::string
- removed unused and unspecified toXML functions
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@699 e5f2f494-b856-4b98-b285-d166d9295462
output generated header files for lib/dns into source tree, not build tree
moved cfgmgr.py to lib/config/python/isc/config
run_bind10.sh now takes python path from build dir, not src
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@698 e5f2f494-b856-4b98-b285-d166d9295462
(This now builds the b10-auth binary. The b10-parkinglot binary is
still being built for reference purposes, but is expected to be removed.
Both programs use port 5300, so they cannot be run simultaneously.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@690 e5f2f494-b856-4b98-b285-d166d9295462
If run from source tree, it will store it in @abs_top_srcdir@/b10-config.db
if you depend on you data in /tmp/parkinglot.db, copy that one to the correct file
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@688 e5f2f494-b856-4b98-b285-d166d9295462