Commit Graph

2174 Commits

Author SHA1 Message Date
44f2a4e97e
libui: Install the built library into the system root
Some checks failed
continuous-integration/drone/pr Build is failing
2023-08-22 11:54:23 +02:00
db9b9c53e9
wind: Show memory usage in debug output 2023-08-22 11:54:23 +02:00
a5217a1401
wind: Handle ftruncate() and mmap() errors properly 2023-08-22 11:54:22 +02:00
86e6e7aea5
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 11:54:22 +02:00
3efa9e267a
taskbar: Wait for terminated child windows 2023-08-22 11:54:22 +02:00
62673876fb
wind: Add debug keybind 2023-08-22 11:54:22 +02:00
ca2fb9e442
wind+libos+libui: Handle interrupted reads properly 2023-08-22 11:54:22 +02:00
e743c83fe0
base: Actually add the start icon to source control 2023-08-22 11:54:22 +02:00
38d0a42eac
libui: Add Buttons 2023-08-22 11:54:21 +02:00
1e5a762620
libui: Handle other mouse events 2023-08-22 11:54:21 +02:00
491e46cfcb
libui: Add aligned items using Containers, ImageWidget 2023-08-22 11:54:21 +02:00
3009920c0e
libui: Add VerticalLayout 2023-08-22 11:54:21 +02:00
bfbe166679
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-22 11:54:21 +02:00
73e3c271ff
libui: Actually fill window backgrounds with the correct color 2023-08-22 11:54:21 +02:00
e3a6877962
libui: Add basic widget and layout system =D 2023-08-22 11:54:20 +02:00
526af76d51
ui+wind: Send mouse move events through IPC 2023-08-22 11:54:20 +02:00
c6a67d9361
wind+libui: Add protocol for window close requests 2023-08-22 11:54:20 +02:00
610e3c9c80
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-22 11:54:20 +02:00
b55287e0a1
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-22 11:54:20 +02:00
ec50a03f1b
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-22 11:54:20 +02:00
c233c9b98e
gclient: Create two example windows 2023-08-22 11:54:19 +02:00
570b9464c6
wind: Handle CreateWindow IPC messages 2023-08-22 11:54:19 +02:00
c45c153773
libui: Add CreateWindow IPC message definitions 2023-08-22 11:54:19 +02:00
0d3983432e
libos: Add basic IPC message framework 2023-08-22 11:54:19 +02:00
6efd55dce8
kernel: Fix poll syscall 2023-08-22 11:54:19 +02:00
63c8f4131f
wind: Monitor data on client connections 2023-08-22 11:54:19 +02:00
03dc260ba9
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-22 11:54:19 +02:00
cfabd62687
libui: Add copyright/author text 2023-08-22 11:54:18 +02:00
4c91191b4e
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-22 11:54:18 +02:00
a281a35806
wind: Use init --user and pledge() 2023-08-22 11:54:18 +02:00
c835979f9f
Update .gitignore 2023-08-22 11:54:18 +02:00
4da16c1eaa
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-22 11:54:18 +02:00
e6ef86e620
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-22 11:54:18 +02:00
2e50829d0a
apps: Add gclient 2023-08-22 11:54:17 +02:00
676b95af04
libos: Add os::LocalClient 2023-08-22 11:54:17 +02:00
6b47a8c732
libui: Change 'into' to 'onto' 2023-08-22 11:54:17 +02:00
8346adf87f
libui: Document ui::Font 2023-08-22 11:54:17 +02:00
897ef6f91d
libui+wind: Move some static variables inside functions 2023-08-22 11:54:17 +02:00
290f391ea9
wind: Generate random windows on keypresses 2023-08-22 11:54:17 +02:00
708b408861
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-22 11:54:16 +02:00
d8ae676faa
libui: Properly cut off the last drawn character if necessary 2023-08-22 11:54:16 +02:00
88961e1cc3
libui: Add Rect::contains(Rect) 2023-08-22 11:54:16 +02:00
8f61062b72
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-22 11:54:16 +02:00
9a47d84313
wind: Render an actual TGA mouse cursor 2023-08-22 11:54:16 +02:00
593e37a0f4
wind: Add a close button to windows using a TGA icon 2023-08-22 11:54:16 +02:00
2134a55a3a
libui: Add support for TGA image loading 2023-08-22 11:54:15 +02:00
a04759aa0e
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-22 11:54:15 +02:00
ec5fad5b21
wind: Add window titlebars using ui::Font 2023-08-22 11:54:15 +02:00
6656e2164a
libui: Add PSF font loading and rendering 2023-08-22 11:54:15 +02:00
d4ca297a68
libui: Add Color::GRAY 2023-08-22 11:54:15 +02:00