2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

237 Commits

Author SHA1 Message Date
JINMEI Tatuya
cfde436fbd applied the patch proposed in #474: clang++/FreeBSD support 2011-01-07 11:59:03 -08:00
Jeremy C. Reed
06cfe32314 catch up to trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac470@4156 e5f2f494-b856-4b98-b285-d166d9295462
2011-01-04 18:40:58 +00:00
JINMEI Tatuya
006c32f46d sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac448@4131 e5f2f494-b856-4b98-b285-d166d9295462
2011-01-03 19:27:41 +00:00
Jeremy C. Reed
87428d78d0 Renamed some files and a directory.
Changed some names.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac470@4130 e5f2f494-b856-4b98-b285-d166d9295462
2011-01-03 19:08:38 +00:00
Yoshitaka Aharen
064529e8c0 Merged trac #347: Implement query counters in auth module (branches/trac347 r3685:r4016)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4026 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-28 03:50:44 +00:00
Jeremy C. Reed
8f985a64b4 catch up to trunk, 2 conflicts.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac362@4022 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-27 18:21:26 +00:00
JINMEI Tatuya
182fdca6e3 made lib/testutils clang++-friendly:
- replaced the ugly macro with real methods the base class using the template method pattern.  as a result srv_unittest.h is not needed anymore and removed.
 - avoided the use of an unnamed namespace in srv_test.h (another bad practice anyway)
 - avoided the use of 'using namespace' in srv_test.h (yet another bad practice anyway)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac448@4012 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-26 03:52:45 +00:00
