Commit Graph

37 Commits

Author SHA1 Message Date
beder
7e2a6ac789 Fixed double quote escapes (e.g., \n is now that instead of \x0a) 2012-05-22 17:45:31 -05:00
beder
80f8ba469f Switched single quoted test to positive test (since we just convert to double quoted) 2012-05-22 16:59:39 -05:00
beder
7c235ea619 Removed key/value error checks (since we don't require asking them) 2012-05-22 16:57:30 -05:00
beder
f6def03c61 Fixed some newline/comma tests 2012-05-22 16:49:09 -05:00
beder
6c6acb6d8b Fixed emitter tests with newlines 2012-05-22 16:44:49 -05:00
beder
3aa647dd32 Fixed flow seq/map indentation 2012-05-22 16:39:03 -05:00
beder
bf0abf36fd Fixed some tests with the new compact long keys 2012-05-22 15:02:36 -05:00
beder
831a925250 Added failing test for compact map with newline 2012-05-20 01:31:57 -05:00
beder
c1e890df85 Removed old-api tests, added (empty) core spec tests 2012-05-19 01:16:54 -05:00
beder
45962234a1 Removed the new API from the default branch 2012-01-20 23:50:39 -06:00
beder
4e7aac7273 Fixed hex and oct emitting (it now adds the 0x or 0 prefix) 2012-01-13 00:00:11 -06:00
beder
09882be09c Removed some extra stuff in the comment/newline in flow map tests, which really should be illegal (since implicit keys can't span multiple lines). It would be impossible to fix if we keep the immediate-output we're doing now - the only way to prevent it would be to hold on to a key's text until we got to the value token to make sure it could be an implicit key 2012-01-11 17:06:27 -06:00
beder
32de51d596 Added parsing emitter tests with the new API, two fail 2012-01-11 16:41:13 -06:00
beder
fa39efd6ac Disallowed a plain scalar with just a dash 2012-01-11 16:39:24 -06:00
beder
64b2491a79 Added float/double precision setters 2012-01-11 14:34:04 -06:00
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
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
37f35737e9 Moved old api tests to subfolder 2011-09-10 18:02:07 -05:00
beder
2e59a9d721 Switched YAML::Binary interface to use unsigned chars, not chars 2011-09-06 00:39:31 -05:00
beder
239aaa97b5 Fixed empty string emitter bug (it now with auto-quote it 2011-09-06 00:24:10 -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
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
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
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
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
b8a2c396a3 Merged r295:305 from the tags branch to the trunk 2009-10-29 15:48:06 +00:00
jbeder
8a9fe52ea8 Renamed yaml-reader test 2009-10-27 14:38:53 +00:00