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
gingerBill
e6d7ccad2c
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-03-25 14:08:48 +00:00
gingerBill
a9e81e01aa
Allow addressing of an index expression of an soa slice/dynamic array
2026-03-25 14:08:39 +00:00
gingerBill
e3d4d44ad9
Merge pull request #6413 from Znarf64/master
...
Fix #6407
2026-03-25 12:04:12 +00:00
gingerBill
9379273d20
Remove deprecated append_* procedures in core:strconv
2026-03-25 11:41:05 +00:00
gingerBill
8bac2e30c6
Remove deprecated procedures in core:container/queue
2026-03-25 11:40:26 +00:00
gingerBill
7e9c14e6f3
Remove deprecated procedure
2026-03-25 11:38:38 +00:00
gingerBill
8f4b720e90
Add contextless to appropriate procedures in core:math/fixed
2026-03-25 11:38:14 +00:00
gingerBill
b178e39f80
Improve error message when trying to pass a parapoly type to value parameter
2026-03-25 11:33:05 +00:00
gingerBill
85eeca2f03
Add missing generic #soa pointers to parapoly handling system
2026-03-25 10:15:58 +00:00
gingerBill
7fbabb491b
Merge pull request #6466 from jakubtomsu/bit-field-intrin
...
Bit field intrinsics and fixes
2026-03-25 09:55:28 +00:00
gingerBill
35df231099
Merge pull request #6470 from harold-b/hb.allow-offset-zero-subtype-ptr-proc-param
...
Allow pointers to types which have subtype fields at offset 0 to be assignable in proc parameters.
2026-03-25 09:44:31 +00:00
Harold Brenes
35b4c42f87
Use odin test for test_pr_6470.odin on windows
2026-03-24 16:07:59 -04:00
Harold Brenes
b66e65e7f8
Rename temp test name given PR number
2026-03-24 15:40:29 -04:00
Harold Brenes
7a017d2ecd
Add test case for implicit cast pointer to offset zero subtype field proc param
2026-03-24 15:37:04 -04:00
Jeroen van Rijn
44b50eab98
Merge pull request #6469 from odin-lang/revert-6467-master
...
Revert "added get_page_size() to `core:mem/virtual`"
2026-03-24 16:26:44 +01:00
Jeroen van Rijn
2d77303b27
Revert "added get_page_size() to core:mem/virtual"
2026-03-24 16:16:24 +01:00
Jeroen van Rijn
48c25fe76e
Merge pull request #6467 from Carlyle-Foster/master
...
added get_page_size() to `core:mem/virtual`
2026-03-24 15:16:34 +01:00
Harold Brenes
4f6caf19f0
Ensure checking for proc property equality before checking param assignability
2026-03-23 21:15:12 -04:00
Harold Brenes
147542b5cc
Allow pointers to types which have subtype fields at offset 0
...
to be assignable in proc parameters.
```odin
// Virtual interface
IFoo :: struct {
foo: proc( self: ^IFoo ),
}
// Implements IFoo interface
Foo :: struct {
using vt: IFoo,
name: string,
}
// Implement interface via `Foo`
Foo_Impl :: IFoo {
// `self` of type `^Foo` (not `^IFoo`) is now accepted as a valid parameter.
foo = proc( self: ^Foo ) {
...
},
}
```
2026-03-23 20:55:44 -04:00