gingerBill
f989f4df3e
Add sync.One_Shot_Event
2024-02-21 13:08:12 +00:00
gingerBill
21d1c0e5a4
Revert change since it is not needed
2024-02-21 12:58:26 +00:00
gingerBill
d7b7804215
if -> while in wait_signal_until_available to check for spurious wake-ups
2024-02-21 12:55:26 +00:00
gingerBill
8472338bfa
Add reflect.enum_name_from_value and reflect.enum_name_from_value_any
2024-02-21 12:43:09 +00:00
gingerBill
1de1d97429
Merge pull request #3213 from laytan/add-backend-info-to-odin-report
...
Add backend info to odin report
2024-02-21 12:33:06 +00:00
gingerBill
f21ead4f78
Merge pull request #3212 from laytan/improve-net-tests
...
Improve net tests
2024-02-21 12:32:43 +00:00
blob1807
a95cead8e7
add all inter types to switch
2024-02-21 14:05:50 +10:00
blob1807
c276b1c0bc
replace spaces with tabs
2024-02-21 11:51:29 +10:00
blob1807
b39ef29ec6
add missing comma
2024-02-21 11:15:35 +10:00
blob1807
b2b8b14955
Add better support for Enums in json
...
Can now output enum value's name instead of its underlineing value
2024-02-21 11:07:03 +10:00
blob1807
7e0473dded
Revert json union fix
2024-02-21 11:03:15 +10:00
Laytan Laats
e6bd79c882
Make sure we are listening before starting the client
2024-02-20 23:54:11 +01:00
Laytan Laats
9e417592e3
Add logs to flaky test
2024-02-20 23:45:15 +01:00
Laytan Laats
db87c34613
Add backend info to odin report
2024-02-20 23:23:56 +01:00
Laytan Laats
159257597a
Convert weird DOS line-endings to UNIX
2024-02-20 23:22:05 +01:00
Laytan Laats
bdd6a86d73
Remove flaky test
...
It wasn't testing the right thing in the previous
iteration.
And in this iteration the behaviour is a timeout on Unix, and
nothing on Windows.
2024-02-20 23:15:18 +01:00
Laytan Laats
1ab3ec5731
Improve net tests
...
Watching the sporadic CI failures it seems to come from these tests a
lot of the time, this PR cleans up and simplifies (while testing the
same things):
1. Lots of tests were using threads without a need for it
2. Tests had hardcoded `time.sleep` calls which is never a good idea
3. An unclear abstraction was implemented without a real need
4. They weren't being ran on non-windows
5. The `client_connects_to_open_but_not_accepting_port` was not doing
what you wanted to test for, the `tcp_server` proc was returning, and
then `dial` was called, which meant that the server already closed
and you got a refusal error. Now it correctly listens without
accepting, which even results in a different error because the kernel
buffer would have buffered the send
2024-02-20 23:06:18 +01:00
blob1807
004cd4933d
Merge branch 'master' of https://github.com/blob1807/Odin
2024-02-21 00:43:27 +10:00
blob1807
14ee2181cb
Fix bug https://github.com/odin-lang/Odin/issues/3173
2024-02-21 00:42:11 +10:00
Ali Salehi
8aab0f9e34
Add distinct and remove unnecessary link_names
2024-02-19 15:55:57 +01:00
gingerBill
b43c1f2b5b
Merge pull request #3134 from laytan/non-universal-binaries-raylib
...
vendor/raylib: change to non-universal binaries
2024-02-19 14:18:44 +00:00
Ali Salehi
d380e43166
Add xinput bindings to core:sys/windows
2024-02-18 21:28:30 +01:00
Tetralux
b1e608bfba
[fmt] Add *printfln()
...
Adds the following procedures, which just call through to the `printf` versions, with `newline = true`; a new parameter
also added in this commit.
In all cases, `wprintf` is the one that ultimately writes the newline, if requested.
- printfln
- fprintfln
- eprintfln
- aprintfln
- tprintfln
- bprintfln
- caprintfln
- ctprintfln
- sbprintfln
- wprintfln
2024-02-18 16:14:59 +00:00
gingerBill
57c5455827
Merge pull request #3206 from flysand7/linux-fdflags-fix
...
[sys/linux]: Fix numeric values for socket fd flags
2024-02-18 14:56:31 +00:00
flysand7
cc185d98b4
[sys/linux]: Fix numeric values for socket fd flags
2024-02-18 23:04:41 +11:00
Juan Ignacio Díaz
cd61251d39
add Go license
2024-02-17 11:49:07 -03:00
gingerBill
43a199b57b
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-17 13:42:02 +00:00
gingerBill
fa1875a8f1
Minor changes to os2
2024-02-17 13:41:54 +00:00
James Duran
44aae76294
Fix syntax mistake again
...
Sorry for being blind
2024-02-16 10:55:55 -08:00
James Duran
009cebe8bf
Fix Syntax Mistake
2024-02-16 10:50:54 -08:00
James Duran
9399cb53b6
Make into_dynamic_soa more concise and remove builtin tag from it
2024-02-16 10:46:46 -08:00
gingerBill
bed81c8829
Merge pull request #3197 from laytan/update-miniaudio
...
Update miniaudio to 0.11.21
2024-02-16 18:08:29 +00:00
Juan Ignacio Díaz
7a592cbb31
port math.round from Golang
2024-02-16 13:23:44 -03:00
Slendi
c178f7199d
Get Odin to compile on Haiku
...
This patch makes Odin to compile on Haiku which is a good first step.
Now, all that's needed to do is to figure out how to do futexes, which
I am blaming for the program crashing.
2024-02-15 15:51:28 +02:00
James Duran
a4d3777ab2
Added into_dynamic_soa, unordered_remove_soa, and ordered_remove_soa
2024-02-14 16:51:09 -08:00
Laytan Laats
e931c82b9b
miniaudio: add version mismatch check
2024-02-14 21:55:15 +01:00
laytan
a7f0275093
miniaudio: update .lib to 0.11.21
2024-02-14 21:17:12 +01:00
laytan
9ab2fbea00
miniaudio: update .lib
2024-02-14 21:07:57 +01:00
Laytan Laats
7fe86ed565
miniaudio: fix wrong sizes for ma_device
2024-02-14 21:00:26 +01:00
Laytan Laats
16584779fb
miniaudio: update to 0.11.21
2024-02-14 19:57:57 +01:00
gingerBill
c5c2a4d09d
Fix typo
2024-02-13 17:13:39 +00:00
gingerBill
912c326d8b
Fix typo that causes map info debug issues
2024-02-13 17:06:04 +00:00
gingerBill
d496dbf3a0
Fix race condition with #soa
2024-02-13 16:54:41 +00:00
Laytan Laats
88e6980b13
fix build tags
2024-02-13 17:34:40 +01:00
Laytan Laats
0d413b8136
implement part of core foundation framework bindings for err message
2024-02-13 17:34:40 +01:00
Laytan Laats
32a4a5e601
remove darwin from bsd filename
2024-02-13 17:34:40 +01:00
Laytan Laats
91cf0826c1
use Security.framework with SecRandomCopyBytes for rand_bytes on darwin
2024-02-13 17:34:40 +01:00
Laytan Laats
3bc172c70b
add crypto.rand_bytes for Darwin and FreeBSD
2024-02-13 17:34:00 +01:00
gingerBill
cbfb32c34c
Fix race condition with regards to #soa arrays by using the fields mutex
2024-02-13 16:21:41 +00:00
gingerBill
5cd57a3a7f
Use Raw_Map as the debug information for a map
2024-02-13 15:50:07 +00:00