1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 02:44:58 +00:00
serenity/Userland/Services/SpiceAgent
Nico Weber 2e2cae26c6 LibGfx+Fallout: Make ImageDecoder return ErrorOr
...from try_create_for_raw_bytes().

If a plugin returns `true` from sniff but then fails when calling
its `create()` method, we now no longer swallow that error.

Allows `image` (and other places in the system) to print a more
actionable error if early image headers are invalid.

(We now no longer try to find another plugin that can also handle
the image.)

Fixes a regression from #20063 / #19893 -- before then, we didn't
do fallible work this early.
2024-03-07 11:20:06 -05:00
..
ChunkHeader.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
CMakeLists.txt SpiceAgent: Handle file transfer requests properly :^) 2023-05-21 18:45:53 +02:00
FileTransferOperation.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FileTransferOperation.h SpiceAgent: Handle file transfer requests properly :^) 2023-05-21 18:45:53 +02:00
main.cpp SpiceAgent: Pledge cpath 2023-07-08 22:55:06 +01:00
Message.cpp SpiceAgent: Reduce copying of potentially large byte buffers 2023-05-22 15:11:33 +02:00
Message.h SpiceAgent: Reduce copying of potentially large byte buffers 2023-05-22 15:11:33 +02:00
MessageHeader.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
SpiceAgent.cpp LibGfx+Fallout: Make ImageDecoder return ErrorOr 2024-03-07 11:20:06 -05:00
SpiceAgent.h SpiceAgent: Gracefully exit when the Spice server disconnects 2023-05-22 15:11:33 +02:00