214 Commits (master)

Author SHA1 Message Date
Abseil Team db8cd47898 Add support for enum types with AbslStringify 2 years ago
Phoebe Liang e6044634dd Support logging of user-defined types that implement `AbslStringify()` 2 years ago
Abseil Team a87df8e9db Fix -Wimplicit-int-conversion. 2 years ago
Derek Mauro 2b403ec754 Cord: Avoid leaking a node if SetExpectedChecksum() is called on an 2 years ago
Derek Mauro 1db72eb03e Support empty Cords with an expected checksum 2 years ago
Andy Soffer fd9fbe7451 Move internal details from one source file to another more appropriate source 2 years ago
Phoebe Liang 8279400382 Removes `PutPaddedString()` function 2 years ago
Abseil Team 1b6a9e95a7 Return uint8_t from CappedDamerauLevenshteinDistance. 2 years ago
Abseil Team cb436cf014 Document Base64Unescape() padding 2 years ago
Abseil Team 85cc4947db Fix a sign conversion warning. 2 years ago
Abseil Team edf41d7238 Implement function to calculate Damerau-Levenshtein distance between two strings. 2 years ago
Andy Soffer 5631e52ed7 Support stringification of user-defined types in AbslStringify in absl::Substitute. 2 years ago
Abseil Team f073fe8ee5 Fix "unsafe narrowing" warnings in absl, 12/12. 2 years ago
Martijn Vels cbaba1a9bf Revert change to internal 'Rep', this causes issues for gdb 2 years ago
Martijn Vels 3af3e6386d Reorganize InlineData into an inner Rep structure. 2 years ago
Martijn Vels 91b7cd600a Change Cord internal layout, which reduces store-load penalties on ARM 2 years ago
Andy Soffer 845610e80b Fix a bug in StrFormat. This issue would have been caught by any compile-time 2 years ago
Abseil Team a0b5e3273b Adds documentation for stringification extension 2 years ago
Randolf J 541818ee30
Add clang < 7 to conditions 2 years ago
Marcin Kowalczyk b3162b1da6 Make sinks provided to `AbslStringify()` usable with `absl::Format()`. 2 years ago
Randolf J bf2bf60a3e
Update charconv.cc 2 years ago
Randolf J 71aa5dda4c
chore: limit to Clang 2 years ago
Gennadiy Rozental e225d0b2c6 No changes in OSS 2 years ago
Abseil Team 535f22b4a0 Replace the kPower10ExponentTable array with a formula. 2 years ago
Abseil Team f19051447f CMake: Mark absl::cord_test_helpers and absl::spy_hash_state PUBLIC 2 years ago
Randolf J d113dec820
Update charconv.cc 2 years ago
Abseil Team 7f3c0d7811 Allows absl::StrCat to accept types that implement AbslStringify() 2 years ago
Martijn Vels ba78523573 Cleanup: SmallMemmove nullify should also be limited to 15 bytes 2 years ago
Martijn Vels 516c626692 Cleanup: implement PrependArray and PrependPrecise in terms of InlineData 2 years ago
Martijn Vels 92bc0b6b68 Cleanup: Move BitwiseCompare() to InlineData, and make it layout independent. 2 years ago
Abseil Team b39aa365e1 Change kPower10Table bounds to be half-open 2 years ago
Martijn Vels cfa5dc7576 Cleanup some InlineData internal layout specific details from cord.h 2 years ago
Matt Kulukundis 40ede06edc Improve the comments on the implementation of format hooks adl tricks. 2 years ago
Abseil Team dce028bdce Documentation: Remove an obsolete note about the implementation of `Cord`. 2 years ago
Abseil Team f7404cd33f Allows absl::StrFormat to accept types which implement AbslStringify() 2 years ago
Abseil Team 7f9c536c0a Implement Eisel-Lemire for from_chars<float> 2 years ago
Abseil Team 9398fa76a3 Adds support for "%v" in absl::StrFormat and related functions for bool values. Note that %v prints bool values as "true" and "false" rather than "1" and "0". 2 years ago
Abseil Team 55996e2e30 Explicitly disallows modifiers for use with %v. 2 years ago
Abseil Team ab2e2c4f60 Adds support for "%v" in absl::StrFormat and related functions for numeric types, including integer and floating point values. Users may now specify %v and have the format specifier deduced. Integer values will print according to %d specifications, unsigned values will use %u, and floating point values will use %g. Note that %v does not work for `char` due to ambiguity regarding the intended output. Please continue to use %c for `char`. 2 years ago
Andy Getzendanner d423ac0ef0 Implement correct move constructor and assignment for absl::strings_internal::OStringStream, and mark that class final. 2 years ago
Abseil Team dc6109e0c8 Implement Eisel-Lemire for from_chars<double> 2 years ago
Abseil Team 2594f85514 Fix "unsafe narrowing" warnings in absl, 10/n. 2 years ago
Abseil Team d3c00b06b3 Fixes bug so that `%v` with modifiers doesn't compile. `%v` is not intended to work with modifiers because the meaning of modifiers is type-dependent and `%v` is intended to be used in situations where the type is not important. Please continue using if `%s` if you require format modifiers. 2 years ago
Abseil Team b677bd139d Refactors checker.h and replaces recursive functions with iterative functions for readability purposes. 2 years ago
Abseil Team c0b0f63fc5 Refactors checker.h to use if statements instead of ternary operators for better readability. 2 years ago
Abseil Team 6a262fdadd Adds support for "%v" in absl::StrFormat and related functions for string-like types (support for other builtin types will follow in future changes). Rather than specifying %s for strings, users may specify %v and have the format specifier deduced. Notably, %v does not work for `const char*` because we cannot be certain if %s or %p was intended (nor can we be certain if the `const char*` was properly null-terminated). If you have a `const char*` you know is null-terminated and would like to work with %v, please wrap it in a `string_view` before using it. 2 years ago
Abseil Team 72ec15a317 Fixed header guards to match style guide conventions. 2 years ago
Abseil Team 75691f1c32 Fix "unsafe narrowing" warnings in absl, 6/n. 2 years ago
Abseil Team fcfc7a6d15 Fix "unsafe narrowing" warnings in absl, 5/n. 2 years ago
Abseil Team 934f613818 Fix "unsafe narrowing" warnings in absl, 4/n. 2 years ago