Jesse Beder
|
97d56c3f36
|
Remove 'const' modifier on return of Node::as.
This enables the return value to be moved, rather than copied.
|
2015-11-22 11:27:55 -06:00 |
|
Oliver Hamlet
|
ec8aa4fa62
|
More useful error messages.
Applied the patch given in jbeder/yaml-cpp#200 with the correct code
style.
|
2015-04-02 20:50:11 +01:00 |
|
Jesse Beder
|
7092a0b099
|
Fixed linker error on Visual Studio with a shared lib by moving the static methods node_data::equals to an instance method on node.
|
2015-03-29 21:11:53 -05:00 |
|
Jesse Beder
|
0970a108bd
|
Remove stray field
|
2015-01-24 17:58:58 -06:00 |
|
Jesse Beder
|
1025f76df1
|
Fix memory leak when accessing a const Node with a key that doesn't exist.
|
2015-01-24 17:22:45 -06:00 |
|
Jesse Beder
|
0c280724e9
|
Add flow/block style setting on Nodes
|
2015-01-24 13:11:43 -06:00 |
|
Jesse Beder
|
13130ec20d
|
clang-format
|
2014-03-25 00:11:17 -05:00 |
|
Jesse Beder
|
066359802b
|
Merge from core, and update several missing DLL exports. This does not resolve them all (in particular, node_data::equals seems to be still missing, even though it is inlined in a header, which seems strange).
|
2014-03-24 00:31:43 -05:00 |
|
Jesse Beder
|
4b40441cee
|
Run IWYU
|
2014-03-22 23:14:48 -05:00 |
|
Jesse Beder
|
d63ec48c8a
|
Run clang-format
|
2014-03-22 13:05:03 -05:00 |
|
Jesse Beder
|
434c6a5697
|
Add better exception reporting when incorrectly dereferencing an iterator.
|
2013-04-12 23:41:02 -05:00 |
|
Jesse Beder
|
0482463569
|
Rename clear() to reset(), and it now takes an optional node parameter.
|
2013-04-02 20:39:54 -05:00 |
|
Jesse Beder
|
bcdda4027f
|
Added Node::clear() function
|
2012-11-08 18:47:22 -06: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
|
823311384f
|
Added free Clone() function for Nodes
|
2012-07-04 15:26:37 -05:00 |
|
Jesse Beder
|
c22512649e
|
Copied all files from new-api branch of old repo
|
2012-05-19 15:34:02 -05:00 |
|
Jesse Beder
|
1723523c43
|
Removed the new API from the default branch
|
2012-01-20 23:50:39 -06:00 |
|
Jesse Beder
|
d1e4c2640c
|
Added default parameters for the as<> function (new API)
|
2012-01-12 01:03:31 -06:00 |
|
Jesse Beder
|
21ed2b5817
|
Added explicit conversion from an iterator value to a Node. This conversion was always allowed (since the iterator value is derived from Node, but since Node has a templated constructor, that would take precedence over the derived-to-base conversion. This didn't seem to be a problem in gcc or clang, but MSVC seems to have trouble. (new API)
|
2012-01-11 13:58:18 -06:00 |
|
Jesse Beder
|
5b32d89222
|
Fixed compiler error in iterator_base friend forward declaration in node on clang (and I hope MSVC), plus warnings on clang
|
2012-01-07 01:42:21 -06:00 |
|
Jesse Beder
|
5abfbf5aac
|
Added (unspecified-type) bool conversions for Node (new API)
|
2011-11-13 16:05:42 -06:00 |
|
Jesse Beder
|
3a88c4b4a1
|
Added IsNull, IsScalar, IsSequence, IsMap functions, so you don't have to query Type()
|
2011-09-13 14:10:27 -05:00 |
|
Jesse Beder
|
0987b234c3
|
Added tags to Node
|
2011-09-13 14:00:47 -05:00 |
|
Jesse Beder
|
08b3ddfd3e
|
Set the pimpl node in Node to be optional, so we don't create unnecessary guys every time you call Node tmp = foo[value];
|
2011-09-12 21:59:47 -05:00 |
|
Jesse Beder
|
9e62bf8349
|
Removed the (unimplemented) operator <, and added operator == (in place of is()) for nodes
|
2011-09-11 22:56:04 -05:00 |
|
Jesse Beder
|
0d1b5224c8
|
Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile
|
2011-09-10 17:57:23 -05:00 |
|