1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00
serenity/Userland/Libraries
sin-ack c70f45ff44 Everywhere: Explicitly specify the size in StringView constructors
This commit moves the length calculations out to be directly on the
StringView users. This is an important step towards the goal of removing
StringView(char const*), as it moves the responsibility of calculating
the size of the string to the user of the StringView (which will prevent
naive uses causing OOB access).
2022-07-12 23:11:35 +02:00
..
LibArchive Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibAudio LibAudio: Add spec comments to the FlacLoader 2022-06-23 23:16:34 +01:00
LibC Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibCards LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
LibChess LibChess: Add convenience constructor for Chess::Square 2022-07-12 23:11:35 +02:00
LibCodeComprehension LibCodeComprehension: Re-organize code comprehension related code 2022-05-21 18:15:58 +02:00
LibCompress LibCompress: Write Deflate window size in the Zlib header 2022-07-10 13:52:18 +03:00
LibConfig LibConfig+ConfigServer: Write config values synchronously 2022-04-26 22:51:49 +02:00
LibCore Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibCoredump Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibCpp LibCpp: Support "FIXME" for comments 2022-06-14 19:07:00 +01:00
LibCrypt Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibCrypto Meta+Userland: Simplify some formatters 2022-07-12 23:11:35 +02:00
LibDebug LibDebug: Make sure current_breakpoint has value before usage 2022-07-03 21:54:46 +00:00
LibDesktop LibCore: Return ErrorOr<pid_t> and support arguments in Process::spawn 2022-05-25 23:14:22 +01:00
LibDeviceTree Libraries: Add LibDeviceTree for manipulating OpenFirmware Device Trees 2021-10-21 19:20:03 -07:00
LibDiff Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibDl Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibDNS LibDNS: Remove the 'DNS' prefix from the various type and class names 2022-04-15 16:34:26 +01:00
LibDSP LibDSP: Fix keyboard glitch in Classic 2022-05-26 10:24:43 +01:00
LibEDID Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibELF Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibFileSystemAccessClient FileSystemAccessServer: Call window stealing functions sync 2022-06-30 11:15:24 +01:00
LibGemini AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice() 2022-06-13 15:38:51 +01:00
LibGfx Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibGL LibGL: Add ability to retrieve current clear values from GLContext 2022-06-13 21:45:27 +01:00
LibGPU LibGPU: Do not load LibSoftGPU via symlink inside Serenity 2022-06-13 21:45:27 +01:00
LibGUI Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibHTTP LibHTTP: Include JsonObject.h in Job.cpp 2022-07-04 21:46:02 +02:00
LibImageDecoderClient Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer 2022-02-25 22:35:12 +01:00
LibIMAP LibIMAP: Properly escape the whole string instead of the first character 2022-07-06 11:12:45 +02:00
LibIPC Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibJS Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibKeyboard Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibLine Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibM LibM: Implement fma 2022-07-08 22:27:38 +00:00
LibMain Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibMarkdown LibMarkdown: Add strike-through text support to markdown 2022-04-28 22:15:08 +02:00
LibPCIDB Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibPDF Meta+Userland: Simplify some formatters 2022-07-12 23:11:35 +02:00
LibProtocol LibCore+Everywhere: Make Core::Stream::read() return Bytes 2022-04-16 13:27:51 -04:00
LibPthread LibPthread: Set errno in sem_trywait() 2022-06-12 00:28:26 +01:00
LibRegex Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibSanitizer Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibSoftGPU Everywhere: Fix a bunch of typos 2022-05-29 15:22:00 +02:00
LibSQL AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice() 2022-06-13 15:38:51 +01:00
LibSymbolication Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibSyntax Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibTextCodec Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibThreading Libraries: Use default constructors/destructors in LibThreading 2022-03-13 22:34:38 +01:00
LibTimeZone Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibTLS AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice() 2022-06-13 15:38:51 +01:00
LibUnicode LibUnicode: Parse and generate per-locale plural ranges 2022-07-12 00:43:34 +01:00
LibUSBDB Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibVideo Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibVT LibVT+Kernel: Separate the caret shapes and its steadiness 2022-06-22 12:12:00 +01:00
LibWasm LibWasm: Simplify the return instruction execution code a bit 2022-04-22 21:12:47 +04:30
LibWeb Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
LibWebSocket LibCore+Everywhere: Make Core::Stream read_line() return StringView 2022-04-16 13:27:51 -04:00
LibWebView Browser+LibWeb+WebContent: Allow Browser to load local files 2022-06-27 20:22:15 +01:00
LibX86 LibX86: Convert register names to StringViews 2022-07-12 23:11:35 +02:00
LibXML LibXML: Fail gracefully on integer overflow in character references 2022-07-10 22:29:11 +03:00
CMakeLists.txt LibCodeComprehension: Re-organize code comprehension related code 2022-05-21 18:15:58 +02:00