2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

13711 Commits

Author SHA1 Message Date
Jelte Jansen
e65b7b36f6 [master] Merge branch 'trac1351' 2012-12-11 14:19:25 +01:00
Marcin Siodelski
d81727d126 [master] Added ChangeLog entry for #2491. 2012-12-11 12:36:57 +01:00
Marcin Siodelski
0a4faa0777 [master] Merge branch 'trac2491' 2012-12-11 12:16:53 +01:00
Jelte Jansen
99b2935b21 [master] Changelog entry for merge of #2445 2012-12-11 11:42:18 +01:00
Jelte Jansen
74a0abe5a6 [master] Merge branch 'trac2445' 2012-12-11 10:56:33 +01:00
Jelte Jansen
27442da448 [2445] Revert "Remove setLogLevel(TRACE) in createBufferAppender"
This reverts commit 3f9c7bb8a9.
2012-12-11 10:55:59 +01:00
Mukund Sivaraman
044c477913 [master] Update ChangeLog for #2504 2012-12-11 08:39:39 +05:30
Mukund Sivaraman
230ccceb41 [master] Clear components dict as documented in BoB.kill_started_components()
This issue was detected post-merge, and seems to have been introduced
by commit 86ed7ae9cf in master.
2012-12-11 07:11:28 +05:30
Mukund Sivaraman
c0be62cb0f Merge branch 'master' into trac2353
Conflicts:
	src/bin/bind10/bind10_src.py.in
2012-12-11 05:54:01 +05:30
Jelte Jansen
3f9c7bb8a9 [2445] Remove setLogLevel(TRACE) in createBufferAppender
This has a chance that some log messages get lost (DEBUG messages during startup in case -v is not given but the config has DEBUG set)
2012-12-11 00:37:04 +01:00
Jelte Jansen
0cf505f04b [1351] Use TSIGKeyRing class in xfrin
Also updated said class (added a find(name) without algorithm)
2012-12-10 22:39:52 +01:00
Jelte Jansen
669a650ec3 [1351] Update docstring of set_tsig_key_name() 2012-12-10 21:49:23 +01:00
Jelte Jansen
b732625534 [1351] Fix xml error in b10-xfrin.xml source 2012-12-10 21:34:36 +01:00
Marcin Siodelski
8627b6eb89 [2491] Fixed a typo pointed out in the code review. 2012-12-10 21:21:22 +01:00
Jeremy C. Reed
172e704b66 [master] set DISTCHECK_GTEST_CONFIGURE_FLAG for --with-gtest too
This is for trac #2481. Review via jabber.
2012-12-10 13:41:48 -06:00
Marcin Siodelski
8ad7de967c [2491] Use .empty() function to check if container is empty. 2012-12-10 20:26:05 +01:00
JINMEI Tatuya
00554310f2 [master] pass method param by const reference instead of by object
this will suppress a cppcheck error:
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/20121209143001-FreeBSD8-amd64-GCC/logs/cppcheck.out

