-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comparing changes
Open a pull request
base repository: open-source-parsers/jsoncpp
base: 1.9.6
head repository: open-source-parsers/jsoncpp
compare: master
- 14 commits
- 19 files changed
- 13 contributors
Commits on Sep 11, 2024
-
Fixes PreventInSourceBuilds.cmake to work with add_subdirectory (#1383)
Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76ff1db - Browse repository at this point
Copy the full SHA 76ff1dbView commit details -
json_value.cpp bug in the edges of uint/int (#1519)
* json_value.cpp bug in the edges of uint/int Fixing bug of sending a number that is a bit bigger than max<uint64_t> it returns 0: https://stackoverflow.com/questions/77261400/jsoncpp-do-not-protect-from-uint64-overflow-and-have-weird-behavior/77261716#77261716 * Update json_value.cpp Fixing bug of sending a number that is a bit bigger than max<uint64_t> it returns 0: https://stackoverflow.com/questions/77261400/jsoncpp-do-not-protect-from-uint64-overflow-and-have-weird-behavior/77261716#77261716 * Update test cases * json_value.cpp bug in the edges of uint/int Fixing bug of sending a number that is a bit bigger than max<uint64_t> it returns 0: https://stackoverflow.com/questions/77261400/jsoncpp-do-not-protect-from-uint64-overflow-and-have-weird-behavior/77261716#77261716 * Run clang tidy --------- Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54fc4e2 - Browse repository at this point
Copy the full SHA 54fc4e2View commit details
Commits on Sep 12, 2024
-
Release 1.9.6 and move versions to 1.9.7 (#1566)
* Release 1.9.6 and move versions to 1.9.7 This patch updates versions to be for version 1.9.7. * remove log.txt
Configuration menu - View commit details
-
Copy full SHA for 871f0cc - Browse repository at this point
Copy the full SHA 871f0ccView commit details -
Fix deallocate for working on old compiers (#1478)
Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07e3d1b - Browse repository at this point
Copy the full SHA 07e3d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8214f71 - Browse repository at this point
Copy the full SHA 8214f71View commit details
Commits on Sep 30, 2024
-
fix(build): remove
check_required_components
for meson build (#1570)Signed-off-by: Rui Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd25fc5 - Browse repository at this point
Copy the full SHA bd25fc5View commit details
Commits on Dec 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b3815c - Browse repository at this point
Copy the full SHA 2b3815cView commit details -
Fix name of static library when targeting MinGW. (#1579)
Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f86349 - Browse repository at this point
Copy the full SHA 3f86349View commit details
Commits on Dec 5, 2024
-
Fix comparison warnings caused by 54fc4e2 (#1575)
Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dca8a24 - Browse repository at this point
Copy the full SHA dca8a24View commit details
Commits on Jan 10, 2025
-
Drop pre-C++11 alternatives (#1593)
* Assume C++11 We already assume C++11 elsewhere, so all pre-11 `#ifdef` branches are dead code at this point. Fixes issue #1591 because we can just use `std::isfinite` etc. assume C++11 in json_reader.cpp as well apply clang-format * valueToString: simplify lookup of special float name
Configuration menu - View commit details
-
Copy full SHA for 07a8fe6 - Browse repository at this point
Copy the full SHA 07a8fe6View commit details -
feat: support std::string_view in Value API (#1584)
This adds direct support for `std::string_view` when available (C++17 and above). The current API can be used with `std::string_view` via the low-level two-pointer methods, but is not ergonomic. E.g., compare: ``` Json::Value node; std::string foo, bar, baz; std::string_view foo_sv, bar_sv, baz_sv; // Efficient & readable: node[foo][bar][baz]; // Less efficient, less readable: node[std::string(foo_sv)][std::string(bar_sv)][std::string(baz_sv)]; // Efficient, but a lot less readable: *node.demand(foo_sv.data(), foo_sv.data() + foo_sv.size()) ->demand(bar_sv.data(), bar_sv.data() + bar_sv.size()) ->demand(baz_sv.data(), baz_sv.data() + baz_sv.size()) // After this change, efficient & readable: node[foo_sv][bar_sv][baz_sv]; ``` * The constructor can take a `std::string_view` parameter. The existing overloads taking `const std::string&` and `const char*` are still necessary to support assignment from those types. * `operator[]`, `get()`, `isMember()` and `removeMember()` take a `std::string_view` parameter. This supersedes the overloads taking `const std::string&` and `const char*`. The overloads taking a pair of pointers (begin, end) are preserved for source compatibility. * `getString()` has an overload with a `std::string_view` output parameter. The one with a pair of pointers is preserved for source compatibility. Signed-off-by: Lev Kandel <[email protected]> Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60ccc1f - Browse repository at this point
Copy the full SHA 60ccc1fView commit details -
Added Value::findType with String key (#1574)
This adds a convenience function to return a member if it has a specific json type. All isType values are supported. Co-authored-by: Jordan Bayles <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba00447 - Browse repository at this point
Copy the full SHA ba00447View commit details
Commits on Mar 12, 2025
-
Set up for Bazel module builds. (#1597)
* Set up for Bazel module builds. Note: the MODULE.bazel is copied from https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/jsoncpp/1.9.6/MODULE.bazel * More tweaks to .gitignore
Configuration menu - View commit details
-
Copy full SHA for 037752d - Browse repository at this point
Copy the full SHA 037752dView commit details
Commits on Mar 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ca98c98 - Browse repository at this point
Copy the full SHA ca98c98View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.9.6...master