gingerBill
a896fb2b4c
Merge pull request #6507 from LeandroLibanio28H/fixing-declaration-order-bugs
...
Fixing declaration order bugs
dev-2026-04
2026-04-02 14:32:02 +01:00
gingerBill
039c438af2
Fix possible utf16 out of bounds issue
2026-04-02 12:54:07 +01:00
gingerBill
1d8c44a98c
Fix minor issues with Windows bindings
2026-04-02 12:52:17 +01:00
gingerBill
40e03765a4
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-04-02 10:25:23 +01:00
gingerBill
70c4f4bc45
Fix read_reg_string which was using the wrong size in bytes for the resulting buffer
2026-04-02 10:25:19 +01:00
Jeroen van Rijn
452f332b03
Merge pull request #6510 from bersK/aes_ecb_src_dst_check_fix
...
core/crypto/aes: Fix src size check in encrypt/decrypt_ecb()
2026-04-01 23:00:19 +02:00
Stefan Stefanov
b52cc45053
core/crypto/aes: Fix src size check
...
Fixed a faulty check that would check the `dst` twice instead of
checking the `src` and `dst` input parameters in `encrypt_ecb()` &
`decrypt_ecb()`.
2026-04-01 23:05:29 +03:00
Jeroen van Rijn
36d23a5a7d
Merge pull request #6508 from Kelimion/fix-zlib
...
Revert fix for 6425
2026-04-01 19:16:27 +02:00
Jeroen van Rijn
fbf0c06cf4
Temporarily revert 6425 fix.
2026-04-01 18:58:16 +02:00
Jeroen van Rijn
74c5039168
Revert "Fix #6424 "
...
This reverts commit 66be1a799b .
2026-04-01 18:41:39 +02:00
Leandro Libanio
8d63c1bbff
publish partial struct fields during struct field checking
...
Fixes : #6506
2026-04-01 13:34:04 -03:00
Leandro Libanio
c8cd8dd2db
allow in-progress union variants when validating union members
...
Fixes : #5961
2026-04-01 12:39:48 -03:00
gingerBill
69606e4e22
Compiler arena_alloc_array utility procedure
2026-03-30 13:15:41 +01:00
gingerBill
52701390ce
Remove dead code in filename_from_path
2026-03-30 11:52:08 +01:00
gingerBill
4dceffd049
When parsing an incorrect for loop, remove assert
...
// caused by this:
```
for a
b, c := d()
```
2026-03-30 11:50:59 +01:00
Jeroen van Rijn
377a9c7be8
Merge pull request #6497 from Tejas-H5/delete-key-doc
...
Updated delete_key doc to mention iteration behaviour
2026-03-30 12:01:10 +02:00
Tejas Hegde
d27f34f233
Updated delete_key doc to mention iteration behaviour
2026-03-30 19:29:52 +10:30
Jeroen van Rijn
48258a4201
Merge pull request #6496 from imp0s5ible/imp-relative-path-fix
...
Fix #6495 - Handle starting separator during name comparison
2026-03-29 21:53:10 +02:00
imp0s5ible
0d8fe07388
Fix array-bounds-exceeded error
...
We didn't consider empty base/target strings and accessed the ith
element unconditionally. We now check to make sure `i` is in range.
2026-03-29 21:24:57 +02:00
imp0s5ible
1f2d978396
Fix #6495 - Handle starting separator during name comparison
...
During the loop comparing file/directory names, the starting character
in both will be a path separator in most cases.
Since a naive string equality will regard forward slashes and
backslashes as different, we must specially handle the first character
and exclude it from the equality comparison if necessary.
2026-03-29 21:11:22 +02:00
gingerBill
d8aa2f3ad0
Merge pull request #6491 from mtarik34b/in-source-order-docs
...
Add `-in-source-order` option to `odin doc` to show docs in source order within each file
2026-03-28 10:42:33 +00:00
mtarik34b
7de688d893
Use int instead of u64
2026-03-28 02:50:05 +01:00
mtarik34b
2640a18296
Undo rename of cmp_entities_for_printing
2026-03-28 02:26:56 +01:00
mtarik34b
ac17852f36
Add option to show docs in source order within each file
2026-03-28 02:26:39 +01:00
gingerBill
44bf8ba464
Support odin doc core:os style paths
2026-03-27 17:43:06 +00:00
Jeroen van Rijn
ea3a4e0785
Merge pull request #6490 from A1029384756/master
...
[ci] fixed git + docker mount permissions
2026-03-27 16:25:57 +01:00
A1029384756
3e6a5a6f86
[ci] fixed git + docker mount permissions
2026-03-27 11:16:20 -04:00
Jeroen van Rijn
486d26530e
Merge pull request #6489 from A1029384756/master
...
[ci] fix odin versioning in nightly builds
2026-03-27 09:58:17 +01:00
Jeroen van Rijn
515cbdc0ef
Merge pull request #6488 from harold-b/hb.fix-double-when-in-foreign
...
Fixes #6484 : Two `when` blocks which evaluate to `true` in a `foreign` block misses following decls
2026-03-27 09:56:16 +01:00
A1029384756
8fdc76d390
[ci] fix odin versioning in nightly builds
2026-03-26 20:30:15 -04:00
Harold Brenes
7da7bc8456
Add test case for issue #6484
2026-03-26 20:10:24 -04:00
Harold Brenes
e11bbdaa37
Fix issue where 2 when statements which eval to true
...
in a `foreign` block cause the rest of the statements on
the block to go unchecked
2026-03-26 19:53:59 -04:00
Jeroen van Rijn
09e437dc8f
Merge pull request #6487 from jakubtomsu/align-forw
...
Minor cleanup in `runtime` and `mem`
2026-03-26 20:23:20 +01:00
jakubtomsu
2dd9c70337
remove bench.odin - unrelated to this PR
2026-03-26 19:51:51 +01:00
jakubtomsu
e7c29e21ee
remove Fixed_Byte_Buffer
2026-03-26 19:40:14 +01:00
jakubtomsu
382ca331be
runtime align_forward procs as source of truth
2026-03-26 19:38:49 +01:00
gingerBill
fb69d8132d
Merge pull request #6483 from odin-lang/bill/remove-tilde
...
Remove Tilde Backend
2026-03-26 12:07:25 +00:00
gingerBill
25c10c18cc
Remove tilde backend
2026-03-26 11:49:39 +00:00
gingerBill
4697c8837c
Merge pull request #6479 from cuiweixie/fix/llvm-cstring16-u16-multi-ptr-transmute
...
Fix u16 multi-pointer to cstring16 transmute condition in lb_emit_conv
2026-03-26 11:16:49 +00:00
gingerBill
761f433dd3
Merge pull request #6476 from MortimerSnerd/scratch_allocator_fix
...
Fix for corner case in the scratch allocator.
2026-03-26 11:16:27 +00:00
gingerBill
e0f348bf06
Merge pull request #6478 from cuiweixie/fix/llvm-panic-subtype-cast-format
...
Fix GB_PANIC format string in lb_emit_conv invalid subtype cast
2026-03-26 11:16:20 +00:00
gingerBill
b0e2affa60
Merge pull request #6477 from cuiweixie/fix/gteq-string-runtime-deps
...
Fix >= comparison runtime dependencies for string and cstring types
2026-03-26 10:52:37 +00:00
Weixie Cui
4e87f47fe3
Fix >= comparison runtime dependencies for string and cstring types
...
Token_GtEq incorrectly added *_gt runtime symbols for cstring, cstring16,
string16, and string comparisons; use the correct *_ge dependencies instead.
2026-03-26 18:21:27 +08:00
Weixie Cui
b16eaea8a8
Fix u16 multi-pointer to cstring16 transmute condition in lb_emit_conv
...
cstring16 uses UTF-16 code units; accept u16 multi-pointers, not u8.
2026-03-26 17:57:18 +08:00
Weixie Cui
a2f1aafed3
Fix GB_PANIC format string in lb_emit_conv invalid subtype cast
...
The panic string passed two type names but only had one %s placeholder.
2026-03-26 17:54:17 +08:00
Mortimer Snerd
6aceb7639f
Clean up the name of the test file for this PR
2026-03-25 19:55:38 -04:00
Mortimer Snerd
2363f85944
Fix for corner case in the scratch allocator.
...
The scratch allocator could erroneously return a slice
overlapping previously allocated memory for allocation
requests that were smaller than the arena size, but larger
than the amount of free space left in the arena.
- fix the check in mem::scratch_alloc_bytes_non_zeroed
that wasn't routing the request to the backup allocator.
- added concrete reproduction test under tests/issues.
2026-03-25 19:33:17 -04:00
gingerBill
0fce2da442
Add suggestion when trying to slice an enumerated array
2026-03-25 15:03:37 +00:00
gingerBill
e10257f86a
Fix slicing logic of a FCD array to check if it can be sliced or not
2026-03-25 14:11:22 +00:00
gingerBill
59eaa13625
Fix indexing logic of FCD arrays
2026-03-25 14:10:08 +00:00