ladybird/Libraries/LibGfx
Ben Wiederhake aec8983819 LibGfx: Accept BMP RLE of 255 repeated bytes
Previously, in the case of RLE4, parsing took suspiciously long.
What happened was that 'pixel_count' was 255, and 'i' was incremented
by *two* in each iteration, so the for-loop continued until the
entire output buffer was full, and then rejected the RLE data
as bogus.

This little diff allows pixel_count to reach 256, be greater than
pixel_count, and thus terminate the loop in the intended way.
2020-12-02 22:51:05 +01:00
..
Filters LibGfx+PixelPaint: Fix distortions in convolutions with size != 4 or 5 2020-10-12 20:04:48 +02:00
AffineTransform.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
AffineTransform.h LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Bitmap.cpp LibGfx: Make Bitmap path handling case insensitive 2020-11-14 10:11:26 +01:00
Bitmap.h LibGfx: Mark static method as static 2020-12-02 10:46:40 +01:00
BMPLoader.cpp LibGfx: Accept BMP RLE of 255 repeated bytes 2020-12-02 22:51:05 +01:00
BMPLoader.h Lagom: Make BMP fuzzer look like the other image loader fuzzers 2020-11-26 09:59:46 +01:00
BMPWriter.cpp LibGfx: Add BMPWriter 2020-11-22 16:07:00 +01:00
BMPWriter.h LibGfx: Add BMPWriter 2020-11-22 16:07:00 +01:00
CharacterBitmap.cpp LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
CharacterBitmap.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ClassicStylePainter.cpp LibGfx: Filled checked toolbar buttons with a dither pattern 2020-10-23 11:37:35 +02:00
ClassicStylePainter.h LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
ClassicWindowTheme.cpp LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00
ClassicWindowTheme.h LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00
CMakeLists.txt LibGfx: Add BMPWriter 2020-11-22 16:07:00 +01:00
Color.cpp LibGfx: Make Color formattable 2020-10-26 18:55:36 +01:00
Color.h LibGfx: Use gamma-corrected interpolation for color gradients 2020-11-19 21:24:20 +01:00
DisjointRectSet.cpp LibGfx: Small improvement for DisjointRectSet::shatter 2020-08-19 11:20:27 +02:00
DisjointRectSet.h LibGfx: Add a few convenience methods to DisjointRectSet 2020-08-18 12:12:27 +02:00
Emoji.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Emoji.h Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Font.cpp LibGfx: Don't leak malloc memory in cloned fonts 2020-11-15 11:35:07 +01:00
Font.h LibGfx: Don't leak malloc memory in cloned fonts 2020-11-15 11:35:07 +01:00
FontDatabase.cpp LibGfx: Remove debug spam about successful font lookups 2020-11-07 14:23:31 +01:00
FontDatabase.h LibGfx: Move FontDatabase from LibGUI to LibGfx 2020-10-31 13:56:21 +01:00
Forward.h LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Gamma.h LibGfx: gamma_to_linear4 is not a valid constexpr on clang 10 and below 2020-11-29 20:22:56 +01:00
GIFLoader.cpp LibGfx: Don't assert on files ending right before lzw_min_code_size 2020-11-29 20:21:30 +01:00
GIFLoader.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ICOLoader.cpp LibGfx+ICOLoader: Use InputMemoryStream instead of BufferStream. 2020-09-21 09:37:49 +02:00
ICOLoader.h LibGfx: Initial support for ICO image files. 2020-06-21 17:41:52 +02:00
ImageDecoder.cpp LibGfx: Add PGM image file type support 2020-06-27 13:01:27 +02:00
ImageDecoder.h LibGfx: Don't keep an unused GIF decoder plugin in failed ImageDecoders 2020-06-13 15:29:29 +02:00
JPGLoader.cpp JPGLoader: Use HashMap to store huffman tables 2020-11-30 11:37:51 +01:00
JPGLoader.h JPGLoader: Move JPGLoader internal structs and #defines to JPGLoader.cpp 2020-06-23 13:51:19 +02:00
Matrix.h LibGfx: Add a generic Matrix variant 2020-07-25 02:13:43 +02:00
Matrix4x4.h LibGfx: Add a generic Matrix variant 2020-07-25 02:13:43 +02:00
Orientation.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Painter.cpp LibGfx: Use gamma-corrected interpolation for color gradients 2020-11-19 21:24:20 +01:00
Painter.h LibGUI+LibGfx+WindowServer: Auto-generate disabled action icons :^) 2020-10-27 21:25:40 +01:00
Palette.cpp AK: Add trivial structure validation to SharedBuffer 2020-10-02 15:38:07 +02:00
Palette.h LibGfx: Add colors for highlight-searching to palette and themes 2020-10-22 15:23:45 +02:00
Path.cpp LibGfx: Add ability to get a bounding box from a Path 2020-10-10 23:28:41 +02:00
Path.h LibGfx: Add ability to get a bounding box from a Path 2020-10-10 23:28:41 +02:00
PBMLoader.cpp AK: Add Endian.h header to replace NetworkOrdered.h. 2020-08-25 16:22:14 +02:00
PBMLoader.h LibGfx: Add PBM image file type support 2020-06-21 16:42:46 +02:00
PGMLoader.cpp AK: Add Endian.h header to replace NetworkOrdered.h. 2020-08-25 16:22:14 +02:00
PGMLoader.h LibGfx: Add PGM image file type support 2020-06-27 13:01:27 +02:00
PNGLoader.cpp LibGfx: Validate bit depths, and don't assert on invalid color type 2020-11-29 21:28:44 +01:00
PNGLoader.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Point.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Point.h LibGfx: Add a 'Point::absolute_relative_distance_to(Point)' 2020-11-30 12:07:45 +01:00
PPMLoader.cpp LibGfx: Put PPM logs behind (default-off) PPM_DEBUG 2020-11-19 14:04:35 +01:00
PPMLoader.h LibGfx: Add PPM image file type support 2020-06-22 18:11:22 +02:00
Rect.cpp LibGfx: Add TextAlignment::BottomRight 2020-08-23 01:05:22 +02:00
Rect.h LibGfx: Add overloads to Rect's shrink/inflate that accept a Size<T> 2020-10-12 20:04:48 +02:00
ShareableBitmap.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
ShareableBitmap.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Size.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Size.h LibGfx: Add Size::contains 2020-10-12 20:04:48 +02:00
StandardCursor.h WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursor 2020-11-02 20:58:07 +01:00
StylePainter.cpp LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
StylePainter.h LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
SystemTheme.cpp AK: Add trivial structure validation to SharedBuffer 2020-10-02 15:38:07 +02:00
SystemTheme.h LibGUI+LibGfx+Base: Make tooltips color theme aware :^) 2020-10-23 12:01:14 +02:00
TextAlignment.h LibGfx: Add a helper to check if a TextAlignment is vertically centered 2020-09-19 19:16:22 +02:00
TextElision.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Triangle.cpp LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
Triangle.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Vector3.h LibGfx+PixelPaint: Fix distortions in convolutions with size != 4 or 5 2020-10-12 20:04:48 +02:00
WindowTheme.cpp LibGfx: Correct copyright years for {Classic,}WindowTheme.{cpp,h} 2020-08-10 21:20:28 +02:00
WindowTheme.h LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00