ladybird/Services/WindowServer
Lenny Maiorani f99d1d3bd7 Vector: Implement find, find_if, find_first_matching in terms of AK::find*
Problem:
- The implementation of `find` is coupled to the implementation of `Vector`.
- `Vector::find` takes the predicate by value which might be expensive.

Solution:
- Decouple the implementation of `find` from `Vector` by using a
  generic `find` algorithm.
- Change the name of `find` with a predicate to `find_if` so that a
  binding reference can be used and the predicate can be forwarded to
  avoid copies.
- Change all the `find(pred)` call sites to use `find_if`.
2021-01-11 19:45:05 +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 Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +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 WindowServer: is_blocked_by_modal_window() => blocking_modal_window() 2021-01-08 12:33:34 +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