Commit Graph

7706 Commits

Author SHA1 Message Date
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
A1029384756
45a79f96f0 [encoding/json] add support for unmarshalling fixed capacity dynamic arrays 2026-05-21 11:48:25 -04:00
gingerBill
63a59210b0 Merge pull request #6711 from krnowak/krnowak/generic-procs
Be more thorough in detecting generic procedure types
2026-05-21 12:21:30 +01:00
kalsprite
98d6e0c26a ARM chunking logic, improved docs 2026-05-20 17:55:29 -07:00
Krzesimir Nowak
b924da10a0 Be more thorough in detecting generic procedure types 2026-05-20 22:11:25 +02:00
gingerBill
a91725f305 Add simd.interleave + simd.deinterleave 2026-05-19 21:32:09 +01:00
gingerBill
f231ef0596 Support simd.byte_swap 2026-05-19 15:44:31 +01:00
gingerBill
42d3f78bae Improve simd.sign_bit code generation 2026-05-19 14:54:39 +01:00
Jeroen van Rijn
9a0d939442 Merge pull request #6695 from Yawning/feature/mldsa
core/crypto/mldsa: Initial import
2026-05-19 12:34:12 +02:00
Yawning Angel
ccc17780b4 core/crypto/mldsa: Initial import 2026-05-19 19:32:50 +09:00
Yawning Angel
0c1c0372c7 core/crypto/mlkem: Minor cleanups 2026-05-19 19:32:50 +09:00
Yawning Angel
d5903be4e5 core/crypto/noise: Stop cheating and reaching into "opaque" structs 2026-05-19 19:32:50 +09:00
Yawning Angel
104da7d54b core/crypto/ecdh: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
c3e7a9026b core/crypto/ed25519: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
675389aeab core/crypto/ecdsa: Minor additions and cleanups 2026-05-19 19:32:50 +09:00
jakubtomsu
6a206d9bce tabs... 2026-05-18 20:05:30 +02:00
jakubtomsu
b57db64c8e linalg: gram schmidt in any order 2026-05-18 19:34:53 +02:00
BadWolfuu
37aaf4519c adding missing documentation to strconv.parse_int and strconv.parse_uint
parse_int and parse_uint where missing documentation for the optional parameter `n: ^int` to store the length of the parsed substring
2026-05-18 14:01:31 +02:00