Commit Graph

15380 Commits

Author SHA1 Message Date
gingerBill
fbcd485b7e Merge pull request #5606 from thetarnav/sdl-ttf-require-results
Split SDL_ttf bindings to group with and without require_results
2025-08-22 16:54:25 +01:00
gingerBill
9381040711 Fix parentheses for raddbg expression 2025-08-22 09:32:17 +01:00
gingerBill
46d4f22ef4 Remove debug print 2025-08-22 09:29:44 +01:00
gingerBill
23689d0c01 Improve the raddbg type views generated from fmt-based struct field tags 2025-08-22 09:29:07 +01:00
gingerBill
d5b1fc48fb Add @(raddbg_type_view=<optional-string>)
If no string parameter is provided, then one will be generated from the struct field tags.
The attribute must be applied if the automatic struct field tag approach is to be used.
2025-08-21 17:14:33 +01:00
Laytan
0c9e1f5807 Merge pull request #5607 from blob1807/fix-wasm-simd-mem-equal
Fix stride in `memory_equal/compare_zero` giving false positves
2025-08-20 21:47:56 +02:00
blob1807
f90d7029b4 Fix stride in memory_equal/compare_zero giving false positves
The previous stride of 8 assumed `uintptr` size is 8 which isn't the case on 32bit & wasm64p32. Skipping every other set of 4 bytes
2025-08-21 05:19:16 +10:00
Damian Tarnawski
2485238592 Split SDL_ttf bindings to group with and without require_results 2025-08-20 20:18:19 +02:00
gingerBill
06179fc736 Merge pull request #5599 from BradLewis/fix/file-tag-eof
Check for EOF when scanning file tags
2025-08-19 12:58:29 +01:00
Brad Lewis
8bab146b2d Check for EOF when scanning file tags 2025-08-19 07:20:31 -04:00
gingerBill
409e397566 Fix bug with $fn: proc() when passed with a global variable 2025-08-18 21:47:09 +01:00
gingerBill
f8b56ccd88 Update stb_truetype.c again 2025-08-18 15:51:11 +01:00
gingerBill
a0f6084b48 Rebuild stb libraries and compile stb_truetype using the stb_rect_pack rects 2025-08-18 14:26:52 +01:00
gingerBill
ebd26135e8 Merge pull request #5596 from alessio98888/master
Fix buddy allocator assert
2025-08-18 12:38:02 +01:00
gingerBill
e0a9b23f02 Merge pull request #5597 from connnnal/d3d12-min-precision
Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset
2025-08-18 12:28:35 +01:00
connnnal
17f9ad29af Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset
https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_feature_data_d3d12_options
2025-08-17 18:35:25 +01:00
alessio98888
c6db3cc670 Fix buddy allocator assert
The last address of "data" is not "cast(uintptr)raw_data(data)+cast(uintptr)size" but
"cast(uintptr)raw_data(data)+cast(uintptr)(size-1)".

