Jeroen van Rijn
e7dbabf668
core:os -> core:os/old && core:os/os2 -> core:os
2026-02-09 15:50:21 +01:00
Laytan Laats
872fe3ff73
kqueue: fix bsds, add user filter, add struct tests
2026-01-11 20:21:25 +01:00
Harold Brenes
eda6e64639
Fix nfds_t alias for Linux
2025-12-20 16:55:06 -05:00
Laytan Laats
8f2a268c2f
Revert "temp log for more info about semid_ds fail"
...
This reverts commit fb50a548f7 .
2025-11-08 21:27:06 +01:00
Laytan Laats
0a091063ce
debug offsets
2025-11-08 21:20:09 +01:00
Laytan Laats
fb50a548f7
temp log for more info about semid_ds fail
2025-11-08 20:26:11 +01:00
Jeroen van Rijn
ad1cf25352
Increase timeout for posix.test_pthreads.
2025-10-10 13:35:32 +02:00
Harold Brenes
0fdac0bd8c
Fix test inet_pton call in test_arpa_inet
2025-09-29 20:29:34 -04:00
gingerBill
e049dde582
Fix tests for UTF-16 strings
2025-08-02 13:01:58 +01:00
gingerBill
5aec40e3e0
Remove unneeded uses of intrinsics.constant_utf16_cstring
2025-08-02 12:55:05 +01:00
Jeroen van Rijn
e89abd006f
Fix #5452
2025-07-11 15:29:27 +02:00
Jeroen van Rijn
ebdf2e17f3
Remove altogether.
2025-06-24 16:37:30 +02:00
Jeroen van Rijn
da3ab6a609
Disable two tests under core/sys/posix.
2025-06-24 14:04:18 +02: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
Laytan Laats
55302280d8
fix addrinfo struct def
...
Fixes #4816
2025-02-12 19:24:27 +01:00
avanspector
a704000c34
Haiku: add posix tests
2025-01-10 06:42:19 +01:00
Laytan Laats
cc3c9bd871
fix thread_unix for Darwin after pthread corrections in posix package
...
afed3ce removed the sys/unix package and moved over to sys/posix, it has
new bindings for the pthread APIs but should have been equivalent (not).
8fb7182 used `CANCEL_ENABLE :: 0`, `CANCEL_DISABLE :: 1`, `CANCEL_DEFERRED :: 0`, `CANCEL_ASYNCHRONOUS :: 1` for Darwin, while the
correct values are `1`, `0`, `2` and `0` respectively (same mistake was made for
FreeBSD in that commit).
What this meant is that the
`pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS)` was not actually
successful, but because the error wasn't checked it was assumed it was.
It also meant `pthread_setcancelstate(PTHREAD_CANCEL_ENABLE)` would
actually be setting `PTHREAD_CANCEL_DISABLE`.
The code in this PR restores the behaviour by now actually deliberately
setting `PTHREAD_CANCEL_DISABLE` and not setting
`PTHREAD_CANCEL_ASYNCHRONOUS` which was the previous behaviour that does
actually seem to work for some reason.
(I also fixed an issue in fmt where `x` would use uppercase if it was a
pointer.)
2024-10-30 15:51:56 +01:00
Laytan
7e12e37df9
fix test
2024-10-28 19:58:39 +01:00
Laytan Laats
1cebc025b0
sys/posix: impl rest of linux, impl some of Windows
2024-10-28 18:59:06 +01:00
Laytan Laats
a78cd48aa3
remove posix signal test, it isn't thread safe
2024-10-03 13:51:31 +02:00
gingerBill
6bbeb0a243
Merge pull request #4203 from karl-zylinski/file-tags-without-comments
...
Make tags use #+ syntax instead of //+
2024-09-19 12:36:43 +01:00
Laytan Laats
80cc2f5416
fix it more
2024-09-17 23:28:34 +02:00
Laytan Laats
9973e0255c
fix error interrupt error check
2024-09-17 23:19:20 +02:00
Karl Zylinski
29fedc1808
Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.
2024-09-17 19:39:48 +02:00
Karl Zylinski
093ade0504
Merge branch 'master' into file-tags-without-comments
2024-09-17 19:36:17 +02:00
Feoramund
16ef59700b
Check for EINTR in sys/posix test
2024-09-15 23:58:03 -04:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
Fakhri Mouad
b08c14b710
fix style, ensure we compile with flags -vet -strict-style -disallow-do
2024-08-28 17:52:58 +01:00
Fakhri Mouad
7e4750c303
fix indentation in test file
2024-08-28 17:30:30 +01:00
Fakhri Mouad
967b6d46b2
avoid using do statement in odin codebase
2024-08-28 17:27:27 +01:00
Fakhri Mouad
16503c3b91
Add Win32 procs needed to handle clipboard
2024-08-28 16:36:06 +01:00
Laytan Laats
f7d7d65bc0
fix open bindings
...
`open` specifies the `mode` argument as vararg (presumably to make it
optional). varargs actually have rules about casting, in this case the
rule that any integer arg of size <= 4 has to be casted to `i32` before
passing it.
Not doing that implicit cast makes the permissions wrong or not apply at
all.
2024-08-16 22:54:53 +02:00
Laytan Laats
f00f68ef6f
posix/os2: fix test and add back in removed temp guard
2024-08-14 01:44:37 +02:00
Laytan Laats
5115aee23f
posix: actually fix netbsd test
2024-08-14 01:44:37 +02:00
Laytan Laats
4a61bac100
posix: fix test on netbsd
2024-08-14 01:44:37 +02:00
Laytan Laats
726891588f
posix: more tests
2024-08-14 01:44:37 +02:00
Laytan Laats
efe68c2e24
posix: add package
2024-08-14 01:44:35 +02:00
Thomas la Cour
a4eeb6ed02
rawinput code
2024-08-08 18:03:59 +02:00
Thomas la Cour
271ec643ed
removed some comments
2024-07-26 11:30:48 +02:00
Thomas la Cour
03f3ea5a9e
removed old test stuff
2024-07-26 10:43:26 +02:00
Thomas la Cour
8403952fd2
win32gen
2024-06-11 18:30:41 +02:00
Thomas la Cour
32dcb3caef
windows bindings test
2024-06-11 18:19:29 +02:00