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
gingerBill
7e564c3a35
Merge pull request #5130 from odin-lang/bill/raddebugger-custom-section
...
RAD Debugger support through the custom `.raddbg` section
2025-05-28 11:16:34 +01:00
Jeroen van Rijn
8597966a9f
Fix rand.int_max comment
2025-05-28 11:50:24 +02:00
gingerBill
ef6156aea5
Merge pull request #5229 from zclark/foundation-cmd-sel
...
Add missing SEL _cmd argument to objc class_addMethod IMPs
2025-05-28 09:08:22 +01:00
Zach Clark
78d83288a0
Add missing SEL _cmd argument to objc class_addMethod IMPs
...
When trying to grab the window pointer off the notification in a
windowDidBecomeKey implementation, I kept getting segfaults calling
notification->object(). The second argument of these needs to be a SEL.
https://developer.apple.com/documentation/objectivec/class_addmethod(_:_:_:_:)?language=objc#Discussion
I imagine existing code is getting by by setting the window information
in the delegate's context userdata, which works fine when you only have
one window as you can avoid needing to call notification->object(),
until you want one delegate assigned to two windows, hard to work around.
2025-05-27 17:04:19 -07:00
Jeroen van Rijn
2f2561a745
Merge pull request #5226 from weskerfoot/fix-csv-docs
...
Fix incorrect CSV reader settings for example, fix typo in docs
2025-05-27 22:52:29 +02:00
Feoramund
b5bc0fdcda
Remove commented block of code
2025-05-27 15:25:30 -04:00
Wesley Kerfoot
cac18b4aba
Fix incorrect CSV reader settings for example, fix typo in docs
2025-05-27 14:27:22 -04:00
Jeroen van Rijn
db5c45602d
Remove outdated optimization attributes.
2025-05-27 17:57:06 +02:00
Jeroen van Rijn
f0061a77c0
Merge pull request #5224 from Kelimion/ptr_sub
...
ptr_sub prose clarification
2025-05-27 04:42:33 +02:00
Jeroen van Rijn
0d55764aa7
int
2025-05-27 04:42:12 +02:00
Jeroen van Rijn
c513f035ad
Fix example
2025-05-27 04:33:22 +02:00
Jeroen van Rijn
624c176ef3
ptr_sub prose clarification
2025-05-27 04:28:56 +02:00
Jeroen van Rijn
d6ec081723
Merge pull request #5223 from Badaxis/GameInput
...
GameInput fixes and tweaks
2025-05-26 23:00:24 +02:00
Jeroen van Rijn
34edcf49ab
Merge pull request #5222 from Badaxis/badaxis/Windows-Audio&Winmm
...
MAKEFOURCC: changed BYTE to byte
2025-05-26 22:56:00 +02:00
Vincent Billet
980b0499af
Reordered like header, multipointers, fixes
2025-05-26 22:44:09 +02:00
Vincent Billet
d98253564b
MAKEFOURCC: changed BYTE to byte
2025-05-26 22:31:21 +02:00
Jeroen van Rijn
4d3593afc9
Update rlgl.LoadFramebuffer signature to match raylib 5.5 change
2025-05-26 21:50:13 +02:00
Jeroen van Rijn
cb9d2d00e3
Merge pull request #5221 from Badaxis/badaxis/XAudio2
...
Create() rework; comments tweaks; +hrtfapoapi
2025-05-26 21:39:39 +02:00
Vincent Billet
15d8e43628
"do" removed
2025-05-26 21:30:32 +02:00
Jeroen van Rijn
d156c2663a
Merge pull request #5220 from Feoramund/fix-multiline-regex
...
Fix multiline RegEx iteration (breaking change for `.Multiline` usage)
2025-05-26 21:24:02 +02:00
Vincent Billet
b775b4a1f1
Create() rework; comments tweaks; +hrtfapoapi
2025-05-26 21:17:44 +02:00
Jeroen van Rijn
ee132b39d4
Clarify optimization mode affecting use-separate-modules
2025-05-26 20:50:43 +02:00
Feoramund
35b157ac83
Fix multiline RegEx iteration
...
In `.Multiline` mode:
- `^` is now defined to assert the start of the string or that a "\n" or
"\r" rune was parsed on last VM dispatch.
- `$` is now defined to consume a newline sequence of "\n", "\r", or
"\r\n" or to assert the end of the string.
2025-05-26 14:48:45 -04:00
Laytan Laats
eac58fc640
sys/info: populate cpu.physical_cores and cpu.logical_cores on Darwin
2025-05-26 20:41:18 +02:00
Jeroen van Rijn
0f0d69ea4c
Clarify Darwin minimum OS version
2025-05-26 20:38:04 +02:00
Jeroen van Rijn
725cc53c65
Typo
2025-05-26 20:29:49 +02:00
gingerBill
4f7ed35435
Merge pull request #5192 from Badaxis/badaxis/Windows-Audio&Winmm
...
COM & Audio bindings
2025-05-26 19:20:27 +01:00
Laytan
f1da10469e
Merge pull request #5212 from sven-strothoff/glfw-bool-returns
...
Use b32 for GLFW functions that return GLFW_TRUE or GLFW_FALSE
2025-05-26 20:19:46 +02:00
gingerBill
36a8e81e4d
Merge pull request #5219 from laytan/wgpu-25.0.2.1
...
wgpu: update to 25.0.2.1
2025-05-26 19:18:59 +01:00
Laytan Laats
88908d7f78
wgpu: update to 25.0.2.1
2025-05-26 20:06:11 +02:00
Laytan Laats
478c923e2c
fix another type alias issue with mini cycle
2025-05-26 19:48:28 +02:00
Jeroen van Rijn
229c734820
Add comments to builtin.odin, documenting ODIN_* constants. ( #5218 )
...
And document constants not previously listed.
2025-05-26 18:58:59 +02:00
Vincent Billet
9b7bb9290e
HRESULT_FROM_WIN32 correction
2025-05-26 08:52:46 +02:00
Vincent Billet
bb274ab512
Merge branch 'odin-lang:master' into badaxis/Windows-Audio&Winmm
2025-05-26 08:16:45 +02:00
Jeroen van Rijn
655fab7227
Add core/hyperthread count for Windows and Linux ( #5216 )
...
Add core/hyperthread count to `core:sys/info` for Windows and Linux.
TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
2025-05-25 19:43:10 +02:00
Sven Strothoff
7c69cb399a
Use b32 for GLFW functions that return GLFW_TRUE or GLFW_FALSE
2025-05-25 00:37:26 +02:00
Jeroen van Rijn
0a6dced9da
Merge pull request #5210 from Barinzaya/core-math-big-range-check
...
Fix range check in `core:math/big`'s `int_atoi`
2025-05-24 17:43:00 +02:00
Barinzaya
d402b7408d
Fix a range check in int_atoi in core:math/big.
...
The check seems to have been assuming that rune comparisons are
unsigned, but they're signed. This was causing an assertion failure for
certain input characters (anything with an ASCII value less than
'+'/43).
2025-05-24 11:31:37 -04:00