Commit Graph

  • ed8428015f Rollback Mutex relative timeout support because of internal incompatibility Abseil Team 2023-03-09 13:39:00 -08:00
  • 761f04dca7 Improve readability of ::testing::ElementsAre and ::testing::Le in unit tests assertions. Abseil Team 2023-03-09 11:38:28 -08:00
  • 5df3ac3b29 Add note about using CurrentThreadIdentityIfPresent() on darwin based platforms. Dave MacLachlan 2023-03-09 09:10:29 -08:00
  • d5d287dc28 Merge pull request #1395 from AtariDreams:const Copybara-Service 2023-03-08 12:09:34 -08:00
  • 297efcc96b Introduce two new public APIs for parsing command line flags. Gennadiy Rozental 2023-03-08 10:52:30 -08:00
  • b75a3ff4af Synchronization: Add support for true relative timeouts using monotonic clocks on Linux when the implementation uses futexes Derek Mauro 2023-03-08 08:24:10 -08:00
  • b13195f2dc Use const and static for member functions Rose 2023-02-16 12:27:22 -05:00
  • eba70b1c2f Internal Code Change Abseil Team 2023-03-06 17:01:38 -08:00
  • dc44b95ab0 Support lvalue references to incomplete types as FunctionRef parameters. Abseil Team 2023-03-06 10:26:02 -08:00
  • 807763a7f5 CMake: Install TESTONLY libraries and their dependencies when they are built Derek Mauro 2023-03-02 17:32:02 -08:00
  • d51d3cf3fe Use multiple empty generations so that we can detect when iterators from different empty hashtables are compared. Evan Brown 2023-03-02 10:03:38 -08:00
  • 4ae8771a31 Change from ABSL_DLL ABSL_CONST_INIT to ABSL_CONST_INIT ABSL_DLL Derek Mauro 2023-03-01 21:29:34 -08:00
  • a53d0916ec Merge pull request #1409 from georgthegreat:explicit-inserts Copybara-Service 2023-03-01 21:29:47 -08:00
  • 02f4b99976 Delete the Throw() function from absl::base_internal. Devin Jeanpierre 2023-03-01 17:56:57 -08:00
  • 6c2630fe51 Finally delete ArgListAction after cleanup is completed. Gennadiy Rozental 2023-03-01 16:54:33 -08:00
  • 1d07cfede2 Rollback because of internal incompatibility. Abseil Team 2023-02-28 10:47:58 -08:00
  • cd43bea777 Fix //absl/{base,debugging:symbolize} build with Mingw Abseil Team 2023-02-28 10:32:47 -08:00
  • 0c1114c4fb Eliminate internal ArgvListAction enum. Gennadiy Rozental 2023-02-27 12:18:10 -08:00
  • 2d2801a315 Move lambda from ExtractInvoker in AnyInvocable to a separate function Abseil Team 2023-02-27 10:23:16 -08:00
  • 7b46123329 Remove backfills of some type traits that are now fully supported Derek Mauro 2023-02-27 07:32:56 -08:00
  • f8d47820dc Fix compiling int128.cc against certain STLs Yuriy Chernyshov 2023-02-27 00:39:06 +03:00
  • f2b52372f7 Remove extra space in comment. Abseil Team 2023-02-24 13:50:40 -08:00
  • 8c79530e07 Update the predicate for ABSL_INTERNAL_HAS_RTTI for Windows builds. Abseil Team 2023-02-24 09:10:46 -08:00
  • 4825ef4095 Initialize ScopedMockLog.is_triggered_ with false. Abseil Team 2023-02-23 13:05:39 -08:00
  • 6d16237574 cleanup: remove pre-CMake 3.8 workarounds Abseil Team 2023-02-23 12:30:02 -08:00
  • 0f35765048 Optimize ConvertSpecialToEmptyAndFullToDeleted on Arm Connal de Souza 2023-02-23 09:52:08 -08:00
  • 0ecfe2358a Merge pull request #1393 from AtariDreams:cpp Copybara-Service 2023-02-22 22:56:40 -08:00
  • 2f8f87e538 Merge pull request #1402 from AtariDreams:workaround Copybara-Service 2023-02-22 22:51:22 -08:00
  • c77bde682a Add CalculateBase64EscapeLen variations for the 3 base64 escaping methods (Base64Escape, WebSafeBase64Escape, WebSafeBase64EscapeWithPadding). Abseil Team 2023-02-22 18:07:14 -08:00
  • 402e131921 Merge pull request #1403 from AtariDreams:c++11 Copybara-Service 2023-02-22 10:52:21 -08:00
  • 277af61c83 Fix out of bounds array access when deadlock detector finds exceptionally large cycles. Abseil Team 2023-02-22 10:40:30 -08:00
  • d6ea4df62d Merge pull request #1388 from miladfarca:fix-Read1To3-on-BE Copybara-Service 2023-02-22 08:13:06 -08:00
  • 6247f0e918 Resolve TODO: remove C++11 workarounds Rose 2023-02-21 09:54:00 -05:00
  • c3b5022604 Merge pull request #1394 from AtariDreams:constructors Copybara-Service 2023-02-21 12:17:12 -08:00
  • e575e989c8 Merge pull request #1401 from AtariDreams:apple Copybara-Service 2023-02-21 12:15:56 -08:00
  • 7a522a573f Refactor swisstable iterator debug messages code. The motivations are (a) distinguish between the "likely erased" and "could have rehashed" cases when generations are enabled, (b) suggest running under ASan when generations aren't enabled and doing so would narrow down the possible error cases, and (c) make ABSL_INTERNAL_ASSERT_IS_FULL not be a macro. Evan Brown 2023-02-21 11:21:00 -08:00
  • d9ae096e74 absl: fix potential int overflow in ELF reading Abseil Team 2023-02-21 11:19:15 -08:00
  • 8459e11a50 Remove check for apple_build_version for hash workaround Rose 2023-02-21 09:32:30 -05:00
  • d290aab6c2 Remove workaround for gcc 5.1 Rose 2023-02-21 09:41:56 -05:00
  • c8a2f92586 Make SanitizerSafeCopy() constexpr, and check for constant evaluation (#1399) 20230125.1 Derek Mauro 2023-02-18 11:23:34 -05:00
  • bd624d9f98 fix(CMake): correct target variable for DLLs Abseil Team 2023-02-17 16:41:38 -08:00
  • d32a746c2d Merge pull request #1390 from AtariDreams:default Copybara-Service 2023-02-17 16:35:26 -08:00
  • a0f9b46521 Update latest Linux container to unbreak Kokoro Derek Mauro 2023-02-17 14:11:51 -08:00
  • ab92654a37 Convert empty constructors to default ones Rose 2023-02-16 12:20:06 -05:00
  • ed37a45a37 Synchronization: Add support for true relative timeouts using monotonic clocks on Linux when the implementation uses futexes Derek Mauro 2023-02-17 05:17:10 -08:00
  • 0372af19f2 Add KernelTimeout methods that convert the timeout to the std::chrono methods used by std::condition_variable. Derek Mauro 2023-02-16 11:52:26 -08:00
  • fd02f6a4bd Prefer C++ notation over C Rose 2023-02-16 12:31:07 -05:00
  • 6089a04018 Prefer emplace back over push_back where emplace_back is more appropriate Rose 2023-02-16 11:45:51 -05:00
  • 2d4c6872da std::shared_ptr<T>::unique() is deprecated in C++17 and removed in C++20. Abseil Team 2023-02-16 06:23:35 -08:00
  • 32794f0a42 Fix Read1To3 on big Endian Milad Fa 2023-02-15 19:05:44 +00:00
  • b540445781 KernelTimeout optimization: Use absl::GetCurrentTimeNanos() instead of absl::ToUnixNanos(absl::Now()); Derek Mauro 2023-02-15 07:40:18 -08:00
  • 8aa88cd11c Remove _m_prefetchw() in favor of supporting only _mm_prefetch() or __builtin_prefetch() Martijn Vels 2023-02-14 14:06:10 -08:00
  • 15957950d9 Make default-constructed swisstable iterators use EmptyGroup() for ctrl_ so that we can distinguish between end() iterators and default-constructed iterators in debug mode. Evan Brown 2023-02-14 12:30:41 -08:00
  • ae2f0378dc Merge pull request #1387 from AtariDreams:patch-1 Copybara-Service 2023-02-14 11:04:36 -08:00
  • b7a8491fbd Remove Workarounds for Old Clang Bug Rose 2023-02-10 13:19:30 -05:00
  • d6a45e95ab Merge pull request #1381 from trishvl:master Copybara-Service 2023-02-13 12:21:45 -08:00
  • 19a44466c1 Fix absl/log:stripping_test when ABSL_MIN_LOG_LEVEL is defined Abseil Team 2023-02-13 12:19:15 -08:00
  • 2312dbb66c Fix missing constexpr on GetReferenceableValue overload Abseil Team 2023-02-13 08:34:13 -08:00
  • cde2f0eaae Workaround MSan false positive. Abseil Team 2023-02-10 06:31:03 -08:00
  • fa4855403c Rewrite KernelTimeout to support both absolute and relative timeouts Derek Mauro 2023-02-09 19:45:05 -08:00
  • 823b837839 In sanitizer mode, detect when end iterators from different swisstables are compared. Evan Brown 2023-02-09 14:12:52 -08:00
  • dcaed1a05a Add overrides to other functions which call Waiter::GetWaiter Abseil Team 2023-02-08 10:49:52 -08:00
  • 2de126cc58 Change implementation of OnlyLiteralZero to only fail if the second overload is chosen, not in overload resolution. Abseil Team 2023-02-08 03:13:31 -08:00
  • f8fa267ec2 Don't assume that AVX implies PCLMULQDQ when using LLVM on Windows. Saran Tunyasuvunakool 2023-02-07 08:35:38 -08:00
  • 92fc445f7c Fix a discrepancy between absl::Hash and absl::HashOf for some negative signed integral types and improve the performance of absl::Hash. Abseil Team 2023-02-06 15:23:40 -08:00
  • 8e3a3e5f56 Solving issue with implied SSE when running ARM64EC Trish Lam 2023-02-06 12:11:17 -08:00
  • cdad8cd96e PrefetchToLocalCacheForWrite should use __builtin_prefetch(<addr>, 1, 3) not __builtin_prefetch<addr>, 1, 0) Abseil Team 2023-02-03 16:00:19 -08:00
  • 3020b58f0d Add ABSL_ATTRIBUTE_LIFETIME_BOUND to absl::StatusOr::emplace() Laramie Leavitt 2023-02-03 10:55:01 -08:00
  • 115aac772c Fix missing includes/dependencies Derek Mauro 2023-02-02 08:04:36 -08:00
  • 7005fede1e Get rid of tail padding within absl::Duration. This reduces memory usage needs when storing duration in containers (e.g. vector<absl::Duration> uses 25% less memory), and allows classes with absl::Duration fields to fit other stuff in memory previously used by tail padding (e.g. std::optional<absl::Duration> is now 16 bytes instead of 24). Abseil Team 2023-02-02 03:05:07 -08:00
  • 9858e5421b Get rid of tail padding within absl::Duration. This reduces memory usage needs when storing duration in containers (e.g. vector<absl::Duration> uses 25% less memory), and allows classes with absl::Duration fields to fit other stuff in memory previously used by tail padding (e.g. std::optional<absl::Duration> is now 16 bytes instead of 24). Abseil Team 2023-02-02 00:48:53 -08:00
  • 7c7cafef4f Delete unused Futex methods Derek Mauro 2023-02-01 08:24:55 -08:00
  • 385ad37dac Rollforward: in sanitizer mode, detect when references become invalidated by randomly rehashing on insertions when there is no reserved growth. Evan Brown 2023-02-01 07:49:45 -08:00
  • 1a38beaaaf Add const qualifier to c_binary_search Sequence. Abseil Team 2023-01-31 16:37:12 -08:00
  • dcddc54407 Rollback in sanitizer mode, detect when references become invalidated by randomly rehashing on insertions when there is no reserved growth. Abseil Team 2023-01-31 08:00:06 -08:00
  • ed59f62f8b In sanitizer mode, detect when references become invalidated by randomly rehashing on insertions when there is no reserved growth. Evan Brown 2023-01-30 14:59:39 -08:00
  • 0c3df2f5a7 The type of MINSIGSTKSZ is not guaranteed; avoid potential implicit sign conversion. Abseil Team 2023-01-28 13:41:47 -08:00
  • 75d2525117 Replace absl::base_internal::Prefetch* calls with absl::Prefetch* calls Martijn Vels 2023-01-27 12:36:55 -08:00
  • 8a0693b2a7 Adds AbslStringify support to absl::Hex and absl::Dec Phoebe Liang 2023-01-27 10:54:21 -08:00
  • 68a1de6f86 Merge pull request #1371 from fahhem:mingw_support Copybara-Service 2023-01-26 17:20:25 -08:00
  • db51f68788 Introduce Abseil Prefetch API Martijn Vels 2023-01-26 14:22:33 -08:00
  • c21bd95257 Add lifetime annotations to AlphaNum. Abseil Team 2023-01-26 09:43:17 -08:00
  • b470516419 Cord does not need its str_format dependency Derek Mauro 2023-01-26 08:34:37 -08:00
  • 35e8e3f7a2 Make SanitizerSafeCopy() constexpr, and check for constant evaluation Martijn Vels 2023-01-25 19:57:34 -08:00
  • 3a0f99e84b Pass correct flags for mingw to use bcrypt Fahrzin Hemmati 2023-01-25 15:22:05 -08:00
  • fd3ac7427a Add mingw as a config_setting Fahrzin Hemmati 2023-01-25 15:19:20 -08:00
  • 78be63686b Apply LTS transformations for 20230125 LTS branch (#1370) 20230125.rc3 20230125.0 Derek Mauro 2023-01-25 11:31:08 -05:00
  • a69b0ae5cd Separate DLL export/import for test helpers dll, and fix typo. Mike Kruskal 2023-01-25 07:23:42 -08:00
  • f1d1657631 Add memory sanitizer to absl::Cord Martijn Vels 2023-01-25 07:22:30 -08:00
  • b0a2b10bb1 Fix typo in previous AbseilDLL changes, and enable testing. Mike Kruskal 2023-01-24 14:13:07 -08:00
  • 609770cefb Work around GCC -Wuninitialized when initializing a span from an uninitialized array in logging. Andy Getzendanner 2023-01-24 10:48:27 -08:00
  • 20f44782bf Include Abseil logging in windows dll, and add a test helper dll. Mike Kruskal 2023-01-24 09:18:25 -08:00
  • a9bc6fdf38 Sort CMakeList deps for raw_hash_set and raw_hash_set_test. Evan Brown 2023-01-23 11:59:39 -08:00
  • b8720b4533 Use const references in Standard Library algorithms range adapters where possible. Abseil Team 2023-01-23 11:51:06 -08:00
  • 96355f50aa absl: harden stack bounds check Abseil Team 2023-01-23 09:10:24 -08:00
  • 7e8d8018f6 Fix pkgconfig generation broken by 14abd930c6 Derek Mauro 2023-01-22 17:43:41 -08:00
  • 4eef161700 Update absl::allocator_traits and absl::pointer_traits to always use std::allocator_traits and std::pointer traits. Derek Mauro 2023-01-20 15:12:54 -08:00
  • 52495da05f Add CodegenAbslRawHashSetStringFindNeEnd function, which is useful because the find isn't inlined but the iterator comparison is. Evan Brown 2023-01-20 10:32:12 -08:00
  • a0b102c35b Add absl::is_constant_evaluated for pre-c++20 support Martijn Vels 2023-01-20 07:20:05 -08:00
  • c611e5ce1d absl: add a stack unwinding test END_PUBLIC Abseil Team 2023-01-20 00:47:33 -08:00