Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-23 | libc: Add append to f(d)open and other fixes | Anton Kling | |
2024-11-22 | vfs: Add dup() | 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-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-01 | LibC: Change how kill() works | Anton Kling | |
2024-06-27 | stuff | Anton Kling | |
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-20 | Add getaddrinfo and change other libc stuff | 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 compiler warnings | Anton Kling | |
It can now compile with almost all compiler warnings turned on without producing any warnings. | |||
2024-04-17 | Kernel/LibC: Add fstat() and remove stat() syscall | Anton Kling | |
2024-04-17 | LibC: Add more functions that support "long long" integers | Anton Kling | |
2024-04-17 | LibC: Add memchr() | Anton Kling | |
2024-04-15 | Bug fix and cleanup. | Anton Kling | |
2024-04-11 | bug fixes | Anton Kling | |
2024-04-02 | Kernel: Fix some memory leaks | Anton Kling | |
2024-03-26 | Increase support for signals | Anton Kling | |
2024-03-25 | Random changes | Anton Kling | |
2024-03-19 | IRC: Add the IRC client I am working on | Anton Kling | |
2024-03-17 | stuff | Anton Kling | |
2024-03-14 | random changes made | Anton Kling | |
2024-02-07 | A lot of small changes | Anton Kling | |
2023-12-18 | Add untracked files | Anton Kling | |
2023-11-28 | Kernel: Add basic IPC and move to microkernel design. | Anton Kling | |
The IPC design is currently a WIP and is nowhere near complete | |||
2023-11-24 | Refactor write() and pwrite() | Anton Kling | |
2023-11-23 | Kernel/LibC: Add randomfill() syscall. | Anton Kling | |
This syscall aims to fill the given buffer with cryptographically secure random data. If the syscall returns and does not cause a page fault it will **always** have filled the buffer with random data and never gives back any error value. | |||
2023-11-23 | LibC: Reduce warnings in code | Anton Kling | |
2023-11-22 | LibC: Add fflush() and buffer writes to file descriptors | Anton Kling | |
2023-11-22 | Meta: Use dirent as a general include file | Anton Kling | |
This include file is shared by the kernel and libc | |||
2023-11-22 | Kernel/LibC: Change file type detection | Anton Kling | |
2023-11-22 | Meta: Cleanup of header files such that they are partially shared | Anton Kling | |
The /include directory contains definitons that both the kernel and libc need to be in sync. | |||
2023-11-20 | LibC: Add ntohs and ntohl | Anton Kling | |
2023-11-20 | LibC: Add macros for stdin, stdout, stderr in unistd | Anton Kling | |
2023-11-20 | LibC: Allow open to accept multiple arguments | Anton Kling | |