Hema2
7581651011
Add QOI to the standard library ( #1409 )
...
Add QOI to the standard library
2024-09-07 15:55:26 +02:00
Christoffer Lerno
4f54e273ab
Asserts are retained regardless of optimization when running tests.
2024-09-07 15:40:32 +02:00
Christoffer Lerno
1cc1b83b6f
format functions are now functions and work better with splat.
2024-09-07 14:34:30 +02:00
Christoffer Lerno
8e9199f453
Untyped splat.
2024-09-07 14:26:42 +02:00
Christoffer Lerno
223501eeca
Support splat for varargs #1352 .
2024-09-07 05:26:43 +02:00
Christoffer Lerno
7649738618
Improve lvalue handling in the compiler. #1357
2024-09-07 03:19:35 +02:00
Christoffer Lerno
78c60ae695
Increase stack size for msys.
2024-09-07 01:37:45 +02:00
Christoffer Lerno
f5f122d5a5
Reduce recursion depth. Improve error message.
2024-09-07 00:48:16 +02:00
Christoffer Lerno
4b27a33a10
Refactor vasplat.
2024-09-07 00:29:41 +02:00
id3nom
15aca2eb84
Add CMake option C3_ENABLE_CLANGD_LSP ( #1414 )
...
* CMake option C3_ENABLE_CLANGD_LSP
The CMake option enables the generation of compile_commands.json in
the build directory and the creation of a symlink in the root
directory targeting the new file,
this will allow the Clangd Language Server Protocol (LSP) to
function properly.
* Added .editorconfig
EditorConfig helps maintain consistent coding styles:
https://editorconfig.org/
2024-09-06 23:06:09 +02:00
Christoffer Lerno
1cb91c0ac9
Fold default args in non-debug.
2024-09-06 23:04:09 +02:00
Christoffer Lerno
840b3b3161
"optsize" did not work correctly in project.json.
2024-09-06 22:55:15 +02:00
Christoffer Lerno
a5cf3ce2f1
Update releasenotes.
2024-09-06 20:56:38 +02:00
Lars Nilsson
04c85eb9ce
Adding hashmap and map initialization functions with data ( #1402 )
...
Adding hashmap and map initialization functions with data to populate them with
2024-09-06 20:55:42 +02:00
Christoffer Lerno
82364d2e3c
Function vasplat refactoring.
2024-09-06 20:54:28 +02:00
Christoffer Lerno
3db7bf5dfd
Crash when reading an empty 'manifest.json'.
2024-09-06 18:05:43 +02:00
Christoffer Lerno
de13023981
Converting a slice to a vector/array would copy too little data.
2024-09-06 15:36:43 +02:00
Christoffer Lerno
35b825c78a
Function vasplat refactoring.
2024-09-06 11:44:48 +02:00
Christoffer Lerno
28428fcf30
Handle "splice splat" in the vararg slot as an expression.
2024-09-06 10:43:03 +02:00
Christoffer Lerno
1e570bf506
Rename vec_erase_ptr_at to vec_erase_at.
2024-09-06 00:41:07 +02:00
Christoffer Lerno
ad0e97ab7b
Deprecated inline generic types, deprecated tuple / triple types.
2024-09-05 23:42:20 +02:00
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