Commit Graph

437 Commits

Author SHA1 Message Date
Abdelrahman Said 0e5942af34 Switch to using Makefile for *nix systems 2025-04-13 20:11:05 +01:00
Abdelrahman Said c83c652b37 Add UUIDv4 generator 2025-03-22 02:27:59 +00:00
Abdelrahman Said 74428f1caf Rename xorshift functions 2025-03-22 00:30:20 +00:00
Abdelrahman Said d661312cfa Add xorshift prng 2025-03-16 22:34:56 +00:00
abdelrahman 70e075d2f6 Add message at top of codegen files to avoid overwriting them 2025-03-02 13:42:23 +00:00
abdelrahman 96db885344 Remove codegen as submodule and just add it in place 2025-03-02 13:28:26 +00:00
abdelrahman fb512e4a15 Add code generation for windows 2025-03-02 13:22:05 +00:00
abdelrahman 9361f0fe37 Run code generation for posix platforms 2025-03-02 13:20:51 +00:00
abdelrahman e7d2553400 Add code generation for doubly linked list 2025-03-02 13:20:27 +00:00
abdelrahman 509724cc31 Update .gitignore 2025-03-02 13:17:50 +00:00
Abdelrahman Said 82c23eed5e Use the wapp.h header in tests 2025-02-24 08:52:46 +00:00
Abdelrahman Said 9403193f09 Update build scripts 2025-02-24 07:58:42 +00:00
Abdelrahman Said fa1d9eec0d Fix files not using relative includes 2025-02-24 07:58:22 +00:00
Abdelrahman Said 4c14588d92 Update core headers and sources to use relative includes 2025-02-24 07:51:08 +00:00
Abdelrahman Said 9e66bd60bd Update testing headers to user relative includes 2025-02-24 07:24:26 +00:00
Abdelrahman Said ce4957d0a0 Update common headers to user relative includes 2025-02-24 07:21:28 +00:00
abdelrahman b9ea290322 Update posix compile script 2025-02-24 00:30:48 +00:00
abdelrahman 1479c13417 Move os layer to be part of the core 2025-02-24 00:30:25 +00:00
abdelrahman 4520f2269d Reorganise memory utilities 2025-02-24 00:21:14 +00:00
abdelrahman 6119cf5c5f Improve Str8 macros ergonomics 2025-02-23 23:53:28 +00:00
abdelrahman 358f61e556 Reorder tests 2025-02-23 19:27:54 +00:00
abdelrahman 7ac6100a5a Add platform detection to Windows build 2025-02-23 16:26:47 +00:00
abdelrahman 19efb08a3a Add platform detection to posix compilation script 2025-02-23 15:32:13 +00:00
abdelrahman 491c742189 Add single header and single source entries for all components as well as the full library (#2)
Reviewed-on: #2
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2025-02-23 15:19:14 +00:00
abdelrahman 4f5dd3900f Remove unused join_root_and_leaf 2025-02-22 22:11:51 +00:00
abdelrahman dbedcb3100 Replace char * with Str8 in cpath dirup 2025-02-22 22:09:04 +00:00
abdelrahman d9314fb41e Update slice and substr functions 2025-02-22 21:34:29 +00:00
abdelrahman fe2bb65b06 Fix spectre warning for MSVC 2025-02-22 18:04:05 +00:00
abdelrahman ed4ec54c7a Switch wapp_cpath_join_path to use Str8 2025-02-22 17:48:25 +00:00
abdelrahman ba5e902a1d Add wapp_str8_push_back and wapp_str8_list_empty 2025-02-22 17:48:04 +00:00
abdelrahman 01f066d20c Add test for wapp_str8_format 2025-02-22 16:44:19 +00:00
abdelrahman 80bd68f313 Add string formatting to Str8 2025-02-22 16:41:05 +00:00
abdelrahman cda7e413e2 Rename tester directory 2025-02-22 15:26:40 +00:00
abdelrahman 54da75f89f Update comment for wapp_str8_lit_ro_initialiser_list 2025-02-22 15:03:13 +00:00
abdelrahman 7df64a3168 Fix ASan linking error when compiling with gcc 2025-02-22 14:58:41 +00:00
abdelrahman f9f8f092b5 Fix compilation error in gcc 2025-02-22 14:58:19 +00:00
abdelrahman f89a4bf343 Add wapp_str8_lit_ro_initialiser_list to fix gcc compilation errors 2025-02-22 14:33:15 +00:00
abdelrahman 0d795cc0d9 Update wapp_str8_alloc_buf to make a single big allocation 2025-02-22 13:54:03 +00:00
abdelrahman 28ac9ed8c8 Modify Str8 substr functionality 2025-02-22 13:39:03 +00:00
abdelrahman 99f7dcd794 Rename wapp_str8_buf_alloc to wapp_str8_alloc_buf 2025-02-18 21:02:02 +00:00
abdelrahman c5ca39939d Fix shell commander test on Windows 2025-02-16 22:44:42 +00:00
abdelrahman a308359942 Add wapp_str8_equal_to_count function 2025-02-16 22:44:18 +00:00
abdelrahman a3d9bcf1a1 Update .gitignore 2025-02-16 21:42:14 +00:00
Abdelrahman Said a534d44db5 Reduce arena size in wapp_shell_commander_execute 2025-02-16 21:39:09 +00:00
abdelrahman 11949e69be Update shell_commander to use Str8 instead of const char * 2025-02-16 21:31:22 +00:00
abdelrahman 2c9e4c91a0 Add function to copy Str8 to C string buffer 2025-02-16 21:30:25 +00:00
abdelrahman 76b078fbc0 Use str8_copy function in tester 2025-02-16 17:35:10 +00:00
abdelrahman 0569fca193 Add str8_copy functions 2025-02-16 17:34:48 +00:00
abdelrahman 6078e54087 Fix windows bugs 2025-02-16 17:09:40 +00:00
abdelrahman 180425707b Use Str8 instead of const char * in termcolour functions 2025-02-16 16:32:52 +00:00