Commit Graph

18508 Commits

Author SHA1 Message Date
gingerBill
94d188c75f Merge pull request #7269 from kalsprite/simd_fixes
remove dead simd_rem
2026-08-11 21:44:53 +02:00
gingerBill
73424d60e0 Merge pull request #7289 from Znarf64/enum-value-init-doc
Use enum value init expression instead of numeric value in doc format
2026-08-11 21:44:32 +02:00
Franz Hoeltermann
a311d8f6df Use enum value init expression instead of numeric value in doc format 2026-08-11 13:51:06 +02:00
Jeroen van Rijn
5f321d687c Merge pull request #7284 from kalsprite/i386_sret
i386: return aggregates through the hidden pointer on System V targets
2026-08-11 12:30:19 +02:00
Jeroen van Rijn
06cad2ece4 Merge pull request #7283 from kalsprite/i386_byval
i386: pass aggregate arguments by value on the stack
2026-08-11 12:02:54 +02:00
Jeroen van Rijn
03b564a602 Merge pull request #7282 from kalsprite/riscv_padded_assert
riscv64: fix ABI classification for padded, over-aligned, and pointer-bearing structs
2026-08-11 11:57:09 +02:00
kalsprite
37e1c98b1f i386: return aggregates through the hidden pointer on System V targets 2026-08-10 22:08:15 -07:00
kalsprite
b3c254d629 i386: pass aggregate arguments by value on the stack 2026-08-10 21:48:10 -07:00
kalsprite
aec971197a riscv64: a pointer is not an integer in the FP calling convention 2026-08-10 21:34:08 -07:00
kalsprite
a50660b5bb apply the FP rules to over-aligned structs 2026-08-10 21:11:43 -07:00
kalsprite
2f39bd797d riscv abi bug 2026-08-10 20:57:47 -07:00
Jeroen van Rijn
9932b4d2d4 Merge pull request #7277 from corleypc/range-soa-array-elem-fix
Fixes range loop over array elements in soa containers
2026-08-11 03:57:56 +02:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +03:00
Jeroen van Rijn
6d5dbdce13 Merge pull request #7274 from karl-zylinski/claude/grapheme-clusters-text-field-e36817
Add `text` field to `utf8.Grapheme`, fix caret translation by grapheme
2026-08-10 13:30:53 +02:00
Jeroen van Rijn
1810318551 Merge pull request #7273 from alexthed1rk/fix-simd-arm-neon-table-lookup
Impl fix simd arm neon table lookup on be
2026-08-10 13:28:24 +02:00
Alexander Zhura
59b09aa559 Impl fix simd arm neon table lookup on be 2026-08-10 14:07:05 +03:00
Karl Zylinski
1f9b4c4555 Add text field to utf8.Grapheme, fix caret translation by grapheme
`decode_grapheme_iterate` already computed the text of each grapheme
cluster, but `decode_grapheme_clusters` discarded it, forcing callers to
reconstruct each cluster's range by looking ahead to the next grapheme's
`byte_index`. Store it on `Grapheme` instead; it is a slice of the input
string, so no allocation is involved.

