aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4827 from denovodavid/pr-d3d12-vtable-fixesdev-2025-02gingerBill2025-02-111-4/+4
|\ | | | | vendor:directx/d3d12: fix some vtables
| * d3d12: fix some vtablesdenovodavid2025-02-111-4/+4
|/
* Merge pull request #4815 from NotKyon/mastergingerBill2025-02-103-0/+2696
|\ | | | | Win32 API: Add common comctl32 definitions and surrounding support structures.
| * Win32: Fix strict style conformance.NotKyon2025-02-091-1/+1
| |
| * Win32: Fix cross-platform compilation.NotKyon2025-02-092-77/+79
| |
| * Win32: Fix -vet errors.NotKyon2025-02-091-12/+12
| |
| * Add common Windows control messages, constants, structures, macros, and support.NotKyon2025-02-093-0/+2694
| |
* | Merge pull request #4820 from Lperlind/tlsf_fixupJeroen van Rijn2025-02-101-1/+1
|\ \ | | | | | | Fix tlsf block adjustment
| * | Fix tlsf block adjustmentLucas Perlind2025-02-101-1/+1
|/ /
* | Merge pull request #4817 from bplu4t2f/masterJeroen van Rijn2025-02-091-1/+18
|\ \ | |/ |/| Add more win32 STARTF_* constants
| * Add more win32 STARTF_* constantskjdslf2025-02-091-1/+18
|/
* Merge pull request #4814 from haesbaert/dns-cleanupJeroen van Rijn2025-02-091-0/+3
|\ | | | | Cleanup allocated dns runtime data
| * Cleanup allocated dns runtime dataChristiano Haesbaert2025-02-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #4813 from haesbaert/dns-fixesJeroen van Rijn2025-02-091-8/+15
|\ \ | |/ |/| Fix some compression bugs in dns.
| * Fix some compression bugs in dns.Christiano Haesbaert2025-02-091-8/+15
|/ | | | | | | | | | | | - 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.
* Merge pull request #4681 from haesbaert/sockaddrJeroen van Rijn2025-02-081-22/+35
|\ | | | | Add net.dial_tcp_from_host{_or_endpoint} and unify them
| * Add net.dial_tcp_from_host{_or_endpoint} and unify themChristiano Haesbaert2025-01-121-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main motivation for this is to have sinergy with flags parsing, currently flags for a sockaddr returns a net.Host_Or_Endpoint, but we can't just dial from it since there isn't a variant. Consider the following: ``` Options :: struct { target: net.Host_Or_Endpoint `args:"pos=0,required" usage:"host:port"`, } before :: proc() -> (sock: net.TCP_Socket, err: net.Network_Error) { opt: Options flags.parse_or_exit(&opt, os.args) switch t in opt.target { case net.Host: sock, err = net.dial_tcp(t.hostname, t.port) case net.Endpoint: sock, err = net.dial_tcp(t) } return } after :: proc() -> (sock: net.TCP_Socket, err: net.Network_Error) { opt: Options flags.parse_or_exit(&opt, os.args) sock, err = net.dial_tcp(opt.target) return } ``` For completion, add dial_tcp_from_host() and define the upper functions in terms of the newly added ones, cuts one repeated block, now: from_hostname_and_port_string is parse + from_host_or_endpoint from_hostname_with_port_override is parse + override + from_host_or_endpoint from_host is to_endpoint + from_endpoint from_host_or_endpoint is from_endpoint or from_host
* | Merge pull request #4779 from jkenda/mastergingerBill2025-02-082-4/+60
|\ \ | | | | | | encoding/json: marshal enumerated arrays to objects with key-value pairs
| * | encoding/json: marshal enumerated arrays to objects with key-value pairsjkenda2025-02-012-4/+60
| | |
* | | Clean up stylinggingerBill2025-02-081-412/+412
| | |
* | | Merge pull request #4783 from Lperlind/windows_game_inputgingerBill2025-02-082-1/+1133
|\ \ \ | | | | | | | | Add windows game input to vendor
| * | | remove GAMEINPUT prefixLucas Perlind2025-02-071-2/+2
| | | |
| * | | Trailing commasLucas Perlind2025-02-061-29/+29
| | | |
| * | | Add game input to examples importLucas Perlind2025-02-061-1/+4
| | | |
| * | | Update 4 reviewLucas Perlind2025-02-062-1129/+1129
| | | |
| * | | Add windows game input to vendorLucas Perlind2025-02-031-0/+1129
| | | |
* | | | Merge pull request #4797 from laytan/improve-abs-of-floatgingerBill2025-02-083-2/+198
|\ \ \ \ | | | | | | | | | | improve abs() on floats for more correct and faster results
| * | | | reorganize tests and handle endianLaytan Laats2025-02-062-13/+122
| | | | |
| * | | | add tests for abs() on floatsLaytan Laats2025-02-061-0/+56
| | | | |
| * | | | apply abs fix to constant system tooLaytan Laats2025-02-062-5/+8
| | | | |
| * | | | improve abs() on floats for more correct and faster resultsLaytan Laats2025-02-051-0/+28
| | | | |
* | | | | Remove #by_ptr and replace with Maybe(^T) where necessarygingerBill2025-02-081-14/+14
| | | | |
* | | | | Merge pull request #4807 from Dudejoe870/sdl3-iostream-fixgingerBill2025-02-081-15/+15
|\ \ \ \ \ | | | | | | | | | | | | Fix the function signatures for the write procedures in sdl3_iostream.odin
| * | | | | Fix the function signatures for sdl3_iostreamDudejoe8702025-02-071-15/+15
|/ / / / /
* | | | | Fix #4804gingerBill2025-02-071-1/+5
| | | | |
* | | | | Merge pull request #4790 from odin-lang/bill/sdl3gingerBill2025-02-07151-747/+89157
|\ \ \ \ \ | | | | | | | | | | | | `vendor:sdl3`
| * | | | | Create sdl3_system.odingingerBill2025-02-071-0/+101
| | | | | |
| * | | | | Add sdl3_vulkan.odingingerBill2025-02-072-1/+15
| | | | | |
| * | | | | Update sdl3_main.odingingerBill2025-02-071-4/+4
| | | | | |
| * | | | | Fix typogingerBill2025-02-071-1/+1
| | | | | |
| * | | | | Add sdl3_main.odingingerBill2025-02-071-0/+21
| | | | | |
| * | | | | Add sdl3_hints.odingingerBill2025-02-071-0/+264
| | | | | |
| * | | | | Merge branch 'master' into bill/sdl3gingerBill2025-02-0710-54/+50
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #4786 from korvahkh/fix-variants2ptrsgingerBill2025-02-071-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Preserve `#no_nil` in `intrinsics.type_convert_variants_to_pointers`
| * | | | | | Preserve `#no_nil` in `intrinsics.type_convert_variants_to_pointers`korvahkh2025-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the newly returned type would not be marked as `#no_nil`. This caused `reflect.get_union_as_ptr_variants` to break on `#no_nil` unions.
* | | | | | | Merge pull request #4796 from laytan/obfuscate-moregingerBill2025-02-073-43/+25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | -obfuscate-source-code-locations on bounds checks and type assertions
| * | | | | | | -obfuscate-source-code-locations on bounds checks and type assertionsLaytan Laats2025-02-053-43/+25
| | | | | | | |
* | | | | | | | Merge pull request #4800 from ↵gingerBill2025-02-071-0/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | laytan/make-use-separate-modules-corrected-linkage-hidden make corrected linkage with -use-separate-modules apply hidden visibility
| * | | | | | | | make corrected linkage with -use-separate-modules apply hidden visibilityLaytan Laats2025-02-061-0/+6
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | / / / / fix not using RTLD_LOCAL on darwinLaytan Laats2025-02-061-0/+2
| |_|_|/ / / / |/| | | | | |