1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-14 01:12:06 +00:00
serenity/Services/WindowServer
Lenny Maiorani e6f907a155 AK: Simplify constructors and conversions from nullptr_t
Problem:
- Many constructors are defined as `{}` rather than using the ` =
  default` compiler-provided constructor.
- Some types provide an implicit conversion operator from `nullptr_t`
  instead of requiring the caller to default construct. This violates
  the C++ Core Guidelines suggestion to declare single-argument
  constructors explicit
  (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c46-by-default-declare-single-argument-constructors-explicit).

Solution:
- Change default constructors to use the compiler-provided default
  constructor.
- Remove implicit conversion operators from `nullptr_t` and change
  usage to enforce type consistency without conversion.
2021-01-12 09:11:45 +01:00
..
AppletManager.cpp Everywhere: Tweak "2020-2020" => "2020" in copyright headers 2020-12-25 12:24:05 +01:00
AppletManager.h Everywhere: Tweak "2020-2020" => "2020" in copyright headers 2020-12-25 12:24:05 +01:00
Button.cpp WindowServer: Fix flickering 2020-08-18 12:12:27 +02:00
Button.h Services: Convert WindowFrame button bitmaps to themable PNGs 2020-08-01 07:56:48 +02:00
ClientConnection.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
ClientConnection.h WindowServer: Added IPC requests for getting and setting mouse settings 2020-12-30 11:58:52 +01:00
CMakeLists.txt Clipboard: Move the system clipboard to a dedicated service process :^) 2020-05-14 22:53:58 +02:00
Compositor.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
Compositor.h WindowServer: Don't lookup configuration values in compose() 2020-12-28 11:41:09 +01:00
Cursor.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
Cursor.h WindowServer: Add the ability to animate cursors 2020-12-17 19:40:05 +01:00
Event.h WindowServer+LibGUI: Pass the set of mime types being dragged to client 2021-01-09 12:02:07 +01:00
EventLoop.cpp Everywhere: Convert a bunch of dbgprintf() to dbgln() 2021-01-10 10:02:20 +01:00
EventLoop.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
main.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
Menu.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
Menu.h LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
MenuBar.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
MenuBar.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00
MenuItem.cpp WindowServer: Add support for default MenuItem 2020-07-11 11:45:49 +02:00
MenuItem.h WindowServer: Add support for default MenuItem 2020-07-11 11:45:49 +02:00
MenuManager.cpp Vector: Implement find, find_if, find_first_matching in terms of AK::find* 2021-01-11 19:45:05 +01:00
MenuManager.h WindowServer: Make Menus the input window when showing them 2020-07-15 22:02:53 +02:00
Screen.cpp Everywhere: Convert a bunch of dbgprintf() to dbgln() 2021-01-10 10:02:20 +01:00
Screen.h WindowServer: Added configurable mouse acceleration and scroll length 2020-12-30 11:58:52 +01:00
Window.cpp WindowServer+LibGUI: Pass the set of mime types being dragged to client 2021-01-09 12:02:07 +01:00
Window.h WindowServer: is_blocked_by_modal_window() => blocking_modal_window() 2021-01-08 12:33:34 +01:00
WindowClient.ipc WindowServer+LibGUI: Pass the set of mime types being dragged to client 2021-01-09 12:02:07 +01:00
WindowFrame.cpp WindowServer: is_blocked_by_modal_window() => blocking_modal_window() 2021-01-08 12:33:34 +01:00
WindowFrame.h WindowServer: Flash modal window when clicking on window blocked by it 2021-01-01 01:10:53 +01:00
WindowManager.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
WindowManager.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
WindowServer.ipc WindowServer: Added IPC requests for getting and setting mouse settings 2020-12-30 11:58:52 +01:00
WindowSwitcher.cpp AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
WindowSwitcher.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
WindowType.h Services: Renamed from Servers 2020-05-08 21:57:44 +02:00