Commit Graph

78 Commits

Author SHA1 Message Date
beder
06cba07048 Fixed emitter bug with colon at the end of a scalar in a flow collection 2011-10-31 19:16:17 -05:00
beder
2b8106c822 Added parser test for single char input (that fails) 2011-10-20 13:53:27 -05:00
beder
4832ab81cc Updated old api spectests with common spec examples 2011-09-17 23:57:40 -05:00
beder
856c189890 Set the default build to the old API, and removed the duplicate spec test implementation for the old api 2011-09-17 23:46:48 -05:00
beder
c8d4f3237b Added bool conversions 2011-09-14 01:48:36 -05:00
beder
02cf1d54a3 Finished adding old spec tests 2011-09-13 14:31:00 -05:00
beder
fbf4233e4d Switched YAML::Parse to YAML::Load, and added LoadAll 2011-09-13 14:24:47 -05:00
beder
c7ad5cd246 Added 7.x and 8.x tests with tags - all that's left is multiple docs in stream 2011-09-13 14:20:32 -05:00
beder
aa35d5dbe6 Added 6.x tests with tags 2011-09-13 14:18:00 -05:00
beder
03ba10e880 Added IsNull, IsScalar, IsSequence, IsMap functions, so you don't have to query Type() 2011-09-13 14:10:27 -05:00
beder
b74bb2a32a Copied 2.x tests with tags 2011-09-13 14:07:22 -05:00
beder
4e5d49910b Added a convert<> specialization for YAML::_Null (so you can say node[YAML::Null]) 2011-09-13 02:03:56 -05:00
beder
413e9b2674 Copied over the 8.x tests that don't have tags 2011-09-13 01:56:44 -05:00
beder
3760a240c9 Copied over the 7.x tests that don't have tags 2011-09-13 01:46:42 -05:00
beder
3caab014d0 Copied over the 6.x tests that don't have tags 2011-09-13 01:36:27 -05:00
beder
f70f9ee6fc Copied over the 5.x tests 2011-09-13 01:28:32 -05:00
beder
47412f18e6 Copied over all the 2.x tests that are (a) single doc and (b) don't have tags 2011-09-13 01:23:30 -05:00
beder
6981893b28 Factored out spec examples, and sketched skeleton for spec tests for new API 2011-09-12 22:55:37 -05:00
beder
ee64f2b3af Added temp variable tests 2011-09-12 22:09:16 -05:00
beder
61d2aa9d5a Added failing self-reference tests 2011-09-12 12:48:51 -05:00
beder
8abb035eaf Added two alias tests 2011-09-12 12:42:23 -05:00
beder
f0ad35ccaf Implemented std::map decode (and fixed bug in the Node iterator - the reference_type should be just a plain value, since it's created on-the-fly) 2011-09-12 00:29:39 -05:00
beder
6f34e8972b Added reading/writing std::list 2011-09-11 23:18:19 -05:00
beder
3c6530f4f5 Added reading/writing std::vector 2011-09-11 23:14:52 -05:00
beder
1b8535c52e Implemented operator[] specialization, but only const (should the sequence be mutable?) 2011-09-11 21:51:04 -05:00
beder
eb7734bc80 Added failing map iterator count test 2011-09-11 17:36:08 -05:00
beder
01f3c7342c Implemented the map size computation 2011-09-11 17:16:26 -05:00
beder
8efde57f3f Added computing and caching the sequence size 2011-09-11 16:21:36 -05:00
beder
da0767726d Added some small map tests 2011-09-11 16:02:31 -05:00
beder
c0a9e9b6cb Added a few simple node tests, and the sequence one doesn't pass (let's work now) 2011-09-10 23:31:12 -05:00
beder
b078e86528 Started Node tests (for the new API Node) 2011-09-10 23:22:30 -05:00
beder
ad817d94fd Fixed minor things that used the old API, compiles/links/runs\! 2011-09-10 22:59:27 -05:00
beder
20fc439599 Added stubs for spec and parser tests with the new API 2011-09-10 18:05:35 -05:00
beder
37f35737e9 Moved old api tests to subfolder 2011-09-10 18:02:07 -05:00
beder
08d9cea7c7 Added notes about the two failing tests - that they're (I think) bugs in the YAML spec 2011-09-06 01:05:14 -05:00
beder
2e59a9d721 Switched YAML::Binary interface to use unsigned chars, not chars 2011-09-06 00:39:31 -05:00
beder
ed4431d584 Added overload for operator [] for char * (non-const version) 2011-09-06 00:32:53 -05:00
beder
239aaa97b5 Fixed empty string emitter bug (it now with auto-quote it 2011-09-06 00:24:10 -05:00
beder
bf3d1f00c8 Switched the 'pragma once' to only happen on MSVC, or gcc >= 3.4 (it was causing trouble on the sun compiler) 2011-09-06 00:16:03 -05:00
jbeder
2d72679eff Added test for anchor/alias in flow 2011-08-04 21:50:04 +00:00
jbeder
9768086bd8 Forced a newline after any comments 2011-08-04 21:47:57 +00:00
jbeder
bd60bdb227 Fixed negative infinity parsing 2011-07-10 18:29:44 +00:00
jbeder
207b719966 Added parsing .inf and .nan (and friend) 2011-07-10 16:27:40 +00:00
jbeder
afa6cf2b68 Removed comparison/implicit conversion operators for Node, and renamed Node::Read<T>() to Node::to<T>() 2011-03-15 05:49:56 +00:00
jbeder
6e4b920612 Updated for error in spec test 2011-03-04 04:19:34 +00:00
jbeder
922414b5c4 Added spec tests through chapter 8, all new ones pass except 8.21, which I think is wrong 2011-03-04 04:14:08 +00:00
jbeder
70937fd6dc Refactored parse.cpp so that VS doesn't complain, added MinSizeRel build setting, and fixed numbering in the spec tests 2011-03-03 20:01:32 +00:00
jbeder
a19be21c60 Added explicit doc start/end tokens for the emitter, and set it so that if you try to write after you've already written a full doc, it writes a doc start and continues 2011-03-03 09:26:12 +00:00
jbeder
8d2c708d69 Removed the default --- at the start of all emitter output 2011-03-03 08:57:00 +00:00
jbeder
ea09bd272c Added parsing of output to emitter tests 2011-03-03 08:04:30 +00:00