1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00
serenity/Userland/Libraries
Lenny Maiorani f2336d0144 AK+Everywhere: Move custom deleter capability to OwnPtr
`OwnPtrWithCustomDeleter` was a decorator which provided the ability
to add a custom deleter to `OwnPtr` by wrapping and taking the deleter
as a run-time argument to the constructor. This solution means that no
additional space is needed for the `OwnPtr` because it doesn't need to
store a pointer to the deleter, but comes at the cost of having an
extra type that stores a pointer for every instance.

This logic is moved directly into `OwnPtr` by adding a template
argument that is defaulted to the default deleter for the type. This
means that the type itself stores the pointer to the deleter instead
of every instance and adds some type safety by encoding the deleter in
the type itself instead of taking a run-time argument.
2022-12-17 16:00:08 -05:00
..
LibArchive LibArchive: Do some error propagation while packing tar files 2022-12-14 15:20:37 +00:00
LibAudio LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
LibC Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve 2022-12-11 19:55:37 -07:00
LibCards Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
LibChess Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibCodeComprehension Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibCompress LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
LibConfig AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibCore AK+Everywhere: Move custom deleter capability to OwnPtr 2022-12-17 16:00:08 -05:00
LibCoredump LibCompress: Port GzipDecompressor to Core::Stream 2022-12-10 12:05:55 +00:00
LibCpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibCrypt AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibCrypto Everywhere: Stop shoving things into ::std and mentioning them as such 2022-12-14 11:44:32 +01:00
LibDebug Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibDesktop Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibDeviceTree AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibDiff Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibDNS Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibDSP Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
LibEDID Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
LibELF DynamicLoader: Annotate all loaded library ranges as immutable 2022-12-16 01:02:00 -07:00
LibFileSystemAccessClient LibFileSystemAccessClient: Add save_file() 2022-12-14 18:26:25 +00:00
LibGemini LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibGfx LibGfx+Userland: Make Gfx::SystemTheme propagate errors 2022-12-14 18:25:28 +00:00
LibGL LibGL: Generate GL_OUT_OF_MEMORY error in glBufferData when OOM 2022-12-07 11:46:37 +01:00
LibGPU Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
LibGUI LibGUI: Prevent key_down event from bubbling for Key_Up and Key_Down 2022-12-16 10:14:20 +00:00
LibHTTP LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
LibIDL LibIDL: Use Core::Stream to read imports 2022-12-14 15:19:35 +00:00
LibImageDecoderClient Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
LibIMAP Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibIPC LibIPC: Only run responsiveness timer when there is an event loop 2022-12-15 00:21:00 -07:00
LibJS LibJS: Convert get_this_environment() to NonnullGCPtr 2022-12-16 09:59:56 +01:00
LibKeyboard Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibLine LibLine: Convert strings to time_t using signed conversion methods 2022-12-16 10:06:26 +01:00
LibLocale Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibMain Everywhere: Explicitly link all binaries against the LibC target 2022-11-01 14:49:09 +00:00
LibManual Help+LibManual: Without arguments, open index page instead of crashing 2022-12-12 00:37:29 -07:00
LibMarkdown LibMarkdown: Prevent a crash when rendering code blocks to console 2022-12-15 16:30:21 +00:00
LibPartition Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
LibPCIDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibPDF LibPDF: Store page number, not Value, in OutlineItem 2022-12-17 19:40:52 +01:00
LibProtocol AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibRegex Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
LibSanitizer LibC: Properly implement stack protectors 2022-11-01 14:49:09 +00:00
LibSoftGPU Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
LibSQL LibSQL: Convert string values to a double in a locale-independent manner 2022-12-14 15:04:36 +00:00
LibSymbolication Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibSyntax AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibTextCodec Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibThreading LibThreading+Everywhere: Support returning error from BackgroundAction 2022-12-15 17:36:57 +00:00
LibTimeZone AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibTLS LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibUnicode LibUnicode: Fix compilation when the UCD download is disabled 2022-12-14 15:24:48 +00:00
LibUSBDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibVideo Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibVT Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
LibWasm Meta+CMake: Extract Wasm spec tests into the binary directory 2022-12-14 20:29:43 +03:30
LibWeb LibWeb: Improve variable name in HTMLTableElement 2022-12-17 18:35:32 +01:00
LibWebSocket LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibWebView Browser: Go back/forward when pressing back/forward mouse buttons 2022-12-12 15:00:08 +00:00
LibX86 LibX86: Only pass ProcessorMode to Instruction constructor 2022-12-11 22:06:30 +01:00
LibXML Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CMakeLists.txt Help+LibManual: Move non-UI-specific manual handling to LibManual 2022-12-11 16:05:23 +00:00