Commit Graph

14814 Commits

Author SHA1 Message Date
Laytan Laats
9eefa2006e encoding/cbor: support simd vectors 2025-06-04 22:00:02 +02:00
Laytan Laats
85224b21e6 encoding/cbor: support the matrix type 2025-06-04 21:51:12 +02:00
Jeroen van Rijn
1a35c7f954 Merge pull request #5279 from Feoramund/fix-4673
Be strict with type switch case column alignment too
2025-06-04 20:24:44 +02:00
Jeroen van Rijn
4838f6b542 Merge pull request #5280 from Feoramund/fix-4642
Print timings to stderr instead of stdout
2025-06-04 20:23:41 +02:00
Jeroen van Rijn
bd13bdc391 Merge pull request #5281 from Feoramund/fix-4595
Guard against negative `index` in `inject_at`
2025-06-04 20:18:02 +02:00
Feoramund
d046214f67 Be strict with type switch case column alignment too
This copies the same block used for regular switch cases.

Fixes #4673
2025-06-04 14:00:33 -04:00
Feoramund
b0d050dd90 Print timings to stderr instead of stdout
This is in line with other diagnostic messages.

Fixes #4642
2025-06-04 13:59:31 -04:00
Feoramund
91111937a7 Guard against negative index in inject_at
Fixes #4595
2025-06-04 13:58:06 -04:00
gingerBill
6804f4c471 Add support for #soa[N]T compound literals 2025-06-04 13:56:46 +01:00
Jeroen van Rijn
77594a0dc9 Merge pull request #5268 from Kelimion/check-js
Allow `odin check examples/all` for js_wasm
2025-06-04 12:22:40 +02:00
Jeroen van Rijn
17319efd8f Remove SDL3/TTF flag NORMAL
It's a `bit_set`, and NORMAL is an empty one.

https://wiki.libsdl.org/SDL3_ttf/TTF_SetFontStyle

Fixes #5275
2025-06-04 11:22:59 +02:00
Jeroen van Rijn
1dffc2efd8 Switch to @(require) 2025-06-04 11:14:01 +02:00
Jeroen van Rijn
ae5c92ac38 Enable odin check examples/all for JS. 2025-06-04 11:08:25 +02:00
Jeroen van Rijn
d3922ebc06 Merge pull request #5276 from Feoramund/fix-4354
Forbid multiple uses of `-sanitize`
2025-06-04 10:48:48 +02:00
Jeroen van Rijn
986cfbcaf4 Merge pull request #5277 from benjryan/master
Add windows bindings to support overlapped IO
2025-06-04 10:41:46 +02:00
Laytan
a7cbf4f7dd Merge pull request #5274 from Feoramund/fix-render-typo
Fix typo
2025-06-04 06:18:18 +02:00
Ben Ryan
cd417b0d1f Add windows bindings to support overlapped IO 2025-06-04 11:34:31 +10:00
Feoramund
68ed631582 Forbid multiple uses of -sanitize
`clang` does not allow this.

Fixes #4354
2025-06-03 21:23:24 -04:00
Feoramund
09ddf121e3 Fix typo 2025-06-03 21:15:20 -04:00
gingerBill
8923e28b2a Merge pull request #5267 from Feoramund/rewrite-atomic-rw-mutex
Rewrite `Atomic_RW_Mutex`
2025-06-03 15:32:36 +01:00
Jeroen van Rijn
dd27049e13 Merge pull request #5261 from spiel0meister/master
add a missing nullptr check
2025-06-03 15:39:09 +02:00
Jeroen van Rijn
fab7715c35 Allow -dynamic-literals for [dynamic]T 2025-06-03 15:22:20 +02:00
Feoramund
8cde9dce47 Rewrite Atomic_RW_Mutex
This patch simplifies the implementation and fixes #5254.

Previously, the mutex was set up as if there could be multiple writers,
and there seemed to be some confusion as to which `Writer` bits to
check, as not all were checked or set at the same time.

This could also result in the mutex being left in a non-zero state even
after unlocking all locks.

