Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-02-15 | LibIPC+IPCCompiler: Add IPC::Decoder, let classes decode themselves | Andreas Kling | |
This shaves ~5 seconds off of a full build, not too bad. Also it just seems nicer to push this logic out to classes. It could be better but it's a start. :^) | |||
2020-02-15 | LibGfx: Remove unused Bitmap::load_from_file() for loading raw RGBA | Andreas Kling | |
This was not used anywhere but added unnecessary members to Bitmap. | |||
2020-02-15 | LibGfx: Reduce header dependencies of Bitmap and Font | Andreas Kling | |
2020-02-15 | LibGfx: Move a bunch of LogStream::operator<< to cpp files | Andreas Kling | |
2020-02-15 | LibGfx: Remove Utf8View.h dependency from Font.h | Andreas Kling | |
2020-02-14 | LibGUI: Remove some header dependencies from Widget.h | Andreas Kling | |
2020-02-14 | LibGfx: More work on header dependency reduction | Andreas Kling | |
2020-02-14 | LibGfx: Add forward declaration header | Andreas Kling | |
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx. | |||
2020-02-14 | AK: Add a forward declaration header | Andreas Kling | |
You can now #include <AK/Forward.h> to get most of the AK types as forward declarations. Header dependency explosion is one of the main contributors to compile times at the moment, so this is a step towards smaller include graphs. | |||
2020-02-11 | LibGfx: Add Rect::operator!=(Rect) | Andreas Kling | |
2020-02-11 | LibGfx: Assert that an empty bitmap is not created | Shannon Booth | |
2020-02-08 | LibGfx: Naive RGB/HSV conversion | Andreas Kling | |
2020-02-06 | LibCore: Remove leading C from filenames | Andreas Kling | |
2020-02-06 | LibGfx: Unpublish FloatPoint from the global namespace | Andreas Kling | |
2020-02-06 | LibGfx: Unpublish FloatSize from the global namespace | Andreas Kling | |
2020-02-06 | LibGfx: Unpublish FloatRect from the global namespace | Andreas Kling | |