ladybird/Services
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
..
AudioServer Everywhere: Convert a bunch of dbgprintf() to dbgln() 2021-01-10 10:02:20 +01:00
ChessEngine Everywhere: Colour => Color 2021-01-09 14:03:06 +01:00
Clipboard Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
CrashDaemon CrashDaemon: Use pledge 2021-01-11 19:03:09 +01:00
DHCPClient Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
EchoServer EchoServer: Add a simple echo server 2020-12-16 17:29:12 +01:00
ImageDecoder Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
LaunchServer Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
LookupServer Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
NotificationServer Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
ProtocolServer ProtocolServer: Add some debug log output for failed downloads 2021-01-03 13:10:53 +01:00
SystemMenu SystemMenu: Tweak text "About..." => "About SerenityOS" 2021-01-04 23:23:55 +01:00
SystemServer Kernel+Profiler: Make profiling per-process and without core dumps 2021-01-11 11:36:00 +01:00
Taskbar Everywhere: Convert a bunch of dbgprintf() to dbgln() 2021-01-10 10:02:20 +01:00
TelnetServer Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
WebContent Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
WebServer AK: Make MappedFile heap-allocated and ref-counted 2021-01-10 16:49:13 +01:00
WindowServer Vector: Implement find, find_if, find_first_matching in terms of AK::find* 2021-01-11 19:45:05 +01:00
CMakeLists.txt CrashDaemon: Move from Applications to Services 2020-12-30 03:20:06 +01:00