okayed on jabber.
2012-12-10 11:13:20 -08:00
Marcin Siodelski
eb5b276de3 [2491] Use insert instead of memcpy to append to a vector. 2012-12-10 18:32:42 +01:00
JINMEI Tatuya
0a9dafbece [2445] make initializaation for BufferAppenderTest more exception safe.
by encapsulating the appender in SharedAppenderPtr immediately after the
creation, we can make sure buffer_appender1 won't leak even if the
creation of the second appender fails.
2012-12-10 09:29:36 -08:00
JINMEI Tatuya
8065343bc1 [2445] constify 2012-12-10 09:26:34 -08:00
Marcin Siodelski
1572782282 [2491] Minor: fixed typo and updated comments. 2012-12-10 13:43:26 +01:00
Marcin Siodelski
8afd799648 [2491] Moved option std option definitions to a separate header. 2012-12-10 12:17:47 +01:00
Jelte Jansen
807cc540e1 [2445] Some more cleanups
- renamed test class
- added a subclass of BufferAppender to directly test append()
(and re-enabled the relevant test case)
- minor doxy updates
2012-12-10 11:52:00 +01:00
Jelte Jansen
2a69f5cd6a [2445] Add assert() after dynamic_cast 2012-12-10 11:26:41 +01:00
Jelte Jansen
7e30c020cd [2445] rename unit test file as well 2012-12-10 11:26:16 +01:00
Jelte Jansen
17fb43189b [2445] Store string version of log level in buffer
And use those in the case of flushStdout() upon destruction
2012-12-10 11:24:02 +01:00
Jelte Jansen
8bf2c98d2e [2445] rename log_buffer_impl to buffer_appender_impl
Since LogBuffer no longer exists, the file name did not match its content anymore
2012-12-10 10:54:12 +01:00
Jelte Jansen
12dba9fb97 [2445] Remove LogBuffer class
and pull its functionality into BufferAppender
(one unit test temporarily disabled, might be removed in next commit or updated to get around the protected method it uses)
2012-12-10 10:31:47 +01:00
Mukund Sivaraman
3e2d8b00ba [2353] Update comments (recommended by review) 2012-12-10 06:47:56 +05:30
Mukund Sivaraman
32011f9a36 [2353] Rename and document BoB._run_under_unittests 2012-12-10 06:43:07 +05:30
Mukund Sivaraman
02f306c854 [2353] Unify repeated test code 2012-12-10 06:40:41 +05:30
Mukund Sivaraman
6af3de2d2e [2353] Use a test environment instead of an empty one 2012-12-10 06:30:36 +05:30
Mukund Sivaraman
366f210b82 [2353] Use assertRaises() instead of the excessive code 2012-12-10 06:14:00 +05:30
Mukund Sivaraman
93eddf78d2 [2504] Add ChangeLog entry 2012-12-09 19:53:32 +05:30
Mukund Sivaraman
835553eb30 Merge branch 'master' into trac2504 2012-12-09 18:33:06 +05:30
Mukund Sivaraman
a6b558c0d0 [2504] Check result of find() 2012-12-09 18:04:59 +05:30
Marcin Siodelski
cb4d9b014e [master] perfdhcp test creates template files in a local folder.
The test used to create template files in a testdata folder without write
permissions. That caused 'make distcheck' errors. This regression had
been introduced with the ticket #2479. Okayed on jabber.
2012-12-07 21:36:42 +01:00
Stephen Morris
5c9dba4001 [master] Remove indirection in defining size of arrays
cppcheck was complaining about what was effectively:
const int A = 6; const int B = A; std::string array[b];

Changing this to
const int B = 6; std::string array[b];

... works
2012-12-07 20:25:25 +00:00
Jelte Jansen
06eeaf025b [2504] use example.com zone for test 2012-12-07 16:34:03 +01:00
JINMEI Tatuya
52a60eb5c9 [2445] Merge branch 'trac2445' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2445 2012-12-07 06:54:28 -08:00
Jelte Jansen
331a48e08d [1351] Use TSIG key ring in b10-xfrin
instead of separately configured keys;

with this change, the Xfrin/zones[X]/tsig_key value is not interpreted as a full key string, but as the name to look up in the /tsig_keys/keys list (like acls do)
2012-12-07 15:04:55 +01:00
Stephen Morris
755a3b5fa1 [master] ChangeLog for trac 2404 2012-12-07 13:42:03 +00:00
Stephen Morris
ce7db48d3f [2404] Merge branch 'master' into trac2404 2012-12-07 12:28:21 +00:00
Stephen Morris
1c59115d79 [2404] Alter memfile "getName()" to return "memory"
This reflects the fact that at the moment, the data is stored in
memory and not in a backing file.
2012-12-07 12:25:40 +00:00
Stephen Morris
fca3132940 [2404] Minor changes as a result of review 2012-12-07 11:18:47 +00:00
Jelte Jansen
512ccc6d8b [2445] Remove LogBuffer singleton
LogBuffers are now members of BufferAppender instances, and the singleton has been removed. LoggerManagerImpl keeps them (if any) around while processing a new specification, and flushes them when done.
2012-12-07 11:55:01 +01:00
Stephen Morris
126aeb9d11 [master] ChangeLog for trac 2396 2012-12-07 10:26:01 +00:00
Stephen Morris
c23f87e8ac [2396] Merge branch 'master' into trac2396 2012-12-07 09:59:00 +00:00
Jelte Jansen
1378932f02 [2445] Address smaller points in logbuffer code
- update README
- copy vector of event on flush
- only use very basic functions in case of flush-on-destruct
2012-12-07 10:44:57 +01:00
Jelte Jansen
dfebd6128b [2445] Rename log_buffer and its namespace
To prevent accidental outside use, all LogBugger (and BufferAppender) code is in the namespace isc::log::internal now, and the files have been renamed to _impl
2012-12-07 09:58:56 +01:00