| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:sys/darwin/Foundation`. | Jeroen van Rijn | 3 days | 1 | -6/+6 |
| | | |||||
| * | Create new `core:sys/darwin/CoreGraphics` package (#6147) | Tohei Ichikawa | 2026-01-23 | 3 | -12/+40 |
| | | | | | | | | | | | | * Add Darwin mouse cursor-related bindings Create CoreGraphics package in the process * Remove unneeded semicolons * Define some CG types in CoreFoundation instead This matches where Darwin's C header files defines these types | ||||
| * | Add NSWindow layout information method bindings to darwin/Foundation (#6040) | Jacob Evelyn | 2026-01-13 | 1 | -0/+20 |
| | | | | | | | | This commit adds bindings for `NSWindow`'s ["Getting Layout Information"](https://developer.apple.com/documentation/appkit/nswindow?language=objc#Getting-Layout-Information) methods to the `core:sys/darwin/Foundation` package. Co-authored-by: Jacob Evelyn <j@cob.land> | ||||
| * | Fix darwin/Foundation/NSScreen type property bindings (#6038) | Jacob Evelyn | 2026-01-13 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the `darwin/Foundation` package's `NSScreen` bindings to treat Objective-C "type properties" as class methods rather than instance methods. As a result, we can now access these properties like this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { NS.Screen.mainScreen() } ``` instead of this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { (^NS.Screen)(nil).mainScreen() } ``` This commit also adds a binding for `NSScreen`'s `screensHaveSeparateSpaces` type property, which was previously missing from the `darwin/Foundation` package. Co-authored-by: Jacob Evelyn <j@cob.land> | ||||
| * | More bindings for darwin | Lucas Perlind | 2025-12-19 | 7 | -13/+95 |
| | | |||||
| * | Added more NSApplication and NSWindow bindings | Tohei Ichikawa | 2025-12-05 | 2 | -0/+58 |
| | | |||||
| * | Add NSWindow coordinate space conversion bindings | Tohei Ichikawa | 2025-11-18 | 1 | -0/+32 |
| | | |||||
| * | Fix typo in NS.String_initWithCString | Tohei Ichikawa | 2025-11-12 | 1 | -1/+1 |
| | | |||||
| * | Add comma to last enums to fix build check | Glenn | 2025-11-03 | 1 | -2/+2 |
| | | |||||
| * | Add Window_center | Glenn | 2025-11-03 | 1 | -0/+4 |
| | | |||||
| * | Add View alloc | Glenn | 2025-11-03 | 1 | -0/+4 |
| | | |||||
| * | Add additional window bindings | Glenn | 2025-11-03 | 1 | -0/+32 |
| | | |||||
| * | Add orderFront and orderOut | Glenn | 2025-11-03 | 1 | -0/+8 |
| | | |||||
| * | Add getter for the WindowDelegate from the Window | Glenn | 2025-11-03 | 1 | -0/+4 |
| | | |||||
| * | Add WindowCollectionBehaviour, WindowLevel, WindowTabbingMode | Glenn | 2025-11-03 | 1 | -0/+54 |
| | | |||||
| * | Add RunningApplication_finishedLaunching | Glenn | 2025-11-03 | 1 | -0/+5 |
| | | |||||
| * | Add Application_postEvent | Glenn | 2025-11-03 | 1 | -0/+6 |
| | | | | | https://developer.apple.com/documentation/appkit/nsapplication/postevent(_:atstart:)?language=objc | ||||
| * | Add Event_otherEventWithType | Glenn | 2025-11-03 | 1 | -0/+29 |
| | | | | | https://developer.apple.com/documentation/appkit/nsevent/otherevent(with:location:modifierflags:timestamp:windownumber:context:subtype:data1:data2:) | ||||
| * | Add Application_stop | Glenn | 2025-11-03 | 1 | -0/+5 |
| | | | | | https://developer.apple.com/documentation/appkit/nsapplication/stop(_:)?language=objc | ||||
| * | Fix addObserver methods and add support for new Objc_Block | Tohei Ichikawa | 2025-09-11 | 1 | -2/+14 |
| | | |||||
| * | Fixed and added obj-c methods for NSWindow | Stanislav Ch. Nikolov | 2025-08-28 | 1 | -2/+11 |
| | | |||||
| * | Convert leading spaces to tabs | Steve Waddicor | 2025-08-01 | 1 | -26/+26 |
| | | |||||
| * | Additional obj-c methods for darwin Foundation | Steve Waddicor | 2025-07-29 | 2 | -0/+58 |
| | | | | | | | Added support for NSBitmapImageRep class. Added ability to set contents to a CALayer. I needed these to support a port of Handmade Hero, but they are of general use. | ||||
| * | Replace system:System.framework imports with system:System | Harold Brenes | 2025-07-13 | 1 | -1/+1 |
| | | | | | This makes the linker work for both macOS and iOS targets | ||||
| * | Deprecate old @(deprecated) things. | Jeroen van Rijn | 2025-06-06 | 1 | -1/+0 |
| | | |||||
| * | Add missing SEL _cmd argument to objc class_addMethod IMPs | Zach Clark | 2025-05-27 | 2 | -97/+97 |
| | | | | | | | | | | | | | | 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. | ||||
| * | Fix -vet complaints in `core:sys/darwin/Foundation` | Jeroen van Rijn | 2025-05-17 | 2 | -2/+0 |
| | | |||||
| * | Add NSMenuItem.odin | gingerBill | 2025-05-17 | 1 | -0/+461 |
| | | |||||
| * | Add Objective-C helper for creating subclasses | gingerBill | 2025-05-17 | 4 | -94/+712 |
| | | |||||
| * | Fix 2 selectors in NSDictionary | Harold Brenes | 2025-04-17 | 1 | -2/+2 |
| | | |||||
| * | SavePanel_URL returns ^URL instead of ^Array | Keenan Woodall | 2025-02-23 | 1 | -2/+2 |
| | | |||||
| * | Merge pull request #4782 from Daxode/nsstring-appendingstring | gingerBill | 2025-02-02 | 1 | -0/+5 |
| |\ | | | | | Add stringByAppendingString to NSString | ||||
| | * | Add stringByAppendingString to NSString | daniel.andersen | 2025-02-02 | 1 | -0/+5 |
| | | | |||||
| * | | Fix tab indents in NSSavePanel | duffn | 2025-01-29 | 1 | -3/+3 |
| | | | |||||
| * | | Update `NSSavelPanel` | gingerBill | 2025-01-28 | 1 | -0/+10 |
| |/ | |||||
| * | fix incorrect use of Bool | Samuel Elgozi | 2025-01-18 | 1 | -1/+1 |
| | | |||||
| * | updated to meet formatting style | Samuel Elgozi | 2025-01-17 | 2 | -3/+3 |
| | | |||||
| * | Added Foundation bindings | Samuel Elgozi | 2025-01-17 | 9 | -0/+136 |
| | | |||||
| * | sys/info & odin report: rework macos version retrieval | Laytan Laats | 2024-11-26 | 3 | -2/+210 |
| | | |||||
| * | Add NSApplication bindings for `mainWindow` and `keyWindow` | Sebastian Pahnke | 2024-11-13 | 1 | -0/+10 |
| | | |||||
| * | fix EventMaskAny definition | Laytan Laats | 2024-09-12 | 1 | -2/+2 |
| | | |||||
| * | remove deprecation, technically deprecated but widely used | Laytan Laats | 2024-09-05 | 1 | -1/+4 |
| | | |||||
| * | More Objective-C Runtime bindings. | Vitalii Kravchenko | 2024-09-03 | 2 | -18/+100 |
| | | |||||
| * | A couple of foundation binding. Vet tabs. | Vitalii Kravchenko | 2024-08-21 | 2 | -2/+16 |
| | | |||||
| * | More Foundation bindings. | Vitalii Kravchenko | 2024-08-16 | 6 | -24/+104 |
| | | |||||
| * | darwin: add setAllowedFileTypes binding for open panels | Laytan Laats | 2024-08-06 | 1 | -0/+4 |
| | | |||||
| * | Add `vendor:wgpu` | Laytan Laats | 2024-06-12 | 1 | -0/+4 |
| | | |||||
| * | sys/darwin/foundation: fix Application->sendEvent signature | Laytan Laats | 2024-04-24 | 1 | -1/+1 |
| | | |||||
| * | Core Foundation and Security vendor libraries. | Vitalii Kravchenko | 2024-04-13 | 1 | -9/+6 |
| | | |||||
| * | Move `vendor:darwin/Foundation` to `core:sys/darwin/Foundation` | gingerBill | 2024-04-08 | 32 | -0/+3488 |
| | | |||||