apio deleted branch stdio-buffers from apio/Luna 2023-07-22 09:39:02 +00:00
apio pushed to main at apio/Luna 2023-07-22 09:39:02 +00:00
085d2895e8 libc: Implement setbuf(), setbuffer(), and setlinebuf()
77022abafd libc: Implement ungetc
19b4aa9f81 libc: Flush buffers before dealing with file positions
420270ebd4 libc: Implement read buffering =D
d60ad184f1 libc: A bit of nice refactoring
Compare 7 commits »
apio merged pull request apio/Luna#36 2023-07-22 09:39:02 +00:00
Implement stdio buffering
apio pushed to stdio-buffers at apio/Luna 2023-07-22 09:36:27 +00:00
085d2895e8 libc: Implement setbuf(), setbuffer(), and setlinebuf()
apio pushed to stdio-buffers at apio/Luna 2023-07-22 09:34:11 +00:00
f704739a7c libc: Implement setbuf(), setbuffer(), and setlinebuf()
apio commented on pull request apio/Luna#36 2023-07-22 09:29:26 +00:00
Implement stdio buffering

Oh my gosh this actually makes ls -l and ps usable. Looks like it works, just a few more things to do.

apio pushed to stdio-buffers at apio/Luna 2023-07-22 09:25:26 +00:00
77022abafd libc: Implement ungetc
19b4aa9f81 libc: Flush buffers before dealing with file positions
420270ebd4 libc: Implement read buffering =D
d60ad184f1 libc: A bit of nice refactoring
Compare 4 commits »
apio commented on pull request apio/Luna#36 2023-07-21 22:05:14 +00:00
Implement stdio buffering

Whoops, those were write buffers, not read buffers. I updated the commit title for that.

apio pushed to stdio-buffers at apio/Luna 2023-07-21 22:04:38 +00:00
a3ed950be8 libc: Basic write buffers
apio created pull request apio/Luna#36 2023-07-21 22:04:16 +00:00
WIP: Implement stdio buffering
apio pushed to stdio-buffers at apio/Luna 2023-07-21 22:02:19 +00:00
f7be2fe20b libc: Basic read buffers
cfb0ead2d9 libc: Flush all open streams on exit
Compare 2 commits »
apio created branch stdio-buffers in apio/Luna 2023-07-21 22:02:19 +00:00
apio pushed to main at apio/Luna 2023-07-21 19:21:21 +00:00
5458286309 libos: Add Process::exit()
apio pushed to main at apio/Luna 2023-07-21 19:13:35 +00:00
c72c6312d4 sh: Use input_file instead of hardcoding stdin everywhere in tcsetpgrp()
apio pushed to main at apio/Luna 2023-07-21 19:06:16 +00:00
7a4d3ba495 sh: Add a few more shell builtins
16b385fc7b libluna: Some fixes so that HashTable collisions work properly
Compare 2 commits »
apio pushed to main at apio/Luna 2023-07-21 18:44:11 +00:00
4439ef8ec6 sh: Add a system to easily add flexible shell builtins
apio pushed to main at apio/Luna 2023-07-21 13:51:35 +00:00
ff9e01641e apps: Add a Game of Life implementation
apio pushed to main at apio/Luna 2023-07-21 13:14:59 +00:00
36a74fd8d6 kernel/x86_64: Provide an alternate kernel stack for exceptions
310b325af8 kernel: Avoid some more -Wconversion errors in TextConsole
Compare 2 commits »
apio closed issue apio/Luna#33 2023-07-21 13:14:59 +00:00
TODO: Alternate kernel stack to catch stack overflows before they triple-fault
apio pushed to main at apio/Luna 2023-07-21 12:50:08 +00:00
0d924f89d3 tools: Avoid making the tests interfere with the main build directory