Commit Graph

16213 Commits

Author SHA1 Message Date
blob1807
569da5a1cf Revert "Try to ensure the runner's handler gets called first"
This reverts commit 13faedaf4c. As it's causing issues with ASAN, which adds it's own `ExceptionHandler` as the first. Making ours first messes with it. Causing an Access Violation when trying to setup `context` in our handler.
2025-12-24 01:13:06 +10:00
blob1807
13faedaf4c Try to ensure the runner's handler gets called first 2025-12-24 00:39:21 +10:00
blob1807
4eeb509fe8 Fix an OOB & format exception code as hex
Fix an OOB caused when the test runner catches the exception & format exception codes as upper case hex.
2025-12-23 19:17:43 +10:00
blob1807
56194732a8 Remove unneeded Exception_Code enum 2025-12-23 16:45:51 +10:00
blob1807
c9fff456cd [core:testing] Use Windows API for SIG handling 2025-12-23 02:44:36 +10:00
Laytan Laats
b53ee3dba3 container/xar: fix undeclared n assignment 2025-12-22 16:57:58 +01:00
Laytan Laats
8ce30dbb72 sys/wasm/js: fix vet error 2025-12-22 16:56:56 +01:00
gingerBill
ce013acee7 Merge pull request #6031 from krnowak/krnowak/packed-all-or-none
Fix #packed #all_or_none
2025-12-21 20:21:24 +00:00
Laytan
987b0f1164 Merge pull request #6050 from laytan/net-recv-0-is-connection-closed
net(docs): recv of 0 bytes with no error is a graceful close
2025-12-21 19:40:27 +01:00
Jeroen van Rijn
6883509bd0 Merge pull request #6049 from krnowak/krnowak/init-fini-error-msg
Fix misleading error messages for init, fini and test attributes
2025-12-21 18:23:29 +00:00
Laytan
9d3febb6f0 Merge pull request #6033 from Xotchkass/io_util_write_fix
[core:io/utils]: fix buffer size in `write_*` procs
2025-12-21 19:19:50 +01:00
Laytan Laats
9cace19277 net(docs): recv of 0 bytes with no error is a graceful close 2025-12-21 19:10:42 +01:00
Krzesimir Nowak
8ca7fc481f Fix misleading error messages for init, fini and test attributes
These look like copy-pasta from the private attribute.
2025-12-21 18:59:26 +01:00
gingerBill
cb2f3aca8b Change seed logic 2025-12-21 17:13:59 +00:00
gingerBill
998da2c2da Add reflect.default_map_hash_by_ptr 2025-12-21 17:09:22 +00:00
Laytan Laats
06076e02c0 js: improve warning about conflicting memory strategies 2025-12-21 17:02:41 +01:00
gingerBill
ca20a9c8e7 Prereserve the memory needed for strings.builder_replace 2025-12-21 15:21:26 +00:00
Laytan
e138e76f21 Merge pull request #6047 from harold-b/hb.posix-fixes
Fix `nfds_t` alias for Linux
2025-12-20 23:02:19 +01:00
Harold Brenes
eda6e64639 Fix nfds_t alias for Linux 2025-12-20 16:55:06 -05:00
Laytan
7640a0511f Merge pull request #6015 from salfel/linux-syscalls
core:sys/linux Add timerfd syscall wrappers
2025-12-20 21:25:19 +01:00
Laytan
00ede472e3 Merge pull request #6046 from laytan/use-readfile-for-console-too
os/os2: use ReadFile for Console reads too, at least for now
2025-12-20 21:18:44 +01:00
Laytan
40267e3a7a Merge pull request #6024 from blob1807/master
[`base:runtime`] fix `print_i64` using an OOB index when `min(i64)` is given.
2025-12-20 21:18:33 +01:00
Laytan
17b7491acc Merge pull request #6043 from harold-b/objc-alias-selector
Fix automatic `objc_msgSend` on static methods via selector expression not resolving aliased types
2025-12-20 20:58:30 +01:00
Laytan
d2429d5fd3 Merge pull request #6045 from laytan/fix-windows-read-console-stale-errors
os/os2: better fix for the stale errors
2025-12-20 20:57:59 +01:00
laytan
67177db0a8 os/os2: use ReadFile for Console reads too, at least for now 2025-12-20 20:09:19 +01:00
laytan
45a3cfa245 os/os2: better fix for the stale errors 2025-12-20 19:45:45 +01:00
Laytan
f2d66ca888 Merge pull request #6044 from laytan/fix-windows-read-console-stale-errors
os/os2: fix stale errors on windows when reading from console
2025-12-20 19:39:59 +01:00
laytan
ca1bb09e97 os/os2: fix stale errors on windows when reading from console 2025-12-20 18:31:48 +01:00
Harold Brenes
30e2875396 Fix automatic objc_msgSend on static methods not resolving aliased types. 2025-12-20 00:54:57 -05:00
gingerBill
60130b87b0 Merge pull request #6037 from BigBoyBarney/missing-builtin
Add `@builtin` to missing builtin procedure group procs
2025-12-19 16:25:47 +00:00
gingerBill
70affd7e44 Disable global variable initialization into separate functions to circumvent an LLVM bug 2025-12-19 16:23:48 +00:00
Sylphrena
205bead9d2 Add @builtin to missing builtin procedure group procs 2025-12-19 15:57:25 +01:00
Jeroen van Rijn
2260f461ba Merge pull request #6035 from janga-perlind/darwin-bindings
More bindings for darwin
2025-12-19 06:45:48 +00:00
Lucas Perlind
b97e1fff9e More bindings for darwin 2025-12-19 13:34:45 +11:00
Xotchkass
c06fc7da98 [core:io/utils] fix buffer size in write_* procs 2025-12-18 20:14:31 +02:00
Krzesimir Nowak
a5809d0185 Fix #packed #all_or_none 2025-12-18 15:04:34 +01:00
Laytan
3567c64d7a Fix spacing in RUNTIME_LINKAGE declaration 2025-12-17 22:56:08 +01:00
gingerBill
51438ed0c0 Redefine RUNTIME_LINKAGE when -no-entry-point is set in certain circumstances. 2025-12-17 10:46:43 +00:00
gingerBill
32f459e152 Change target triple of freestanding_amd64_win64 to x86_64-pc-windows-msvc to fix a bug with LLVM's code generation 2025-12-17 10:36:42 +00:00
gingerBill
e0e38afe60 With -use-single-module make some procedures use internal linkage rather than weak linkage 2025-12-17 10:27:28 +00:00
gingerBill
a0bcc73663 Only call get_args() if args is actually used by using an indirect value 2025-12-16 15:09:21 +00:00
gingerBill
548e4f3373 Add translate_by_grapheme: bool field 2025-12-16 14:42:40 +00:00
Laytan
77606168b9 Merge pull request #6012 from A1029384756/master
[tz_unix] added additional search paths to match musl
2025-12-15 19:06:16 +01:00
A1029384756
916ec44ad1 [tz_unix] add lookup for TZDIR environment variable 2025-12-15 12:36:54 -05:00
gingerBill
cf5987d519 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-15 17:06:01 +00:00
gingerBill
9d6deb9dbf Use "strong" linkage on Windows for some glfw procedures 2025-12-15 17:05:55 +00:00
gingerBill
c8bea7f23e Merge pull request #6026 from BigBoyBarney/curl-fix
Fix minor issues within `curl` bindings
2025-12-15 16:17:37 +00:00
Sylphrena
83dd218cbd Fix minor issues withing curl bindings 2025-12-15 17:03:24 +01:00
gingerBill
750d99019c Add strings.builder_replace and strings.builder_replace_all 2025-12-15 11:21:54 +00:00
blob1807
cbe164c596 print_i64 fix getting an OOB index
fixes https://github.com/odin-lang/Odin/issues/6018
2025-12-15 21:00:27 +10:00