The original assert would fail when for example the allocation size requested and the buddy allocator allignment were both 64.
2025-08-16 19:50:06 +02:00
gingerBill
fb46413071 Merge pull request #5590 from leecommamichael/master
[vendor:OpenGL] fix misnamed parameter
2025-08-16 09:06:25 +01:00
Michael Lee
fbac18ec00 missed a spot 2025-08-15 11:12:30 -05:00
Michael Lee
c4102701fd misnamed parameter 2025-08-15 11:04:00 -05:00
gingerBill
d1ce7f8fe6 Merge pull request #5516 from cardboardguru76/darwin-foundation-support-for-handmade-hero-port
Additional obj-c methods for darwin Foundation
2025-08-15 12:13:27 +01:00
gingerBill
6d68488a50 Merge pull request #5533 from weskerfoot/add-missing-xlib-proc
add missing xlib functions for getting and setting text properties
2025-08-15 12:12:36 +01:00
gingerBill
977e971c8b Merge pull request #5581 from Xotchkass/rand-cleanup
Cleanup in `math/rand` and `runtime/random_generator`
2025-08-15 12:12:17 +01:00
gingerBill
7577bfc28b Merge pull request #5582 from diniamo/fix-itimer-flags
Fix ITimer_Flags_Bits enum value
2025-08-15 12:11:28 +01:00
gingerBill
aff96e7d3f Merge pull request #5583 from slowhei/master
Fix Typo in `Device_newBufferWithSliceNoCopy`
2025-08-14 15:46:22 +01:00
Tohei Ichikawa
bc78aad45f Fix typo in newBufferWithSliceNoCopy 2025-08-14 09:56:36 -04:00
diniamo
88dba1194a Fix ITimer_Flags_Bits enum value 2025-08-14 15:01:42 +02:00
Xotchkass
d60fba13df fix: throwing away the last generated byte in default_random_generator_proc 2025-08-14 13:49:59 +03:00
Xotchkass
2d5652dbd4 remove private _random_u64 and move it's functionality into public uint64 2025-08-14 13:39:18 +03:00
Xotchkass
df849891c1 use runtime.random_generator_read_bytes in read procedure instead of filling it manually. 2025-08-14 13:35:25 +03:00
gingerBill
71e992d5bf Merge pull request #5579 from wrathdoesthat/master
Added getaddrinfo flags
2025-08-13 17:17:39 +01:00
Wrath
b6a0606c98 Added getaddrinfo flags 2025-08-12 19:59:38 -04:00
gingerBill
2648bd8fcd Allow #+feature global-context for @(init) and @(fini) procedures as an interim measure 2025-08-12 09:51:16 +01:00
gingerBill
8df69c95c3 Add -integer-division-by-zero:all-bits 2025-08-10 18:29:08 +01:00
gingerBill
b6e0b48481 Rename block names from div to mod. 2025-08-10 17:58:46 +01:00
gingerBill
4cbcb3ace7 Add shortcut for unsigned_x/power_of_two -> unsigned_x >> log2(power_of_two) 2025-08-10 17:53:07 +01:00
gingerBill
da76c743e9 Add shortcut for division by a constant 2025-08-10 17:42:49 +01:00
gingerBill
ecb6b35da5 Fix name canonicalization for named specialized forms 2025-08-10 15:29:53 +01:00
gingerBill
983f3ec423 Add #+feature global-context
This allows to use of `context` in the global scope on a per file basis.
2025-08-10 15:03:30 +01:00
gingerBill
1524b40bc9 Merge pull request #5556 from odin-lang/bill/division-by-zero
Define Integer Division By Zero
2025-08-10 14:48:33 +01:00
gingerBill
a0ff05e633 Merge pull request #5558 from odin-lang/bill/init-fini-changes
`@(init)` & `@(finit)` Changes.
2025-08-10 12:47:15 +01:00
gingerBill
dbc338248e Merge pull request #5567 from alexriedl/webgl-binding-fixes
Webgl binding fixes
2025-08-10 12:44:36 +01:00
Alex Riedl
a8dca3920e Merge branch 'master' of github.com:odin-lang/Odin 2025-08-09 10:47:09 -05:00
Alex Riedl
277c6cac71 Fix some webgl bindings 2025-08-09 10:47:07 -05:00
Jeroen van Rijn
d3736d765a Merge pull request #5564 from janga-perlind/pr/group-check
Do not check for explicit allocators when determining proc in proc group
2025-08-09 05:03:39 +02:00
janga-perlind
5db6ea8354 Do not check for explicit allocators when determining proc in proc group 2025-08-09 12:37:15 +10:00
gingerBill
14ca1c8c89 Add another contextless 2025-08-08 15:41:44 +01:00
gingerBill
786d454443 Merge pull request #5559 from Creativty/variable_dereference_suggestion
Improve dereference missing suggestion message
2025-08-08 15:34:45 +01:00
xenobas
443dd566e3 Add a better suggestion for cases that don't need ^ operator 2025-08-08 14:40:43 +01:00
gingerBill
0f5ced52a0 Assign context in scope 2025-08-08 13:42:48 +01:00