1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 05:17:36 +00:00
serenity/Userland/Applications/PixelPaint
Andreas Kling d88c7fee32 LibGfx+Userland: Make PNGWriter::encode() return ErrorOr<ByteBuffer>
This is a first step towards handling PNG encoding failures instead of
just falling over and crashing the program.

This initial step will cause encode() to return an error if the final
ByteBuffer copy fails to allocate. There are more potential failures
that will be surfaced by subsequent commits.

Two FIXMEs were killed in the making of this patch. :^)
2022-12-08 13:01:11 +00:00
..
Filters PixelPaint: Add Hue/Saturation filter 2022-10-10 11:02:10 +01:00
Tools Meta+Userland: Pass Gfx::FloatPoint by value 2022-12-07 11:48:27 +01:00
CMakeLists.txt PixelPaint: Add lasso selection tool 2022-11-25 22:52:45 +01:00
CreateNewImageDialog.cpp PixelPaint: Allow configuration of default image size through GUI 2022-08-13 09:10:29 +01:00
CreateNewImageDialog.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
CreateNewLayerDialog.cpp Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
CreateNewLayerDialog.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
EditGuideDialog.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
EditGuideDialog.gml Applications+Games+LibGUI: Fix layout problems 2022-06-30 11:51:25 +02:00
EditGuideDialog.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FilterGallery.cpp PixelPaint: Make filters apply to a selection if one is present 2022-11-09 22:13:26 +03:30
FilterGallery.gml PixelPaint: Tweak FilterGallery layout 2022-07-15 12:34:25 +02:00
FilterGallery.h PixelPaint: Add a preview in FilterGallery 2022-02-12 12:21:35 +01:00
FilterParams.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
FilterPreviewWidget.cpp PixelPaint: Make filters apply to a selection if one is present 2022-11-09 22:13:26 +03:30
FilterPreviewWidget.h PixelPaint: Make filters apply to a selection if one is present 2022-11-09 22:13:26 +03:30
FilterTreeModel.cpp PixelPaint: Add Hue/Saturation filter 2022-10-10 11:02:10 +01:00
FilterTreeModel.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Guide.h AK: Rename create<T> => make_ref_counted<T> 2021-09-03 02:36:09 +02:00
HistogramWidget.cpp PixelPaint: Extract common scope code into a generic ScopeWidget 2022-09-03 16:57:37 +01:00
HistogramWidget.h PixelPaint: Extract common scope code into a generic ScopeWidget 2022-09-03 16:57:37 +01:00
IconBag.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IconBag.h PixelPaint: Add action to invert selection 2022-10-18 18:57:12 +02:00
Image.cpp LibGfx+Userland: Make PNGWriter::encode() return ErrorOr<ByteBuffer> 2022-12-08 13:01:11 +00:00
Image.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
ImageEditor.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
ImageEditor.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
ImageProcessor.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ImageProcessor.h PixelPaint: Add a general-purpose parallel image processing pipeline 2022-09-27 14:23:11 +01:00
Layer.cpp Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
Layer.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
LayerListWidget.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
LayerListWidget.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
LayerPropertiesWidget.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LayerPropertiesWidget.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
LevelsDialog.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LevelsDialog.gml PixelPaint: Add level sliders for brightness, contrast and gamma 2022-06-21 18:23:01 +01:00
LevelsDialog.h PixelPaint: Add level sliders for brightness, contrast and gamma 2022-06-21 18:23:01 +01:00
main.cpp Applications: Use new global variables at /sys/kernel/ directory 2022-10-25 15:33:34 -06:00
MainWidget.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MainWidget.h Userland: Accept drag_enter events for widgets supporting file drops 2022-11-13 16:13:03 -07:00
Mask.cpp PixelPaint: Move Mask::{get, set, to_index} to the header file 2021-10-24 17:02:44 +02:00
Mask.h PixelPaint: Move Mask::{get, set, to_index} to the header file 2021-10-24 17:02:44 +02:00
PaletteWidget.cpp Meta+Userland: Pass Gfx::Color by value 2022-12-07 11:48:27 +01:00
PaletteWidget.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PixelPaintWindow.gml PixelPaint: Make scopes hideable 2022-10-27 12:59:20 +02:00
ProjectLoader.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ProjectLoader.h PixelPaint: Use FileSystemAccessClient::try_* APIs 2022-01-20 10:39:12 +01:00
ResizeImageDialog.cpp Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
ResizeImageDialog.gml PixelPaint+LibGfx: Allow resizing images and layers 2022-11-02 10:59:18 +00:00
ResizeImageDialog.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
ScopeWidget.cpp PixelPaint: Extract common scope code into a generic ScopeWidget 2022-09-03 16:57:37 +01:00
ScopeWidget.h PixelPaint: Extract common scope code into a generic ScopeWidget 2022-09-03 16:57:37 +01:00
Selection.cpp PixelPaint: Add action to invert selection 2022-10-18 18:57:12 +02:00
Selection.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
ToolboxWidget.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ToolboxWidget.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
ToolPropertiesWidget.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ToolPropertiesWidget.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
VectorscopeWidget.cpp PixelPaint: Introduce a vectorscope 2022-09-03 16:57:37 +01:00
VectorscopeWidget.h PixelPaint: Introduce a vectorscope 2022-09-03 16:57:37 +01:00