Christoffer Lerno
ed5d338a39
Added new style named arguments.
2024-09-05 22:13:22 +02:00
Christoffer Lerno
e795745e43
lvalue refactoring.
2024-09-05 22:09:35 +02:00
Christoffer Lerno
5e4d790fc3
Fixing incorrectly solved generic module name collision bug.
2024-09-04 21:51:03 +02:00
Christoffer Lerno
7e47f4ed08
Generic methods were incorrectly registered as functions, leading to naming collisions. #1402
2024-09-04 15:13:29 +02:00
Christoffer Lerno
63fc77a861
Move of const to separate file and removal of old concat code.
2024-09-04 09:34:51 +02:00
Christoffer Lerno
59ff94c005
Issue where a lambda wasn't correctly registered as external. #1408
2024-09-03 23:25:47 +02:00
Christoffer Lerno
bbc199cda3
Some cleanup of asm and assert
2024-09-03 13:53:15 +02:00
Christoffer Lerno
df91ee3d2a
Update version.
2024-09-03 11:48:43 +02:00
Christoffer Lerno
528fecef4d
Create release.
v0.6.2
2024-09-02 23:21:01 +02:00
Christoffer Lerno
d39f1a6af0
Fix to test.
2024-09-02 22:53:54 +02:00
Christoffer Lerno
4367ef11fa
Further fixing storeload.
2024-09-02 22:37:50 +02:00
Ikko Eltociear Ashimine
b8d77d2490
chore: update linux.c3
...
Recieve -> Receive
2024-09-02 11:07:34 +02:00
Christoffer Lerno
2600c3116c
Do not add the libc allocator if it isn't available.
2024-09-02 01:44:35 +02:00
Christoffer Lerno
2506c2579b
Prevent loading / storing large structs with LLVM.
2024-09-02 01:16:48 +02:00
Lars Nilsson
fe7392a656
Adding check of HTTP response code so that Windows will remove up the opened file if the download was not successful
2024-09-01 21:44:09 +02:00
Christoffer Lerno
8b7a3f1835
Optimize the value after foo()!!
2024-09-01 21:14:30 +02:00
Christoffer Lerno
e6acc56c1f
Bug where if try would work incorrectly in a macro.
2024-08-31 23:09:36 +02:00
Christoffer Lerno
d635cfb90f
printf will now show errors in the output when there are errors.
2024-08-31 19:36:18 +02:00
Christoffer Lerno
6cb6113c57
- Memory leak in Object when not using temp allocators.
...
- Tracking allocator would double the allocations in the report.
2024-08-31 03:35:39 +02:00
Alexey Kutepov
6aea0f12cd
Properly persist git hash on each build ( #1391 )
...
Properly persist git hash on each build
Rebuild `git_hash.h` only when `.git` folder changes
`add_custom_target()` always considers its target out-of-date which
leads to rebuilding of `git_hash.h` on every build (which is
ironically what we wanted) and consequently rebuilding of
build_options.c and relinking of c3c even when no changes are made,
which is mildly annoying.
We are replacing `add_custom_target()` with `add_custom_command()`
which depends on `.git`, so `git_hash.h` is only rebuilt if any git
commands are performed. Which is less annoying.
In case of no `.git` we simply do not depend on it which leads to
`git_hash.h` being rebuilt only once.
2024-08-30 15:01:08 +02:00
Christoffer Lerno
99ace59b45
Create a build library on --test.
2024-08-30 14:55:35 +02:00
Christoffer Lerno
31f9ed3e6b
Methods can now properly be aliased using def #1393 .
2024-08-30 12:50:39 +02:00
Christoffer Lerno
573c0881e9
Correctly use wincrt setting for in libraries.
2024-08-29 23:53:14 +02:00
Christoffer Lerno
7134b3ba35
Update Raylib examples to use Raylib5.
2024-08-29 23:34:31 +02:00
Christoffer Lerno
bc267e22bd
Add fmod implementation for nolibc.
2024-08-29 20:04:59 +02:00
Christoffer Lerno
3d83316b03
Regression: backtrace accidentally turned off by default.
2024-08-29 19:15:50 +02:00
Christoffer Lerno
dfe80eb050
Improve the error message when the compilation does not produce any files #1390 .
2024-08-28 11:16:39 +02:00
Christoffer Lerno
22151a0a03
Fix bug with defer (catch err) when used together with regular defer.
2024-08-28 10:41:59 +02:00
rexim
484a9acc6f
Print Git Hash on --version
2024-08-27 04:41:39 +02:00
Christoffer Lerno
26acce246d
Fixed int128 div/mod. Fix WASM memory init priority.
2024-08-27 04:31:14 +02:00
Christoffer Lerno
388578c209
Too restrictive compile time checks for @const. Fixes to wasm nolibc in the standard library.
2024-08-26 13:33:15 +02:00
Christoffer Lerno
b33cce385c
Fix of bug in defer (catch err) with a direct return error.
2024-08-26 11:49:41 +02:00
Christoffer Lerno
4b2019cf20
Add "allocator-required" functions.
2024-08-25 21:53:54 +02:00
Christoffer Lerno
61246d713d
Print linking in CI and fix win linking.
2024-08-25 21:10:24 +02:00
Christoffer Lerno
40455f5260
Print linking in CI
2024-08-25 20:30:21 +02:00
Christoffer Lerno
78ce03bd62
Prefer \ to concat windows paths.
2024-08-25 20:14:36 +02:00
Christoffer Lerno
61645d14fa
Only output -pie to the linker for executables. Fix issue assembling paths using concat_file_arg
2024-08-25 19:54:38 +02:00
Christoffer Lerno
d465ba5356
--test will now provide the full filename and the column.
2024-08-25 18:26:44 +02:00
Christoffer Lerno
8fde7cd6f5
--path is now properly respected.
2024-08-25 18:15:33 +02:00
Itzerr
734e0f350a
Fixed gencontext_begin_module using wrong reloc_model. ( #1384 )
...
Fixed gencontext_begin_module using wrong reloc_model.
2024-08-25 18:08:33 +02:00
Chuck Benedict
e1bbab3831
RISCV: Correct auipc imm; clarify signed imm error; add imm negative t… ( #1378 )
...
RISCV: Correct auipc imm; claify signed imm error; add imm negative tests. Allow fitted int asm imm const in uints; add rv regs
2024-08-25 11:19:30 +02:00
Christoffer Lerno
a870881fff
Allow "project.json5" to be used.
2024-08-25 00:19:08 +02:00
Christoffer Lerno
1ed3eab010
Assigning a const zero to an aliased distinct caused an error.
2024-08-24 14:37:27 +02:00
theunixer
dd16ecf63a
Essential dependency to build(llvm17-devel) on void linux was not mentioned.
2024-08-24 11:10:59 +02:00
Christoffer Lerno
d1a0ec5a35
Compiler didn't detect when a module name was used both as a generic and regular module.
2024-08-23 19:31:49 +02:00
Nikita Pivkin
cb790b4672
Remove unused parameters from check_col and check_row
...
Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io >
2024-08-23 19:03:03 +02:00
Christian Buttner
19d37ef641
Add types::is_signed, is_unsigned and inner_type. ( #1365 )
...
Add `types::is_signed`, `is_unsigned` and `inner_type`.
2024-08-23 19:01:05 +02:00
Christoffer Lerno
0722011385
Fix of compile arguments.
2024-08-23 16:47:19 +02:00
Christian Buttner
59ed118e66
Address/memory/thread sanitizer.
2024-08-23 16:06:22 +02:00
Christoffer Lerno
d54468d7ed
Simplify some asm code and update releasenotes for RISCV
2024-08-23 10:23:17 +02:00