Commit Graph

2126 Commits

Author SHA1 Message Date
b614fa04de
libui: Add copyright/author text 2023-08-14 12:34:27 +02:00
561d737f6c
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-14 12:31:09 +02:00
c0ca99bc7c
wind: Use init --user and pledge()
Some checks failed
continuous-integration/drone/pr Build is failing
2023-08-14 11:08:52 +02:00
e3c210b437
Update .gitignore 2023-08-14 11:08:51 +02:00
0f46868cce
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-14 11:08:51 +02:00
b53df986ca
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-14 11:08:51 +02:00
b2c5598ebd
apps: Add gclient 2023-08-14 11:08:51 +02:00
9722e9def8
libos: Add os::LocalClient 2023-08-14 11:08:51 +02:00
4382c3686b
libui: Change 'into' to 'onto' 2023-08-14 11:08:50 +02:00
ebd44b72ec
libui: Document ui::Font 2023-08-14 11:08:50 +02:00
c49b8e48f4
libui+wind: Move some static variables inside functions 2023-08-14 11:08:50 +02:00
853d0421a0
wind: Generate random windows on keypresses 2023-08-14 11:08:50 +02:00
2ed9e1aa93
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-14 11:08:50 +02:00
16f058f4df
libui: Properly cut off the last drawn character if necessary 2023-08-14 11:08:49 +02:00
3509c93ef4
libui: Add Rect::contains(Rect) 2023-08-14 11:08:49 +02:00
742f5810c2
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-14 11:08:49 +02:00
02ecdd65eb
wind: Render an actual TGA mouse cursor 2023-08-14 11:08:49 +02:00
8d97a83acf
wind: Add a close button to windows using a TGA icon 2023-08-14 11:08:48 +02:00
61636792cd
libui: Add support for TGA image loading 2023-08-14 11:08:48 +02:00
81a2d0a039
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-14 11:08:48 +02:00
2533d39bd4
wind: Add window titlebars using ui::Font 2023-08-14 11:08:48 +02:00
f371db3049
libui: Add PSF font loading and rendering 2023-08-14 11:08:48 +02:00
1492c5be96
libui: Add Color::GRAY 2023-08-14 11:08:48 +02:00
85c045e16b
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-14 11:08:47 +02:00
c8232b97d7
libluna: Add assignment operators to Buffer 2023-08-14 11:08:47 +02:00
7ed2bc83fe
wind: Reorder drag sequence 2023-08-14 11:08:47 +02:00
07e27d4d9c
libui: Add Rect::relative 2023-08-14 11:08:47 +02:00
e108d613cd
libui: Remove redundant statement 2023-08-14 11:08:47 +02:00
a8266f72cb
libui: Add getters for separate color values 2023-08-14 11:08:47 +02:00
2ea609df93
libui: Remove unnecessary stuff 2023-08-14 11:08:46 +02:00
25d0a4ad4c
base: Remove startup items not necessary for GUI startup 2023-08-14 11:08:46 +02:00
2f28ecd027
libui+wind: (Draggable) windows 2023-08-14 11:08:46 +02:00
fb5fdfc290
wind: Create a local server object 2023-08-14 11:08:46 +02:00
069525ecff
libos: Add a new LocalServer class for local domain sockets 2023-08-14 11:08:45 +02:00
c49ac8391e
kernel: Support listening sockets in poll() 2023-08-14 11:08:45 +02:00
e30acc855a
base: Start wind on startup instead of the shell 2023-08-14 11:08:45 +02:00
eba68703b2
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-14 11:08:45 +02:00
c219dc926a
libui: Add a GUI and graphics library 2023-08-14 11:08:45 +02:00
a1fcb87086
kernel: Fix negative movement in the PS/2 mouse driver 2023-08-14 11:08:44 +02:00
db3151d93b
init: Add some missing pledges
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-14 11:08:19 +02:00
ba3e32917e
init: Support starting services as a separate user
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-14 10:46:45 +02:00
cfb60fad25
init: Use pledge and support init --user 2023-08-14 10:46:28 +02:00
9954fc1658
libos: Add a pledge wrapper 2023-08-14 10:45:00 +02:00
a98df9e743
kernel: Return EACCES when trying to apply execpromises to a setuid program
Closes #41.
2023-08-14 09:50:52 +02:00
e2a77bb3da
kernel+libc: Add pledge support
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-12 21:38:25 +02:00
0ae409ae22
ports: Some enhancements in make-package.sh
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-11 18:25:07 +02:00
181b4c151b
tools: Build libstdc++ 2023-08-11 18:24:38 +02:00
0c64b6e040
libc: Add some stub network-related header files 2023-08-11 18:09:45 +02:00
fb3c31907d
fix 2023-08-11 18:09:28 +02:00
52064e0317
libc+kernel: Add alarm() and getpagesize() 2023-08-11 18:09:12 +02:00