Commit Graph

410 Commits

Author SHA1 Message Date
jbeder
472bb80c9c 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
ca79c3da7f Switched the Exp:: regexes to functions that lazily evaluate their regexes 2009-11-04 22:56:59 +00:00
jbeder
fea35e3e8f Fixed silly bug in node cloning 2009-10-30 20:29:14 +00:00
jbeder
a55970c879 Added some block scalar tests (with errors) 2009-10-30 18:16:26 +00:00
jbeder
4dd1b19e51 Updated the Visual Studio solution for the new files/renaming. 2009-10-30 04:52:13 +00:00
jbeder
b1f143cfaf 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
c3f222e4d9 Fixed the whitespace tracking when we escape a newline in a double-quoted string 2009-10-29 22:55:50 +00:00
jbeder
e8beb6c98f Fixed mistake in test 2009-10-29 22:39:53 +00:00
jbeder
08ac48518f 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
7c4a8dad85 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
011a608b5a Implemented adjacent key:value pairs when the key is JSON-like 2009-10-29 21:05:48 +00:00
jbeder
72dceba671 Added test 2009-10-29 20:45:20 +00:00
jbeder
5618157a1e Added flow collection tests 2009-10-29 20:35:07 +00:00
jbeder
72413bafd4 Added ability to read compact maps in a flow sequence 2009-10-29 19:41:46 +00:00
jbeder
cccbddb54c Merged r295:305 from the tags branch to the trunk 2009-10-29 15:48:06 +00:00
jbeder
4f74f805c2 Removed crt stuff (we can do memory leak checking in Linux easier) 2009-10-27 14:55:01 +00:00
jbeder
3d24383686 Removed unused test yaml file 2009-10-27 14:48:01 +00:00
jbeder
5986307b8e Now actually removed yaml-reader 2009-10-27 14:47:08 +00:00
jbeder
d3b00fa6c5 Reverted yaml-reader name change 2009-10-27 14:45:14 +00:00
jbeder
50b026a3a9 Renamed yaml-reader test (try 2) 2009-10-27 14:39:48 +00:00
jbeder
7d5988401e Renamed yaml-reader test 2009-10-27 14:38:53 +00:00
jbeder
47628bf25e Tagged version 0.2.4 2009-10-25 20:27:31 +00:00
jbeder
52e3e0a4aa 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
770466d5d4 Tagged version 0.2.3 2009-10-22 21:55:44 +00:00
jbeder
9ee348d62e Small refactoring 2009-10-22 21:51:32 +00:00
jbeder
2b2fca758c Switch to flow map when emitting an empty block map 2009-10-22 14:21:12 +00:00
jbeder
2022379cf4 Switch to flow sequence when emitting an empty sequence 2009-10-22 14:17:12 +00:00
jbeder
68df40c1dc Fixed bug in plain scalar folding 2009-10-20 14:47:16 +00:00
jbeder
0bf5b133e1 Added a bunch of tests, simplified the testing code 2009-10-20 14:43:24 +00:00
jbeder
9a28c9178e Merged r270:HEAD of the emitting-unicode branch 2009-10-19 23:31:11 +00:00
jbeder
ae937a31d2 Fixed little bug in parser commit 2009-10-19 22:42:30 +00:00
jbeder
afc7c1088d Added default constructor to Parser, and cleaned it up a bit 2009-10-19 22:40:46 +00:00
jbeder
dd29c8181a Update CMakeLists.txt to append, not overwrite CMAKE_CXX_FLAGS 2009-10-19 22:32:26 +00:00
jbeder
06b8d4bacf Patched for optional building of tests and tools 2009-10-12 05:21:00 +00:00
jbeder
41a776b397 Refactored the UTF-8 emitting 2009-10-08 21:05:56 +00:00
jbeder
15d5b2b533 Fixed the emitter unicode output 2009-10-07 06:46:05 +00:00
jbeder
fb443b3056 Updated signature of Parser::GetNextDocument (issue 45) 2009-09-29 18:25:11 +00:00
jbeder
60fce621e8 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
a20141bca7 Patched for gcc version <= 3.3 (just fall back to original version of Node::Read) 2009-09-16 04:01:40 +00:00
jbeder
d957634c25 Tagged version 0.2.2 2009-09-09 01:37:23 +00:00
jbeder
7b889b9f35 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
246d8993d2 More tests, found bug in implicit keys in flow sequence 2009-09-08 05:35:39 +00:00
jbeder
e4540f2c2a 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
1d52e03750 Tests through 6.29, skipping directives and tags 2009-09-08 04:16:45 +00:00
jbeder
d38c4e6026 (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
afe01a86bd Fixed newlines in folded scalars bug 2009-09-07 22:48:32 +00:00
jbeder
994e6af8e0 Simplified testing output 2009-09-07 22:17:02 +00:00
jbeder
d15ce26b58 Fixed bugs with tab as non-content whitespace 2009-09-07 17:12:45 +00:00
jbeder
a725d4b190 Fixed bugs in escape characters (both parsing and emitting) 2009-09-07 16:31:23 +00:00
jbeder
315205298a Fixed error in test 2009-09-07 06:56:05 +00:00