-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: IBMZ-Linux-OSS-Python/abseil-cpp
base: master
head repository: abseil/abseil-cpp
compare: master
- 18 commits
- 55 files changed
- 5 contributors
Commits on May 6, 2025
-
Extract
WideToUtf8
helper toutf8.h
.This change allows to reuse the conversion of `wchar_t` into UTF-8 from other code. It also adds tests that covers the conversion. PiperOrigin-RevId: 755365598 Change-Id: I0f1c0b7949dec3c9874be99f01540748436532ce
Configuration menu - View commit details
-
Copy full SHA for dd69c96 - Browse repository at this point
Copy the full SHA dd69c96View commit details -
Remove the explicit from the constructor to a test allocator
in hash_policy_testing.h. This is rejected by Clang when using the libstdc++ that ships with GCC15 PiperOrigin-RevId: 755387792 Change-Id: I1b68d80b9603289da03db44606efcf02b8c8f379
Configuration menu - View commit details
-
Copy full SHA for 2bbec17 - Browse repository at this point
Copy the full SHA 2bbec17View commit details -
Move PrepareInsertCommon from header file to cc file.
PiperOrigin-RevId: 755434777 Change-Id: Ic84e3dc3014b19f21ce98e8dae2529236ce4bf5e
Configuration menu - View commit details
-
Copy full SHA for c42f038 - Browse repository at this point
Copy the full SHA c42f038View commit details -
Use Bazel vendor mode to cache external dependencies
on Windows and macOS Also upgrade to Bazel 8.2.1 since all platforms will need to use the same version of Bazel to get the most cache hits. Different Bazel versions have different dependencies. PiperOrigin-RevId: 755477047 Change-Id: Ib8838c6ef1e3b55841005d877346ed8afceca15a
Configuration menu - View commit details
-
Copy full SHA for 774d410 - Browse repository at this point
Copy the full SHA 774d410View commit details -
Add __restrict for uses of PolicyFunctions.
This lets the compiler know that PolicyFunctions never aliases other variables so e.g. when we write to control bytes, we don't need to reload PolicyFunctions members that we've previously accessed. PiperOrigin-RevId: 755493766 Change-Id: Ic7729a9726da00bcaabd064ffd046a6260dd6480
Configuration menu - View commit details
-
Copy full SHA for e3a2008 - Browse repository at this point
Copy the full SHA e3a2008View commit details
Commits on May 7, 2025
-
Fix new -Wnullability-completeness warnings found after upgrading
the Clang version used in the Linux ARM CI to Clang 19. nullability-completeness is an all-or-nothing warning, and it is enabled by default. If anything is annotated, everything has to be annotated. There are a few types of fixes in this change. The most common is just to add missing annotations. In a few cases, some SFINAE methods are changed not to use pointers at all. In some cases, like cord_internal.h, I removed the single annotation as that is easier than doing the entire complicated file for now. cordz_test_helpers.h uses GoogleTest macros, which bring in pointers that can't easily be annotated, so I removed the annotations from this file as well. Tests are also opted-out of the warning. I'm not sure why the x86 Clang version didn't pick these issues up. PiperOrigin-RevId: 755844859 Change-Id: I7d7f4cc4f6d779f52c86a4d96e07880341244491
Configuration menu - View commit details
-
Copy full SHA for 668f174 - Browse repository at this point
Copy the full SHA 668f174View commit details -
GCC latest is now GCC-15.1 Clang on ARM is now Clang-19 Bazel 8.2.1 CMake 4.0.1 Enable Bazel "Vendor Mode" as a caching mechanism to reduce GitHub download failures. PiperOrigin-RevId: 755864516 Change-Id: I9bf38e20fb8a09739406798119c50ce1aa934f43
Configuration menu - View commit details
-
Copy full SHA for cdd3d21 - Browse repository at this point
Copy the full SHA cdd3d21View commit details -
Change some nullability annotations in absl::Span to
absl_nullability_unknown to workaround a bug that makes nullability checks trigger in foreach loops, while still fixing the -Wnullability-completeness warnings. PiperOrigin-RevId: 755951074 Change-Id: Ia6eea53f381d9255856a3f85efa41f0dfbd5c684
Configuration menu - View commit details
-
Copy full SHA for 9fcfa06 - Browse repository at this point
Copy the full SHA 9fcfa06View commit details -
Deprecate
ABSL_HAVE_STD_STRING_VIEW
.This macro is no longer necessary now that Abseil requires C++17. PiperOrigin-RevId: 755992345 Change-Id: Id1361d62d860a0ba4bdfca22e8f39d54812ef82c
Configuration menu - View commit details
-
Copy full SHA for 464b5b3 - Browse repository at this point
Copy the full SHA 464b5b3View commit details -
Add support for logging wide strings in
absl::log
.The logged strings are truncated to fit the available buffer in the same way as regular strings. Invalid characters are replaced by the replacement char (`U+FFFD`). Wide string literals are recorded as literals in `logging.proto.Value`. PiperOrigin-RevId: 756052375 Change-Id: If3960b4230f923061028bd738eb209b5a82a31eb
Configuration menu - View commit details
-
Copy full SHA for bba13cb - Browse repository at this point
Copy the full SHA bba13cbView commit details -
Stop being strict about validating the "clone" part of mangled names
Support for parsing mangled symbol names with a ".something" suffix in the demangler was originally added because the compiler was using that for function cloning, but since then the compiler has started using ".something" suffixes in many other cases, such as function renaming for ThinLTO and CFI. As a result, some symbols in binaries built with these features would fail to demangle. So instead of trying to validate what comes after the "." let's just stop parsing when we see a ".", so that the symbols are demangled correctly. This behavior is consistent with libc++. PiperOrigin-RevId: 756054147 Change-Id: I01e9e97eee32bee05ba243b615ed26a36b59591d
Configuration menu - View commit details
-
Copy full SHA for 1b52dcb - Browse repository at this point
Copy the full SHA 1b52dcbView commit details
Commits on May 8, 2025
-
Remove dependency on
wcsnlen
for string length calculation.The `wcsnlen` function is not consistently available across all target environments. Its prior use was intended as a micro-optimization and safeguard to limit string scanning to the remaining buffer size and prevent potential issues with malformed strings lacking a null terminator. This change now relies on the implicit `std::wstring_view` constructor to determine the string length. `CopyToEncodedBuffer` will continue to handle truncation effectively, mitigating the original concerns. PiperOrigin-RevId: 756378282 Change-Id: I858bad01724507f7926f868aa300eabad8a4358c
Configuration menu - View commit details
-
Copy full SHA for db8171f - Browse repository at this point
Copy the full SHA db8171fView commit details -
Use __builtin_is_cpp_trivially_relocatable to implement
absl::is_trivially_relocatable in a way that is compatible with PR2786 in the upcoming C++26. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2786r11.html This change is being made now because Chromium is reporting that a recent LLVM commit adds deprecation warnings for __is_trivially_relocatable. llvm/llvm-project#138835 PiperOrigin-RevId: 756408712 Change-Id: Iacf966ed2ebfd436d52d180f0dab34465b3c7176
Configuration menu - View commit details
-
Copy full SHA for a4950fb - Browse repository at this point
Copy the full SHA a4950fbView commit details -
Added test cases for invalid surrogates sequences.
While these are disabled now because the current implementation does not correctly handle them, this is a starting point for a future fix. PiperOrigin-RevId: 756431459 Change-Id: I9c498ce1a2e12baa32a46bcdc56e9354feee305a
Configuration menu - View commit details
-
Copy full SHA for 0710718 - Browse repository at this point
Copy the full SHA 0710718View commit details
Commits on May 9, 2025
-
Avoid requiring default-constructability of iterator type in algorith…
…ms that use ContainerIterPairType This includes absl::c_minmax_element, absl::c_equal_range, and absl::mismatch PiperOrigin-RevId: 756846820 Change-Id: I39f612224a98947f5ef9e9b7e53320df0bd99ce7
Configuration menu - View commit details
-
Copy full SHA for 3eb2041 - Browse repository at this point
Copy the full SHA 3eb2041View commit details -
Rewrite
WideToUtf8
for improved readability.This is supposed to be a zero-diff change. PiperOrigin-RevId: 756859112 Change-Id: Ia81a84bc5d1e6f2a1299ca0ff5dbcec48583ab76
Configuration menu - View commit details
-
Copy full SHA for 83e249f - Browse repository at this point
Copy the full SHA 83e249fView commit details -
Fix a bug of casting sizeof(slot_type) to uint16_t instead of uint32_t.
Note that in the above static_assert, we check that sizeof(slot_type) fits in a uint32_t, not a uint16_t and the field in PolicyFunctions is a uint32_t. PiperOrigin-RevId: 756886567 Change-Id: I5ca915b814d1da6cdc1d24152b2ebde5dec9d28b
Configuration menu - View commit details
-
Copy full SHA for 4bf37d8 - Browse repository at this point
Copy the full SHA 4bf37d8View commit details -
PiperOrigin-RevId: 756908046 Change-Id: I4db2b90fd1f6097f582b90c6aa82cdc4704d8b66
Configuration menu - View commit details
-
Copy full SHA for 9a89ea8 - Browse repository at this point
Copy the full SHA 9a89ea8View 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 master...master