All unneeded state has been removed and extra checks have been put in
place.
2025-06-03 09:07:38 -04:00
Jeroen van Rijn
fcf0d4efa1 Merge pull request #5264 from LeandroLibanio28H/5243-fix-scope-attribute-proc-grouping
Fix scope attribute proc grouping (#5243 )
2025-06-03 14:49:40 +02:00
spiel0meister
d1fcec63cc early return; fix indentation 2025-06-03 14:46:44 +02:00
Leandro Libanio
0f5e30783c Update check_expr.cpp
Removing iostream
2025-06-03 08:55:38 -03:00
Jeroen van Rijn
8f2a1cafd3 Merge pull request #5266 from Kelimion/fix-5265
Fix #5265
2025-06-03 11:36:24 +02:00
Jeroen van Rijn
82dfb43663 Fix #5265 2025-06-03 11:18:11 +02:00
LeandroLibanio28H
e6b086e78d Removing unreacheable block (since e86fde3) 2025-06-02 20:48:25 -03:00
LeandroLibanio28H
7b612a3a15 Checking if entity is exported before checking if it's a procedure group 2025-06-02 20:14:19 -03:00
spiel0meister
648fa9e54a check if expr is null 2025-06-02 23:24:46 +02:00
Jeroen van Rijn
ccef390c0c Merge pull request #4339 from laytan/fix-swizzle-in-for
fix swizzle in for in statement
2025-06-02 21:20:11 +02:00
Laytan
9f773f08f8 Merge pull request #5260 from laytan/examples-all-sdl3-and-wgpu-glue
add examples/all/sdl3 for all sdl3 dependant packages
2025-06-02 21:14:59 +02:00
Laytan Laats
e09f226126 add examples/all/sdl3 for all sdl3 dependant packages
+ adds the wgpu glue packages to examples/all
2025-06-02 21:05:38 +02:00
Laytan Laats
f94fc992d7 fix swizzle in for in statement
Fixes #1730
2025-06-02 20:30:48 +02:00
Laytan
8135dda2fc Merge pull request #5258 from laytan/fix-docs-writer
fix package docs in a "hacky" way
2025-06-02 17:09:59 +02:00
Laytan Laats
912018b427 fix package docs in a "hacky" way 2025-06-02 17:03:02 +02:00
Jeroen van Rijn
d4a1670b93 Fix core:log on -target:js_wasm32 2025-06-02 14:44:26 +02:00
Jeroen van Rijn
2788cfaa0d Merge pull request #5255 from Feoramund/build-mode-test-all-packages
Let `-test-all-packages` work with `-build-mode:test`
2025-06-02 14:35:24 +02:00
Jeroen van Rijn
e0c9bcbb80 Merge pull request #5256 from Bambo-Borris/correct-spelling-in-odin-doc-help-output
Correct spelling in `odin doc -help` output
2025-06-02 13:56:21 +02:00
Bambo-Borris
9ba68f2024 Correct spelling in odin doc -help output 2025-06-02 12:48:45 +01:00
Feoramund
16b8da6a79 Let -test-all-packages work with -build-mode:test
Fixes #3930
2025-06-02 07:47:19 -04:00
gingerBill
cd1f66e85c Merge pull request #5246 from RichardFevrier/master
Posix: Signal: add SIGWINCH support
dev-2025-06
2025-06-02 11:50:49 +01:00
Jeroen van Rijn
1ea166fb97 Merge pull request #5251 from Feoramund/fix-quat-real-real-real-real
Fix a couple `quaternion` bugs
2025-06-01 20:52:46 +02:00
Feoramund
7996f89410 Show quaternion arguments in wxyz order, instead of xyzw, in mismatched type error
This is in accordance with the other error and makes sense with how
quaternions are printed with `real`/`w` coming first, then the
imaginaries, which are the `ijk`/`xyz` parts.
2025-06-01 14:36:38 -04:00
Feoramund
b70d2b156a Make quaternion untyped values convert to first typed value found
This fixes an issue (#2079) where a typed argument could cause the
construction to fail on the basis of failed untyped -> typed conversion.
2025-06-01 14:35:53 -04:00
Feoramund
705ae3f343 Fix quaternion construction causing compiler crash
Previously, a construction of `quaternion(real=0, real=1, real=2,
real=3)` could crash the compiler.
2025-06-01 13:35:22 -04:00
Jeroen van Rijn
805f7ce973 Typo fix 2025-06-01 19:22:51 +02:00
Jeroen van Rijn
405bf7cd55 Also clean up .dSym on Darwin 2025-06-01 15:59:38 +02:00
Jeroen van Rijn
349a34cb1a Also delete .pdb unless -keep-executable is supplied 2025-06-01 13:37:26 +02:00