38f799ce39
libos: Remove some shared pointers and change them to owned/live on the stack
continuous-integration/drone/pr Build is passing
2023-08-08 16:34:38 +02:00
fac7a68445
wind: Spawn a new client process after startup
...
Also, create the socket after dropping privileges.
2023-08-08 16:34:38 +02:00
fdd9f6103b
apps: Add gclient
2023-08-08 16:34:26 +02:00
6a74546a71
libos: Add os::LocalClient
2023-08-08 16:19:57 +02:00
b3cc53f7e9
libui: Change 'into' to 'onto'
2023-08-08 16:19:57 +02:00
361e57b17c
libui: Document ui::Font
2023-08-08 16:19:57 +02:00
dfee0981b8
libui+wind: Move some static variables inside functions
2023-08-08 16:19:57 +02:00
b0c905a33e
wind: Generate random windows on keypresses
2023-08-08 16:19:57 +02:00
4d1d4342ae
wind: Make sure windows have a minimum size to fit the titlebar
2023-08-08 16:19:56 +02:00
6404d01a5e
libui: Properly cut off the last drawn character if necessary
2023-08-08 16:19:56 +02:00
a510c58de0
libui: Add Rect::contains(Rect)
2023-08-08 16:19:56 +02:00
632252e1d1
libui: Render font characters properly with no spacing, matching the width calculations
2023-08-08 16:19:56 +02:00
db7dc09844
wind: Render an actual TGA mouse cursor
2023-08-08 16:19:56 +02:00
d142969eb0
wind: Add a close button to windows using a TGA icon
2023-08-08 16:19:55 +02:00
0e24e6a79a
libui: Add support for TGA image loading
2023-08-08 16:19:55 +02:00
d7fc3356e6
libui: Add an interface to fill a Canvas with an array of pixels
2023-08-08 16:19:55 +02:00
d1b31ab6aa
wind: Add window titlebars using ui::Font
2023-08-08 16:19:55 +02:00
e72a1a3697
libui: Add PSF font loading and rendering
2023-08-08 16:19:55 +02:00
26a61a6069
libui: Add Color::GRAY
2023-08-08 16:19:55 +02:00
f87952a615
libui: Rename Rect::absolute to normalized and add a new absolute function
2023-08-08 16:19:55 +02:00
b2037e978f
libluna: Add assignment operators to Buffer
2023-08-08 16:19:55 +02:00
78763b97f8
wind: Reorder drag sequence
2023-08-08 16:19:54 +02:00
5c3b5aae85
libui: Add Rect::relative
2023-08-08 16:19:54 +02:00
2261ffb31d
libui: Remove redundant statement
2023-08-08 16:19:54 +02:00
5343903e54
libui: Add getters for separate color values
2023-08-08 16:19:54 +02:00
ae7b712792
libui: Remove unnecessary stuff
2023-08-08 16:19:54 +02:00
6fdb245759
base: Remove startup items not necessary for GUI startup
2023-08-08 16:19:54 +02:00
0fe9b63f0e
libui+wind: (Draggable) windows
2023-08-08 16:19:54 +02:00
3dbe8418a1
wind: Create a local server object
2023-08-08 16:19:54 +02:00
c5900b7663
libos: Add a new LocalServer class for local domain sockets
2023-08-08 16:19:53 +02:00
0a06978fee
kernel: Support listening sockets in poll()
2023-08-08 16:19:53 +02:00
be99376307
base: Start wind on startup instead of the shell
2023-08-08 16:19:53 +02:00
a261603655
wind: Add a simple display server skeleton using libui
...
No client functionality yet, but it's a start.
2023-08-08 16:19:53 +02:00
a122ff133e
libui: Add a GUI and graphics library
2023-08-08 16:19:53 +02:00
adec709fe7
kernel: Fix negative movement in the PS/2 mouse driver
2023-08-08 16:19:52 +02:00
919c71ff85
README: More features
continuous-integration/drone/push Build is passing
2023-08-08 16:19:38 +02:00
1caa2c0888
Update README.md
continuous-integration/drone/push Build is passing
2023-08-08 16:04:10 +02:00
8748364b7e
ports: Add a binutils port =D
...
continuous-integration/drone/push Build is passing
I can't believe the fact that there is a working gas and ld on Luna. At least, for a hello world program anyway :)
objdump seems to have some problems with stack size in some cases, but apart from that, no crashes.
And that can easily be solved with either more stack preallocation or stack resizing in the kernel on page faults.
2023-08-08 16:00:31 +02:00
49662b6069
tools: Calculate the needed fs size dynamically
2023-08-08 15:43:20 +02:00
d96ff92461
libc: Add borrowed strtod implementation
2023-08-08 15:17:25 +02:00
bfb76b5625
kernel: Properly expose block device sizes with the new metadata API
2023-08-08 15:17:08 +02:00
8c13513bf4
libc: Add strcoll()
continuous-integration/drone/push Build is passing
2023-08-08 14:40:14 +02:00
37e9b25b62
apps: Add touch
continuous-integration/drone/push Build is passing
2023-08-08 14:34:58 +02:00
a92077d311
kernel+libc: Add all variants of utime
continuous-integration/drone/push Build is passing
2023-08-08 14:14:35 +02:00
1481a4736a
tmpfs: Update mtime on writes
continuous-integration/drone/push Build is passing
2023-08-08 13:36:25 +02:00
4195e7f206
kernel+libc+stat: Add support for file times
...
continuous-integration/drone/push Build is passing
The modification time is not updated though.
2023-08-08 13:33:40 +02:00
159c05c064
libluna: Add max() and min()
continuous-integration/drone/push Build is passing
2023-08-08 12:39:03 +02:00
b63a8ff245
libluna: Move get_blocks_from_size to a new header and call it ceil_div instead
continuous-integration/drone/push Build is passing
2023-08-08 11:58:33 +02:00
917203ef11
kernel: Run the init function in a separate block to free everything before kernel_exit is called
continuous-integration/drone/push Build is passing
2023-08-08 10:44:18 +02:00
826be882a9
kernel: Interrupt syscalls before exiting because of a signal
...
Closes #40 .
2023-08-08 10:41:46 +02:00