Laytan Laats
23cd64ec35
reduce dynamic library dependencies for macos release
2024-02-29 23:39:18 +01:00
Laytan Laats
17b1c8d338
fix releases being a zip of a zip
2024-02-29 17:00:20 +01:00
Laytan Laats
ee543a304a
Zip so compiler keeps executable permissions
2024-02-22 21:04:08 +01:00
Laytan Laats
b894df2125
Make MacOS releases self contained / bundle LLVM
2024-02-22 20:38:25 +01:00
Laytan Laats
bb23648c71
Also convert and promote bit_set types for #c_varargs
2024-02-22 18:17:52 +01:00
Laytan Laats
f6f3a760bc
Promote types in #c_varargs according to C rules
2024-02-21 22:05:11 +01:00
Laytan Laats
1fc256dd90
Fix divergent proc call in defer
...
Fixes #3216
Fixes #2985
2024-02-21 19:43:34 +01: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
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
Laytan
0e6dd56ac1
fix instrumentation in debug mode
2024-02-08 22:29:45 +01:00
Laytan
eab0e730a0
fix -no-crt on Linux
2024-02-08 19:48:37 +01:00
Laytan Laats
a8c4f46747
fix ci
2024-02-07 19:53:52 +01:00
Laytan
9b4cd0743c
mem/virtual: fix arena_static_reset_to inverted logic
2024-02-06 20:24:38 +01:00
laytan
3f090ed523
fix for instrumenting on Windows
2024-02-06 19:55:09 +01:00
Laytan
02b8fefa30
indent doc.odin, makes it render nicely on the documentation site
2024-02-05 18:59:08 +01:00
Laytan
95808fd2e7
remove unneeded no instrumentation comment, are all foreign procs anyway
2024-02-05 18:54:37 +01:00
Laytan
e63d71c23b
implement bsd's, same as darwin
2024-02-05 18:48:17 +01:00
Laytan Laats
ca6300c860
spall instrumentation
2024-02-05 16:54:22 +01:00
Laytan Laats
d5db49a3b0
name the workflows
2024-02-02 21:10:35 +01:00
Laytan Laats
606f11ebe8
fix hxa test use after free, skip weird pow test failure
2024-02-02 21:10:11 +01:00
Laytan Laats
07a4f4d017
add MacOS ARM target to CI and releases
2024-02-02 21:09:57 +01:00
Laytan Laats
eb811e8341
fix -no-crt on Darwin
2024-02-02 19:49:40 +01:00
Laytan Laats
9d5afee24b
Fix not having the base collection in releases
2024-01-30 21:15:56 +01:00
Laytan Laats
31914e9cb9
Add odin test -all-packages to be able to test an entire project
2024-01-26 18:27:05 +01:00
Laytan Laats
9ac619f4a2
vendor/raylib: change to non-universal binaries
...
We already have 2 different folders for the different architectures, so
this does should not have any usage impact.
Main motivation for doing this is hombrew requiring non-universal
binaries in their installation, so this is a step to getting homebrew
and vendor to play nice.
2024-01-24 20:58:14 +01:00
Laytan Laats
2097b09abb
fix for wasm on llvm 17
2024-01-22 21:07:17 +01:00
Laytan Laats
b25e85a8bb
check if string could be converted from float
2024-01-17 00:15:24 +01:00
Laytan Laats
5032839abc
darwin: add library paths for default Homebrew and MacPorts locations
2024-01-13 21:38:30 +01:00
Laytan Laats
5896469f3b
vendor/miniaudio: fix import for macos
...
Using `system:miniaudio` is suboptimal, we already provide the
`Makefile` that builds the `lib/miniaudio.a` and this works on MacOS.
This PR makes linking with that library the default.
2024-01-13 21:14:02 +01:00
Laytan Laats
ce8801c37f
c/libc: add to_stream proc
...
Adds the `to_stream` procedure to `core:c/libc` to improve usability of
the core collection when you have to use libc.
2024-01-08 19:20:06 +01:00
Laytan Laats
85b71708dd
dynlib: add last_error procedure
2024-01-06 02:08:11 +01:00
Laytan Laats
8c10f4cdde
encoding/json: try to unmarshal into union variants
2024-01-03 19:02:30 +01:00
Laytan Laats
8a7c2ea9d0
darwin: actually honor no-crt by not linking with -lSystem -lm
2024-01-02 21:44:51 +01:00
Laytan Laats
1fa2af213d
fix typo in assign_at_elems
2023-12-28 17:10:08 +01:00
Laytan Laats
383d485e2a
fix double execution of tests
2023-12-27 15:34:11 +01:00
Laytan Laats
64ed4389ff
fix load directive with absolute paths
2023-12-27 15:00:33 +01:00
Laytan Laats
09db245e4c
fix wrong string type assert
...
Fixes #2846
2023-12-20 00:56:36 +01:00
Laytan Laats
bc7972fbaf
error when #c_vararg is not applied to the last parameter
...
Fixes #2981
2023-12-20 00:17:11 +01:00
Laytan Laats
46250168d6
use stack buffer for log allocator to avoid logging it's own allocations
2023-12-19 23:26:23 +01:00
Laytan
baa5ea9258
fix not passing arg everywhere
2023-12-18 16:41:55 +01:00
Laytan
9a490e4e0d
fix big alignment
2023-12-18 16:38:51 +01:00
Laytan Laats
252de70b0f
fix same problem in virtual arena
2023-12-18 15:41:36 +01:00
Laytan Laats
4ae021cd4c
add other failing test and fix them
2023-12-18 15:17:27 +01:00
Laytan Laats
af962526df
switch tests around
2023-12-18 14:46:37 +01:00
Laytan Laats
6024af172c
add failing test for runtime arena edge case
2023-12-18 14:40:49 +01:00
Laytan Laats
58ff3dd1ed
log allocator: add option to switch between bytes and human format
2023-12-16 01:27:38 +01:00
Laytan Laats
cf8c9a6be4
log allocator: fix the formatting for query info/features and errors
2023-12-16 00:55:59 +01:00
Laytan Laats
ea709451e8
log allocator: use %m to format size
2023-12-15 23:43:35 +01:00
Laytan Laats
0b2f357bbe
fix eof logic
2023-12-14 18:05:06 +01:00
Laytan Laats
9a1c4dc56d
implement a max read/write at a time for non-windows (windows already has this)
2023-12-14 18:05:06 +01:00
Laytan Laats
7eabeda870
make sure an eof is also returned from the file streams on non-windows
2023-12-14 18:05:06 +01:00
Laytan Laats
d278c852cc
clean up field names
2023-12-08 23:43:30 +01:00
Laytan Laats
a6aca5d6d1
fix struct stat layout linux arm64
2023-12-06 17:17:45 +01:00
Laytan Laats
291a064725
fix write on x86_64 Darwin
2023-12-04 14:57:02 +01:00
Laytan Laats
08d032859f
use start pos as end pos if end node is nil
2023-11-22 16:16:43 +01:00
laytan
2e64866838
fix self_cleanup causing join to fail
2023-11-20 21:23:12 +01:00
Laytan Laats
50f86dc14f
Fix shadowing
2023-11-15 19:08:05 +01:00
Laytan Laats
9078ddaf5a
Allow larger thread poly data
...
The poly data currently has the restriction of being less than a
pointer's size, but there is much more space in the `Thread.user_args`
array which can be utilized, this commit allows you to pass types that are
larger than pointer length as long as the total size of the poly data is
less than that of the `Thread.user_args`.
2023-11-15 19:08:03 +01:00
Laytan Laats
6b9202dfbf
-no-crt and assembly compilation on darwin
2023-11-15 18:06:27 +01:00
Laytan Laats
9e5e49a65d
checker: suggest ..[]T when passing a slice to variadic arg ..T
2023-11-14 16:56:52 +01:00
Laytan Laats
bd19081543
fix nil exceptions with incomplete code parse
...
This makes the parser more fault tolerant because the different
parse_foo procs return nil when in an invalid state, which is fine most
of the time but when creating a node it would crash accessing its
position.
2023-11-12 01:53:14 +01:00
Laytan Laats
086478e8f2
fix -test-name flag
2023-11-11 02:34:59 +01: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
Laytan Laats
e2cecafa66
allow integer verbs in fmt_bit_set
2023-11-07 21:09:42 +01:00
Laytan
9b68671082
Fix empty pass because of trailing comma
2023-10-31 19:29:54 +01:00
Laytan
7a9737b3d4
remove build artifacts
2023-10-18 18:31:07 +02:00
Laytan Laats
d47b0eeee7
update doc
2023-09-12 16:51:21 +02:00
Laytan Laats
287beaff35
use KiB etc. instead of KB
2023-09-12 16:49:42 +02:00
Laytan Laats
12dd912ce9
fix commonmark import
2023-09-04 20:48:03 +02:00
Laytan Laats
93caf5b311
use memory formatting in tracking allocator doc
2023-09-01 22:05:04 +02:00
Laytan Laats
aab2fa1af9
fix test case
2023-09-01 19:53:24 +02:00
Laytan Laats
4cf176de0b
actually run the test
2023-09-01 19:51:53 +02:00
Laytan Laats
735cfcd290
Add formatting of bytes into the best unit of measurement
2023-09-01 19:17:07 +02:00
Laytan Laats
a182dc78f4
fix #2779 ternary with a union of enum
2023-08-31 02:31:11 +02:00
Laytan Laats
0a2678973b
Fix the OVERLAPPED_ENTRY type definition
2023-08-29 10:44:21 +02:00
Laytan Laats
076b20a9a5
fix queue reserve always doubling in size when there is enough space
2023-08-26 19:09:04 +02:00
Laytan Laats
ccc94f6832
add wait group to wait proc group
2023-08-11 20:21:42 +02:00
Laytan Laats
68b9260c9b
add libraygui.a for macos-arm64
2023-08-09 00:36:21 +02:00
Laytan Laats
74338733ba
Fix #2666 by checking for disabled when generating parapoly procs
2023-07-19 20:27:34 +02:00
Laytan Laats
3cce972125
fix indentation
2023-07-11 19:34:59 +02:00
Laytan Laats
52700d6a84
use lb_emit_select instead of lb_emit_if for exit check
2023-07-11 19:30:44 +02:00
Laytan Laats
38d71e668d
add ADDRESS_FAMILY to darwin (currently only available in linux)
2023-07-03 19:56:56 +02:00
Laytan Laats
7cdf37eaf6
exit with code 1 on odin test failure
2023-07-03 01:22:36 +02:00
Laytan Laats
a3e2d90f4c
add test
2023-07-02 23:00:37 +02:00
Laytan Laats
fc81008ab5
Fix #2615 : can't iterate untyped string
2023-07-02 22:18:25 +02:00
Laytan Laats
49058620f0
fix spacing
2023-07-02 21:25:48 +02:00
Laytan Laats
f68a3639b4
use more common detection method and add FORCE_COLOR and NO_COLOR support
2023-07-02 21:11:19 +02:00
Laytan Laats
f4e87c9720
ignore stderr in tput call
2023-07-02 20:20:10 +02:00
Laytan Laats
23bf7973fa
detect unix color support
2023-07-02 19:56:46 +02:00
Laytan Laats
d352e2fa31
only run nightly upload if workflow is ran on main repo
2023-06-27 23:33:18 +02:00
Laytan Laats
d38ea63c78
fix fcntl binding on darwin
2023-06-12 15:37:39 +02:00