Commit Graph

16258 Commits

Author SHA1 Message Date
Neirokan
c6ca64cd4a fix map_to_ip6 offset 2026-01-01 10:52:18 +03:00
gingerBill
3c8b1ab414 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-31 15:01:08 +00:00
gingerBill
6f396ac49b Rename xar.Xar to xar.Array 2025-12-31 15:01:03 +00:00
gingerBill
3acb62210f Merge pull request #6086 from ske2004/fix-literal-endianness
Fix literal endianness (fix #6068)
2025-12-31 10:09:34 +00:00
Laytan
c95b105405 Merge pull request #6087 from dozn/json-unmarshal-runes
[encoding/json] Allow Unmarshalling to rune
2025-12-31 03:31:28 +01:00
dozn
5ab526fb4e Merge branch 'odin-lang:master' into json-unmarshal-runes 2025-12-30 18:25:30 -08:00
Laytan
e27a06b1f0 Merge pull request #6085 from dozn/json-null-marshal
[encoding/json] Fix Unicode Output When Marshalling
2025-12-31 03:24:36 +01:00
dozn
8fea2b783c [encoding/json] Allow Unmarshalling to rune
Fixes https://github.com/odin-lang/Odin/issues/6061
2025-12-30 18:10:07 -08:00
ske
2700fa86d6 fix typo 2025-12-30 22:24:10 -03:00
ske
e4bf5476c3 Fix literal endianness (fix #6068) 2025-12-30 22:08:40 -03:00
dozn
589dbbddd2 [encoding/json] Fix Escapes When Marshalling
Fixes https://github.com/odin-lang/Odin/issues/6060 and https://github.com/odin-lang/Odin/issues/6075
The boolean "true" was setting `html_safe` instead of `for_json`.
Chalk one up for the "use enums instead of booleans" crowd.
2025-12-30 17:02:06 -08:00
gingerBill
107104ab4b Merge pull request #6081 from dozn/json5-and-sjson-comments
Add JSON5/SJSON Comments When Marshalling
2025-12-30 13:42:19 +00:00
gingerBill
047ceb2c81 Merge pull request #6069 from karl-zylinski/webgl-binding-fixes
WebGL binding additions
2025-12-30 13:38:40 +00:00
gingerBill
a70ff0b6fb Merge pull request #6056 from d-us-vb/patch-1
Update letter.odin
2025-12-30 13:37:57 +00:00
gingerBill
a523463b7e Merge pull request #6079 from krnowak/krnowak/fix-proc-inlining
Fix handling of #force_inline
2025-12-30 13:35:16 +00:00
gingerBill
93d7e2a452 Add globaldynamic thread_local model (same as the current default) 2025-12-30 13:08:30 +00:00
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
dozn
affaefc13a Moved first_iteration up a couple lines so it makes sense readability-wise. 2025-12-30 04:42:06 -08: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
Krzesimir Nowak
0bf4ffe469 Fix handling of #force_inline 2025-12-29 22:08:56 +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
dozn
ba68d75c6f Add JSON5/SJSON Comments When Marshalling
Allows user-facing JSON5/SJSON to have comments explaining field usage.
`json.Marshal_Options.pretty` must be enabled since we only use single-line comments (not to mention it wouldn't be terribly useful without `pretty` set anyways).
We don't escape anything, so `\n` will display as "\n", but you're still able to enter in a proper newline character and it'll be displayed on multiple lines.
2025-12-29 12:23:54 -08:00
gingerBill
811f4c13cd Merge pull request #6080 from krnowak/krnowak/netbsd-ci-fix
Fix NetBSD CI
2025-12-29 20:03:48 +00:00
Karl Zylinski
47f20c0ffb Added 'set_document_title' to be able to rename the tab 2025-12-29 20:57:25 +01:00
Krzesimir Nowak
23984dc110 Fix NetBSD CI 2025-12-29 18:57:42 +01:00
Karl Zylinski
fb52238e36 Fix bugs in odin.js:GetActiveUniformBlockName 2025-12-29 17:42:19 +01:00
Karl Zylinski
3f9aefda20 Added CheckFramebufferStatus to WebGL bindings 2025-12-29 17:34:01 +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
Karl Zylinski
159eab133b More webgl bindings and fixes 2025-12-27 01:41:59 +01:00
Karl Zylinski
7dee25bdcc More allocator-aware webgl bindings and added more missing bindings. 2025-12-26 23:34:45 +01:00
Karl Zylinski
7e39239907 WebGL: Add GetActiveAttrib binding 2025-12-26 23:02:35 +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
Dusty Miller
cb98a83f77 Update letter.odin
Fix MAX_RUNE to include planes up to 16.
2025-12-22 20:16:24 -06: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