Commit Graph

  • 52afbdbde9 Recursive constant definition not properly detected, leading to assert #2780 Christoffer Lerno 2026-01-20 18:28:13 +01:00
  • 888657cc97 - $typeof untyped list crashes when trying to create typeid from it. #2779 Christoffer Lerno 2026-01-20 17:54:05 +01:00
  • d7bfddf35e Broken cast from fault to array pointer #2778. Christoffer Lerno 2026-01-20 17:43:16 +01:00
  • 9c435352b9 - Second value in switch range not checked properly, causing an error on non-const values. #2777 Christoffer Lerno 2026-01-20 17:12:41 +01:00
  • 3fe55b5e51 - Vectors not converted to arrays when passed as raw vaargs. #2776 Christoffer Lerno 2026-01-20 16:46:47 +01:00
  • cdabe8fd9e - Create optional with ~ instead of ?. return io::EOF?; becomes return io::EOF~. - Deprecated use of ? to create optional. Christoffer Lerno 2026-01-20 16:10:28 +01:00
  • 5390ca6250 - Eager evaluation of macro arguments would break inferred arrays on some platforms. #2771. Christoffer Lerno 2026-01-20 13:02:14 +01:00
  • 61e84e4d34 One last regression fix. Christoffer Lerno 2026-01-20 11:47:17 +01:00
  • 1b82b7d2f2 Fix regression with conditional methods. Christoffer Lerno 2026-01-20 11:20:39 +01:00
  • 49f59d82c9 Fix regression. Christoffer Lerno 2026-01-20 01:26:29 +01:00
  • e84e23f7ec Fix Using @if with methods with generic params only inferred from the parent type fails #2770 Christoffer Lerno 2026-01-20 01:04:12 +01:00
  • 0b9b49673e - Empty struct after @if processing was not detected, causing a crash instead of an error. - Comparing an uint and int[<4>] was incorrectly assumed to be uint compared to int, causing a crash instead of an error. - When an int[*][6] was given too few values, the compiler would assert instead of giving an error. Christoffer Lerno 2026-01-20 00:04:18 +01:00
  • 4512c6446d - Empty struct after @if processing was not detected, causing a crash instead of an error. - Comparing an uint and int[<4>] was incorrectly assumed to be uint compared to int, causing a crash instead of an error. - When an int[*][6] was given too few values, the compiler would assert instead of giving an error. Christoffer Lerno 2026-01-19 15:01:08 +01:00
  • 0fea6c6056 - Bitstruct with unevaluated user-defined type would cause a crash. - Using named parameters with builtins would cause a crash. - In some cases, using missing identifiers with builtins would cause a crash. - Using $defined with function call missing arguments would cause a crash. - Adding @nostrip to a test function would crash. - Mixing struct splat, non-named params and named params would crash rather than to print an error. - Creating a char vector from bytes would crash. - Using $$wstr16 with an illegal argument would crash instead of printing an error. Christoffer Lerno 2026-01-19 02:49:54 +01:00
  • dd8449576f - Passing a non-conststring to module attributes like @cname would trigger an assert rather than printing an error. - Passing different types to arg 1 and 2 for $$matrix_transpose would trigger an assert. - Zero init of optional compile time variable would crash the compiler. - Using multiple declaration for generics in generic module would fail. - Defining an extern const without a type would crash rather than print an error. - Typedef followed by brace would trigger an assert. - Union with too big member would trigger an assert. Christoffer Lerno 2026-01-18 22:47:17 +01:00
  • c3b2694834 Generics with <>. Deprecation of {} generics. Christoffer Lerno 2026-01-18 00:33:43 +01:00
  • d3ebd4a130 Migrate from @unaligned_load to mem::load Christoffer Lerno 2026-01-17 19:12:32 +01:00
  • a326e31e57 Add missing fix. Christoffer Lerno 2026-01-17 18:52:55 +01:00
  • 945a3f3fc0 Add mem::store and mem::load which may combine both aligned and volatile operations. Christoffer Lerno 2026-01-17 18:35:44 +01:00
  • 2a8fbb8fec Fix function signature for free to return void Darvis 2026-01-16 12:56:58 +05:30
  • c0f1b02d0b native_file_size: use libc stat on more platforms Book-reader 2026-01-17 14:56:20 +13:00
  • f2c557c3b7 Remove use of LLVMCreateBuilder #2666 Christoffer Lerno 2026-01-17 15:39:22 +01:00
  • d00a93f195 Update error on omitting end. Christoffer Lerno 2026-01-17 15:37:30 +01:00
  • aa07969fc2 - HashSet.len() now returns usz instead of int. #2740 Christoffer Lerno 2026-01-17 15:12:31 +01:00
  • 6dcd91c5ef - Assert on defining a const fault enum with enumerator and fault of the same name. #2732 Christoffer Lerno 2026-01-17 15:01:40 +01:00
  • c2e603ddd8 Expand inference. Christoffer Lerno 2026-01-17 14:03:58 +01:00
  • 70c4b24519 - In some cases, a type would not get implicitly converted to a typeid #2764. Christoffer Lerno 2026-01-16 11:41:18 +01:00
  • 51364a9d1b Another fix in immediately rethrowing a value in an assignment #2689 Christoffer Lerno 2026-01-15 23:33:26 +01:00
  • d9f4eb46d9 - Too little memory reserved when printing backtrace on Darwin #2698. Christoffer Lerno 2026-01-15 22:50:12 +01:00
  • cd2d1a04d8 Use a Printable struct for ansi rgb formatting instead of explicit allocations (#2696) Book-reader 2026-01-16 10:26:18 +13:00
  • 3f7a547d8a Merge AsciiCharset CT/non-CT Functions (#2688) Zack Puhl 2026-01-15 15:39:48 -05:00
  • f254c27966 std/io/os/temp_directory.c3: fix INVALID_PATH in Win32 native_temp_directory (#2762) Manu Linares 2026-01-15 17:23:30 -03:00
  • 8a1c02c840 Rework libc signal constants (#2724) Jasper Wilmes 2026-01-15 21:17:50 +01:00
  • 7f297a9d27 Fix type inference overrides parameterization #2761. Remove support for ^io::EOF Christoffer Lerno 2026-01-15 15:19:33 +01:00
  • 64ef33f09b Require parenthesized assignment expressions in condition of 'if' statements #2716 (#2729) VarunVF 2026-01-15 07:43:58 +08:00
  • cd4c586c3f Fixed macro hash_vec(vec): it was checking only the first bytes (4 or 8, not sure) (#2718) mikelgarai 2026-01-14 23:22:10 +01:00
  • 0a9d4e398d Add $$VERSION and $$PRERELEASE (#2751) Kiana 2026-01-14 23:15:55 +01:00
  • d61beef7e0 Fix String.replace not dropping temp mem. Christoffer Lerno 2026-01-14 22:13:15 +01:00
  • 7136b05019 common.h: define static_assert to _Static_assert when undefined Sergey Fedorov 2026-01-14 13:41:38 +08:00
  • 87fa253059 Add debug versions. Christoffer Lerno 2026-01-14 02:00:07 +01:00
  • 04eb6fc451 CI: Major refactor, expanded coverage, and ~80% speedup (#2736) Manu Linares 2026-01-13 21:16:06 -03:00
  • 15fc435d92 collections: fix LinkedList.to_format Koni Marti 2026-01-13 21:56:21 +01:00
  • 9d54e9e3c4 a fix to generated C header global Manuel Barrio Linares 2026-01-13 16:07:09 -03:00
  • c73c7cb2a3 add Win32_CODEPAGES enum and enable utf8 console output on win32 (#2670) Book-reader 2026-01-14 11:00:01 +13:00
  • 827ad18ef4 Ignore ctags and gtags files in .gitignore Gourmet 2026-01-07 00:10:03 +01:00
  • 3fc562af6f Fix minor typos in README.md Darvis 2026-01-12 22:20:48 +05:30
  • 87c42f1cd3 Add unit tests for HMAC 256 based on RFC 4231 (#2744) Arnaud Duforat 2026-01-12 11:26:49 +01:00
  • e93f22fbda - bitorder::read and bitorder::write may fail because of unaligned access #2734. Christoffer Lerno 2026-01-12 01:11:31 +01:00
  • 8fa59cbb43 Creating recursive debug info for functions could cause assertions. Christoffer Lerno 2026-01-07 23:50:56 +01:00
  • 527766310f Update pointer type naming. Christoffer Lerno 2026-01-07 23:12:09 +01:00
  • a02b0a1f4c Update LLVMHasUseList. Christoffer Lerno 2026-01-07 20:29:55 +01:00
  • 4d93db51ee Check properly has use list. Christoffer Lerno 2026-01-07 19:59:40 +01:00
  • fa2e6e8189 Fix typo Christoffer Lerno 2026-01-07 15:56:34 +01:00
  • 0fc1871ddf - Assert on optional-returning-function in a comma expression. #2722 Christoffer Lerno 2026-01-07 15:53:54 +01:00
  • 197f82d829 Revert windows Christoffer Lerno 2026-01-07 03:36:48 +01:00
  • 4ad11724d1 Update Windows flags Christoffer Lerno 2026-01-07 03:31:03 +01:00
  • 6d53fd6f6e Fix test. Christoffer Lerno 2026-01-07 03:18:01 +01:00
  • db47b0555d Update windows LLVM version Christoffer Lerno 2026-01-07 03:15:59 +01:00
  • ebd7b7243a Fix bug when evaluating a non-generic identifier. Christoffer Lerno 2026-01-07 03:13:14 +01:00
  • e0771beabc Remove pointer names in debug, following Clang. Christoffer Lerno 2026-01-07 02:35:05 +01:00
  • 824d064710 Fix tests. Christoffer Lerno 2026-01-07 00:55:30 +01:00
  • 336ddb67c8 Incorrect alignment on typedef and local variable debug info. Christoffer Lerno 2026-01-07 00:16:49 +01:00
  • 9ad98beda7 - Crash when doing a type property lookup for const inline enums in some cases #2717. Christoffer Lerno 2026-01-06 15:28:18 +01:00
  • 702f836b40 io::read_fully now handles unbounded streams properly Christoffer Lerno 2026-01-05 22:27:55 +01:00
  • d820a2356a Fix: Compiler assert when attempting to define multiple faults in a generic module. #2706 Christoffer Lerno 2026-01-05 21:04:23 +01:00
  • fa1951642b Add debug info Christoffer Lerno 2026-01-05 00:11:48 +01:00
  • 42dc2d541a Add testcase. Christoffer Lerno 2026-01-04 22:05:01 +01:00
  • fdbbe5c1aa improve c3c init error message (#2697) Chad Adams 2026-01-03 11:17:12 -05:00
  • 292bf1cbbc Designated initialization with ranges would not error on overflow by 1. Christoffer Lerno 2026-01-03 02:32:40 +01:00
  • 82769669ec Fix of generic with multiple parameters fail. #2702 Christoffer Lerno 2026-01-03 00:09:14 +01:00
  • 29b211eefc - Fix the case where \u<unicode char> could crash the compiler on some platforms. Christoffer Lerno 2026-01-01 21:44:37 +01:00
  • e4965ab408 Add BLAKE3 Hashing/XOF to stdlib (#2667) Zack Puhl 2026-01-01 15:11:33 -05:00
  • 067a4f7cb1 Fixed codegen for vec->array in the boolean case. Christoffer Lerno 2026-01-01 00:25:32 +01:00
  • 739e91efa4 - Reduced memory usage for backtraces on Linux. - String.tokenize_all would yield one too many empty tokens at the end. - String.replace no longer depends on String.split. Christoffer Lerno 2025-12-31 10:08:00 +01:00
  • 26d733ef59 No optimization in test runner for MSVC Christoffer Lerno 2025-12-31 00:45:35 +01:00
  • 32d6025e29 Add panics just in case. Christoffer Lerno 2025-12-31 00:43:19 +01:00
  • 04706f2dcd Fix issue when removing test files on abort. Christoffer Lerno 2025-12-31 00:13:38 +01:00
  • d8a7c57b56 - Miscompilation: global struct with vector could generate an incorrect initializer. Christoffer Lerno 2025-12-30 23:54:00 +01:00
  • ad8769580a Methods registered with generic type will implicitly get templated. Christoffer Lerno 2025-12-30 22:39:42 +01:00
  • d51dd09a1f Made contracts aggregate from types etc Christoffer Lerno 2025-12-30 21:31:45 +01:00
  • 5ed4f9519f - x'1234' +++ (ichar[1]) { 'A' } would fail due to missing const folding. Christoffer Lerno 2025-12-30 16:06:28 +01:00
  • 493a084745 Added additional type size limits. Christoffer Lerno 2025-12-30 13:42:14 +01:00
  • 9bd04526e8 foo.x was not always handled correctly when foo was optional. Christoffer Lerno 2025-12-30 12:38:04 +01:00
  • 90f0486334 - Assert when encountering a test function with raw vaarg parameters. Christoffer Lerno 2025-12-30 12:28:03 +01:00
  • e4f1b57bd0 Assert when encountering a malformed module alias. Christoffer Lerno 2025-12-29 22:41:42 +01:00
  • c949bd3108 Assert when struct size would exceed 4 GB. Christoffer Lerno 2025-12-29 22:24:41 +01:00
  • 56f8008d85 - Parse error in $defined was not handled correctly, leading to an assertion. Christoffer Lerno 2025-12-29 22:09:39 +01:00
  • c6a96ad7f3 - i<n> suffixes were not caught when n < 8, causing an assert. Christoffer Lerno 2025-12-29 21:57:06 +01:00
  • 328e6f518c Fix bug when encountering Type{} where Type is a generic parameter. Christoffer Lerno 2025-12-29 19:34:45 +01:00
  • 8ec4a2cada Fix test. Christoffer Lerno 2025-12-29 17:25:49 +01:00
  • 9b318ec233 [stdlib] Impove SHA-256 Performance (#2671) Zack Puhl 2025-12-29 11:07:03 -05:00
  • d96624c578 Decoupled generics (#2695) Christoffer Lerno 2025-12-29 17:01:03 +01:00
  • bf1d401566 Converting between simd/non-simd bool vector would hit a compiler assert. #2691 Christoffer Lerno 2025-12-29 16:59:34 +01:00
  • a2c886a2d9 - Compiler assert when passing returning CT failure immediately rethrown #2689. Christoffer Lerno 2025-12-26 22:00:31 +01:00
  • e76278cfd7 Fix test Christoffer Lerno 2025-12-25 22:50:06 +01:00
  • 1028f85daa - Better error messages when slicing a pointer to a slice or vector. #2681 Christoffer Lerno 2025-12-25 22:01:15 +01:00
  • e706c914a8 Fix test. Christoffer Lerno 2025-12-25 21:39:19 +01:00
  • f3b71ed7eb - $$MASK_TO_INT and $$INT_TO_MASK to create bool masks from integers and back. - Fix bug when creating bool vectors in certain cases. Christoffer Lerno 2025-12-25 20:55:11 +01:00
  • 18b246c577 - Testing for the presence of methods at the top level is prohibited previous to method registration. Christoffer Lerno 2025-12-24 15:32:21 +01:00
  • c205719563 Fix netbsd vm version Christoffer Lerno 2025-12-23 11:43:53 +01:00