JINMEI Tatuya
fe0e9a269f
[1870] removed unnecessary call to AX_BOOST_INCLUDE.
...
since AC_REQUIRE internally does it.
2012-10-11 10:04:32 -07:00
JINMEI Tatuya
666c34d9e2
[1870] removed rrsetlist.h from the libdns___include_HEADERS
...
it will be cleaned up and should better be excluded from the publicly
visible list.
2012-10-11 10:04:32 -07:00
JINMEI Tatuya
4686e5da4e
[1870] some more doc cleanups
2012-10-11 10:04:31 -07:00
JINMEI Tatuya
4e5ca3a84b
[1870] provided top level README
2012-10-11 10:04:31 -07:00
JINMEI Tatuya
cdbc11cf13
[1870] separated BIND 10 common libs and DNS lib
...
so that we can eventually selectively choose module specific libraries.
2012-10-11 10:04:31 -07:00
JINMEI Tatuya
0dca4820d8
[1870] removed src/bin/host/Makefile from toplevel configure.ac.
2012-10-11 10:04:31 -07:00
JINMEI Tatuya
0edff937af
[1870] introduced separate m4 files for dependencies.
2012-10-11 10:04:30 -07:00
JINMEI Tatuya
ecb4349018
[1870] make sure install some more headers under dns/ and util/
...
there may be more, but at least this makes (b10-)host compile as a 3rd party
app.
2012-10-11 10:04:30 -07:00
JINMEI Tatuya
83cdd8bb5d
[1870] moved src/bin/host under example/
...
(at least for now) there's no way to transform xml doc to other formats.
only xml is provided for reference.
2012-10-11 10:04:30 -07:00
JINMEI Tatuya
dc506d0714
[1870] created a separate dir to store example "3rd party" apps using BIND 10.
2012-10-11 10:04:30 -07:00
JINMEI Tatuya
b2cb1e1e33
[2203] renamed datasrc_configurator to datasrc_config; it represents it better.
2012-10-11 10:04:30 -07:00
JINMEI Tatuya
4da98b699e
[2203] forotten cleanup: removed now-unused header file.
2012-10-11 10:04:29 -07:00
JINMEI Tatuya
6f008e1916
[2203] a piggy back fix: prevent redundant initial data configuration.
...
this addresses the issue described in #2291 . Still not really clean,
but thanks to boost::bind we can centralize all the code logic in the
callback, so I think it's now less likely that we forget cleaning it up
when the hack is not necessary.
2012-10-11 10:04:29 -07:00
JINMEI Tatuya
e0f618ac8f
[2203] changed configurator class to a simple function.
...
as it's now completely stateless and can work independently.
the common specialization for the main implementation is defined in a
new created .cc file.
2012-10-11 10:04:29 -07:00
JINMEI Tatuya
bb21aa5022
[2203] pass server obj to configurator's reconfigure().
...
now the configurator class is completely stateless.
2012-10-11 10:04:29 -07:00
JINMEI Tatuya
f38d24a77f
[2203] refactoring 2nd step: configurator can now be a separate object.
...
i.e., it's not a singleton any more.
testReconfigure() method isn't needed any more because it doesn't hold
CC session internally.
DatasrcConfiguratorTest.initialization test currently fails and is
disabled for now. The plan is to make the class completely stateless,
at which point we don't even have to think about initialization or cleanup,
and then the test will be able to be removed.
2012-10-11 10:04:29 -07:00
JINMEI Tatuya
da22b37709
[2203] changed the callback type of addRemoteConfig to boost::function.
...
this will make it more convenient, e.g., by allowing the caller to pass
boost::bind encapsulating a class object and a class method.
boost::function is upper compatible to function pointer, so it doesn't
ensure source-level compatibility.
the functor overhead shouldn't matter in this context, and since this module
already uses boost::function this change doesn't introduce additional
dependency.
2012-10-11 10:04:28 -07:00
JINMEI Tatuya
0e9c2a4c68
[2203] refactoring 1st step: move session obj outside of datasrc configurator.
2012-10-11 10:04:28 -07:00
Mukund Sivaraman
f7c0410f7d
[1899] Allow other RRtypes in nsec3 table (for RRSIGs)
...
* The unique constraint on NSEC3 owner per zone is now removed
* NSEC3 RRSIGs are now returned next to their RR set
* Test was adjusted to check for RRSIGs too
2012-10-11 10:04:28 -07:00
Mukund Sivaraman
13089ae122
[1899] Add another unittest to check that NSEC3 RRs are being returned
2012-10-11 10:04:28 -07:00
Mukund Sivaraman
dd83505aca
[1899] Break up UNION SQL query into two and merge manually
...
Also drop unnecessary columns and ORDER BYs.
2012-10-11 10:04:27 -07:00
Mukund Sivaraman
06c667cd02
[1899] Add a unique constraint to nsec3 table
...
This is to check that only one NSEC3 RR exists per owner name in a
zone. The code to fix #1899 would depend on this assertion.
2012-10-11 10:04:27 -07:00
JINMEI Tatuya
c66fe1c8ad
[master] add std:: for memset(). sunstudio requires this with <cstring>
2012-10-11 10:04:27 -07:00
Jelte Jansen
1eb3ce6df7
[2275] fix strncpy in socketrequestortest
2012-10-11 10:04:27 -07:00
Jelte Jansen
9334389794
[2275] address review comments
2012-10-11 10:04:26 -07:00
Jelte Jansen
3d98322d24
[2275] valgrind fixes: uninitialized memory
2012-10-11 10:04:26 -07:00
Jelte Jansen
1c4ec91a6f
[2275] valgrind fixes: uninitialized memory
2012-10-11 10:04:26 -07:00
Jelte Jansen
b41cca56e9
[2275] use const char* for test globals
2012-10-11 10:04:26 -07:00
Jelte Jansen
c3a2105cbd
[2275] valgrind fix: initialize memory in labelsequence test
2012-10-11 10:04:26 -07:00
Jelte Jansen
347e333b52
[2275] valgrind fix: store singleton instance in auto_ptr
2012-10-11 10:04:25 -07:00
Jelte Jansen
fac39dc29a
[2275] valgrind fix: close db in test case
2012-10-11 10:04:25 -07:00
Mukund Sivaraman
adb92afc6f
[master] Add libb10-cc.la to tests Makefile.am
2012-10-11 10:04:25 -07:00
Jelte Jansen
c28be089b9
[2278] Add temporary suppression for false positives
2012-10-11 10:04:25 -07:00
Jelte Jansen
998645aaeb
[2278] remove a bit of dead code
2012-10-11 10:04:25 -07:00
Jelte Jansen
55d94bb5f7
[2278] A number of cppcheck fixes
...
and whitespace things, while i was there
2012-10-11 10:04:25 -07:00
JINMEI Tatuya
3e2a372012
[2340] corrected the position of closing 'fi' for an 'if GXX = yes'.
2012-10-11 10:04:24 -07:00
JINMEI Tatuya
5cc254b16b
[2340] added comment about why we need to explicitly define empty dtor.
2012-10-11 10:04:24 -07:00
JINMEI Tatuya
b05952bb39
[2340] added workaround for the clang++ "unused arguments" warn/error.
...
by specifying -Qunused-arguments. Also, as a cleanup for better organization
I moved compiler specific settings to earlier part of configure.ac, where
this workaround was added.
2012-10-11 10:04:22 -07:00
JINMEI Tatuya
b770f51096
[2340] Revert "[2340] specify thread flag as part CPPFLAGS, not LDFLAGS."
...
This reverts commit daf81c8846
.
I believe the sense of the change is correct, but it has effects on
other OSes, so it's probably better to use clang specific workaround
(will commit it later).
2012-10-11 10:04:19 -07:00
JINMEI Tatuya
9ef297b7fa
[2340] Revert "[2340] specify -pthread in CXXFLAGS and via system-indepedent variable."
...
This reverts commit d62a1e4250
.
I believe the sense of the change is correct, but it has effects on
other OSes, so it's probably better to use clang specific workaround
(will commit it later).
2012-10-11 10:04:13 -07:00
JINMEI Tatuya
a017390f15
[2340] specify -pthread in CXXFLAGS and via system-indepedent variable.
...
specifying it in LDFLAGS would trigger build error with some versions of clang.
hardcoding "-pthread" is less portable.
2012-10-11 10:04:11 -07:00
JINMEI Tatuya
6fc2942362
[2340] removed an effectively unused variable. clang would complain.
2012-10-11 10:04:08 -07:00
JINMEI Tatuya
1426bb5c63
[2340] specify thread flag as part CPPFLAGS, not LDFLAGS.
...
newer version of clang treats the latter as a fatal error.
2012-10-11 10:04:05 -07:00
JINMEI Tatuya
73f22adb34
[2340] explictly define destructor of mostly empty template class.
...
without this new versions of clang++ seem to complain that instantiation of
the class results in an unused variable.
2012-10-11 10:03:58 -07:00
JINMEI Tatuya
93e596c474
[master] Merge branch 'trac2284'
2012-10-04 14:33:56 -07:00
JINMEI Tatuya
f037ebb23c
[2284] minor comment update about in-memory finder context's getFinder().
...
with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283 ,
instead of #2284 .
2012-10-04 14:30:31 -07:00
Mukund Sivaraman
41538b7ce9
Merge branch 'master' into trac2206
2012-10-04 13:43:53 +05:30
Mukund Sivaraman
78dfd7dcd6
[2268] Move both const and non-const checks into a single testcase
2012-10-04 13:15:37 +05:30
JINMEI Tatuya
b1d4ff896a
[2284] reverted the getAtOrigin() framework.
...
Unfortunately it turned out it doesn't work for the originally intended
purpose. See the ticket for details.
2012-10-04 00:30:47 -07:00
Mukund Sivaraman
47c013b000
[2206] Make a common function out of duplicate code
2012-10-04 10:19:35 +05:30