Commit Graph

13796 Commits

Author SHA1 Message Date
gingerBill
b8f057951c Begin work on TypeSet 2025-02-17 13:46:17 +00:00
gingerBill
9b26bb2e6a Begin work on hash types 2025-02-17 13:10:38 +00:00
gingerBill
043f9aea61 Clean up rules for name mangling 2025-02-17 12:40:43 +00:00
gingerBill
b5cf776830 Use new name canonicalization approach 2025-02-17 11:48:54 +00:00
gingerBill
99d91ccd31 Work on making name mangling deterministic 2025-02-17 11:32:49 +00:00
gingerBill
4eba3698aa Begin work on nested declarations 2025-02-17 09:47:49 +00:00
gingerBill
2a5933513c Fill in more canonical types 2025-02-15 12:32:05 +00:00
gingerBill
98201962e0 Begin work on producing a canonicalized type string for hashing types. 2025-02-14 17:29:38 +00:00
gingerBill
04830e944b Merge pull request #4844 from Gabr1313/master
Fix typos
2025-02-14 15:01:24 +00:00
Gabr1313
2c7ec27445 Fix typos 2025-02-14 14:38:26 +01:00
gingerBill
816566d8aa Merge pull request #4837 from SlashScreen/sdl3_glue
wgpu: add sdl3 glue
2025-02-13 12:32:09 +00:00
Slashscreen
b7f37bbee5 removed cast. 2025-02-12 16:13:57 -08:00
Slashscreen
503813431b Switched X11 and Wayland 2025-02-12 15:58:56 -08:00
Slashscreen
2f82d4e325 fixed many oversights 2025-02-12 15:06:22 -08:00
Slashscreen
02b19b115b wgpu: add sdl3 glue 2025-02-12 14:27:16 -08:00
Laytan Laats
435f77b16b fix space indentations 2025-02-12 19:33:41 +01:00
Laytan Laats
55302280d8 fix addrinfo struct def
Fixes #4816
2025-02-12 19:24:27 +01:00
gingerBill
4c4b481ccc Merge pull request #4832 from bungoboingo/fix/sdl-window-bindings
Fix bindings for some window functions in SDL3
2025-02-12 08:53:06 +00:00
shan
9bf0b386ab Fix bindings for some window functions in SDL3 2025-02-11 17:50:20 -08:00
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