Jeroen van Rijn
94a8c38d86
Add GetNumberOfConsoleInputEvents
2024-06-20 15:19:25 +02:00
gingerBill
5dc98336a8
Merge pull request #3524 from Feoramund/freebsd-amd64-syscall-errno
...
Add `intrinsics.syscall_bsd`
2024-06-20 11:47:01 +01:00
gingerBill
7184792f7a
Merge pull request #3740 from laytan/wgpu
...
Add `vendor:wgpu`
2024-06-20 11:39:58 +01:00
Jeroen van Rijn
4380934283
Merge pull request #3787 from jasonKercher/more-windows-comm
...
Add more bindings for comm ports and console events
2024-06-19 23:32:12 +02:00
jason
93e67f6bec
make -strict-style happy
2024-06-19 17:15:09 -04:00
jason
6b1e76985c
move DCB to types.odin; add more bindings for comm functions
2024-06-19 17:04:18 -04:00
Fabian Sperber
0e9bf86123
Fix d3d11 IInfoQueue_VTable & Add LoadLibraryExW
...
- wrong order & was missing PushStorageFilter & PushRetrievalFilter
2024-06-19 22:22:26 +02:00
jason
e6d84d18d3
Merge remote-tracking branch 'origin/master' into more-windows-comm
2024-06-19 12:33:13 -04:00
jason
a9b6d28291
save before merging from upstream
2024-06-19 12:33:05 -04:00
Jeroen van Rijn
94ec647923
Merge pull request #3750 from Kelimion/dcb_bitfield
...
Update kernel32 struct DCB.
2024-06-15 12:14:27 +02:00
Franz Höltermann
c3302615a3
Merge branch 'master' of https://github.com/FrancisTheCat/Odin
2024-06-14 17:43:09 +02:00
Franz Höltermann
3c3f0f90c2
Fixed WinEventFlags
2024-06-14 17:41:21 +02:00
FrancisTheCat
cd5fa8523f
Merge branch 'odin-lang:master' into master
2024-06-14 16:34:21 +02:00
Franz Höltermann
ec7b77fc0f
Improved win32 bindings according to Kelimions suggestions with enums and bitsets
2024-06-14 16:32:41 +02:00
Jeroen van Rijn
50564a301e
Update kernel32 struct DCB.
2024-06-13 10:22:44 +02:00
jasonkercher
a804463a57
add COMMTIMEOUTS, get/setCommTimeouts
2024-06-12 15:31:59 -04:00
Feoramund
20c32c807d
Fix info.init_os_version on FreeBSD
...
It's possible for the return string to be longer than 128 characters
these days, so I've increased it to 1024, same as the other BSDs.
SYSCTL was otherwise erring out due to lack of buffer space.
2024-06-12 13:10:19 -04:00
Feoramund
5b5402fb23
Add intrinsics.syscall_bsd
...
This is a BSD-style syscall that checks for a high Carry Flag as the
error state. If the CF is high, the boolean return value is false, and
if it is low (no errors) then the boolean return value is true.
2024-06-12 13:07:13 -04:00
Laytan Laats
108b8feb35
Add vendor:wgpu
2024-06-12 17:22:02 +02:00
Franz Höltermann
c6c00c706a
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-06-11 09:37:20 +02:00
Franz Höltermann
6454c6f087
Added some missing functions to core/sys/windows
2024-06-11 09:35:59 +02:00
Laytan Laats
072825ac5a
add MacOS 14.5 to 'core:sys/info' and 'odin report'
2024-06-07 17:42:41 +02:00
Jeroen van Rijn
c3b94b9e1d
Merge pull request #3646 from Feoramund/multi-test
...
Refactor the test runner
2024-06-04 13:23:52 +02:00
Laurent Dufresne
1617060f46
Fix type of two Win32 functions
2024-06-03 20:41:31 +02:00
Feoramund
7764ab2ab0
Prevent test runner deadlock on NetBSD
...
Add `pthread_testcancel` to `core:sys/unix`
2024-06-02 21:27:36 -04:00
Feoramund
6a5633df2d
Fix wrong PTHREAD_CANCEL_ASYNCHRONOUS on FreeBSD and OpenBSD
...
The test runner was deadlocking when a test raised a signal on FreeBSD.
This is untested on OpenBSD, but I have referenced this file:
https://github.com/openbsd/src/blob/master/include/pthread.h
2024-06-02 20:41:25 -04:00
Erik Isidore
0514ee0410
PR#3655 - small linter issue correction
2024-05-30 16:12:20 -03:00
Erik Isidore
f6e699cd22
core:sys/linux - Add support for Unix Domain Socket addresses
2024-05-30 00:14:00 -03:00
gingerBill
590db0838a
Fix types
2024-05-24 17:21:00 +01:00
gingerBill
1081e9ac09
Fix enum definition for bit_set use
2024-05-24 11:41:56 +01:00
Andreas T Jonsson
5d82f0cad5
Merge branch 'master' into netbsd
2024-05-13 09:21:32 +02:00
Andreas T Jonsson
f428e30211
Minor code cleanup
2024-05-10 17:49:56 +02:00
gingerBill
aebb5a5178
Merge pull request #3506 from IllusionMan1212/windows-hid
...
core/sys/windows: added various procedures and constants for the hid library
2024-05-10 16:03:13 +01:00
gingerBill
b269fd00f0
Merge pull request #3560 from wschiefer/add-more-win32-console-apis
...
Add more win32 console APIs
2024-05-10 12:00:28 +01:00
Andreas T Jonsson
b72c2edabb
Merge branch 'master' into netbsd
2024-05-10 09:04:52 +02:00
Andreas T Jonsson
f1491280ab
Fixed invalid alignment
2024-05-10 08:16:10 +02:00
Laytan
d7fdccb08c
fix a couple of -vet-style failures after f54977336b
2024-05-09 19:39:48 +02:00
Waldemar Schiefer
abcbb8b47a
Add more win32 console APIs
2024-05-09 16:41:09 +02:00
IllusionMan1212
ad3675cdd6
core/sys/windows: added various procedures and constants related to the hid library
2024-05-07 21:18:25 +02:00
Hiroaki Nakamura
df53fec828
sys/linux: Pass size to epoll_create
...
Without this fix, you can see a random size value is passed to
epoll_create by using strace.
2024-05-06 21:44:59 +09:00
gingerBill
96a4cecee5
Merge pull request #3536 from laytan/linux-fix-open-bits
...
sys/linux: fix open bits
2024-05-05 16:47:42 +01:00
Laytan Laats
eaab17f8fb
sys/linux: fix open bits
2024-05-05 14:16:21 +02:00
gingerBill
17a01a81d8
Merge pull request #3528 from laytan/fix-some-sync-issues
...
Fix some sync issues
2024-05-03 17:14:50 +01:00
Laytan Laats
8aab395c70
darwin: fix minimum os version check not being inclusive
2024-05-02 21:18:49 +02:00
Andreas T Jonsson
7feff1c113
Merged with master
2024-05-02 09:27:46 +02:00
flysand7
9ffa4a4eb1
[sys/linux]: Fix bit numbers for open flags
2024-05-01 05:24:02 +11:00
Laytan Laats
c0ca26ac17
sys/info: add missing @(private)'s
2024-04-30 00:24:09 +02:00
Laytan Laats
b41395e3b4
sys/info: update doc.odin
2024-04-30 00:24:09 +02:00
Laytan Laats
d40c207fde
sys/info: retrieve better CPU description on Darwin
...
Previously either `ARM` or `ARM64`, now you get something like `Apple
M1`
2024-04-30 00:24:09 +02:00
Laytan Laats
8660718ebe
sys/info: add feature detection for Darwin and Linux ARM
2024-04-30 00:24:09 +02:00