Commit Graph

2180 Commits

Author SHA1 Message Date
1de85aa4be
wind: Stop using the removed 'signal' pledge
All checks were successful
continuous-integration/drone/pr Build is passing
2023-08-22 13:37:07 +02:00
58cb1e763f
libui: Install the built library into the system root
All checks were successful
continuous-integration/drone/pr Build is passing
2023-08-22 13:36:47 +02:00
35d8075c4e
wind: Show memory usage in debug output 2023-08-22 13:36:47 +02:00
4462651138
wind: Handle ftruncate() and mmap() errors properly 2023-08-22 13:36:47 +02:00
686db5a1de
wind: Fix client references being out-of-date in windows when disconnecting other clients
Classic "keeping a pointer to an element inside a vector after the vector is updated" bug, ah yes.
2023-08-22 13:36:47 +02:00
550c93318c
taskbar: Wait for terminated child windows 2023-08-22 13:36:47 +02:00
55660511f7
wind: Add debug keybind 2023-08-22 13:36:47 +02:00
76ac39b3b4
wind+libos+libui: Handle interrupted reads properly 2023-08-22 13:36:47 +02:00
97305c0212
base: Actually add the start icon to source control 2023-08-22 13:36:47 +02:00
c54504bd22
libui: Add Buttons 2023-08-22 13:36:47 +02:00
c632112213
libui: Handle other mouse events 2023-08-22 13:36:47 +02:00
db2710099b
libui: Add aligned items using Containers, ImageWidget 2023-08-22 13:36:46 +02:00
042e154271
libui: Add VerticalLayout 2023-08-22 13:36:46 +02:00
2ea0a303b4
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-22 13:36:46 +02:00
da759d3b96
libui: Actually fill window backgrounds with the correct color 2023-08-22 13:36:46 +02:00
390d55243d
libui: Add basic widget and layout system =D 2023-08-22 13:36:46 +02:00
cac62db038
ui+wind: Send mouse move events through IPC 2023-08-22 13:36:46 +02:00
0e61c7b62d
wind+libui: Add protocol for window close requests 2023-08-22 13:36:46 +02:00
69bf171787
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-22 13:36:46 +02:00
46524ecc1d
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-22 13:36:46 +02:00
87f3922486
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-22 13:36:46 +02:00
ade6493fe6
gclient: Create two example windows 2023-08-22 13:36:45 +02:00
4a4e193559
wind: Handle CreateWindow IPC messages 2023-08-22 13:36:45 +02:00
7e4f4b91f8
libui: Add CreateWindow IPC message definitions 2023-08-22 13:36:45 +02:00
2bf0881fc1
libos: Add basic IPC message framework 2023-08-22 13:36:45 +02:00
180e9bd5b4
kernel: Fix poll syscall 2023-08-22 13:36:45 +02:00
886c393024
wind: Monitor data on client connections 2023-08-22 13:36:45 +02:00
4de29a09d2
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-22 13:36:45 +02:00
e1d7de2f21
libui: Add copyright/author text 2023-08-22 13:36:45 +02:00
7449f1a519
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-22 13:36:45 +02:00
688bd652dc
wind: Use init --user and pledge() 2023-08-22 13:36:45 +02:00
e679731a18
Update .gitignore 2023-08-22 13:36:44 +02:00
6727dc034a
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-22 13:36:44 +02:00
f31a90df16
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-22 13:36:44 +02:00
3686a25a76
apps: Add gclient 2023-08-22 13:36:44 +02:00
0871895cc5
libos: Add os::LocalClient 2023-08-22 13:36:44 +02:00
5085604aab
libui: Change 'into' to 'onto' 2023-08-22 13:36:44 +02:00
aa82c088a0
libui: Document ui::Font 2023-08-22 13:36:44 +02:00
ecd8c4c29c
libui+wind: Move some static variables inside functions 2023-08-22 13:36:44 +02:00
88141727a2
wind: Generate random windows on keypresses 2023-08-22 13:36:44 +02:00
bcf6bc3c97
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-22 13:36:44 +02:00
3e6c9dbaa2
libui: Properly cut off the last drawn character if necessary 2023-08-22 13:36:43 +02:00
b1299aef9e
libui: Add Rect::contains(Rect) 2023-08-22 13:36:43 +02:00
594f42fdd6
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-22 13:36:43 +02:00
45ff38f5e3
wind: Render an actual TGA mouse cursor 2023-08-22 13:36:43 +02:00
8b02bfebdb
wind: Add a close button to windows using a TGA icon 2023-08-22 13:36:43 +02:00
9382ec9eca
libui: Add support for TGA image loading 2023-08-22 13:36:43 +02:00
58f839927c
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-22 13:36:43 +02:00
72704e445a
wind: Add window titlebars using ui::Font 2023-08-22 13:36:43 +02:00
7bc0f36661
libui: Add PSF font loading and rendering 2023-08-22 13:36:43 +02:00