Christoffer Lerno
|
a0497e9274
|
math::overflow_* wrappers incorrectly don't allow distinct integers #2221.
|
2025-06-21 13:28:45 +02:00 |
|
Zack Puhl
|
5efc721b0c
|
Add SHA512 Module to stdlib (#2227)
* add sha512 module to stdlib with passing unit tests
* fix release notes PR ref num for this
* deduplicate const SHA512 hash info
|
2025-06-20 19:08: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 |
|
Ero Mrinin
|
95137db64b
|
'next_float' macro patch (#2213)
More optimized implementation.
|
2025-06-17 09:54:27 +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
|
2afa544d7d
|
Correctly format '%c' when given a width. #2199
|
2025-06-15 02:27:36 +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
|
496d23e93f
|
Fix some @require comments.
|
2025-06-10 01:54:45 +02:00 |
|
Christoffer Lerno
|
becda6ea1d
|
Improve Android linking
|
2025-06-08 15:06:19 +02:00 |
|
Christoffer Lerno
|
c7b3ae0cf9
|
Fix Android errno
|
2025-06-08 11:33:28 +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 |
|
Awang
|
d7a11903c7
|
Add external __errno() function for env::ANDROID (#2182)
|
2025-06-06 14:47:16 +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
|
45a0895c39
|
Fix fmod regression.
|
2025-06-04 15:25:18 +02:00 |
|
Christoffer Lerno
|
72cc8e430a
|
-0xFF will now be a signed integer.
- `-2147483648`, MIN literals work correctly.
|
2025-06-04 15:20:49 +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 |
|
BWindey
|
d143ec227c
|
Libc ioctl extern function (#2162)
* Add barebones extern ioctl() binding in libc
* Update release notes
|
2025-05-29 23:00:35 +02:00 |
|
Christoffer Lerno
|
be3f9007c9
|
Check pointer/slice/etc on [out] and & params. #2156.
|
2025-05-27 23:03:43 +02:00 |
|
Book-reader
|
61a4dcc807
|
add macro wrappers for $$overflow_add, $$overflow_sub, and $$overflow_mul builtins
|
2025-05-26 20:58:16 +02:00 |
|
Christoffer Lerno
|
fe98225f0a
|
Remove superfluous cleanup parameter in os::exit and os::fastexit.
|
2025-05-23 22:04:54 +02:00 |
|
Christoffer Lerno
|
bae3e59217
|
Add missing @noreturn to os::exit
|
2025-05-23 21:41:33 +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
|
6c0e94cad9
|
Fix indent
|
2025-05-23 16:45:57 +02:00 |
|
Christian Brendlin
|
84aee6a25b
|
Feature: Add inherit_stdio Option for SubProcess (#2138)
* add inherit_stdio option
|
2025-05-22 11:06:23 +02:00 |
|
Gregory Oakes
|
5c3b637cf6
|
Add Maybe.equals when inner type is equatable.
|
2025-05-22 00:06:11 +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
|
6c822e5aa3
|
Add math::@ceil() compile time ceil function. #2134
|
2025-05-15 12:46:46 +02:00 |
|
Christoffer Lerno
|
b83e57b952
|
Added @rnd() compile time random function (using the $$rnd() builtin). #2078
|
2025-05-15 00:51:33 +02:00 |
|
Christoffer Lerno
|
24ebe975d8
|
Allow the right hand side of ||| and &&& be runtime values.
|
2025-05-14 23:40:36 +02:00 |
|
Christoffer Lerno
|
511ae0da00
|
Contract on trying to use Object without initializing it.
|
2025-05-14 23:22:34 +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
|
54e70cae0f
|
Add DateTime + Duration overloads.
|
2025-05-07 10:49:30 +02:00 |
|
Christoffer Lerno
|
584a8a2e60
|
- Fix regression in Time diff due to operator overloading #2124
- Add `Duration * Int` and `Clock - Clock` overload.
|
2025-05-06 22:33:39 +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
|
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 |
|