Commit Graph

17576 Commits

Author SHA1 Message Date
Krzysztof Furman
b05d459a13 Make the type hash 63-bit to not crash OMG JIT in WebKit under WASM. 2026-06-12 21:33:56 +01:00
Jeroen van Rijn
47cf0d3f42 Merge pull request #6790 from A1029384756/linux_pie
[linux] change default settings to enable pie and full relro
2026-06-12 11:21:51 +02:00
Laytan
d3f8b25a0d Merge pull request #6819 from RainerXE/nbio-exec-cross-thread-uaf
core/nbio: fix use-after-free of op.l in cross-thread exec
2026-06-12 01:09:21 +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
gingerBill
f1c4b8caee Merge pull request #6813 from bluziDev/patch-1
Add control sequences for Alternate Screen Buffer
2026-06-11 13:28:41 +01: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
Jeroen van Rijn
d403e749ea Linux ARM nightly fix 2026-06-11 00:26:19 +02:00
Jeroen van Rijn
daa56de556 Merge pull request #6808 from A1029384756/nightly-build
[nightly] fix build
2026-06-10 15:24:46 +02:00
A1029384756
eec141eafc [nightly] fix build 2026-06-10 08:49:54 -04:00
Jeroen van Rijn
285f6d87bc Revert "Try fix Linux nightly fail"
Didn't fix the issue.

This reverts commit 4d5288d77d.
dev-2026-06
2026-06-10 11:00:43 +02:00
Jeroen van Rijn
4d5288d77d Try fix Linux nightly fail 2026-06-10 10:56:44 +02: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
A1029384756
286674a862 [no-plt] restricted to llvm 19+ 2026-06-08 10:59:32 -04:00
A1029384756
da742fc526 [no-plt] enable no-plt behavior on linux arm64 and amd64 targets 2026-06-08 10:58:05 -04: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
A1029384756
43b057dfeb [linux] change default settings to enable pie and full relro 2026-06-06 21:23:26 -04: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