Commit Graph

26 Commits

Author SHA1 Message Date
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