ladybird/Libraries
Jelle Raaijmakers 1aeb080250 LibCompress: Treat LZW decoding errors as end of stream
The LZW data for both GIF and TIFF images is sometimes intentionally
missing an end-of-information (EOI) code, which technically is a
decoding error, but in practive is handled gracefully by Firefox, Safari
and Chrome for GIFs and Safari for TIFFs. Let's mirror their behavior.

The included WPT test exposes the fact that trailing garbage bytes can
also result in decoding errors. We handle this in the LZW logic rather
than in the image decoding since our LZW implementation is currently
only used by GIF and TIFF decoding. The error is logged behind the
LZW_DEBUG flag.
2026-04-29 20:28:15 +02:00
..
LibCompress LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
LibCore LibDNS: Run getaddrinfo on a thread pool to avoid event-loop freezes 2026-04-26 17:59:52 +02:00
LibCrypto Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibDatabase Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibDevTools AK+Everywhere: Add and use weak_callback() 2026-02-26 08:03:50 -05:00
LibDiff CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
LibDNS LibDNS: Run getaddrinfo on a thread pool to avoid event-loop freezes 2026-04-26 17:59:52 +02:00
LibFileSystem LibFileSystem: Preserve copy flags when recursing into directories 2026-04-13 12:00:52 +02:00
LibGC Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibGfx AK: Remove unused #includes from BitStream.h 2026-04-29 20:28:15 +02:00
LibHTTP LibHTTP: Short-circuit CacheIndex eviction when under its size limit 2026-04-19 01:31:37 +02:00
LibIDL LibIDL: Allow quoted-string defaults with whitespace in IDL parameters 2026-04-25 17:06:28 +02:00
LibImageDecoderClient LibImageDecoderClient: Remove sync id fetch from async decode request 2026-02-28 00:04:06 -06:00
LibIPC LibIPC: Dont VERIFY when encoding placeholder TransportHandles 2026-04-29 01:07:11 +02:00
LibJS LibJS: Fast path Array.prototype.indexOf on packed arrays 2026-04-27 08:39:37 +02:00
LibLine LibCore: Remove unused header in EventLoop 2026-02-21 19:27:35 +01:00
LibMain AK: Expose helpers to invoke Windows runtime config directly in main() 2025-10-29 21:07:52 -06:00
LibMedia LibMedia+LibWeb: Add an initial Starting state to PlaybackManager 2026-04-21 19:11:24 -05:00
LibRegex LibRegex: Inline \w and \d ranges in legacy positive char classes 2026-04-21 16:36:38 +02:00
LibRequests RequestServer: Use correct request map for stale-while-revalidate cookie 2026-04-13 19:43:13 -04:00
LibSyntax LibSyntax: Include RefCounted in Document.h 2026-01-23 09:20:15 +01:00
LibTest LibTest: Make the testrunner show a nice progress bar test-web-style 2026-04-23 18:48:56 +02:00
LibTextCodec LibTextCodec: Add streaming decoder 2026-04-29 04:12:44 +02:00
LibThreading Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibTLS Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibUnicode Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibURL LibURL+LibWeb+LibWebView: Convert about:version to a proper WebUI 2026-04-21 06:59:11 -04:00
LibWasm Everywhere: Use AK::SaturatingMath and remove Checked saturating APIs 2026-03-21 18:20:09 -05:00
LibWeb Meta: Replace GenerateAriaRoles with a python generator 2026-04-29 17:28:09 +01:00
LibWebSocket LibWebSocket: Fix close frame status code written in wrong byte order 2026-03-13 17:28:06 +01:00
LibWebView RequestServer: Add diagnostic wire-activity logging 2026-04-26 17:59:52 +02:00
LibXML Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
CMakeLists.txt Meta: Move library subdirectory inclusion to the Libraries CMakeLists 2026-03-29 13:59:11 -06:00
RustAllocator.rs Rust: Add a config file for rustfmt 2026-04-18 08:05:47 -04:00