Commit graph

36 commits

Author SHA1 Message Date
Mitchell Hashimoto
62bcb951b8
block: only free the descriptor once 2023-10-21 11:22:44 -07:00
Mitchell Hashimoto
b8d5546db2
Merge pull request #4 from ryleelyman/upstream
fix!: `addMethod` now passes errors it receives; added test
2023-10-21 10:29:48 -07:00
Mitchell Hashimoto
337ec0a630
handle i8/bool result in ci 2023-10-21 10:24:50 -07:00
Mitchell Hashimoto
87aae5f5ad
add dedicated encoder, use writer, support comptime encoding 2023-10-21 10:21:13 -07:00
Mitchell Hashimoto
cec54ac452
Revert "fix: convert addMethod bool to zig error"
This reverts commit 3607c36967.
2023-10-21 08:50:43 -07:00
Rylee Lyman
3607c36967 fix: convert addMethod bool to zig error 2023-10-21 08:58:19 -04:00
Rylee Lyman
bca05e03d3 fix!: addMethod now passes errors it receives; added test 2023-10-21 08:51:58 -04:00
Mitchell Hashimoto
98597c6903
update README for new API 2023-10-20 22:50:33 -07:00
Mitchell Hashimoto
4b54a6fad5
update README 2023-10-20 22:43:44 -07:00
Mitchell Hashimoto
84fe0accc2
Merge pull request #3 from ryleelyman/objective-c-calling-zig
feat: implement Objective-C calling Zig
2023-10-20 22:27:19 -07:00
Mitchell Hashimoto
77b9ccfe04
more Ziggy blocks 2023-10-20 22:19:40 -07:00
Mitchell Hashimoto
25194cfc23
msgSend/msgSendSuper can accept anytype for sel to accept strings 2023-10-20 20:48:11 -07:00
Mitchell Hashimoto
75ae7627cb
share a lot more logic for msgSend/msgSendSuper 2023-10-20 20:45:04 -07:00
Mitchell Hashimoto
1179c94083
MsgSendFn can construct the proper type for msgSendSuper 2023-10-20 20:28:19 -07:00
Mitchell Hashimoto
24be26c3a7
ci: use macos tester 2023-10-20 15:54:57 -07:00
Mitchell Hashimoto
7110b7c5f2
fix return type mismatch when cross-compiling with macos sdk 2023-10-20 15:51:23 -07:00
Mitchell Hashimoto
e94d728f47
minor stylistic tweaks 2023-10-20 15:46:16 -07:00
Rylee Lyman
8c434525fe
fix: addMethod should correctly process strings 2023-10-20 15:37:37 -07:00
Rylee Lyman
83156e7e6d
feat: implement Objective-C calling Zig
feat: add `msgSendSuper`
feat: add protocols,
feat: add `allocateClasspair` and `replaceMethod`
feat: add ivars,
feat: add `addMethod`
feat: add blocks
2023-10-20 15:37:37 -07:00
Mitchell Hashimoto
0b75865239
link CoreFoundation for tests
Fixes #2
2023-10-20 15:36:55 -07:00
Mitchell Hashimoto
e8686c3457
Revert "remove failing tests for macOS Sonoma"
This reverts commit 0d3a6d4b58.
2023-10-20 15:36:04 -07:00
Mitchell Hashimoto
0d3a6d4b58
remove failing tests for macOS Sonoma
Annoying, these functions do work in the right situation but some are
failing due to macOS SDK changes.
2023-10-20 15:35:29 -07:00
Mitchell Hashimoto
146a50bb01
update macos-sdk 2023-10-17 13:10:34 -07:00
Mitchell Hashimoto
f837bfaa37
depend on macos sdk not on xcode frameworks 2023-10-17 12:40:34 -07:00
Mitchell Hashimoto
01c16aaeeb
use zig package manager 2023-08-03 16:54:20 -07:00
Mitchell Hashimoto
51584a2f78
update zig 2023-06-30 09:49:12 -07:00
Mitchell Hashimoto
1e3537ab97
change mach vendor 2023-04-06 09:00:38 -07:00
Mitchell Hashimoto
fa7be5173c
update mach 2023-04-04 10:25:50 -07:00
Mitchell Hashimoto
49593794da
fallback get/setProperty if the class doesn't formally declare the prop 2023-03-20 14:43:32 -07:00
Mitchell Hashimoto
079d8eb420
update to latest Zig, new for loops 2023-02-27 21:41:58 -08:00
Mitchell Hashimoto
1ebffc81ef
update to new zig build API 2023-02-14 18:03:43 -08:00
Mitchell Hashimoto
4f5eda096c
add github actions test 2023-01-02 15:04:59 -08:00
Mitchell Hashimoto
5eeac3a7c6
update README, comments 2023-01-02 15:03:07 -08:00
Mitchell Hashimoto
07bf00232a
add README 2023-01-02 14:59:39 -08:00
Mitchell Hashimoto
c367af1ced
Create LICENSE 2023-01-02 14:48:51 -08:00
Mitchell Hashimoto
e8c63c795e
initial import 2023-01-02 14:48:21 -08:00