Commit Graph

14135 Commits

Author SHA1 Message Date
Dave Voutila
0059507374 Fix futex(8) usage on OpenBSD. 2025-03-11 10:28:48 -04: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
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
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`
dev-2025-03
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
alektron
fd539b5e81 Fix: When resizing a virtual arena by commiting more of the already reserved memory, the total_used field of the arena was not updated; 2025-03-02 17:46:39 +01:00
gingerBill
b9b27bc1e0 Merge pull request #4853 from laytan/update-wgpu-24
wgpu: update to v24.0.0.2
2025-03-02 15:12:23 +00:00
Jeroen van Rijn
7841d0b14b Merge pull request #4884 from Dzentsetsu/master
Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences
2025-03-02 13:50:00 +01:00
gingerBill
3963ad1cc1 Update core/sys/windows/dwmapi.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2025-03-02 12:24:45 +00:00