2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 12:37:55 +00:00

12705 Commits

Author SHA1 Message Date
Mukund Sivaraman
4d7d67838c [2369] Read data from the test file to check the InputSource 2012-11-04 21:49:56 +05:30
Mukund Sivaraman
ed1a2ad7df [2369] Use the more specialized std::ifstream instead of std::fstream 2012-11-04 21:40:33 +05:30
Mukund Sivaraman
9f5232047b [2369] Rename non-existent filename in test 2012-11-04 21:28:54 +05:30
Mukund Sivaraman
80b227af0b [2369] Move exceptions to the top of class 2012-11-02 09:59:16 +05:30
Mukund Sivaraman
a2090f1d57 [2369] Throw OpenError when opening the input file fails 2012-11-02 09:57:30 +05:30
Mukund Sivaraman
f142087f73 [2369] Add a file test as well 2012-11-02 09:45:27 +05:30
Mukund Sivaraman
e32617d592 [2369] Explain how compact() affects ungetAll() 2012-11-01 10:40:00 +05:30
Mukund Sivaraman
eb92bed532 [2369] Distinguish between EOF and failures in getChar() 2012-11-01 10:35:17 +05:30
Mukund Sivaraman
5ac6e8b56c [2369] Use a const variable's value for END_OF_STREAM state 2012-11-01 10:20:10 +05:30
Mukund Sivaraman
710bac3516 [2369] Initialize buffer_pos_ with 0
This is equivalent code to the former. The former was written such to
drive the point that buffer_pos_ is by default pointing at the end of
the buffer_ vector.  At construction, the buffer_ vector is empty, so
both work.
2012-11-01 09:53:32 +05:30
Mukund Sivaraman
b27d601b91 [2369] Constify name_ 2012-11-01 09:48:55 +05:30
Mukund Sivaraman
6b8bf7d03e [2369] Rename exception to UngetBeforeBeginning 2012-11-01 09:46:40 +05:30
Mukund Sivaraman
6847454e58 [2369] Rename files to master_lexer_inputsource.{cc,h} 2012-11-01 09:39:35 +05:30
Mukund Sivaraman
0dd898f809 [2369] Use createSreamName() from #2371 instead of using sprintf() 2012-10-31 13:04:03 +05:30
Mukund Sivaraman
ba71154440 [2369] Fix vector::erase() call in InputSource
The single-argument variant of vector::erase() deletes just one element
of the vector, not an entire range.  Tests have been fixed to check
that the range from start to the current buffer position is dropped
correctly.
2012-10-31 12:49:03 +05:30
Mukund Sivaraman
51e26dc96b [2369] Add InputSource::compact() method 2012-10-31 10:53:31 +05:30
Mukund Sivaraman
9843e33b58 [2369] Add API documentation for InputSource 2012-10-30 12:53:46 +05:30
Mukund Sivaraman
b5ca6ac342 [2369] Make InputSource manage opening files internally 2012-10-30 12:42:22 +05:30
Mukund Sivaraman
2c8d3ac2d8 [2369] Check saveLine() + ungetAll() 2012-10-29 09:45:52 +05:30
Mukund Sivaraman
a6093a8ef8 [2369] Throw a custom exception in ungetChar() 2012-10-29 08:35:20 +05:30
Mukund Sivaraman
cb9e761c57 [2369] Update comment, whitespace 2012-10-29 08:28:53 +05:30
Mukund Sivaraman
7fb91131cd [2369] Check as much as possible that line numbers are decremented correctly 2012-10-29 08:18:30 +05:30
Mukund Sivaraman
8aa5e22a0f [2369] Fix test, skipping backwards before doing newline check 2012-10-29 08:11:06 +05:30
Mukund Sivaraman
29ff6bebc9 [2369] Add InputSource helper class (work-in-progress) 2012-10-26 13:42:24 +05:30
Mukund Sivaraman
dc3884d6b3 Merge branch 'master' into trac2357 2012-10-26 05:33:30 +05:30
Mukund Sivaraman
195617a1fd [2357] Wrap comments above 80 char 2012-10-26 05:27:37 +05:30
Mukund Sivaraman
653d1d854a Merge branch 'master' into trac2236
Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/tests/auth_srv_unittest.cc
2012-10-26 04:24:07 +05:30
Jelte Jansen
0eb033a6b1 [2357] clean up a few #endif comments 2012-10-25 18:29:32 +02:00
Jelte Jansen
5744cc1cf3 [2357] additional __ fixes
in generator for rdataclass.h, and updated a doxygen comment
2012-10-25 18:13:52 +02:00
Jeremy C. Reed
c7123c288e [master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10 2012-10-25 07:18:22 -05:00
Mukund Sivaraman
fa6cef4dfb [2357] Rename macro to avoid conflict with another one
A macro in bin/auth/ shared name with a macro in lib/datasrc/. :)
2012-10-25 10:06:40 +05:30
Mukund Sivaraman
e710685dce [2357] Manually fix the odd ends that were left
* Some were left because they were not named .h
* Some were left because of typo in identifier names
2012-10-25 10:06:37 +05:30
Mukund Sivaraman
059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool
See bug #2367 for the fix-scaffolding.py tool.
2012-10-25 10:06:34 +05:30
Mukund Sivaraman
6d13586173 [2357] Update the scaffolding which message compiler generates 2012-10-25 10:06:30 +05:30
Mukund Sivaraman
54ae641d1c [2236] Remove obsolete comment 2012-10-25 07:04:08 +05:30
Mukund Sivaraman
1d4d9e796c [2236] Use PTHREAD_MUTEX_NORMAL fast mutexes by default 2012-10-25 06:50:32 +05:30
JINMEI Tatuya
296e119946 [master] use terminate() instead of assert(false) for forceful termination trac2406_base 2012-10-24 10:16:42 -07:00
JINMEI Tatuya
2ce8ea317b [master] fixed some log message description to it matches the implementation
with some other wording cleanups.
2012-10-24 09:50:48 -07:00
JINMEI Tatuya
80210bc178 [master] wording fix in changelog
trivial, committing at my discretion.
2012-10-24 09:04:43 -07:00
Marcin Siodelski
c4690c43b4 [master] Merge branch 'trac2316' trac2402_base 2012-10-24 10:58:24 +02:00
Marcin Siodelski
35300a55ab [2316] Passing option by reference as suggested in the review. 2012-10-24 10:57:39 +02:00
Jeremy C. Reed
c59f610bf6 [master]Merge remote-tracking branch 'origin/trac2361' 2012-10-23 13:44:28 -05:00
JINMEI Tatuya
3404981c39 [master] changelog entry for #2211 2012-10-23 11:23:46 -07:00
JINMEI Tatuya
aa9c2bbcf4 [master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-10-23 11:21:56 -07:00
JINMEI Tatuya
d02295dada [master] Merge branch 'trac2211'
with fixing Conflicts to:
	src/bin/auth/auth_srv.cc
	src/bin/auth/auth_srv.h
	src/bin/auth/datasrc_clients_mgr.h
	src/bin/auth/main.cc
	src/bin/auth/tests/auth_srv_unittest.cc
	src/bin/auth/tests/command_unittest.cc
2012-10-23 11:21:35 -07:00
Marcin Siodelski
d0b0208ae8 [master] Use std::copy to write IP address to buffer.
This fix resolves build issues on Fedora 17. Okayed on jabber.
2012-10-23 20:07:28 +02:00
Marcin Siodelski
ebdd232061 [master] Remove narrowing conversion from int to uint8_t.
This fix eliminates build failure on Fedora17 and Debian7. Okayed on jabber.
2012-10-23 20:06:52 +02:00
Jelte Jansen
5fd4177340 [master] Merge branch 'trac2210' 2012-10-23 19:40:28 +02:00
JINMEI Tatuya
9ba0013f74 [2211] adjusted log severity from ERROR to FATAL before aborting. 2012-10-23 10:20:21 -07:00
JINMEI Tatuya
d709ef90b8 [2211] removed an extra block from sendCommand() with clarification comments 2012-10-23 10:18:33 -07:00