apio pushed to main at apio/Luna 2023-05-03 15:37:31 +00:00
3eb78aa5f3 libos+init: Add a new Path class to handle both file descriptors and file paths
abaf24d0da kernel/CPU: Move some stuff to StringView
Compare 2 commits »
apio pushed to main at apio/cbench 2023-05-03 15:06:10 +00:00
1810a0a89b fix: Open /dev/null only once and close it at the end
apio pushed to main at apio/Luna 2023-05-03 14:43:40 +00:00
1215c38d75 libc: Add mkdtemp() and mkstemp()
apio pushed to main at apio/Luna 2023-05-02 19:21:35 +00:00
a0b45a51de libc: Add rand() + srand()
apio pushed to main at apio/Luna 2023-05-02 18:56:55 +00:00
d9b7e8edc0 init: Read and launch service files in order using sort()
3628464284 libc: Fix some naming inconsistencies
d1801d484c libc: Add qsort()
dcd93cce3a libluna: Add a sort() function
Compare 4 commits »
apio pushed to main at apio/Luna 2023-05-02 09:00:36 +00:00
6beea7f817 ls: Avoid printing an empty line when a directory is empty
apio closed issue apio/Luna#26 2023-05-02 08:52:40 +00:00
TODO: Get rid of EFIXME
apio pushed to main at apio/Luna 2023-05-02 08:52:40 +00:00
0fad179485 apps+libc+libos: Remove _LUNA_SYSTEM_ERROR_EXTENSIONS and reorder headers
052ae4902e libluna: Remove EFIXME and make others declare error_string() and error_name()
7058ec945a libluna: Use a String for name and handle prefix correctly in TarStream
6982a8c07e libluna: Make String::from_string_view handle non-null-terminated strings properly
1444cbb3df libluna: Allow constructing a StringView from a string that might not be null-terminated
Compare 5 commits »
apio pushed to main at apio/Luna 2023-05-01 18:05:17 +00:00
1d6a39c924 libluna: Make String::split() inline
apio pushed to main at apio/Luna 2023-05-01 18:03:22 +00:00
376247ba8a libluna: Add String::from_string_view()
53ec448e33 ls: Add the -l flag
2572d5b238 libc: Add wrapper for the fstatat() system call
458e0a87cc libc: Fix S_IS* macros
Compare 4 commits »
apio pushed to main at apio/Luna 2023-05-01 17:32:07 +00:00
48df90e636 libos+apps: Use os::*print* instead of (f)printf
a2303665fc libos: Add os:: print(), println(), eprint(), and eprintln()
df590f4e26 libluna: Add String::join()
Compare 3 commits »
apio pushed to main at apio/Luna 2023-05-01 17:06:39 +00:00
7fbc644753 libc: Add clearenv
apio pushed to main at apio/Luna 2023-04-30 12:46:44 +00:00
967758d464 libc: Implement setenv() and unsetenv()
apio pushed to main at apio/Luna 2023-04-28 20:42:02 +00:00
ac4bbd135b libos: Add Directory::list()
apio pushed to main at apio/Luna 2023-04-28 19:17:01 +00:00
6c5d6aaf00 libos: Make remove_tree_at use os::Directory
3e277b5d6f libos: Introduce os::Directory
8adfb6fdb9 libluna: Leave String in a valid state when moved
Compare 3 commits »
apio pushed to main at apio/Luna 2023-04-28 18:02:55 +00:00
ae7c841fff tests: Make building tests optional, although with no option to toggle them on for now
b34f2149ee tests: Test libluna's UTF-8 suite
c5a867d81c libluna: Add wcscmp
15dcd6ad15 libluna: Check the whole string in Utf8StringDecoder::code_points()
b4a5aff071 libluna: Fix UTF-8 encoding
Compare 5 commits »
apio pushed to main at apio/Luna 2023-04-28 14:33:16 +00:00
80914f0bb9 ArgumentParser: Add support for version information
apio pushed to main at apio/Luna 2023-04-28 13:55:35 +00:00
0c1d33f2ec kernel: Move some files into subdirectories
apio pushed to main at apio/Luna 2023-04-28 13:22:22 +00:00
52ce4b28aa Scheduler: Remove redundant check in for_each_child
apio pushed to main at apio/Luna 2023-04-28 13:19:07 +00:00
7b4cfd52cd Scheduler: Don't search threads spawned before the current thread to find children
bcdec62f51 kernel: Allow returning early from Scheduler::for_each_child
f3ffdd32d4 libluna: Add support for range-based iteration to LinkedList
Compare 3 commits »