- 07 Feb, 2020 1 commit
-
-
Ted Lyngmo authored
-
- 04 Feb, 2020 2 commits
-
-
Ted Lyngmo authored
The explicitly defaulted or implemented move constructors and assignment operators are made "noexcept". Bugfix: * src/stream.cpp Stream::Stream() char_traits::int_type intro[4] is now aggregate-initialized (to zero) to avoid UB. Minor changes: * Using std::isinf() and std::signbit() instead of comparing for equality with infinity. * src/streamcharsource.h: Added #include "stream.h". * src/stream.h: Forward declaring "class StreamCharSource". * Some implicit casting changed into static_cast's. Signed-off-by:Ted Lyngmo <ted@lyncon.se>
-
Ted Lyngmo authored
This is in preparation for other patches that will make use of the macro. The patch also removes #undef:ing the macro after its been used to not make the header inclusion order critical. Otherwise, the new header would always have to be the last of the yaml-cpp headers to be included.
-
- 21 Jan, 2020 1 commit
-
-
Jesse Beder authored
E.g. `!2`.
-
- 20 Jan, 2020 1 commit
-
-
Ted Lyngmo authored
-
- 29 Nov, 2019 1 commit
-
-
Carlos Gomes Martinho authored
Change the namespace from yaml::yaml to yaml-cpp::yaml-cpp.
-
- 23 Nov, 2019 1 commit
-
-
Igor [hyperxor] authored
Also add a test for a parser with no data
-
- 04 Nov, 2019 1 commit
-
-
Igor [hyperxor] authored
-
- 31 Oct, 2019 1 commit
-
-
Mike Egger authored
-
- 23 Oct, 2019 1 commit
-
-
Romain Geissler @ Amadeus authored
This happens whenever in a macro you use some "if" block, and don't use curly braces {}, as the macro is expanded on a single line, not on several lines. So just add the missing curly braces to please gcc. In file included from /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/yaml.h:18, from src/TestYaml.cpp:2: /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/node/convert.h: In static member function static bool YAML::convert<int>::decode(const YAML::Node&, int&): /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/node/convert.h:139:1: error: this if clause does not guard... [-Werror=misleading-indentation] YAML_DEFINE_CONVERT_STREAMABLE_SIGNED(int); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- 16 Oct, 2019 1 commit
-
-
carmeli-tamir authored
* Showing test output only on failure * Test commit to see the failed test * Now making sure that the tests pass with no output
-
- 13 Oct, 2019 1 commit
-
-
Isabella Muerte authored
🐛 Fixes #748 (#770)
-
- 11 Oct, 2019 1 commit
-
-
Rasmus authored
-
- 05 Oct, 2019 1 commit
-
-
Andy Maloney authored
Also run clang-format on these files as requested
-
- 04 Oct, 2019 1 commit
-
-
Fatih YAZICI authored
Add empty list of sources to add_library and add_executable.
-
- 02 Oct, 2019 6 commits
-
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
- 27 Sep, 2019 4 commits
-
-
Andy Maloney authored
-
Isabella Muerte authored
The generator expressions here are actually unnecessary, now that I think about it. This should fix #745
-
Ezekiel Warren authored
Example of how someone might consume yaml-cpp with bazel: cc_binary( name = "example", srcs = ["example.cc"], deps = ["@com_github_jbeder_yaml_cpp//:yaml-cpp"], ) -
Isabella Muerte authored
Remove 2.6-isms Remove 2.8-isms Bump CMake minimum version to 3.4 Disable some options when used as a subdirectory Use `CONFIGURE_DEPENDS` with `file(GLOB)` when possible Backport CMake 3.15's MSVC_RUNTIME_LIBRARY setting. Set all compile options as generator expressions. Set all find-package files to be installed to the correct file. Remove `export(PACKAGE)`, as this has been deprecated. Remove fat binary support Remove manual setting of iPhone settings. These should be set by parent projects. Remove use of ExternalProject for a local use Conditionally remove format target unless clang-format is found
-
- 25 Sep, 2019 1 commit
-
-
Jesse Beder authored
-
- 15 Sep, 2019 3 commits
-
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
- 10 Sep, 2019 3 commits
-
-
Andy Maloney authored
* CMake: Prefix options with "YAML" and hide platform-specific options When including yaml-cpp as a subproject, some option names can conflict with other projects. (1) Make sure the yaml-cpp options are prefixed with YAML (2) Hide platform-specific options when possible to avoid cluttering the cmake option list * Update docs for change from BUILD_SHARED_LIBS to YAML_BUILD_SHARED_LIBS
-
Andy Maloney authored
Setting CMAKE_CXX_STANDARD and CMAKE_CXX_STANDARD_REQUIRED directly is problematic when including yaml-cpp as a subproject. The proper way is to set these per-target.
-
Andy Maloney authored
This sets the other variables: https://cmake.org/cmake/help/latest/command/project.html
-
- 04 Aug, 2019 1 commit
-
-
Jeppe Blicher Tarp authored
Specifically, printing `.nan`, `.inf`, and `-.inf`, respectively, as per the spec section 10.2.1.4.
-
- 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.
-
- 24 Mar, 2019 2 commits
-
-
Jesse Beder authored
It wouldn't have compiled anyways, since the Scanner and Directive objects inside it are incomplete types at the time of the move definitions.
-
peterchen-cp authored
-
- 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".
-
- 12 Mar, 2019 1 commit
-
-
caryoscelus authored
ref #110
-
- 27 Feb, 2019 1 commit
-
-
Olli Wang authored
NDK now uses ninja for building but yaml-cpp would emit the “ninja: error: build.ninja:326: bad $-escape (literal $ must be written as $$)” error due to syntax error in the generated build.ninja file. Related issue: https://github.com/jbeder/yaml-cpp/issues/630
-
- 13 Feb, 2019 1 commit
-
-
tt4g authored
Splitting the condition of the if statement containing `constant expression` eliminates warnings in Visual Studio with /W4.
-