Commit Graph

17576 Commits

Author SHA1 Message Date
gingerBill
57995ddd35 Add a debug printf_err 2026-06-09 17:23:05 +01:00
gingerBill
e9c477d9fc Change to be an if + panic instead of an assert 2026-06-09 17:20:20 +01:00
gingerBill
52c609e161 Add more assert info to assign_removal_flag_to_semicolon 2026-06-09 17:14:33 +01:00
gingerBill
2a9b1eeb90 Clean up assign_removal_flag_to_semicolon 2026-06-09 17:09:54 +01:00
gingerBill
97ab24bff1 Attempt to fix assign_removal_flag_to_semicolon 2026-06-09 16:44:03 +01:00
gingerBill
aead6d887e f->use_cached_tokens = false; 2026-06-09 16:26:29 +01:00
gingerBill
94aafff557 Improve debug timing info printing 2026-06-09 16:15:47 +01:00
gingerBill
f9f6973c6b Enable MP_USE_MEMOPS always 2026-06-09 16:12:06 +01:00
gingerBill
d273409b2f Enable token caching for the time being 2026-06-09 16:12:00 +01:00
gingerBill
e6334c65c3 Optimize arena_alloc for the fast path 2026-06-09 16:05:29 +01:00
gingerBill
bcff6688a1 Optimize big_int_from_string usage for small integers 2026-06-09 15:50:39 +01:00
gingerBill
a34b03aced Minor optimization help for advance_to_next_rune 2026-06-09 15:32:17 +01:00
gingerBill
e956f7a99c Begin to see where the performance issues are in the parser 2026-06-09 15:10:48 +01:00
gingerBill
e2efc29373 Minimize memory usage in parser by only caching tokens when doing strip-semicolon 2026-06-09 15:01:22 +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