Commit Graph

625 Commits

Author SHA1 Message Date
beder
87de9169a0 Rename regex.h and regex.cpp to regex_yaml, so they don't interfere with the posix variant 2014-03-22 19:03:49 -05:00
beder
9d66a6c561 Run clang-format 2014-03-22 13:05:03 -05:00
beder
7e54502a2a Merge clang-format from core 2014-03-22 13:03:18 -05:00
beder
1069bce879 Run clang-format 2014-03-22 12:49:16 -05:00
beder
23a03d2d6e Fixed bug while reading a single space char 2013-11-10 14:50:35 -06:00
beder
b552fe0a96 Add ifdef to check if BOOST_FOREACH is defined, and disable tests that use it if it is not available 2013-10-13 11:14:34 -05:00
beder
4242c39a9e Fixed crash when emitting empty node 2013-07-10 08:29:11 -05:00
beder
54ad6e6557 Merged make build fix from core 2013-06-18 08:20:51 -05:00
beder
1be77929c6 Restrict make-specific targets to only be added with make 2013-06-18 08:12:23 -05:00
beder
2a3bfca31a Added tag release-0.5.1 for changeset 98e9aefe6778 2013-04-13 18:45:50 -05:00
beder
967f7b5249 Bumped version to 0.5.1 2013-04-13 18:37:33 -05:00
Jesse Beder
8db0182f59 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
d132767047 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
21e8612136 Fix floating point precision on input. 2013-04-13 13:10:36 -05:00
Jesse Beder
8a1ec693de Merge to fix default precision for floats. 2013-04-13 00:09:40 -05:00
Jesse Beder
fccd818f72 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
3b6b8d05fa Add better exception reporting when incorrectly dereferencing an iterator. 2013-04-12 23:41:02 -05:00
Jesse Beder
fc935e0367 Add std::pair conversion specialization. 2013-04-02 21:04:17 -05:00
Jesse Beder
95a8e7c5d3 Rename clear() to reset(), and it now takes an optional node parameter. 2013-04-02 20:39:54 -05:00
Jesse Beder
e8dcdc8142 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
325041a14e Explicity disallow get_idx for boolean type, to avoid ambiguity with a map. 2013-04-01 22:06:09 -05:00
Jesse Beder
624a9fa9da Add missing line from previous fix. 2013-04-01 21:52:32 -05:00
Jesse Beder
85f43cd3de 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
f565ee4c35 Added tag release-0.5.0 for changeset d042aa2fa32d 2012-12-28 18:59:29 -06:00
beder
3589fbbac7 Merged ? fix from core 2012-11-08 19:12:22 -06:00
beder
943c20ea6b Fixed parsing ? when attached to a scalar 2012-11-08 19:11:41 -06:00
beder
ce9ef5378a Added failing test for parsing a ? at the start of a value 2012-11-08 19:00:46 -06:00
beder
e304c57de3 Removed that failing test - I don't think the parser is correct here 2012-11-08 18:54:53 -06:00
beder
e75083d401 Added failing tests for emitter ? at the start of a value 2012-11-08 18:52:54 -06:00
beder
892176f0d7 Added Node::clear() function 2012-11-08 18:47:22 -06:00
beder
93d635d5a5 Fixed typo from null fix 2012-11-08 18:40:44 -06:00
beder
1d74fb0f87 Pulled 'null' renaming fix 2012-11-08 18:39:06 -06:00
beder
a52233e638 Renamed all variables named 'null' (for real now, and only that) 2012-11-08 18:38:20 -06:00
beder
75452e9ed3 Merge from core + revert 2012-11-08 18:34:09 -06:00
beder
68e84e1b89 Merged from core, rfaef276b1f6e 2012-11-08 18:33:12 -06:00
beder
33d58b9256 Reverted last change 2012-11-08 18:24:00 -06:00
beder
3af7908b43 Renamed all variables named 'null' 2012-11-08 18:21:00 -06:00
beder
62bb76865c Set LoadFile and LoadAllFromFile to throw an exception if we can't load the file 2012-11-08 18:14:26 -06:00
beder
ba0274298e Switched map's convert<> specialization to use the new force_insert 2012-10-31 19:10:45 -05:00
beder
e4a1830003 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
595dc8277a Simplified Node::operator[] interface by removing the C-string overloads, using a helper to_value 2012-10-31 18:55:07 -05:00
beder
57b9d04bdf Added small 'read' program to test reading a single doc (from stdin) 2012-09-15 16:29:07 -07:00
beder
7e56225c7f Fixed typo in the core parser tests 2012-09-15 15:50:44 -07:00
Jeff Wang
bbdfee7af7 workaround for gcc 3 2012-07-17 11:55:45 -05:00
beder
72f90c6c23 Added free Clone() function for Nodes 2012-07-04 15:26:37 -05:00
beder
b62eac20f6 Merged end of map/seq flow fix from core 2012-06-09 14:42:00 -05:00
beder
37f6ca659d 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
cc8f9be883 Added extra parser tests for the core; in particular, one that asserts instead of throwing 2012-06-09 14:26:44 -05:00
beder
96ae51dd25 Removed unnecessary forward declarations 2012-06-08 10:26:49 -05:00
beder
9bd35af092 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