Commit Graph

18452 Commits

Author SHA1 Message Date
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
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
gingerBill
b5f5b02bfb Merge pull request #7247 from michtesar/fix/thread_pool_docs
Clarify completed task handling in thread pools
2026-08-07 19:12:37 +02:00
Jeroen van Rijn
afc1591548 Merge pull request #7003 from jpgleeson/jpgleeson/6912-truncated-text
[core:unicode/utf8]: Fix truncated text for grapheme clusters
2026-08-07 18:53:02 +02:00
jack gleeson
2162e7605e core/unicode/utf8: Fix truncated text for grapheme clusters 2026-08-07 10:36:14 -06:00
Michael Tesař
713c7017b6 Clarify completed task handling in thread pools 2026-08-07 15:09:08 +02:00
Jeroen van Rijn
97a425ab7b Merge pull request #7244 from kalsprite/constant_transmute
Fix constant `transmute` from unsigned to signed wrapping one value too many
2026-08-07 14:07:12 +02:00
Jeroen van Rijn
6b6b75ea37 Merge pull request #7243 from kalsprite/big_int_string
fix bigint negative prints
2026-08-07 14:05:11 +02:00
Jeroen van Rijn
1f061f6e0e Merge pull request #7242 from kalsprite/doc_file
Fix `odin doc -doc-format` aborting on any package that imports another package
2026-08-07 14:00:35 +02:00
kalsprite
6276f6e12f src/check_expr.cpp 2026-08-06 21:51:03 -07:00
kalsprite
33636c8236 fix bigint negative prints 2026-08-06 21:40:32 -07:00
kalsprite
678a7273b7 switch assert to 'no file' 2026-08-06 21:30:23 -07:00
Jeroen van Rijn
a7c8a4b942 Merge pull request #7240 from michtesar/fix/ld-link-name
Fix default linker timing label on non-Windows platforms
2026-08-06 22:16:47 +02:00
Michael Tesař
56c49287a6 Fix default linker timing label on non-Windows platforms 2026-08-06 22:08:28 +02:00
Isabella Basso
e94d3d4871 llvm: handle #soa fixed compound literals for vars 2026-08-06 16:43:52 -03:00
gingerBill
8412dc37aa Merge pull request #7236 from corleypc/call-site-attribs-off-fix
Fixes call site attribute->argument association when there are ignored arguments in proc signature
dev-2026-08
2026-08-06 17:09:18 +02:00
Mihail Moskov
dc022d53b9 fixes call site attribute->arg association when args are ignored 2026-08-06 17:42:13 +03:00
gingerBill
391bec4195 Merge pull request #7235 from SimonBranch/master
Fix runtime quaternion division
2026-08-06 16:20:54 +02:00
Jeroen van Rijn
902106fc64 Merge pull request #7216 from alexthed1rk/impl-simd-arm-neon-bit-manip
Impl simd arm neon bit manipulation
2026-08-06 14:42:51 +02: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
Simon Branch
8f4f92db8f Fix runtime quaternion division
The runtime implementations of quaternion division are incorrect when
calculating q/r with nonzero jmag(r) and either nonzero imag(q) or
kmag(q).  Notably, the inverse 1/r is still calculated correctly
because imag(1) = kmag(1) = 0.

The mistake can be verified by calculating (a/b)*b which will be very
different from both a and a * (1/b) * b.

The compile-time constant folding is correct, see exact_value.cpp
in function exact_binary_operator_value -> ExactValue_Quaternion ->
Token_Quo.

    quo256 :: proc(q, r: quaternion256) -> quaternion256 { return q/r }
    a: quaternion256 : 3 + 5i + 7j + 11k
    b: quaternion256 : 2 + 7i + 3j + 5k
    c: quaternion256 : a/b
    fmt.println("comp", abs((c*b) - a))
    fmt.println("run ", abs(quo256(a,b)*b - a))
    // both values should be very close to zero;
    // without fix, only the first is
2026-08-05 20:43:50 -07:00
Michael Tesař
56d8293ae0 Restore formatting and remove unused import 2026-08-05 23:58:33 +02:00
Michael Tesař
c7af2576f5 Zero-pad percent_encode escapes to two uppercase hex digits 2026-08-05 23:45:34 +02:00
Michael Tesař
f7f95ad763 Add percent_encode_test to test percent 2026-08-05 23:40:57 +02:00
Jeroen van Rijn
9caff6370f Typo 2026-08-05 19:02:35 +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
gingerBill
d059dafb09 Merge pull request #7210 from BigBoyBarney/vet-packages
Fix `-vet-packages` not working in certain cases
2026-08-05 14:33:12 +02:00
gingerBill
e6d7abf2ea Merge pull request #7230 from mororo18/fix/remove-all-windows-relative-path-race
os (windows): resolve relative path before SHFileOperationW in _remove_all
2026-08-05 14:26:49 +02:00
Jeroen van Rijn
81dcd9dcb9 Merge pull request #7231 from Kelimion/fix-7177
Fix #7177
2026-08-05 14:24:17 +02:00
Jeroen van Rijn
95c80dda34 Fix #7177
Box3d build script on Linux preserved (and thus duplicated) some symbols.
2026-08-05 14:12:27 +02:00
Sylphrena
5629c13aa0 Fix -vet-packages not working in certain cases 2026-08-05 14:06:13 +02:00
Victor Mororó
7ff00d39bd os: resolve relative path before SHFileOperationW in remove_all (windows) 2026-08-05 08:45:01 -03:00
Jeroen van Rijn
f558ab105c Merge pull request #7229 from Kelimion/fix-bsd
Assuage NetBSD CI
2026-08-05 12:46:18 +02:00
Jeroen van Rijn
9876fc3b9b Merge pull request #7226 from kalsprite/prefix
crash fix on poly
2026-08-05 12:44:31 +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
Jeroen van Rijn
4ef783d319 Merge pull request #7228 from Yawning/fixes/crypto-minor
crypto: Minor fixes
2026-08-05 11:54:46 +02:00
Yawning Angel
65450b78ab core/crypto/mlkem: Fix compiler error on key_size(&Encapsualtion_Key) 2026-08-05 18:26:44 +09:00
Yawning Angel
a51cdd43bf core/crypto/kmac: Early reject pathologically short tags in verify 2026-08-05 18:07:32 +09:00
Yawning Angel
97b38169de core/crypto/chacha20: Explicitly allow the one final block
Only affects the incremental use case where the internal counter is
exactly the maximum.
2026-08-05 18:04:06 +09:00
Yawning Angel
3bdb32949b core/crypto/noise: Reject encrypt/decrypt when n == 2^64 - 1
Spec defines the maximal value of `n` as reserved.
2026-08-05 17:33:31 +09:00
Yawning Angel
6e682a768e core/crypto/pbkdf2: Ensure non-zero iteration count 2026-08-05 17:31:31 +09:00
kalsprite
91aec259c0 crash fix on poly 2026-08-04 19:15:24 -07:00
Jeroen van Rijn
e8e12a24b5 Merge pull request #7225 from kalsprite/field_list
minor typos
2026-08-05 04:06:05 +02:00
Jeroen van Rijn
83479b0a5c Merge pull request #7224 from kalsprite/matrix_col_err
fix matrix col err said rows
2026-08-05 03:49:46 +02:00
kalsprite
29c9c132b0 minor typos 2026-08-04 18:49:33 -07:00