Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2024-04-17 | VFS/LibC: Fix small bugs | Anton Kling | |
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-12 | Kernel/MMU: Dellocate pagedirectory when process exits. | 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-21 | libc: fix malloc implementation | Anton Kling | |
I don't know what was wrong but memory allocations were failing. I removed the old code and replaced it with the malloc implementation which exists in the kernel. Now it doesn't crash so I guess it is fine ¯\_(ツ)_/¯ | |||
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-22 | Kernel: Fix undefined behavior and cleanup functions. | Anton Kling | |
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler. | |||
2024-02-07 | Minor fix | 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 | LibC: Fill new allocations with random data and fix a bug | Anton Kling | |
The bug was noticed as a result of this new randomization of allocations. |