8e1a0d0e13
libos+LICENSE: Update copyright year
...
Build and test / build (push) Failing after 1m37s
Happy new year!
2025-01-06 16:10:00 +01:00
53f8a583dc
libluna+libos+libui: Move Action to libluna and make it usable in the kernel
...
Build and test / build (push) Failing after 1m21s
This commit adds an error-propagating constructor for Action and Function, which makes them usable in the kernel.
2024-10-19 21:25:17 +02:00
38fcd8e3e1
libos: Stop timers in the destructor if needed
...
Fixes some bug in InputField causing a crash.
2024-09-19 18:26:42 +02:00
17a31e5ea9
libos: Add more constructor variants for Action/Function
2024-09-18 21:44:46 +02:00
12ab71ee40
libos: Support comments in config files
Build and test / build (push) Successful in 1m45s
2024-09-14 15:12:36 +02:00
bb6759986e
libos/LocalServer: Clean up socket file on exit
...
This doesn't work if the process is killed by an unhandled signal.
2024-09-07 17:33:01 +02:00
7c0ff8c75a
libos+init: Add a standard API for config file access
Build and test / build (push) Successful in 1m50s
2024-09-01 12:40:37 +02:00
0ab8efd405
libos+init: Add a Notifier API to know when child processes have finished initialization
...
init now supports the "WaitUntilReady" key, which will wait until the child calls os::IPC::notify_parent().
2024-07-31 19:43:09 +02:00
2aefbdc4ee
libos: Fix Action
2024-07-31 19:32:47 +02:00
e0ed4be0db
libos: Change the year in the default ArgumentParser copyright message
...
Build and test / build (push) Failing after 12m48s
Almost four months into 2024, I finally remembered that I had to change this.
2024-04-20 17:24:26 +02:00
7d69ac56e2
apps+libos+shell+wind: Correct a bunch of format strings
Build and test / build (push) Successful in 1m41s
2024-03-29 14:42:38 +01:00
f9b39c5ff3
libos: Add ways to format output to a File
2024-03-29 14:41:45 +01:00
d70effd1db
libos: Clarify requirements for File::write
2024-03-29 14:25:14 +01:00
06b8a41d2f
launch: Add support for PATH searching
2024-03-20 19:57:43 +01:00
909d0ed289
libos+wind+apps: Make IPC code object-oriented and add functionality for properly receiving messages
...
This functionality previously had to be repeated across all server programs using the IPC API.
2024-02-03 19:16:39 +01:00
75d0d12b71
apps: Add a background launcher service
...
This service is used only by taskbar, for now, to launch apps with regular privileges instead of inheriting the special group 'wsys'.
2024-02-01 21:58:44 +01:00
1cd355a8e8
libos: Add Function<Args...> and use that to make EventLoop callbacks more versatile
2024-01-18 20:52:36 +01:00
d4d748e153
terminal: Remove m_cursor_timer->restart() from tick_cursor()
...
Since the timer was created as a repeating timer, it is already restarted after the function.
2024-01-13 16:26:37 +01:00
6bf8225f63
libos: Add Timer::reset, restart and stop
2024-01-08 19:01:59 +01:00
1223c6c20b
libos: Add FIXME to EventLoop
2024-01-08 19:01:39 +01:00
a9c339939a
libos: Move timer handling to a separate class and use POSIX timers
2024-01-05 22:16:50 +01:00
73a7d4f2a1
wind+libui: Run wind as a separate user
continuous-integration/drone/push Build is passing
2023-11-22 21:31:08 +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
06aa7725a1
libos: Stop using syscalls directly and proxy to libc
2023-09-02 14:27:04 +02:00
cbea66c533
libos+libluna: Fix misspellings of "succeeded"
2023-08-26 20:49:57 +02:00
2abb43d709
kernel+libos: Call Vector::try_reserve where it is appropriate
continuous-integration/drone/push Build is failing
2023-08-22 11:54:00 +02:00
30ff704342
libluna+libos: Install built libraries into the system root
...
continuous-integration/drone/push Build is failing
This is less important for libluna, as it is built into libc, but is needed to link programs compiled inside Luna with libos.
2023-08-21 14:06:32 +02:00
9954fc1658
libos: Add a pledge wrapper
2023-08-14 10:45:00 +02:00
2e63b93e48
libos: Remove debug statements from Process::spawn()
continuous-integration/drone/push Build is passing
2023-08-07 22:53:37 +02:00
77ebdda2e0
libos: Add Process::spawn()
continuous-integration/drone/push Build is passing
2023-08-07 22:49:12 +02:00
df77fc8de8
libluna: Remove make_array() and destroy_array()
...
Placement new on arrays is a bit unreliable and could cause out-of-bounds data accesses.
2023-08-02 14:47:58 +02:00
aac8280e8a
libc+libos: Properly propagate errors through fgetc() and File::getchar()
...
This restores proper ^C behavior in the shell.
2023-08-02 14:46:47 +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
200bb6c240
kernel+libc+libos: Add inode type for sockets
2023-07-30 11:33:05 +02:00