Commit Graph

17566 Commits

Author SHA1 Message Date
gingerBill
74c78ee309 Add error Note: when trying to access the non-existent buf field on strings.Builder since it has become distinct 2026-06-09 14:17:58 +01:00
gingerBill
a74abb2412 Remove .buf in printing again 2026-06-09 14:05:12 +01:00
gingerBill
5199d0da59 Fix tests that relied on .buf[:] 2026-06-09 14:01:42 +01:00
gingerBill
2f3aefbb3d Change strings.Builder to be distinct [dynamic]byte from a struct wrapper 2026-06-09 13:56:10 +01:00
gingerBill
d80720e30d Minor alignment change in dxcapi.odin 2026-06-09 13:25:41 +01:00
gingerBill
671a187600 Minor style change in intrinsics.odin 2026-06-09 13:25:21 +01:00
gingerBill
7ab61e4935 DXGI: Add debug fmt for lengths in structs 2026-06-08 08:57:38 +01:00
gingerBill
626a8e5580 DXGI: Correct types and alignment 2026-06-08 08:54:39 +01:00
gingerBill
7ecaa41f4d Fix procedures that use the DXGI link_prefix 2026-06-08 08:46:09 +01:00
gingerBill
d4fa08e282 Merge pull request #6794 from peperronii/patch-1
Fix error message: 'do' not on the same line as 'for'
2026-06-08 08:26:34 +01:00
WP. Yingamphol
d3b7251757 Fix error message: 'do' not on the same line as 'for' 2026-06-07 20:22:12 +07:00
gingerBill
bfe320876f Merge pull request #6791 from gco-bmx/fix-test-shrink-buffer-overflow
fix buffer overflow when running a test which shrinks a dynamic array…
2026-06-07 10:11:00 +01:00
gingerBill
9719372ed2 Merge pull request #6784 from lualvsil/aarch64-asm
AArch64 assembly support for foreign import
2026-06-07 09:57:28 +01: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
lualvsil
1b07372547 AArch64 assembly support for foreign import 2026-06-05 23:23:50 -03: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
dd4044dd1c Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-05 14:13:18 +01:00
gingerBill
f14071bd14 Fix transmute corrupting a compile time constant 2026-06-05 14:13:08 +01: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
gingerBill
8d1d126e16 Rearrange context and value_type values of lb_const_value 2026-06-05 10:19:55 +01:00
gingerBill
808d19123b Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-05 10:16:05 +01:00
gingerBill
99992e092f Fix constant array spreading for unions of constants 2026-06-05 10:15:51 +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
gingerBill
92dc385708 Merge pull request #6777 from A1029384756/bit_set_ops
[checker] disallow `*` and `/` for bit sets
2026-06-04 21:26:26 +01:00
A1029384756
f735e794a6 [checker] disallow * and / for bit sets 2026-06-04 16:12:35 -04: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
gingerBill
d6cc5d41db Merge pull request #6771 from TheRadischen/patch-2
rotate crashes with 0 length
2026-06-04 15:48:40 +01:00
gingerBill
d94630c1c3 Merge pull request #6773 from mlgudi/fix-bit_field-assert-failure
Fix assertion failure when comparing array-backed `bit_field`s
2026-06-04 15:08:48 +01:00
mlgudi
7ba07860bb Rearrange lb_emit_comp is_type_array_like branch to avoid unnecessary transmutes for bit_fields taking the non-inline path 2026-06-04 03:22:06 +01:00
mlgudi
2cc0f8f6dc Fix compiler assertion failure caused by comparison of array-backed bit_fields 2026-06-04 02:03:00 +01: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
f040e29c1c Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-02 13:38:48 +01:00
gingerBill
16eac6187d Re-add @(link_section<string>) for procedures 2026-06-02 13:38:39 +01: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
7a5a73efae Generalize is_foreign_name_valid but add TODO to see how it should work. 2026-06-02 13:21:57 +01:00
gingerBill
a479eb7775 Support @(link_section=<string>) for procedures 2026-06-02 13:09:40 +01:00
gingerBill
b914dc1f32 Change compound literal grammar to match the formal grammar 2026-06-02 11:10:58 +01:00
gingerBill
619b3eb1b7 Merge pull request #6758 from juaumjuaumjuaum/patch-1
Swap panic_contextless and unimplemented_contexless documentation
2026-06-02 11:02:49 +01:00
Yawning Angel
e7698e4adf core/encoding/pem: Initial import 2026-06-02 17:48:46 +09:00
juaumjuaumjuaum
bf2d33f0e5 Swap panic_contextless and unimplemented_contexless documentation
They were swaped
2026-06-02 00:00:45 +02:00