Commit graph

55 commits

Author SHA1 Message Date
75c9af91d1 mac: try and fix positioning for child windows
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 19:15:17 -07:00
c20da369e8 try and fail to have the app be activated without setting the activation policy
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 18:30:37 -07:00
3b78872ce8 mac: took a detour and got it working in 10.4, before accidentally fixing the remaining memory leak I think
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 18:04:37 -07:00
4319ea25b5 mac: fix a bunch of memory leaks
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 16:05:57 -07:00
306f791641 mac: apple doesn't give us a reliable way to check if events are pending but we have to do the nextEventMatching trick anyways because the alternating pending implementation breaks opengl.
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-05 22:52:25 -07:00
ea046f3a52 mac: fix memory leaks somewhat.
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-05 22:41:09 -07:00
9d7a75394c mac: implement clipboard (At the cost of making the pending function a crime against god)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-05 21:58:22 -07:00
e2bcd7b9e9 mac: keyboard events and other nice refactors. they get sent to the opengl window but the callback isn't fired for some reason
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-05 19:29:43 -07:00
db577bb01f mac opengl support. proper coordinate flipping
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 22:56:04 -07:00
f700e90d23 did some code cleanup
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 20:47:55 -07:00
b585ad69b7 code cleanup
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 20:44:25 -07:00
943500a7ec mac: got a bunch of events handled. failed to get resizing working though
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 19:34:19 -07:00
efa43456c1 significant macos progress, now compiles/runs on monetery
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-03 23:24:28 -07:00
8b28b3e1b0 might be functional 2026-01-27 17:34:25 +09:00
04f1a94cb5 cocoa: attempted drawing 2026-01-14 17:13:12 -07:00
a710967115 cocoa: move interfaces to header (guarded by ifdef __OBJC__) 2026-01-14 13:47:49 -07:00
3dec3ff0da
format 2026-01-15 05:16:47 +09:00
32f09a9af2 wayland: don't do parent draws on every event when we do'nt need to 2026-01-12 19:21:32 -07:00
69c95d5752 wayland: more fix 2026-01-12 18:18:05 -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
d784770ca9 wayland: popup positioning 2026-01-04 13:01:50 -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
6946c1eaf3 wayland: opengl support 2025-12-30 22:26:19 -07:00
a03065ae52 wayland: forgot to commit .h 2025-12-30 19:16:01 -07:00
67bd6029af wayland: finish clipboard 2025-12-30 17:12:12 -07: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
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
8d4e845e7c wayland: MwLLGetScreenSize 2025-12-18 13:43:45 -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
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
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
b239dd3819
some useful function 2025-12-08 14:38:01 +09:00
71cb96b06e
make gdi rendering a little bit faster 2025-12-07 07:10:20 +09:00
cc05431879
fix display leak 2025-12-05 13:08:27 +09:00
2a268c56f1
remove svn keywords 2025-12-05 07:43:04 +09:00
58d88f00a4 now that's better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@829 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-29 22:04:23 +00:00
f2bbadf62b update
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@813 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-25 20:21:15 +00:00