Commit Graph

16323 Commits

Author SHA1 Message Date
gingerBill
4dcbc67ead Remove old dead directory core:sys/win32 2026-01-14 12:48:19 +00:00
gingerBill
42669b8acf Merge pull request #6133 from WongSoft/fix-low-priority-thread-unix
[core:thread] Ensure creating a low priority thread with SCHED_OTHER policy does not assert
2026-01-14 09:45:16 +00:00
gingerBill
bbcbf243a1 Merge pull request #6131 from FrancisTheCat/master
Add warning for `size_of(&x)` expressions
2026-01-14 09:45:03 +00:00
Franz Hoeltermann
ac35e0336b Fix indentation 2026-01-14 10:42:43 +01:00
Nathan Wong
bd9d682d15 Ensure creating a low priority thread does not assert with SCHED_OTHER policy 2026-01-13 16:38:22 -08:00
Franz
c64fad8ef7 Add warning for size_of(&x) expressions 2026-01-14 00:43:06 +01:00
Faker-09
9d72025a0b Remove duplicate assingment of array.allocator = allocator in _make_dynamic_array_len_cap(...) (#6095) 2026-01-13 21:25:17 +01:00
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
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
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
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
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
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
figuerom16
377a76bb15 Update lz4.odin: foreign import for linux 2026-01-04 20:04:57 -08:00
gingerBill
7fa05f16bf Minor change from make_checker_context to init_checker_context 2026-01-03 20:14:15 +00:00
Jeroen van Rijn
21e8daa3ab Merge pull request #6091 from A1029384756/master
[vendor/sdl3] update to sdl 3.4.0
2026-01-02 23:01:40 +00:00
A1029384756
08dd0cb0af [vendor/sdl3] shortened enum naming 2026-01-02 17:41:20 -05:00
A1029384756
c867143a58 [vendor/sdl3] typo 2026-01-02 17:38:21 -05:00
A1029384756
4237a44944 [vendor/sdl3] another pass over the headers 2026-01-02 17:07:43 -05:00
A1029384756
b34cf987c3 [vendor/sdl3] satify vet 2026-01-02 14:43:50 -05:00
A1029384756
ed52393c7c [vendor/sdl3] update to sdl 3.4.0
[vendor/sdl3] updated lib files

[vendor/sdl3] typo

[vendor/sdl3] typo

[vendor/sdl3] spacing

[vendor/sdl3] whitespace

[vendor/sdl3] whitespace
2026-01-02 14:22:39 -05:00
Piotr Doan
65b147d4d3 Prefer LPCSTR/LPCWSTR types in DirectX bindings
- Replaces [^]u16 parameter types because they are not directly compatible with result of `win32.utf8_to_wstring()`
- Replaces some string/wstring types for consistency, similarly as other packages do to match original C declarations and documentation
2026-01-02 19:10:00 +01:00
gingerBill
e45db9a69c Merge pull request #6089 from Neirokan/ipv4_to_ipv6_fix
core/net: fix `map_to_ip6` offset
2026-01-02 11:57:09 +00:00
gingerBill
57c7ae1bd9 Minor fixes to formatting and types 2026-01-02 11:35:44 +00:00
gingerBill
e154489f01 More formatting improvements 2026-01-02 11:32:39 +00:00
gingerBill
274e7e7e58 Improve the formatting of user32.odin 2026-01-02 11:25:53 +00:00
gingerBill
006681ec22 Improve formatting; fix types; add struct field tags 2026-01-02 11:18:48 +00:00
gingerBill
b86627ba37 Improve formatting and #raw_union logic in core:sys/windows 2026-01-02 10:39:46 +00:00
gingerBill
bfe75d5c2c Add boolean support for raw_union_tag 2026-01-02 10:19:23 +00:00
gingerBill
c49a645d34 Add raw_union_tag support to MINIDUMP_CALLBACK_INPUT 2026-01-02 10:14:39 +00:00