Commit Graph

2199 Commits

Author SHA1 Message Date
51ef9536d3
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-04 12:16:51 +02:00
87a54a6187
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-04 12:16:51 +02:00
35b645c5c9
gclient: Create two example windows 2023-09-04 12:16:51 +02:00
5b875bc12a
wind: Handle CreateWindow IPC messages 2023-09-04 12:16:51 +02:00
e35c940bd9
libui: Add CreateWindow IPC message definitions 2023-09-04 12:16:50 +02:00
63098bb5af
libos: Add basic IPC message framework 2023-09-04 12:16:50 +02:00
133541b7e4
kernel: Fix poll syscall 2023-09-04 12:16:50 +02:00
0629719975
wind: Monitor data on client connections 2023-09-04 12:16:50 +02:00
39278465ac
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-09-04 12:16:50 +02:00
210d322886
libui: Add copyright/author text 2023-09-04 12:16:50 +02:00
4011aa0467
libos: Add copyright/author comments to LocalServer and LocalClient 2023-09-04 12:16:50 +02:00
0aaac192d8
wind: Use init --user and pledge() 2023-09-04 12:16:49 +02:00
a703238ff9
Update .gitignore 2023-09-04 12:16:49 +02:00
8e2def7d88
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-04 12:16:49 +02:00
bfa5ce4c00
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-04 12:16:49 +02:00
1aa0406649
apps: Add gclient 2023-09-04 12:16:49 +02:00
8ebc5e88a6
libos: Add os::LocalClient 2023-09-04 12:16:49 +02:00
b380d84347
libui: Change 'into' to 'onto' 2023-09-04 12:16:48 +02:00
2d7ece4e9b
libui: Document ui::Font 2023-09-04 12:16:48 +02:00
1c4f2dfb15
libui+wind: Move some static variables inside functions 2023-09-04 12:16:48 +02:00
7066a976c3
wind: Generate random windows on keypresses 2023-09-04 12:16:48 +02:00
3442ae0bdb
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-04 12:16:48 +02:00
d6b7a4a921
libui: Properly cut off the last drawn character if necessary 2023-09-04 12:16:48 +02:00
feb84ac3fa
libui: Add Rect::contains(Rect) 2023-09-04 12:16:47 +02:00
80c8a80301
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-04 12:16:47 +02:00
0fcd984c21
wind: Render an actual TGA mouse cursor 2023-09-04 12:16:47 +02:00
3755d4c0a3
wind: Add a close button to windows using a TGA icon 2023-09-04 12:16:47 +02:00
218278fb22
libui: Add support for TGA image loading 2023-09-04 12:16:47 +02:00
117edb3e90
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-04 12:16:47 +02:00
739b05ab67
wind: Add window titlebars using ui::Font 2023-09-04 12:16:47 +02:00
dd3611cb25
libui: Add PSF font loading and rendering 2023-09-04 12:16:46 +02:00
e932efd72c
libui: Add Color::GRAY 2023-09-04 12:16:46 +02:00
35d07206d7
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-04 12:16:46 +02:00
40143597d8
libluna: Add assignment operators to Buffer 2023-09-04 12:16:46 +02:00
f90634e1b1
wind: Reorder drag sequence 2023-09-04 12:16:46 +02:00
f61dd9ba99
libui: Add Rect::relative 2023-09-04 12:16:46 +02:00
eef6483192
libui: Remove redundant statement 2023-09-04 12:16:45 +02:00
88fb4be5ed
libui: Add getters for separate color values 2023-09-04 12:16:45 +02:00
94c06379ea
libui: Remove unnecessary stuff 2023-09-04 12:16:45 +02:00
156092cbbb
base: Remove startup items not necessary for GUI startup 2023-09-04 12:16:45 +02:00
4933e1e32c
libui+wind: (Draggable) windows 2023-09-04 12:16:45 +02:00
2a22b751e9
wind: Create a local server object 2023-09-04 12:16:45 +02:00
ea4e374718
libos: Add a new LocalServer class for local domain sockets 2023-09-04 12:16:44 +02:00
6191039bfb
kernel: Support listening sockets in poll() 2023-09-04 12:16:44 +02:00
b222221517
base: Start wind on startup instead of the shell 2023-09-04 12:16:44 +02:00
c17f6d0e57
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-09-04 12:16:44 +02:00
4502073b7d
libui: Add a GUI and graphics library 2023-09-04 12:16:44 +02:00
6fe2343233
kernel: Fix negative movement in the PS/2 mouse driver 2023-09-04 12:16:40 +02:00
27eacac19c
kernel: Add a blinking cursor to the terminal
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 11:44:35 +02:00
c5e11bb6cf
apps+base+libc: Use /usr/bin paths instead of /bin everywhere 2023-09-04 11:44:10 +02:00