Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | 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 | libc: sv add number parsing | Anton Kling | |
2024-11-28 | add missing files | Anton Kling | |
2024-11-28 | changes | 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-14 | kernel: stuff | Anton Kling | |
2024-10-14 | libc: Copy string views to preallocated buffers | 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-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 | 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. | |||
2024-07-08 | LibC: Optimize malloc | Anton Kling | |
2024-07-01 | LibC: Change how kill() works | Anton Kling | |
2024-06-27 | stuff | Anton Kling | |
2024-06-26 | LibC: Fix regression in printf | Anton Kling | |
printf did not write out anything for %d when the value was zero. | |||
2024-06-26 | Libc/Kernel: Add fcntl() | Anton Kling | |
2024-06-26 | Networking stuff | Anton Kling | |
TCP is now in a somewhat good state | |||
2024-06-26 | LibC: Fix printf formatting | Anton Kling | |
Previously %02x would not print out padding if the given value was zero. | |||
2024-06-24 | Kernel: Purge unused/bad syscalls | Anton Kling | |
2024-06-23 | LibC: Include delim in getdelim if it was seen | Anton Kling | |
2024-06-22 | LibC: Fix bugs relating to fseek | Anton Kling | |
2024-06-21 | LibC: Add ldexp | Anton Kling | |
2024-06-20 | Add getaddrinfo and change other libc stuff | Anton Kling | |
2024-05-05 | LibC: fflush() should not dereference stream if it is NULL | Anton Kling | |
2024-05-02 | sh: Use string view instead of C strings | Anton Kling | |
2024-04-29 | Kernel/LibC: Remove unused syscalls | Anton Kling | |
2024-04-29 | Kernel/IRC: Add setsockopt and move IRC client to use new socket interface | Anton Kling | |
2024-04-29 | Kernel/Socket: Move sockets back to being file descriptors | Anton Kling | |
2024-04-21 | LibC: Add different isX() functions | Anton Kling | |
2024-04-18 | LibC/Kernel: Move lseek/seek to kernel | Anton Kling | |
2024-04-18 | LibC: Fix bug in sv_clone | Anton Kling | |
2024-04-18 | LibC: Fix compiler warnings | Anton Kling | |
It can now compile with almost all compiler warnings turned on without producing any warnings. |