Commit Graph

14688 Commits

Author SHA1 Message Date
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
Jeroen van Rijn 142dd58b27 Merge pull request #5209 from Feoramund/regex-fixes
Fix RegEx iterator, remove `.Global`, make patterns unanchored by default (breaking change)
2025-05-24 15:38:26 +02:00
gingerBill 7b0b5d9adf Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-24 14:18:22 +01:00
gingerBill 594f1b30b4 Add Suggestion: 'context = runtime.default_context()' 2025-05-24 14:18:16 +01:00
Feoramund 5d01acc04f Add more RegEx tests 2025-05-24 07:42:04 -04:00
Feoramund 37d6491300 Remove Global RegEx flag, default to unanchored patterns 2025-05-24 07:42:04 -04:00
Feoramund fedb9efb41 Make RegEx VM restartable and fix iterator infinite loop 2025-05-24 07:23:04 -04:00
Jeroen van Rijn 8b657379f3 Typo fix 2025-05-23 17:07:08 +02:00
Jeroen van Rijn 3d60b219c1 Allow text/scanner to scan 0h hex floats 2025-05-23 14:02:49 +02:00
Jeroen van Rijn 7ad8f21e79 Merge pull request #5205 from HeHHeyboi/signature-fix
Correct RWwrite signature in vendor:sdl2
2025-05-23 11:35:38 +02:00
HeHHeyboi 020dd57b06 Correct RWwrite signature 2025-05-23 15:29:08 +07:00
Jeroen van Rijn 84b140f963 Rename -keep-test-executable to -keep-executable 2025-05-23 08:47:48 +02:00
Jeroen van Rijn f716d4c88f your your 2025-05-23 08:32:16 +02:00
Jeroen van Rijn 12167bace0 Tweak #5202
Back out the new `-build-only` for tests in favor of the more established `-build-mode:test`, but retain the new `-keep-test-executable` option and default cleanup of test executables.
2025-05-23 08:28:27 +02:00
Laytan 1886c7df0a Merge pull request #5203 from mothfuzz/patch-3
Correct mipmapFilter field name in wgpu.js
2025-05-23 07:48:52 +02:00
Jeroen van Rijn 149c563146 Merge pull request #5204 from Feoramund/freebsd-sanitizer
Enable all sanitizers on FreeBSD
2025-05-23 07:19:30 +02:00
Feoramund 6c5b96948e Enable all sanitizers on FreeBSD 2025-05-22 21:39:35 -04:00
Gaia 433a21b6ff Update wgpu.js
mipmapFilter is being ignored and defaulting to .Nearest on web platforms due to incorrect capitalization of the field name
2025-05-22 19:46:31 -05:00
Jeroen van Rijn 82c9681e28 Merge pull request #5202 from Feoramund/fix-2035
Add `-build-only`, `-keep-test-executable`, delete test executable after running
2025-05-23 00:13:36 +02:00
Feoramund 5b5822effc Delete test executable after running, add -keep-test-executable 2025-05-22 17:58:51 -04:00
Feoramund 0536f86268 Add -build-only for odin test command
This allows test executables to be only built, not run too.
2025-05-22 17:33:24 -04:00
gingerBill 93d2e6aca2 Merge pull request #5200 from rope-hmg/master
Added Semaphore API to the SDL3 vendor bindings
2025-05-22 15:59:32 +01:00
Hector affced2d02 Added Semaphore API to the SDL3 vendor bindings 2025-05-22 15:35:09 +01:00
gingerBill 34e998c1fc Merge pull request #5173 from Feoramund/fix-linux-shared-lib-runtime-call
Keep shared libraries from calling main program's startup/cleanup procs on Linux
2025-05-22 15:27:53 +01:00
Feoramund 713360a792 Keep shared libraries from calling main program's startup/cleanup procs on Linux 2025-05-22 09:40:37 -04:00
Jeroen van Rijn 9421b77eb5 Merge pull request #5198 from Feoramund/fix-2807
Only trim `.odin` from build filenames
2025-05-22 15:01:35 +02:00
Feoramund e35e1dcc7b Only trim .odin from build filenames 2025-05-22 08:23:06 -04:00
Jeroen van Rijn f8bbeb54d4 Slight tweak. 2025-05-21 20:28:21 +02:00
Jeroen van Rijn c32b7ba593 List -subtarget in odin help build 2025-05-21 20:24:27 +02:00
Jeroen van Rijn 95183e4b9c Remove now unnecessary checks. 2025-05-21 19:37:09 +02:00
Jeroen van Rijn bd4134382b Merge pull request #5195 from Kelimion/fix-5177
Fix #5177
2025-05-21 19:28:38 +02:00
Jeroen van Rijn 96fd07e0ee Fix #5177 - Tweak error messages. 2025-05-21 19:20:58 +02:00
Jeroen van Rijn a2c0720fb0 Merge pull request #5194 from Feoramund/fix-5067
Fix off-by-one error in `priority_queue.remove`
2025-05-21 16:21:14 +02:00
Feoramund 1662ab10af Fix off-by-one error in priority_queue.remove 2025-05-21 09:33:39 -04:00
Jeroen van Rijn 96bbd944dc Merge pull request #5193 from Feoramund/compliant-win32-terminal
Also use `ENABLE_PROCESSED_OUTPUT` on Windows terminals
2025-05-21 14:50:48 +02:00
Feoramund 899cfe9c37 Also use ENABLE_PROCESSED_OUTPUT on Windows terminals
This is specified to be necessary when using
`ENABLE_VIRTUAL_TERMINAL_PROCESSING`.
2025-05-21 08:40:19 -04:00
Jeroen van Rijn f65e418dc9 Merge pull request #5189 from Feoramund/fix-ansi-log-terminal
Add `core:terminal`, fix test runner/`core:log` ANSI code issues
2025-05-21 14:20:18 +02:00
Feoramund e659df1a3f Restructure core:terminal for better Windows support 2025-05-21 07:49:08 -04:00
Feoramund b6f1821bba Fix terminal detection on Windows 2025-05-21 05:20:58 -04:00
gingerBill acb04160c5 Merge pull request #5190 from Feoramund/fix-freebsd-3rd-linking
Add `/usr/local/lib` to FreeBSD linker path
2025-05-21 09:42:07 +01:00
gingerBill 5af9e37e08 Merge pull request #5187 from laytan/no-libc-use-os2
os2: remove libc use on Linux for get_absolute_path
2025-05-21 09:41:30 +01:00
Feoramund 1b407ef207 Add animation detection support to test runner 2025-05-20 19:28:07 -04:00
Feoramund 3c40a54dcd Add terminal color detection to logging in core:testing 2025-05-20 19:28:06 -04:00
Feoramund a9df1b1cde Rename core:encoding/ansi to core:terminal/ansi 2025-05-20 19:28:06 -04:00
Feoramund df5e64beeb Add terminal color detection to core:log 2025-05-20 19:28:06 -04:00
Feoramund 30c1b88741 Add core:terminal 2025-05-20 19:27:58 -04:00
Feoramund c090a28b9d Add /usr/local/lib to FreeBSD linker path 2025-05-20 18:56:18 -04:00
Jeroen van Rijn 4329f50d26 Merge pull request #5188 from deadwanderer/master
[vendor:directx/d3d12] Fix RESOURCE_STATE_ALL_SHADER_RESOURCE flags and add new HEAP_TYPE
2025-05-20 22:55:06 +02:00
deadwanderer 9f559af530 Add GPU_UPLOAD heap type 2025-05-20 15:45:03 -04:00
deadwanderer bcaba47e15 Fix incorrect resource state bit_set 2025-05-20 15:42:06 -04:00