jbeder
f4b81e7349
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
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
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
72413bafd4
Added ability to read compact maps in a flow sequence
2009-10-29 19:41:46 +00:00
jbeder
2fe7e8d525
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
fc22d55b53
Added Node::Clone function
2009-08-24 20:10:42 +00:00
jbeder
a2bd317397
Added header file inclusion guards
2009-07-29 22:27:20 +00:00
jbeder
a48191c970
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
7297387015
Fixed several bugs from the new file i/o setup.
...
In particular:
1. Windows CR/LF weren't read properly (issue #11 )
2. Scanning wasn't reading EOF properly
3. Documents may be empty (this was old, I think)
Also fixed some VS2008 warnings on /W4.
2009-02-07 07:57:13 +00:00
jbeder
b43f827188
Set the eol style to native for all files.
2008-09-03 22:20:39 +00:00
jbeder
2d93b6ce58
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
2601f5fd49
2008-07-31 19:41:11 +00:00
beder
516637fcdc
Moved all code to src/ and include/ directories.
2008-07-14 04:33:30 +00:00