Christoffer Lerno
bf30e52993
Improved error message on invalid subscript index type #1535 .
2024-10-10 14:59:16 +02:00
Christoffer Lerno
a91ddd40dd
Infer now works across ternary. Crash returning struct or vector from function using ternary expression #1537 .
2024-10-10 14:44:40 +02:00
Christoffer Lerno
57ecadd23e
Updated CSV API
2024-10-10 14:14:24 +02:00
Christoffer Lerno
967f14148f
Bug when defers and $if were combined in a macro, which would cause miscompilation.
2024-10-10 13:42:12 +02:00
Christoffer Lerno
7a6544b17c
Constant bytes <=> char[] conversion should work #1514
2024-10-09 19:38:06 +02:00
Christoffer Lerno
bf59efd3f4
Fix sincos to be different on Darwin compared to other.
2024-10-09 16:14:24 +02:00
Christoffer Lerno
c1266e9d06
Compiler error when any/interface initialized using {} #1533 .
2024-10-09 13:12:40 +02:00
Christoffer Lerno
557adb6ed9
Update the init function of the arena allocator.
2024-10-09 12:45:50 +02:00
Christoffer Lerno
9f10996ac7
Bug when a continue is copied in a defer.
2024-10-08 22:13:30 +02:00
Christoffer Lerno
31f48829b0
Added CBool #1530 .
2024-10-08 22:00:06 +02:00
Christoffer Lerno
39d4a97e24
Fix broken sincos function.
2024-10-08 20:34:41 +02:00
Christoffer Lerno
a665978b64
Fixing some whitespace issues.
2024-10-08 19:38:31 +02:00
Koni Marti
0cc62058a9
fix(string): use heap allocator for ZString.copy
...
Use the heap allocator for ZString.copy() instead of the temp allocator
to stay consistent across the code base.
The temp allocator is used for ZString.tcopy().
2024-10-08 17:33:29 +02:00
Christoffer Lerno
7dfdb9d061
Fix to ad hoc generic types.
2024-10-08 11:48:20 +02:00
Christoffer Lerno
e3ea1d5049
Deprecate @adhoc, allow non-nested ad hoc generic types.
2024-10-08 11:02:10 +02:00
Christoffer Lerno
19a96acac8
Improve error message in the case of MyInterface x = foo; #1522
2024-10-07 21:00:17 +02:00
Christoffer Lerno
80d016e076
Unintended deref of pointers with methods caused regression with hash function.
2024-10-07 20:43:37 +02:00
Fernando López Guevara
ac214b97df
chore(cmake): switch from LLVM_LIBRARY_DIRS (list) to LLVM_LIBRARY_DIR for single path usage
2024-10-07 19:12:05 +02:00
Fernando López Guevara
1a948e4341
fix(time): update month
2024-10-07 19:11:14 +02:00
Christoffer Lerno
6bbc77a69c
Segfault with passing a program with - using stdin. Using no module with - would reject the program. #1523
2024-10-06 12:19:13 +02:00
Denis Palashevskii
217151be8d
fix int formatting in std::collections::object
2024-10-05 14:03:27 +02:00
Christoffer Lerno
2ef1465244
Improved ObjC support.
2024-10-04 23:25:51 +02:00
Christoffer Lerno
cfc1d0d8f8
Incorrect subscript resolution #1519
2024-10-04 20:50:48 +02:00
Christoffer Lerno
6fabecac1a
Better error for int Foo(int a) declarations #1516
2024-10-04 18:15:06 +02:00
Christoffer Lerno
77ac864995
Unexpected compile error using a typed constant with copysign #1517
2024-10-04 18:01:57 +02:00
Christoffer Lerno
f95769541d
Better error for int a[4] = .... #1518
2024-10-04 17:52:32 +02:00
Christoffer Lerno
fa4ca7944f
- Add read/write to stream with big endian ints.
...
- Move accidently hidden "wrap_bytes".
2024-10-03 20:42:25 +02:00
Christoffer Lerno
02e9bfaf31
Separate const slice. Fix #1489 . Fix const slice appending. Remove unintended print of char[] as String. Support const conversion of array -> slice.
2024-10-03 15:04:33 +02:00
Christoffer Lerno
7f66d5992f
Update latest version.
2024-10-03 13:10:25 +02:00
Christoffer Lerno
84e10cf635
0.6.3 Release version.
v0.6.3
2024-10-03 10:11:31 +02:00
Christoffer Lerno
1b8f8c5f5a
Compiler crash when compiling c code in a library without --obj-out #1503 .
2024-10-03 00:56:01 +02:00
Fernando López Guevara
131a783e89
feat(hash): added test for sha256
2024-10-02 16:55:17 +02:00
chri-k
2233f24c8f
Add variants of DString.insert_at to match .append ( #1510 )
2024-10-02 10:22:59 +02:00
Christoffer Lerno
607a625641
Updated bigint.
2024-10-02 01:13:34 +02:00
Christoffer Lerno
9b49d19224
DString reverse and an initial BigInt implementation (untested),
2024-10-01 22:51:48 +02:00
Christoffer Lerno
46ae4353e0
Assume XTensa in 21+ instead.
2024-10-01 16:06:23 +02:00
Christoffer Lerno
44fcba2e3a
Remove LLVM 20
2024-10-01 15:58:23 +02:00
Christoffer Lerno
f434795ee5
Test enable 19 and 20
2024-10-01 15:51:44 +02:00
Christoffer Lerno
0ea423d022
Foreach over distinct iterable would ignore operator(len).
2024-10-01 13:00:54 +02:00
Fernando López Guevara
c9b9de2838
fix(string): remove allocator argument on temp_ascii_to_lower
2024-09-30 22:01:44 +02:00
Christoffer Lerno
5918d5120f
Foreach over distinct pointer failed to be caught as error #1506 .
2024-09-30 21:32:33 +02:00
DanyDollaro
0d73f2fffa
Added mutex tests ( #1501 )
...
* Added mutex tests. Add errorcheck in safe mode for Posix threads. Make non-recursive locks fail when used recursively on Windows. Fix thread pool tests. Simple locking count.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2024-09-30 20:57:16 +02:00
Christoffer Lerno
c8018c5543
Added generic PBKDF2 implementation.
2024-09-30 00:07:49 +02:00
Christoffer Lerno
071bd0ebf2
Fix bug when reading zip manifest, that would not return a zero terminated string. #1490
2024-09-29 21:14:03 +02:00
Christoffer Lerno
a00fce516e
Added test and releasenotes for #1498 .
2024-09-29 11:23:40 +02:00
chri-k
94abb3bd0c
Fix escape sequence handling in encoding::json
2024-09-29 11:22:15 +02:00
Christoffer Lerno
2e94ea1a0d
Improved error messages on Foo a = foo { 1 }; #1496
2024-09-28 23:53:31 +02:00
Christoffer Lerno
3b009e0b50
Added generic HMAC.
2024-09-28 23:28:11 +02:00
Christoffer Lerno
cc130e04dd
Added MD5 and crypto::safe_compare.
2024-09-28 22:16:25 +02:00
Christoffer Lerno
2eca868540
Add UUID generation.
2024-09-28 20:58:03 +02:00