Commit Graph

407 Commits

Author SHA1 Message Date
Wrath
b6a0606c98 Added getaddrinfo flags 2025-08-12 19:59:38 -04:00
gingerBill
7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
gingerBill
e049dde582 Fix tests for UTF-16 strings 2025-08-02 13:01:58 +01:00
gingerBill
c631a8eff5 os2 internals -> (c)string16 2025-08-02 12:47:03 +01:00
gingerBill
bb4bc316a4 for in string16; Support string16 across core 2025-08-02 12:20:35 +01:00
connnnal
f6993a8205 Add IUnknown UUID 2025-07-17 05:00:20 +01:00
Jeroen van Rijn
e89abd006f Fix #5452 2025-07-11 15:29:27 +02:00
Jamie Dennis
ee9b4f767b Fix incorrect type for FONTENUMPROCW 2025-07-01 15:31:22 +12:00
David Holland
0a45d4de0c Fix WAVEFORMATEX struct size (#5356)
* fix WAVEFORMATEX struct size
* fix size test for WAVEFORMATEX
* pack WAVEFORMATEXTENSIBLE
2025-06-18 12:25:09 +02:00
PePerRoNii
a0e2931dc2 Added GetThreadDescription kernal32.odin 2025-06-17 15:36:48 +07:00
Jeroen van Rijn
eef07431ef Factor out buffered utf helper. 2025-06-16 20:12:27 +02:00
Jeroen van Rijn
f1ce9f98d8 Re-add htonl and htons for those porting from C. 2025-06-06 13:13:34 +02:00
Jeroen van Rijn
4b36306674 Deprecate old @(deprecated) things. 2025-06-06 10:42:34 +02:00
Ben Ryan
cd417b0d1f Add windows bindings to support overlapped IO 2025-06-04 11:34:31 +10:00
Vincent Billet
d98253564b MAKEFOURCC: changed BYTE to byte 2025-05-26 22:31:21 +02:00
Vincent Billet
9b7bb9290e HRESULT_FROM_WIN32 correction 2025-05-26 08:52:46 +02:00
Vincent Billet
bb274ab512 Merge branch 'odin-lang:master' into badaxis/Windows-Audio&Winmm 2025-05-26 08:16:45 +02:00
Jeroen van Rijn
655fab7227 Add core/hyperthread count for Windows and Linux (#5216)
Add core/hyperthread count to `core:sys/info` for Windows and Linux.
TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
2025-05-25 19:43:10 +02:00
Vincent Billet
1ed05c2498 Retracted some winmm changes 2025-05-22 12:15:16 +02:00
Vincent Billet
240d45201d Reverted CoCreateInstance formatting 2025-05-22 09:14:33 +02:00
Vincent Billet
b03cdd22d5 COM & Audio useful bindings 2025-05-21 09:48:41 +02:00
gingerBill
edbe7aa06e Merge pull request #5091 from Badaxis/badaxis/windows-scancodes
Adding windows keyboard scan codes
2025-05-08 16:33:14 +01:00
Jeroen van Rijn
8032db3484 Fix CreateDibSection binding 2025-05-05 23:23:39 +02:00
omark96
1b8a65c327 win/sys: Add GetWindowThreadProcessId 2025-05-03 23:44:55 +02:00
Vincent Billet
d24bac8a36 Adding windows keyboard scan codes 2025-04-29 18:00:41 +02:00
Laytan Laats
ff7d55a8e1 net: rework errors to be cross-platform 2025-04-05 17:35:19 +02:00
Laytan Laats
05add96fc8 sys/windows: fix tabs 2025-03-03 19:30:22 +01:00
gingerBill
3963ad1cc1 Update core/sys/windows/dwmapi.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2025-03-02 12:24:45 +00:00
Roman Osipov
a1597022af Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences 2025-02-26 12:23:49 +03:00
Laytan Laats
435f77b16b fix space indentations 2025-02-12 19:33:41 +01:00
gingerBill
4678186cd2 Merge pull request #4815 from NotKyon/master
Win32 API: Add common comctl32 definitions and surrounding support structures.
2025-02-10 08:57:44 +00:00
kjdslf
a14a4d9de7 Add more win32 STARTF_* constants 2025-02-09 15:01:23 +01:00
NotKyon
ba9e723643 Win32: Fix strict style conformance. 2025-02-09 04:02:00 -08:00
NotKyon
2b36849004 Win32: Fix cross-platform compilation. 2025-02-09 03:50:51 -08:00
NotKyon
ba280c8993 Win32: Fix -vet errors. 2025-02-09 03:36:37 -08:00
NotKyon
a6188eda60 Add common Windows control messages, constants, structures, macros, and support. 2025-02-09 03:11:13 -08:00
NotKyon
bdf2a587c3 Add miscellaneous missing WinAPI functions, constants, and structures for comctl32, user32, and ux_theme. 2025-02-01 16:17:28 -08:00
Jeroen van Rijn
d85c2c1ca7 Add mDNS/Bonjour/Avahi (.local) support for Windows 2025-01-27 22:16:24 +01:00
wrathdoesthat
57b8da79f4 Add GetTempFileNameW 2025-01-22 04:33:33 -05:00
NicknEma
55abf61836 Add ACTCTX definition and procs 2025-01-21 10:55:39 +01:00
gingerBill
30bb2250c7 Merge pull request #4474 from tf2spi/4407-mdei-pack
Pack MDEI struct to fix issue #4407
2025-01-08 16:41:47 +00:00
gingerBill
bc2e57723b Merge pull request #4665 from GrumpyLion/add_some_missing_win_functions
Add SetWindowSubclass and RegisterHotKey functions
2025-01-08 16:23:40 +00:00
Lion Schitik
ab3e2340c2 review 2025-01-08 12:38:28 +01:00
david_cauchi
9a68eb401d Fix name of RI_MOUSE_LEFT_BUTTON_DOWN containing S at the end 2025-01-08 15:06:17 +11:00
Lion Schitik
cdef798fbc Add SetWindowSubclass and RegisterHotKey functions 2025-01-08 01:47:36 +01:00
Laytan Laats
b136aa26c8 sys/windows: fix xinput build tag 2025-01-06 21:14:37 +01:00
gingerBill
37a608664b Merge pull request #3208 from lordhippo/add-xinput
Add xinput bindings to core:sys/windows
2025-01-06 13:44:45 +00:00
Laytan
3a2396033c Merge pull request #4648 from lzurbriggen/fix/get-comm-ports
move GetCommPorts, add missing comm functions, add communication events
2025-01-05 18:53:36 +01:00
Leo Zurbriggen
823740c7a4 formatting 2025-01-05 18:43:16 +01:00
Leo Zurbriggen
c604926595 add SetCommMask, GetCommMask, WaitCommEvent, GetCommPorts, communication event constants 2025-01-05 18:04:36 +01:00