Commit Graph
8430 Commits
Author SHA1 Message Date
gingerBill 19cbd86501 Merge pull request #7738 from staledonuts/master
Fix glsl mix_vec4 and mix_dvec4 implementations
2026-10-04 18:24:41 +01:00
Jeroen van Rijn dc0b041d59 #force_inline math.lerp, unlerp, saturate 2026-10-04 19:20:29 +02:00
Jeroen van Rijn 667efeb840 Merge pull request #7731 from Arthur031221/fix/timezone-utc-nanoseconds-20261004-s29
Preserve fractional timestamps in timezone conversions
2026-10-04 05:24:55 -07:00
DeadDonuts Corp. 0ade92df56 Fix glsl mix_vec4 and mix_dvec4 implementations
Fix mix implementation typo bug.
Line 763 and 766  never used the target value to progress y  channel.
2026-10-04 11:01:30 +02:00
Jeroen van Rijn 930cb5dab3 Merge pull request #7733 from BradLewis/fix/odin-parser-for-stmt-comma
Fix odin parser assert with invalid for-in stmt
2026-10-03 15:26:13 -07:00
Brad Lewis 66ccc1011c Fix odin parser assert with invalid for-in stmt 2026-10-04 09:11:04 +11:00
gingerBill b079c1a23b Merge pull request #7672 from MatzeOGH/fast_float_swar_parse
Second Part of the Fast Float Port (SWAR based scanning)
2026-10-03 22:31:02 +01:00
Arthur031221anddozn d046345202 Preserve fractional timestamps in timezone conversions
Apply timezone offsets to the normalized nanosecond timestamp.
Test fractional roundtrips, dates before 1970 and nanosecond carry.

Co-authored-by: dozn <16659513+dozn@users.noreply.github.com>
Signed-off-by: Arthur031221 <levi74108520963@gmail.com>
2026-10-04 03:39:11 +08:00
Jeroen van Rijn d57f6d8232 Add a few more #no_bounds_check to XXH3. 2026-10-03 16:15:37 +02:00
corley b785a3fc77 adds a config for opting out of Eisel-Lemire 2026-10-03 15:39:22 +03:00
Artur Leite d8a598b1a3 Accept .Recv channels in chan.recv and chan.try_recv 2026-10-03 13:01:17 +02:00
gingerBill 1c7acfb1cf Merge pull request #7707 from odin-lang/bill/doc-comment-markdown
Adjust doc comments that misrender as CommonMark
2026-10-02 14:36:30 +01:00
gingerBill 56e7efb1d4 Adjust doc comments that misrender as CommonMark 2026-10-02 14:36:03 +01:00
Arthur031221 eaa1cb34eb Fix CBOR bit set byte order conversion 2026-10-02 18:57:49 +08:00
Arthur031221 f01284d372 [core:encoding/csv] Read the final multiline record before EOF
The multiline line reader returned EOF with buffered data, so record
parsing discarded the last row when the file had no trailing newline.
Clear EOF while data remains, as the normal line reader does.

Add regressions for final records, empty input and unterminated quotes.
The normal core suite passes 627 tests with the new CSV tests included.
2026-10-02 14:10:58 +08:00
Alexander Zhura ce6aac3028 Impl simd x86 avx512 typo fix 2026-10-01 19:21:35 +03:00
Ihor Antonov a5bef5224c core: add unpadded base64 encoding
core:encoding/base64 can only produce padded output, so callers that need
the canonical unpadded ("raw") form -- JOSE base64url, Go's
RawStdEncoding/RawURLEncoding -- have to encode and then trim, which
forces an extra allocation and cleanup dance around the returned string.

Add an Encode_Options bit set, mirroring Decode_Options, and honor
{.No_Padding} in `encode`, `encode_into_buf`, `encode_into`, and
`encoded_len`. Existing calls and padded output are unchanged.

