ladybird/Userland/Services/WindowServer
Matthew Jones ea4116f5bd LibGUI+LibGfx+WindowServer: Sanity check window size dimensions
Previous to this commit, if a `Window` wanted to set its width or height
greater than `INT16_MAX` (32768), both the application owning the Window
and the WindowServer would crash.

The root of this issue is that `size_would_overflow` check in `Bitmap`
has checks for `INT16_MAX`, and `Window.cpp:786` that is called by
`Gfx::Bitmap::create_with_anonymous_buffer` would get null back, then
causing a chain of events resulting in crashes.

Crashes can still occur but with `VERIFY` and `did_misbehave` the
causes of the crash can be more readily identified.
2021-06-02 23:59:57 +01:00
..
AppletManager.cpp Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel 2021-05-09 00:11:37 +02:00
AppletManager.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Button.cpp WindowServer: Don't ignore MouseMove events for pressed window buttons 2021-05-09 10:34:40 +02:00
Button.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ClientConnection.cpp LibGUI+LibGfx+WindowServer: Sanity check window size dimensions 2021-06-02 23:59:57 +01:00
ClientConnection.h WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
CMakeLists.txt Userland: Rename LibThread => LibThreading 2021-05-22 18:54:22 +02:00
Compositor.cpp Userland: Rename LibThread => LibThreading 2021-05-22 18:54:22 +02:00
Compositor.h WindowServer+DisplaySettings: Remove the weird "simple" wallpaper mode 2021-05-20 17:52:38 +02:00
Cursor.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
Cursor.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
Event.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventLoop.cpp LibCore: Make all processes opt out of InspectorServer by default 2021-05-22 23:30:40 +02:00
EventLoop.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp WindowServer: Store system font queries in WindowServer.ini :^) 2021-05-21 20:15:51 +02:00
Menu.cpp Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
Menu.h WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
Menubar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menubar.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
MenuItem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.h WindowServer: Fix a handful of clang-tidy warnings in the menu code 2021-05-09 15:47:21 +02:00
MenuManager.cpp WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
MenuManager.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Screen.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Screen.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Window.cpp WindowServer: Add "Move" action to window menus 2021-05-10 09:06:37 +02:00
Window.h WindowServer: Add "Move" action to window menus 2021-05-10 09:06:37 +02:00
WindowClient.ipc LibGfx+WindowServer: Have WindowServer broadcast system font settings 2021-05-21 20:15:51 +02:00
WindowFrame.cpp WindowServer: Use RefPtr instead of raw pointers 2021-06-02 18:08:11 +02:00
WindowFrame.h WindowServer: Compute final window title before passing to WM clients 2021-05-10 00:02:05 +02:00
WindowManager.cpp WindowServer: Use user-defined background color, if defined 2021-06-02 09:40:53 +02:00
WindowManager.h WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
WindowManagerClient.ipc Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WindowManagerServer.ipc WindowServer+Taskbar: Make all the IPC used by Taskbar asynchronous 2021-05-10 12:26:35 +02:00
WindowServer.ipc WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
WindowSwitcher.cpp WindowServer: Compute final window title before passing to WM clients 2021-05-10 00:02:05 +02:00
WindowSwitcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WMClientConnection.cpp Userland: Change IPC funcs to use plain arguments instead of a struct 2021-05-03 21:14:06 +02:00
WMClientConnection.h Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00