Jacob Evelyn
11afefeedc
Add NSWindow layout information method bindings to darwin/Foundation ( #6040 )
...
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 >
2026-01-13 21:13:59 +01:00
Jacob Evelyn
a4f958b738
Fix darwin/Foundation/NSScreen type property bindings ( #6038 )
...
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 >
2026-01-13 21:13:18 +01:00
Xotchkass
edb70a8d75
optimized slice filling in xoshiro/pcg_random_generator_proc ( #6001 )
2026-01-13 21:11:01 +01:00
Znarf
0c3f3f536b
Implement more Linux syscalls. ( #6083 )
2026-01-13 21:02:08 +01:00
Fabrice
622fa818bc
Adds static linking to non-windows platforms ( #6057 )
2026-01-13 20:56:40 +01:00
Laytan
291f7c39e6
Merge pull request #6127 from paulpage/paulpage-orca-update
...
Update Orca bindings
2026-01-13 20:52:26 +01:00
Laytan Laats
4af4b2f575
pool: use elem in else of the when statement (vet issue)
2026-01-13 19:47:09 +01:00
Laytan Laats
c637679917
nbio: don't rely on the private _impl being the first field
2026-01-13 19:46:46 +01:00
Laytan Laats
8f5702e69e
nbio: reorder Operation fields to be more logical
2026-01-13 19:38:27 +01:00
Laytan Laats
4ae02aaacf
pool: explicit memory ordering and improved destroy
2026-01-13 19:38:10 +01:00
Paul Page
7e7cd75527
remove unneeded manual definitions
2026-01-12 16:52:57 -06:00
Paul Page
ebaf877981
Update Orca bindings
2026-01-12 16:31:40 -06:00
Wassim Alhajomar
ef84b24b68
cleanup
2026-01-12 12:39:57 +01:00
Laytan Laats
24ee35af28
nbio: add package
2026-01-11 20:21:25 +01:00
Laytan Laats
b2af4f335d
posix: fix openat mode not being c_vararg
2026-01-11 20:21:25 +01:00
Laytan Laats
26d47f23f7
linux: implement eventfd syscall
2026-01-11 20:21:25 +01:00
Laytan Laats
872fe3ff73
kqueue: fix bsds, add user filter, add struct tests
2026-01-11 20:21:25 +01:00
Laytan Laats
bc70402093
os: add non blocking open flag
2026-01-11 20:21:25 +01:00
Laytan Laats
fa97aa4dc9
thread: fix aligned loading of unaligned addresses
2026-01-11 20:21:25 +01:00
Laytan Laats
b9946aa67e
chan: fix example and deadlock on closed channel
2026-01-11 20:21:25 +01:00
Laytan Laats
6c663b7a71
slice: fix examples
2026-01-11 20:21:25 +01:00
Laytan Laats
f6b8e08628
simd: fix typos
2026-01-11 20:21:25 +01:00
Laytan Laats
08c4503875
xar: fix example
2026-01-11 20:21:25 +01:00
Laytan Laats
ec040c1fcb
rbtree: fix pointer usages
2026-01-11 20:21:25 +01:00
Laytan Laats
d1fa640549
runtime: use alloc_non_zeroed in new_clone; zeroing is not needed
2026-01-11 20:21:25 +01:00
Laytan Laats
c10771305d
net: implement OpenBSD and NetBSD support & add stubs for other targets & cleanup
2026-01-11 20:21:21 +01:00
Laytan Laats
a6ec199a52
ci: don't check BSD or ARM targets on Linux amd64 because they have their own run
2026-01-11 20:04:51 +01:00
gingerBill
0f875727a2
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-01-11 18:54:55 +00:00
gingerBill
5938c783a6
Fix #type not being handled as in normal expressions
2026-01-11 18:54:46 +00:00
gingerBill
3345ed0622
Merge pull request #6120 from ske2004/fix-regression-6118
...
Fix regression for #6118 in #6104
2026-01-10 18:48:15 +00:00
ske
3e31055ca7
Fix regression in #6118
2026-01-10 10:46:53 -03:00
Tohei Ichikawa
c8f2603d3e
Fix test name, add PR link, use tabs
2026-01-10 03:35:33 -05:00
Tohei Ichikawa
bf7c92bf09
Fix assertion error when imported proc groups are passed as proc arguments
2026-01-10 03:05:04 -05:00
gingerBill
e88776e00f
Merge pull request #6115 from bbogdan-ov/target-flag-usage-example
...
Show `-target` flag usage examples in the help
2026-01-09 13:04:56 +00:00
gingerBill
fc19df7b1e
Merge pull request #6114 from dayllenger/master
...
Fix TGA header detection
2026-01-09 11:58:00 +00:00
gingerBill
b03befb604
Merge pull request #6117 from konodin/generic-curl-linking
...
Link Curl the same for all UNIX oses
2026-01-09 11:57:15 +00:00
konodin
9b5090352e
Link Curl the same for all UNIX oses
2026-01-08 23:07:01 +01:00
Laytan
24f4dda070
Merge pull request #6116 from konodin/freebsd-ipv6-einval
...
Fix `EINVAL` binding to IPv6 on FreeBSD
2026-01-08 22:57:11 +01:00
konodin
48fe0e2394
Fix EINVAL binding to IPv6 on FreeBSD
2026-01-08 22:35:40 +01:00
StudebakerGuy
fb479b3aae
Corrected CRC's
...
CRC's were correct in relation to changes to address comments containing
-- at the end.
2026-01-08 11:34:50 -05:00
bogdanov
559b75cc81
Show -target flag usage examples in the help
2026-01-08 18:56:59 +03:00
Viktor
d4a21b7573
Fix TGA header detection
2026-01-08 12:01:43 +00:00
StudebakerGuy
14d6371058
Comment includiing -- at end
...
Comments are incorrectly including -- a the end. This was due
to the comment slice being returned 2 charachters too long.
2026-01-07 19:28:44 -05:00
StudebakerGuy
dc37ff5036
Comments before first emlement not being captured
...
The xml library was not correctly detect that a comment occured
before the first element. This addresses the issue, but the comment
incorrectly includes --.
2026-01-07 19:28:44 -05:00
gingerBill
f9d9166ff1
Merge pull request #6110 from ske2004/fix-constant-conversion-checks
...
Fix constant conversion checks (#6104 )
2026-01-07 13:42:14 +00:00
ske
91c1950b9f
Fix constant conversion checks ( #6104 )
2026-01-07 02:19:41 -03:00
gingerBill
94cc5d9e61
Merge pull request #6099 from figuerom16/master
...
vendor:compress/lz4 wasn't finding lz4 for Non-Windows targets.
2026-01-06 12:01:15 +00:00
gingerBill
4729b761a3
Merge pull request #6090 from doanamo/directx-strings
...
Prefer LPCSTR/LPCWSTR types in DirectX bindings
2026-01-06 12:01:05 +00:00
gingerBill
393fec2f66
Move WSAEVENT to types.odin
dev-2026-01
2026-01-05 11:48:19 +00:00
gingerBill
5fae3527c1
Implement LPWSAOVERLAPPED_COMPLETION_ROUTINE correctly
2026-01-05 11:44:52 +00:00