`core:text/edit` was using `Grapheme.width` -- the number of monospace
cells -- as a byte count when moving the caret by grapheme, so it landed
in the middle of a cluster for anything wider than one byte per cell. Use
`len(Grapheme.text)`, and add a test package for the translations.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 12:27:31 +02:00
Jeroen van Rijn
3ac03e27b2 Merge pull request #7270 from corleypc/soa-array-elem-indexing-fix
Fixes chain indexing for array elements in soa containers
2026-08-09 21:55:47 +02:00
corley
e374541599 fixes chained indexing for soa containers with array element type 2026-08-09 22:23:32 +03:00
kalsprite
1a631b2f3f Fix constant string16 carrying UTF-8, and inverted slice indices reaching substring (#7268)
* str16 fix

* remove stale call
2026-08-09 21:22:13 +02:00
kalsprite
ffd7ef024c remove dead simd_rem 2026-08-09 12:04:08 -07:00
Jeroen van Rijn
fa68265491 Add Box3d WASM object 2026-08-09 20:23:34 +02:00
nic-vdwalt
f26ed4dccd vendor: add Box3D support for WebAssembly (#7266)
vendor: add Box3D support for WebAssembly

Generate the WASM object directly from the existing build script so vendor binaries stay out of source control while JS target checks remain reproducible.
2026-08-09 20:19:41 +02:00
Jeroen van Rijn
9b45ef8239 Merge pull request #7267 from kalsprite/rol
Fix Name Canonicalization Rotate Left Typo
2026-08-09 20:12:34 +02:00
kalsprite
acb8806a96 fix rol typo 2026-08-09 11:00:03 -07:00
Jeroen van Rijn
d6d16b1e58 Merge pull request #7265 from harold-b/hb.fix-parser-attrib-misisng-end
Fix unparenthesized attributes missing end position in its AST node
2026-08-09 19:49:08 +02:00
Harold Brenes
046db295a6 Fix unparenthesized attributes missing end position in its AST node 2026-08-09 13:30:04 -04:00
Jeroen van Rijn
91af23cec4 Merge pull request #7264 from LucasCzerny/missing_unregisterhotkey
Added UnregisterHotKey to user32.odin
2026-08-09 17:20:30 +02:00
Lucas Czerny
3ea27c6979 Update user32.odin 2026-08-09 16:49:37 +02:00
gingerBill
769184db41 Merge pull request #7259 from corleypc/soa-swizzle-fix
Fixes swizzles on array elements in soa containers
2026-08-09 12:05:07 +02:00
Jeroen van Rijn
962e5a4f93 Merge pull request #7257 from michtesar/fix/type-specialization
Return false for identical specialization types
2026-08-09 12:02:17 +02:00
corley
7b45adf8e9 fixes swizzling for array elements in soa arrays/slices 2026-08-09 03:17:04 +03:00
Jeroen van Rijn
1a3d2dc091 Merge pull request #7258 from Dreamshade-1911/fix/tokenizer-keyword-lut-double-checked-lock
core/odin/tokenizer: fix broken double-checked lock in `init`
2026-08-09 01:50:20 +02:00
Fernando Nunes
3020cecd08 core/odin/tokenizer: fix broken double-checked lock in init 2026-08-08 20:25:52 -03:00
Michael Tesař
60061fe4ba Register issue 7012 regression test 2026-08-09 00:15:46 +02:00
Michael Tesař
f8a7071069 Check identical specialization 2026-08-09 00:06:30 +02:00
Michael Tesař
d01ec95ebe Create regression test 2026-08-09 00:01:14 +02:00
Jeroen van Rijn
0aaa8cf3fc Merge pull request #7256 from alexthed1rk/impl-simd-arm-neon-table-lookup
Impl simd arm neon table lookup
2026-08-08 23:01:36 +02:00
Alex
1b14ce9453 Impl simd arm neon table lookup 2026-08-08 18:59:07 +03:00
Alexander Zhura
62afbd45f8 Impl simd arm neon table lookup 2026-08-08 18:49:08 +03:00
Jeroen van Rijn
512e33e633 Merge pull request #7255 from mororo18/perf/bytes-index-any-bitset
core/bytes: optimize `index_any` with a byte bitset
2026-08-08 16:54:05 +02:00
Victor Mororó
11c9d6a3dd core/bytes: optimize index_any with a byte bitset 2026-08-08 11:05:20 -03:00
gingerBill
8ae0d9488c Merge pull request #7227 from kalsprite/poly
Improve procedure group overload scoring
2026-08-08 12:08:28 +02:00
kalsprite
3756aae0f8 incorp specialized-vs-generic poly 2026-08-07 17:58:35 -07:00
kalsprite
b475525997 Merge branch 'master' into poly 2026-08-07 17:41:30 -07:00
Jeroen van Rijn
1f5c523844 Merge pull request #7203 from maxrabin/fix/simd-grammar
Fix grammar in simd.odin doc comment
2026-08-08 01:58:27 +02:00
Jeroen van Rijn
f34a8183e8 Merge pull request #7253 from kalsprite/s575
Make redeclaration diagnostics stable under threading
2026-08-08 01:57:32 +02:00
kalsprite
42bd26cb72 switch ordering 2026-08-07 16:14:12 -07:00
kalsprite
391a862e4f make tok stable under multi-thread 2026-08-07 15:58:25 -07:00
Jeroen van Rijn
6603cb3609 Merge pull request #7252 from kalsprite/s002
fix typo in enumerated array
2026-08-08 00:28:21 +02:00