Christoffer Lerno
0925010c07
Removal of any-switches
2025-03-03 15:02:25 +01:00
Christoffer Lerno
13f824e349
Add ONHEAP for List and HashMap
2025-03-03 12:20:18 +01:00
Christoffer Lerno
3d6f28919c
Aliases were incorrectly considered compile time constants.
2025-03-03 11:35:18 +01:00
Christoffer Lerno
910fc6e364
Post and pre-decrement operators switched places for vector elements. #2010 .
2025-03-03 01:21:01 +01:00
Christoffer Lerno
c40198b016
- new_* functions in general moved to version without new_ prefix.
...
- `string::new_from_*` changed to `string::from_*`.
- `String.to_utf16_copy` and related changed to `String.to_utf16`.
- `String.to_utf16_tcopy` and related changed to `String.to_temp_utf16`
- `mem::temp_new` changed to `mem::tnew`.
- `mem::temp_alloc` and related changed to `mem::talloc`.
- `mem::temp_new_array` changed to `mem::temp_array`.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
b35aafd3d5
Update for NoSanitize on globals.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
222bfb158b
Remove deprecated functions.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
61c67c8f23
Fix address sanitizer to work on MachO targets (e.g. MacOS).
2025-03-03 00:32:20 +01:00
Christoffer Lerno
2b90500c22
Remove container sanitizer unless using the LIBC allocator.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
74a6e9f0c0
Add struct swizzle test.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
fbac2d6df3
Formatting updates.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
8f0de40b3d
Update nix.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
8bb99c6f81
Fixes to examples and MSVC compilation.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
cc5f9c6aab
Update CI for 0.7
2025-03-03 00:32:20 +01:00
Christoffer Lerno
fb6b048bd0
Remove operator(@construct). Fix sample.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
2a895ec7be
First 0.7 update, removing all deprecated features.
2025-03-03 00:32:20 +01:00
Christoffer Lerno
cff6697818
Fix CI for Windows
2025-03-02 01:25:16 +01:00
Christoffer Lerno
453cd295e2
Bundle README
2025-03-02 00:01:56 +01:00
Christoffer Lerno
55c88408be
Remove some deprecated use.
2025-03-01 23:58:28 +01:00
Christoffer Lerno
f52c2a6f96
Update information about latest version.
2025-03-01 23:24:17 +01:00
Christoffer Lerno
c430ff5d09
Retry release.
2025-03-01 21:03:21 +01:00
Christoffer Lerno
dd8e280835
Release 0.6.8
v0.6.8
2025-03-01 18:47:08 +01:00
Christoffer Lerno
34c2d8ce77
Fix regression with scripts.
2025-03-01 17:24:38 +01:00
Christoffer Lerno
28b9ff8016
Fixed some additional errors due to the BuildParseContext refactoring.
2025-03-01 12:48:22 +01:00
Christoffer Lerno
76f226f536
Fixed error and poor error message when using an invalid target name.
2025-03-01 12:30:36 +01:00
Christoffer Lerno
1b0ac13d76
Deprecation of operator(@construct)
2025-02-28 10:39:08 +01:00
Christoffer Lerno
f134b8b67a
Swizzling an inline vector in a struct would cause a crash.
2025-02-27 21:49:20 +01:00
Christoffer Lerno
33b05bcfeb
More deprecations in lib6, and updates to lib7
2025-02-27 11:10:41 +01:00
Christoffer Lerno
6d3c1f5d2f
Fix final? issues with -o.
2025-02-26 02:51:42 +01:00
Christoffer Lerno
96943ca66f
Check exe and lib output so -o works with directories. Removed construct forms from Maybe.
2025-02-26 02:35:28 +01:00
Christoffer Lerno
374d73af12
Cleanup.
2025-02-26 01:49:19 +01:00
Adversing
81397f0726
Add --print-env option to c3c ( #1880 )
...
* Add `--build-env` for build environment information.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-26 01:48:03 +01:00
Aleksandr Vedeneev
0c33b78a2f
Test runner args #1967 ( #1988 )
...
* harmonized testrun arguments with c3c --test-* naming
added --test-quiet option
added --test-noleak to disable tracking allocator mem leak detection
added --test-nocapture - tests can print out everything as they run
* Move changes to lib7
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-26 00:49:21 +01:00
Christoffer Lerno
ee5b9e5826
@if declarations were missing from -P output #1973 .
2025-02-25 17:00:47 +01:00
Christoffer Lerno
5d3c3781e4
Update msys CI
2025-02-25 16:09:23 +01:00
Christoffer Lerno
c13c0d04b1
Run MSVC with "no-terminal"
2025-02-25 16:02:51 +01:00
Christoffer Lerno
88f44f1eac
Fix test.
2025-02-25 15:48:44 +01:00
Christoffer Lerno
50680d6893
Fix bug casting bool to int to other int #1995 . Use test_suite7 in CI.
2025-02-25 15:36:06 +01:00
Christoffer Lerno
31096531e1
Several fixes for .o files and -o output, improving handling and naming, checking for existence of sub-folders before output. Warning on using .o and -o output when not single module etc. Fix to static lib regression. Info about asm / llvm / obj output.
2025-02-25 14:05:00 +01:00
Christoffer Lerno
062a67fe75
Updates to file:: and path::, Path is now passed an allocator. path::traverse function. mkdir / rmdir / chdir works directly with strings. Strings get file_basepath, path_dirname. Test suite runner now uses lib7. Bug when printing a parameter declaration error. Fix optional jumps in expression lists, #1942 .
2025-02-25 02:18:33 +01:00
Christoffer Lerno
1dfc24822e
Update pool test.
2025-02-24 22:37:20 +01:00
Christoffer Lerno
e35c7f0b90
Update pool test.
2025-02-24 18:07:36 +01:00
Christoffer Lerno
7083b2b8e5
Added --suppress-run from #1931 .
2025-02-24 11:25:07 +01:00
Christoffer Lerno
135213388d
Add bigint fixes to lib7
2025-02-24 11:15:50 +01:00
Jonas Quinten
ed62268997
std::math::bigint: Fixed init_with_array with empty array
2025-02-24 11:12:55 +01:00
Jonas Quinten
38110b0269
fix
2025-02-24 11:12:55 +01:00
Jonas Quinten
e34d56327a
std::math::bigint: Fixed init_with_u128 and init_with_array
2025-02-24 11:12:55 +01:00
Jonas Quinten
b50e6bd0e4
std::math::bigint: Added unit tests for init_with_u128 and init_with_array
2025-02-24 11:12:55 +01:00
Christoffer Lerno
3ba68f85fe
Fix bug checking for @builtin
2025-02-24 10:28:50 +01:00
Christoffer Lerno
9f5c5a9acf
Update some examples.
2025-02-24 02:20:02 +01:00