Commit Graph

14643 Commits

Author SHA1 Message Date
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
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
Jeroen van Rijn
714066d91b Merge pull request #5186 from Kelimion/restore-cursor
Restore console mode when test runner exits.
2025-05-20 17:06:14 +02:00
Jeroen van Rijn
8bffd247b7 Restore console mode when test runner exits. 2025-05-20 16:51:24 +02:00
gingerBill
e36db15b48 Fix typo _beginthreadx -> _beginthreadex 2025-05-20 09:16:14 +01:00
Jeroen van Rijn
50fcbb1058 Merge pull request #5183 from Feoramund/fix-5083
Do not call disabled deferred procedures
2025-05-20 02:58:38 +02:00
Feoramund
b018528833 Do not call disabled deferred procedures 2025-05-19 20:50:43 -04:00
Jeroen van Rijn
91d6e5372c Merge pull request #5182 from Kelimion/dynamic-literals
-dynamic-literals
2025-05-19 20:53:23 +02:00
Jeroen van Rijn
ab95932502 -dynamic-literals 2025-05-19 20:44:27 +02:00
Jeroen van Rijn
b7783cac05 Merge pull request #5181 from Feoramund/fix-5167
Make `odin help` more precise
2025-05-19 15:38:09 +02:00
Feoramund
2c25a72b45 Make certain commands fail if passed excess arguments 2025-05-19 09:28:17 -04:00
Feoramund
4495a4c58e Check for -help sooner and show it immediately 2025-05-19 09:28:17 -04:00
Feoramund
a5926532a2 Sync command descriptions between odin help and usage 2025-05-19 09:28:17 -04:00
Feoramund
fa63d351ac Add missing commands to odin help 2025-05-19 09:28:17 -04:00
Feoramund
e8d52ac2bc Make odin help more precise about what it accepts 2025-05-19 09:28:17 -04:00
gingerBill
bf0b69b2ec Merge pull request #5178 from Feoramund/enable-static-map-calls-sysv64
Re-enable static map calls on AMD64 SysV
2025-05-19 10:11:59 +01:00
Feoramund
eb051a2d7c Re-enable static map calls on AMD64 SysV 2025-05-18 17:13:39 -04:00
gingerBill
dd31075c33 Merge pull request #5171 from laytan/fix-global-and-static-any
fix global and static any
2025-05-18 16:59:34 +01:00
gingerBill
6a8c46bb36 Merge pull request #5175 from Feoramund/use-sysroot-on-darwin
Use `--sysroot` instead of `-Wl,-syslibroot` on Darwin
2025-05-18 16:58:59 +01:00
Laytan
d3221425a7 Merge pull request #5172 from krnowak/krnowak/sys-linux-dirent-docs
sys/linux: Improve documentation for Dirent and related procedures
2025-05-18 17:47:41 +02:00
Feoramund
591118c688 Use --sysroot instead of -Wl,-syslibroot on Darwin
This keeps the linker from using the wrong SDK and mirrors how we build
the Odin compiler itself in `build_odin.sh`.
2025-05-18 11:11:02 -04:00
Krzesimir Nowak
3519cecb7c Formatting fixes 2025-05-18 15:25:17 +02:00
Jeroen van Rijn
558eca8c7a Merge branch 'master' of github.com:odin-lang/Odin 2025-05-18 15:08:21 +02:00
Jeroen van Rijn
1b13152286 Change XAudio2 DLL search flags to DEFAULT_DIRS 2025-05-18 15:08:10 +02:00
gingerBill
3e5110bb46 Minor style changes for sdl3 and sdl3/ttf 2025-05-18 11:20:55 +01:00
Krzesimir Nowak
306d3a16c4 sys/linux: Improve documentation for Dirent and related procedures 2025-05-17 20:05:51 +02:00
Laytan Laats
c35a45e823 fix global and static any
Fixes #4627
2025-05-17 16:49:30 +02:00
Jeroen van Rijn
d6210ae76f Fix -vet complaints in core:sys/darwin/Foundation 2025-05-17 16:36:10 +02:00
Jeroen van Rijn
7c80df4830 @(init), @(fini) and @(export) procedures are classified as used.
For the purposes of `-vet-unused-procedures`, exported procedures and `@(init)` and `@(fini)` are now disregarded.
2025-05-17 16:22:47 +02:00
gingerBill
de4ed9a787 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-17 13:28:03 +01:00
gingerBill
5454e120fe Add NSMenuItem.odin 2025-05-17 13:27:54 +01:00
gingerBill
8337b7cccb Merge pull request #5162 from 0xrsp/tounsigned
new compiler intrinsics type_integer_to_unsigned, type_integer_to_unsigned
2025-05-17 11:51:57 +01:00
gingerBill
b5a8822296 Merge pull request #5170 from laytan/miniaudio-0.11.22
vendor/miniaudio: update to 0.11.22
2025-05-17 11:50:51 +01:00
gingerBill
63304af47e Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-17 11:36:30 +01:00
gingerBill
d77124feae Add Objective-C helper for creating subclasses 2025-05-17 11:36:24 +01:00
Laytan
326454f0f0 generate xlib package docs on linux 2025-05-16 22:14:26 +02:00
Laytan
53a9ecb577 vendor/miniaudio: update to 0.11.22 2025-05-16 15:58:27 +02:00
Laytan
d3159f74cd Merge pull request #4944 from dozn/master
[core:encoding/json] When Unmarshalling, Only Match On Struct Tags If Present
2025-05-15 22:31:34 +02:00
tf2spi
2f636886a5 Add debug info for labels (#4385)
* Emit label debug info w/o location

* Insert debug label call

* Slight refactor for later fix

* Improve debug labels for block statements

* Improve debug info with for loops

* Generate label lbBlocks w/ debug

* Lightly refactor lb_add_debug_label

* Revise comments, add null check assertion

* Use LLVM-C API for debug labels

* Prefer C DILabel API for POSIX, fallback to CPP

* Use version check for LLVM-C DILabel
2025-05-15 22:11:06 +02:00
Laytan Laats
2d00f8d69d fix compat with earlier llvm versions 2025-05-15 19:20:04 +02:00
0xrsp
649cad2f1b add: type_integer_to_* error messages 2025-05-15 01:12:06 +09:30
0xrsp
cb0cab36b9 Merge branch 'tounsigned' of github.com:0xrsp/Odin into tounsigned 2025-05-15 01:02:57 +09:30
0xrsp
ea806f1d5e new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed 2025-05-15 01:00:40 +09:30
gingerBill
30b6750778 Add missing , 2025-05-14 15:14:02 +01:00
gingerBill
cf6d26953e Merge pull request #5161 from deadwanderer/master
[vendor:directx/d3d12] - Add more D3D12 FEATURE_DATA_OPTIONs
2025-05-14 14:05:44 +01:00
deadwanderer
78f0992918 Fix bad whitespacing 2025-05-14 08:53:53 -04:00