Jelte Jansen
fa17460c29 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3901 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-20 20:53:09 +00:00
Jeremy C. Reed
d1ac56213c For the linker test (for checking flags) make sure it has
some code to link with.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3888 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-20 17:16:21 +00:00
Jelte Jansen
88441f682d more fixes, mostly for sunstudio:
- removed all #include <config.h> from nsas .h files (and moved them to .cc files)
- added the (hopefully temporary) workaround for boost/sunstudio (a check in configure.ac, and the redefinition of __SUNPRO_CC in the header files that include boost/thread.hpp)
- changed AC_COMPILE_IFELSE to AC_LINK_IFELSE to the compiler flags check functi
on (some flags will not fail until it gets to ld)
- changed a wrong ) in zone_entry_unittest
- changed nsas_entry_unittests so the hashkey string value would not fall out of scope
(diff checked by jreed)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3887 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-20 15:08:19 +00:00
Jeremy C. Reed
fd5a756404 Fix my BIND10_CXX_TRY_FLAG macro so it actually provides results.
This should have been in r3877 but I had removed it in my wrong testing.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3879 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-17 16:04:37 +00:00
Jeremy C. Reed
8498369cf0 Check if compiler accepts -Wno-missing-field-initializers.
Use it for nsas build even if not GCC.
(It was already used by default for nsas for past few days,
but that breaks old GCC. This will fix build for Solaris GCC.)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3877 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-17 13:45:38 +00:00
Jelte Jansen
abe0b52983 applying two fixed for solaris; remove 'using namespace boost' where we use uint32_t, and adds jeremy's check for the multithreading flag
(also added the latter to jinmei's ac_try_link call)
should not compile yet, we are still looking for a good solution for the -Wno-missing-initializers problem


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3872 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-16 13:55:56 +00:00
JINMEI Tatuya
7821901528 one missing change in trac #436: wording update to the configure error message.
quite trivial and already agreed in review, so directly committing it to trunk.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3870 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-16 09:38:39 +00:00
JINMEI Tatuya
12a1030e02 add notes about future policy changes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac436@3864 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-16 09:08:14 +00:00
JINMEI Tatuya
1de3838b24 made the indentation style consistent as suggested in review.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac436@3863 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-16 09:03:48 +00:00
JINMEI Tatuya
fe0e648be5 committing the initial proposed patch to the branch.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac436@3849 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-15 17:11:23 +00:00
Jelte Jansen
4c538c5118 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3838 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-14 14:59:53 +00:00
Jeremy C. Reed
97172cc21f NSAS library uses Boost Interprocess which was introduced in Boost 1.35.0.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3834 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-14 14:36:23 +00:00
Michal Vaner
fb41742d7d Sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac356@3822 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-14 09:22:16 +00:00
Jelte Jansen
8e9c9912d7 sync with trunk
also fixed a bug in recursor which caused a segfault (wrong iterator use in a foreach)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3783 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-09 11:47:41 +00:00
Jeremy C. Reed
8e451b08f7 For trac302, fix some wrong version reporting. Now also show the version
for the component and BIND 10 suite.

This is not complete as others can be set to do same thing.
Also need to reconsider if we really want to keep up with
per-module versioning.

While editing Changelog also add svn revision for another entry.

And update the version in configure.ac. (I jump to future a few hours :)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3696 e5f2f494-b856-4b98-b285-d166d9295462
2010-12-01 20:32:13 +00:00
Stephen Morris
ea4ec423d2 After synchronizing with trunk r3667
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac412@3674 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-30 13:20:42 +00:00
Stephen Morris
8681b8636f Added start_auth and start_recurse options to the Boss process to determine
where to start the authoritative and/or recursive server.  Additional
command-line options have been provided to set the address/port for the
latter.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac412@3638 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-25 13:53:42 +00:00
Jeremy C. Reed
3a03b35941 merge trunk back into this.
Also commit one extra line to configure.ac
+AC_SUBST(PYCOVERAGE_RUN)
(not sure how that disappeared but my last changes would have never worked)



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac362@3625 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-23 13:58:50 +00:00
Michal Vaner
558ae94366 Sync with #327
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-dummylog@3568 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-19 18:50:04 +00:00
Michal Vaner
1119011034 Sync with #327
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac402@3554 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-17 21:01:30 +00:00
Michal Vaner
8732968b14 Move common tests to separate directory
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac402@3552 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-17 16:52:36 +00:00
JINMEI Tatuya
e0dcd56b27 don't recongnize a trailing garbage as part of TTL spec.
this fix will prevent the parser from regarding a name beginning with a number as TTL (unless the name is really indistinguishable from a valid TTL).


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac411@3544 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-16 16:09:49 +00:00
Jeremy C. Reed
0963188cf1 Rename my pycoverage variable, since need it without the arguments too.
For loadzone tests, don't use "python" variable names.

In configure be able to set path of pycoverage too.
And report it at end of configure.

Add make targets:

 clean-cpp-coverage (was clean-coverage)
 clean-python-coverage
 report-cpp-coverage (was report-coverage)
 report-python-coverage (this creates ./py-coverage-html directory)

Now generic make targets for these do both.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac362@3510 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-12 12:18:39 +00:00
Michal Vaner
c8df23bf4e Sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3501 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-10 10:44:42 +00:00
JINMEI Tatuya
88d0f23444 omit parameter names when the parameter is unused, instead of the compiler dependent workaround using UNUSED_PARAM.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac409@3485 e5f2f494-b856-4b98-b285-d166d9295462
2010-11-08 05:58:10 +00:00
JINMEI Tatuya
9f42d28ba7 merged trac #365: clang++ support
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3383 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-28 08:37:28 +00:00
JINMEI Tatuya
5249d7ae45 printed $CXX at the end of script
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac365@3381 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-27 22:59:18 +00:00
Likun Zhang
fd0aa33626 Merge trunk back to this branch
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac364@3374 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-27 13:42:53 +00:00
Michal Vaner
6316f23eb3 Dummy log function to mark places to log
It will be replaced, but a function is better than comment, because:
* It prints the text to stderr at last for now
* Compiler can find the places for us when we remove the function, we
  would have to grep for the comments.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-dummylog@3357 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-26 11:13:33 +00:00
Stephen Morris
db1f12078c First block of Nameserver Address Store code for review
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac356@3272 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-19 10:24:53 +00:00
Michal Vaner
84e585bf67 Merged trac 353
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3240 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-17 17:21:21 +00:00
Naoki Kambe
f8d13770d4 add Makefile.am in each subdir instead of writing subdir in EXTRA_DIST in Makefile.am of parent dir
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3229 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-15 13:18:35 +00:00
Naoki Kambe
fc2610f5ad - merge trac #191 (Implement a initial version of stats)
- remove obsoleted stats files


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3218 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-15 06:34:33 +00:00
Jeremy C. Reed
c85ab2775d Update the version number. (Later may automate this based on
revision control id, for example).

While here remove a blank line and move a comma.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3202 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-13 19:51:55 +00:00
Likun Zhang
9ef09bfd76 Rename folder name from utils to util.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac364@3174 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-11 09:39:02 +00:00
Likun Zhang
98691c42d2 Remove the parameter 'db_file' for command 'retransfer' of xfrin module, and xfrin.spec will not be generated by script.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3171 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-11 07:20:09 +00:00
JINMEI Tatuya
bfd75fdafd overall cleanup for clang++ support: adding comment, configure setup, etc.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac365@3158 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-10 03:27:23 +00:00
Jeremy C. Reed
2eff5cec94 Add --with-pycoverage option to configure.
This will run Python "coverage" tool instead of Python itself
for the python test scripts.

Then "make check" will create python coverage data which
can make a report.
I will also add make targets for creating reports later.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac362@3136 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-07 17:30:20 +00:00
JINMEI Tatuya
ebed7a43e7 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac344@3103 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-02 06:33:40 +00:00
JINMEI Tatuya
3363091b87 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac345@3099 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-01 16:31:00 +00:00
JINMEI Tatuya
71a686f2d3 sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac354@3093 e5f2f494-b856-4b98-b285-d166d9295462
2010-10-01 04:26:22 +00:00
Michal Vaner
406cb7fc21 Tests for isc.net.check
They should fail now, since the functions are still stubs

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac353@3069 e5f2f494-b856-4b98-b285-d166d9295462
2010-09-29 14:29:03 +00:00
Michal Vaner
417b7f04af Interface of the isc.net.check module
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac353@3068 e5f2f494-b856-4b98-b285-d166d9295462
2010-09-29 14:28:21 +00:00