6bf8225f63
libos: Add Timer::reset, restart and stop
2024-01-08 19:01:59 +01:00
a9c339939a
libos: Move timer handling to a separate class and use POSIX timers
2024-01-05 22:16:50 +01:00
8a57d8a9b7
libos: Use setitimer() for millisecond precision
2023-11-16 21:58:45 +01:00
4d5feb0f3b
libos: Add File::seek() and File::tell()
continuous-integration/drone/push Build is passing
2023-10-24 20:02:09 +02:00
e18ca9bfe0
libos: Document Action.h
2023-10-10 22:11:12 +02:00
0824ba7e23
libos: Add timers to event loops
...
Only second precision for now, as alarm() is used to control the timers. Hopefully setitimer() or timer_create() can be added to the kernel soon to benefit from more precision.
2023-10-09 22:00:15 +02:00
0b2a835336
libui+libos: Move Action to libos
2023-10-07 15:31:50 +02:00
945cfab3eb
libos: Add signal handling to event loops
continuous-integration/drone/push Build is passing
2023-10-07 14:26:35 +02:00
5892a6bf09
libos+libui: Add event loops
continuous-integration/drone/push Build is passing
2023-10-06 22:06:34 +02:00
5db1c3722c
libui+wind+libos: Move shared memory handling code to os::SharedMemory
2023-09-20 07:05:57 +02:00
7e7f0a96f5
wind+libos+libui: Handle interrupted reads properly
2023-09-20 07:05:55 +02:00
2328987d81
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields
2023-09-20 07:05:54 +02:00
9125561cab
libos: Add basic IPC message framework
2023-09-20 07:05:53 +02:00
02b9dc579b
libos: Add copyright/author comments to LocalServer and LocalClient
2023-09-20 07:05:52 +02:00
1c50d5133f
libos: Remove some shared pointers and change them to owned/live on the stack
2023-09-20 07:05:52 +02:00
03096680ae
libos: Add os::LocalClient
2023-09-20 07:05:51 +02:00
b6fe96e364
libos: Add a new LocalServer class for local domain sockets
2023-09-20 07:05:49 +02:00
cb0d5cb6a1
rm: Add the -v flag
continuous-integration/drone/push Build is passing
2023-09-02 14:46:14 +02:00
cbea66c533
libos+libluna: Fix misspellings of "succeeded"
2023-08-26 20:49:57 +02:00
9954fc1658
libos: Add a pledge wrapper
2023-08-14 10:45:00 +02:00
77ebdda2e0
libos: Add Process::spawn()
continuous-integration/drone/push Build is passing
2023-08-07 22:49:12 +02:00
7983d63b8e
libos: Add documentation for os::File::BufferingMode
continuous-integration/drone/push Build is passing
2023-08-02 13:15:51 +02:00
b17793134e
libos: Let users change the buffering mode of a File
2023-08-02 11:54:47 +02:00
4ed7ec5e93
libluna: Store SharedPtr's ref count in the object itself
continuous-integration/drone/push Build is passing
2023-07-30 11:32:46 +02:00
eeb9e16a74
libos: Make os::File a wrapper around stdio's FILE
...
continuous-integration/drone/push Build is passing
This way, os::File benefits from the same buffering as stdio.h does.
2023-07-22 12:40:02 +02:00
5458286309
libos: Add Process::exit()
continuous-integration/drone/push Build is passing
2023-07-21 21:21:08 +02:00
4439ef8ec6
sh: Add a system to easily add flexible shell builtins
continuous-integration/drone/push Build is passing
2023-07-21 20:44:01 +02:00
82411789e8
libos+apps: Add kill
continuous-integration/drone/push Build is passing
2023-07-10 22:17:05 +02:00
5c9503ac71
libos+cp: Add prompt functionality
continuous-integration/drone/push Build is passing
2023-07-08 18:30:39 +02:00
6d9ba8deb4
libos+apps: Make the vector argument more flexible
continuous-integration/drone/push Build is passing
2023-07-08 16:44:02 +02:00
2f08e0f5b0
libos: Make long value arguments use '=' and make value arguments' values always required
continuous-integration/drone/push Build is passing
2023-06-17 20:58:54 +02:00
da1439126a
libos: Correct wrong manpage section for execve()
continuous-integration/drone/push Build is passing
2023-06-09 23:35:23 +02:00
e4e501ecfe
libos: Add Process::wait()
continuous-integration/drone/push Build is passing
2023-06-09 23:12:31 +02:00
bc07cc94cb
libos: Document it entirely using Doxygen comments =D
...
continuous-integration/drone/push Build is passing
Also, add copyright information to individual files. This is going to be a hassle to do for EVERY file.
2023-06-09 22:45:06 +02:00
d40654a00c
libos+ls: Allow calling ArgumentParser::short_usage() directly
continuous-integration/drone/push Build is passing
2023-05-28 21:57:04 +02:00
e864ef2d36
libos: Add a way to also list entry sizes, modes and mtimes
2023-05-28 21:51:50 +02:00
38fae0c97b
ls: Show file modes visually
continuous-integration/drone/push Build is passing
2023-05-26 18:22:50 +02:00
1a6ad11462
kernel+libc+libos+ls: Add readlink()
continuous-integration/drone/push Build is passing
2023-05-23 15:42:38 +02:00
7a8ef52408
libos: Support not following symlinks
2023-05-20 21:49:25 +02:00
1fa8aeecce
libos: Allow Process::exec to take a slice of StringViews instead of Strings as arguments
2023-05-20 12:47:10 +02:00
65d3195caa
libos: Allow ArgumentParser users to specify they want leftover arguments
continuous-integration/drone/push Build is passing
2023-05-13 13:22:10 +02:00
300d68088b
libos: Add FileSystem::stat()
continuous-integration/drone/push Build is passing
2023-05-12 23:47:20 +02:00
3eb78aa5f3
libos+init: Add a new Path class to handle both file descriptors and file paths
continuous-integration/drone/push Build is passing
2023-05-03 17:37:26 +02:00
a2303665fc
libos: Add os:: print(), println(), eprint(), and eprintln()
2023-05-01 19:31:15 +02:00
ac4bbd135b
libos: Add Directory::list()
continuous-integration/drone/push Build is passing
2023-04-28 22:41:44 +02:00
3e277b5d6f
libos: Introduce os::Directory
2023-04-28 21:16:43 +02:00
80914f0bb9
ArgumentParser: Add support for version information
continuous-integration/drone/push Build is passing
2023-04-28 16:33:05 +02:00
cb28e2a385
libos: Add a convenience function for opening a file or standard input
2023-04-26 20:41:03 +02:00
fb09eb97ce
libos: Add File::read_all() and File::read_all_as_string()
2023-04-26 20:34:09 +02:00
5b69ce554c
init: Add a few more configuration options for services
...
continuous-integration/drone/push Build is passing
Notably, redirecting a service's standard streams and waiting for a service to finish before continuing boot.
2023-04-25 21:00:12 +02:00