Commit Graph

2386 Commits

Author SHA1 Message Date
49f84c9dda
Set ubuntu version to latest
Some checks failed
Build and test / build (push) Failing after 2m3s
2024-02-06 22:43:28 +01:00
f5c0e724d5
Update ubuntu version to 22.04
Some checks failed
Build and test / build (push) Failing after 2m0s
2024-02-06 22:40:38 +01:00
ac3175cf26
Remove old drone.yml
Some checks failed
Build and test / build (push) Has been cancelled
Now that we use Gitea Actions, this is no longer needed.
2024-02-06 22:38:27 +01:00
a78620a7d2
Update workflow
Some checks failed
Build and test / build (push) Failing after 2m25s
2024-02-06 21:32:27 +01:00
fcd8c1d583
Update workflow
Some checks failed
Build and test / build (push) Failing after 2m20s
2024-02-04 14:40:07 +01:00
e1c2dfb9ba
Update workflow
Some checks failed
Build and test / build (push) Failing after 9s
2024-02-04 14:39:31 +01:00
7fcc0659c8
Update workflow
Some checks failed
Build and test / build (push) Failing after 7s
2024-02-04 14:39:07 +01:00
3fc5f2b836
Update workflow
Some checks failed
Build and test / build (push) Failing after 0s
2024-02-04 14:38:34 +01:00
64965cd322
Update workflow 2024-02-04 14:38:01 +01:00
d0ad103e3d
Update workflow
Some checks failed
Build and test / build (push) Failing after 0s
2024-02-04 14:36:48 +01:00
3728558b13
Update workflow
Some checks failed
Build and test / build (push) Failing after 9s
2024-02-04 14:33:30 +01:00
7cd6e9b12a
Update workflow
Some checks failed
Build and test / build (push) Failing after 7s
2024-02-04 14:30:30 +01:00
e02dee1f41
Update workflow
Some checks failed
Build and test / build (push) Failing after 50s
2024-02-04 14:27:20 +01:00
ab2700ef5d
Update workflow
Some checks failed
Build and test / build (push) Failing after 2s
2024-02-04 14:25:59 +01:00
bb18749d5b
Update build workflow 2024-02-04 14:24:22 +01:00
d4b368b078
Update build workflow 2024-02-04 14:18:51 +01:00
7f2a65f6d6
Add basic actions file
Some checks failed
Build and test / build (push) Has been cancelled
2024-02-04 14:16:01 +01:00
02f8102d38
wind+libui+taskbar: Add a request for setting special window attributes
This lets the taskbar window stay unfocused even when it's clicked.
2024-02-04 13:35:50 +01:00
9bb66716a4
libui: Move WindowType from ipc/Server.h to Window.h as it is no longer used in IPC 2024-02-04 13:16:50 +01:00
b9ccda132a
wind+libui: Rename SetTitlebarRect to SetTitlebarHeight
We only need the height to be customizable.
2024-02-04 13:13:21 +01:00
b8470f753b
startui: Move socket file checking around a bit 2024-02-03 19:35:40 +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
6bdf3169d2
kernel: Handle aborted connections instead of crashing 2024-02-03 19:15:19 +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
a7ff298852
wind: Add a second unix socket for privileged clients which need to be in a different group 2024-02-01 21:57:40 +01:00
ca5b4de2d8
libui+apps: Change ui::App::init() to take the socket path directly instead of command-line arguments 2024-02-01 21:15:31 +01:00
f8a39ffeec
startui: Change mismatched parameter name 2024-01-31 22:45:11 +01:00
d440559d54
startui: Fix typo 2024-01-31 22:43:40 +01:00
443d8957f3
apps: Add startui
This service starts a complete UI session (wind, components, and init --user), all with their respective privileges.

This lets us move that responsibility away from wind and let it be only a window manager.
2024-01-31 22:42:24 +01:00
ea14dab7d7
wind: Stop using magic numbers for user and group IDs 2024-01-30 20:26:54 +01:00
16223b2f53
init: Add a (user) prefix to logs when not running as system init 2024-01-19 21:21:07 +01:00
9c36ef6e9e
terminal: Stop setting the pty to nonblocking mode when it's not needed 2024-01-19 21:18:01 +01:00
63f785563d
terminal: Use proper lambda functions when registering a fd listener for the pseudoterminal 2024-01-19 21:11:03 +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
cee677b1f7
libui: Make App::process_events() private
Previously this was public as some applications (mainly terminal) needed to run some code in-between events, but this is no longer needed, due to the EventLoop providing these services (timers and file descriptor notifiers)
2024-01-08 19:13:47 +01:00
e4c9211edc
terminal: Use os::Timer and EventLoop::register_fd_listener 2024-01-08 19:04:04 +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
fd402083d7
kernel: Fix kernel panic when adding a timer before another one
This was caused because add_to_timer_queue() did not set active_clock when inserting a timer before the end, making disarm() a no-op.
Therefore, the clock would continue to use the timer after it had been freed.
2024-01-06 18:12:25 +01:00
4019cf90cf
kernel: Unify panic messages 2024-01-06 17:44:56 +01:00
1f2f676ea4
Update gitignore rules 2024-01-06 17:31:00 +01:00
075ed83764
Add about icon to git
Apparently, I had skipped this one, I really need to improve these
gitignore rules.
2024-01-06 17:23:14 +01:00
7f6863c093
apps: Use os::Timer instead of os::EventLoop::register_timer 2024-01-05 22:18:12 +01:00
a9c339939a
libos: Move timer handling to a separate class and use POSIX timers 2024-01-05 22:16:50 +01:00
3231a1296d
libc: Add support for POSIX timers 2024-01-05 22:15:06 +01:00
17b44a8ce6
kernel: Reenable stack tracing in kernel-mode exceptions
Stack tracing in user-mode exceptions was moved to when a signal kills the process, but this isn't done for kernel-mode exceptions so there was no stack trace anymore.
2024-01-05 22:14:31 +01:00
41c90aa436
kernel: Add POSIX timer support 2024-01-05 22:12:58 +01:00
f8cc093e17
tools: Add useful script to develop ports 2024-01-04 21:04:58 +01:00
64a941dc18
ports: Use --enable-initfini-array in gcc and binutils ports 2024-01-04 21:04:45 +01:00