Commit Graph

212 Commits

Author SHA1 Message Date
jbeder
dc6253863d Replaced conversion macros with SFINAE 2009-11-10 21:23:52 +00:00
jbeder
4f71ae3c72 Overloaded more integral types for emitting 2009-11-06 03:24:12 +00:00
jbeder
6c504ceae9 Fixed the return value of the integral conversion functions, and also unset the dec flag so it reads other bases (just a temporary fix, since we're officially supposed to read binary too) 2009-11-06 03:13:54 +00:00
jbeder
135c4c42ed Switched the Exp:: regexes to functions that lazily evaluate their regexes 2009-11-04 22:56:59 +00:00
jbeder
b276dd6d51 Fixed silly bug in node cloning 2009-10-30 20:29:14 +00:00
jbeder
2c04fd83fb Added some block scalar tests (with errors) 2009-10-30 18:16:26 +00:00
jbeder
00c84d9347 Updated the Visual Studio solution for the new files/renaming. 2009-10-30 04:52:13 +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
586b2c52a3 Fixed the whitespace tracking when we escape a newline in a double-quoted string 2009-10-29 22:55:50 +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
deb3835475 Added case for parsing a compact key: value pair in a flow sequence with a null key 2009-10-29 22:01:01 +00:00
jbeder
b2c5328e6a Implemented adjacent key:value pairs when the key is JSON-like 2009-10-29 21:05:48 +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
404506658c Added ability to read compact maps in a flow sequence 2009-10-29 19:41:46 +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
9eaae37791 Now actually removed yaml-reader 2009-10-27 14:47:08 +00:00
jbeder
9c99c0edd9 Reverted yaml-reader name change 2009-10-27 14:45:14 +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
jbeder
bed6c52611 Tagged version 0.2.4 2009-10-25 20:27:31 +00:00
jbeder
e2ed13ff7b Updated the CMake globbing so it only compiles sources starting with a lowercase letter (apparently Mac OS auto-generates files looking like ._whatever and it was trying to compile those too) 2009-10-25 18:01:48 +00:00
jbeder
66286082bd Tagged version 0.2.3 2009-10-22 21:55:44 +00:00
jbeder
e1b56b9ad0 Small refactoring 2009-10-22 21:51:32 +00:00
jbeder
8b2ca3c376 Switch to flow map when emitting an empty block map 2009-10-22 14:21:12 +00:00
jbeder
dcd95d607c Switch to flow sequence when emitting an empty sequence 2009-10-22 14:17:12 +00:00
jbeder
4f73c96cff Fixed bug in plain scalar folding 2009-10-20 14:47:16 +00:00
jbeder
816d7ec833 Added a bunch of tests, simplified the testing code 2009-10-20 14:43:24 +00:00
jbeder
7f0427a8b2 Merged r270:HEAD of the emitting-unicode branch 2009-10-19 23:31:11 +00:00
jbeder
6358dc0b71 Fixed little bug in parser commit 2009-10-19 22:42:30 +00:00
jbeder
1a3afd2438 Added default constructor to Parser, and cleaned it up a bit 2009-10-19 22:40:46 +00:00
jbeder
85120a2cbf Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS 2009-10-19 22:32:26 +00:00
jbeder
eef16b7f23 Patched for optional building of tests and tools 2009-10-12 05:21:00 +00:00
jbeder
6e5f7a79a0 Refactored the UTF-8 emitting 2009-10-08 21:05:56 +00:00
jbeder
781bec01b3 Fixed the emitter unicode output 2009-10-07 06:46:05 +00:00
jbeder
3f0cbb563d Updated signature of Parser::GetNextDocument (issue 45) 2009-09-29 18:25:11 +00:00
jbeder
564b0d4d52 Modified old gcc version patch so it still uses the new Node::Read in Visual Studio. Also broke up the \uNNNN characters in the spec tests into \xNN-type strings. 2009-09-16 05:31:28 +00:00
jbeder
bbc05e6457 Patched for gcc version <= 3.3 (just fall back to original version of Node::Read) 2009-09-16 04:01:40 +00:00
jbeder
21b4a609ab Tagged version 0.2.2 2009-09-09 01:37:23 +00:00
jbeder
f5bca50ff8 Cleaned up the read template overloads (per litb's update); it seems the old version didn't compile in VS2008. Also updated the VS project files. 2009-09-08 20:57:18 +00:00
jbeder
cf07fb3712 More tests, found bug in implicit keys in flow sequence 2009-09-08 05:35:39 +00:00
jbeder
eb8d78f3a3 Fixed flow folding, and made the separation slightly cleaner (but the whole scanscalar thing could use a major refactoring) 2009-09-08 05:24:06 +00:00
jbeder
633aa1a801 Tests through 6.29, skipping directives and tags 2009-09-08 04:16:45 +00:00
jbeder
740bf19023 (Actually) fixed the folding newline bug, but it's a bit messy, and we don't accurately make the distinction between block folding and flow folding 2009-09-07 23:29:04 +00:00
jbeder
5547f4ef6c Fixed newlines in folded scalars bug 2009-09-07 22:48:32 +00:00
jbeder
71c99f27af Simplified testing output 2009-09-07 22:17:02 +00:00
jbeder
074283dc4b Fixed bugs with tab as non-content whitespace 2009-09-07 17:12:45 +00:00