- 17 Jul, 2024 1 commit
-
-
Simon Gene Gottlieb authored
-
- 10 Oct, 2021 1 commit
-
-
Pino Toscano authored
-
- 28 Sep, 2021 1 commit
-
-
Jesse Beder authored
This reverts commit da1c8d36. and fixes #1036.
-
- 25 Sep, 2021 1 commit
-
-
Pino Toscano authored
* Export YAML::detail::node::m_amount The internal header node/detail/node.h is included by public headers; YAML::detail::node is implemented in the header itself, and thus it gets inlined... except for its static m_amount class member, which is instantiated in the library only. Right now all the symbols of yaml-cpp are exported (nothing is hidden), so the linker will find node::m_amount in the yaml-cpp library. As solution/workaround, explicitly export YAML::detail::node::m_amount. * CMake: use GenerateExportHeader Make use of the GenerateExportHeader CMake module to generate the dll.h header with export macros. While the produced dll.h is different, the result should be the same, i.e. nothing changes for yaml-cpp or its users. * CMake: hide all the symbols by default Hide all the symbols that are not explicitly exported with YAML_CPP_API. This way the ABI will be way smaller, and only actually exposing the public classes/functions.
-
- 16 Jun, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-auto Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
- 15 Jun, 2020 5 commits
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
* partially fix clang compilation Missing header and mistaken algorithm usage. Also removed it name from range loops. It's not correct. Signed-off-by:
Rosen Penev <rosenp@gmail.com> * run through clang's -Wrange-loop-analysis Some range loops should not use references as they need to copy. Signed-off-by:
Rosen Penev <rosenp@gmail.com> * manual range loop conversions Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-return-braced-init-list Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-loop-convert Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
- 07 Apr, 2020 2 commits
-
-
Maxim Okhotskiy authored
-
Victor Mataré authored
It's clearly related to an existing node, so it can have a mark and give an error location.
-
- 02 Oct, 2019 1 commit
-
-
Andy Maloney authored
-
- 17 Apr, 2019 1 commit
-
-
bedapisl authored
Invalid access via operator[] or as<> will now print the offending key, if possible. For example: a: x: 1 y: 2 node["a"]["z"].as<int>() will say that the key "z" was invalid.
-
- 13 Mar, 2019 1 commit
-
-
Ted Lyngmo authored
* Add compilation flags: -Wshadow -Weffc++ -pedantic -pedantic-errors * Delete implicit copy & move constructors & assignment operators in classes with pointer data members. * An exception to the above: Add default copy & move constructors & assignment operators for the Binary class. * Convert boolean RegEx operators to binary operators. * Initialize all members in all classes in ctors. * Let default ctor delegate to the converting ctor in Binary and RegEx * Don't change any tests except regex_test (as a result of the change to binary operators). Note: https://bugzilla.redhat.com/show_bug.cgi?id=1544675 makes -Weffc++ report a false positive in "include/yaml-cpp/node/impl.h".
-
- 25 Sep, 2018 1 commit
-
-
dand-oss authored
* fix up static, so works as DLL
-
- 03 Jul, 2018 1 commit
-
-
Alexander authored
-
- 14 May, 2018 1 commit
-
-
Jiao authored
-
- 18 Jul, 2016 1 commit
-
-
c0nk authored
* Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>> Map nodes are now iterated over in document order. * Change insert_map_pair to always append Always append in insert_map_pair even if the key is already present. This breaks the behavior of force_insert which now always inserts KVs even if the key is already present. The first insert for duplicated keys now takes precedence for lookups.
-
- 11 Jan, 2016 1 commit
-
-
Matt Blair authored
- Adds 'std=c++11' compiler flags - Replaces boost::type_traits with std::type_traits - Replaces boost::shared_ptr with std::shared_ptr - Replaces std::auto_ptr with std::unique_ptr - Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges - Replaces boost::noncopyable with deleted copy and assignment operators - Replaces boost::next with std::next - Replaces boost::enable_if with std::enable_if - Replaces boost::is_convertible with std::is_convertible - Replaces ptrdiff_t with std::ptrdiff_t - Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost - Removes Boost dependency from CMakeLists - Formats changed files using clang-format
-
- 02 Apr, 2015 1 commit
-
-
Oliver Hamlet authored
Applied the patch given in jbeder/yaml-cpp#200 with the correct code style.
-
- 24 Jan, 2015 3 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-
- 23 Mar, 2014 1 commit
-
-
Jesse Beder authored
-
- 22 Mar, 2014 1 commit
-
-
Jesse Beder authored
-
- 19 May, 2012 1 commit
-
-
Jesse Beder authored
-