ladybird/Userland/Shell
ronak69 b6cf62d00a Shell: Correctly auto format command lines consisting of only whitespace
When the command line consists of only whitespace characters, the auto
formatter basically tries to trim the trailing whitespace. But due to a
subtle bug of decrementing an iterator (which is an unsigned integer)
past 0 (or the start of the buffer), that operation resulted in an index
out of bounds error and a crash.
2024-03-28 08:49:49 +01:00
..
Tests Everywhere: Use /bin/Shell as the shebang for Shell scripts 2023-02-13 23:00:15 +03:30
AST.cpp AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
AST.h Shell: Add support for the bashy list literals in POSIX mode 2023-10-07 22:16:35 +03:30
Builtin.cpp Shell: Use Core::Environment instead of manually iterating environ 2024-02-27 08:33:48 +00:00
CMakeLists.txt AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Execution.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
Formatter.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Formatter.h Shell: Correctly auto format command lines consisting of only whitespace 2024-03-28 08:49:49 +01:00
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Job.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Job.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
main.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
NodeVisitor.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp Shell: Add support for octal escapes in strings 2024-03-24 08:26:56 +01:00
Parser.h Shell: Remove '#' from the list of acceptable bareword characters 2023-10-29 01:35:40 +03:30
PosixLexer.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PosixLexer.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
PosixParser.cpp Shell: Provide a valid ending position for POSIX immediate nodes 2024-02-07 00:43:11 +01:00
PosixParser.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Shell.cpp AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Shell.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SyntaxHighlighter.cpp LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
SyntaxHighlighter.h LibSyntax: Teach each highlighter about it's comment syntax 2022-11-27 18:28:43 -07:00