gingerBill
584fdc0d4a
Merge pull request #4827 from denovodavid/pr-d3d12-vtable-fixes
...
vendor:directx/d3d12: fix some vtables
dev-2025-02
2025-02-11 10:32:20 +00:00
denovodavid
ca17a5eb70
d3d12: fix some vtables
2025-02-11 16:58:26 +11:00
gingerBill
4678186cd2
Merge pull request #4815 from NotKyon/master
...
Win32 API: Add common comctl32 definitions and surrounding support structures.
2025-02-10 08:57:44 +00:00
Jeroen van Rijn
bc100c3158
Merge pull request #4820 from Lperlind/tlsf_fixup
...
Fix tlsf block adjustment
2025-02-10 03:12:20 +01:00
Lucas Perlind
88a5817134
Fix tlsf block adjustment
2025-02-10 13:01:16 +11:00
Jeroen van Rijn
40cf9a33e9
Merge pull request #4817 from bplu4t2f/master
...
Add more win32 STARTF_* constants
2025-02-09 15:26:07 +01:00
kjdslf
a14a4d9de7
Add more win32 STARTF_* constants
2025-02-09 15:01:23 +01:00
NotKyon
ba9e723643
Win32: Fix strict style conformance.
2025-02-09 04:02:00 -08:00
NotKyon
2b36849004
Win32: Fix cross-platform compilation.
2025-02-09 03:50:51 -08:00
NotKyon
ba280c8993
Win32: Fix -vet errors.
2025-02-09 03:36:37 -08:00
NotKyon
a6188eda60
Add common Windows control messages, constants, structures, macros, and support.
2025-02-09 03:11:13 -08:00
Jeroen van Rijn
963663b8e1
Merge pull request #4814 from haesbaert/dns-cleanup
...
Cleanup allocated dns runtime data
2025-02-09 02:12:02 +01:00
Jeroen van Rijn
fdc011555f
Merge pull request #4813 from haesbaert/dns-fixes
...
Fix some compression bugs in dns.
2025-02-09 02:11:47 +01:00
Christiano Haesbaert
cd53949c92
Cleanup allocated dns runtime data
...
While harmless, the runtime should clean up non-user allocated data.
On the same veign of: https://github.com/odin-lang/Odin/pull/4680
I'm kinda new to Odin and wrote netcat, in order to get a clean valgrind run,
one has to manually destroy dns_configuration:
https://github.com/haesbaert/learn-odin/blob/main/netcat/netcat.odin#L168-L169
While here unexport the destroy procedure and make destruction idempotent.
2025-02-09 00:26:25 +01:00
Christiano Haesbaert
605527f9db
Fix some compression bugs in dns.
...
- A compression pointer is when the two higher bits are set, the code was
considering only 0xC0 as a pointer, where in reality anything from 0xC0-0xFF is
a pointer, probably went unnoticed since you need big packets to have long pointers.
- Make sure we can access the lower byte of the pointer by checking len, the
code was careful to not access past the first byte, but ignored the second.
- As per RFC9267 make sure a pointer only points backwards, this one is not so
bad, as the code had a iteration_max that ended up guarding against infinite jumps.
Lightly tested, some eyes are welcome, but these are remote DOSable.
2025-02-09 00:00:11 +01:00
Jeroen van Rijn
0683a3d672
Merge pull request #4681 from haesbaert/sockaddr
...
Add net.dial_tcp_from_host{_or_endpoint} and unify them
2025-02-08 12:45:02 +01:00
gingerBill
4ea96bd1c9
Merge pull request #4779 from jkenda/master
...
encoding/json: marshal enumerated arrays to objects with key-value pairs
2025-02-08 08:01:36 +00:00
gingerBill
a347af49ca
Clean up styling
2025-02-08 08:01:07 +00:00
gingerBill
5320d66efd
Merge pull request #4783 from Lperlind/windows_game_input
...
Add windows game input to vendor
2025-02-08 07:51:06 +00:00
gingerBill
fbee045023
Merge pull request #4797 from laytan/improve-abs-of-float
...
improve abs() on floats for more correct and faster results
2025-02-08 07:49:22 +00:00
gingerBill
cf326df54b
Remove #by_ptr and replace with Maybe(^T) where necessary
2025-02-08 07:37:40 +00:00
gingerBill
d3488c70e6
Merge pull request #4807 from Dudejoe870/sdl3-iostream-fix
...
Fix the function signatures for the write procedures in sdl3_iostream.odin
2025-02-08 07:21:38 +00:00
Dudejoe870
5dc24a9130
Fix the function signatures for sdl3_iostream
2025-02-07 21:07:40 -06:00
gingerBill
a5411199c7
Fix #4804
2025-02-07 13:37:09 +00:00
gingerBill
6189413906
Merge pull request #4790 from odin-lang/bill/sdl3
...
`vendor:sdl3`
2025-02-07 09:17:20 +00:00
gingerBill
cec84edcdd
Create sdl3_system.odin
2025-02-07 08:57:21 +00:00
gingerBill
3bf475deaf
Add sdl3_vulkan.odin
2025-02-07 08:37:33 +00:00
gingerBill
d1f2820ff5
Update sdl3_main.odin
2025-02-07 08:26:21 +00:00
gingerBill
4c93446e38
Fix typo
2025-02-07 08:11:16 +00:00
gingerBill
20708c60a1
Add sdl3_main.odin
2025-02-07 08:10:51 +00:00
gingerBill
8203281145
Add sdl3_hints.odin
2025-02-07 08:03:00 +00:00
gingerBill
58c4f13c82
Merge branch 'master' into bill/sdl3
2025-02-07 07:53:47 +00:00
gingerBill
667ddc1907
Merge pull request #4786 from korvahkh/fix-variants2ptrs
...
Preserve `#no_nil` in `intrinsics.type_convert_variants_to_pointers`
2025-02-07 07:30:14 +00:00
gingerBill
4e300b3fc8
Merge pull request #4796 from laytan/obfuscate-more
...
-obfuscate-source-code-locations on bounds checks and type assertions
2025-02-07 07:30:00 +00:00
gingerBill
a9cd70a913
Merge pull request #4800 from laytan/make-use-separate-modules-corrected-linkage-hidden
...
make corrected linkage with -use-separate-modules apply hidden visibility
2025-02-07 07:28:18 +00:00
Lucas Perlind
932fcaee6b
remove GAMEINPUT prefix
2025-02-07 09:49:04 +11:00
Laytan Laats
5defddffd0
reorganize tests and handle endian
2025-02-06 21:44:34 +01:00
Laytan Laats
9241d7c698
add tests for abs() on floats
2025-02-06 21:20:15 +01:00
Laytan Laats
de83ad2a25
apply abs fix to constant system too
2025-02-06 21:19:54 +01:00
Laytan Laats
1053ec3051
make corrected linkage with -use-separate-modules apply hidden visibility
...
Fixes #4798
The DLL was using the type info of the host/exe, causing crashes.
This PR tries fixing by applying hidden visibility to these corrected
symbols which makes sure that the DLL can't see the type table of the host/exe.
2025-02-06 20:45:58 +01:00
Laytan Laats
80d09774b4
fix not using RTLD_LOCAL on darwin
2025-02-06 19:15:12 +01:00
Lucas Perlind
cb10a060f1
Trailing commas
2025-02-06 15:03:56 +11:00
Lucas Perlind
24496c4046
Add game input to examples import
2025-02-06 14:57:47 +11:00
Lucas Perlind
d1d0f0e9b7
Update 4 review
2025-02-06 14:56:37 +11:00
Laytan Laats
b1068c7f2e
improve abs() on floats for more correct and faster results
2025-02-05 21:17:48 +01:00
Laytan Laats
b86d2c30b6
fix odin report macos version reporting unknown when release isn't a 3 point
2025-02-05 20:16:24 +01:00
Laytan Laats
b77430bea8
-obfuscate-source-code-locations on bounds checks and type assertions
2025-02-05 19:42:20 +01:00
gingerBill
919e9a82e7
Merge pull request #4774 from Goldenlion5648/typo-correction-in-rand
...
fix typo in float32_range doc string
2025-02-05 11:59:59 +00:00
gingerBill
861a99cdc5
Merge pull request #4791 from roccoblues/ds/io-docs
...
`core:io` small documentation fixes
2025-02-05 11:59:17 +00:00
gingerBill
4667a19e77
Update to SDL 3.2.2
2025-02-05 11:07:08 +00:00