asynts
eea72b9b5c
Everywhere: Hook up remaining debug macros to Debug.h.
2021-01-25 09:47:36 +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
4981b30ea5
Shell: Run the command's next chain even when it's empty
2021-01-23 08:28:58 +01:00
AnotherTest
be94a4ffa6
Shell: Block on the existing event loop instead of pushing a new one
...
This patch makes `Shell::block_on_job()` pump the event loop while the
job it's waiting for hasn't finished.
As this no longer pushes new event loops, it has the effect of
flattening the stack as well.
Fixes #4976 .
2021-01-23 08:28:58 +01:00
AnotherTest
cb29dca029
Shell: Don't spam perror() on kill_job()
...
That function is allowed to be given a dead job, so don't bother with
perror()
2021-01-19 08:19:43 +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
8cfda86a45
Shell: Actually return the exit code of the file when running a file
2021-01-19 08:19:43 +01:00
Nick Vella
fdc9b3c5a0
Shell: use exit code 127 on command not found
2021-01-16 09:05:01 +01:00
AnotherTest
239472ba69
Shell: Add (basic) support for history event designators
...
Closes #4888
2021-01-15 19:13:03 +01:00
AnotherTest
a90905c54c
Shell: Use lstat instead of access to check if glob target exists
...
Fixes #4905
2021-01-12 16:23:26 +01:00
Andreas Kling
c4e2fd8123
Shell: Move to Userland/Shell/
2021-01-12 12:04:07 +01:00