Commit graph

45 commits

Author SHA1 Message Date
9309b5fe83 remove old hacks from wayland code, including MwLLBeginDraw and MwLLEndDraw which was really only ever needed for wayland and not anymore
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-18 19:24:51 -07:00
c64d7778cd mac: convert child windows to subviews 2026-03-16 16:08:25 -07:00
db5f0ed40a mac: some fixes
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-12 01:10:45 -07:00
96528ca433 mac: don't set the xywh of parent windows twice
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-11 20:27:51 -07:00
13320dce78 proper event handling
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-11 15:49:14 -07:00
02faed2f04 reduce cpu usage on event loop
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-11 13:13:16 -07:00
6c53df0fc5 correct pixmap updating (sadly memcpy'ing is not enough)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-10 20:09:37 -07:00
d9ee157ee8 mac: support delayed creation of the view's context, for anything whose size starts at 0x0
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-10 17:10:47 -07:00
d3c30bf6d3 mac: mouse fixing, somewwhat. also just always send events for a bit
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-10 16:31:29 -07:00
8f379e9751 add comment clarifying pending
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-10 15:46:46 -07:00
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
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
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
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