Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-31 | sftp: Add sftp serverHEADmaster | Anton Kling | |
2024-12-31 | libc: opendir should not keep a internal offset | Anton Kling | |
2024-12-31 | libc: Change names for head/final in malloc | Anton Kling | |
This used to cause problems when linking | |||
2024-12-31 | libc: Add more sv/sb functions | Anton Kling | |
2024-12-16 | rdate: Fix error reporting and code formatting | Anton Kling | |
2024-12-16 | libc: Add gai_strerror | Anton Kling | |
2024-12-15 | libc: Fix undefined behavior for non positive VLA | Anton Kling | |
Apparently a VLA of zero size is undefined behavior. | |||
2024-12-15 | sh: source /profile file | Anton Kling | |
2024-12-15 | sh: Partially working strings using "" | Anton Kling | |
2024-12-15 | sh: Add setting environment variables | Anton Kling | |
2024-12-15 | libc: Add setenv/getenv | Anton Kling | |
2024-12-14 | sb: Allow input to be "ignored" | Anton Kling | |
This removes edge cases from read calls and makes bugs harder to introduce. | |||
2024-12-12 | formatting: Use clang-format on all projects | Anton Kling | |
This commit also add braces to all `if` statements. | |||
2024-12-12 | signal: Remove old way of sending signals and instead use procfs | Anton Kling | |
2024-12-09 | lock: Add lock utility | Anton Kling | |
2024-12-09 | sh: Add exit command | Anton Kling | |
2024-12-09 | libc: sv add number parsing | Anton Kling | |
2024-12-09 | tcpserver: Add the basics of tcpserver | Anton Kling | |
2024-12-02 | minibox: Add true, false | Anton Kling | |
2024-11-30 | audio/pcm: Add a proram to play audio files | Anton Kling | |
2024-11-28 | add missing files | Anton Kling | |
2024-11-28 | changes | Anton Kling | |
2024-11-24 | sh: Remove sh and use the "minibox" version instead | Anton Kling | |
2024-11-24 | libc: fclose should always close the associated file descriptor | Anton Kling | |
My previous "fix" was a misreading of the spec. | |||
2024-11-23 | vfs: Support O_TRUNC | Anton Kling | |
2024-11-23 | libc: Add append to f(d)open and other fixes | Anton Kling | |
2024-11-22 | libc: Fix bugs in strto(u)l(l) | Anton Kling | |
2024-11-22 | libc: Add RC_ERRNO to more syscalls | Anton Kling | |
This is very inconstant at the moment | |||
2024-11-22 | vfs: Add dup() | Anton Kling | |
2024-11-22 | libc: Add case for strtol(l) where base is 0 | Anton Kling | |
2024-10-17 | httpd: Bug fix close unused file descriptor | Anton Kling | |
2024-10-16 | httpd: Bug fix for not handling error code 400 properly | Anton Kling | |
2024-10-14 | httpd: Add /index.html support and better error handling | Anton Kling | |
2024-10-14 | ppm: Fix bounds checking | Anton Kling | |
2024-10-14 | kernel: stuff | Anton Kling | |
2024-10-14 | libc: Copy string views to preallocated buffers | Anton Kling | |
2024-10-14 | httpd: Add a simple http server | Anton Kling | |
2024-10-13 | libc/sb: Refactor string builder to allow for none malloc allocations | Anton Kling | |
A lot of code written usually has means of doing allocations in a more optimal way than having the string builder library doing it itself. For example a temporary buffer can be allocated on the stack and the string builder functions can then make use of this buffer without ever having to run malloc/free(which would be expensive) | |||
2024-10-11 | sh: Add parsing of newlines | Anton Kling | |
2024-10-09 | sh: Conform to the new stringbuilder functions | Anton Kling | |
2024-10-09 | sh: Add support for running commands in the background | Anton Kling | |
2024-10-09 | sh: Fix incorrectly hardcoded value | Anton Kling | |
2024-10-06 | libc: Add sb_prepend_buffer | Anton Kling | |
2024-10-03 | libc: Add sendfile and queue | Anton Kling | |
2024-10-03 | libc: small changes | Anton Kling | |
2024-10-03 | libc: Add readdir_multi | Anton Kling | |
This is a faster, zero allocation function for reading directory entries. It has massive speed increases for certain applications since malloc(especially my implementation) is really slow in comparison. | |||
2024-10-03 | libc: Add fdopendir() | Anton Kling | |
2024-10-02 | test: Fix incorrect test | Anton Kling | |
2024-10-02 | libc: Fix FILE memstream bug | Anton Kling | |
2024-10-02 | libc: Add faster scandir function(scandir_sane). | Anton Kling | |
This function is significantly faster due to not requiring memory allocations for each directory entry. Now they are instead just allocated as a large chunk. This function is not compatible with scandir since the cleanup of both function will be different. With this a new function scandir_sane_free has also been added. Besides having a function(like scandir) that forces the programmer to implement their own cleanup procedure that is anymore complicated than a simple free() call is absurd. |