Commit Graph

992 Commits

Author SHA1 Message Date
Jeroen van Rijn
889ad95c7e Merge pull request #7342 from kalsprite/alpha
quat/cmplx nan cmp & accessors
2026-08-16 12:31:55 +02:00
Jeroen van Rijn
7aa805e22a Merge pull request #7343 from kalsprite/rune_unsigned_mapping
intrinsics.type_integer_to_unsigned(rune) returns f16
2026-08-16 12:28:59 +02:00
Jeroen van Rijn
3eeda58634 Merge pull request #7344 from kalsprite/simd_builtin_diagnostics
simd: enforce the `#simd` construction rules and stop two crashes
2026-08-16 12:17:39 +02:00
Jeroen van Rijn
94528dde45 Merge branch 'master' into pr/7345 2026-08-16 11:19:48 +02:00
Jeroen van Rijn
78b9c31a10 Merge pull request #7346 from kalsprite/bit_set_subset_folding
fix `bit_set` subset/superset constant folding
2026-08-16 11:05:30 +02:00
mo
4e0a71c24c Add non-allocating hex.decode_into_buffer
Also minor fixes to documentation of hex.decode().

Adds tests of the new procedure with buffers the correct size, larger,
and too small.
2026-08-16 19:48:19 +12:00
kalsprite
f7b734c82b deinterleave -> shuffle 2026-08-16 00:24:09 -07:00
kalsprite
95c4004239 switch to shuffle intrinsic since #simd is pow2 2026-08-16 00:16:21 -07:00
kalsprite
d52aff5c4b impl riffle for llvm<=20 fallback on interleave 2026-08-15 23:53:54 -07:00
kalsprite
a7029ef7b6 bitset subset 2026-08-15 23:25:13 -07:00
kalsprite
885e12d21d and-not fold 2026-08-15 23:06:35 -07:00
kalsprite
5f0251fec2 5791,6748 2026-08-15 22:44:52 -07:00
kalsprite
e53fc6a879 simd [?] type fix; count recovery 2026-08-15 22:23:15 -07:00
kalsprite
ae742cb9f3 rune unsigned mapping 2026-08-15 20:53:03 -07:00
kalsprite
4cf4607c8b fix #5964 2026-08-15 20:41:22 -07:00
kalsprite
b378f21f4c update tests 2026-08-15 20:24:41 -07:00
kalsprite
617293c5f0 quat/cmplx nan cmp 2026-08-15 20:08:27 -07:00
Michael Tesař
b17c10162d Fix bit_set upper endpoint representability check 2026-08-16 00:30:42 +02:00
kalsprite
a3573c83cd fix long -> int64_t for win64 2026-08-12 18:52:33 -07:00
gingerBill
fa342bb540 Merge pull request #7292 from kalsprite/sysv_source_type
amd64/arm64: classify aggregates from the source type
2026-08-12 19:43:29 +02:00
Mihail Moskov
6a81351de3 fixes float to 128-bit int/uint conversion 2026-08-12 19:25:46 +03:00
Jeroen van Rijn
44b2f201f5 Remove log 2026-08-12 14:09:07 +02:00
Jeroen van Rijn
e5bf7ba6e3 Skip some tests on riscv 2026-08-12 13:59:51 +02:00
kalsprite
2285f4e061 sysv abi 2026-08-11 16:53:57 -07:00
Mihail Moskov
9e73c20197 adds the pop procedure family for soa arrays 2026-08-11 15:21:23 +03:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +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
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
corley
7b45adf8e9 fixes swizzling for array elements in soa arrays/slices 2026-08-09 03:17:04 +03:00
Michael Tesař
60061fe4ba Register issue 7012 regression test 2026-08-09 00:15:46 +02:00
Michael Tesař
d01ec95ebe Create regression test 2026-08-09 00:01:14 +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
kalsprite
3dc7741e06 correct windows limb size 2026-08-07 15:18:46 -07:00
kalsprite
5393a11ee1 untyped integral float index conversion to int 2026-08-07 14:49:25 -07:00
kalsprite
114cbd7432 add proc group test matrix 2026-08-07 11:30:06 -07:00
Jeroen van Rijn
e140512954 Update test_issue_7188.odin
Add missing commas.
2026-08-07 20:05:53 +02:00
gingerBill
bc32696a5a Merge pull request #7239 from catermujo/push-oyzvqkzwnlzz
llvm: handle #soa fixed compound literals for vars
2026-08-07 19:58:11 +02:00
jack gleeson
2162e7605e core/unicode/utf8: Fix truncated text for grapheme clusters 2026-08-07 10:36:14 -06:00
Isabella Basso
e94d3d4871 llvm: handle #soa fixed compound literals for vars 2026-08-06 16:43:52 -03:00
Jeroen van Rijn
1daec0865c Merge pull request #7234 from michtesar/fix/net-percent-encode
Fix percent encoding for bytes < 0x10
2026-08-06 13:54:36 +02:00
Michael Tesař
a1cb87c1c4 Add decode roundtrip test 2026-08-06 07:14:50 +02:00
Michael Tesař
56d8293ae0 Restore formatting and remove unused import 2026-08-05 23:58:33 +02:00
Michael Tesař
f7f95ad763 Add percent_encode_test to test percent 2026-08-05 23:40:57 +02:00
gingerBill
cce7159a55 Merge pull request #7208 from Taylbr/poly-proc-fix
Fix: Polymorphic procedures resolving to nil + further fixes
2026-08-05 16:56:34 +02:00
gingerBill
cd1e8293d7 Merge pull request #7185 from subotac/fix/variadic-tuple-arguments
fix: pack tuple results into variadic arguments
2026-08-05 16:56:24 +02:00
Jeroen van Rijn
ddf60b459d #+build !netbsd 2026-08-05 12:28:39 +02:00