Commit Graph

14139 Commits

Author SHA1 Message Date
jason ae02ced175 Fix linux.rt_sigaction
Add missing polymorphic parameter to Sig_Action
2025-03-10 20:27:59 -04:00
gingerBill 1035f0839d Merge pull request #4915 from chuga-git/sdl3-get-pixel-format-name
vendor/sdl3: fix GetPixelFormatName() returning rawptr instead of cstring
2025-03-10 17:29:46 +00:00
gingerBill 6837e23e73 Merge pull request #4919 from latedeployment/add-linux-syscalls
Add missing x86 syscalls from map_shadow_stack to removexattrat
2025-03-10 17:29:32 +00:00
Jeroen van Rijn a91d528af6 Merge pull request #4921 from cornishon/fmt_allocator_docs
Update `fmt` docs for procedures with a default allocator parameter
2025-03-09 14:14:18 +01:00
Adam Zadrożny 7866f7ab2b Update fmt docs for procedures with a default allocator parameter 2025-03-09 13:35:12 +01:00
latedeployment 0491ad55f4 Add missing syscalls from map_shadow_stack to removexattrat 2025-03-07 21:54:51 +02:00
gingerBill d011cb871e Remove .wasm from CI 2025-03-07 11:18:19 +00:00
gingerBill 7f61e53286 Fix #3955 2025-03-07 10:48:49 +00:00
gingerBill 97eeb25adc Fix #4244 2025-03-07 10:44:34 +00:00
gingerBill af37ca1286 Fix #4573 2025-03-07 10:38:36 +00:00
gingerBill 168a41ba2c Fix #4803 2025-03-07 10:33:41 +00:00
gingerBill f3210eccaf Fix #4866 2025-03-07 09:44:18 +00:00
chuga eca08929cd vendor/sdl3: changed GetPixelFormatName() return type from rawptr to cstring 2025-03-07 00:33:44 -06:00
gingerBill 97d410c2ae Fix #4909 2025-03-06 11:17:55 +00:00
gingerBill 51d799d2ea Merge branch 'master' of https://github.com/odin-lang/Odin 2025-03-06 11:15:33 +00:00
gingerBill 55317b0987 Fix #4914 2025-03-06 11:15:27 +00:00
Jeroen van Rijn 874efa5fe8 Merge pull request #4912 from flysand7/remove-epoch-datetime
[datetime]: Remove the definition of EPOCH
2025-03-06 12:10:48 +01:00
gingerBill fcee19434e Fix object name generation to previous behaviour 2025-03-06 09:49:30 +00:00
flysand7 47eefb3f21 [datetime]: Remove the definition of EPOCH 2025-03-06 20:28:12 +11:00
Laytan 7d26edb83c Merge pull request #4910 from Feoramund/fix-strings-clone-2x-slice
Remove unneeded slicing in `strings.clone`
2025-03-05 20:15:30 +01:00
Feoramund fef5f526f3 Remove unneeded slicing in strings.clone 2025-03-05 13:54:31 -05:00
gingerBill 951bef4ade Merge pull request #4907 from Feoramund/os2-fix-env-linux
Fix data races in `os2/env_linux.odin`
2025-03-05 13:03:07 +00:00
Feoramund 2ab1ca29e6 Fix data races in os2/env_linux.odin
Switched to a recursive mutex so that procedures which need to perform
lookups can do so while also maintaining the lock across their entire
body in order to guarantee atomicity for each environment operation.
2025-03-04 19:32:05 -05:00
Feoramund 179e5b9266 Fix typo 2025-03-04 19:12:45 -05:00
Feoramund 266f15b672 Fix indentation 2025-03-04 19:11:32 -05:00
gingerBill 69b6c59ea6 Merge pull request #4905 from Feoramund/os2-fix-random-string
Use `context.random_generator` for `os2.random_string`
2025-03-04 07:51:33 +00:00
gingerBill 8214892b5b Merge pull request #4893 from Barinzaya/for-bitset-ctz
Use CTZ in `for in bit_set` codegen
2025-03-04 07:51:09 +00:00
Feoramund 2d0dc44636 Shorten buffers used for os2.random_string results
This is needed now that `os2.random_string` fills the whole slice.
2025-03-03 19:18:54 -05:00
Feoramund d6002d68a2 Make os2.random_string use context.random_generator
This removes the data race caused by multiple threads using the
unprotected global `random_string_seed`, so long as no two threads share
the same random generator; this is the default case.

