Commit Graph

16381 Commits

Author SHA1 Message Date
Jeroen van Rijn
591efe9136 Merge pull request #6150 from wpcasarin/fix-xlib-background-pixmap
vendor/x11/xlib: Fix XSetWindowBackgroundPixmap binding name
2026-01-19 03:35:28 +01:00
wpcasarin
d838065d32 vendor/x11/xlib: Fix XSetWindowBackgroundPixmap binding name
Changed SetWindowBackgroundMap to SetWindowBackgroundPixmap to match
the actual X11 C function name. The incorrect name caused linker errors.
2026-01-18 23:28:52 -03:00
Jeroen van Rijn
1f34292296 Merge pull request #6146 from konodin/endpoint_to_string-fix
Fix `endpoint_to_string` missing colon
2026-01-18 21:50:46 +01:00
konodin
2ce21cd3f7 Fix endpoint_to_string missing colon 2026-01-18 21:42:14 +01:00
Jeroen van Rijn
27ac0ebc37 Merge pull request #6145 from odin-lang/bill/html-escape
Update `core:encoding/entity`
2026-01-18 13:37:45 +01:00
gingerBill
ca507d0596 Fix crc32 for xml_test_entities_unbox_decode 2026-01-18 12:30:55 +00:00
gingerBill
ba20bfa5f4 Update generated.odin 2026-01-18 12:17:28 +00:00
gingerBill
625e17212d Correct 2 rune printing 2026-01-18 12:13:03 +00:00
gingerBill
871cedc701 Keep -vet happy 2026-01-18 11:47:51 +00:00
gingerBill
23198f7917 Move html escaping calls and fix existing generator 2026-01-18 11:45:40 +00:00
gingerBill
227e7920a8 Add unescape_string and unescape_entity 2026-01-18 10:45:58 +00:00
gingerBill
6b1f4148b1 Merge pull request #6142 from laytan/nbio-improvements
nbio: improvements
2026-01-18 10:00:17 +00:00
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
54abe76f20 nbio: forgot to remove allocator from other impls 2026-01-17 21:10:53 +01:00
laytan
2caee687ed nbio(windows): use one IOCP for all event loops 2026-01-17 21:06:13 +01:00
laytan
3a3ed48fae nbio: mpsc queue for execs on another thread 2026-01-17 21:03:25 +01:00
laytan
e4bd92763a nbio(windows): fix "recursive" timeouts not being taken into consideration for blocking 2026-01-17 20:55:09 +01:00
laytan
44aabdbcda nbio(windows): explicitly set entries_removed = 0 when GetQueuedCompletionStatusEx returns false 2026-01-17 19:22:09 +01:00
gingerBill
f4aa64e934 Add html.escape_string 2026-01-16 17:47:40 +00: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