Commit Graph

16232 Commits

Author SHA1 Message Date
gingerBill
e61228484a Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-30 12:58:43 +00:00
gingerBill
f1c6c52c21 Fix @(static, rodata) for slices 2025-12-30 12:58:37 +00:00
Laytan
bbd4c38f8f Merge pull request #6082 from harold-b/hb.fix-objc-auto-msgsend-class-methods
Fix auto objc_msgSend incorrectly treating certain class methods as instance methods.
2025-12-30 01:29:18 +01:00
Harold Brenes
ef33e55182 Fix auto objc_msgSend incorrectly treating certain class methods as instance methods. 2025-12-29 15:31:12 -05:00
gingerBill
811f4c13cd Merge pull request #6080 from krnowak/krnowak/netbsd-ci-fix
Fix NetBSD CI
2025-12-29 20:03:48 +00:00
Krzesimir Nowak
23984dc110 Fix NetBSD CI 2025-12-29 18:57:42 +01:00
Laytan
c46e658098 Merge pull request #6074 from DarathDev/master
Add missing 'caller_location' to several procedures in 'slice' package
2025-12-29 15:57:56 +01:00
Laytan
9f81d9a995 Merge pull request #6073 from bplu4t2f/master
Add user32 scroll bar related bindings, and FrameRect
2025-12-29 15:57:26 +01:00
Laytan
852ea91cdb Merge pull request #6078 from BigBoyBarney/json-arrays
Fix standard json parsing / unmarshalling issue for pure arrays
2025-12-29 15:53:51 +01:00
Sylphrena
6441fc09e0 Fix standard json parsing / unmarshalling issue for pure arrays 2025-12-29 15:35:34 +01:00
DarathDev
f1e29fadab Add missing 'caller_location' to several procedures in 'slice' package 2025-12-28 15:05:59 -07:00
gingerBill
39fa1b7201 LLVM IR: Improve basic block names for trivial switch statements for debuggability 2025-12-28 11:52:31 +00:00
bplu4t2f
33352ed6cb Add user32 scroll bar related bindings, and FrameRect 2025-12-27 17:31:15 +01:00
gingerBill
14a60adefe LLVM IR: Improve type switch case names for better debuggability when generating LLVM IR 2025-12-27 12:48:25 +00:00
gingerBill
4e40b808c4 Split of the built-in custom formatters to improve code generation 2025-12-27 12:42:52 +00:00
gingerBill
de761cbdd3 Remove temporary tuple fix alloca instructions if they are never used 2025-12-27 11:53:01 +00:00
gingerBill
40eab9991e Split some procedures up 2025-12-27 11:35:13 +00:00
Jeroen van Rijn
d297125eb5 Merge pull request #6070 from zolk3ri/fix-base32-padding-validation
encoding/base32: Fix padding validation for malformed input
2025-12-27 09:40:00 +00:00
Zoltán Kéri
d802a4e9fa encoding/base32: Fix padding validation for malformed input
Fix a bug where padding characters in the middle of input were
not detected when there was no trailing padding.

The "verify no padding in middle" check was inside `if
padding_count > 0`, so inputs like "MZ===YTBMZXW6YTB" would
incorrectly pass validation.

Test case added for this edge case.
2025-12-27 04:30:37 +01:00
gingerBill
2e6554b8c8 Disallow importing directories with an .odin extension/suffix 2025-12-26 11:49:46 +00:00
Jeroen van Rijn
57352d9933 Merge pull request #6063 from StudebakerGuy/xml_cdata
Address issue identifying CDATA in XML file
2025-12-23 15:39:05 +00:00
StudebakerGuy
ab74b8283d Address issue identifying of CDATA
The XML library wasn't identifying CDATA and skipping over it.
This was found when CDATA contained a <. This patch addresses
that issue.
2025-12-23 09:35:09 -05:00
gingerBill
732a091eee Merge pull request #6055 from wrathdoesthat/master
core:math/rand small documentation fix
2025-12-22 23:35:18 +00:00
Wrath
7062f89bcd core:math/rand small documentation fix 2025-12-22 16:10:51 -05: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