Jeroen van Rijn
1a5126c6b7
Make CI less nervous.
dev-2026-03
2026-03-04 00:29:37 +01:00
Jeroen van Rijn
6d9a611acc
Merge pull request #6365 from FrancisTheCat/master
...
Fix #6270
2026-03-03 17:51:07 +01:00
Znarf
5f450303dd
Merge branch 'odin-lang:master' into master
2026-03-03 17:23:13 +01:00
Franz Hoeltermann
b351b58ddc
Fix #6270
2026-03-03 17:22:31 +01:00
Jeroen van Rijn
cd98d235bc
Merge pull request #6364 from IllusionMan1212/eacces-perm-denied
...
os: return `.Permission_Denied` for `.EACCES` in posix and linux
2026-03-03 17:11:55 +01:00
IllusionMan1212
afbb0b4357
os: return .Permission_Denied for .EACCES in posix and linux
2026-03-03 17:50:31 +02:00
Jeroen van Rijn
b80ffe6ad7
Merge pull request #6363 from odin-lang/bill/bit_set_rtti
...
Update `Type_Info_Bit_Set`
2026-03-03 13:48:37 +01:00
gingerBill
092e994c97
Merge pull request #6343 from krnowak/krnowak/package-docs
...
Kill deprecated file tags and fix assignment of package docs
2026-03-03 12:29:35 +00:00
gingerBill
2cb8155946
Add missing @(require_results)
2026-03-03 12:27:44 +00:00
gingerBill
a5e1eb56ab
Add explicit_underlying: bool RTTI field for bit_set; add runtime.type_info_underlying
2026-03-03 12:26:42 +00:00
Jeroen van Rijn
6381f6c6cc
Merge pull request #6360 from Yawning/fix/crypto-blake2-final
...
core:crypto/_blake2: Fix final blocks call with partial block
2026-03-03 13:11:06 +01:00
Yawning Angel
47ad434d1a
core:crypto/_blake2: Fix final blocks call with partial block
2026-03-03 20:54:13 +09:00
Jeroen van Rijn
d5f1416629
Merge pull request #6358 from bplu4t2f/master
...
Fix incorrect PVOID/VOID usage in some win32 signatures
2026-03-02 22:15:08 +01:00
Krzesimir Nowak
1f00da471c
Make sure to assign proper comment as package docs
...
So far, the first comment found was marked as package docs, which
meant that for the following code, the TODO comment would be assigned
to the package declaration instead of the comment directly preceding
the package declaration.
// TODO: drop after finished with refactoring
#+ feature using-stmt
// Package foo implements this and that.
package foo
2026-03-02 21:26:04 +01:00
Krzesimir Nowak
b8f2daa5b2
Kill deprecated file tags
...
We had the recommended form of file tags for long enough. Also there
were some issues with the deprecated file tags - they were ignored if
the appeared after recommended file tags, and could possibly show up
in package docs.
2026-03-02 21:26:04 +01:00
Krzesimir Nowak
4ab536a85a
Drop pointless code
...
Modifies a local variable after it was stored in an out parameter, so
this modification has no effect.
2026-03-02 21:24:59 +01:00
bplu4t2f
4c981ad10a
Fix return value of FreeLibraryAndExitThread
2026-03-02 21:21:50 +01:00
bplu4t2f
2a9c35fe3c
Fix incorrect PVOID/VOID usage in some win32 signatures
2026-03-02 21:19:10 +01:00
Jeroen van Rijn
38c61e06be
Rename GetWorldPointVelocity to Body_GetWorldPointVelocity
2026-03-02 20:15:55 +01:00
Jeroen van Rijn
a4ee06ca75
Merge pull request #6355 from louisnovy/fix-bit_set-parapoly-specialization
...
Fix bit_set parapoly specialization #6240
2026-03-02 12:59:48 +01:00
Louis Novy
7732a78c08
harden run.bat and add missing test_issue_2395
2026-03-01 21:33:14 -08:00
Louis Novy
1a27af515f
add test file
2026-03-01 21:18:30 -08:00
Louis Novy
e3d6fe72f8
fix broken bit_set parapoly specialization #6240
2026-03-01 20:58:43 -08:00
gingerBill
e029cfc279
Merge pull request #6350 from krnowak/krnowak/diverging-semicolon
...
Fix separating of diverging procedure types from block statements
2026-03-01 22:19:04 +00:00
Jeroen van Rijn
854d5a8db9
Merge pull request #6354 from FrancisTheCat/master
...
Fix name canonicalization for typed ranges in bit_set (#6353 )
2026-03-01 15:55:05 +01:00
Franz
5e009f5e83
Fix name canonicalization for typed ranges in bit_set ( #6353 )
2026-03-01 15:43:17 +01:00
Jeroen van Rijn
d4718595e8
Merge pull request #6351 from Kelimion/fix-6347
...
Fix #6347
2026-03-01 15:04:01 +01:00
Jeroen van Rijn
579b2612b1
Fix #6347
2026-03-01 14:54:26 +01:00
Krzesimir Nowak
8bdf82ac8d
Fix separating of diverging procedure types from block statements
...
To avoid creating a procedure literal from a procedure type and a
following block statement, one can insert a semicolon or an empty line
between the two:
// procedure literals
p1 :: proc() {…}
p2 :: proc()
{…}
// procedure type followed by a block statement
p3 :: proc()
{…}
The empty line as a separator did not work if the procedure type had a
diverging result:
// all of these are procedure literals
p4 :: proc() -> ! {…}
p5 :: proc() -> !
{…}
p6 :: proc() -> !
{…}
The least annoying fix I came up with is to insert implicit semicolon
after the "not" token. I only needed to make sure that the inserted
implicit semicolon is being skipped when the "not" token is a part of
unary expression to avoid breaking an oddly-formatted code like:
b := get_some_bool()
if !
b {…}
One small side-effect of this change is that in code like below:
Proc_Type :: proc() -> !
// Some comment
Some_Other_Type :: enum byte {…}
The "// Some comment" is not associated with "Proc_Type" anymore. In
Odin's standard library this only happens in one place, in
`base/runtime/core.odin`:
Assertion_Failure_Proc :: #type proc(prefix, message: string, loc: Source_Code_Location) -> !
// Allocation Stuff
Allocator_Mode :: enum byte {
Alloc,
…,
}
2026-03-01 14:49:24 +01:00
gingerBill
e8ca4a24fa
Add assert to freelist_push_with_index
2026-03-01 13:28:30 +00:00
gingerBill
7cc68da719
Merge pull request #6342 from fendevel/webgl-additions
...
webgl: Add bindings, fix `Tex*Image*D`
2026-03-01 13:15:56 +00:00
gingerBill
757bdf0e87
Remove TODO
2026-03-01 13:06:11 +00:00
gingerBill
05a951b338
Fix name lookup
2026-03-01 13:05:51 +00:00
gingerBill
c685c312c5
Make the tokenizer work with a custom hash map protected by a spinlock
2026-03-01 13:00:27 +00:00
Jeroen van Rijn
5eb7442c92
Merge pull request #6345 from leecommamichael/stb_vorbis_libc
...
[vendor:stb/vorbis] don't use core:c/libc
2026-02-28 17:37:29 +01:00
Michael Lee
f01fb605bc
[vendor:stb/vorbis] don't use core:c/libc
2026-02-28 10:24:00 -06:00
Jeroen van Rijn
a0b9d710f7
Merge pull request #6336 from bplu4t2f/master
...
Fix MultiByteToWideChar usage in utf8_to_wstring_buf
2026-02-28 13:16:39 +01:00
bplu4t2f
1e0f5a691c
Fix overflow edge cases on 32-bit systems.
2026-02-28 11:39:12 +01:00
Jeroen van Rijn
1d44bef60d
Merge pull request #6340 from miningape/fix-substring-not-returning-end-of-range
...
fix: `strings.substring` not returning end of range
2026-02-28 09:57:05 +01:00
fendevel
eeb7e775f3
webgl: Add bindings, fix Tex*Image*D
2026-02-28 00:37:34 +00:00
miningape
4ec443df9b
fix: strings.substring not returning end of range
2026-02-28 00:44:26 +01:00
Laytan Laats
6a6460e824
fix another old os use in when statement
2026-02-27 22:11:11 +01:00
Jeroen van Rijn
3c84305e38
[core:net] Make IPv6 resolution test failure informative instead.
2026-02-27 21:35:36 +01:00
Laytan
90118d6508
Merge pull request #6337 from andzdroid/patch-2
...
nbio: fix op re-use
2026-02-27 21:18:31 +01:00
Laytan Laats
f61a216c9f
nbio: put clearing of list nodes in proper place and simplify test
2026-02-27 21:04:43 +01:00
bplu4t2f
9883e4ec29
Handle edge cases: Allocation error, extremely long input
2026-02-27 19:16:34 +01:00
Jeroen van Rijn
c63e310359
Merge pull request #6338 from brunodeangelis/brda/cursors-bindings
...
add bindings to allow custom hardware cursors
2026-02-27 14:12:26 +01:00
Bruno
e65dcd64b8
add bindings to allow custom cursors
2026-02-27 09:54:26 -03:00
bplu4t2f
fa3441936c
Fix utf8_to_utf16_alloc edge case, and improve utf8_to_* documentation
2026-02-26 20:52:00 +01:00
bplu4t2f
1c09a2be55
Add tests for utf8_to_utf16_alloc, utf8_to_wstring_alloc
2026-02-26 20:49:36 +01:00