Commit graph

263 commits

Author SHA1 Message Date
9f1b455341 mac: new event pumping architecture that sucks and i hate it but apple is happy with it so we're happy with it 2026-03-10 15:33:20 -07:00
a0e2ec7f57 undo sending mouse event to both the parent and widget itself, forgot that that's exactly something we don't want to do
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-09 16:40:30 -07:00
4ca11145f1 some 10.4 fixes
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-09 16:35:09 -07:00
dd67e42054 mac: remove debug prints 2026-03-09 16:14:48 -07:00
dccc402b3d mac: send mouse/key to both event itself and window, evidently
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-09 16:13:49 -07:00
128a1ec524 mac: 'implement' tool windows
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-09 15:07:46 -07:00
65afd85439 mac: most window functions now implemented (save for makeToolWindow)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-09 14:01:57 -07:00
9eda46d981 mac: remove accidental includes
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 23:38:57 -05:00
21d5625ec7 fix forceRender, at the cost of breaking the rotate example
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 20:03:47 -07:00
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
4549e4f75b mac: remove nscolor release call after realizing it's likely UB and crashes high sierra
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-08 17:07:48 -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
9be36b0755 mac: have key events get sent to parent
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-05 20:19:19 -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
39db13fa48 mac: center window when MwDEFAULT is passed
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 23:06:56 -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
cc2d3008d0 mac: implement polygon function
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-04 00:02:14 -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
7ad4d82024
c89 2026-02-02 23:02:42 +09:00
ad5aa03d11
remove non required headers 2026-01-31 20:42:09 +09:00
626294c95f
format 2026-01-27 18:50:03 +09:00
65c872710a it should be working now, closes #6 2026-01-27 18:12:36 +09:00
64c3cdb4a5 MwSetDarkTheme instead of MwToggleDarkTheme 2026-01-27 18:03:16 +09:00
5e492ee5b4 oops 2026-01-27 18:00:44 +09:00
ae96b127e1 fix leak 2026-01-27 17:58:52 +09:00
0cecae2dd1 better registry function 2026-01-27 17:58:30 +09:00
18457ccbcb tiny fix 2026-01-27 17:36:21 +09:00
8b28b3e1b0 might be functional 2026-01-27 17:34:25 +09:00
8d86f185f2
use milsko's typedefs instead in cocoa 2026-01-23 13:57:05 +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
e2f34df4e3
format objective c files 2026-01-15 05:31:04 +09:00
85994d42f1
fix issue #5 2026-01-15 05:16:27 +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
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