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
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
Laytan
d90cc4e3b6
json: fix user unmarshaller example ( #6468 )
...
* json: fix user unmarshaller example
- Returning `.None` in the custom unmarshaler is wrong, should be `nil`
- `advance_token` has to be called
Besides the fixes I made it an actual example that will show up on the package docs
2026-03-23 21:28:47 +01:00
Carlyle
d6a47f5e99
added get_page_size() to core:mem/virtual
2026-03-23 11:43:13 -07:00
jakubtomsu
7053e6720f
remove type_bit_field_size accident
2026-03-23 17:18:01 +01:00
jakubtomsu
b1d9db7b15
make offset_of(Bit_Field, ...) an error, typo fix
2026-03-23 16:43:11 +01:00
jakubtomsu
a097f3c938
add type_field_bit_offset/size intrinsics
2026-03-23 16:42:30 +01:00
gingerBill
df5a0dcabd
Merge pull request #6460 from jakubtomsu/add-wasapi
...
Add `vendor:windows/wasapi`
2026-03-23 13:08:47 +00:00
Jakub Tomsu
2f8ffc75b2
move WASAPI to vendor:windows/wasapi
2026-03-21 22:12:00 +01:00
Jakub Tomsu
d03f61bc76
add core WASAPI bindings
2026-03-21 20:31:54 +01:00
Jeroen van Rijn
72f9d55266
Merge pull request #6456 from imp0s5ible/imp-file-mapping-fix
...
Fix #6455
2026-03-20 16:41:06 +01:00
imp0s5ible
e2bb7d70af
Make map_file_from_path use the open flags
...
map_file_from_path now passes the appropriate flags on to os.open
instead of always calling it with os.O_RDWR.
It will no longer try to open a file with write permissions if the user
didn't request write access to the file mapping (or vice-versa).
2026-03-20 15:21:12 +01:00
gingerBill
5e6e1c1e75
Add gethostname to ws2_32.odin
2026-03-20 11:44:10 +00:00
gingerBill
73df99fcb1
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-03-19 20:31:25 +00:00
gingerBill
111bee6ecd
Fix scope->elements iteration causing a few bugs in the doc-format
2026-03-19 20:31:01 +00:00
Laytan
a329d0f4f0
Merge pull request #6450 from laytan/stb-vorbis-wasm
...
vendor/stb/vorbis: support WASM
2026-03-19 20:17:34 +01:00
gingerBill
3fb430ceb7
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-03-19 18:50:17 +00:00
gingerBill
e6521ed269
Inline the generic count stuff
2026-03-19 18:50:01 +00:00
Jeroen van Rijn
ea1d97f703
Merge pull request #6448 from SpaceTravelCompany/master
...
fixes Android build
2026-03-19 19:45:33 +01:00
Laytan Laats
261881e57c
vendor/stb/vorbis: support WASM
2026-03-19 19:44:34 +01:00
Jeroen van Rijn
c29fd7f872
Merge pull request #6436 from nathanchere/patch-1
...
Update build_odin.sh to support LLVM 22
2026-03-19 19:18:31 +01:00
Jeroen van Rijn
e43ba9851d
Merge branch 'pr/6446'
2026-03-19 12:21:17 +01:00
Jeroen van Rijn
5aacced75d
Merge pull request #6446 from A1029384756/sdl_mixer
...
[SDL3/mixer] initial commit
2026-03-19 12:20:28 +01:00
Jeroen van Rijn
274e99015c
Add SDL3 Mixer binaries
2026-03-19 12:04:32 +01:00
Jeroen van Rijn
7aa411e892
Merge pull request #6442 from Yawning/feature/disable-target-feature
...
src: Support clang-style `+`/`-` prefixes in target features
2026-03-19 11:35:08 +01:00
Yawning Angel
a171746a15
core/math/rand: Disable LLVM vectorization of xoshiro on Intel
...
LLVM tries really hard to vectorize this when it is a terrible idea,
when `-microarch:native` is specified on modern processors. Not doing
so is a 2.5->3x performance gain.
2026-03-19 19:25:23 +09:00
Yawning Angel
62d78d61fa
src: Allow clang-style +/- for target features
...
This largely works as expected, except that as far as I can tell,
without explicit annotations added to the caller, (or a
`#force_inline`), the LLVM `target-features` function attribute
gets ignored by the inliner under the rationale of `-sse,-avx,-avx2`
is a subset of `+sse,+avx,+avx2`.
With `#force_no_inline` the correct code does get generated, but in
the regression I am trying to fix, the caller gratuitously also uses
SIMD, leading to horrific performance.
2026-03-19 19:25:23 +09:00
Znarf
e0d84ce73a
Merge branch 'odin-lang:master' into master
2026-03-19 00:34:44 +01:00