Commit Graph

16364 Commits

Author SHA1 Message Date
Jeroen van Rijn
5834cd22df Merge pull request #6143 from rasa-silva/add-base64url
core:encoding/base64: add support for url variant
2026-01-18 09:37:33 +01:00
rykad
454f75cb22 core:encoding/base64: add support for url variant 2026-01-17 22:26:25 +00:00
laytan
44aabdbcda nbio(windows): explicitly set entries_removed = 0 when GetQueuedCompletionStatusEx returns false 2026-01-17 19:22:09 +01:00
gingerBill
d46c547264 Merge pull request #6124 from laytan/nbio
Add `core:nbio`
2026-01-16 13:25:03 +00:00
gingerBill
a2fa32a518 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-16 09:19:08 +00:00
gingerBill
71c4da8e34 Fix typo in strings.equal_fold 2026-01-16 09:19:01 +00:00
gingerBill
16254ed8fa Merge pull request #6119 from slowhei/master
Fix assertion error when imported proc groups are passed as proc arguments
2026-01-16 09:16:25 +00:00
gingerBill
fce498744f Merge pull request #6136 from odin-lang/bill/disable-exceptions
`-disable-unwind`
2026-01-16 09:15:20 +00:00
gingerBill
557e854864 -disable-unwind 2026-01-15 18:12:39 +00:00
gingerBill
f4a7e0b279 Add @(no_sanitize_thread) 2026-01-15 18:06:25 +00:00
gingerBill
faacac33ab Merge pull request #6135 from odin-lang/bill/must-tail
`#must_tail`
2026-01-15 18:03:09 +00:00
gingerBill
59ae82634e Add preserve/most and preserve/all 2026-01-15 17:52:36 +00:00
gingerBill
b3f4807b2d Add #must_tail to odin/parser 2026-01-15 17:32:32 +00:00
gingerBill
5f07055ac1 Add #must_tail and "preserve/none" calling convention 2026-01-15 17:28:28 +00:00
gingerBill
0366cd3304 Add #must_tail (similar syntax to #force_inline 2026-01-15 16:32:52 +00:00
Laytan Laats
57d02cb148 pool: remove assert that is too strict 2026-01-14 20:02:08 +01:00
Laytan Laats
5fcf210c91 uring: move package from nbio/uring to sys/linux/uring 2026-01-14 19:03:15 +01:00
gingerBill
7f509c01f1 Merge pull request #6125 from Wassimulator/patch-2
Add init and fini callback procs to thread pools
2026-01-14 14:17:01 +00:00
Wassim Alhajomar
28c9e319d3 use ^Thread instead of index in init and fini 2026-01-14 15:00:50 +01:00
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
Laytan
792e6c75ee Merge branch 'master' into nbio 2026-01-13 21:29:41 +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
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