beder
|
3703488343
|
Added tag release-0.5.1 for changeset 98e9aefe6778
|
2013-04-13 18:45:50 -05:00 |
|
beder
|
97a26ed590
|
Bumped version to 0.5.1
|
2013-04-13 18:37:33 -05:00 |
|
Jesse Beder
|
55145e32d8
|
Merge null string bug fix from core, plus bug fix regarding use-after-delete for a token that seems to have been ignored.
|
2013-04-13 18:25:37 -05:00 |
|
Jesse Beder
|
84ce5b2258
|
Fix bug where the string "null" (without quotes) is deserialized as a string, instead of null.
|
2013-04-13 18:21:06 -05:00 |
|
Jesse Beder
|
c9ceef1303
|
Fix floating point precision on input.
|
2013-04-13 13:10:36 -05:00 |
|
Jesse Beder
|
5868da8324
|
Merge to fix default precision for floats.
|
2013-04-13 00:09:40 -05:00 |
|
Jesse Beder
|
36c6fa006a
|
Switch default precision to one more than the number of digits allows.
See, e.g., http://stackoverflow.com/questions/4738768/printing-double-without-losing-precision.
|
2013-04-13 00:00:58 -05:00 |
|
Jesse Beder
|
9f859021cd
|
Add better exception reporting when incorrectly dereferencing an iterator.
|
2013-04-12 23:41:02 -05:00 |
|
Jesse Beder
|
4bb0de901f
|
Add std::pair conversion specialization.
|
2013-04-02 21:04:17 -05:00 |
|
Jesse Beder
|
54ecce9eb5
|
Rename clear() to reset(), and it now takes an optional node parameter.
|
2013-04-02 20:39:54 -05:00 |
|
Jesse Beder
|
1d8c3ec282
|
Fix conversion for C-strings (both literals and normal C-strings) so it compiles on Visual Studio.
|
2013-04-01 22:25:53 -05:00 |
|
Jesse Beder
|
6ea13b6a51
|
Explicity disallow get_idx for boolean type, to avoid ambiguity with a map.
|
2013-04-01 22:06:09 -05:00 |
|
Jesse Beder
|
8448e3780d
|
Add missing line from previous fix.
|
2013-04-01 21:52:32 -05:00 |
|
Jesse Beder
|
0b29a59f7d
|
Fix warning in Visual Studio:
warning C4146: unary minus operator applied to unsigned type, result still unsigned
|
2013-04-01 21:43:09 -05:00 |
|
beder
|
238445e64f
|
Added tag release-0.5.0 for changeset d042aa2fa32d
|
2012-12-28 18:59:29 -06:00 |
|
beder
|
59ca7ca890
|
Merged ? fix from core
|
2012-11-08 19:12:22 -06:00 |
|
beder
|
b201feab96
|
Fixed parsing ? when attached to a scalar
|
2012-11-08 19:11:41 -06:00 |
|
beder
|
365107947e
|
Added failing test for parsing a ? at the start of a value
|
2012-11-08 19:00:46 -06:00 |
|
beder
|
a6486cf176
|
Removed that failing test - I don't think the parser is correct here
|
2012-11-08 18:54:53 -06:00 |
|
beder
|
761fe22bf1
|
Added failing tests for emitter ? at the start of a value
|
2012-11-08 18:52:54 -06:00 |
|
beder
|
71ec725eb3
|
Added Node::clear() function
|
2012-11-08 18:47:22 -06:00 |
|
beder
|
14af08d939
|
Fixed typo from null fix
|
2012-11-08 18:40:44 -06:00 |
|
beder
|
4ddde6d429
|
Pulled 'null' renaming fix
|
2012-11-08 18:39:06 -06:00 |
|
beder
|
72ecb3e586
|
Renamed all variables named 'null' (for real now, and only that)
|
2012-11-08 18:38:20 -06:00 |
|
beder
|
e26ef5e409
|
Merge from core + revert
|
2012-11-08 18:34:09 -06:00 |
|
beder
|
19405fc454
|
Merged from core, rfaef276b1f6e
|
2012-11-08 18:33:12 -06:00 |
|
beder
|
5e952a2b9c
|
Reverted last change
|
2012-11-08 18:24:00 -06:00 |
|
beder
|
c0b7359d7d
|
Renamed all variables named 'null'
|
2012-11-08 18:21:00 -06:00 |
|
beder
|
e139c7534d
|
Set LoadFile and LoadAllFromFile to throw an exception if we can't load the file
|
2012-11-08 18:14:26 -06:00 |
|
beder
|
3f1696f673
|
Switched map's convert<> specialization to use the new force_insert
|
2012-10-31 19:10:45 -05:00 |
|
beder
|
094af53943
|
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 |
|
beder
|
138ac50043
|
Simplified Node::operator[] interface by removing the C-string overloads, using a helper to_value
|
2012-10-31 18:55:07 -05:00 |
|
beder
|
b43bf996d4
|
Added small 'read' program to test reading a single doc (from stdin)
|
2012-09-15 16:29:07 -07:00 |
|
beder
|
4493885343
|
Fixed typo in the core parser tests
|
2012-09-15 15:50:44 -07:00 |
|
Jeff Wang
|
5ae9a81627
|
workaround for gcc 3
|
2012-07-17 11:55:45 -05:00 |
|
beder
|
441cd644e7
|
Added free Clone() function for Nodes
|
2012-07-04 15:26:37 -05:00 |
|
beder
|
aa6455e2b6
|
Merged end of map/seq flow fix from core
|
2012-06-09 14:42:00 -05:00 |
|
beder
|
9bbf43b23e
|
Fixed bug where the parser doesn't find the end of a map or seq flow
|
2012-06-09 14:39:00 -05:00 |
|
beder
|
3e2b4a3dd4
|
Added extra parser tests for the core; in particular, one that asserts instead of throwing
|
2012-06-09 14:26:44 -05:00 |
|
beder
|
f99a357ebc
|
Removed unnecessary forward declarations
|
2012-06-08 10:26:49 -05:00 |
|
beder
|
c38af67d3a
|
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 |
|
beder
|
4c0b4b8f81
|
Updated from core (emitter)
|
2012-05-25 19:39:15 -05:00 |
|
beder
|
a42a10b7a7
|
Changed Emitter::size() to return std::size_t instead of unsigned
|
2012-05-25 19:38:58 -05:00 |
|
beder
|
6c3b32d74b
|
Updated the ostream emitting overload to user the new ostream-handling emitters
|
2012-05-25 19:38:20 -05:00 |
|
beder
|
3fc227d48f
|
Merged ostreams for the emitter change from the core
|
2012-05-25 19:35:24 -05:00 |
|
beder
|
64e5d74cc9
|
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 |
|
beder
|
6633fea749
|
Refactored stream overloads
|
2012-05-25 18:24:07 -05:00 |
|
beder
|
c3facc9b58
|
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 |
|
beder
|
7c436de457
|
Switched the ostream wrapper to wrap a std::vector<char> instead of our manually managed memory
|
2012-05-25 18:17:14 -05:00 |
|
beder
|
bfa3cce38d
|
Updated ostream wrapper with a write() and update_pos
|
2012-05-25 17:39:14 -05:00 |
|