AnotherTest
37bfaf4e7c
Shell: Do not bail on signaled if condition
...
Fixes #5119
2021-01-26 21:19:22 +01:00
asynts
acdcf59a33
Everywhere: Remove unnecessary debug comments.
...
It would be tempting to uncomment these statements, but that won't work
with the new changes.
This was done with the following commands:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/#define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/#define/ { toggle = 1 }' {} \;
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/ #define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/ #define/ { toggle = 1 }' {} \;
2021-01-25 09:47:36 +01:00
AnotherTest
2bd77bc93b
Shell: Make the parser read consecutive sequences without recursing
...
This fixes (the easy) part of #4976 .
2021-01-23 08:28:58 +01:00
AnotherTest
5ec139e728
Shell: Make 'if' expressions return the unevaluated value of blocks
...
This makes it possible to actually put them in a sequence and cast them
to commands.
2021-01-19 08:19:43 +01:00
AnotherTest
1c78d12f1c
Shell: Implement for_each_entry()
for syntactic list nodes
...
This allows correct iteration over nested lists.
Also store values to variables without resolving them, to delay the
resolution step as much as possible (this helps with storing nested
lists in variables).
2021-01-19 08:19:43 +01:00
AnotherTest
239472ba69
Shell: Add (basic) support for history event designators
...
Closes #4888
2021-01-15 19:13:03 +01:00
Andreas Kling
1a08ac72ad
LibC+Everywhere: Remove open_with_path_length() in favor of open()
...
This API was a mostly gratuitous deviation from POSIX that gave up some
portability in exchange for avoiding the occasional strlen().
I don't think that was actually achieving anything valuable, so let's
just chill out and have the same open() API as everyone else. :^)
2021-01-12 23:34:01 +01:00
Andreas Kling
c4e2fd8123
Shell: Move to Userland/Shell/
2021-01-12 12:04:07 +01:00