Christoffer Lerno
8d698b5e40
Lambda C-style vaargs were not properly rejected, leading to crash #2229 .
2025-06-20 00:52:03 +02:00
Christoffer Lerno
2f45beecbe
@pool now has an optional reserve parameter, some minor changes to the temp_allocator API
2025-06-19 01:13:43 +02:00
Christoffer Lerno
1b4b9bca94
Linking fails on operator method imported as @public #2224 .
2025-06-18 23:34:39 +02:00
Tanis Pérez Nartallo
40ae9d2e55
Add build instructions for Arch Linux
2025-06-18 23:34:16 +02:00
Christoffer Lerno
0df538d0e2
Test LLVM 20 compatibility
2025-06-18 22:41:35 +02:00
Christoffer Lerno
aa425a0886
Fixes to x += { 1, 1 } for enum and pointer vectors #2222 .
2025-06-18 22:27:30 +02:00
Christoffer Lerno
842788e59d
x += 1 and x -= 1 works propertly on pointer vectors #2222 .
2025-06-18 17:02:56 +02:00
Christoffer Lerno
2b97d7d59c
x++ and x-- works on pointer vectors #2222 .
2025-06-18 13:17:21 +02:00
Christoffer Lerno
75f78551cf
Rename TypdefDecl to TypeAliasDecl
2025-06-18 11:59:44 +02:00
Christoffer Lerno
01ef53a090
Bug when offsetting pointers of large structs using ++ and --.
2025-06-18 10:13:48 +02:00
Christoffer Lerno
a55f56a88f
Linker errors when shadowing @local with public function #2198
2025-06-18 02:07:07 +02:00
Christoffer Lerno
eb75d8f82a
Method ambiguity when importing parent module publicly in private submodule. #2208
2025-06-18 00:18:56 +02:00
Christoffer Lerno
f07bd3cbc6
$defined(#expr) broken with binary. #2219
2025-06-17 18:00:16 +02:00
Christoffer Lerno
93640699be
Support distrinct types as the base type of bitstructs. #2218
2025-06-17 16:49:46 +02:00
Christoffer Lerno
99e29bff8d
Bug in AST copying would make operator overloading like += compile incorrectly #2217
2025-06-17 16:02:43 +02:00
Ero Mrinin
95137db64b
'next_float' macro patch ( #2213 )
...
More optimized implementation.
2025-06-17 09:54:27 +02:00
Christoffer Lerno
e7ce79e731
Fix error for named arguments-order with compile-time arguments #2212
2025-06-16 23:56:03 +02:00
Christoffer Lerno
779f548a00
Allow generics over distinct types #2216 .
2025-06-16 23:16:35 +02:00
Christoffer Lerno
f0bd93d1f0
Additional #2210 fixes.
2025-06-16 22:56:34 +02:00
Christoffer Lerno
3ce15bd7af
Incorrect codegen if a macro ends with unreachable and is assigned to something. #2210
2025-06-15 22:35:44 +02:00
Christoffer Lerno
07eee04e94
In some cases, the compiler would dereference a compile time null. #2215
2025-06-15 21:58:39 +02:00
Christoffer Lerno
1f7b62b248
Fix to is_array_or_slice_of_char #2214 .
...
`is_array_or_slice_of_char` and `is_arrayptr_or_slice_of_char` are replaced by constant `@` variants.
2025-06-15 21:27:47 +02:00
Christoffer Lerno
b2c994618f
Fix to is_array_or_slice_of_char #2214 .
...
`is_array_or_slice_of_char` and `is_arrayptr_or_slice_of_char` are replaced by constant `@` variants.
2025-06-15 16:54:20 +02:00
Christoffer Lerno
2afa544d7d
Correctly format '%c' when given a width. #2199
2025-06-15 02:27:36 +02:00
Christoffer Lerno
dda2d2ecbe
Show code that caused unreachable code #2207
...
`$echo` would suppress warning about unreachable code. #2205
2025-06-15 00:37:28 +02:00
Christoffer Lerno
f79f6d4001
- cflags additions for targets was not handed properly. #2209
2025-06-14 23:40:54 +02:00
Christoffer Lerno
cf167c9446
Make unreachable() only panic in safe mode.
2025-06-14 18:37:49 +02:00
Christoffer Lerno
f0201f971e
Fix NULL -> false.
2025-06-13 22:51:51 +02:00
Christoffer Lerno
a3abea1a33
Reorder fields.
2025-06-13 22:08:07 +02:00
Christoffer Lerno
5f6f52838c
The form-feed character '\f' is no longer valid white space.
2025-06-13 21:37:06 +02:00
Christoffer Lerno
e0237096d6
- Support untyped second argument for operator overloading.
...
- Distinct versions of builtin types ignore @operator overloads #2204 .
- @operator macro using untyped parameter causes compiler segfault #2200 .
- Add comparison with `==` for ZString types.
2025-06-13 17:12:39 +02:00
Christoffer Lerno
82491a6f85
- Fixes to @format checking #2199 .
2025-06-12 02:26:39 +02:00
Christoffer Lerno
1aacb1fa60
Fixed regression compiler crash when using && for untyped parameters #2197 .
2025-06-10 16:26:08 +02:00
Christoffer Lerno
bbd9f6dc96
Add --sources build option to add additional files to compile. #2097
2025-06-10 14:09:15 +02:00
Christoffer Lerno
496d23e93f
Fix some @require comments.
2025-06-10 01:54:45 +02:00
Christoffer Lerno
e936b999d2
Update Android ABI lowering
2025-06-08 23:14:07 +02:00
Christoffer Lerno
becda6ea1d
Improve Android linking
2025-06-08 15:06:19 +02:00
Christoffer Lerno
2ad17a04d4
Improve android detection.
2025-06-08 12:18:55 +02:00
Christoffer Lerno
1617792a35
Fix Android detection.
2025-06-08 11:53:47 +02:00
Christoffer Lerno
c7b3ae0cf9
Fix Android errno
2025-06-08 11:33:28 +02:00
Christoffer Lerno
1dcd40aa5f
--lsp sometimes does not emit end tag #2194 .
2025-06-08 00:30:11 +02:00
Christoffer Lerno
40554192b1
- Make accepting arguments for main a bit more liberal, accepting main(int argc, ZString* argv)
...
- Make `$echo` and `@sprintf` correctly stringify compile time initializers and slices.
- Fixes methodsof to pick up all sorts of extension methods. #2192
- Fix regression accidentally allowing `$assert $foo, $bar`
2025-06-08 00:23:04 +02:00
Book-reader
9bc5e259d2
fix types::may_load_atomic with enums
2025-06-07 13:54:27 +02:00
Christoffer Lerno
f66cadccd2
Add printf format to $assert and $error #2183 .
2025-06-06 23:50:55 +02:00
Christoffer Lerno
be511b26cd
Additional fixes on $define
2025-06-06 20:11:58 +02:00
Christoffer Lerno
4cfa5441d2
Additional fixes on $define
2025-06-06 15:38:46 +02:00
Christoffer Lerno
5e45c34f21
- Deprecate String.is_zstr and String.quick_zstr #2188 .
2025-06-06 15:30:46 +02:00
Awang
d7a11903c7
Add external __errno() function for env::ANDROID ( #2182 )
2025-06-06 14:47:16 +02:00
Christoffer Lerno
b893697a87
Various fixes for $defined
2025-06-06 14:41:20 +02:00
Christoffer Lerno
f2daf2e11e
@sprintf macro (based on the $$sprintf builtin) allows compile time format strings #1874 .
2025-06-06 03:18:28 +02:00