Laytan and GitHub
253a72ffe3
Merge pull request #5827 from jakubtomsu/5826-fix
...
[LLVM Backend] Prefer the type pointer over LLVMTypeRef when looking up struct_field_remapping (Fix 5826)
2025-10-18 17:46:58 +02:00
Laytan
e7ecb16a1e
llvm 21 support
2025-10-14 19:55:00 +02:00
Laytan and GitHub
f564f66c03
Merge pull request #5770 from harold-b/hb.fix-objc-superclass-check
...
Fix `@objc_superclass` attribute crashing when referenced type was invalid
2025-10-08 18:02:12 +02:00
Laytan and GitHub
42c2cb89b5
Merge pull request #5658 from FourteenBrush/patch-3
...
Add build tags to `posix/spawn.odin`
2025-09-07 22:35:36 +02:00
Laytan and GitHub
0c9e1f5807
Merge pull request #5607 from blob1807/fix-wasm-simd-mem-equal
...
Fix stride in `memory_equal/compare_zero` giving false positves
2025-08-20 21:47:56 +02:00
Laytan Laats
ec75094303
remove windows binaries from non-windows releases
2025-08-05 21:31:06 +02:00
Laytan and GitHub
e0a08de455
Merge pull request #5537 from A1029384756/master
...
[ci:nightly] added linux arm build
2025-08-05 20:36:11 +02:00
Laytan and GitHub
b022c020f3
Merge pull request #5540 from jared-cone/fix-windows-delete-after-free
...
Fixed delete-after-free in file_windows.odin
2025-08-05 07:10:23 +02:00
Laytan and GitHub
8e354a2afd
Merge pull request #5539 from Jack-Punter/fix-spall-scoped-event-with-autotracing
...
Adds @(no_instrumentation) to spall buffer and SCOPED operations
2025-08-05 07:10:12 +02:00
Laytan Laats
25389ed086
thread: set stack size to rlimit
2025-08-02 15:22:23 +02:00
Laytan and GitHub
710203eadb
Merge pull request #5505 from RoboMage/sdl2_audio_bitset
...
SDL2 - AudioAllowChangeFlags bit_set
2025-08-01 23:46:26 +02:00
Laytan and GitHub
a7a6216e08
Merge pull request #5510 from taylormck/add-cgltf-enums
...
add cgltf filter type and wrap mode enums
2025-08-01 23:46:13 +02:00
Laytan
d343b93ef2
fix check
2025-08-01 20:31:53 +02:00
Laytan
20318e7a3b
concrete types to make llvm 14 happy
...
Fixes #5463
Fixes #5244
Fixes #5435
2025-08-01 19:27:28 +02:00
Laytan
d0890c2135
fix dropping part of particular vecs
2025-08-01 19:18:43 +02:00
Laytan
5527982c20
fix vec offset calculation
2025-07-31 22:01:17 +02:00
Laytan
f32ee28e6d
amd64 support half in the abi too
2025-07-31 20:50:46 +02:00
Laytan
c3bae964d0
amd64 abi fixes regarding vectors
...
- Fixes the code so SSEUp is grouped/skipped over properly (Fixes #5429 )
- Fixes f16 vectors using garbage widths, because it would call
LLVMGetIntTypeWidth and an f16 is not an int so doesn't have that
function
2025-07-31 20:26:22 +02:00
Laytan and GitHub
939fed592d
Merge pull request #5517 from colrdavidson/freq_hotfix
...
fix x86 osx build
2025-07-30 06:22:25 +02:00
Laytan and GitHub
861fa4ab68
Merge pull request #4140 from colrdavidson/macharena
...
Mach Process control
2025-07-29 22:37:42 +02:00
Laytan and GitHub
435f7f6503
Merge pull request #5515 from laytan/ignored-arg-multi-return
...
fix ignored args in multi return handling
2025-07-29 19:16:32 +02:00
Laytan and GitHub
e8a591386b
Merge pull request #5514 from laytan/saner-default-stack-linker-flags
...
saner stack linker flags for WASM
2025-07-29 19:16:19 +02:00
Laytan
af0b90bd3e
fix flag
2025-07-29 19:07:28 +02:00
Laytan
c966e63520
fix ignored args in multi return handling
...
Fixes #5483
2025-07-29 19:04:49 +02:00
Laytan
e7670e58dd
saner stack linker flags for WASM
...
Supersedes #5425
2025-07-29 18:50:27 +02:00
Laytan and GitHub
a90ee53866
Merge pull request #5485 from poops/sdl3-image-save-functions-return-bool
...
SDL_image save functions should return bool
2025-07-20 13:18:09 +02:00
Laytan and GitHub
a658cc5ef6
Merge pull request #5482 from sergeypdev/master
...
Disable filepath/match.odin and filepath/walk.odin compilation on js targets
2025-07-20 13:17:10 +02:00
Laytan and GitHub
089d8a229c
Merge pull request #5479 from wisonye/master
...
Fixed Index 0 is out of range 0..<0' when using '-default-to-nil-allocator' for FreeBSD/OpenBSD/NetBSD/Linux
2025-07-20 13:12:45 +02:00
Laytan
164bb52212
crypto/hash: hash_bytes_to_buffer slice result to digest size
2025-07-19 19:50:32 +02:00
Laytan and GitHub
204edd0fc2
Merge pull request #5459 from harold-b/hb.simplify-import-odin-ext-folders-check
...
Use `fi.is_dir` instead of `path_is_directory()` during directory check when collecting .odin files
2025-07-14 21:59:05 +02:00
Laytan and GitHub
67c90b5d9e
Merge pull request #5466 from harold-b/hb.fix-ios-simulator-triplet
...
Fix correct versioned target triplet for iphonesimulator subtarget
2025-07-14 20:51:00 +02:00
Laytan and GitHub
86d576f7cc
Merge pull request #5432 from FourteenBrush/master
...
Add `slice.suffix_length`
2025-07-04 19:02:28 +02:00
Laytan and GitHub
9da667b95f
Merge pull request #5433 from BradLewis/fix/bit-field-docs
...
Add documentation to Bit_Field_Field when parsing
2025-07-04 19:02:16 +02:00
Laytan and GitHub
22a48d4d9c
Merge pull request #5413 from Feoramund/make-test-state-feature
...
testing: Make test state changes its own feature
2025-06-26 19:11:05 +02:00
Laytan Laats
edf071903d
sdl3/ttf: remove #by_ptr usage with opaque Font
...
Fixes #5278
2025-06-26 17:51:57 +02:00
Laytan and GitHub
5822b00c39
Merge pull request #5411 from laytan/fix-load-type-panic
...
fix load type panic because front-end allows a deref of a type
2025-06-26 17:32:07 +02:00
Laytan Laats
2c308bdcfa
fix load type panic because front-end allows a deref of a type
...
Fixes #5357
2025-06-26 17:07:06 +02:00
Laytan and GitHub
62c5805c91
Merge pull request #5150 from wishfoundry/patch-1
...
spelling in compilation errors
2025-06-20 22:37:03 +02:00
Laytan and GitHub
2995557394
Merge pull request #5211 from Barinzaya/union-custom-align-tag-size
...
Consider custom `#align` when determining union tag size
2025-06-20 22:31:31 +02:00
Laytan and GitHub
7d8f41b938
Merge pull request #5379 from Feoramund/fix-4711
...
Push `context` onto stack before evaluating procedure parameters
2025-06-20 22:24:08 +02:00
Laytan Laats
30e1c96269
uncomment test, see if it's fixed
2025-06-20 22:15:21 +02:00
Laytan and GitHub
7f648d11d6
Merge pull request #5329 from JackMordaunt/jfm-fix_chan_try_send
...
chan: fix try_send and send
2025-06-20 22:11:39 +02:00
Laytan Laats
3db8972c99
add return
2025-06-20 22:07:46 +02:00
Laytan Laats
3a86bc9c6d
Fix WASM C ABI for raw unions
2025-06-20 22:04:53 +02:00
Laytan Laats
144daf6fff
add macOS Tahoe to odin report and core:sys/info
2025-06-14 00:27:37 +02:00
Laytan and GitHub
aa0cffb412
Merge pull request #5328 from laytan/compat-allocator-improvements
...
mem: compat allocator improvements
2025-06-13 19:41:58 +02:00
Laytan and GitHub
fc7fc4d5cd
Merge pull request #5289 from JackMordaunt/jfm-sync_chan_refactor
...
Jfm sync chan refactor
2025-06-12 21:51:34 +02:00
Laytan Laats
67a8b035db
mem: compat allocator improvements
...
1. store alignment instead of original pointer
2. implement .Query_Info
3. poison the header and alignment portion of the allocation
4. .Resize uses `max(orig_alignment, new_alignment)` as it's alignment
now
5. .Free passes along the original alignment
2025-06-12 20:40:22 +02:00
Laytan Laats
0ed6cdc98e
mem/tlsf: fix asan reporting poisoning of already poisoned region
...
free on tlsf poisons the entire block, while alloc might only unpoison a
part of it (cause it's size is aligned up). This causes free to
potentially poison an already poisoned portion, which is a
use-after-poison.
Because this is "fine" and intended, I opted to just
@no_sanitize_address it.
2025-06-12 19:37:24 +02:00
Laytan Laats
9eefa2006e
encoding/cbor: support simd vectors
2025-06-04 22:00:02 +02:00
Laytan Laats
85224b21e6
encoding/cbor: support the matrix type
2025-06-04 21:51:12 +02:00
Laytan and GitHub
a7cbf4f7dd
Merge pull request #5274 from Feoramund/fix-render-typo
...
Fix typo
2025-06-04 06:18:18 +02:00
Laytan and GitHub
9f773f08f8
Merge pull request #5260 from laytan/examples-all-sdl3-and-wgpu-glue
...
add examples/all/sdl3 for all sdl3 dependant packages
2025-06-02 21:14:59 +02:00
Laytan Laats
e09f226126
add examples/all/sdl3 for all sdl3 dependant packages
...
+ adds the wgpu glue packages to examples/all
2025-06-02 21:05:38 +02:00
Laytan Laats
f94fc992d7
fix swizzle in for in statement
...
Fixes #1730
2025-06-02 20:30:48 +02:00
Laytan and GitHub
8135dda2fc
Merge pull request #5258 from laytan/fix-docs-writer
...
fix package docs in a "hacky" way
2025-06-02 17:09:59 +02:00
Laytan Laats
912018b427
fix package docs in a "hacky" way
2025-06-02 17:03:02 +02:00
Laytan Laats
eac58fc640
sys/info: populate cpu.physical_cores and cpu.logical_cores on Darwin
2025-05-26 20:41:18 +02:00
Laytan and GitHub
f1da10469e
Merge pull request #5212 from sven-strothoff/glfw-bool-returns
...
Use b32 for GLFW functions that return GLFW_TRUE or GLFW_FALSE
2025-05-26 20:19:46 +02:00
Laytan Laats
88908d7f78
wgpu: update to 25.0.2.1
2025-05-26 20:06:11 +02:00
Laytan Laats
478c923e2c
fix another type alias issue with mini cycle
2025-05-26 19:48:28 +02:00
Laytan and GitHub
1886c7df0a
Merge pull request #5203 from mothfuzz/patch-3
...
Correct mipmapFilter field name in wgpu.js
2025-05-23 07:48:52 +02:00
Laytan Laats
eab3e2be22
os2: remove libc use on Linux
2025-05-20 19:48:06 +02:00
Laytan and GitHub
d3221425a7
Merge pull request #5172 from krnowak/krnowak/sys-linux-dirent-docs
...
sys/linux: Improve documentation for Dirent and related procedures
2025-05-18 17:47:41 +02:00
Laytan Laats
c35a45e823
fix global and static any
...
Fixes #4627
2025-05-17 16:49:30 +02:00
Laytan
326454f0f0
generate xlib package docs on linux
2025-05-16 22:14:26 +02:00
Laytan
53a9ecb577
vendor/miniaudio: update to 0.11.22
2025-05-16 15:58:27 +02:00
Laytan and GitHub
d3159f74cd
Merge pull request #4944 from dozn/master
...
[core:encoding/json] When Unmarshalling, Only Match On Struct Tags If Present
2025-05-15 22:31:34 +02:00
Laytan Laats
2d00f8d69d
fix compat with earlier llvm versions
2025-05-15 19:20:04 +02:00
Laytan Laats
ebc63a7355
add hexfloat (0h) parsing to strconv
2025-05-10 15:11:52 +02:00
Laytan Laats
8374854dd5
use brew clang instead of system clang
2025-05-09 23:13:06 +02:00
Laytan Laats
221dea76a4
Run MacOS CI with -sanitize:address
2025-05-09 23:12:59 +02:00
Laytan Laats
f9b9e9e7dc
some ABI fixups and improvements
...
Started with trying to enable asan in the CI for MacOS, noticed it wasn't enabled on the `tests/internal`
folder, it came up with a couple of issues with the abi/OdinLLVMBuildTransmute that this also solves.
- Looking at clang output for arm64, we should be promoting `{ i64, i32 }` to `{ i64, i64 }`
- after doing the previous point, I noticed this is not handled well in OdinLLVMBuildTransmute
which was emitting loads and stores into the space of a value that was alignment, asan does not want this,
looking at clang output again, a memcpy is the appropriate way of handling this.
- Having done this we don't need the hacky "return is packed" set anymore in the amd64 sysv ABI anymore either
2025-05-09 23:03:17 +02:00
Laytan Laats
4d08b76372
require the __asan_unpoison_memory_region runtime symbol so empty projects with asan enabled build
2025-05-09 22:26:49 +02:00
Laytan Laats
cacb9f9f54
os2: better copy_directory, and add native copy_file and copy_directory variants on MacOS
2025-05-08 19:32:30 +02:00
Laytan Laats
ad4866653a
fix disposing builder when not created
...
Fixes #5128
p->builder is created in lb_begin_procedure_body, but that isn't called
if there is no body, and we were still calling dispose at that point.
Moved it into lb_end_procedure_body to match.
2025-05-07 14:39:51 +02:00
Laytan and GitHub
7c1a9f1e7a
Merge pull request #5127 from laytan/fix-process-windows-handles-handling
...
Fix process windows handles handling
2025-05-06 22:31:54 +02:00
laytan
9b218a2922
don't need to hang on to the null handle
2025-05-06 19:42:52 +02:00
Laytan
bf5206968a
close null_handle
2025-05-06 20:57:26 +02:00
Laytan
2bce446d08
ifs wrong way around
2025-05-06 20:47:51 +02:00
Laytan
814a500e83
Windows was defaulting to the std handles of the current process, which is wrong
2025-05-06 20:43:02 +02:00
Laytan and GitHub
e228ef221b
Merge pull request #5125 from brian-hmn/fix-set-env
...
[core:os/os2] Fix: Correct value cloning in os2._set_env for POSIX
2025-05-06 12:24:17 +02:00
Laytan and GitHub
93f80f60fb
Merge pull request #5112 from blob1807/master
...
`core:bufio`: Fix typo from `b.w-b.w` to `b.w-b.r`
2025-05-05 03:00:46 +02:00
Laytan and GitHub
dd0b8d5757
Merge pull request #5099 from laytan/add-alias-issue-tests-to-ci
...
adds the cases of #5043 and #5097 to the CI
2025-04-30 20:20:43 +02:00
Laytan Laats
d2f8cb1306
adds the cases of #5043 and #5097 to the CI
2025-04-30 20:13:21 +02:00
Laytan Laats
396a18efce
fix variable NaN comparisons
2025-04-30 20:04:24 +02:00
Laytan and GitHub
c74f777b1b
Merge pull request #5097 from laytan/fix-pointer-alias-type-check
...
fixes assigning null as a type if it's an alias but the base type is null
2025-04-30 19:54:48 +02:00
Laytan Laats
9fb9382449
fixes assigning null as a type if it's an alias but the base type isn't resolved yet
...
It's a bit of a band aid fix because the field will get the type of the
alias, not the base type, but that was already the case before #5045 so
it's forward progression.
Closes #5092
Fixes #5061
2025-04-30 19:39:38 +02:00
Laytan Laats
6c1a3c4f0c
box2d: fix World_CollideMover
2025-04-25 18:24:41 +02:00
laytan
38f56c0ede
box2d: update windows libs to 3.1.0 and call thread.yield in vendor/libc
2025-04-23 16:59:54 +02:00
Laytan Laats
e086151fcd
box2d: update to 3.1.0
2025-04-22 22:38:15 +02:00
Laytan and GitHub
2dedb199b8
Merge pull request #5052 from harold-b/hb/fix-ns-dictionary-selectors
...
Fix 2 selectors in NSDictionary
2025-04-17 21:28:10 +02:00
Laytan and GitHub
09c8477bd3
Merge pull request #5041 from mtarik34b/remove-redundant-code-in-string-justify
...
Remove redundant `builder_init()` calls from `strings.left_justify()` and `strings.right_justify()`
2025-04-17 00:01:59 +02:00
Laytan
8efeaef40b
fix not resolving to alias in a recursive declaration
2025-04-16 22:55:25 +02:00
Laytan
990cc56974
sdl3: fix not allowing nil for SetWindowMouseRect
2025-04-15 20:13:51 +02:00
Laytan
11da543f26
net: add ECONNRESET to the error handling of recv
2025-04-14 21:17:22 +02:00
Laytan and GitHub
ddcd7a368b
Merge pull request #5033 from jasonKercher/fix-dirent-name
...
Fix linux.dirent_name
2025-04-13 18:14:02 +02:00
Laytan Laats
74a66f7794
os2: fix get_executable_path() on FreeBSD including the nil-terminator
2025-04-12 21:33:44 +02:00
Laytan and GitHub
23a2821353
Merge pull request #5028 from Feoramund/fix-macos-version-reporting
...
Fix Darwin version reporting for older macOS
2025-04-10 22:37:45 +02:00
Laytan Laats
ff7d55a8e1
net: rework errors to be cross-platform
2025-04-05 17:35:19 +02:00