Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-16 | Userland: Add wc program (#228) | Callum Attryde | |
Fixes #159. | |||
2019-06-03 | LibC: Implement popen() and pclose(). | Andreas Kling | |
I feel reasonably confident that I might have gotten these right. :^) | |||
2019-05-29 | LibM LibC: add fixes for Lua port. | Mustafa Ali CAN | |
2019-05-28 | Add clang-format file | Robin Burchell | |
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh. | |||
2019-04-18 | Kernel+LibC: Add a DebugLogDevice that forwards everything to I/O port 0xe9. | Andreas Kling | |
This is then used to implement the userspace dbgprintf() in a far more efficient way than what we had before. :^) | |||
2019-03-27 | LibC: Let's remember that headers are in C. | Andreas Kling | |
2019-03-27 | LibC: Add ungetc() and automatically flush streams on fclose(). | Andreas Kling | |
2019-03-20 | LibC: Fix bug in scanf() family where we'd capture invalid data. | Andreas Kling | |
2019-02-26 | More compat work. | Andreas Kling | |
Move syscall to int 0x82 since using int 0x80 was kinda prone to fork bombs when building things on Linux. :^) | |||
2019-02-25 | Some compat work towards making GCC's libstdc++ build. | Andreas Kling | |
2019-02-24 | LibC: A bunch of compat work towards porting GCC. | Andreas Kling | |
2019-02-08 | LibC: Implement enough missing stuff to get bash-5.0 running. :^) | Andreas Kling | |
2019-02-03 | LibC: Implement various things to get GNU bc building and running. | Andreas Kling | |
Looks like that's all we needed, and bc now runs. :^) | |||
2019-02-01 | LibC: Add some things needed to build GNU bc. | Andreas Kling | |
This patch adds vprintf(), sig_atomic_t, random() and strdup(). bc doesn't build yet, but it will. | |||
2019-01-23 | LibC: Add vsnprintf(), snprintf(), execvp() and abs(). | Andreas Kling | |
2019-01-14 | Build Painter & friends into LibC. Use it in the GUI test app. | Andreas Kling | |
2019-01-14 | Start refactoring the windowing system to use an event loop. | Andreas Kling | |
Userspace programs can now open /dev/gui_events and read a stream of GUI_Event structs one at a time. I was stuck on a stupid problem where we'd reenter Scheduler::yield() due to having one of the has_data_available_for_reading() implementations using locks. | |||
2018-11-17 | Make bash-2.05b build with minimal changes. | Andreas Kling | |
This is really neat. :^) | |||
2018-11-11 | Rage hacking to get bash to run. It finally runs. So cool! :^) | Andreas Kling | |
2018-11-11 | Add setvbuf(), setlinebuf(), setbuf(). | Andreas Kling | |
2018-11-08 | Add some simple write buffering to LibC's stdio. | Andreas Kling | |
Plumb it all the way to the VirtualConsole. Also fix /bin/cat to write() the whole chunks we get from read() directly to stdout. | |||
2018-11-07 | Miscellaneous compat work while seeing if GNU coreutils would build. | Andreas Kling | |
2018-11-05 | More work towards getting bash to build. | Andreas Kling | |
Implemented some syscalls: dup(), dup2(), getdtablesize(). FileHandle is now a retainable, since that's needed for dup()'ed fd's. I didn't really test any of this beyond a basic smoke check. | |||
2018-11-05 | Lots of minor compat stuff while seeing if bash would build. | Andreas Kling | |
We're quite far from bash building, but we'll get there eventually! | |||
2018-11-05 | Add stub fflush(). | Andreas Kling | |
2018-10-31 | Add getpwent() family of functions to LibC. | Andreas Kling | |
Also add a little /etc/passwd database. There's just me in there. | |||
2018-10-31 | Enough compatibility work to make figlet build and run! | Andreas Kling | |
I ran out of steam writing library routines and imported two BSD-licensed libc routines: sscanf() and getopt(). I will most likely rewrite them sooner or later. For now I just wanted to see figlet running. | |||
2018-10-31 | A bunch of LibC boilerplate stuff added while trying to get figlet to build. | Andreas Kling | |
2018-10-26 | Add sys$uname() and a /bin/uname utility. | Andreas Kling | |
2018-10-22 | Start work on a standard C library. I'm calling it... LibC. | Andreas Kling | |