Compare commits

..

36 Commits

Author SHA1 Message Date
9c0fab2e88
libos: Remove some shared pointers and change them to owned/live on the stack
All checks were successful
continuous-integration/drone/pr Build is passing
2023-08-08 17:46:56 +02:00
22d67dca93
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-08 17:46:56 +02:00
7b73760e07
apps: Add gclient 2023-08-08 17:46:56 +02:00
4a897286cf
libos: Add os::LocalClient 2023-08-08 17:46:55 +02:00
96ea8cb18c
libui: Change 'into' to 'onto' 2023-08-08 17:46:55 +02:00
fea245afca
libui: Document ui::Font 2023-08-08 17:46:55 +02:00
d8ac523141
libui+wind: Move some static variables inside functions 2023-08-08 17:46:55 +02:00
dc920f7399
wind: Generate random windows on keypresses 2023-08-08 17:46:55 +02:00
895303e1cc
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-08 17:46:55 +02:00
28cd037d10
libui: Properly cut off the last drawn character if necessary 2023-08-08 17:46:54 +02:00
410aa3a981
libui: Add Rect::contains(Rect) 2023-08-08 17:46:54 +02:00
a9166a2e06
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-08 17:46:54 +02:00
e47f0ffd24
wind: Render an actual TGA mouse cursor 2023-08-08 17:46:54 +02:00
14d046df8f
wind: Add a close button to windows using a TGA icon 2023-08-08 17:46:54 +02:00
f2eb07fa03
libui: Add support for TGA image loading 2023-08-08 17:46:54 +02:00
5133d2dc10
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-08 17:46:53 +02:00
3794c96668
wind: Add window titlebars using ui::Font 2023-08-08 17:46:53 +02:00
91f1ea999e
libui: Add PSF font loading and rendering 2023-08-08 17:46:53 +02:00
6866d0bb50
libui: Add Color::GRAY 2023-08-08 17:46:53 +02:00
7146f1ca25
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-08 17:46:53 +02:00
fd191f9486
libluna: Add assignment operators to Buffer 2023-08-08 17:46:53 +02:00
0ada8f2e66
wind: Reorder drag sequence 2023-08-08 17:46:52 +02:00
7b0071103e
libui: Add Rect::relative 2023-08-08 17:46:52 +02:00
40fe6a2498
libui: Remove redundant statement 2023-08-08 17:46:52 +02:00
7f06570ee1
libui: Add getters for separate color values 2023-08-08 17:46:52 +02:00
33def57084
libui: Remove unnecessary stuff 2023-08-08 17:46:52 +02:00
ec4fbbbf61
base: Remove startup items not necessary for GUI startup 2023-08-08 17:46:51 +02:00
0ddba5bc3a
libui+wind: (Draggable) windows 2023-08-08 17:46:51 +02:00
9d2abbcb2b
wind: Create a local server object 2023-08-08 17:46:51 +02:00
d6a6053969
libos: Add a new LocalServer class for local domain sockets 2023-08-08 17:46:51 +02:00
b1ba4da1b1
kernel: Support listening sockets in poll() 2023-08-08 17:46:51 +02:00
cb7077c912
base: Start wind on startup instead of the shell 2023-08-08 17:46:51 +02:00
f1ec4176f0
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-08 17:46:50 +02:00
cc8284f43c
libui: Add a GUI and graphics library 2023-08-08 17:46:50 +02:00
ac0c54efa5
kernel: Fix negative movement in the PS/2 mouse driver 2023-08-08 17:46:50 +02:00
16590dbb02
ports: Avoid using two separate directories for port packages
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 17:43:27 +02:00
3 changed files with 2 additions and 11 deletions

1
.gitignore vendored
View File

@ -12,5 +12,4 @@ base/usr/share/pkgdb/**
.fakeroot .fakeroot
kernel/config.cmake kernel/config.cmake
ports/out/ ports/out/
ports/local/
ports/temp/ ports/temp/

View File

@ -15,11 +15,6 @@ fi
source ports/$PORT_NAME/PACKAGE source ports/$PORT_NAME/PACKAGE
if [ -f ports/local/$name-$version.tar.gz ]; then
echo "Package $PORT_NAME is already installed and up to date!"
exit 1
fi
if ! [ -f ports/out/$name-$version.tar.gz ]; then if ! [ -f ports/out/$name-$version.tar.gz ]; then
tools/make-package.sh $PORT_NAME tools/make-package.sh $PORT_NAME
fi fi
@ -28,19 +23,17 @@ PORT_FILES=$LUNA_BASE/usr/share/pkgdb/$PORT_NAME.files
if [ -f $PORT_FILES ] if [ -f $PORT_FILES ]
then then
echo "Package $PORT_NAME is installed, but is an outdated version. Updating." echo "Package $PORT_NAME is already installed! Updating."
tools/uninstall-package.sh $PORT_NAME tools/uninstall-package.sh $PORT_NAME
fi fi
cp ports/out/$name-$version.tar.gz ports/local/
mkdir -p $LUNA_BASE/usr/share/pkgdb/ mkdir -p $LUNA_BASE/usr/share/pkgdb/
cd $LUNA_BASE cd $LUNA_BASE
find -type f | sed 's|^./||' > /tmp/before.list find -type f | sed 's|^./||' > /tmp/before.list
tar -C $LUNA_BASE -xf $LUNA_ROOT/ports/local/$name-$version.tar.gz tar -C $LUNA_BASE -xf $LUNA_ROOT/ports/out/$name-$version.tar.gz
find -type f | sed 's|^./||' > /tmp/after.list find -type f | sed 's|^./||' > /tmp/after.list

View File

@ -16,4 +16,3 @@ fi
rm -v $(cat $LUNA_BASE/usr/share/pkgdb/$PORT_NAME.files) rm -v $(cat $LUNA_BASE/usr/share/pkgdb/$PORT_NAME.files)
rm -v $LUNA_BASE/usr/share/pkgdb/$PORT_NAME.files rm -v $LUNA_BASE/usr/share/pkgdb/$PORT_NAME.files
rm -v $LUNA_ROOT/ports/local/$PORT_NAME-*.tar.gz