gingerBill
70697fa00f
When using fmt_write_padding, remove the need to restore fi.zero since it is not used.
2026-01-01 13:41:56 +00:00
gingerBill
94146e4fe7
fix printing dozenal numbers 0z from 0o
2026-01-01 13:40:43 +00: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
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
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
dozn
affaefc13a
Moved first_iteration up a couple lines so it makes sense readability-wise.
2025-12-30 04:42:06 -08: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
Karl Zylinski
47f20c0ffb
Added 'set_document_title' to be able to rename the tab
2025-12-29 20:57:25 +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
bplu4t2f
33352ed6cb
Add user32 scroll bar related bindings, and FrameRect
2025-12-27 17:31:15 +01:00
gingerBill
4e40b808c4
Split of the built-in custom formatters to improve code generation
2025-12-27 12:42:52 +00:00
gingerBill
40eab9991e
Split some procedures up
2025-12-27 11:35:13 +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
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
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
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
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
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
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
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
ca1bb09e97
os/os2: fix stale errors on windows when reading from console
2025-12-20 18:31:48 +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
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