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
Jeroen van Rijn
074708ddc4
Merge pull request #5250 from mstura/master
...
Add missing return cast in 'memory_prefix_length' on amd64 avx2
2025-06-01 12:20:19 +02:00
Matteo
56e0da4f14
Add missing return cast in 'memory_prefix_length' on amd64 avx2
2025-06-01 10:53:28 +02:00
Jeroen van Rijn
c80f3db3a6
Merge pull request #5249 from Kelimion/simd_prefix
...
Vectorize `strings.prefix_length`.
2025-05-31 20:42:15 +02:00
Jeroen van Rijn
c705756389
Fix doctest
2025-05-31 20:35:25 +02:00
Jeroen van Rijn
a0f0e9e778
-vet
2025-05-31 20:30:02 +02:00
Jeroen van Rijn
890e923051
Vectorize strings.prefix_length.
...
Also add `strings.common_prefix`.
2025-05-31 20:24:21 +02:00
Jeroen van Rijn
aedbb0bdb3
Merge pull request #5247 from Feoramund/fix-2083
...
Add suggestions for `quaternionN` or `complexN` conversions
2025-05-31 14:05:17 +02:00
Feoramund
57019f199c
Add suggestions for quaternionN or complexN conversions
...
Quaternions and complex numbers are constructed with `quaternion` and
`complex`, but their types are of the `*N` form.
These suggestions should point the user in the right direction.
2025-05-31 07:09:29 -04:00
gingerBill
d52aa3f2c2
Merge pull request #5245 from TheTophatDemon/fix-odin-js-loadcstring
...
Fix odin.js loadCstring to use pointer address correctly.
2025-05-31 09:10:52 +01:00
gingerBill
53a8fac6ad
Merge pull request #5241 from Feoramund/fix-obj-output
...
Fix output of object names
2025-05-31 09:10:12 +01:00
Richard Février
f27f9bcd33
Posix: Signal: add SIGWINCH support
2025-05-31 10:01:59 +02:00
Alexander Lunsford
edba218a7c
Simplified function call to loadCstringDirect
2025-05-30 20:02:08 -05:00
Alexander Lunsford
9d223e178b
Fix odin.js loadCstring to use pointer address correctly.
2025-05-30 19:50:34 -05:00
Feoramund
598c1a1f19
Allow overriding object extension in -build-mode:obj
2025-05-30 08:01:23 -04:00
Feoramund
73866b6b3d
Remove trailing whitespace
2025-05-30 07:31:03 -04:00
Feoramund
ee8234c792
Don't double-append module name when building separate objects
...
`m->module_name` will already have the `BuildPath_Output` name
prepended.
2025-05-30 07:15:34 -04:00
Jeroen van Rijn
843648c817
Merge pull request #5236 from Feoramund/fix-2077
...
Error on unterminated multi-line comment
2025-05-30 00:37:36 +02:00
Feoramund
3c1201fb2c
Error on unterminated multi-line comment
2025-05-29 18:28:54 -04:00
Jeroen van Rijn
3142aaf497
Merge pull request #4063 from Feoramund/simd-memory
...
Vectorize `base:runtime.memory_*`
2025-05-29 23:32:19 +02:00
Feoramund
45219f240e
Rename SIMD_IS_EMULATED to capability-affirmative HAS_HARDWARE_SIMD
2025-05-29 17:17:51 -04:00
Feoramund
edbd247972
Use time.Stopwatch in core:bytes benchmark
...
This should result in a clearer idea of how fast the procedures are
running, as the loop can run without going back and forth to the system
for the time.
2025-05-29 16:35:26 -04:00
Feoramund
4e49fb4f82
Add benchmarks for runtime.memory_* comparison procedures
2025-05-29 16:35:26 -04:00
Feoramund
b15a665898
Add tests for runtime.memory_* comparison procedures
2025-05-29 16:34:07 -04:00
Feoramund
34698288b8
Vectorize runtime.memory_* comparison procedures
2025-05-29 16:29:13 -04:00
Feoramund
827a6f9045
Move simd.IS_EMULATED to runtime.SIMD_IS_EMULATED
2025-05-29 15:12:01 -04:00
Jeroen van Rijn
0d0f311df1
Always provide /PDB option to linker if generating debug info.
...
radlink by default places the .PDB file in the working directory, even if /OUT says to place it elsewhere,
unlike link.exe, which places it next to the executable by default.
So, if compiling using -debug, we generate a PDB path even if -pdb-name wasn't used to override it.
2025-05-29 19:02:46 +02:00
gingerBill
7853a1db1c
Fix #5228
2025-05-29 16:35:28 +01:00
gingerBill
74bab6d42f
Fix #5232 by adding an edge case
2025-05-29 16:29:52 +01:00
gingerBill
1627a4015f
Merge pull request #5231 from GloriousPtr/raddebugger-fixes
...
raddebugger: change table to columns
2025-05-29 12:23:02 +01:00
Mohit Sethi
d2b69577bc
raddebugger: change table to columns
2025-05-28 22:08:14 +01:00