ladybird/Userland/Shell
Andreas Kling de395a3df2 AK+Everywhere: Consolidate String::index_of() and String::find()
We had two functions for doing mostly the same thing. Combine both
of them into String::find() and use that everywhere.

Also add some tests to cover basic behavior.
2021-05-24 11:59:18 +02:00
..
Tests Shell: Make sure all tests put their temp dirs in /tmp 2021-05-22 00:24:27 +04:30
AST.cpp AK+Everywhere: Consolidate String::index_of() and String::find() 2021-05-24 11:59:18 +02:00
AST.h Shell: Make set_is_syntax_error() also copy the error location 2021-05-01 15:58:31 +02:00
Builtin.cpp Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
CMakeLists.txt Shell: Add support for 'immediate' expressions as variable substitutions 2021-03-07 10:59:51 +01:00
Execution.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Formatter.cpp Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Formatter.h Shell: Implement formatting for Heredocs 2021-04-29 20:25:56 +02:00
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Job.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Job.h Shell: Hide job times behind SHELL_JOB_DEBUG flag 2021-05-21 12:05:34 +04:30
main.cpp Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00
NodeVisitor.cpp Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp AK+Everywhere: Consolidate String::index_of() and String::find() 2021-05-24 11:59:18 +02:00
Parser.h Shell: Avoid moving AK::Function instances while inside them 2021-05-19 21:36:57 +02:00
Shell.cpp Shell: Fix incorrect fcntl usage 2021-05-13 19:18:22 +01:00
Shell.h Shell: Add an option to autosave history every N ms 2021-05-11 10:19:07 +01:00
SyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00