1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 07:55:07 +00:00
serenity/Userland/Libraries/LibWeb
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
..
Bindings LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Cookie AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Crypto Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSS LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
DOM LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
DOMParsing Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Encoding AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Fetch LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
FileAPI LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Geometry LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HighResolutionTime LibWeb: Partially implement 'relative high resolution time' AOs 2022-10-30 20:10:29 +00:00
HTML LibGfx+Userland: Make PNGWriter::encode() return ErrorOr<ByteBuffer> 2022-12-08 13:01:11 +00:00
Infra LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
IntersectionObserver AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Layout LibWeb: Consider strut while calculating baseline for a line 2022-12-07 17:50:13 +01:00
Loader Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MimeSniff Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
NavigationTiming LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Page Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
Painting Meta+Userland: Pass Gfx::FloatSize by value 2022-12-07 11:48:27 +01:00
Platform AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ReferrerPolicy LibWeb: Implement 'Determine request’s Referrer' AO 2022-10-30 20:10:29 +00:00
RequestIdleCallback LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
ResizeObserver LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Scripts
SecureContexts Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Selection Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Streams LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVG Meta+Userland: Pass Gfx::Color by value 2022-12-07 11:48:27 +01:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
URL LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
WebAssembly LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
WebDriver Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
WebGL AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WebIDL LibWeb: Ignore -Wshadow in TRY_OR_RETURN_OOM() 2022-12-06 21:31:00 +00:00
WebSockets LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
XHR LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
XML Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CMakeLists.txt LibWeb: Add initial implementation of structured clone 2022-11-26 00:47:23 +01:00
Dump.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Dump.h LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
FontCache.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
FontCache.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Forward.h LibWeb: Implement RadialGradientStyleValue 2022-11-30 14:24:04 +00:00
idl_files.cmake LibWeb: Sketch out basic support for SVG <foreignObject> elements 2022-11-16 13:01:21 +01:00
Namespace.cpp
Namespace.h
PixelUnits.h LibWeb: Introduce CSSPixels and DevicePixels classes 2022-12-08 12:46:03 +00:00
TreeNode.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00