1336 Commits

Author SHA1 Message Date
gingerBill
039c438af2 Fix possible utf16 out of bounds issue 2026-04-02 12:54:07 +01:00
gingerBill
1d8c44a98c Fix minor issues with Windows bindings 2026-04-02 12:52:17 +01:00
gingerBill
70c4f4bc45 Fix read_reg_string which was using the wrong size in bytes for the resulting buffer 2026-04-02 10:25:19 +01:00
gingerBill
5e6e1c1e75 Add gethostname to ws2_32.odin 2026-03-20 11:44:10 +00:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
maximusdionyssopoulos
ac6cabd5e3 fix NSTimer scheduledTimerWithTimeInterval:repeats:block: procedure 2026-03-09 21:17:20 +11:00
bplu4t2f
4c981ad10a Fix return value of FreeLibraryAndExitThread 2026-03-02 21:21:50 +01:00
bplu4t2f
2a9c35fe3c Fix incorrect PVOID/VOID usage in some win32 signatures 2026-03-02 21:19:10 +01:00
gingerBill
7cc68da719 Merge pull request #6342 from fendevel/webgl-additions
webgl: Add bindings, fix `Tex*Image*D`
2026-03-01 13:15:56 +00:00
Jeroen van Rijn
a0b9d710f7 Merge pull request #6336 from bplu4t2f/master
Fix MultiByteToWideChar usage in utf8_to_wstring_buf
2026-02-28 13:16:39 +01:00
bplu4t2f
1e0f5a691c Fix overflow edge cases on 32-bit systems. 2026-02-28 11:39:12 +01:00
fendevel
eeb7e775f3 webgl: Add bindings, fix Tex*Image*D 2026-02-28 00:37:34 +00:00
bplu4t2f
9883e4ec29 Handle edge cases: Allocation error, extremely long input 2026-02-27 19:16:34 +01:00
Bruno
e65dcd64b8 add bindings to allow custom cursors 2026-02-27 09:54:26 -03:00
bplu4t2f
fa3441936c Fix utf8_to_utf16_alloc edge case, and improve utf8_to_* documentation 2026-02-26 20:52:00 +01:00
bplu4t2f
e75d0694ba win32 utf8_to_utf16_buf now null-terminates because _alloc did too. utf8_to_utf16_alloc no longer truncates trailing zero characters. utf8_to_wstring adjusted accordingly, including edge cases. 2026-02-26 18:14:34 +01:00
bplu4t2f
730f417ecb Fix MultiByteToWideChar usage in utf8_to_wstring_buf 2026-02-25 23:02:14 +01:00
Jeroen van Rijn
1e1e00c68e [core:sys/info] One more thing 2026-02-24 14:48:09 +01:00
Jeroen van Rijn
2cc7fe6d16 [core:sys/info] Fix small doc render issue 2026-02-24 14:46:30 +01:00
Jeroen van Rijn
af43e6851b [core:sys/info] Remove , ok 2026-02-23 23:55:36 +01:00
Jeroen van Rijn
ea80eab75a [core:sys/info] Remove @(init) where practical 2026-02-23 23:09:37 +01:00
Alex Davis
9359cfa39e added 2 user32 functions 2026-02-21 10:15:31 +00:00
Jeroen van Rijn
11d2d37277 Better. 2026-02-20 19:31:50 +01:00
Jeroen van Rijn
3299981433 core:sys/info: Fix GPU enumeration loop 2026-02-20 19:25:17 +01:00
Krzesimir Nowak
2b985e900c Fix build errors in the sys/es package 2026-02-15 16:57:32 +01:00
Jeroen van Rijn
4c9466e3ea Add comment to ole32.odin and types.odin. 2026-02-14 13:17:28 +01:00
Jeroen van Rijn
1d38b715c3 Revert "Add missing platform guards."
This reverts commit 2da1befe04.
2026-02-14 13:14:33 +01:00
Jeroen van Rijn
2da1befe04 Add missing platform guards. 2026-02-14 13:11:36 +01:00
blob1807
dcd93579f0 Add more Windows endpoints 2026-02-14 20:31:51 +10:00
Jeroen van Rijn
76c866686c Remove core:mem import from core:sys/darwin/Foundation. 2026-02-12 13:56:06 +01:00
gingerBill
355b8a8c83 Merge pull request #6245 from odin-lang/new_os
`core:os/os2` -> `core:os` integration
2026-02-11 17:53:16 +00:00
gingerBill
16a6c96971 Add VirtualAlloc2 and MapViewOfFile3 2026-02-11 13:01:35 +00:00
jakubtomsu
d492122bd4 import cleanup 2026-02-09 20:08:22 +01:00
Jeroen van Rijn
454ad1f4b8 Unwrap cpu affinity syscalls. 2026-02-09 19:01:43 +01:00
Jeroen van Rijn
13f26f4645 Merge pull request #6218 from Kelimion/fix-6204
Fix #6204
2026-02-02 13:22:38 +01:00
Jeroen van Rijn
98413ad154 Remove duplicate buffer 2026-02-02 13:16:13 +01:00
Jeroen van Rijn
3a7c4994ac Fix #6204
Use temporary stack buffers and some global scratch space to remove the need for any allocator.
2026-02-02 13:11:23 +01:00
gingerBill
813b622dcc Merge pull request #6214 from Josh8011/master
user32.odin add UnhookWinEvent
2026-02-02 11:37:43 +00:00
gingerBill
f45ca2d03e Use contextless 2026-02-02 10:06:44 +00:00
gingerBill
4d938862a2 Merge pull request #5816 from jakubtomsu/win32-rawinput-and-barriers
[core:sys/windows] Sync Barriers, macros for buffered rawinput
2026-02-02 10:05:41 +00:00
Joshua Zimbicki
332af91b23 user32.odin add UnhookWinEvent 2026-02-02 17:31:51 +11:00
gingerBill
5a21213fa5 Merge pull request #6093 from bplu4t2f/master
Add more win32 bindings
2026-01-30 10:47:08 +00:00
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
bplu4t2f
808c14f60f Add more win32 bindings 2026-01-24 09:54:41 +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
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