Leo Zurbriggen
22ef6ae8c6
add windows.ReadDirectoryChangesExW
2026-01-27 18:11:09 +01:00
gingerBill
9084d7e99b
Fix #6173
2026-01-27 12:27:35 +00: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
laytan
2caee687ed
nbio(windows): use one IOCP for all event loops
2026-01-17 21:06:13 +01:00
gingerBill
d46c547264
Merge pull request #6124 from laytan/nbio
...
Add `core:nbio`
2026-01-16 13:25:03 +00:00
Laytan Laats
5fcf210c91
uring: move package from nbio/uring to sys/linux/uring
2026-01-14 19:03:15 +01:00
gingerBill
4dcbc67ead
Remove old dead directory core:sys/win32
2026-01-14 12:48:19 +00: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
Znarf
0c3f3f536b
Implement more Linux syscalls. ( #6083 )
2026-01-13 21:02:08 +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
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
gingerBill
393fec2f66
Move WSAEVENT to types.odin
2026-01-05 11:48:19 +00:00
gingerBill
5fae3527c1
Implement LPWSAOVERLAPPED_COMPLETION_ROUTINE correctly
2026-01-05 11:44:52 +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
c49a645d34
Add raw_union_tag support to MINIDUMP_CALLBACK_INPUT
2026-01-02 10:14:39 +00:00
gingerBill
49687069ef
Minor formatting improvements
2026-01-02 10:14:24 +00:00
gingerBill
111ed21e7e
Change usage of i32 to c_int where appropriate
2026-01-02 10:02:23 +00:00
gingerBill
747ecc6911
Fix typo
2026-01-02 09:55:56 +00:00
gingerBill
37458a4beb
Fix some return types in core:sys/windows
2026-01-02 09:53:50 +00:00
gingerBill
45aa89cf02
Replace uses of c.int with c_int for consistency
2026-01-02 09:47:45 +00:00
gingerBill
b9a170b117
Fix GetSystemMetricsForDpi signature
2026-01-02 09:46:50 +00:00
gingerBill
047ceb2c81
Merge pull request #6069 from karl-zylinski/webgl-binding-fixes
...
WebGL binding additions
2025-12-30 13:38:40 +00:00
Karl Zylinski
47f20c0ffb
Added 'set_document_title' to be able to rename the tab
2025-12-29 20:57:25 +01:00
Karl Zylinski
fb52238e36
Fix bugs in odin.js:GetActiveUniformBlockName
2025-12-29 17:42:19 +01:00
Karl Zylinski
3f9aefda20
Added CheckFramebufferStatus to WebGL bindings
2025-12-29 17:34:01 +01:00
bplu4t2f
33352ed6cb
Add user32 scroll bar related bindings, and FrameRect
2025-12-27 17:31:15 +01:00
Karl Zylinski
159eab133b
More webgl bindings and fixes
2025-12-27 01:41:59 +01:00
Karl Zylinski
7dee25bdcc
More allocator-aware webgl bindings and added more missing bindings.
2025-12-26 23:34:45 +01:00
Karl Zylinski
7e39239907
WebGL: Add GetActiveAttrib binding
2025-12-26 23:02:35 +01:00
Laytan Laats
8ce30dbb72
sys/wasm/js: fix vet error
2025-12-22 16:56:56 +01:00
Laytan Laats
06076e02c0
js: improve warning about conflicting memory strategies
2025-12-21 17:02:41 +01:00
Harold Brenes
eda6e64639
Fix nfds_t alias for Linux
2025-12-20 16:55:06 -05:00
Laytan
7640a0511f
Merge pull request #6015 from salfel/linux-syscalls
...
core:sys/linux Add timerfd syscall wrappers
2025-12-20 21:25:19 +01:00
Jeroen van Rijn
2260f461ba
Merge pull request #6035 from janga-perlind/darwin-bindings
...
More bindings for darwin
2025-12-19 06:45:48 +00:00
Lucas Perlind
b97e1fff9e
More bindings for darwin
2025-12-19 13:34:45 +11:00
Felix Salcher
a325ab469f
add timerfd_* syscall wrappers
2025-12-13 17:27:32 +01:00
Jeroen van Rijn
3fc0320449
Merge pull request #5741 from FourteenBrush/patch-4
...
Make `linux.IO_Vec.base` a multipointer
2025-12-10 18:09:01 +00:00
WisonYe
45b4fb1565
Freebsd: Fixed 'write' syscall to cause 'ESPIPE' on the pipe fd. ( #5575 )
2025-12-09 19:19:13 +01:00
Tohei Ichikawa
67cc04b1da
Added more NSApplication and NSWindow bindings
2025-12-05 17:20:15 -05:00
Colin Davidson
a76c902b79
fix thread_act_t size
2025-12-01 16:38:10 -08:00