1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries
Nico Weber f882a3ae37 LibPDF: In ColorSpace creation code, use resolve_to() more
For valid PDFs, this makes no difference.

For invalid PDFs, we now assert during the cast in resolve_to() instead
of returning a PDFError. However, most PDFs are valid, and even for
invalid PDFs, we'd previously keep the old color space around when
getting the PDF error and then usually assert later when the old
color space got passed a color with an unexpected number of components
(since the components were for the new color space).

Doesn't affect any of the > 2000 PDFs I use for testing locally,
is less code, and should make for less surprising asserts when it
does happen.
2023-11-13 10:29:26 -05:00
..
LibAccelGfx LibAccelGfx+LibWeb: Use framebuffer object instead of EGLs PBuffer 2023-11-11 22:19:43 +01:00
LibArchive AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibAudio LibAudio: Ensure that Serenity playback streams are always stereo 2023-11-12 07:57:03 +01:00
LibC Userland+Tests: Add initial riscv64 support 2023-11-10 10:30:08 -07:00
LibCards GamesSettings+LibCards: Make 'Red' the default card back 2023-10-15 07:25:20 +02:00
LibChess AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibCMake LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
LibCodeComprehension AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibCompress LibCompress/LZW: Use its own debug flag 2023-11-12 13:56:27 +01:00
LibConfig Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
LibCore AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibCoredump Userland+Tests: Add initial riscv64 support 2023-11-10 10:30:08 -07:00
LibCpp AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
LibCrypt Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
LibCrypto LibCrypto: Add SECP384r1 implementation 2023-11-11 14:40:10 +03:30
LibDebug Userland+Tests: Add initial riscv64 support 2023-11-10 10:30:08 -07:00
LibDesktop AppFile: Add helpers for dealing with AppFile paths 2023-11-09 23:35:52 +01:00
LibDeviceTree Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibDNS AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibDSP Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
LibEDID LibC+Kernel: Move GPU-related API methods to a LibC header file 2023-09-15 11:05:25 -06:00
LibELF Userland+Tests: Add initial riscv64 support 2023-11-10 10:30:08 -07:00
LibFileSystem LibFileSystem: Replace PATH_MAX usage with heap allocation 2023-09-06 07:14:35 -06:00
LibFileSystemAccessClient AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
LibGemini AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
LibGfx LibGfx/TIFF: Add support for LZW compression 2023-11-12 13:56:27 +01:00
LibGL LibGL: Optimize appends in gl_vertex 2023-10-15 12:14:07 +02:00
LibGLSL LibGLSL: Add tests for GLSL parser 2023-08-18 15:29:48 +02:00
LibGPU LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
LibGUI Taskbar+WindowServer: Adding to Quick Launch via windows :^) 2023-11-09 23:35:52 +01:00
LibHTTP LibHTTP: Fix issues with HTTP POST request and requests with a body 2023-10-31 07:09:26 +01:00
LibIDL LibIDL: Require the 'attribute' keyword when parsing attributes 2023-11-11 08:52:50 +01:00
LibImageDecoderClient Ladybird: Decode images out of process 2023-10-27 07:26:32 +02:00
LibIMAP LibIMAP: Make parsing of atom data fallible 2023-11-08 09:36:37 +01:00
LibIPC Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
LibJIT LibJS/JIT: Expand Mul fast path to double & i32 combinations 2023-11-10 11:01:59 +01:00
LibJS LibJS/JIT: Remove incorrect check for empty tag 2023-11-13 14:28:27 +01:00
LibKeyboard Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
LibLine LibLine: Capture the current origin immediately after ^C 2023-11-12 13:55:20 +01:00
LibLocale LibLocale: Remove compact currency patterns 2023-09-04 18:22:28 +02:00
LibMain
LibManual AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibMarkdown LibMarkdown: Render slugified anchor tag in heading 2023-10-30 10:39:59 +00:00
LibPartition Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
LibPCIDB LibCore: Make MappedFile OwnPtr-based 2023-09-27 03:22:56 +02:00
LibPDF LibPDF: In ColorSpace creation code, use resolve_to() more 2023-11-13 10:29:26 -05:00
LibProtocol Ladybird: Add WebSocket server for use by Lagom networking 2023-08-03 09:55:20 +02:00
LibRegex LibRegex: Support non-ASCII case-insensitive character comparisons 2023-11-08 12:54:26 -05:00
LibSanitizer LibSanitizer: Add _abort variants of UBSan handlers 2023-08-13 05:14:07 +02:00
LibSoftGPU LibSoftGPU: Optimize GPU::Vertex lists 2023-10-15 12:14:07 +02:00
LibSQL AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
LibSymbolication LibCore: Make MappedFile OwnPtr-based 2023-09-27 03:22:56 +02:00
LibSyntax AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibSystem Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
LibTest LibTest: Bump up MAX_GEN_ATTEMPTS_PER_VALUE to 30 2023-11-06 11:35:36 +01:00
LibTextCodec LibTextCodec: Add "get output encoding" from the Encoding specification 2023-06-19 06:12:26 +02:00
LibThreading LibThreading: Make Thread keep itself alive while its action is running 2023-08-07 10:40:34 -06:00
LibTimeZone LibCore+LibTimeZone: Support time zone names in Core::DateTime::parse 2023-11-08 09:28:17 +01:00
LibTLS LibTLS: Add support for SECP384r1 2023-11-11 14:40:10 +03:30
LibUnicode LibUnicode: Define case-insensitive string comparison more generically 2023-11-08 12:54:26 -05:00
LibUSBDB LibCore: Make MappedFile OwnPtr-based 2023-09-27 03:22:56 +02:00
LibVideo AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibVirtGPU LibGL+Lib*GPU: Set model view and projection matrices separately 2023-10-15 12:14:07 +02:00
LibVT Kernel+Userland: Replace the beep syscall with the new /dev/beep device 2023-11-03 15:19:33 +01:00
LibWasm AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
LibWeb LibWeb: Remove redundant flush() call in PaintingCommandExecutorGPU 2023-11-12 20:21:07 +01:00
LibWebSocket LibWebSocket: Adds capability for receiving fragmented messages 2023-09-09 10:59:59 -06:00
LibWebView LibWebView+WebContent: Add an IPC hook to insert data into the clipboard 2023-11-11 08:54:37 +01:00
LibX86 LibX86: Support decoding F2 SSE instructions 2023-11-10 11:01:59 +01:00
LibXML LibXML: Set parents for text and comment nodes 2023-08-18 08:58:51 +03:30
CMakeLists.txt LibAccelGfx+Meta: Introduce OpenGL painting library 2023-10-29 17:13:23 +01:00