Christoffer Lerno
c5494a23ce
Update readme
v0.7.1
2025-04-30 16:13:59 +02:00
Christoffer Lerno
5dcc67aa1b
Release candidate 0.7.1
2025-04-30 14:37:14 +02:00
Christian Buttner
335f53fb64
Rework Win32 mutex, condition variable and once flag ( #2111 )
...
* Rework Win32 mutex, condition variable and once flag.
2025-04-29 22:50:01 +02:00
Christoffer Lerno
3636898ac0
Fixed enum regression after 0.7.0 enum change.
2025-04-29 11:53:32 +02:00
Christoffer Lerno
5ba24e05d0
Typo
2025-04-27 14:22:51 +02:00
Christoffer Lerno
0ada5504af
Add a file about contributing.
2025-04-27 14:01:22 +02:00
Christoffer Lerno
8ac02a28cc
Error message for casting generic to incompatible type does not work properly with nested generics #1953
2025-04-27 00:40:43 +02:00
Christoffer Lerno
246957b8bd
Minor refactoring
2025-04-26 23:32:52 +02:00
Christian Buttner
0595270d9a
Fix mem::copy_inline compile.
2025-04-25 16:04:41 +02:00
Christoffer Lerno
8b86d1461d
"Length mismatch between slices" when there is none #2110
2025-04-25 16:03:36 +02:00
Christoffer Lerno
0129308bf3
c3c build picks first target rather than the first executable #2105 .
2025-04-25 15:44:34 +02:00
Christoffer Lerno
05094b4f47
@ensure should be allowed to read "out" variables. #2107
2025-04-25 15:36:07 +02:00
Christoffer Lerno
9a59cd164d
Fixed regression slice copy #2106
2025-04-25 15:14:00 +02:00
Christoffer Lerno
3eecaf9e29
Compiler crash when passing an untyped list as an argument to assert #2108 .
2025-04-25 15:02:23 +02:00
Christoffer Lerno
8b47673524
Added Enum.lookup and Enum.lookup_field.
2025-04-25 14:44:00 +02:00
Christoffer Lerno
8b29e4780d
The %s would not properly print function pointers.
2025-04-25 11:26:28 +02:00
niedlich
fd2a81afb1
Improved CMake integration of LLVM ( #2103 )
...
Added the paths for the CMake config files for LLVM 19 and higher to ``CMAKE_PREFIX_PATH``,
so that they will also be searched automatically.
2025-04-23 11:41:26 +02:00
Christoffer Lerno
a0d4df2272
Update README.md
...
Add showcase link.
2025-04-23 00:52:46 +02:00
Christoffer Lerno
e39c7cae8d
Comparing a distinct type with an enum with an inline distinct type failed unexpectedly
2025-04-22 21:51:37 +02:00
Christoffer Lerno
8a2907806b
Fixes to tclone and other temp allocations with overaligned data.
2025-04-20 21:30:36 +02:00
Christoffer Lerno
f778e75757
Added missing @clone_aligned and add checks to @tclone
2025-04-20 18:31:52 +02:00
hyperpastel
6ab7953706
Patch false maybe-uninitialized warning
2025-04-20 16:59:52 +02:00
Christoffer Lerno
42e4370994
Fix conditional in slice assign check.
2025-04-18 22:14:33 +02:00
Christoffer Lerno
9a1fdbbca0
Add missing build_options.c commit.
2025-04-18 19:50:04 +02:00
joshringuk@gmail.com
434a0e8e4b
array contains
2025-04-18 18:15:01 +02:00
Christoffer Lerno
946c167bf1
Improve error for default args #2096 . Deprecated old inference with slice copy. Copying must now ensure a slicing operator at the end of the right hand side: foo[1..2] = bar[..] rather than the old foo[1..2] = bar. The old behaviour can be mostly retained with --use-old-slice-copy).
2025-04-18 17:19:04 +02:00
Christoffer Lerno
ba10c8953d
@ensure was not included when the function doesn't return a value #2098 .
2025-04-17 20:26:21 +02:00
Christoffer Lerno
72d7813c20
@if was ignored on attrdef, regression 0.7 #2093
2025-04-17 19:07:48 +02:00
Christoffer Lerno
1083de1f81
- Fix broken enum inline -> bool conversions #2094 .
2025-04-17 19:00:04 +02:00
Christoffer Lerno
b4b6cba301
- Improved error messages on Foo { 3, abc } #2099 .
2025-04-17 18:42:25 +02:00
Christoffer Lerno
3244898610
- @if now does implicit conversion to bool like $if. #2086
2025-04-16 23:49:12 +02:00
Christoffer Lerno
6454856fdb
String str = "" is now guaranteed to be null terminated. #2083
2025-04-16 23:19:28 +02:00
Christoffer Lerno
5cf48ad730
Add Ubuntu 22
2025-04-16 20:25:42 +02:00
Boris Barbulovski
b5d0739de0
Add env::ANDROID to std.*
2025-04-16 17:47:49 +02:00
AlexCodesApps
f6e130ad3c
Type mismatch fix ( #2081 )
...
* Fixed type mismatch in static function 'match_argopt' in file 'src/build/build_options.c',
where false was returned from the function which has a return type of 'const char *'.
2025-04-16 17:46:54 +02:00
Simone Raimondi
f9e62b80ea
Fix for build ( #2082 )
2025-04-16 17:45:39 +02:00
Christoffer Lerno
debbae594c
Remove more Ubuntu 20
2025-04-16 17:11:53 +02:00
Christoffer Lerno
37ffd92f7b
- Bug with slice acces as inline struct member #2088 .
2025-04-16 17:02:22 +02:00
Christoffer Lerno
a44e932806
ABI bug on x64 Linux / MacOS when passing a union containing a struct of 3 floats. #2087
2025-04-16 15:58:14 +02:00
Christoffer Lerno
668175851b
Improved error message #2084
2025-04-16 15:25:05 +02:00
Christoffer Lerno
e7c9ec0938
Added comments.
2025-04-16 01:32:01 +02:00
Christoffer Lerno
d6fa9cd50b
Added some comments about the tracking allocator.
2025-04-15 16:03:12 +02:00
Christoffer Lerno
41e173d255
Added some comment about the temp allocator.
2025-04-15 15:53:11 +02:00
Christoffer Lerno
fde2bb2a7e
Support @if on locals.
2025-04-15 13:20:10 +02:00
Christoffer Lerno
0a9bb2e8e0
Fix to simple a += b overload fallback. Renaming and reordering in the stdlib.
2025-04-15 12:01:58 +02:00
Christoffer Lerno
b64dcde21d
Make aliases able to use @deprecated. Prefer math::I and math::I_F for math::IMAGINARY and math::IMAGINARYF the latter is deprecated. Combination of += and [] overloads now properly handled in most cases.
2025-04-14 20:51:01 +02:00
Christoffer Lerno
eade5fa57a
Fix Windows sincos.
2025-04-14 03:36:03 +02:00
Christoffer Lerno
f85198e3ee
Added += and related as overloads. Updated tests and docs. Slice2 extracted to its own file.
2025-04-14 00:55:46 +02:00
Christoffer Lerno
dca805bd8a
Added tests to sincos. Correctly detect multiple overloads of the same type. Fix regression quaternion overload. Remove "1." style.
2025-04-13 15:46:27 +02:00
Christoffer Lerno
3888fcb182
- Add @operator_r and @operator_s attributes.
2025-04-13 13:43:03 +02:00