19316 Commits
Author SHA1 Message Date
Jeroen van Rijn 37e519ffb2 Merge pull request #7607 from alyekypo/fix/scope-map-iterator-invalidation
fix(checker): keep entity iteration valid across a scope map rehash
2026-09-21 06:59:02 -07:00
alyekypo 23cc994255 fix(checker): keep entity iteration valid across a scope map rehash
`check_scope_decls` iterates a scope's entity map while
`check_entity_decl` can insert into that same scope: a procedure alias
(`f :: e`) goes through `override_entity_in_scope`, which calls
`scope_map_insert`. The map grows at 75% load (12 of 16 slots, then 24
of 32), and `scope_map_insert` grows before it probes for the key, so
even an alias that only replaces an existing value rehashes and
reallocates the table in the middle of the iteration.

`ScopeMapIterator` re-read its map on every step while `end` had
captured the capacity at loop start, so the walk continued over the new
table under the old sentinel: it ran past the end of the reallocated
table and dereferenced whatever followed it as an `Entity *` - a nullptr
dereference for a procedure scope holding exactly 12 or 24 entities - or
it stopped at the stale end index and silently skipped every declaration
that the rehash had moved behind it, which left unused declarations
without any diagnostic at all.

The iterator now snapshots the table pointer and capacity when it is
constructed, so iteration is invariant under any insert or grow and
cannot leave the table it began on. A scope that does not grow behaves
exactly as before: the snapshot points at the same table.

