Commit Graph

15268 Commits

Author SHA1 Message Date
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
gingerBill dc1d49f353 Merge pull request #4545 from flysand7/docs-simd
[core/simd]: Write package documentation
2025-03-02 12:24:01 +00:00
gingerBill 5800ac63a6 Merge pull request #4886 from hypno2000/vulkan-bindings
vulkan bindings update with bit_set/bit_field handling changes
2025-03-02 12:22:26 +00:00
flysand7 70daf40cb1 Fix documentation for simd_shuffle 2025-03-02 20:42:13 +11:00
flysand7 698c510ba7 Merge branch 'master' into docs-simd 2025-03-02 20:05:55 +11:00
gingerBill f390598b40 Merge pull request #4894 from 0xafbf/sdl3_image
Add support for SDL3_image.
2025-03-01 17:12:06 +00:00
Andrés Botero 1853886a26 Prefer using an absolute reference for SDL3 2025-03-01 10:44:47 -05:00
gingerBill ee84487106 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-03-01 15:19:51 +00:00
gingerBill 211680569f Fix for -use-single-module 2025-03-01 15:19:46 +00:00
Laytan Laats 66540b75f5 fix hidden linkage applied to foreign symbols 2025-03-01 16:06:32 +01:00
Andrés Botero 1910de54ab Add support for SDL3_image. 2025-03-01 08:44:05 -05:00
Laytan bb20b03f2e Merge pull request #4887 from Skytrias/skytrias-orca-ui-update
Update to newest orca bindings (UI Update)
2025-03-01 13:58:55 +01:00
Michael Kutowski 57a1264450 proper enums 2025-03-01 13:33:23 +01:00
Reio Piller 4a04fa2c78 fix ident 2025-03-01 02:23:38 +02:00
Laytan Laats 76bf7875f5 wgpu: update to v24.0.0.2 2025-02-28 18:38:51 +01:00
gingerBill bb429696f8 Merge pull request #4877 from laytan/os2-additions
os/os2: recursive directory walker, expose errors in read_directory, file clone
2025-02-28 14:37:47 +00:00
gingerBill 8a8894a981 Merge pull request #4891 from Feoramund/fix-4890
Fix #4890
2025-02-28 14:08:27 +00:00
gingerBill 79944056b9 Add Error to os2.set_env 2025-02-28 13:52:51 +00:00
gingerBill b3bbb00f1a Add Error as part of the return values of os2.environ 2025-02-28 13:43:50 +00:00
Barinzaya 36d5e09419 Re-implemented for on bit_sets to use CTZ.
This solution is both faster at run-time and a simpler implementation
than the original solution, which required separate cases for enums and
ranges.
2025-02-28 06:51:14 -05:00
Feoramund 6054b921db Add tests for new safe to_cstring 2025-02-27 18:54:38 -05:00
Feoramund b2e3b34ce0 Fix #4890
`strings.to_cstring` previously would not check if the buffer could
handle the extra null byte and could lead to segmentation violations
when using the resulting string in an API expecting the terminator.
2025-02-27 18:54:38 -05:00
Reio Piller 75f11691b0 cube 2025-02-28 01:33:10 +02:00
Laytan Laats 94152ca701 misc/featuregen: fix script 2025-02-27 22:45:34 +01:00
Laytan Laats a9d4cb96b0 wgpu: stringView -> StringView typo 2025-02-27 22:29:51 +01:00
Laytan Laats 1223b3e260 wgpu: fix mode which is u64 not unwrapping big int 2025-02-27 22:29:32 +01:00
Laytan Laats b6f34332fe wgpu: copy over gpu contents to cpu side when mapping 2025-02-27 22:28:49 +01:00
Laytan Laats 19b70f5ef7 wgpu: layout left blank should set it to "auto" in JS 2025-02-27 22:28:15 +01:00
Laytan Laats 1942a538d8 wgpu: fix wrapper and add more wrappers 2025-02-27 18:39:29 +01:00
Laytan Laats 1cb28f7f73 wgpu: remove mode field of uncaptured error callback info 2025-02-27 18:31:32 +01:00
Laytan Laats 30f65372de wgpu: add missing libs on Windows 2025-02-27 18:27:31 +01:00
Reio Piller 81a71cc314 add vulkan vulkan_beta.h bindings 2025-02-27 17:32:36 +02:00
Michael Kutowski 43c54d4de8 Update to newest orca bindings (UI Update), remove logging due to cyclic import (fmt usage) 2025-02-26 23:03:44 +01:00