Additionally, `os2.random_string` now takes into account the full buffer
slice given to it.
2025-03-03 19:17:29 -05:00
Laytan Laats 71eb26ef15 wgpu: fix link in doc.odin 2025-03-03 22:18:44 +01:00
Laytan Laats 52dd651aed wgpu: device lost callback device by pointer in JS 2025-03-03 22:15:35 +01:00
Laytan 19d176c2c7 Merge pull request #4899 from Valakor/wgpu
wgpu: Some small fixes after update to v24.0.0.2
2025-03-03 21:58:27 +01:00
Laytan 2dbf8d0f37 Merge pull request #4904 from laytan/move-wgpu-examples-to-examples-repo
wgpu: move examples to examples repo
2025-03-03 21:30:23 +01:00
Laytan Laats 7fc55eb92a wgpu: move examples to examples repo 2025-03-03 21:22:59 +01:00
Laytan Laats 189b4782fb dynlib: fix initialize_symbols when there is no field for the handle in the struct 2025-03-03 20:33:33 +01:00
Laytan Laats 05add96fc8 sys/windows: fix tabs 2025-03-03 19:30:22 +01:00
gingerBill 21a6648cde Fix #4903 2025-03-03 15:16:50 +00:00
gingerBill 4170e6e6d4 Merge pull request #4900 from Barinzaya/fix-bitset-xor-changes-enum
Fix `~bit_set[Some_Enum]` altering the enum
2025-03-03 11:03:17 +00:00
gingerBill a71156699a Merge pull request #4901 from Feoramund/os2-fixes
Fix a couple bugs in `os2`
2025-03-03 11:02:23 +00:00
Feoramund 675bffce88 Add missing allocator in os2.file_info_clone 2025-03-02 17:22:43 -05:00
Feoramund 7d1fcfa09b Fix wrong path in os2.user_config_dir 2025-03-02 17:22:40 -05:00
Barinzaya ef83f2115a Implemented #reverse for for in bit_set. 2025-03-02 16:24:18 -05:00
Matthew Pohlmann 397de28580 Fix typo: SprivShaderPassThrough -> SpirvShaderPassthrough 2025-03-02 11:13:41 -08:00
Barinzaya 6e3d17d189 Fixed ~ on bit_set[Some_Enum] altering the definition of the enum.
This was occurring for enums whose minimum values were greater than
zero.
2025-03-02 13:29:39 -05:00
Matthew Pohlmann af897ba689 Some more fixes: ChainedStruct vs. ChainedStructOut, desiredMaximumFrameLatency, and 'const' annotations 2025-03-02 10:18:36 -08:00
Matthew Pohlmann eadbf5ebb1 Merge branch 'wgpu' of https://github.com/Valakor/Odin into wgpu 2025-03-02 09:34:48 -08:00
Matthew Pohlmann 440c52fd53 Use ^Device instead of Maybe(Device) for device callbacks 2025-03-02 09:34:43 -08:00
Matthew Pohlmann 719e973638 Merge branch 'odin-lang:master' into wgpu 2025-03-02 09:17:15 -08:00
Matthew Pohlmann be3f523358 wgpu v24.0.0.2 fixes 2025-03-02 09:16:40 -08:00
gingerBill 4b2b49dc30 Merge pull request #4898 from alektron/ArenaTotalUsedMismatch
Invalid virtual arena state after resize
2025-03-02 17:15:52 +00:00