Permalink
Commits on Aug 9, 2018
  1. Revert "Improvements to CMake buildsystem (#563)"

    jbeder committed Aug 9, 2018
    This reverts commit 3e33bb3.
    
    The original commit broke the build (#612) when yaml-cpp is used as a git submodule.
  2. Improvements to CMake buildsystem (#563)

    winterheart authored and jbeder committed Aug 9, 2018
    * Move enable_testing() into proper place
    
    * Added CMake's checks for C++11 standards
    
    Raised minimal version of CMake to 3.1, since on old systems there no
    decent compilers that supports c++11.
    
    Closes #377.
    
    * Externalize googletest project
    
    Externalize gtest to avoid installation, fixes #539.
    
    * Remove defined cmake_policies
    
    CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed
    CMP0015 - does not affect to build process
    CMP0042 - already NEW for >=cmake-3.1
    
    Fixes #505
    
    * Fix compiling in Windows MSVC
Commits on Jul 3, 2018
Commits on Jun 30, 2018
Commits on May 14, 2018
Commits on May 5, 2018
Commits on Apr 11, 2018
  1. Update the iterator implementation for C++17 (#575)

    tankiJong authored and jbeder committed Apr 11, 2018
    Fix the compiler error which prevents deriving from std::iterator in C++17
Commits on Mar 24, 2018
  1. Fix UTF-8 code points emitting (#571)

    maek authored and jbeder committed Mar 24, 2018
Commits on Mar 6, 2018
  1. Bump CMake version to 0.6.2.

    jbeder committed Mar 6, 2018
    It was incorrectly left at 0.6.0 when 0.6.1 was released, so this needs to be done to make it consistent between the tagged version and the CMake version.
Commits on Feb 2, 2018
  1. Fix paths in pkg-config file (#556)

    jamiesnape authored and jbeder committed Feb 2, 2018
    pkg-config should be giving absolute paths rather than relative paths.
Commits on Jan 28, 2018
  1. Update README.

    jbeder committed Jan 28, 2018
  2. Bump version to 0.6.0.

    jbeder committed Jan 28, 2018
  3. Fix tag parsing with () (#532)

    outcoldman authored and jbeder committed Jan 28, 2018
Commits on Nov 29, 2017
  1. Change None in C/C++ source to NoneType. (#545)

    Cybel authored and jbeder committed Nov 29, 2017
    * Change None in C/C++ source to NoneType.
    
    Prevent name conflict with X11 None definition.
Commits on Nov 14, 2017
  1. Separate tests and tools

    mwoehlke-kitware authored and jbeder committed Nov 9, 2017
    Don't build tests if the confusingly named YAML_CPP_BUILD_TOOLS is ON.
    Instead, add a new option that controls only if the tests are built.
    (Also, default tests to OFF.)
Commits on Nov 10, 2017
  1. Fix NullEventHandler overloads

    mwoehlke-kitware authored and jbeder committed Nov 10, 2017
    Fix some virtual methods of NullEventHandler that were apparently
    intended to overload base class methods, but did not. Add override
    keyword to prevent these getting out of sync again.
  2. Add explicit virtual dtor

    mwoehlke-kitware authored and jbeder committed Nov 9, 2017
    Add explicit virtual dtor to GraphBuilderInterface. This avoids tripping
    a -Wnon-virtual-dtor warning, and also ensures that the correct
    (virtual) dtor is called if an instance is deleted via a pointer to the
    base type.
  3. Avoid absolute install destinations

    mwoehlke-kitware authored and jbeder committed Nov 9, 2017
    Remove use of CMAKE_INSTALL_PREFIX when specifying install destinations.
    It is preferred that install destinations are specified as relative
    paths, not absolute paths. This is also needed to create relocatable
    installs, and thus should fix #526.
  4. Fix Windows library install location

    mwoehlke-kitware authored and jbeder committed Nov 9, 2017
    Don't install LIBRARIES on Windows to `bin`; they belong in `lib`. (This
    appears to have been done in a mistaken attempt to install the DLL's to
    `bin`, which do need to be there, but RUNTIME DESTINATION already takes
    care of this.)
Commits on Nov 8, 2017
  1. Add missing include directive

    avaucher authored and jbeder committed Nov 8, 2017
Commits on Aug 25, 2017
  1. travis: Exclude linux/clang from the build matrix

    rleigh-codelibre authored and jbeder committed May 10, 2017
    The combination of clang++ 3.4 with libstdc++ from GCC 4.6
    doesn't work.
  2. test: Upgrade googlemock 1.7.0 to googletest 1.8.0

    rleigh-codelibre authored and jbeder committed May 10, 2017
    Note that with the release of 1.8.0, googlemock and
    googletest are unified into a single release.
Commits on Jul 25, 2017
  1. Replace noexcept with macro compatible with VS (#517)

    benapetr authored and jbeder committed Jul 25, 2017
    This way it's possible to build using older MSVC (<13) that don't
    support this yet. Macro is undefined in each file where it is used so it
    should stack well with other libs and sources.
Commits on Jul 24, 2017
Commits on Apr 3, 2017
  1. fix some warnings in public headers (#486)

    ibaned authored and jbeder committed Apr 3, 2017
    * fix two compile warnings in public headers
    
    both warnings have to do with variable
    name shadowing
Commits on Mar 7, 2017
Commits on Mar 2, 2017
Commits on Feb 1, 2017
  1. Add missing YAML_CPP_API to exceptions.h, fixing MSVC compilation wit…

    Liosan authored and jbeder committed Feb 1, 2017
    …h BUILD_SHARED_LIBS (#462)
Commits on Jan 5, 2017
  1. Fixed compiler warning -Wdeprecated with clang. (#452)

    jbreitbart authored and jbeder committed Jan 5, 2017
    * Fixed compiler warning -Wdeprecated with clang.
    
    Starting with C++11 implicit copy-constructors are deprecated when the class
    has a user defined destructor.
    
    * Fixes -Wdocumentation warning.
    
    yaml-cpp/parser.h:50:65: warning: parameter 'eventHandler}.' not found in the function
          declaration [-Wdocumentation]
       * Handles the next document by calling events on the {@param eventHandler}.
                                                                    ^~~~~~~~~~~~~~
    yaml-cpp/parser.h:50:65: note: did you mean 'eventHandler'?
       * Handles the next document by calling events on the {@param eventHandler}.
                                                                    ^~~~~~~~~~~~~~
                                                                    eventHandler
Commits on Jan 2, 2017
  1. Fix sequence sometimes not turning into a map (#450)

    butataatawa authored and jbeder committed Jan 2, 2017
    Previously, just referencing the next element in the sequence (and so constructing it, as an undefined element) would allow you to skip defining an element without turning the sequence into a map. E.g:
    
    node[0] = "foo"; // sequence of size 1
    node[1]; // sequence of size 1, with an undefined element at 1
    node[2] = "bar"; // FIX: should be map of size 2 (since there's no element at index 1)
Commits on Dec 13, 2016
  1. Fix compiler warnings in MSVC, #448 (#453)

    tambry authored and jbeder committed Dec 13, 2016
Commits on Dec 6, 2016
Commits on Dec 3, 2016