14 Commits

Author SHA1 Message Date
Lucas Perlind
b97e1fff9e More bindings for darwin 2025-12-19 13:34:45 +11:00
Tohei Ichikawa
67cc04b1da Added more NSApplication and NSWindow bindings 2025-12-05 17:20:15 -05:00
Glenn
4f939cadc3 Add RunningApplication_finishedLaunching 2025-11-03 14:29:58 +00:00
Glenn
9f78c1e7be Add Application_postEvent
https://developer.apple.com/documentation/appkit/nsapplication/postevent(_:atstart:)?language=objc
2025-11-03 14:29:58 +00:00
Glenn
8c6120f414 Add Application_stop
https://developer.apple.com/documentation/appkit/nsapplication/stop(_:)?language=objc
2025-11-03 14:29:58 +00:00
Jeroen van Rijn
4b36306674 Deprecate old @(deprecated) things. 2025-06-06 10:42:34 +02:00
Zach Clark
78d83288a0 Add missing SEL _cmd argument to objc class_addMethod IMPs
When trying to grab the window pointer off the notification in a
windowDidBecomeKey implementation, I kept getting segfaults calling
notification->object(). The second argument of these needs to be a SEL.

https://developer.apple.com/documentation/objectivec/class_addmethod(_:_:_:_:)?language=objc#Discussion

I imagine existing code is getting by by setting the window information
in the delegate's context userdata, which works fine when you only have
one window as you can avoid needing to call notification->object(),
until you want one delegate assigned to two windows, hard to work around.
2025-05-27 17:04:19 -07:00
gingerBill
d77124feae Add Objective-C helper for creating subclasses 2025-05-17 11:36:24 +01:00
Sebastian Pahnke
395fa7fdb8 Add NSApplication bindings for mainWindow and keyWindow 2024-11-13 14:42:31 +01:00
Laytan Laats
ddf5ca7adf remove deprecation, technically deprecated but widely used 2024-09-05 01:08:09 +02:00
Vitalii Kravchenko
14169ae5b4 A couple of foundation binding. Vet tabs. 2024-08-21 00:09:09 +01:00
Vitalii Kravchenko
004036dc59 More Foundation bindings. 2024-08-16 00:00:29 +01:00
Laytan Laats
a4cec2e8b8 sys/darwin/foundation: fix Application->sendEvent signature 2024-04-24 19:51:08 +02:00
gingerBill
ef82f3e71e Move vendor:darwin/Foundation to core:sys/darwin/Foundation 2024-04-08 13:47:46 +01:00