Commit Graph
8397 Commits
Author SHA1 Message Date
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
Jeroen van Rijn ad8e0042d4 Merge pull request #6722 from yosinn1-blip/codex/typo-6679-microsecond-time-val
docs: fix Time_Val precision comment
2026-09-25 13:04:24 -07:00
Jeroen van Rijn 413a634cef Merge pull request #7633 from JackMordaunt/json-unquote-invalid-utf8
core/encoding/json: size the unquote buffer for replaced invalid UTF-8
2026-09-25 11:22:40 -07:00
Jack Mordaunt 641844dae7 core/encoding/json: size the unquote buffer for replaced invalid UTF-8
unquote_string replaces each byte that is not valid UTF-8 with U+FFFD,
which is three bytes for one, but sized its buffer as len(s) + 2*UTF_MAX:
slack for a single replacement, not for one per invalid byte. A string
holding several ran the write cursor past the end, an out-of-range slice
under bounds checking and a memory-safety bug without it.

Count the invalid bytes in the remainder up front and size for them. The
escape sequences never grow their input, so they need no allowance.
2026-09-25 14:27:40 -03:00
Alexander Zhura da2c46aaee Impl simd arm neon transpose reverse set2 2026-09-25 19:49:39 +03:00
Alexander Zhura afbecefac7 Impl simd arm neon transpose reverse set1 2026-09-25 19:41:42 +03:00
Matthias Huerbe 9f9d7f7f55 ported Eisel-Lemire's fast float algorithm to odin
also fixed string the float conversion producing wrong results.
2026-09-25 11:55:36 +02:00
Florian Morel 8c0535840e add missing 512bit vmovntdq(a) 2026-09-24 20:41:30 +02:00
Louis Novy 45b8f63960 rat_mul_rat: fix squaring path writing the denominator into the numerator 2026-09-24 09:11:20 -04:00
Matthias Huerbe 7fc688e651 cleanup 2026-09-24 10:57:59 +00:00
Matthias Huerbe d49b4e65a7 fixed hex parsing of floats 2026-09-24 10:15:51 +00:00
macsmol a903fe2d04 Explanation to dynlib example 2026-09-24 10:02:36 +02:00
jack gleeson ba3ddfadcc [core/c] Fix size of fastX int types per different archs/OSes 2026-09-21 11:40:51 -06:00
bplu4t2f 36c1173df6 Fix #7547 2026-09-21 17:52:49 +02:00
Alexander Zhura e493449c90 Impl simd arm neon zip unzip extract set3 2026-09-20 20:47:24 +03:00
Alexander Zhura c975678004 Impl simd arm neon zip unzip extract set2 2026-09-20 20:43:31 +03:00
Alexander Zhura 945b5980d9 Impl simd arm neon zip unzip extract set1 2026-09-20 20:32:29 +03:00
Jeroen van Rijn b2354a04b9 Merge pull request #7536 from tGautot/ftr/core_odin_triple_quote
Fix #7526 : Handle triple quote/tick string in odin/core
2026-09-20 04:19:54 -07:00
Tom Gautot 608d6c0054 Proper Odin semicolon-less syntax 2026-09-20 11:24:36 +02:00
Yawning Angel 389dd7d925 core/os/env_linux: Fix the 0th env var being duplicated 2026-09-20 08:35:02 +09:00
bplu4t2f a7b67e4473 -strict-style requires comma before newline after proc parameters which have a default value (#7583) 2026-09-19 12:16:55 +02:00
bplu4t2f 04577f42c1 Removed outdated comment/example code (replacement in examples repo) 2026-09-17 16:53:13 +02:00
bplu4t2f be72d9f6cc Add API doc to wstring related utils, and make N default value consistent within procedure group utf8_to_wstring 2026-09-17 13:01:34 +02:00
bplu4t2f c1ec54290c Fix and add bindings for common win32 dialogs 2026-09-17 12:58:38 +02:00
gingerBill d26833285c Merge pull request #7565 from Einh06/master
sys/windows: Add performance counter PSAPI bindings
2026-09-16 13:50:31 +01:00
gingerBill cfeda7c3dd Merge pull request #7563 from alexthed1rk/impl-simd-arm-neon-shift-right
Impl simd arm neon shift right
2026-09-16 12:57:02 +01:00
Florian Morel 291159a431 psapi binding improvements 2026-09-15 06:48:07 +02:00
Jeroen van Rijn 6d23dd8367 Add macOS 27 to Where to find more information and get into contact when you encounter a bug:
Website: https://odin-lang.org
	GitHub:  https://github.com/odin-lang/Odin/issues

Useful information to add to a bug report:

	Odin:    dev-2026-09:315725197
	OS:      macOS Golden Gate 27.0.0 (build 26A428, kernel 27.0.0)
	CPU:     Apple M4 Pro
	RAM:     24576 MiB
	Backend: LLVM 22.1.8
2026-09-14 23:07:17 +02:00
Alexander Zhura a4d997740a Impl simd arm neon shift right 2026-09-14 19:28:08 +03:00
Tom Gautot ba59817eac Align tokenizer logic between core/odin and compiler for triple quoted strings 2026-09-12 17:49:50 +02:00
Tom Gautot 4ec5cae7e7 Handle triple quote/tick in core/odin 2026-09-10 21:55:06 +02:00
NicknEma 1e07cf39b3 Add line-drawing functions in gdi32.odin 2026-09-10 11:03:07 +02:00