Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-29 | LibGfx: Add Color::to_string_without_alpha() | Andreas Kling | |
This simply returns an "#rrggbb" string and ignores the alpha value. | |||
2020-04-26 | LibGfx: PNGLoader support for grayscale images with alpha. | LepkoQQ | |
2020-04-26 | LibGfx: PNGLoader support for grayscale images with 8/16bpp. | LepkoQQ | |
2020-04-26 | LibGUI: Create thumnail for gif files | Hüseyin ASLITÜRK | |
2020-04-25 | LibGfx: Fix crash on decoding small gifs | Peter Nelson | |
The LZW decode step will now copy and pad LZW data out to 4 bytes if there are less than 4 bytes remaining in the buffer. This means it will now also work when the total size of the LZW image data is less than 4 bytes. | |||
2020-04-25 | LibGfx: Don't proceed with GIF format sniffing if stream read fails | Andreas Kling | |
2020-04-25 | LibGfx: Remove unnecessary casts | Peter Nelson | |
2020-04-25 | LibGfx: Minor changes to adhere to code style guidelines | Peter Nelson | |
2020-04-25 | LibGfx: Remove debug output | Peter Nelson | |
2020-04-25 | LibGfx: Use content sniffing to choose which ImageDecoder plugin to use | Peter Nelson | |
2020-04-25 | LibGfx: Add a sniff method to ImageDecoder and implement for GIF and PNG | Peter Nelson | |
The sniff method is intended to be used for content sniffing. It should be a cheap test to rapidly rule out whether a candidate image can be successfully decoded. For the GIF and PNG implementations it simply attempts to decode the image header, returning true if successful and false if not. | |||
2020-04-25 | LibGfx: Extract GIF header decoding into separate function | Peter Nelson | |
2020-04-25 | LibGfx: implement remaining GIFImageDecoderPlugin methods | Peter Nelson | |
2020-04-25 | LibGfx: decode first frame of GIF LZW data | Peter Nelson | |
Also: - Define the GIFLoadingContext structure. - The load_gif_impl function now returns load operation success, and takes a reference to a GIFLoadingContext as input. - Implement GIFImageDecoderPlugin::bitmap which calls onto load_gif_impl. | |||
2020-04-25 | LibGfx: Implement GIF LZW decoding | Peter Nelson | |
Add an LZWDecoder class that can decode GIF LZW data. | |||
2020-04-23 | WindowServer+LibGfx: Make window borders 1px thicker | Andreas Kling | |
2020-04-19 | LibGfx: Let the PNG decoder fail if the header is missing or too short | Andreas Kling | |
2020-04-18 | LibGfx: Fix draw_triangle() clipping calculations | Stephan Unverwerth | |
2020-04-18 | LibGfx: Add Vector3 and Matrix4x4 classes | Stephan Unverwerth | |
This adds two templated 3D math classes. They have already been typedf'd as FloatVector3, DoubleVector3, FloatMatrix4x4 and DoubleMatrix4x4 | |||
2020-04-18 | LibGfx: Add draw_triangle() for drawing filled triangles | Stephan Unverwerth | |
2020-04-16 | LibGfx: Add FloatPoint::to_int_point() | Andreas Kling | |
2020-04-16 | LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics | Andreas Kling | |
This will be used to implement painting of 2D paths. This first patch adds support for line_to(), move_to() and close(). It will try to have the same semantics as the HTML <canvas> element. To stroke a Path, simply pass it to Painter::stroke_path(). | |||
2020-04-15 | LibGfx: Use Checked::multiplication_would_overflow() | Andreas Kling | |
2020-04-15 | LibGfx: Use Checked<T> when creating new bitmaps | Andreas Kling | |
2020-04-15 | LibGfx: Don't allow creating bitmaps whose sizes would overflow | Andreas Kling | |
If the area or size_in_bytes calculation for a Gfx::Bitmap would overflow, we now refuse to create such a bitmap and return nullptr. Thanks to @itamar8910 for finding this! :^) | |||
2020-04-12 | LibGfx: Add a basic AffineTransform class | Andreas Kling | |
We can now perform some basic 2D transforms through an affine matrix. This patch adds translate() and scale() :^) | |||
2020-04-12 | LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies | Andreas Kling | |
2020-04-12 | LibGfx: Add Bitmap::rotated and Bitmap::flipped | Hüseyin ASLITÜRK | |
2020-04-06 | Meta: Add missing copyright headers | Andreas Kling | |
2020-04-05 | LibGfx: Implement checkerboard drawing for Gfx::Painter | Tibor Nagy | |
2020-03-30 | LibGfx: Add Painter::blit_filtered() and blit_brightened() | Andreas Kling | |
blit_filtered() can be used to easily implement per-pixel filtered blit functions. All you need to do is provide a callback that can compute the Color for each pixel based on the original Color. | |||
2020-03-30 | LibGfx: Support vertical gradient fill (not just horizontal) :^) | Andreas Kling | |
2020-03-29 | LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage | Andreas Kling | |
With this patch, it's now possible to pass a Gfx::ShareableBitmap in an IPC message. As long as the message itself is synchronous, the bitmap will be adopted by the receiving end, and disowned by the sender nicely without any accounting effort like we've had to do in the past. Use this in NotificationServer to allow sending arbitrary bitmaps as icons instead of paths-to-icons. | |||
2020-03-29 | LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers | Andreas Kling | |
Instead of passing the BufferStream, pass the Decoder. I'd like to stop using BufferStream eventually anyway, so it's good to get it out of any API's where it's in currently. | |||
2020-03-21 | LibGfx: Parse "rgb(r,g,b)" style color strings | Andreas Kling | |
This parser is not very lenient, but it does the basic job. :^) | |||
2020-03-16 | LibGUI: Use themes for syntax highlighting | Oriko | |
2020-03-11 | LibGfx: Do not assert on failed font file loads | Tibor Nagy | |
Return a nullptr to signal an error instead. | |||
2020-03-08 | Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller | Andreas Kling | |
2020-02-28 | Kernel+LibC: Rename shared buffer syscalls to use a prefix | Andreas Kling | |
This feels a lot more consistent and Unixy: create_shared_buffer() => shbuf_create() share_buffer_with() => shbuf_allow_pid() share_buffer_globally() => shbuf_allow_all() get_shared_buffer() => shbuf_get() release_shared_buffer() => shbuf_release() seal_shared_buffer() => shbuf_seal() get_shared_buffer_size() => shbuf_get_size() Also, "shared_buffer_id" is shortened to "shbuf_id" all around. | |||
2020-02-25 | LibGfx: SystemTheme is a struct, not a class | joshua stein | |
SystemTheme.h:81:1: error: 'SystemTheme' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI | |||
2020-02-25 | AK: Make Vector use size_t for its size and capacity | Andreas Kling | |
2020-02-25 | AK, LibGfx, LibGUI: Initialize various variables to zero. | Emanuel Sprung | |
The not initialized variables can lead to compiler warnings that become errors with the -Werror flag. | |||
2020-02-23 | LibGfx: Fix accidentally hardcoded font height in Font::clone() | Tibor Nagy | |
2020-02-23 | LibGfx: Add a way to construct an empty Font with arbitrary metrics | Andreas Kling | |
2020-02-20 | LibGfx+LibGUI: Allow theming the focus outline of AbstractButton | Tibor Nagy | |
2020-02-20 | LibGfx+LibGUI: Allow theming the text cursor | Tibor Nagy | |
2020-02-19 | LibGfx: Add ColorRoles for rulers | Tibor Nagy | |
2020-02-16 | LibGUI: Add forwarding header | Andreas Kling | |
This patch adds <LibGUI/Forward.h> and uses it a bunch. It also dragged various header dependency reduction changes into it. | |||
2020-02-16 | LibGfx: Reduce header dependencies of StylePainter | Andreas Kling | |
2020-02-15 | LibGfx: Add inactive selection colors | Tibor Nagy | |