1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-17 02:11:02 +00:00
serenity/Userland/Services/WindowServer
Timothy Flynn 9b483625e6 LibIPC+Everywhere: Change IPC decoders to construct values in-place
Currently, the generated IPC decoders will default-construct the type to
be decoded, then pass that value by reference to the concrete decoder.
This, of course, requires that the type is default-constructible. This
was an issue for decoding Variants, which had to require the first type
in the Variant list is Empty, to ensure it is default constructible.

Further, this made it possible for values to become uninitialized in
user-defined decoders.

This patch makes the decoder interface such that the concrete decoders
themselves contruct the decoded type upon return from the decoder. To do
so, the default decoders in IPC::Decoder had to be moved to the IPC
namespace scope, as these decoders are now specializations instead of
overloaded methods (C++ requires specializations to be in a namespace
scope).
2022-12-26 09:36:16 +01:00
..
Animation.cpp LibGfx+Everywhere: Make DisjointRectSet work for non-int Rects 2022-10-27 13:06:33 +02:00
Animation.h LibGfx+Everywhere: Make DisjointRectSet work for non-int Rects 2022-10-27 13:06:33 +02:00
AppletManager.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
AppletManager.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
Button.cpp WindowServer: Fix crash when hovering over title buttons 2022-05-18 19:05:18 +02:00
Button.h WindowServer: Support hover icons for title buttons 2022-05-03 22:00:14 +02:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Compositor.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
Compositor.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
ConnectionFromClient.cpp WindowServer: Remove overcropping for magnifier 2022-12-23 12:16:46 +00:00
ConnectionFromClient.h WindowServer: Allow overriding position when getting bitmap 2022-12-23 12:16:46 +00:00
Cursor.cpp Base+WindowServer+LibGfx: Add new DragCopy Cursor 2022-08-31 17:29:44 +01:00
Cursor.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Event.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
EventLoop.cpp WindowServer+MouseSettings: Improve buttons_switched naming 2022-12-08 07:04:09 -05:00
EventLoop.h Services: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
HardwareScreenBackend.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HardwareScreenBackend.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HitTestResult.h WindowServer: Make hit test results richer 2021-06-18 17:40:05 +02:00
KeymapSwitcher.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
KeymapSwitcher.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
main.cpp LibGfx+Userland: Make Gfx::SystemTheme propagate errors 2022-12-14 18:25:28 +00:00
Menu.cpp WindowServer: Remove unused bools in Menu::draw() 2022-12-11 20:25:58 +01:00
Menu.h LibGUI+WindowServer: Add "visible" state to GUI actions 2022-12-10 14:28:38 +01:00
Menubar.cpp LibGfx+LibGUI+WindowServer+Apps+Demos: Replace ToolWindows 2022-08-25 13:28:50 +02:00
Menubar.h WindowServer: Update menu buttons' rects on font change 2022-03-14 22:29:57 +01:00
MenuItem.cpp LibGUI+WindowServer: Add "visible" state to GUI actions 2022-12-10 14:28:38 +01:00
MenuItem.h LibGUI+WindowServer: Add "visible" state to GUI actions 2022-12-10 14:28:38 +01:00
MenuManager.cpp LibGUI+WindowServer: Remove InputPreemptor concept 2022-11-19 16:04:42 +01:00
MenuManager.h LibGUI+WindowServer: Notify Windows on input preemption 2022-09-08 23:21:54 +01:00
MultiScaleBitmaps.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MultiScaleBitmaps.h WindowServer: Fix crash when hovering over title buttons 2022-05-18 19:05:18 +02:00
Overlays.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Overlays.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ResizeDirection.h WindowServer+LibGUI: Shrink window edge resize hot-spots 2022-10-11 17:48:48 +02:00
Screen.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
Screen.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
ScreenBackend.h WindowServer: Fallback to safe mode-setting in case of mapping overflow 2022-09-24 15:38:56 +01:00
ScreenLayout.cpp WindowServer: Add API to set/get screen layouts 2021-06-20 14:57:26 +02:00
ScreenLayout.h LibIPC+Everywhere: Change IPC decoders to construct values in-place 2022-12-26 09:36:16 +01:00
ScreenLayout.ipp LibIPC+Everywhere: Change IPC decoders to construct values in-place 2022-12-26 09:36:16 +01:00
SystemEffects.h WindowServer: Add missing includes 2022-09-18 13:27:24 -04:00
VirtualScreenBackend.cpp WindowServer: Fallback to safe mode-setting in case of mapping overflow 2022-09-24 15:38:56 +01:00
VirtualScreenBackend.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Window.cpp WindowServer: Update checked state of m_window_menu_always_on_top_item 2022-12-10 13:15:35 +01:00
Window.h Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
WindowClient.ipc AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WindowFrame.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
WindowFrame.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
WindowManager.cpp LibGfx+Userland: Make Gfx::SystemTheme propagate errors 2022-12-14 18:25:28 +00:00
WindowManager.h WindowServer+MouseSettings: Improve buttons_switched naming 2022-12-08 07:04:09 -05:00
WindowManagerClient.ipc AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WindowManagerServer.ipc AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WindowMode.h LibGUI+WindowServer+Applets+Taskbar: Remove active input concepts 2022-11-19 16:04:42 +01:00
WindowServer.ipc WindowServer: Allow overriding position when getting bitmap 2022-12-23 12:16:46 +00:00
WindowStack.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
WindowStack.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
WindowSwitcher.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
WindowSwitcher.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
WindowType.h LibGUI+WindowServer: Add WindowType:Autocomplete and helpers 2022-11-19 16:04:42 +01:00
WMConnectionFromClient.cpp Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
WMConnectionFromClient.h Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00