Commit Graph

40 Commits

Author SHA1 Message Date
28ac9ed8c8 Modify Str8 substr functionality 2025-02-22 13:39:03 +00:00
99f7dcd794 Rename wapp_str8_buf_alloc to wapp_str8_alloc_buf 2025-02-18 21:02:02 +00:00
c5ca39939d Fix shell commander test on Windows 2025-02-16 22:44:42 +00:00
11949e69be Update shell_commander to use Str8 instead of const char * 2025-02-16 21:31:22 +00:00
0569fca193 Add str8_copy functions 2025-02-16 17:34:48 +00:00
19134d0e15 Address Windows Spectre mitigation warnings 2025-02-16 14:55:17 +00:00
a4a1e82c40 Add tests for str8 splitting, joining and concatenation 2025-02-15 23:45:37 +00:00
241edfc7e4 Change Str8Node to use Str8 instead of Str8RO 2025-02-15 20:36:31 +00:00
d635e03cd8 Add tests for Str8List utilities 2025-02-15 20:29:50 +00:00
ff4d3c9e99 Add tests for string allocation functions 2025-02-09 18:47:10 +00:00
a7e98211f9 Update find and rfind tests 2025-02-09 16:41:29 +00:00
4642361969 Add tests for find and rfind 2025-02-09 16:35:42 +00:00
bbf38499ca Implement read-only string literals 2025-02-09 14:29:54 +00:00
7657ad1b58 Remove libc allocator 2025-02-01 21:39:27 +00:00
abf9b09495 Implement test for wapp_str8_set 2024-10-17 00:08:08 +01:00
84a4ec223c Commit the Str8 tests 2024-10-08 23:58:24 +01:00
8f10ac2916 Add string buffer macro and tests for Str8 2024-10-08 23:57:55 +01:00
685682e1c8 revamp-strings (#1)
Co-authored-by: Abdelrahman Said <said.abdelrahman@flawlessai.com>
Reviewed-on: #1
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2024-10-07 22:35:56 +00:00
17f0f0eaf3 Fix cpath tests on Windows 2024-10-06 19:54:34 +01:00
8d8fcf9dc5 Improve early exit code in test_cpath 2024-10-06 19:33:13 +01:00
22ece7215a Move path utils to os, fix bugs with it and write tests 2024-10-06 19:28:34 +01:00
e9451f10f8 Reformat and increase minimum arena capacity to 4 pages 2024-10-06 12:42:12 +01:00
12f182f0cf Define macros for C linkage 2024-10-05 22:06:13 +01:00
ffb99a3644 Fix MSVC errors and warnings 2024-10-05 20:07:48 +01:00
1ddc5610f9 Remove aligned_alloc from libc allocator since it's not implemented on Windows 2024-10-05 19:11:13 +01:00
cd38672581 Add test for Arena's reallocation functionality 2024-09-14 17:28:07 +01:00
16a1b8fa35 Reformat 2024-09-14 14:49:18 +01:00
8468bb8e28 Reorganise allocators 2024-09-07 20:27:49 +01:00
d30eee0cf8 Add tests for Allocator implementations 2024-09-07 15:43:47 +01:00
775f0864a8 Rename arena default allocation function 2024-08-23 22:29:56 +01:00
8b6fb23bac Use size utils in arena tests 2024-08-23 21:50:22 +01:00
8ed372d938 Ensure stderr is piped to stdout to capture errors in output 2024-06-17 00:18:27 +01:00
8a91a0ec6b Add tests for the shell commander 2024-06-17 00:15:10 +01:00
8cc17f1490 Reformat and update types 2024-06-09 22:28:07 +01:00
dbdab01a2c Merge branch 'temp' into 'main' 2024-06-09 01:50:51 +01:00
cf12144230 Add utility macros for arena initialisation 2024-06-09 01:46:23 +01:00
Abdelrahman Said
8d89695fcc Test reserving a massive arena 2024-06-03 08:05:14 +01:00
Abdelrahman Said
6499dd7be9 Rename testing macros 2024-06-03 07:58:24 +01:00
75bbb82058 Add helper macro for running test functions 2024-06-02 23:55:41 +01:00
0b63bc746d Add tests 2024-06-02 23:35:26 +01:00