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
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
72413bafd4
Added ability to read compact maps in a flow sequence
2009-10-29 19:41:46 +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
e67e6e19f9
Fixed bug with complex keys (and simplified the parsing for flow maps)
2009-09-06 21:52:56 +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
6594941d24
Moved token enums into Token scope
2009-09-05 02:28:11 +00:00
jbeder
c7ed85a4ac
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
fc22d55b53
Added Node::Clone function
2009-08-24 20:10:42 +00:00
jbeder
cb2b5783fa
Fixed null key/value bug, added tests
2009-07-30 06:49:09 +00:00
jbeder
7e26c711cf
Collected pos, line, and column into a Mark struct
2009-07-27 02:56:18 +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
d44502c979
Applied patch for gcc -Wall
2009-01-15 17:12:13 +00:00
jbeder
4b45a7185a
Replaced a pointer-centered try/catch block with std::auto_ptr
2008-11-20 03:41:40 +00:00
jbeder
d51888bc7e
Fixed a problem where you lose the exception type on rethrow.
2008-09-23 21:13:23 +00:00
jbeder
b43f827188
Set the eol style to native for all files.
2008-09-03 22:20:39 +00:00
jbeder
7f2c3591e3
Unified line endings.
2008-09-03 22:17:17 +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
89ed418b83
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
557f81e622
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
516637fcdc
Moved all code to src/ and include/ directories.
2008-07-14 04:33:30 +00:00