Jesse Beder
|
6539648dac
|
Merge from core + revert
|
2012-11-08 18:34:09 -06:00 |
|
Jesse Beder
|
b12e4b0781
|
Merged from core, rfaef276b1f6e
|
2012-11-08 18:33:12 -06:00 |
|
Jesse Beder
|
16f05e73b9
|
Reverted last change
|
2012-11-08 18:24:00 -06:00 |
|
Jesse Beder
|
06e09d1d64
|
Renamed all variables named 'null'
|
2012-11-08 18:21:00 -06:00 |
|
Jesse Beder
|
0c772c4c3f
|
Set LoadFile and LoadAllFromFile to throw an exception if we can't load the file
|
2012-11-08 18:14:26 -06:00 |
|
Jesse Beder
|
a03e861d8c
|
Switched map's convert<> specialization to use the new force_insert
|
2012-10-31 19:10:45 -05:00 |
|
Jesse Beder
|
09b4706faf
|
Added force_insert for mapping nodes that doesn't check to see if the key exists already (so it could duplicate keys)
|
2012-10-31 19:08:09 -05:00 |
|
Jesse Beder
|
a645866ffa
|
Simplified Node::operator[] interface by removing the C-string overloads, using a helper to_value
|
2012-10-31 18:55:07 -05:00 |
|
Jesse Beder
|
979a91692f
|
Added small 'read' program to test reading a single doc (from stdin)
|
2012-09-15 16:29:07 -07:00 |
|
Jesse Beder
|
1d1d6886cc
|
Fixed typo in the core parser tests
|
2012-09-15 15:50:44 -07:00 |
|
Jeff Wang
|
d770a7dc97
|
workaround for gcc 3
|
2012-07-17 11:55:45 -05:00 |
|
Jesse Beder
|
823311384f
|
Added free Clone() function for Nodes
|
2012-07-04 15:26:37 -05:00 |
|
Jesse Beder
|
f29ea4b070
|
Merged end of map/seq flow fix from core
|
2012-06-09 14:42:00 -05:00 |
|
Jesse Beder
|
68dd9b5d18
|
Fixed bug where the parser doesn't find the end of a map or seq flow
|
2012-06-09 14:39:00 -05:00 |
|
Jesse Beder
|
2d815c5d6a
|
Added extra parser tests for the core; in particular, one that asserts instead of throwing
|
2012-06-09 14:26:44 -05:00 |
|
Jesse Beder
|
c722684f0d
|
Removed unnecessary forward declarations
|
2012-06-08 10:26:49 -05:00 |
|
Jesse Beder
|
5c097d417a
|
Removed stray GetNextDocument declaration from the parser (it's from the old API, and not the new one)
|
2012-06-08 10:25:42 -05:00 |
|
Jesse Beder
|
ab36ca930f
|
Updated from core (emitter)
|
2012-05-25 19:39:15 -05:00 |
|
Jesse Beder
|
d5130a4109
|
Changed Emitter::size() to return std::size_t instead of unsigned
|
2012-05-25 19:38:58 -05:00 |
|
Jesse Beder
|
6c690e8294
|
Updated the ostream emitting overload to user the new ostream-handling emitters
|
2012-05-25 19:38:20 -05:00 |
|
Jesse Beder
|
a78069a6e2
|
Merged ostreams for the emitter change from the core
|
2012-05-25 19:35:24 -05:00 |
|
Jesse Beder
|
bc3f72b565
|
Switched the stream << for c-strings to take a templated array param (since we never stream user-built c-strings, only string literals). For this, refactored the escape character display
|
2012-05-25 19:33:34 -05:00 |
|
Jesse Beder
|
772969270d
|
Refactored stream overloads
|
2012-05-25 18:24:07 -05:00 |
|
Jesse Beder
|
2ffdc5b4d1
|
Added constructor to the Emitter with a stream, so you can write directly to a stream instead of our temp
|
2012-05-25 18:22:33 -05:00 |
|
Jesse Beder
|
e6d4a915dc
|
Switched the ostream wrapper to wrap a std::vector<char> instead of our manually managed memory
|
2012-05-25 18:17:14 -05:00 |
|