jbeder
d7528a2f65
Added missing include
2009-12-02 05:59:18 +00:00
jbeder
7e8541001e
Fixed leak when adding duplicate keys (and actually changed the behavior - now we take the first instance, not the last)
2009-12-02 01:01:45 +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
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
404506658c
Added ability to read compact maps in a flow sequence
2009-10-29 19:41:46 +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
223177db90
Fixed bug with complex keys (and simplified the parsing for flow maps)
2009-09-06 21:52:56 +00:00
jbeder
6b70894903
Added templated casting to nodes, as well as operator == and != (for quick checks, especially to help in testing). Implemented size() on a map node to return the number of key/value pairs (as in std::map)
2009-09-06 15:54:11 +00:00
jbeder
ababdbe25d
Moved token enums into Token scope
2009-09-05 02:28:11 +00:00
jbeder
990686d3d2
Fixed bug in anchors with no content. This involved refactoring the 'implicit sequence' concept (where a map and a sequence start on the same indent, but we read the sequence as more indented since the '-' is visually an indent).
2009-08-24 22:56:54 +00:00
jbeder
7118305ecd
Added Node::Clone function
2009-08-24 20:10:42 +00:00
jbeder
49b1921be1
Fixed null key/value bug, added tests
2009-07-30 06:49:09 +00:00
jbeder
f69bd13b0f
Collected pos, line, and column into a Mark struct
2009-07-27 02:56:18 +00:00
jbeder
520240527f
Added emitting for a YAML::Node (instead of the ad-hoc std::ostream overload) so it'll actually emit valid YAML always
2009-07-10 23:39:14 +00:00
jbeder
52653a72fe
Applied patch for gcc -Wall
2009-01-15 17:12:13 +00:00
jbeder
b9908ead01
Replaced a pointer-centered try/catch block with std::auto_ptr
2008-11-20 03:41:40 +00:00
jbeder
ee8f7f68d1
Fixed a problem where you lose the exception type on rethrow.
2008-09-23 21:13:23 +00:00
jbeder
0c384260a4
Set the eol style to native for all files.
2008-09-03 22:20:39 +00:00
jbeder
d4cc7a07f8
Unified line endings.
2008-09-03 22:17:17 +00:00
jbeder
113193209e
Added CMake scripts for other platforms\nFixed some bugs that gcc complained about\nFixed CR/LF vs LF bug
2008-08-07 03:30:56 +00:00
beder
05f24705c5
2008-07-31 19:41:11 +00:00
beder
963e7abbfd
Small changes in the iterator code.
...
Changed the public interface of Scanner to resemble an STL container.
2008-07-23 04:38:18 +00:00
beder
7e47a0b754
Replaced the queue of Token pointers with values.
...
We were getting memory leaks (as told by the CRT detectors, which I also added), and there's really no reason (as long as we're careful) to use pointers there.
2008-07-20 05:02:01 +00:00
beder
68793e425e
Moved all code to src/ and include/ directories.
2008-07-14 04:33:30 +00:00