Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 23:19:00 +00:00
8ed372d938 Ensure stderr is piped to stdout to capture errors in output
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 23:15:40 +00:00
8a91a0ec6b Add tests for the shell commander
802b70f5ee Add option to discard command output
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 22:29:38 +00:00
92c2439b56 Ensure cleanup on command failure
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 22:20:27 +00:00
781a46713b Add shell commander
7c4725edef Add shell_utils
4fc99f76a5 Move termcolour to shell
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 14:31:10 +00:00
25ab75f74f Move memory utilities to common
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-16 11:30:13 +00:00
f6dd7e7aa8 Reorganise files
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-12 22:21:04 +00:00
8f5bee45c6 Reformat compile script
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-09 21:46:59 +00:00
25964d9a3c Run tests before building library
d9cf98da73 Rename print_test_result and exit on any failing function
8c153b5321 Build tests on Windows
3c4112d080 Remove building test.c from the Posix compilation script
aa28dd481b Platform abstraction for terminal colour
Compare 8 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-09 17:27:54 +00:00
2c556e12f1 Initial implementation of Windows build script
6c82898225 Update dstr to remove MSVC warnings
a85508e0a4 Add padding to StringUpdate struct
cd78913e83 Add padding to arena and test_func_result structs
a0acada9b4 Fix Windows warning about assigning in conditional expression
Compare 8 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-09 15:20:32 +00:00
99a9cd10f5 Update .gitignore
7e1c25b649 Use out of source build
9008e10651 Fix bug in dirup function
d27fc14b31 Fix termcolour include in tester.c
Compare 4 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-09 00:51:58 +00:00
dbdab01a2c Merge branch 'temp' into 'main'
cf12144230 Add utility macros for arena initialisation
ccc86342cd Add address parameter to wapp_mem_util_alloc
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-03 07:05:37 +00:00
8d89695fcc Test reserving a massive arena
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-03 06:58:50 +00:00
6499dd7be9 Rename testing macros
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 22:56:02 +00:00
75bbb82058 Add helper macro for running test functions
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 22:36:41 +00:00
7fb13f2439 Update compile script to run tests
0b63bc746d Add tests
6ee3c762df Add terminal colour constants
59f1c3eb58 Add testing utilities
55d0c25c90 Reformat
Compare 5 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 20:26:45 +00:00
cfc98e0137 Update .gitignore
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 19:54:41 +00:00
32877cdeaa Fix platform detection on Apple platforms
7e2d7b28b7 Update .gitignore
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 19:42:55 +00:00
23886f40e8 Switch to using wapp_mem_util_alloc instead of calloc
57de75c1f8 Set allocation flags per platform
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 19:10:30 +00:00
9807334ac9 Complete memory allocation and deallocation function definitions
18448dd7c1 Define memory allocation and deallocation functions
62fdef8601 Add platform detection definitions
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-06-02 00:17:32 +00:00
61c29ee564 Remove growing_arena and use base_arena
36bc8ab54a Ignore test files
a8e5913254 Add release build and compile test
Compare 3 commits »