466 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
5e6e1c1e75 Add gethostname to ws2_32.odin 2026-03-20 11:44:10 +00: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
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
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
Alex Davis
9359cfa39e added 2 user32 functions 2026-02-21 10:15:31 +00: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
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
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
bplu4t2f
808c14f60f Add more win32 bindings 2026-01-24 09:54:41 +01:00
laytan
2caee687ed nbio(windows): use one IOCP for all event loops 2026-01-17 21:06:13 +01:00
Laytan Laats
24ee35af28 nbio: add package 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
bplu4t2f
33352ed6cb Add user32 scroll bar related bindings, and FrameRect 2025-12-27 17:31:15 +01:00
Ben Ryan
e2a0f4417f Add SIO_UDP_CONNRESET winsock constant 2025-11-26 20:40:38 +11:00
gingerBill
3e0f9cace6 Merge pull request #5936 from benjryan/wsa_defs
Add WSASendTo and WSARecvFrom
2025-11-16 22:25:08 +00:00
Ben Ryan
a5d9c87ac5 Add WSASendTo and WSARecvFrom 2025-11-16 23:56:54 +11:00
Wrath
a43cee934e LockFileEx/UnlockFileEx and related flags 2025-11-13 23:36:16 -05:00
acyclicgraph
5869ef29d9 Added FreeLibraryAndExitThread in kernel32. Added EnumProcessModules in psapi (new file). 2025-11-08 21:13:12 +01:00
gerigk
fbbdbc37fa Add missing SetLayeredWindowAttributes constants 2025-11-04 18:22:34 +01:00
jakubtomsu
f7ea85ccb2 forgot to use tabs, as always 2025-10-16 16:08:08 +02:00