gingerBill
cd4b4e1f36
Minimize mos65816 decoding tables
2026-06-14 19:24:16 +01:00
gingerBill
70e92d2a4d
Minimize mos6502 decoder table
2026-06-14 19:23:21 +01:00
gingerBill
c8de23f678
Minimize arm64 decoding table
2026-06-14 19:22:31 +01:00
gingerBill
67dfa25696
Minimize MIPS decode table
2026-06-14 19:22:17 +01:00
gingerBill
176ee8c68d
Minimize arm32 decode table size
2026-06-14 19:19:11 +01:00
gingerBill
1adbd0dcb4
Improve formatting for x86 tables and minimize outputting "zero" entries
2026-06-14 19:16:53 +01:00
gingerBill
c49e296f5e
Update doc files
2026-06-14 18:24:59 +01:00
gingerBill
a116f69b7e
Use core:mem/virtual instead of the posix specific calls
2026-06-14 17:14:14 +01:00
gingerBill
2e58cc51d9
Improve mnemonic_builders for x86
2026-06-14 17:03:19 +01:00
gingerBill
a8d7aedf1e
Add rodata where appropriate
2026-06-14 16:50:21 +01:00
gingerBill
d6ae77b67e
core:rexcode
2026-06-14 16:30:18 +01:00
Jeroen van Rijn
7d19f3b735
Merge pull request #6463 from ngortheone/bufio_reader_read_doc
...
doc: use punctuation to disambiguate buifio.reader_read_slice doc
2026-06-13 21:52:11 +02:00
gingerBill
a0e29fca80
Merge pull request #6822 from RainerXE/pool-free-list-aba
...
core/container/pool: fix ABA race in the free list
2026-06-13 14:03:19 +01:00
TheRadischen
f41b57f1cc
fixed type in slice.rotate
...
sry bll,
i swear im never programming tired again
2026-06-12 21:48:41 +02:00
RainerXE
baf85d78a3
core/container/pool: fix ABA race in the free list
2026-06-12 09:28:14 +02:00
RainerXE
b029cf08aa
core/nbio: fix use-after-free of op.l in cross-thread exec
2026-06-11 23:34:20 +02:00
bluziDev
83702108a4
Add control sequences for Alternate Screen Buffer
...
Adds constants DECASB_ENTER and DECASB_EXIT to ansi.odin. ASB stands for Alternate Screen Buffer. DECASB_ENTER ( ?1049h ) saves the cursor position, clears the alternate buffer, and switches the view to said buffer. DECASB_EXIT ( ?1049l ) restores the main buffer's contents and the cursor position.
Commonly used by editors, games, and TUIs in general to avoid polluting the main buffer.
2026-06-10 23:48:33 -06:00
WP. Yingamphol
d3b7251757
Fix error message: 'do' not on the same line as 'for'
2026-06-07 20:22:12 +07:00
gco
77af26b5c8
fix buffer overflow when running a test which shrinks a dynamic array that was not the last allocation
2026-06-07 11:23:05 +10:00
Laytan Laats
23f57a4328
nbio(posix): fix wake_up error when the event loop hasn't ticked yet
2026-06-05 21:07:36 +02:00
Jeroen van Rijn
213b5e779b
Merge pull request #6732 from adihodos/fix-backtrace
...
Link against libstdc++exp for backtrace support
2026-06-05 16:42:04 +02:00
gingerBill
1c9fa5d0b7
Merge pull request #6731 from odin-lang/bill/expand-values-operator
...
Support `**` as `expand_values` operator: `**x` == `expand_values(x)`
2026-06-05 11:42:08 +01:00
Jeroen van Rijn
d6f6c476fc
Merge pull request #6765 from MightyChubz/fix/linux-inaccurate-meminfo
...
fix: Get meminfo from `/proc/meminfo` over `sysinfo()`
2026-06-05 09:39:30 +02:00
Alexander Cusaac (MightyChubz)
05f0539960
refactor: Move mem_unit before loop and apply it in switch statement
2026-06-04 13:21:27 -04:00
Alexander Cusaac (MightyChubz)
9942625c63
refactor: Use default_context() over removing "contextless"
2026-06-04 13:17:42 -04:00
Alexander Cusaac (MightyChubz)
c9621748a4
typo
...
oops
2026-06-03 16:55:51 -04:00
Alexander Cusaac (MightyChubz)
26f824eb8e
docs: Updated comment to explain approach more accurately
2026-06-03 16:52:58 -04:00
Alexander Cusaac (MightyChubz)
962f8dfd1b
refactor: Add fallback to sysinfo() if /proc/meminfo can't be read
...
This is likely to never _actually_ execute, and the possibility of this
failing is extremely slim, but if this _does_ fail, then this fallback
should catch it, as long as I'm understanding things correctly. If the
fallback fails, we just go back to the original assert that existed
before.
2026-06-03 16:47:37 -04:00
Alexander Cusaac (MightyChubz)
3d3aa45e02
refactor: Update fallback to just return MemFree
2026-06-03 16:45:06 -04:00
Alexander Cusaac (MightyChubz)
32de482025
docs: Add small comment to explain purpose of approach
2026-06-03 16:44:31 -04:00
TheRadischen
639196f28d
Update slice.odin
...
added a check for rotate_left
rotating with 0 length array crashes
2026-06-03 22:33:49 +02:00
Alexander Cusaac (MightyChubz)
55fd981941
refactor: Remove usage of do
...
I knew there was something I was forgetting with code in the core
packages. I wasn't applying the right arguments and style checks. Oops.
2026-06-03 12:09:46 -04:00
Jeroen van Rijn
d9b9acdf47
Merge pull request #6755 from Yawning/feature/pem
...
core/encoding/pem: Initial import
2026-06-03 17:22:52 +02:00
Alexander Cusaac (MightyChubz)
d41ff62c57
fix: Get meminfo from /proc/meminfo over sysinfo()
2026-06-03 05:28:05 -04:00
gingerBill
6bb25d72b7
Merge pull request #6756 from A1029384756/rt_sigaction
...
[sys/linux] remove parapoly from `rt_sigaction`
2026-06-02 13:36:37 +01:00
gingerBill
b914dc1f32
Change compound literal grammar to match the formal grammar
2026-06-02 11:10:58 +01:00
Yawning Angel
e7698e4adf
core/encoding/pem: Initial import
2026-06-02 17:48:46 +09:00
A1029384756
d7116d6415
[sys/linux] remove parapoly from rt_sigaction
2026-06-01 12:59:23 -04:00
jakubtomsu
8e9c0d38fa
fix disallowed bool -> any_int in win32
2026-05-27 19:11:08 +02:00
gingerBill
73d10f1cb6
Rename cbrt.odin to math_cbrt.odin
2026-05-27 11:03:14 +01:00
gingerBill
615f6b9d77
Fix typo
2026-05-27 11:01:41 +01:00
gingerBill
0d5fb4cd9e
Add rand.Zipf
2026-05-27 10:58:03 +01:00
gingerBill
db512cd83a
Add math.cbrt
...
Based on the https://www.netlib.org/fdlibm/s_cbrt.c
2026-05-27 10:37:21 +01:00
gingerBill
d0fc43bd12
Merge pull request #6734 from mohamed6000/shortest-round-error
...
Fixed the upper bound of Decimal in round_shortest
2026-05-26 11:23:12 +01:00
gingerBill
13487a45f2
Fix typo
2026-05-26 10:58:54 +01:00
Yawning Angel
82a18797b4
core/encoding/base64: Misc fixes and improvements
...
- Add error checking to `decode`
- Add `encode_into_buf`/`decode_into_buf`
2026-05-26 00:38:50 +09:00
mohamed6000
5c485d26ee
Fixed the upper bound of Decimal in round_shortest
2026-05-25 16:21:00 +01:00
Adrian Hodos
b0b5d6ad74
Link against libstdc++exp for backtrace support
2026-05-25 13:57:55 +03:00
gingerBill
d762a8247f
Fix look up table
2026-05-25 11:12:49 +01:00
gingerBill
fb8a9d0839
Support ** as expand_values operator: **x == expand_values(x)
2026-05-25 10:28:15 +01:00