- 08 Mar, 2010 5 commits
-
-
JINMEI Tatuya authored
- hide the details of the Session class using pimpl (mainly so that we can easily replace the internal implementation with boost::asio, etc) - make the Session un-copyable (not absolutely necessary, but possible, and it will make other things easier) - make establish() exception safe - corrected return value check for socket(2) - other minor style fixes git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1210 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
if not set, the hardcoded default is used Added removeDataSrc(ConstDataSrcPtr) to remove a running one (auth_srv has a copy of the currently running sqlite datasrcptr to keep track of this) added test for addDataSrc and removeDataSrc (for which is also added an dataSrcCount() function) removed zone_list from auth.spec to avoid confusion updated ccsession to give a better error when there is something wrong (like a bad .spec file) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1203 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1199 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1196 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1195 e5f2f494-b856-4b98-b285-d166d9295462
-
- 05 Mar, 2010 6 commits
-
-
JINMEI Tatuya authored
- (minor style change) simplified some if conditions git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1132 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Noticed on NetBSD and FreeBSD. (Linux and Solaris already include it via netdb.h.) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1131 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
- a few other dual-stack fixes git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1130 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1129 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
This is based on ideas done in experiments/jreed-layout, but I manually did this again. Moved around directory structures. A single python subdirectory under src/lib for single "isc" module. No "cpp" directories. No pyshared or includes symlink trees. I tested running the c++ tests and python tests. I tested running run_bind10.sh from source tree (with nothing installed). I tested running bind10 from installed (after moving source). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1120 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- fixed memory leak for Datasrc* stored in the MetaDataSrc vector. there are several possible ways to do this, but I chose to using boost::shared_ptr. expect for portability issues this seems to be the cleanest solution, and, regarding portability, we already heavily rely on boost anyway, so we should revisit the whole design if/when we seriously consider binary portability. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1118 e5f2f494-b856-4b98-b285-d166d9295462
-
- 04 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
- use forward declarations instead of including headers when possible - partly as a result of that, moved method definitions from .h to .cc unless it does very trivial thing and is deemed to be performance sensitive. - avoid 'using namespace' in header files - made data-source related objects non-copyable as much as possible - fixed a bug of an uninitialized variable - made coding style more consistent git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1110 e5f2f494-b856-4b98-b285-d166d9295462
-
- 03 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
now that we support EDNS. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1092 e5f2f494-b856-4b98-b285-d166d9295462
-
- 02 Mar, 2010 3 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1074 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1073 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1071 e5f2f494-b856-4b98-b285-d166d9295462
-
- 28 Feb, 2010 1 commit
-
-
Jelte Jansen authored
added isc::data::merge(element, element), that merges the values in the second mapelement into the first (copies the pointers that are present in the second element, and removes from a the values that are empty pointers in the second) the ElementPtr passed to the module's config handler now only contains the data that has actually changed (settings that are the same as before are removed from what is passed to the config handler) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1041 e5f2f494-b856-4b98-b285-d166d9295462
-
- 26 Feb, 2010 3 commits
-
-
Jelte Jansen authored
simple example to set the database file in auth (which is seen and remembered, but not passed on to the sqlite3datasource yet) we should look for a decent way to do this without needing a global auth variable (jinmei has some ideas) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1003 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
updated command callback fingerprint; the function a module provides should now take 2 arguments; the first is a string with the name of the command, the second an ElementPtr containing argument(s) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@999 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
ticket #50 for full details) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@988 e5f2f494-b856-4b98-b285-d166d9295462
-
- 22 Feb, 2010 1 commit
-
-
Jelte Jansen authored
added error feedback to config_validate() and option to validate partial configurations in cpp version fixed a bug in Mapelement->str() (it can now print empty map elements) added tests for python config_data module and fixed a few bugs there git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@911 e5f2f494-b856-4b98-b285-d166d9295462
-
- 19 Feb, 2010 1 commit
-
-
Jelte Jansen authored
moved two sets of common code into one private handleConfigUpdate function git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@881 e5f2f494-b856-4b98-b285-d166d9295462
-
- 18 Feb, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@871 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@869 e5f2f494-b856-4b98-b285-d166d9295462
-
- 17 Feb, 2010 1 commit
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@853 e5f2f494-b856-4b98-b285-d166d9295462
-
- 16 Feb, 2010 2 commits
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@838 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
renamed the DataDefinition class to the much more accurate ModuleSpec also renamed some ambiguously named functions therein git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@833 e5f2f494-b856-4b98-b285-d166d9295462
-
- 15 Feb, 2010 1 commit
-
-
Jelte Jansen authored
added some more dummy specfile entries creates two simple functions for making and reading answer messages bindctl will parse command 'config set' values natively (i.e. for "config set my_item 3" the 3 is now read as an integer instead of a string) added config diff option that shows a dict of the current uncommited changes git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@823 e5f2f494-b856-4b98-b285-d166d9295462
-
- 13 Feb, 2010 1 commit
-
-
Jelte Jansen authored
refactoring of cfgmgr and config in general; they now use the datadefinition class so they could later validate data that is passed around (refactoring not done yet, though it is now in a working state again, which seemed like a good time to commit) added a config_data.py with classes for storing definitions and data (for both modules and UIs) fixed a missed refactoring bug in bob changed DataDefinition initializer; a string is now parsed instead of seen as a file name; there is a helper function in the module to read a datadef directly from file now added a temporary example config data specification for auth module added a temporary second config data element to bob.spec git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@814 e5f2f494-b856-4b98-b285-d166d9295462
-
- 05 Feb, 2010 1 commit
-
-
Jelte Jansen authored
don't forget to make clean and autoreconf again git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@735 e5f2f494-b856-4b98-b285-d166d9295462
-
- 03 Feb, 2010 3 commits
-
-
Jeremy C. Reed authored
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
-
Jeremy C. Reed authored
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
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@709 e5f2f494-b856-4b98-b285-d166d9295462
-
- 02 Feb, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@704 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
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
-
- 01 Feb, 2010 1 commit
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@697 e5f2f494-b856-4b98-b285-d166d9295462
-
- 30 Jan, 2010 1 commit
-
-
Evan Hunt authored
(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
-