Commit Graph

38 Commits

Author SHA1 Message Date
Oskari Alaranta 7088be0e51 Add mostly stubbed out GLX extensions
Surprisingly this lets most GLX apps run as they still render client
side, they just need the extension to exist
2026-02-21 03:53:25 +02:00
Oskari Alaranta 6da9cb7362 Add font support 2026-02-21 03:50:42 +02:00
Oskari Alaranta ed57950ee0 Get screen size from libGUI insted of hardcoding
Also use DPI 96 instead of 1 pixel == 1 milli meter
2026-02-21 03:48:05 +02:00
Oskari Alaranta d0b289d77b Cleanup objects created by extensions 2026-02-21 03:47:29 +02:00
Oskari Alaranta a32d509cde Fix CreateCursor masking
If there was no mask, cursor would be invisible
2026-02-21 03:46:14 +02:00
Oskari Alaranta 2016621f78 Implement SetClipRectangles
This fixes firefox flickering with SHM
2026-02-21 03:45:45 +02:00
Oskari Alaranta 406ea61be0 Implement ShmCreatePixmap 2026-02-21 03:43:06 +02:00
Oskari Alaranta 572a0b6bd5 Fix some crashes on invalid ids 2026-02-21 03:40:39 +02:00
Oskari Alaranta 631770725b Implement ReparentWindow, ListProperties, QueryBestSize 2026-02-21 03:39:57 +02:00
Oskari Alaranta 7c1b403e05 LibDEFLATE: Add GZip support
This allows compressing and decompressing with data using GZip headers
and footers
2026-02-20 00:00:32 +02:00
Oskari Alaranta 632787b142 Implement ShmGetImage
Also SHM extension is now only compiled if the system has shmat and
shmdt
2026-02-12 18:40:55 +02:00
Oskari Alaranta 188f9182ea Add stub OpenFont 2026-02-12 02:40:10 +02:00
Oskari Alaranta abaa239505 Add basic MIT-SHM support
Supports only Attach, Detach and PutImage but those seem to be enough
for firefox and chromium
2026-02-12 02:39:24 +02:00
Oskari Alaranta 545ddefcce Fix ListExtension string encoding 2026-02-12 02:38:35 +02:00
Oskari Alaranta 24baab2e84 Cleanup extensions 2026-02-12 02:38:08 +02:00
Oskari Alaranta 6124525439 Store per window depths 2026-02-12 02:37:12 +02:00
Oskari Alaranta b9c69d8456 Add proper support for QueryKeymap 2026-02-12 02:35:56 +02:00
Oskari Alaranta 93a101b235 Cleanup code 2026-02-11 17:43:47 +02:00
Oskari Alaranta b48f099aa2 BAN: Print timestamps with d{print,warn,error}ln 2026-02-11 17:43:47 +02:00
Oskari Alaranta a74d99de45 Fix keymaps, reported info and add custom cursors 2026-02-11 17:43:47 +02:00
Oskari Alaranta 28a68069fb Receive client auth info on initial message 2026-02-11 17:26:16 +02:00
Oskari Alaranta 3da8964a32 xbanan: Fix encoding of non byte sized containers 2026-02-11 17:23:46 +02:00
Oskari Alaranta 8ed4390598 BAN: Add value_type to String and StringView 2026-02-11 17:23:21 +02:00
Oskari Alaranta 49984f2844 BAN: Span remove unnecessary asserts 2026-02-11 17:22:57 +02:00
Oskari Alaranta 7a66eb44d4 LibGUI/WindowServer: Allow custom cursor origin 2026-02-10 23:09:19 +02:00
Oskari Alaranta 4801fd3e67 Only send key/mouse events to a single window
Firefox was getting mouse clicks as duplicates making every click a
double click
2026-02-10 03:05:15 +02:00
Oskari Alaranta 808e51b855 Make objects global instead of per client
This allows copying from one window to another!
2026-02-10 01:28:47 +02:00
Oskari Alaranta d59dea43e0 Add bunch of stuff and refactor code
This adds some new opcodes, implements RANDR extension and splits stuff
into separate files
2026-02-10 00:54:02 +02:00
Oskari Alaranta 19235e68ca Add stub AllocNamedColor 2026-02-09 03:48:53 +02:00
Oskari Alaranta a37d7168eb Fix close/epoll_ctl order 2026-02-09 03:48:53 +02:00
Oskari Alaranta 01f9f24b9b Add more mapping opcodes 2026-02-09 03:48:53 +02:00
Oskari Alaranta 7376cd17ac Add proper support for ListExtensions 2026-02-09 03:48:53 +02:00
Oskari Alaranta 09e442ff43 Support Pixmaps with GetGeometry 2026-02-09 03:48:53 +02:00
Oskari Alaranta 16d5871775 Add support for mouse events 2026-02-09 03:48:53 +02:00
Oskari Alaranta 675c615be9 Enable compiler warnings 2026-02-09 03:48:53 +02:00
Oskari Alaranta 301765a5bd Add stuff :) 2026-02-09 03:48:53 +02:00
Oskari Alaranta 971038fd4f support TCP sockets 2026-02-07 23:12:38 +02:00
Oskari Alaranta 219734a813 Initial commit 2026-02-07 18:44:48 +02:00