Commit graph

271 commits

Author SHA1 Message Date
d340c64ca3 wayland: fix weird regressiong 2026-01-12 18:50:33 -07:00
14e55b7f53 wayland: fix weird regression 2026-01-12 18:48:22 -07:00
69c95d5752 wayland: more fix 2026-01-12 18:18:05 -07:00
efcc176c04 cocoa: more fixes 2026-01-12 15:31:22 -07:00
e45a1f6ad8 cocoa: more fixes 2026-01-12 15:30:05 -07:00
31cc8e5a0d cocoa: fix syntax errors. Also allow cmake to compile it (untested) 2026-01-12 15:13:59 -07:00
a70f3dbb59 remove old appkit.m file that somehow got here 2026-01-12 13:07:35 -07:00
ca4adf5f39 cocoa: fill a bunch of no-brainer functions, i haven't actually tested this yet and won't until I get home but I assume the worst case scenario is that I fucked up the syntax 2026-01-12 13:04:30 -07:00
e73964882e renamed appkit backend to cocoa and got something that compiles 2026-01-09 21:35:23 -07:00
da33a1a3c6 darwin: remove invalid characters 2026-01-09 14:45:12 -07:00
2d3bd9213e appkit 2026-01-09 14:43:44 -07:00
85df90ceaf
what did i even change? 2026-01-06 00:54:00 +09:00
d3751c0bf9 submenu: just don't adjust if there's no global coordinates, there's not much of another way 2026-01-04 18:25:33 -07:00
54cdd85015 coords 2026-01-04 13:06:36 -07:00
d784770ca9 wayland: popup positioning 2026-01-04 13:01:50 -07:00
12f279e83a wayland: ensure every event callback uses the mutex 2026-01-04 11:40:34 -07:00
a148b3bedf wayland: use mutexes to ensure that MwLLDestroyImpl never conflicts with wayland events. 2026-01-03 18:27:34 -07:00
bed668b84a wayland: fix misc. crashes on the destruction of widgets 2026-01-02 14:19:48 -07:00
f32f6cefc0 wayland: accidentally removed event_loop call from MwLLNextEventImpl 2025-12-30 22:44:04 -07:00
f3683dece3 undo HAS_OPENGL stuff 2025-12-30 22:38:01 -07:00
6946c1eaf3 wayland: opengl support 2025-12-30 22:26:19 -07:00
324257c43f wayland: no pthreads needed 2025-12-30 19:15:33 -07:00
bed63dd245 clipboard: fix syntax 2025-12-30 17:14:39 -07:00
67bd6029af wayland: finish clipboard 2025-12-30 17:12:12 -07:00
72820e87f1
rename clipboard_received to clipboard 2025-12-31 04:35:10 +09:00
d3147ac087
format 2025-12-31 04:29:27 +09:00
4bdda59693 better api for clipboard 2025-12-31 04:29:13 +09:00
823c865791
handle WM_DELETE_WINDOW better 2025-12-31 00:48:44 +09:00
a384add9e9 wayland: properly do MwLLPending and MwLLNextEvent 2025-12-18 23:50:03 -07:00
6123fd1304 wayland: implement tool windows. add destructors for protocols 2025-12-18 23:32:51 -07:00
b7488b9440 wayland: seperate MwLLPending and MwLLNextEvent 2025-12-18 19:59:40 -07:00
18511dec2f wayland: remove a few unused fields 2025-12-18 18:27:44 -07:00
59ff6f1008 wayland: add icon support 2025-12-18 18:21:57 -07:00
a27a01ce41 wayland: MwLLGetClipboardImpl. 2025-12-18 17:46:23 -07:00
b0f4713ff1 wayland: remove unused cursor_shape 2025-12-18 13:46:22 -07:00
8d4e845e7c wayland: MwLLGetScreenSize 2025-12-18 13:43:45 -07:00
aeaf0a4547 wayland: MwLLGetCursorCoordImpl 2025-12-18 13:16:16 -07:00
d8c08f80d6 wayland: cursor support 2025-12-18 13:15:03 -07:00
c6e7421b31 wayland: key modifiers 2025-12-18 11:36:04 -07:00
a815998ace wayland: fix pointer 2025-12-18 11:26:51 -07:00
72fbba1a74 force aliasing 2025-12-18 12:24:06 +09:00
b8a92f4ae0 wayland: buffer destroy/recreate in SetWHImpl too 2025-12-17 19:44:15 -07:00
724b008220 impl resizing in wayland 2025-12-17 19:41:05 -07:00
320de34ce8 remove opengl from wayland in favor of cairo 2025-12-17 19:14:54 -07:00
cf4fdc531a
update color things 2025-12-15 06:48:40 +09:00
f9c0ec987e
improvement 2025-12-12 17:51:26 +09:00
0c8715ec9f
bugfix 2025-12-12 17:26:57 +09:00
bbc27d680a
that is simply wrong 2025-12-10 12:57:40 +09:00
9a4c74ad93 Unfinished Wayland PR (#1)
moved from the github repo.

current progress:

<img width="389" alt="image.png" src="attachments/6a2cb365-7348-44b4-8fa7-9980df965a67">

Other notes:

- took the opportunity to remove MwLLSetBackground which I was told was deprecated
- Updated .gitignore to more accurately cover/remove example binaries
- Uses OpenGL as the backend.
- New LL function for swapping buffers, MwLLEndDraw
- [TODO] Uses weak linking for all libraries so that systems that don't support Wayland or even have it installed can launch without it.

Reviewed-on: https://gitea.nishi.boats/pyrite-dev/milsko/pulls/1
Co-authored-by: IoIxD <alphaproject217@gmail.com>
Co-committed-by: IoIxD <alphaproject217@gmail.com>
2025-12-09 20:11:01 -06:00
6f331d613d
make cursor related functions public 2025-12-08 14:42:16 +09:00