beder
|
0d12b0ac1f
|
Added single character emitting
|
2011-11-14 16:23:14 -06:00 |
|
beder
|
c14e27108e
|
Added missing includes (iostream) for the tests
|
2011-11-13 16:12:39 -06:00 |
|
beder
|
5f942b9f6b
|
Added (unspecified-type) bool conversions for Node (new API)
|
2011-11-13 16:05:42 -06:00 |
|
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 |
|
jbeder
|
724a834256
|
Compressed the sequence-of-maps emitting (got rid of the unnecessary newline) - issue 61
|
2011-03-03 03:37:54 +00:00 |
|
jbeder
|
1f3cf8639a
|
Merged r444:449 from the node refactoring branch to the trunk
|
2011-03-03 00:19:26 +00:00 |
|
jbeder
|
067bd9866f
|
Refactored bool emitting to make it 1) correct for the short bool form and 2) not barf on early versions of VS
|
2011-03-02 20:55:05 +00:00 |
|
jbeder
|
e227456982
|
Flipped the include guard and the pragma, and don't use the pragma for early versions of gcc (< 3.4)
|
2011-03-02 06:11:41 +00:00 |
|
jbeder
|
9a1ffcad7c
|
Switched exception constants to const char * const (from const std::string) so we don't have to construct them all in every translation unit, and switched the exception class to derive from std::runtime_error (so it handles what() for us)
|
2011-03-02 04:12:57 +00:00 |
|
jbeder
|
581e92f63e
|
Added Anchor() regex (so that we're not just using Alphanumeric to match anchors), but it's still not 100% right (it shouldn't allow non-printable characters, e.g.). Also fixed a test that was broken along these lines (if a colon immediately follows an anchor, it's part of the anchor)
|
2011-01-31 17:47:20 +00:00 |
|
jbeder
|
7e3c476ba8
|
Fixed emitting colon at end of scalar bug
|
2010-12-03 21:52:04 +00:00 |
|
jbeder
|
b44e529d75
|
Implemented binary emitting without the binary tag
|
2010-10-28 21:53:54 +00:00 |
|
jbeder
|
48e70e464a
|
Added more tests for the newline, and disallowed newlines after implicit block keys
|
2010-10-22 03:53:33 +00:00 |
|
jbeder
|
467eb4931b
|
Added YAML::Newline manipulator for the emitter
|
2010-10-21 22:02:29 +00:00 |
|
jbeder
|
171ea7ade0
|
Merged the extra tests from other-tags into the trunk (forgot last commit)
|
2010-10-19 06:51:54 +00:00 |
|
jbeder
|
3aafbdac96
|
Moved all the includes to a subfolder yaml-cpp so they don't interfere with other libraries' includes
|
2010-10-18 07:05:53 +00:00 |
|
jbeder
|
264c0c67c3
|
Added overloads for parsing stl maps and vectors
|
2010-03-15 04:25:17 +00:00 |
|
jbeder
|
edf5c4b1e6
|
Added test for duplicate key
|
2009-12-02 01:29:16 +00:00 |
|
jbeder
|
52a1a2f32f
|
Refactored emitter operator << overloads to not template them, so it's easier to overload for pointer types
|
2009-11-17 20:21:22 +00:00 |
|
jbeder
|
24e3129a71
|
Refactored the traits a bit, and added displaying the key to string and numeric key not found errors
|
2009-11-12 17:00:12 +00:00 |
|
jbeder
|
dc6253863d
|
Replaced conversion macros with SFINAE
|
2009-11-10 21:23:52 +00:00 |
|
jbeder
|
2c04fd83fb
|
Added some block scalar tests (with errors)
|
2009-10-30 18:16:26 +00:00 |
|
jbeder
|
00225fc1c7
|
Fixed bug with block maps with null value (the next key was being read as the value)
|
2009-10-30 01:06:19 +00:00 |
|
jbeder
|
2c7469d75d
|
Fixed mistake in test
|
2009-10-29 22:39:53 +00:00 |
|
jbeder
|
ce69328c5f
|
Refactored the compact map notation, which made it easy to implement explicit keys for compact maps
|
2009-10-29 22:09:50 +00:00 |
|
jbeder
|
7764d6db3c
|
Added test
|
2009-10-29 20:45:20 +00:00 |
|
jbeder
|
2db3479a9b
|
Added flow collection tests
|
2009-10-29 20:35:07 +00:00 |
|
jbeder
|
b8a2c396a3
|
Merged r295:305 from the tags branch to the trunk
|
2009-10-29 15:48:06 +00:00 |
|
jbeder
|
189e7e1a93
|
Removed crt stuff (we can do memory leak checking in Linux easier)
|
2009-10-27 14:55:01 +00:00 |
|
jbeder
|
9afcbf9775
|
Removed unused test yaml file
|
2009-10-27 14:48:01 +00:00 |
|
jbeder
|
631e2646d2
|
Renamed yaml-reader test (try 2)
|
2009-10-27 14:39:48 +00:00 |
|
jbeder
|
8a9fe52ea8
|
Renamed yaml-reader test
|
2009-10-27 14:38:53 +00:00 |
|