Commit Graph
1216 Commits
Author SHA1 Message Date
Jeroen van Rijn 1352d0235b Update test_issue_7779.odin
Catch leak in regression test
2026-10-07 11:15:11 +02:00
bplu4t2f 758cdd19ae Fix #7779 - Make encoding/hex behave well on errors. 2026-10-07 10:47:57 +02:00
corley 8b573fcf5e adds alignment regression tests 2026-10-07 01:38:31 +03:00
Mihail Moskov 55c6cf3dea fixes regressions at sites needing true address caused by temp copy 2026-10-06 20:21:05 +03:00
Jeroen van Rijn 3500b228f9 Merge pull request #7740 from bplu4t2f/test-7689
Fix #7689 - Incorrect debug source location at the end of if/else chains
2026-10-05 02:26:51 -07:00
gingerBill 4957867890 Update test_core_runtime.odin 2026-10-04 19:16:24 +01:00
gingerBill f05c574cae Merge pull request #7520 from Pippoosh/fix-soa-pointer-using-field
Fix #soa pointer field access through using
2026-10-04 19:01:28 +01:00
gingerBill 18aead3ba1 Merge pull request #7729 from odin-lang/bill/llvm-backend-improvements
LLVM Backend Performance Improvements to Reduce Compile Times Part 2
2026-10-04 19:01:11 +01:00
bplu4t2f 854cd0e8d8 Fix #7689 - set debug source location of if/else "done" jump to end of the respective block 2026-10-04 14:54:00 +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
bplu4t2f e5b8ea0d2a Add test for issue #7689 2026-10-04 14:09:47 +02:00
gingerBill 5a4b877beb Only match the missing procedure assertion in the equal procedure dependencies issue test 2026-10-03 22:33:08 +01:00
gingerBill 733c3fdea7 Add to the tests the equal procedure dependencies test 2026-10-03 22:31:40 +01: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
gingerBill fcab1c1887 Merge remote-tracking branch 'remotes/Odin-GitHub/master' into bill/llvm-backend-improvements 2026-10-03 15:29:46 +01:00
gingerBill ecfd651f95 Use atomics for the flags name_test 2026-10-03 15:26:49 +01:00
gingerBill 0a57d94f08 Merge pull request #7720 from odin-lang/bill/llvm-backend-improvements
LLVM Backend Performance Improvements to Reduce Compile Times Part 1
2026-10-03 15:03:39 +01:00
gingerBill 5031e2733e Add the comparison procedures of types in the type table and map keys as dependencies making the backend no longer has to create missing procedures 2026-10-03 12:38:00 +01:00
Artur Leite d8a598b1a3 Accept .Recv channels in chan.recv and chan.try_recv 2026-10-03 13:01:17 +02:00
gingerBill e5cc35c445 Lower what LLVM's fast instruction selector cannot select before emitting objects, and declare debug variables through stack slots 2026-10-03 11:02:55 +01:00
gingerBill 8b4f855fc6 Fix a union constant from a field omitted in a constant compound literal being nil 2026-10-03 09:42:26 +01:00
gingerBill f670de9e80 Define and initialize global variables in their own modules 2026-10-03 08:28:31 +01:00
Arthur031221andblob1807 093357f63e Preserve zero-initialized arrays in intrinsics.concatenate
Co-authored-by: blob1807 <12388588+blob1807@users.noreply.github.com>
2026-10-03 11:26:45 +08:00
gingerBill 3a45aaa539 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-10-02 23:40:30 +01:00
gingerBill 2ca1a21777 Merge pull request #7714 from louisnovy/fix-global-address-of-literal
Handle globals initialized with the address of a non constant literal
2026-10-02 23:25:10 +01:00
gingerBill c628768c5e Strip constant parameters from specialized procedure types; fix calling a parenthesized polymorphic callee 2026-10-02 23:11:13 +01:00
Louis Novy 3b8e53a991 Handle globals initialized with the address of a non constant literal 2026-10-02 13:39:33 -04:00
gingerBill 63d28377bb Pass a copy of a value within a packed struct to a procedure by reference when its address is not known to be aligned to its type, and lower the alignment of loads and stores to that known from the GEPs leading to their address 2026-10-02 17:22:15 +01:00
gingerBill 1d3f982b50 Allow intrinsics.procedure_of on procedures without results or requiring a context; treat a specialized procedure's type as concrete 2026-10-02 17:10:03 +01:00
gingerBill f0ac6c3fba Fix #7700: constant #soa field access yields the per-element field array; compare and canonicalize typeid constants 2026-10-02 16:55:57 +01:00
gingerBill ff02184b2e Fix #7708: compare a polymorphic record's constant parameters by value in subst_unify 2026-10-02 16:42:33 +01:00
gingerBill 03852e7af8 Generate each global's initialization in its own block of the startup procedure; generate the procedure literals reached from the initializations of globals in their own package's module rather than the default module 2026-10-02 15:36:04 +01:00
gingerBill 08dd25e28f Merge branch 'master' of https://github.com/odin-lang/Odin 2026-10-02 14:45:10 +01:00
gingerBill c941c3fd2b Accept a pointer to a using subtype for a $T/^Base constraint again, binding T to the argument's type 2026-10-02 14:45:00 +01:00
gingerBill d32c8d3e46 Merge pull request #7706 from louisnovy/fix-fixed-capacity-literal
Fix #7430: Fixed capacity dynamic array literals lose their length
2026-10-02 14:38:53 +01:00
Louis Novy 4a3a7a92cb Fix the length of fixed capacity dynamic array literals whose elements can't be constant 2026-10-02 09:29:51 -04:00
gingerBill 4f75180692 Merge pull request #7704 from Arthur031221/fix-cbor-bit-set-byte-order-20261002-s58
Fix CBOR bit-set byte order
2026-10-02 14:26:43 +01:00
gingerBill 161f6e30e6 Merge pull request #7701 from odin-lang/bill/multithread-global-decls
Multithread The Entire Semantic Checker
2026-10-02 14:17:23 +01:00
gingerBill 6bc4b69ab8 Fix #7316: a polymorphic procedure in a constant compound literal is its instance, not nil 2026-10-02 13:03:48 +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
gingerBill c494c7a503 Check global entity groups in parallel
* CAS-claimed entities, cycle-safe waits for entities and records, lazy entities without lazy_mutex
* Build union type names only on error, take the error block only to report proc group overload errors
2026-10-01 23:17:34 +01:00
gingerBill 66c4fe1d49 Decide cycles of global whens by trying every choice of their branches; ambiguous or contradictory cycles are errors 2026-10-01 18:49:51 +01:00
Louis Novy 8fe3b9b57b Fix compound literals of array backed bit_fields 2026-10-01 12:43:00 -04:00
gingerBill 84f06ee6a8 Add test_issue_ambiguous_union_literal.odin 2026-10-01 16:30:48 +01:00
gingerBill 379261331f Add more tests 2026-10-01 16:29:04 +01:00
gingerBill 98e9aba1fa Add loads of global when tests 2026-10-01 16:28:45 +01:00
gingerBill 40f3df53bb Merge pull request #7694 from odin-lang/bill/multithread-global-decls
Make global checking codegen order-independent
2026-10-01 15:36:48 +01:00
Jeroen van Rijn f251830001 Merge pull request #7685 from odin-lang/bill/parapoly-improvements
Complete Parapoly Rewrite + Race condition fixes
2026-10-01 05:31:24 -07:00