Kiana
|
802fbfcf1e
|
Add ansi.c3 for AnsiColor support (#2261)
* Add ansi.c3 for AnsiColor support
* Added tests
updated functions to macros
added formatting codes
* Fixed indentation
* Update names. Add plain rgb version. Add runtime colors.
* Update indentation, add 21-29
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-07-06 01:37:54 +02:00 |
|
Christoffer Lerno
|
0d170a70b6
|
Make to_float more tolerant to spaces.
|
2025-07-05 19:42:44 +02:00 |
|
Christoffer Lerno
|
60d96ca7b7
|
Initialize pool correctly in print_backtrace.
|
2025-07-04 02:43:49 +02:00 |
|
Christoffer Lerno
|
af192354fd
|
Comparing a null ZString with a non-null ZString would crash.
|
2025-07-02 01:22:34 +02:00 |
|
Christoffer Lerno
|
13bb2b6690
|
Const Enums From / to ordinal using casts is back. Add "--use-old-enums", deprecating lookup.
|
2025-06-30 21:41:52 +02:00 |
|
Disheng Su
|
d46733e11a
|
Add string escaping and unescaping functionality (#2243)
* Add `String.escape`, `String.unescape` for escaping and unescaping a string.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-06-29 20:11:11 +02:00 |
|
Book-reader
|
5246ef83e7
|
Fix typo in libc_allocator.c3
|
2025-06-28 14:33:18 +02:00 |
|
Christoffer Lerno
|
8a4e7b6ce8
|
Fix regression causing text output.
|
2025-06-25 02:48:22 +02:00 |
|
Christoffer Lerno
|
a0497e9274
|
math::overflow_* wrappers incorrectly don't allow distinct integers #2221.
|
2025-06-21 13:28:45 +02:00 |
|
Christoffer Lerno
|
2f45beecbe
|
@pool now has an optional reserve parameter, some minor changes to the temp_allocator API
|
2025-06-19 01:13:43 +02:00 |
|
Christoffer Lerno
|
a55f56a88f
|
Linker errors when shadowing @local with public function #2198
|
2025-06-18 02:07:07 +02:00 |
|
Christoffer Lerno
|
b2c994618f
|
Fix to is_array_or_slice_of_char #2214.
`is_array_or_slice_of_char` and `is_arrayptr_or_slice_of_char` are replaced by constant `@` variants.
|
2025-06-15 16:54:20 +02:00 |
|
Christoffer Lerno
|
cf167c9446
|
Make unreachable() only panic in safe mode.
|
2025-06-14 18:37:49 +02:00 |
|
Christoffer Lerno
|
e0237096d6
|
- Support untyped second argument for operator overloading.
- Distinct versions of builtin types ignore @operator overloads #2204.
- @operator macro using untyped parameter causes compiler segfault #2200.
- Add comparison with `==` for ZString types.
|
2025-06-13 17:12:39 +02:00 |
|
Christoffer Lerno
|
becda6ea1d
|
Improve Android linking
|
2025-06-08 15:06:19 +02:00 |
|
Book-reader
|
9bc5e259d2
|
fix types::may_load_atomic with enums
|
2025-06-07 13:54:27 +02:00 |
|
Christoffer Lerno
|
5e45c34f21
|
- Deprecate String.is_zstr and String.quick_zstr #2188.
|
2025-06-06 15:30:46 +02:00 |
|
Christoffer Lerno
|
f2daf2e11e
|
@sprintf macro (based on the $$sprintf builtin) allows compile time format strings #1874.
|
2025-06-06 03:18:28 +02:00 |
|
Christoffer Lerno
|
c9d9127da6
|
Deprecate foo.#bar.
|
2025-06-05 12:51:35 +02:00 |
|
Christoffer Lerno
|
7f85534414
|
- Implicitly convert from constant typeid to Type in $Type assignment, and $assignable.
- Make $Type parameters accept constant typeid values.
|
2025-06-05 00:37:16 +02:00 |
|
Christoffer Lerno
|
8fc01d4e1a
|
Simplify contract macros.
|
2025-06-02 22:53:06 +02:00 |
|
Christoffer Lerno
|
4d848f1707
|
Incorrect ensure on String.split.
|
2025-06-01 20:28:32 +02:00 |
|
Christoffer Lerno
|
b5ddc36d7f
|
Limit vector max size, default is 4096 bits, but may be increased using --max-vector-size.
|
2025-05-23 21:40:14 +02:00 |
|
Christoffer Lerno
|
b7ae5dce8b
|
Deprecate MyEnum.elements.
|
2025-05-16 16:12:37 +02:00 |
|
Christoffer Lerno
|
91db6ceeda
|
Defining an enum like ABC = { 1 2 } was accidentally allowed.
|
2025-05-16 09:56:08 +02:00 |
|
Christoffer Lerno
|
b83e57b952
|
Added @rnd() compile time random function (using the $$rnd() builtin). #2078
|
2025-05-15 00:51:33 +02:00 |
|
DragonFriend
|
50b4d7aa35
|
Add replace and treplace to String (#2127)
* Add replace and treplace functions to String
|
2025-05-14 11:00:20 +02:00 |
|
Christoffer Lerno
|
abe4727c3a
|
Deprecate uXX and iXX bit suffixes.
Add experimental LL / ULL suffixes for int128 and uint128 literals.
|
2025-05-13 23:48:59 +02:00 |
|
Christoffer Lerno
|
634438eb82
|
Cleanup.
|
2025-05-08 21:05:43 +02:00 |
|
Christoffer Lerno
|
164c901ae6
|
More comments on the allocators.
|
2025-05-07 12:52:19 +02:00 |
|
Christoffer Lerno
|
d313afa487
|
Add String.count to count the number of instances of a string.
|
2025-05-02 21:48:04 +02:00 |
|
Christoffer Lerno
|
8a0907cb70
|
Add String.tokenize_all to replace the now deprecated String.splitter
|
2025-05-02 20:51:15 +02:00 |
|
Christoffer Lerno
|
8a09b2e5f7
|
std::ascii moved into std::core::ascii. Old _m variants are deprecated, as is uint methods.
|
2025-05-02 18:06:28 +02:00 |
|
Christoffer Lerno
|
bfccc303d1
|
Added comments.
|
2025-05-02 13:36:46 +02:00 |
|
Christoffer Lerno
|
0d3299f267
|
Added String.quick_ztr and String.is_zstr
|
2025-05-02 13:22:13 +02:00 |
|
Christian Buttner
|
0595270d9a
|
Fix mem::copy_inline compile.
|
2025-04-25 16:04:41 +02:00 |
|
Christoffer Lerno
|
8b47673524
|
Added Enum.lookup and Enum.lookup_field.
|
2025-04-25 14:44:00 +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 |
|
joshringuk@gmail.com
|
434a0e8e4b
|
array contains
|
2025-04-18 18:15:01 +02:00 |
|
Boris Barbulovski
|
b5d0739de0
|
Add env::ANDROID to std.*
|
2025-04-16 17:47:49 +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
|
0a9bb2e8e0
|
Fix to simple a += b overload fallback. Renaming and reordering in the stdlib.
|
2025-04-15 12:01:58 +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
|
28fc03c376
|
Do not user finalizer with wasm
|
2025-04-08 00:03:35 +02:00 |
|
Christoffer Lerno
|
1290906d66
|
Setup temp allocator by default on Wasm
|
2025-04-07 23:35:38 +02:00 |
|
Christoffer Lerno
|
25d416aca1
|
Regression with invalid setup of the WASM temp allocator.
|
2025-04-07 21:58:21 +02:00 |
|
Christoffer Lerno
|
3cb5df5639
|
0.7 fixes. Improving the yacc grammar.
|
2025-04-04 18:14:16 +02:00 |
|