ladybird/DevTools/HackStudio
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
..
Debugger Vector: Implement find, find_if, find_first_matching in terms of AK::find* 2021-01-11 19:45:05 +01:00
Git LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
LanguageClients HackStudio: Send an open file to language servers 2020-11-23 18:37:40 +01:00
LanguageServers LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
AutoCompleteResponse.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
CMakeLists.txt LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
CodeDocument.cpp LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^) 2020-12-21 18:26:18 +01:00
CodeDocument.h HackStudio: Don't take LexicalPath as argument 2020-12-15 11:58:47 +01:00
CursorTool.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
CursorTool.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
Editor.cpp LibGfx: Add Gfx::TextAttributes (and use it in GUI::TextDocumentSpan) 2021-01-02 20:57:43 +01:00
Editor.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
EditorWrapper.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
EditorWrapper.h AK+LibGUI+LibWeb: Remove AK::TypeTraits in favor of RTTI-based helpers 2021-01-01 15:33:30 +01:00
FindInFilesWidget.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
FindInFilesWidget.h Meta+DevTools: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
FormEditorWidget.cpp LibGUI: Remove Widget's unused m_{foreground,background}_color 2021-01-02 23:31:22 +01:00
FormEditorWidget.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
FormWidget.cpp LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
FormWidget.h LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
HackStudio.h HackStudio: Abstract away language-server details 2020-10-02 20:47:57 +02:00
HackStudioWidget.cpp HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
HackStudioWidget.h HackStudio: Rethink the "project" concept to be about a directory 2020-12-10 20:42:11 +01:00
Language.h LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^) 2020-12-21 18:26:18 +01:00
LanguageClient.cpp LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
LanguageClient.h LibGUI+HackStudio: Add an opt-in autocompletion interface to TextEditor 2020-12-30 12:53:39 +01:00
Locator.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
Locator.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
main.cpp HackStudio: Make the title bar say "Hack Studio" too.. 2021-01-04 23:59:22 +01:00
Project.cpp HackStudio: Rethink the "project" concept to be about a directory 2020-12-10 20:42:11 +01:00
Project.h HackStudio: Rethink the "project" concept to be about a directory 2020-12-10 20:42:11 +01:00
ProjectFile.cpp HackStudio: Don't take LexicalPath as argument 2020-12-15 11:58:47 +01:00
ProjectFile.h TextEditor: Add button to match regular expression during search 2020-11-27 21:32:41 +01:00
TerminalWrapper.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
TerminalWrapper.h HackStudio: Scroll embedded terminals to bottom upon command execution 2020-11-10 11:55:18 +01:00
Tool.h Meta: Force semi-colon after MAKE_AK_NONXXXABLE() 2020-08-27 10:12:04 +02:00
WidgetTool.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
WidgetTool.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
WidgetTreeModel.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
WidgetTreeModel.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00