Commit Graph

974 Commits

Author SHA1 Message Date
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
Jeroen van Rijn
fd3d182ee5 Assuage NetBSD CI 2026-08-05 12:12:08 +02:00
Brody
21fd0c4645 fix: bad merge 2026-08-05 00:40:13 +10:00
Brody
7945cf3ac3 Merge branch 'master' into poly-proc-fix 2026-08-05 00:19:06 +10:00
Brody
90f6c9d0db whitespace 2026-08-05 00:17:48 +10:00
Jeroen van Rijn
a97f6b47b6 Don't use -microarch:native on odin check 2026-08-04 15:23:07 +02:00
Jeroen van Rijn
328c4f4569 Fix NetBSD CI 2026-08-04 15:11:25 +02:00
Brody
91e0e6ce47 fix: record resolved entity for proc-typed default values 2026-08-04 19:12:08 +10:00
gingerBill
6c2bb94ceb Merge pull request #7206 from ssenthilnathan3/fix/os-glob-clone
Fix os.glob not cloning pattern when no meta characters present
2026-08-04 10:52:43 +02:00
Senthilnathan
b838b1bf25 fixes os.glob not cloning pattern when no meta characters present 2026-08-04 12:19:03 +05:30
Brody
6888e84386 fix: Added null check before setting operand type to invalid 2026-08-03 18:34:53 +10:00
Brody
df6719cb89 fix: remove broken special case for poly proc as default value 2026-08-03 18:13:12 +10:00
corley
439edc5fa8 make soa builtins go vroom 2026-08-03 02:32:09 +03:00
Jeroen van Rijn
280f02f4ef Remove unused import 2026-08-02 15:08:08 +02:00
Jeroen van Rijn
447d880586 Add tests/core/text/scanner to CI 2026-08-02 13:19:15 +02:00
Jeroen van Rijn
7c4dd2ea53 Merge pull request #7176 from GPotoshin/scanner_octal_escape
Fix octal escape parsing by core:text/scanner
2026-08-02 13:17:27 +02:00
George Potoshin
bfd93d3e89 tests for scanner 2026-08-02 10:57:23 +02:00
subotac
a4091c5d37 fix: pack tuple results into variadic arguments 2026-08-01 19:48:54 +03:00
Jeroen van Rijn
f1f7c98a84 Merge pull request #7182 from BigBoyBarney/shrink
Follow up fix of `shrink_map`
2026-08-01 13:51:37 +02:00