Commit Graph

7183 Commits

Author SHA1 Message Date
Jeroen van Rijn
8ffc98b4bf Merge pull request #5661 from leecommamichael/core-image-tga
[core:image/tga] implement Option.do_not_expand_grayscale
2026-01-24 11:40:54 +01:00
Jeroen van Rijn
533079fc1a Fix #6123 2026-01-24 11:13:50 +01:00
Tohei Ichikawa
85e2e3244b Create new core:sys/darwin/CoreGraphics package (#6147)
* Add Darwin mouse cursor-related bindings

Create CoreGraphics package in the process

* Remove unneeded semicolons

* Define some CG types in CoreFoundation instead

This matches where Darwin's C header files defines these types
2026-01-23 17:45:24 +01:00
Jeroen van Rijn
3f8a32aeb9 Merge branch 'master' into xmlcomment 2026-01-22 11:47:23 +01:00
gingerBill
0de3d872d1 Keep -vet happy 2026-01-19 19:32:41 +00:00
gingerBill
e52601672f Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-19 19:30:46 +00:00
gingerBill
85b3251105 Remove the nbsp change, as it is not necessary 2026-01-19 19:30:37 +00:00
gingerBill
093f088396 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-19 18:17:19 +00:00
gingerBill
fddc732869 Escape non-breaking space (0xa0) to   2026-01-19 18:17:13 +00:00
laytan
0a63aa05bd nbio(windows): remove assert that would trigger on cancel/remove 2026-01-19 19:11:06 +01:00
laytan
45beed0fb3 nbio(windows): use WSAGetOverlappedResult for socket operations for contextfull error code mapping 2026-01-19 18:57:00 +01: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
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
71c4da8e34 Fix typo in strings.equal_fold 2026-01-16 09:19:01 +00:00
gingerBill
b3f4807b2d Add #must_tail to odin/parser 2026-01-15 17:32:32 +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
Nathan Wong
bd9d682d15 Ensure creating a low priority thread does not assert with SCHED_OTHER policy 2026-01-13 16:38:22 -08:00
Laytan
792e6c75ee Merge branch 'master' into nbio 2026-01-13 21:29:41 +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
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