Commit graph

730 commits

Author SHA1 Message Date
91c05b670d wayland: working viewport, subsurface input region 2026-03-19 15:57:20 -07:00
5960823801 wayland: don't early return from pointer_button, it causes a deadlock 2026-03-18 23:07:16 -07:00
0a62467760 correct mouse clicks 2026-03-18 23:01:39 -07:00
9309b5fe83 remove old hacks from wayland code, including MwLLBeginDraw and MwLLEndDraw which was really only ever needed for wayland and not anymore 2026-03-18 19:24:51 -07:00
fc7896b5ce wayland: improve event loop 2026-03-17 22:17:05 -07:00
eb0919333a wayland: fix several examples 2026-03-17 20:39:37 -07:00
1cb8fb6c53 wayland: SEVERAL fixes 2026-03-17 20:28:58 -07:00
d14c17b86e wayland fixes 2026-03-17 17:43:22 -07:00
c64d7778cd mac: convert child windows to subviews 2026-03-16 16:08:25 -07:00
db5f0ed40a mac: some fixes 2026-03-12 01:10:45 -07:00
96528ca433 mac: don't set the xywh of parent windows twice 2026-03-11 20:27:51 -07:00
13320dce78 proper event handling 2026-03-11 15:49:14 -07:00
02faed2f04 reduce cpu usage on event loop 2026-03-11 13:13:16 -07:00
6c53df0fc5 correct pixmap updating (sadly memcpy'ing is not enough) 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 2026-03-10 17:10:47 -07:00
d3c30bf6d3 mac: mouse fixing, somewwhat. also just always send events for a bit 2026-03-10 16:31:29 -07:00
8f379e9751 add comment clarifying pending 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 2026-03-09 16:40:30 -07:00
4ca11145f1 some 10.4 fixes 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 2026-03-09 16:13:49 -07:00
128a1ec524 mac: 'implement' tool windows 2026-03-09 15:07:46 -07:00
65afd85439 mac: most window functions now implemented (save for makeToolWindow) 2026-03-09 14:01:57 -07:00
9eda46d981 mac: remove accidental includes 2026-03-08 23:38:57 -05:00
21d5625ec7 fix forceRender, at the cost of breaking the rotate example 2026-03-08 20:03:47 -07:00
75c9af91d1 mac: try and fix positioning for child windows 2026-03-08 19:15:17 -07:00
c20da369e8 try and fail to have the app be activated without setting the activation policy 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 2026-03-08 18:04:37 -07:00
4549e4f75b mac: remove nscolor release call after realizing it's likely UB and crashes high sierra 2026-03-08 17:07:48 -07:00
4319ea25b5 mac: fix a bunch of memory leaks 2026-03-08 16:05:57 -07:00
0fde05fa03 fix some parts 2026-03-08 07:06:12 +09: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. 2026-03-05 22:52:25 -07:00
ea046f3a52 mac: fix memory leaks somewhat. 2026-03-05 22:41:09 -07:00
9d7a75394c mac: implement clipboard (At the cost of making the pending function a crime against god) 2026-03-05 21:58:22 -07:00
9be36b0755 mac: have key events get sent to parent 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 2026-03-05 19:29:43 -07:00
39db13fa48 mac: center window when MwDEFAULT is passed 2026-03-04 23:06:56 -07:00
db577bb01f mac opengl support. proper coordinate flipping 2026-03-04 22:56:04 -07:00
f700e90d23 did some code cleanup 2026-03-04 20:47:55 -07:00
b585ad69b7 code cleanup 2026-03-04 20:44:25 -07:00
943500a7ec mac: got a bunch of events handled. failed to get resizing working though 2026-03-04 19:34:19 -07:00
e09eccbf5f refactor font.c into an MwFL section (#9)
Reviewed-on: https://gitea.nishi.boats/pyrite-dev/milsko/pulls/9
Co-authored-by: IoIxD <alphaproject217@gmail.com>
Co-committed-by: IoIxD <alphaproject217@gmail.com>
2026-03-04 13:59:28 -06:00
cc2d3008d0 mac: implement polygon function 2026-03-04 00:02:14 -07:00
efa43456c1 significant macos progress, now compiles/runs on monetery 2026-03-03 23:24:28 -07:00
11fec984cf
fix 2026-02-06 22:05:13 +09:00
7ad4d82024
c89 2026-02-02 23:02:42 +09:00
ad5aa03d11
remove non required headers 2026-01-31 20:42:09 +09:00
bbb20f081e
add MwNdarkThemeHandler 2026-01-27 18:51:57 +09:00
626294c95f
format 2026-01-27 18:50:03 +09:00