Tests cover the RFC 4648 section 9 illustrations and section 10 test
vectors across the standard and URL alphabets, padded and raw, plus Go's
reference corpus. Newline characters are asserted to be rejected per
RFC 4648 section 3.3. Comments in `encode_impl` document the 24-bit group
packing and the padding decision for partial groups.
2026-09-30 19:53:10 -07:00
gingerBill 94b93632f0 Merge pull request #7683 from alexthed1rk/impl-simd-x86-avx512-evex512
Impl simd x86 avx512 evex512
2026-09-30 23:36:28 +01:00
gingerBill e18d83b69c Merge pull request #7684 from MatzeOGH/rexcode-append-elem
Changed append to append_elem in rexcode package for a sizable improvement
2026-09-30 23:34:49 +01:00
Matthias Huerbe 2c0883b4e8 chenged append to append_elem for spirv ir 2026-09-30 20:20:54 +02:00
Matthias Huerbe 98ad032baa changed append to append_elem in rexcode package for massive compile time improvements 2026-09-30 18:53:24 +02:00
Alexander Zhura cd3570eef8 Impl simd x86 avx512 evex512 2026-09-30 19:03:52 +03:00
Matthias Huerbe d8c5c3d69a moved hex out of special case for float parsing 2026-09-30 17:30:15 +02:00
Matthias Huerbe 83bf868688 cleanup of fast_float and small perf win with @(cold) tagging 2026-09-30 17:17:51 +02:00
gingerBill 0ad99cacde Merge pull request #7590 from ARTurleite6/fix/windows-long-path-temp-guard
core/os: allocate the long-path buffer in the caller's allocator
2026-09-30 11:19:09 +01:00
gingerBill 109eb0e5fb Merge pull request #7673 from benbot/master
removes private from unmarshal_value for use in user unmarshalers
2026-09-30 11:12:14 +01:00
Yawning Angel c25e7cb3bc core/crypto/aegis: AEGIS is RFC 10032 now 2026-09-30 11:56:30 +09:00
gingerBill c05a880694 Merge pull request #7484 from dominikake/docs/sort
docs(core/sort): document all public procedures and Interface type
2026-09-29 22:18:01 +01:00
Ben Botwin 2796bf0fd0 removes private from unmarshal_value for use in user unmarshalers 2026-09-29 16:58:31 -04:00
Matthias Huerbe 9d12e2af80 added SWAR trick for hex floats as well 2026-09-29 20:42:58 +02:00
Matthias Huerbe fedcc0bd55 Ported SWAR based string parsing from fast_float to Odin 2026-09-29 19:32:21 +02:00
gingerBill fbb155ddd7 Merge pull request #7671 from Dihedron-Software/fix-xar-chunk-count
`core:container/xar`: fix chunk slot count capping `Array` capacity
2026-09-29 18:00:54 +01:00
Wassim Alhajomar 69b0996c61 core:container/xar: fix chunk slot count capping Array capacity 2026-09-29 18:50:56 +02:00
Jeroen van Rijn da7371404e Improve bit_array (#7665)
Fix `index: uint` -> `index: int`, examples.
Add `create_from_enum` helper.
2026-09-29 15:54:42 +02:00
gingerBill d7da8c0833 Merge pull request #7610 from bplu4t2f/fix-7547
Fix #7547 (double-null-terminate path in SHFileOperationW)
2026-09-29 13:28:35 +01:00
Jeroen van Rijn 1bdd184b93 Merge pull request #7584 from bplu4t2f/comdlg32
Extend Win32 common dialog bindings
2026-09-29 05:23:11 -07:00
gingerBill 8e3dd40262 Merge pull request #7579 from jpgleeson/jackg/core-fastX-types
[core/c] Fix fastX type widths
2026-09-29 13:16:29 +01:00
gingerBill 88d2c3f11e Merge branch 'master' into fix-7547 2026-09-29 13:13:47 +01:00
gingerBill 5a4e0de0cc Merge pull request #7594 from bplu4t2f/fix-7583
Fix 7583: -strict-style requires comma before newline after proc parameters which have a default value.
2026-09-29 13:11:39 +01:00
gingerBill bd4f2821e1 Merge pull request #7630 from MatzeOGH/fast_float
Ported Eisel-Lemire's fast float algorithm to Odin
2026-09-29 13:09:28 +01:00
gingerBill 38b8d5f4f4 Merge pull request #7632 from alexthed1rk/impl-simd-arm-neon-transpose-reverse
Impl simd arm neon transpose reverse
2026-09-29 13:06:47 +01:00
gingerBill 4f9ab7ae5a Merge pull request #7663 from alexthed1rk/impl-simd-x86-avx512-shift-logical
Impl simd x86 avx2 avx512 shift logical
2026-09-29 13:05:14 +01:00
gingerBill 7a228a97f8 Merge pull request #7664 from odin-lang/bill/bit_set_backing
Allow `bit_set` to be backed by arrays of integers
2026-09-29 13:02:25 +01:00
gingerBill b153d6071c Support bit_set[E; [4]u64] style types 2026-09-29 12:17:02 +01:00
Alexander Zhura f3dff6da4b Impl simd x86 avx2 avx512 shift logical 2026-09-29 13:21:03 +03:00
Ihor Antonov 2109ba8fbd core: add strict base64 decoding
core:encoding/base64 currently decodes leniently: it infers padding from the
last one or two bytes, accepts missing/extra/interior padding, and does not
check the trailing padding bits required by RFC 4648 Section 3.5.
Go exposes canonical decoding as `Encoding.Strict()`; Odin has no equivalent,
so downstream ports (e.g. age) have to reimplement base64 from scratch.

This adds opt-in strict decoding through a `Decode_Options` bit set.
Existing calls and behavior are unchanged.
2026-09-28 19:59:23 -07:00
Matthias Huerbe 4269f09236 moved license notice into fast_float.odin 2026-09-28 16:00:01 +02:00
gingerBill 67dee2e686 Merge pull request #7627 from Einh06/master
core/rexcode: add 512bit vmovntdq(a)
2026-09-27 15:01:53 +01:00
Matthias Huerbe 11c3c33970 changed variable names to be more descriptive 2026-09-27 13:56:41 +02:00
Ihor Antonov 0aee554caa core/crypto/_fiat/field_p256r1: fix fe_sqrt addition chain base
Step 4 (t0 = x^0xc) passed x^1 (&xx) instead of x^3 (out1), producing
an incorrect exponent and rejecting valid quadratic residues. This broke
compressed SEC1 P-256 point decoding via pt_set_sec_bytes.
2026-09-25 13:49:23 -07:00