Refs #7598
2026-09-21 13:13:39 +00:00
Jeroen van Rijn 41912fa8fb Merge pull request #7605 from Kelimion/fix-7604
Allow building at /
2026-09-21 03:13:53 -07:00
Jeroen van Rijn 866fbbb250 Allow building at /
Fixes #7604
2026-09-21 12:04:37 +02:00
Jeroen van Rijn 7c63405593 Merge pull request #7603 from alexthed1rk/impl-simd-arm-neon-zip-unzip-extract
Impl simd arm neon zip unzip extract
2026-09-21 01:07:16 -07:00
Alexander Zhura e493449c90 Impl simd arm neon zip unzip extract set3 2026-09-20 20:47:24 +03:00
Alexander Zhura c975678004 Impl simd arm neon zip unzip extract set2 2026-09-20 20:43:31 +03:00
Alexander Zhura 945b5980d9 Impl simd arm neon zip unzip extract set1 2026-09-20 20:32:29 +03:00
Jeroen van Rijn b2354a04b9 Merge pull request #7536 from tGautot/ftr/core_odin_triple_quote
Fix #7526 : Handle triple quote/tick string in odin/core
2026-09-20 04:19:54 -07:00
Jeroen van Rijn ce22c12ae7 Merge pull request #7600 from Xaryen/openexr-fixes
vendor:OpenEXRCore fixes
2026-09-20 03:55:55 -07:00
Xaryen 88db18c07c openEXR fixes - noncritical/cosmetic 2026-09-20 18:39:59 +09:00
Xaryen 71b6947c95 openEXR - add missing enum 2026-09-20 18:39:59 +09:00
Xaryen 24fdd7bb29 openEXR fixes 2026-09-20 18:37:14 +09:00
Tom Gautot 608d6c0054 Proper Odin semicolon-less syntax 2026-09-20 11:24:36 +02:00
Yawning Angel 20346d40db Merge pull request #7599 from Yawning/fix/linux-environ
core/os/env_linux: Fix the 0th env var being duplicated
2026-09-20 08:43:22 +09:00
Yawning Angel 389dd7d925 core/os/env_linux: Fix the 0th env var being duplicated 2026-09-20 08:35:02 +09:00
Jeroen van Rijn ec0bd121db Fix redecleration error for globals 2026-09-17 16:20:11 +02:00
Jeroen van Rijn a15f57ba49 Merge pull request #7582 from Kelimion/fix-7581
Fix #7581
2026-09-16 17:52:03 -07:00
Jeroen van Rijn b5deedf69f Fix #7581 2026-09-17 02:40:33 +02:00
gingerBill d688713355 Merge pull request #7543 from IllusionMan1212/more-egl
vendor(egl): bind more procedures and constants
2026-09-16 20:10:46 +01:00
Jeroen van Rijn 32a9b7acd1 Merge pull request #7577 from ssenthilnathan3/fix/location-global-initializer
fix: #location in global variable initializers
2026-09-16 06:33:24 -07:00
Senthilnathan 699973abd6 Merge branch 'master' into fix/location-global-initializer 2026-09-16 18:45:52 +05:30
Senthilnathan ed2d5304d1 fix: #location in global variable initializers 2026-09-16 18:42:10 +05:30
gingerBill d0ee2b7ab8 Merge pull request #7550 from xdBronch/json-errors
fix syntax error type with -json-errors
2026-09-16 13:50:59 +01:00
gingerBill b679ad4c46 Merge pull request #7546 from wrapperup/box3d-shared
vendor/box3d: Support BOX3D_SHARED on Windows
2026-09-16 13:50:49 +01:00
gingerBill 49b95c604f Merge pull request #7553 from LechintanTudor/box2d
Add missing GetVersion function in Box2D bindings
2026-09-16 13:50:47 +01:00
gingerBill d26833285c Merge pull request #7565 from Einh06/master
sys/windows: Add performance counter PSAPI bindings
2026-09-16 13:50:31 +01:00
gingerBill aca1a51e60 Merge pull request #7572 from dominik-lukacs/patch-1
Replace mem_zero with null termination in libc-shim strncpy
2026-09-16 13:50:16 +01:00
gingerBill 63b86a0c1b Merge pull request #7576 from odin-lang/bill/sdl3-string-api
SDL3 TTF: Use `[^]byte` rather than `cstring` and add `ExpandString` wrapper
2026-09-16 13:50:08 +01:00
gingerBill 9b2cb3277f Merge pull request #7561 from corleypc/simd-masked-crash-fix
Fixes simd gather/scatter and masked load/store randomly crashing the compiler
2026-09-16 13:23:21 +01:00
gingerBill c1d5237de9 SDL3 TTF: Use [^]byte rather than cstring and add ExpandString wrapper 2026-09-16 13:10:43 +01:00
gingerBill cfeda7c3dd Merge pull request #7563 from alexthed1rk/impl-simd-arm-neon-shift-right
Impl simd arm neon shift right
2026-09-16 12:57:02 +01:00
gingerBill 4749b355e6 Merge pull request #7568 from krnowak/krnowak/side-effects-typo
Fix side_effects vs volatile typo in error message
2026-09-16 12:56:30 +01:00
gingerBill 2911bed812 Merge pull request #7569 from michtesar/7525/inline-asm-tests
tests: add coverage for inline-asm label definitions on amd64 [7525]
2026-09-16 12:56:14 +01:00
gingerBill ba92c2ebed Merge pull request #7570 from michtesar/7544/bit-field-constant-access
fix constant bit_field field access returning zero value [7544]
2026-09-16 11:56:28 +01:00
gingerBill 4205d8c239 Merge pull request #7574 from Creativty/issues/7573
Check Enumerations iota fits explicit base type
2026-09-16 11:55:33 +01:00
gingerBill f9162e072a Merge pull request #7549 from corleypc/simd-select-fix
Fixes simd_select and simd_runtime_swizzle operand construction
2026-09-16 11:55:16 +01:00
Abderrahim Indjaren 6efcc080c2 fix: cast i64 to int for msvc warning 2026-09-16 02:48:10 +01:00
Abderrahim Indjaren 6779e1e078 add: checker checks enumeration iota fits base type 2026-09-16 02:32:15 +01:00
Dominik Lukács 3f62821c62 Replace mem_zero with null termination in libc-shim strncpy 2026-09-15 23:23:52 +02:00
Michael Tesař a26aca2fe6 fix constant bit_field field access returning zero value 2026-09-15 22:28:53 +02:00
Michael Tesař 85b1e42b19 tests: add coverage for inline-asm label definitions on amd64 2026-09-15 22:17:49 +02:00
Krzesimir Nowak 3fa08eb9d5 Fix side_effects vs volatile typo in error message 2026-09-15 21:26:41 +02:00
Florian Morel 291159a431 psapi binding improvements 2026-09-15 06:48:07 +02:00
Jeroen van Rijn 6d23dd8367 Add macOS 27 to Where to find more information and get into contact when you encounter a bug:
Website: https://odin-lang.org
	GitHub:  https://github.com/odin-lang/Odin/issues

Useful information to add to a bug report:

	Odin:    dev-2026-09:315725197
	OS:      macOS Golden Gate 27.0.0 (build 26A428, kernel 27.0.0)
	CPU:     Apple M4 Pro
	RAM:     24576 MiB
	Backend: LLVM 22.1.8
2026-09-14 23:07:17 +02:00
Alexander Zhura a4d997740a Impl simd arm neon shift right 2026-09-14 19:28:08 +03:00
Mihail Moskov d5db73dc06 fixes simd gather/scatter and masked load/store randomly crashing the compiler 2026-09-14 15:26:46 +03:00
thomasefbland 315725197f fix _stderr_write in os_specific_js and os_specific_wasi to use fd 2 instead of fd 1 2026-09-13 14:05:51 -04:00
Tudor Lechințan 41a30b4960 Add missing GetVersion function in Box2D bindings 2026-09-13 11:24:58 +03:00
xdBronch f28bb675cd fix syntax error type with -json-errors 2026-09-12 12:17:59 -04:00