Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-21 | PixelPaint: Refactor falloff computation and extend hardness range | r00ster91 | |
2021-12-12 | Userland: Use File::lines() range-based for loop where appropriate | Sahan Fernando | |
2021-11-28 | Everywhere: Use default execpromises argument for Core::System::pledge | Brian Gianforcaro | |
2021-11-27 | PixelPaint: Keep a RefPtr to offset_text_box in EditGuideDialog | Marcus Nilsson | |
Keep a RefPtr to offset_text_box in EditGuideDialog instead of using a local pointer. Previously the lambda in ok_button.on_click() would outlive the local variable causing a crash. | |||
2021-11-23 | LibCore+AK: Move MappedFile from AK to LibCore | Andreas Kling | |
MappedFile is strictly a userspace thing, so it doesn't belong in AK (which is supposed to be user/kernel agnostic.) | |||
2021-11-23 | LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore | Andreas Kling | |
With this change, System::foo() becomes Core::System::foo(). Since LibCore builds on other systems than SerenityOS, we now have to make sure that wrappers work with just a standard C library underneath. | |||
2021-11-22 | Everywhere: Use Application::construct() with Main::Arguments directly | Mustafa Quraish | |
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`. | |||
2021-11-22 | Everywhere: Use ArgsParser::parse() with Main::Arguments directly | Mustafa Quraish | |
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`. | |||
2021-11-22 | PixelPaint: Port to LibMain | Pascal Puffke | |
2021-11-22 | PixelPaint: Use better-fitting image size | Ben Wiederhake | |
This makes the default image fit perfectly into the default viewport, which means the first fit_image_to_view call will end up with a scale of exactly 1. This scale level has no visual artifacts, which is the more intuitive 'default' behavior. Fixes #10975. | |||
2021-11-22 | PixelPaint: Add interactive zoom ComboBox to toolbar | Ben Wiederhake | |
Before, there was nothing that tells the user the current zoom level, which is unknown after a 'fit to image' (the initial state). | |||
2021-11-22 | PixelPaint: Add ability to fit to either width, height, or image | Ben Wiederhake | |
2021-11-22 | PixelPaint: Allow setting ImageEditor scale and listening for changes | Ben Wiederhake | |
2021-11-22 | PixelPaint: Floor effective viewport size to whole integers | Ben Wiederhake | |
We don't have fractional pixels available, so don't attempt to use them. | |||
2021-11-21 | LibGUI+Everywhere: Make sync requests to Clipboard server more obvious | Ben Wiederhake | |
2021-11-21 | LibGUI: Make clipboard-as-bitmap parsing less data-race-y | Ben Wiederhake | |
This encourages the caller to first fetch data and type atomically, and then parse that, instead of potentially making multiple requests. | |||
2021-11-20 | PixelPaint: Allow toggling the active layer boundary display rect | Andreas Kling | |
Let the user opt out of painting a rectangle around the currently active layer. | |||
2021-11-17 | AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) | Andreas Kling | |
Also add slightly richer parse errors now that we can include a string literal with returned errors. This will allow us to use TRY() when working with JSON data. | |||
2021-11-11 | Everywhere: Pass AK::StringView by value | Andreas Kling | |
2021-11-08 | PixelPaint: Use ErrorOr<T> for Image and Layer creation helpers | Andreas Kling | |
2021-11-08 | PixelPaint: Use ErrorOr<T> for Image::try_compose_bitmap() | Andreas Kling | |
2021-11-08 | PixelPaint: Use ErrorOr<T> for Image writing/exporting functions | Andreas Kling | |
2021-11-08 | LibCore: Use ErrorOr<T> for Core::File::open() | Andreas Kling | |
2021-11-08 | AK: Use ErrorOr<T> for MappedFile factories | Andreas Kling | |
Replace Result<T, E> with ErrorOr<T> and propagate the error to callers. | |||
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::try_create() | Andreas Kling | |
Another one that was used in a fajillion places. | |||
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() | Andreas Kling | |
This was used in a lot of places, so this patch makes liberal use of ErrorOr<T>::release_value_but_fixme_should_propagate_errors(). | |||
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::cropped() | Andreas Kling | |
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::flipped() | Andreas Kling | |
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::rotated() | Andreas Kling | |
2021-11-08 | LibGfx: Use ErrorOr<T> for Bitmap::clone() | Andreas Kling | |
2021-11-03 | Applications: Remove border from GroupBox margins | FrHun | |
2021-11-02 | Applications: Fix visibility of Object-derivative constructors | Ben Wiederhake | |
Derivatives of Core::Object should be constructed through ClassName::construct(), to avoid handling ref-counted objects with refcount zero. Fixing the visibility means that misuses like this are more difficult. | |||
2021-11-02 | PixelPaint: Map color_distance_squared from 0 to 1 | Musab Kılıç | |
2021-10-31 | PixelPaint: Use a bucket cursor for the Bucket tool | Marco Cutecchia | |
2021-10-31 | PixelPaint: Support using a bitmap as a tool's cursor | Marco Cutecchia | |
2021-10-27 | Everywhere: Rename left/right-click to primary/secondary | Filiph Sandström | |
This resolves #10641. | |||
2021-10-24 | PixelPaint: Move Mask::{get, set, to_index} to the header file | Idan Horowitz | |
They were previously taking up 9% of samples in a profile of PixelPaint while selecting a mask, and as a result of moving them to the header they were inlined, which effectively eliminated them from the profile. | |||
2021-10-23 | AK+Everywhere: Make Base64 decoding fallible | Ben Wiederhake | |
2021-10-16 | PixelPaint: Create an empty layer when the last layer is removed | Felix Rauch | |
Previously, when the last layer got deleted, the active layer was set to nullptr, causing a crash. Now, we create a new transparent background layer with the image dimensions instead. | |||
2021-10-07 | PixelPaint: Close tab now prompts for a save | Alex Major | |
2021-10-07 | PixelPaint: Use reorderable tabs | Luke Wilde | |
2021-10-05 | PixelPaint: Fix first undo action not working | Marco Cutecchia | |
2021-10-05 | PixelPaint: Ensure a layer is selected when restoring a snapshot | Marco Cutecchia | |
Previously when restoring the starting snapshot in the UndoStack we would end up with no layer selected, which was kinda annoying | |||
2021-10-02 | PixelPaint: Correctly offset stroke position for even thicknesses | Gal Horowitz | |
2021-10-02 | PixelPaint: LayerListWidget::set_selected_layer now handles nullptr | Gal Horowitz | |
2021-09-29 | PixelPaint: Add new icons for layer actions | Marcus Nilsson | |
Add icons for three more layer actions. | |||
2021-09-25 | PixelPaint: Close image tabs on middle click | Karol Kosek | |
2021-09-25 | PixelPaint: Close New Image dialog after pressing return key | Karol Kosek | |
13e526de43847ac86d74e3cb0be2d6b930f1d46f added the feature to new Layer dialog. This patch adds it to Image dialog to stay consistent across the app. :^) | |||
2021-09-20 | PixelPaint: Move Tools to it's own subdirectory | Marcus Nilsson | |
The PixelPaint source directory was getting a bit large, let's move all the Tools to it's own subdirectory. Also remove some unused includes. | |||
2021-09-19 | PixelPaint: Use main window's icon in the 'Create new image' widget | Karol Kosek | |