Jeroen van Rijn
0df1645422
Merge pull request #2942 from flga/master
...
core:sys/linux: make Perf_Read_Format a bitset
2023-11-24 13:53:14 +01:00
Jeroen van Rijn
dab72d5615
Merge pull request #2952 from Pingar5/master
...
Add various missing windows procedures
2023-11-24 13:23:47 +01:00
Jeroen van Rijn
f6308ab5b9
Merge pull request #2899 from jakubtomsu/more-sys-windows
...
More `core:sys/windows` bindings (primarily MiniDump and SHGetKnownFolderPath)
2023-11-23 16:26:29 +01:00
Brennen Shaughnessy
6749639eb1
Add various missing windows procedures
2023-11-22 09:29:56 -05:00
reavencode
e2e18324ed
Add DwmGetWindowAttribute to core/sys/windows
2023-11-21 22:44:46 +01:00
skytrias
f97ccca514
added ToUnicode to win32
2023-11-21 21:01:05 +01:00
flga
5a8da5dcdb
core:sys/linux: rename Perf_Read_Format_Flags
2023-11-10 19:41:01 +00:00
flga
6de2b7700f
core:sys/linux: make Perf_Read_Format a bitset
2023-11-10 12:58:53 +00:00
Laytan
fc6edf65d7
fix linux.accept, addrlen should be a pointer to the length instead of the length itself
2023-11-09 14:17:22 +01:00
flga
4266a7c166
sys/linux: munmap was not using the correct syscall
2023-11-07 23:19:14 +00:00
jakubtomsu
1f969fdc75
Fix tabs
2023-11-03 15:06:46 +01:00
flysand7
2c9ef2e1bc
sys/linux: Fix EFAULT on recvfrom
2023-11-01 10:06:30 +11:00
jakubtomsu
5c533e477d
Fix indentation and style
2023-10-31 16:32:53 +01:00
jakubtomsu
21247721b4
Add WaitFor* Ex variants
2023-10-28 20:39:46 +02:00
jakubtomsu
7a16618ec6
SHGetKnownFolderPath etc.
2023-10-27 19:12:49 +02:00
jakubtomsu
2b2abc6b9f
Dbghelp
2023-10-27 19:12:25 +02:00
flysand7
bbd4c1054e
convert spaces to tabs
2023-10-27 11:30:13 +11:00
flysand7
4d65b1ab9c
Implement new sys/unix package
2023-10-27 10:51:21 +11:00
hikari
1b06f809de
[core:sys/windows] Added SuspendThread
2023-09-08 00:02:27 +03:00
hikari
19fe508fb2
[core:sys/windows] Added couple of procedures
2023-09-07 23:58:19 +03:00
Laytan Laats
0a2678973b
Fix the OVERLAPPED_ENTRY type definition
2023-08-29 10:44:21 +02:00
gingerBill
2cc22d118d
Require parentheses for #align(N)
2023-08-15 14:55:02 +01:00
gingerBill
89c50bbd82
Adhere to -vet-style
2023-08-08 16:01:22 +01:00
ftphikari
699aec331d
Merge branch 'odin-lang:master' into master
2023-07-25 15:32:18 +03:00
hikari
6ac2c5c6dc
[core:sys/windows] Added a couple of procedures
2023-07-17 02:40:49 +03:00
ftphikari
7ca0b256eb
[core:sys/windows] Added missing MONITORINFOEXW type
2023-07-14 23:02:56 +03:00
ryuukk
e1fae5b902
Fix attribute
2023-07-11 03:51:28 +02:00
ryuukk
20e5e95ff8
Deprecate htons, htonl, ntohl, ntohs
2023-07-11 03:45:08 +02:00
Jeroen van Rijn
5b96712ed0
Merge pull request #2642 from ryuukk/patch-4
...
core:sys/windows: Add definitions for network byte order conversion procs
2023-07-10 17:04:09 +02:00
ryuukk
bc43a8d38d
Add CopyFileW
2023-07-10 06:02:38 +02:00
ryuukk
ccd5685cee
Fix doc links
2023-07-10 05:57:12 +02:00
ryuukk
f0f8177a19
Add definitions for network byte order conversion procs
2023-07-10 05:56:26 +02:00
Rickard Andersson
37469dc9c2
fix(poll): make interface more odinary
...
We take `fds` as a normal slice and get the length from it instead of
bothering with a second parameter.
2023-06-15 16:10:00 +03:00
Rickard Andersson
dce57627c9
fix: remove redefinition of timespec
...
They are in the same package, so it's accessible anyway.
2023-06-15 08:54:42 +03:00
Rickard Andersson
0036509f74
cleanup(os_linux/poll): use tabs everywhere
...
:(
2023-06-14 23:51:33 +03:00
Rickard Andersson
003c470a4d
fix(os_linux): make when for arm64 check correct order
...
Also remove `sys_select` since we aren't using it anyway
2023-06-14 23:38:00 +03:00
Rickard Andersson
d6540d9077
fix(os_linux): call ppoll instead on arm64
2023-06-14 23:26:43 +03:00
Rickard Andersson
4f2b9835f5
feat(unix): add poll
2023-06-14 22:13:36 +03:00
gingerBill
c1eb536726
Change to "contextless" from "c"`
2023-05-29 23:30:48 +01:00
Ryhor Spivak
8012e6fa43
Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
...
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
3108752a0c
Fix #2518
2023-05-18 11:55:37 +01:00
Yawning Angel
def4fdc3f3
core/sys/info: Fix the CPUID check
...
This needs to test that the n-th bit is set.
2023-05-16 23:52:15 +09:00
Yawning Angel
adb4692ce8
core/sys/info: Workaround extremely rare XGETBV issues
...
Someone ran into this on Discord, so adopt the same workaround that
chrome did, by checking both OSXSAVE and XSAVE before calling XGETBV.
The old way of detecting AVX is correct per Intel, but such is life.
2023-05-16 22:56:16 +09:00
Matias Fernandez
3b2864d8a6
Add IsWindow to user32.odin
...
This is useful for checking if window has been closed without going through the WindowProc.
2023-04-22 17:49:16 -04:00
RestartFU
586e85281e
fix SendInput function in user32
2023-04-08 23:13:37 +00:00
Jon Lipstate
0f1c5b3891
correct errors
2023-04-05 22:22:16 -07:00
Jeroen van Rijn
fb0b9de7a9
Merge pull request #2423 from jon-lipstate/wsapoll
...
Winsock updates, iocp calls
2023-04-05 09:08:07 +02:00
Jon Lipstate
2c9156e2c1
repaired autoformatter
2023-04-04 23:57:52 -07:00
Jon Lipstate
236347b5bc
retain runtime load sample
2023-04-04 23:11:01 -07:00
Jon Lipstate
c5d2b01923
remove runtime signatures to prevent ffi collisions
2023-04-04 23:03:19 -07:00