Commit Graph

235 Commits

Author SHA1 Message Date
beder
41f77c8577 Merge from core 2014-03-23 20:17:34 -05:00
beder
a11c70679e clang-format 2014-03-23 20:08:54 -05:00
beder
a5260a1154 Run IWYU 2014-03-22 23:14:48 -05:00
beder
c62db43fc6 Merge IWYU from core 2014-03-22 23:08:09 -05:00
beder
08a5d4c673 Run IWYU 2014-03-22 22:46:04 -05:00
beder
97e3765ced Add missing includes to node_data.h 2014-03-22 19:32:53 -05:00
beder
b4bed369fe Merge ostream_wrapper fix from core 2014-03-22 19:27:54 -05:00
beder
153d03c6da Add more ostream_wrapper tests 2014-03-22 19:22:23 -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
Jesse Beder
21e8612136 Fix floating point precision on input. 2013-04-13 13:10:36 -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
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
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
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
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
beder
2b9d6d8faa Updated from core (emitter) 2012-05-25 19:39:15 -05:00
beder
826732d85d Changed Emitter::size() to return std::size_t instead of unsigned 2012-05-25 19:38:58 -05:00
beder
6f304c47eb Merged ostreams for the emitter change from the core 2012-05-25 19:35:24 -05:00
beder
dc04850ecc 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
0a8d7486ff Refactored stream overloads 2012-05-25 18:24:07 -05:00
beder
bbce38d36f 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
c591e8d752 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
083f37ada2 Updated ostream wrapper with a write() and update_pos 2012-05-25 17:39:14 -05:00
beder
6d521ac74f Renamed ostream -> ostream_wrapper 2012-05-25 17:28:35 -05:00
beder
a1a4d28391 Merged emitter refactor from core 2012-05-23 15:30:03 -05:00
beder
7c235ea619 Removed key/value error checks (since we don't require asking them) 2012-05-22 16:57:30 -05:00
beder
401e19508d Added flow map, simple key/value 2012-05-22 16:36:07 -05:00
beder
e971c4f549 Split block map simple/long key for both key/value 2012-05-22 14:20:50 -05:00
beder
a11f1ce810 Added writing float/double 2012-05-22 13:59:31 -05:00
beder
d3be76c8fb Added writing integral types 2012-05-22 13:57:44 -05:00
beder
f830dc3fce Split the block map prepare into key/value 2012-05-22 12:56:40 -05:00