Mukund Sivaraman
cbf6d3808e
[2504] Add testcase that reproduces the problem
...
This test currently fails with an assertion.
2012-12-06 12:25:11 +05:30
JINMEI Tatuya
a6865a7686
[master] Merge branch 'trac2382'
...
with fixing Conflicts for
src/lib/dns/gen-rdatacode.py.in
src/lib/dns/rdata.cc
src/lib/dns/rrparamregistry-placeholder.cc
src/lib/dns/tests/rdata_hinfo_unittest.cc
src/lib/dns/tests/rdata_txt_like_unittest.cc
2012-12-05 11:34:59 -08:00
JINMEI Tatuya
e66472386a
[master] resolve additional conflicts due to change of token class name
2012-12-04 10:18:48 -08:00
JINMEI Tatuya
90641997b3
[master] Merge branch 'trac2506'
2012-12-04 09:58:54 -08:00
JINMEI Tatuya
816eacf47e
[2382] throw unexpected instead of assert on unexpected token in createRdata.
...
assert() should be okay, but that depends on details of other classes, so
exception is probably a bit safer.
2012-12-04 09:27:49 -08:00
JINMEI Tatuya
09d70952ca
[2382] added one suggested test: a case where RDATA is followed by comment
2012-12-04 09:22:44 -08:00
JINMEI Tatuya
6944e7758d
[2382] unify pushing '\0' for number-like data in Number::handle()
2012-12-04 09:18:03 -08:00
JINMEI Tatuya
970ee33b88
[2382] corrected typo in doc for createRdata()
2012-12-04 09:10:56 -08:00
Mukund Sivaraman
1545ba5efd
[master] Remove unnecessary namespace import
2012-12-04 15:09:17 +05:30
JINMEI Tatuya
3b154a6923
[master] removed duplicate listing of the same header file
2012-12-03 23:16:14 -08:00
JINMEI Tatuya
11bbe308df
[master] added master_XXX header files include_HEADERS for libdns++
...
these are (indirectly) necessary for building external programs.
2012-12-03 23:10:52 -08:00
Mukund Sivaraman
aad4df7a66
[master] Sort .gitignore
2012-12-04 11:52:38 +05:30
Mukund Sivaraman
95a87b15ab
[master] Update .gitignore files
2012-12-04 11:52:19 +05:30
Mukund Sivaraman
d5f52afdc5
Merge branch 'master' into trac2497
2012-12-04 10:16:23 +05:30
JINMEI Tatuya
203b4a0593
[2497] some suggested editorial cleanups: long line, identation, better e.g.
2012-12-03 18:29:37 -08:00
Mukund Sivaraman
20ff1f4962
[2497] Apply generic rules to class IN too
2012-12-04 04:52:54 +05:30
Mukund Sivaraman
ec24cb1c27
[2497] Add a direct HINFO testcase for the string parser
2012-12-04 04:44:34 +05:30
Mukund Sivaraman
1a2787f32f
[2497] Fix HINFO parsing in the string parser
...
The lexer variant also uses the string parser eventually (for now).
2012-12-04 04:40:42 +05:30
Mukund Sivaraman
7237139f1b
[2497] Return whether the string is quoted in characterstr::getNextCharacterString()
2012-12-04 04:13:57 +05:30
JINMEI Tatuya
2f554072bc
[2506] add another test for getting numbers
2012-12-03 13:41:33 -08:00
JINMEI Tatuya
191d96a587
[2506] add some comments of how eolCheck() works, and unify skipping 2nd \n.
2012-12-03 13:38:01 -08:00
Mukund Sivaraman
403af3331c
[master] Regenerate gen-rdatacode.py when gen-rdatacode.py.in is updated
2012-12-03 17:08:01 +05:30
Mukund Sivaraman
3e5f225205
[2497] Remove a couple of txt tests
2012-12-03 11:13:59 +05:30
JINMEI Tatuya
947a2d7aec
[2497] Move repeated code to a function
2012-12-03 11:09:00 +05:30
Mukund Sivaraman
292db149be
[2497] Make new_rdata_factory_users[] a list of tuples
...
Also:
* document new_rdata_factory_users[] with an example
* Rename new_rdatafactory_users[] to new_rdata_factory_users[]
2012-12-03 10:54:09 +05:30
Mukund Sivaraman
5bb4db417e
Merge branch 'master' into trac2450
2012-12-03 08:41:30 +05:30
JINMEI Tatuya
5d239b6aed
[2382] more update on comment
2012-12-01 08:32:06 -08:00
JINMEI Tatuya
9440d65d7e
[2382] comment wording fix
2012-12-01 08:28:37 -08:00
JINMEI Tatuya
dfd0dd105b
[2382] documentation updates
2012-11-30 20:17:23 -08:00
JINMEI Tatuya
e441d6b05a
[2382] warn if RDATA immediately followed by EOF
2012-11-30 19:41:14 -08:00
JINMEI Tatuya
0ad163bb37
[2382] handle other generic isc::Exception
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
f7f3060b97
[2382] supported extra token case and callback calls on error.
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
b9f1eefe7e
[2382] Consume to end of line / file in createRdata().
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
03dc2386b1
[2382] ungetToken EOL/EOF in the backend factories.
2012-11-30 19:41:12 -08:00
JINMEI Tatuya
3ae13a89a2
[2382] added from-lexer ctor for AAAA RDATA.
...
not directly related to this task, but I found we need one real (non wrapper)
example to test some of the feature of generic createRdata().
also updated RDATA template including with-lexer constructor.
2012-11-30 19:40:59 -08:00
JINMEI Tatuya
f73f27474f
[2382] unrelated fix to lexer: support empty qstring and nul termination.
...
an empty qstring previously caused an exception, which is a clear bug
and should be fixed. nul-terminating string regions is an extension,
but I found it useful when implementing RDATA parsers.
2012-11-30 18:50:13 -08:00
JINMEI Tatuya
ca8fc9f414
[2382] resolved remaining merge conflict on MasterLexer::Token.
2012-11-30 18:50:12 -08:00
JINMEI Tatuya
b48ecd894a
[2497] constify
2012-11-30 18:50:12 -08:00
Mukund Sivaraman
638a2d7fbb
[2497] Return NULL upon exception in rdata::createRdata()
2012-11-30 18:50:12 -08:00
Mukund Sivaraman
cb52403a8a
[2497] Add tests for NSEC3PARAM-like rrtypes
2012-11-30 18:50:11 -08:00
Mukund Sivaraman
a9a6007e02
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
2012-11-30 18:50:11 -08:00
Mukund Sivaraman
3e964a48bd
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
2012-11-30 18:50:11 -08:00
JINMEI Tatuya
8ab540a511
[2497] constify
2012-11-30 13:41:01 -08:00
Mukund Sivaraman
45b4e930c9
[2497] Return NULL upon exception in rdata::createRdata()
2012-11-30 20:01:49 +05:30
Mukund Sivaraman
9e98b4768d
[2497] Add tests for NSEC3PARAM-like rrtypes
2012-11-30 18:14:21 +05:30
Mukund Sivaraman
43292d60d9
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
2012-11-30 18:06:40 +05:30
Mukund Sivaraman
e3afa9c528
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
2012-11-30 17:42:39 +05:30
JINMEI Tatuya
8e32eb96aa
[2382] Merge branch 'trac2506' into trac2382
2012-11-29 20:44:10 -08:00
JINMEI Tatuya
6226330df8
[2382] Merge branch 'trac2497' into trac2382
2012-11-29 20:43:49 -08:00
Mukund Sivaraman
c73280d2eb
[2497] Also check and stop at END_OF_LINE
2012-11-30 09:50:23 +05:30