Jeroen van Rijn
bea892bfe7
Merge pull request #6274 from Kelimion/fp_dir
...
Fix `filepath.dir`
2026-02-14 13:03:10 +01:00
Jeroen van Rijn
1af1beb248
Fix filepath.dir
2026-02-14 12:52:51 +01:00
Jeroen van Rijn
67922a57e9
Merge pull request #6273 from blob1807/master
...
Add more Windows endpoints
2026-02-14 12:14:53 +01:00
blob1807
dcd93579f0
Add more Windows endpoints
2026-02-14 20:31:51 +10:00
Jeroen van Rijn
f6d3500509
Merge pull request #6272 from Ribiveer/patch-1
...
Fix cross_3d in demo.odin
2026-02-14 02:30:03 +01:00
Ribiveer
666c64051a
Fix cross_3d in demo.odin
...
Not a very significant or meaningful change, but it did irk me that the equation was wrong...
2026-02-14 02:11:05 +01:00
Jeroen van Rijn
d26ad6a0e5
Update doc line for core:os and core:os/old.
2026-02-14 00:55:21 +01:00
Jeroen van Rijn
fbfc45a125
Merge pull request #6271 from oxSleep/fix-pool-container-type-error
...
[core:container/pool] Fix pool parapoly type error when using multiple Pool types
2026-02-13 17:46:09 +01:00
oxSleep
6fc3a8fb2a
Use when-block for sanitizer poisoning
...
Replace @disabled attribute with when-statement to conditionally compile
address sanitizer poisoning in pool elements
2026-02-13 17:21:51 +01:00
Jeroen van Rijn
6386b395de
Add -did-you-mean-limit:N
...
```
-did-you-mean-limit:<integer>
Sets the maximum number of suggestions the compiler provides.
Must be an integer >0.
If not set, the default limit is 10.
```
e.g. with a limit of 5
```
W:/Scratch/main.odin(44:7) Error: Undeclared name 'B1' for type 'E'
e = .B1
^^
Suggestion: Did you mean?
A23
A02
A19
A20
A21
... and 25 more ...
```
2026-02-13 15:15:03 +01:00
Jeroen van Rijn
f7f19e5ebe
Merge branch 'master' of github.com:odin-lang/Odin
2026-02-13 12:38:11 +01:00
Jeroen van Rijn
57653dd363
short_stem
2026-02-13 12:37:55 +01:00
Jeroen van Rijn
faca11d593
Fix os.stem, os.short_stem.
2026-02-13 12:36:15 +01:00
gingerBill
4e2dcb6b74
Merge pull request #6268 from lodinukal/fix_dynamic_handle_map
...
use xar.len instead of len for accessing length of items
2026-02-13 10:38:24 +00:00
Jeroen van Rijn
f8767e58c5
Fix #6267
2026-02-13 11:10:37 +01:00
imlodinu
b906412f47
use xar.len instead of len for accessing length of items
2026-02-13 15:46:28 +08:00
Jeroen van Rijn
22a5792888
Merge pull request #6261 from Faker-09/strings_remove_mem_depend
...
Remove core:mem dependency from core:strings
2026-02-12 20:13:50 +01:00
Shane Shrybman
ce2a1f5d02
Remove core:mem dependency from strings builder
2026-02-12 14:04:38 -05:00
Shane Shrybman
bb9d45867f
Remove core:mem dependency from strings conversion.odin
2026-02-12 13:35:34 -05:00
Shane Shrybman
671c46235a
Remove core:mem dependency from strings builder
2026-02-12 13:21:19 -05:00
Jeroen van Rijn
c9f53fdfd7
Merge pull request #6264 from Kelimion/mem_to_runtime
...
Replace trivial `core:mem` imports with `base:runtime`.
2026-02-12 18:26:39 +01:00
Jeroen van Rijn
c0300a3303
Remove core:mem imports from core:encoding.
2026-02-12 18:19:24 +01:00
Jeroen van Rijn
8cb22d9685
Remove core:mem import from core:container/bit_array.
2026-02-12 17:58:10 +01:00
Shane Shrybman
d1927e4eba
strings.compare() can be an alias of runtime.string_cmp()
2026-02-12 11:52:55 -05:00
Jeroen van Rijn
51183268b7
Remove core:mem import from core:container/pool.
2026-02-12 17:44:36 +01:00
Shane Shrybman
8a2a0c5a93
Remove core:mem dependency from strings intern.odin
2026-02-12 11:05:23 -05:00
Shane Shrybman
871ad16501
Add the length checks back to string.compare()
2026-02-12 10:54:59 -05:00
Jeroen van Rijn
cde6dc1f20
Remove core:mem import from core:crypto.
2026-02-12 16:52:25 +01:00
Shane Shrybman
a484937fb7
strings.compare() can wrap runtime.string_cmp()
2026-02-12 10:43:27 -05:00
Jeroen van Rijn
af80dfe995
Remove core:mem import from core:sync/chan.
2026-02-12 14:56:24 +01:00
Jeroen van Rijn
d8f2eb2717
Remove core:mem import from core:math/big.
2026-02-12 14:37:28 +01:00
Jeroen van Rijn
76c866686c
Remove core:mem import from core:sys/darwin/Foundation.
2026-02-12 13:56:06 +01:00
Jeroen van Rijn
71f343bc85
Remove core:mem import from core:math/big.
2026-02-12 13:56:05 +01:00
Jeroen van Rijn
1159110e73
Fix #6265
2026-02-12 13:55:17 +01:00
Jeroen van Rijn
90923272b3
Merge pull request #6263 from Kelimion/js-logger
...
Add `core:log` support for js/wasm
2026-02-12 12:29:01 +01:00
Jeroen van Rijn
62cfa9e8e3
Narrowly tailor panic.
2026-02-12 12:21:01 +01:00
Jeroen van Rijn
658e6b9d9f
Add core:log support for js/wasm
...
Also add #panic when importing `core:os` on wasm.
2026-02-12 12:12:21 +01:00
Jeroen van Rijn
97683ae014
Simplify
2026-02-12 10:48:26 +01:00
Shane Shrybman
edcefaac12
Remove core:mem dependency from core:strings
2026-02-11 17:22:53 -05:00
Jeroen van Rijn
b18f75c41c
Make core:flags file open errors more readable
...
If it fails because the file doesn't exist:
[Open_File_Error#2] Unable to open "foo.file". File not found.
If it does exist and the flags are simple (.Read, .Write or both), it'll say this:
[Open_File_Error#2] Unable to open "foo.file" with perms 0o444 as read-only
It it does exist but fails to open for other reasons, it'll print:
[Open_File_Error#2] Unable to open "foo.file" with perms 0o444 and flags File_Flags{....}
Future work: Translate permissions from octal to `ls -al` format (e.g. `-rwxrwxrwx`).
2026-02-11 22:52:24 +01:00
Jeroen van Rijn
b82512b4cf
Restrict math.wrap to floats.
2026-02-11 22:15:15 +01:00
Jeroen van Rijn
43f4b2187c
Fix #6251
...
Introduces `strings.Builder` versions of the various `to_string` procedures.
These are used using a stack buffer for `address_to_string` as called by `endpoint_to_string`, requiring no temp allocation for the address that's then written into the endpoint's builder.
2026-02-11 21:21:48 +01:00
Laytan Laats
ea6867ed61
Revert "fix wrong allocator in endpoint_to_string"
...
This reverts commit f755839877 .
2026-02-11 20:11:35 +01:00
Laytan Laats
d49ab07d35
fix typo
2026-02-11 20:05:45 +01:00
Laytan Laats
f755839877
fix wrong allocator in endpoint_to_string
...
Fixes #6251
2026-02-11 20:03:24 +01:00
Jeroen van Rijn
530fa1a257
Merge branch 'master' of github.com:odin-lang/Odin
2026-02-11 19:15:47 +01:00
Jeroen van Rijn
8468d269dc
Remove @(require_results) from os.read_directory_iterator
2026-02-11 19:15:32 +01:00
Laytan Laats
9c47ca7306
checkout with LFS binaries in nightly CI
2026-02-11 19:00:11 +01:00
gingerBill
355b8a8c83
Merge pull request #6245 from odin-lang/new_os
...
`core:os/os2` -> `core:os` integration
2026-02-11 17:53:16 +00:00
Jeroen van Rijn
b5bf28dc47
Merge branch 'master' of github.com:odin-lang/Odin
2026-02-11 16:34:50 +01:00