Jeroen van Rijn
a6650ce787
Merge pull request #7634 from hugpoint-tech/fix/p256r1-fe-sqrt
...
Fix P-256 `fe_sqrt` addition chain, unblocking compressed SEC1 point decoding
2026-09-25 14:02:37 -07: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
Jeroen van Rijn
984eb69e08
Merge pull request #7631 from Dreamshade-1911/fix/7482-record-inst-poly-proc
...
Fix: record instantiated poly proc on selector when used as a proc value
2026-09-25 09:54:06 -07:00
Jeroen van Rijn
7ffdacad03
Merge pull request #7628 from louisnovy/poly-record-cache-growth
...
Fix quadratic type checking case: don't cache polymorphic record specializations
2026-09-25 09:51:03 -07:00
Louis Novy
565fe80174
Claim less in comment
2026-09-25 11:28:03 -04:00
Fernando Nunes
a5e80c7530
fix(checker): record instantiated poly proc on selector when used as a proc value
2026-09-25 07:45:33 -03:00
Louis Novy
1b239a88b0
improve comment
2026-09-25 00:58:07 -04:00
Louis Novy
a2ba92f501
check_type: don't cache polymorphic record specializations
2026-09-25 00:03:54 -04:00
Jeroen van Rijn
f1fd03364d
Merge pull request #7624 from louisnovy/rat-mul-rat-squaring
...
rat_mul_rat: fix squaring path writing the denominator into the numerator
2026-09-24 06:27:13 -07:00
Louis Novy
45b8f63960
rat_mul_rat: fix squaring path writing the denominator into the numerator
2026-09-24 09:11:20 -04:00
Jeroen van Rijn
70fa7db3f2
Merge pull request #7622 from MatzeOGH/hex_float_literals
...
fixes three bugs in hex float parsing
2026-09-24 04:11:45 -07:00
Jeroen van Rijn
e836bc0f12
Merge pull request #7623 from Kelimion/single-file-package
...
Add `-file` suggestion.
2026-09-24 04:09:29 -07:00
Matthias Huerbe
7fc688e651
cleanup
2026-09-24 10:57:59 +00:00
Jeroen van Rijn
6332303a0e
Add -file suggestion.
...
When `main` is duplicated or the package names differ, suggest it may be a single `-file` package.
2026-09-24 12:52:45 +02:00
Matthias Huerbe
d49b4e65a7
fixed hex parsing of floats
2026-09-24 10:15:51 +00:00
Matthias Huerbe
50ca03440d
added a hexadecimal floating-point parsing test
2026-09-24 10:08:44 +00:00
Jeroen van Rijn
8c25670f96
Merge pull request #7620 from macsmol/master
...
Improvements and explanations in dynlib example
2026-09-24 02:22:57 -07:00
macsmol
a903fe2d04
Explanation to dynlib example
2026-09-24 10:02:36 +02:00
gingerBill
a65a8471ed
Merge pull request #7615 from LehMichael/fix-windows-amd64-no-crt
...
Fix Windows AMD64 no-CRT stack probe support
2026-09-22 22:37:23 +01:00
Michael Lehenauer
39d00f6ee4
Fix Windows AMD64 no-CRT stack probe support
2026-09-22 20:32:58 +02:00
Jeroen van Rijn
37e519ffb2
Merge pull request #7607 from alyekypo/fix/scope-map-iterator-invalidation
...
fix(checker): keep entity iteration valid across a scope map rehash
2026-09-21 06:59:02 -07:00
alyekypo
23cc994255
fix(checker): keep entity iteration valid across a scope map rehash
...
`check_scope_decls` iterates a scope's entity map while
`check_entity_decl` can insert into that same scope: a procedure alias
(`f :: e`) goes through `override_entity_in_scope`, which calls
`scope_map_insert`. The map grows at 75% load (12 of 16 slots, then 24
of 32), and `scope_map_insert` grows before it probes for the key, so
even an alias that only replaces an existing value rehashes and
reallocates the table in the middle of the iteration.
`ScopeMapIterator` re-read its map on every step while `end` had
captured the capacity at loop start, so the walk continued over the new
table under the old sentinel: it ran past the end of the reallocated
table and dereferenced whatever followed it as an `Entity *` - a nullptr
dereference for a procedure scope holding exactly 12 or 24 entities - or
it stopped at the stale end index and silently skipped every declaration
that the rehash had moved behind it, which left unused declarations
without any diagnostic at all.
The iterator now snapshots the table pointer and capacity when it is
constructed, so iteration is invariant under any insert or grow and
cannot leave the table it began on. A scope that does not grow behaves
exactly as before: the snapshot points at the same table.
Refs #7598
2026-09-21 13:13:39 +00:00
Jeroen van Rijn
41912fa8fb
Merge pull request #7605 from Kelimion/fix-7604
...
Allow building at /
2026-09-21 03:13:53 -07:00
Jeroen van Rijn
866fbbb250
Allow building at /
...
Fixes #7604
2026-09-21 12:04:37 +02:00
Jeroen van Rijn
7c63405593
Merge pull request #7603 from alexthed1rk/impl-simd-arm-neon-zip-unzip-extract
...
Impl simd arm neon zip unzip extract
2026-09-21 01:07:16 -07: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
Jeroen van Rijn
ce22c12ae7
Merge pull request #7600 from Xaryen/openexr-fixes
...
vendor:OpenEXRCore fixes
2026-09-20 03:55:55 -07:00
Xaryen
88db18c07c
openEXR fixes - noncritical/cosmetic
2026-09-20 18:39:59 +09:00
Xaryen
71b6947c95
openEXR - add missing enum
2026-09-20 18:39:59 +09:00
Xaryen
24fdd7bb29
openEXR fixes
2026-09-20 18:37:14 +09:00
Tom Gautot
608d6c0054
Proper Odin semicolon-less syntax
2026-09-20 11:24:36 +02:00
Yawning Angel
20346d40db
Merge pull request #7599 from Yawning/fix/linux-environ
...
core/os/env_linux: Fix the 0th env var being duplicated
2026-09-20 08:43:22 +09:00
Yawning Angel
389dd7d925
core/os/env_linux: Fix the 0th env var being duplicated
2026-09-20 08:35:02 +09:00
Jeroen van Rijn
ec0bd121db
Fix redecleration error for globals
2026-09-17 16:20:11 +02:00
Jeroen van Rijn
a15f57ba49
Merge pull request #7582 from Kelimion/fix-7581
...
Fix #7581
2026-09-16 17:52:03 -07:00
Jeroen van Rijn
b5deedf69f
Fix #7581
2026-09-17 02:40:33 +02:00
gingerBill
d688713355
Merge pull request #7543 from IllusionMan1212/more-egl
...
vendor(egl): bind more procedures and constants
2026-09-16 20:10:46 +01:00
Jeroen van Rijn
32a9b7acd1
Merge pull request #7577 from ssenthilnathan3/fix/location-global-initializer
...
fix: #location in global variable initializers
2026-09-16 06:33:24 -07:00
Senthilnathan
699973abd6
Merge branch 'master' into fix/location-global-initializer
2026-09-16 18:45:52 +05:30
Senthilnathan
ed2d5304d1
fix: #location in global variable initializers
2026-09-16 18:42:10 +05:30
gingerBill
d0ee2b7ab8
Merge pull request #7550 from xdBronch/json-errors
...
fix syntax error type with -json-errors
2026-09-16 13:50:59 +01:00
gingerBill
b679ad4c46
Merge pull request #7546 from wrapperup/box3d-shared
...
vendor/box3d: Support BOX3D_SHARED on Windows
2026-09-16 13:50:49 +01:00
gingerBill
49b95c604f
Merge pull request #7553 from LechintanTudor/box2d
...
Add missing GetVersion function in Box2D bindings
2026-09-16 13:50:47 +01: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