1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 19:42:08 +00:00
serenity/Shell
asynts f18e927827 AK: Remove OutputMemoryStream for DuplexMemoryStream.
OutputMemoryStream was originally a proxy for DuplexMemoryStream that
did not expose any reading API.

Now I need to add another class that is like OutputMemoryStream but only
for static buffers. My first idea was to make OutputMemoryStream do that
too, but I think it's much better to have a distinct class for that.

I originally wanted to call that class FixedOutputMemoryStream but that
name is really cumbersome and it's a bit unintuitive because
InputMemoryStream is already reading from a fixed buffer.

So let's just use DuplexMemoryStream instead of OutputMemoryStream for
any dynamic stuff and create a new OutputMemoryStream for static
buffers.
2020-09-15 20:36:45 +02:00
..
Tests Shell: Add some tests for functions 2020-09-14 17:40:18 +02:00
AST.cpp AK: Remove OutputMemoryStream for DuplexMemoryStream. 2020-09-15 20:36:45 +02:00
AST.h Shell: Complete named function parameters inside the function body 2020-09-14 17:40:18 +02:00
Builtin.cpp Shell: Allow redirections and pipes on builtins 2020-08-15 20:48:17 +02:00
CMakeLists.txt Shell: Move printing job status into a Job::print_status() helper 2020-08-06 15:09:49 +02:00
Execution.h Shell: Allow redirections and pipes on builtins 2020-08-15 20:48:17 +02:00
Forward.h Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
Job.cpp Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
Job.h Shell: Fix job control and backgrounding 2020-09-09 20:35:21 +02:00
main.cpp Shell: Add support for $0,$1,... 2020-09-14 17:40:18 +02:00
Parser.cpp Shell: Add support for functions 2020-09-14 17:40:18 +02:00
Parser.h Shell: Add support for functions 2020-09-14 17:40:18 +02:00
Shell.cpp Shell: Allow builtins and functions as conditions for 'if' 2020-09-14 17:40:18 +02:00
Shell.h Shell: Add support for functions 2020-09-14 17:40:18 +02:00