Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lib and apply PR for YAML Merge Key #2

Merged
merged 90 commits into from
May 10, 2024

Commits on Jul 5, 2021

  1. Configuration menu
    Copy the full SHA
    9ee3928 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Update version to 0.7.0.

    jbeder committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    0579ae3 View commit details
    Browse the repository at this point in the history
  2. Update node impl.h for GCC unused variable warning (jbeder#981)

    Removed the variable name in the defaulted function to make GCC happy.
    JBPennington authored Jul 10, 2021
    Configuration menu
    Copy the full SHA
    b591d8a View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Configuration menu
    Copy the full SHA
    ef0bba1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79aa6d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    db6deed View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Configuration menu
    Copy the full SHA
    6308112 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Hide most of non-public symbols by default (jbeder#984)

    * 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.
    pinotree authored Sep 25, 2021
    Configuration menu
    Copy the full SHA
    da1c8d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Configuration menu
    Copy the full SHA
    0d9dbcf View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2021

  1. Configuration menu
    Copy the full SHA
    0733aeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    393a02a View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    1713859 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    2f89975 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Configuration menu
    Copy the full SHA
    4564d9a View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Fix .pc paths for absolute GNUInstallDirs (jbeder#1058)

    GNUInstallDirs provided may be absolute paths, in which case appending
    to the install prefix is not correct. We can instead use the provided
    CMAKE_INSTALL_FULL_* variables, which are precomputed absolute paths.
    
    https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
    r-burns authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    328d2d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Partially revert commit 0733aeb to make dll.h a non-generated file (j…

    …beder#1064)
    
    Partial revert of "Revert "Revert "Hide most of non-public symbols by default (jbeder#984)" (jbeder#1038)" (jbeder#1045)"
    
    This reverts commit 0733aeb.
    hkarel authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    2b65c65 View commit details
    Browse the repository at this point in the history
  2. Add github actions badge to README

    This replaces the old Travis CI badge that didn't mean anything.
    jbeder authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    634578e View commit details
    Browse the repository at this point in the history
  3. Fix github actions badge.

    jbeder authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    5057a53 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Configuration menu
    Copy the full SHA
    974349d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Fix shared library tests for Windows (jbeder#1074)

    Add copying of shared library to the output directory with a test binary.
    
    [binary] removed using of non unsigned char as argument at
    'std::isspace' function that was provokes undefined behavior.
    
    [.github/workflows/build.yml] enabled run of test at the
    'windows-latest' environment.
    TheVice authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    d8d9419 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Configuration menu
    Copy the full SHA
    bce601f View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Add MinGW to build pipeline

    Also refactor the build action to use a matrix.
    TheVice authored Jan 27, 2022
    Configuration menu
    Copy the full SHA
    f8e1a7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdf89fa View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Configuration menu
    Copy the full SHA
    26e3b70 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Update gtest to 1.11.0 (jbeder#1086)

    Properly resolves jbeder#1083, jbeder#996.
    acxz authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    edadfec View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    669af4e View commit details
    Browse the repository at this point in the history
  2. Fix single cr not recognized (jbeder#1094)

    Complies with YAML Standard [5.4](https://yaml.org/spec/1.2.2/#54-line-break-characters) [25] instead of matching `\r` only in combination with `\n`.
    vehre-x41 authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    a6db7e3 View commit details
    Browse the repository at this point in the history
  3. Fix CMake export files (jbeder#1077)

    After configuring the file `yaml-cpp-config.cmake.in`, the result ends up with
    empty variables.  (see also the discussion in jbeder#774).
    
    Rework this file and the call to `configure_package_config_file` according the
    cmake documentation
    (https://cmake.org/cmake/help/v3.22/module/CMakePackageConfigHelpers.html?highlight=configure_package_config#command:configure_package_config_file)
    to overcome this issue and allow a simple `find_package` after install.
    
    As there was some discussion about the place where to install the
    `yaml-cpp-config.cmake` file, e.g. jbeder#1055, factor out the install location into
    an extra variable to make it easier changing this location in the future.
    
    Also untabify CMakeLists.txt in some places to align with the other code parts in this file.
    felix2010 authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    4aad2b1 View commit details
    Browse the repository at this point in the history
  4. Extend options that disable testing and formatting to looking for dep…

    …endencies also. (jbeder#1039)
    
    The option `YAML_CPP_BUILD_TESTS` currently enables or disables building of tests; but unconditionally the CMake file includes CTest; this PR makes that conditional on the option.
    
    Also, there is no option for enabling formatting, but it does check whether it can find the `clang-format` executable; this PR adds an option (default to true) that skips even looking for the executable if disabled.
    xiaozhuai authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    0e6e98e View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Allow yaml-cpp to be installed from another project (jbeder#1007)

    Changes YAML_CPP_INSTALL from a cmake_dependent_option to an option.
    
    Fixes jbeder#756, jbeder#847, and jbeder#1011.
    SpaceIm authored Apr 3, 2022
    Configuration menu
    Copy the full SHA
    7d06655 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    4c982d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    13626af View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Improve bazel build for Windows. (jbeder#1100)

    Windows builds need some defines being set to use the static linking.
    
    Also add bazel builds and test to Github-CI.
    vehre-x41 authored Apr 27, 2022
    Configuration menu
    Copy the full SHA
    420c982 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. Configuration menu
    Copy the full SHA
    190ad50 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. Configuration menu
    Copy the full SHA
    c73ee34 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    e87ed7e View commit details
    Browse the repository at this point in the history
  2. Fix compilation errors in build for Oracle Solaris OS (jbeder#1133)

    On Oracle Solaris the following statement is declared in file /usr/include/sys/regset.h:
    #define SS 18 /* only stored on a privilege transition */
    
    Because of this template type name SS is substituted by numeric literal, which results in a compilation error:
    error: expected nested-name-specifier before numeric constant
    
    Fixed by renaming template type names.
    
    Co-authored-by: Roman Degtyar <[email protected]>
    rdzehtsiar and Roman Degtyar authored Sep 20, 2022
    Configuration menu
    Copy the full SHA
    763b7d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    255bf1f View commit details
    Browse the repository at this point in the history
  4. Minimize warnings when not the top-level project (jbeder#1124)

    Minimize warnings when not the top-level project
    
    Should fix jbeder#970 and jbeder#764 when trying to add yaml-cpp to other project
    BMBurstein authored Sep 20, 2022
    Configuration menu
    Copy the full SHA
    c86a9e4 View commit details
    Browse the repository at this point in the history
  5. Basic update to CMakeLists.txt to address jbeder#1116 (jbeder#1117)

    Add definitions to static yaml-cpp target (fixes jbeder#1116)
    
    Also updates CONTRIBUTING instructions for tests
    stephematician authored Sep 20, 2022
    Configuration menu
    Copy the full SHA
    85ad599 View commit details
    Browse the repository at this point in the history
  6. Export library directory and shared libs to CMake config (jbeder#1113)

    This pull request adds two new exported variables to the CMake config:
    
    YAML_CPP_LIBRARY_DIR - points to the directory containing the built library files
    YAML_CPP_SHARED_LIBS_BUILT - boolean value, lets users know whether shared libraries were built or not
    darktohka authored Sep 20, 2022
    Configuration menu
    Copy the full SHA
    97ebcf0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4ae4cb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    1b50109 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    bdc5582 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. CI: define read-only permission for GitHub Workflow (jbeder#1175)

    It secures the repo against erroneous or malicious actions from external jobs you call from your workflow. It's specially important for the case they get compromised, for example.
    diogoteles08 authored Mar 4, 2023
    Configuration menu
    Copy the full SHA
    d7f672d View commit details
    Browse the repository at this point in the history
  2. Make sure tests are run in CI (jbeder#1170)

    * Test(CMake) set NAME and COMMAND in add_test
    
    * (CMake) add enable_testing()
    
    * (CMake) move cmake_dependent_option up, before using them
    
    * (CMake) use YAML_CPP_MAIN_PROJECT in cmake_dependent_option
    
    * (CMake) log values regarding tests
    
    * (CMake) always find CTest, but don't enable tests
    
    * (CMAKE)(temp) fix logging
    
    * (actions) set YAML_CPP_BUILD_TESTS for tests
    
    * (actions) provide YAML_CPP_BUILD_TESTS to ctest
    
    * (actions) set -DYAML_CPP_BUILD_TESTS at build
    
    * (actions) don't fail false
    
    * (actions) build tests in Test step
    
    * (actions) run tests verbose
    
    * (CMake) remove temp logging
    
    * (actions) split building from running tests
    
    * (actions) ctest Debug
    
    * (actions) ctest Debug
    
    * Remove enable_testing
    MatthijsBurgh authored Mar 4, 2023
    Configuration menu
    Copy the full SHA
    3ff7ab0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    55a8037 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    987a604 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Configuration menu
    Copy the full SHA
    74f63c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Revert "Move CTest to test entry (jbeder#1181)" (jbeder#1182)

    This reverts commit 74f63c1.
    jbeder authored Mar 23, 2023
    Configuration menu
    Copy the full SHA
    0e6e28d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Add namespace for the exported targets (jbeder#1196)

    This matches the name for the ALIAS targets, and fixes jbeder#1025.
    Ryanf55 authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b888265 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Configuration menu
    Copy the full SHA
    35b4498 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    f6c8b17 View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.8.0.

    jbeder committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    f732014 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    c268020 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Fix testsuite with gcc-13 (jbeder#1216)

    cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
    /<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
    /<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
       11 |   std::string input{-58, -1, -99, 109};
          |                                      ^
    LocutusOfBorg authored Aug 19, 2023
    Configuration menu
    Copy the full SHA
    fcbb819 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    6262201 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. Revert "node/convert: relax the check for string_view (jbeder#1222)" (j…

    …beder#1225)
    
    This reverts commit 6262201.
    
    in 6262201, we wanted address the needs to use the `string_view`
    converter in C++98, but that requirement was based on wrong
    preconditions. `std::string_view` was introduced in C++17, and
    popular standard libraries like libstdc++ and libc++ both provide
    `std::string_view` when the source is built with C++17.
    
    furthermore 6262201 is buggy. because it uses `<version>` to tell
    the feature set provided by the standard library. but `<version>`
    is a part of C++20. so this defeats the purpose of the change of
    6262201.
    
    Fixes jbeder#1223
    tchaikov authored Sep 10, 2023
    Configuration menu
    Copy the full SHA
    2383e6d View commit details
    Browse the repository at this point in the history
  2. CI: test with supported C++ standards (jbeder#1226)

    * CI: test with supported C++ standards
    
    let's test with the supported standards for better coverage.
    C++23 standard was just out, but the support on the toolchain is
    not quite ready yet. so let's leave it for a future change.
    
    Signed-off-by: Kefu Chai <[email protected]>
    
    * CI: drop redundant Build step
    
    "Build Tests" is strictly a superset of "Build". in addition to
    the library, the former builds the tests also. both these
    steps share the same set of command line arguments. by removing
    "Build" step, we don't lose anything regarding the test coverage
    and information for further investigation if the build fails.
    
    Signed-off-by: Kefu Chai <[email protected]>
    
    ---------
    
    Signed-off-by: Kefu Chai <[email protected]>
    tchaikov authored Sep 10, 2023
    Configuration menu
    Copy the full SHA
    016b2e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. bzlmodded (jbeder#1224)

    stonier authored Sep 17, 2023
    Configuration menu
    Copy the full SHA
    9f31491 View commit details
    Browse the repository at this point in the history
  2. node/convert: Enable the template specialization for `std::string_vie…

    …w` properly when the library is compiled by MSVC on Windows. (jbeder#1227)
    0xFireWolf authored Sep 17, 2023
    Configuration menu
    Copy the full SHA
    d046eea View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    37f1b8b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    4c061a5 View commit details
    Browse the repository at this point in the history
  2. Hide uninstall target unless YAML_CPP_INSTALL is set, and allow it to…

    … be disabled by YAML_CPP_DISABLE_UNINSTALL
    
    add_custom_target uninstall causes a clash with the same target in rtmidi (https://github.com/thestk/rtmidi).
    "add_custom_target cannot create target "uninstall" because another target with the same name already exists.  The existing target is a custom target created in source directory"
    
    Adds new option YAML_CPP_DISABLE_UNINSTALL 
    
    fixes jbeder#1151
    
    ---------
    
    Co-authored-by: Megamouse <[email protected]>
    Co-authored-by: Jesse Beder <[email protected]>
    3 people authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    ac144ed View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. CMake: Fixes for generated config (jbeder#1212)

    * CMake: Add option to set the package install dir.
    
    * CMake: Fix generated config.
    
    - `YAML_CPP_SHARED_LIBS_BUILT` should not be set with a `PATH_VAR` as it
    would always evaluate to true.
    - `YAML_CPP_LIBRARIES` should used the exported target name including
    the namespace, but `check_required_components` shouldn't.
    - Use `CMAKE_CURRENT_LIST_DIR` to find the target file, instead of a
    `PATH_VAR`. Package managers such as vcpkg move CMake configs after
    installing.
    
    * CI: Test the generated CMake package.
    
    * CMake: Create add a deprecated yaml-cpp target.
    
    This target is meant to provide compatibility with versions prior to
    0.8.0.
    
    * CMake: mark the yaml-cpp target as IMPORTED.
    
    ---------
    
    Co-authored-by: Jesse Beder <[email protected]>
    FtZPetruska and jbeder authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    c26e047 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8106fcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fc5ec3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f791b95 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Add CMake option YAML_USE_SYSTEM_GTEST to use system googletest if av…

    …ailable. (jbeder#1035)
    
    There is no need to use the embedded gtest code copy in Linux systems, if they already provide the googletest framework system-wide.
    Search for it, and fallback to the embedded one if the system one is not detected.
    
    This patch has been also contributed by Simon Quigley <[email protected]>
    LocutusOfBorg authored Oct 22, 2023
    Configuration menu
    Copy the full SHA
    145eec5 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    db03655 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Adding support for handling YAML Merge Key (jbeder#41)

    Support for YAML Merge keys ( <<: [*dict1, *dict2] ) is added. The merge
    key is a specific scalar with value << (and tag !!merge) that implies
    that during node construction, the map (or sequence of maps) are merged
    into the current map. The priority rules are that each key from maps
    within the value associated with  << are added iff the key is not yet
    present in the current map (and first map gets higher priority). Test
    cases have been added accordingly.
    nlescoua committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    6bbc603 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Fix yaml-cpp-config.cmake.in

    Levi-Armstrong authored and jbeder committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    30e6933 View commit details
    Browse the repository at this point in the history
  2. Update yaml-cpp-config.cmake.in

    Levi-Armstrong authored and jbeder committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    51adc5f View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. workflows/build.yml: Use debug std C++ library on Ubuntu

    Protect from regressions due to use of undefined or
    implementation-specific behavior when using `std::` containers and smart
    pointers.
    
    This only has effect on platforms with the GNU standard C++ library.
    
    Refer to https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html.
    rico-chet authored and jbeder committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    1c5a38e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf7205 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    6292971 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. ci: hash-pin sensitive workflow dependency

    Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
    diogoteles08 authored and jbeder committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f30582f View commit details
    Browse the repository at this point in the history
  2. ci: configure dependabot to montly update GHAs

    Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
    diogoteles08 authored and jbeder committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    c7639e8 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    94710bb View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Add CMake integration example

    Trompettesib authored and jbeder committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    c28295b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9eb1142 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    c67d701 View commit details
    Browse the repository at this point in the history
  2. assign fallback value

    Jason Beach authored and jbeder committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    96f5c88 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Bump the github-actions group with 1 update

    Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).
    
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Commits](actions/checkout@v2...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and jbeder committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    4afd53b View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Configuration menu
    Copy the full SHA
    5c1bbbd View commit details
    Browse the repository at this point in the history
  2. Add option YAML_ENABLE_PIC=ON

    humbertodias authored and jbeder committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    76dc671 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    e5ba551 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Fix merge operator support (that can be visible by iterating through …

    …the node)
    
    The problem is that const_map_to.get(*j->first) compares only the
    shared_ptr's, while we need to compare the key itself.
    
    v2: remove const iterator
    v3: fix use-after-free due to const reference
    azat committed May 3, 2024
    Configuration menu
    Copy the full SHA
    bcf7604 View commit details
    Browse the repository at this point in the history
  2. Fix order for merging iterator

    Consider the following YAML:
    
        trait1: &t1
          foo: 1
    
        trait2: &t2
          foo: 2
    
        merged:
          <<: *t1
          <<: *t2
    
    yq reports:
    
        $ yq .merged.foo < /tmp/yaml
        2
    
    while the order that yaml-cpp returns is different, since it will
    firstly handle 1, and will not replace it with 2:
    
        $ util/parse < /tmp/yaml
        trait1:
          ? &1 foo
          : &2 1
        trait2:
          foo: 2
        merged:
          *1 : *2
    
    (Don't mix up "*2" with "2", it is trait1)
    azat committed May 3, 2024
    Configuration menu
    Copy the full SHA
    2acec3d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'merge-operator' into update-lib-and-merge-operator

    * merge-operator:
      Fix order for merging iterator
      Fix merge operator support (that can be visible by iterating through the node)
      Fix merge-key handling in case the dictionary contains a sub-dictionary
      Adding support for handling YAML Merge Key (jbeder#41)
    azat committed May 3, 2024
    Configuration menu
    Copy the full SHA
    2ce752f View commit details
    Browse the repository at this point in the history