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

27 Commits

Author SHA1 Message Date
Marcin Godzina
5390c1978f [#3307] release changes 2024-03-22 15:55:27 +00:00
Razvan Becheriu
31b47b5c57 [#3208] clean up code 2024-03-09 08:43:56 +02:00
Razvan Becheriu
561b90bee8 [#3208] remove unused code in libdns 2024-03-07 13:42:05 +02:00
Andrei Pavel
083dfcb218 Added #include <config.h> to all .cc files. 2016-12-14 16:15:52 +02:00
Marcin Siodelski
3d18318f68 [4236] Updated copyright dates in all files. 2015-12-16 15:28:44 +01:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Mukund Sivaraman
d09c436d4b [2572] Make minor comment updates 2013-01-15 14:24:43 +05:30
JINMEI Tatuya
5eeb4b30cb [2572] avoid direct comparison between size_t and streampos 2013-01-14 18:30:32 -08:00
JINMEI Tatuya
84ba4a728f [2572] handled solaris oddity: catch uncommon/buggy results of seekg/tellg. 2013-01-14 18:19:03 -08:00
JINMEI Tatuya
a032d84ef4 [master] explicitly cast -1 to std::streampos. needed for some compilers. 2013-01-11 10:35:54 -08:00
JINMEI Tatuya
4baf3a4dca [2572] introduced a special source size of "unknown".
this will help handle special cases like using the lexer with stdin
associated with a pipe.
2013-01-10 15:23:29 -08:00
JINMEI Tatuya
989e0535b0 [2572] added InputSource::getPosition() to return the current positio of src. 2013-01-09 17:03:27 -08:00
JINMEI Tatuya
b32cd0ea87 [2572] added InputSource::getSize() to know the total size of the source. 2013-01-09 16:32:56 -08:00
Michal 'vorner' Vaner
83053b85d9 [2375] Don't propagate exceptions from internal namespace
Move the ReadError exception into the MasterLexer. That way, it is in
public namespace, so people can expect to see it.
2012-11-19 16:57:08 +01:00
JINMEI Tatuya
82ad5754e3 [master] Merge branch 'trac2371' 2012-11-07 13:17:34 -08:00
Mukund Sivaraman
dce5a5557d [2369] Use prefix syntax for increment/decrement operators 2012-11-07 12:31:30 +05:30
JINMEI Tatuya
430b6e2f07 [2371] move the definition of END_OF_STREAM from test to the main impl .cc.
based on review discussions.  it makes sense as we cannot assume its address
is never needed in non test applications.
2012-11-06 08:56:50 -08:00
Mukund Sivaraman
ff7cec44f4 [2369] Describe why the operation failed in OpenError exception 2012-11-06 09:57:39 +05:30
Mukund Sivaraman
9af419deb6 [2369] Add InputSource::mark() as a combination of saveLine() and compact() 2012-11-04 22:44:08 +05:30
Mukund Sivaraman
ccb0973459 [2369] Constify variables in various places 2012-11-04 22:30:16 +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
a2090f1d57 [2369] Throw OpenError when opening the input file fails 2012-11-02 09:57:30 +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
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