]>
www.git.momoyon.org Git - commonlib.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
ahmedsamyh [Mon, 17 Mar 2025 02:38:38 +0000 (07:38 +0500)]
[commonlib.h] Surround da in ()'s in da_shift().
ahmedsamyh [Tue, 4 Mar 2025 18:55:24 +0000 (23:55 +0500)]
[commonlib.h] c_ASSERT -> assert in c_da_shift.
ahmedsamyh [Tue, 4 Mar 2025 18:48:50 +0000 (23:48 +0500)]
[commonlib.h] pop_front -> shift.
ahmedsamyh [Mon, 3 Mar 2025 12:04:12 +0000 (17:04 +0500)]
[commonlib.h] TODO Done: Refactor slurp_file error msgs.
ahmedsamyh [Fri, 28 Feb 2025 05:55:15 +0000 (10:55 +0500)]
[tests] New test string_view.c
ahmedsamyh [Fri, 28 Feb 2025 05:55:01 +0000 (10:55 +0500)]
[commonlib.h] Implemented sv_lpop_until_string().
ahmedsamyh [Fri, 28 Feb 2025 03:33:08 +0000 (08:33 +0500)]
[commonlib.h] cast cstr -> char* in c_SV() macro.
ahmedsamyh [Fri, 28 Feb 2025 03:16:32 +0000 (08:16 +0500)]
[commonlib.h] Wrap sv arround () in SV_ARG(sv)
ahmedsamyh [Wed, 26 Feb 2025 18:01:28 +0000 (23:01 +0500)]
[commonlib.h] Make memory allocation funcs redefinable.
ahmedsamyh [Wed, 26 Feb 2025 17:59:29 +0000 (22:59 +0500)]
[commonlib.h] da_free.
ahmedsamyh [Wed, 26 Feb 2025 17:26:22 +0000 (22:26 +0500)]
[commonlib.h] Remove prefix for String view interface.
ahmedsamyh [Tue, 25 Feb 2025 10:33:59 +0000 (15:33 +0500)]
[test.py] New flag '-x' Stop on error.
ahmedsamyh [Tue, 25 Feb 2025 10:30:20 +0000 (15:30 +0500)]
[test] New test 'shift_args.c'
ahmedsamyh [Tue, 25 Feb 2025 10:30:12 +0000 (15:30 +0500)]
[commonlib.h] Implemented c_pop_front...
- Make c_shift_args -> c_pop_front.
ahmedsamyh [Tue, 25 Feb 2025 10:15:07 +0000 (15:15 +0500)]
[commonlib.h] Remove prefix for 'shift_args';
ahmedsamyh [Fri, 21 Feb 2025 14:06:16 +0000 (19:06 +0500)]
Fix da_append.
ahmedsamyh [Sun, 26 Jan 2025 18:19:59 +0000 (23:19 +0500)]
Remove prefix of da_append...
ahmedsamyh [Sun, 26 Jan 2025 18:18:13 +0000 (23:18 +0500)]
Fix escaped comment
ahmedsamyh [Sun, 26 Jan 2025 17:47:21 +0000 (22:47 +0500)]
Remove beykaaru assertion
ahmedsamyh [Sun, 26 Jan 2025 12:45:16 +0000 (17:45 +0500)]
Add new tess; dynamic_array.c
ahmedsamyh [Sun, 26 Jan 2025 12:42:42 +0000 (17:42 +0500)]
[commonlib.h] Fix some prefix errors...
- [commonlib.h] Remove DEFINE_DYNAMIC_ARRAY() macro.
ahmedsamyh [Sun, 26 Jan 2025 12:30:32 +0000 (17:30 +0500)]
[tests] verbose (-v) Flag.
- [tests] Much nicer output.
- [tests] Keep count and report passing tests count.
ahmedsamyh [Sun, 26 Jan 2025 12:06:32 +0000 (17:06 +0500)]
Add flags and can pass, run multiple subcmds/flags
ahmedsamyh [Sun, 26 Jan 2025 11:53:02 +0000 (16:53 +0500)]
Add new test; slurp_file.c
ahmedsamyh [Sat, 25 Jan 2025 17:21:56 +0000 (22:21 +0500)]
Much nicer output
ahmedsamyh [Sat, 25 Jan 2025 17:12:48 +0000 (22:12 +0500)]
Remove unnecessary test files.
momoyonwork [Sat, 25 Jan 2025 16:28:31 +0000 (21:28 +0500)]
Implemented 'record' subcommand...
- TODO: Take input for the test while recording and pass it while
running.
momoyonwork [Sat, 25 Jan 2025 16:10:32 +0000 (21:10 +0500)]
Changed to python test script.
- Can build and run tests.
- TODO: record expected behaviour of tests, instead of manually doing
so.
ahmedsamyh [Sat, 25 Jan 2025 14:58:51 +0000 (19:58 +0500)]
Change testing to a python script.
ahmedsamyh [Sat, 25 Jan 2025 14:46:09 +0000 (19:46 +0500)]
Make memory-allocation procs changable(for a lack of a betterword).
ahmedsamyh [Sat, 25 Jan 2025 14:42:31 +0000 (19:42 +0500)]
WIP: String_Builder
ahmedsamyh [Sat, 25 Jan 2025 14:41:37 +0000 (19:41 +0500)]
[commonlib.h] Add missing linux headers.
momoyonwork [Sat, 25 Jan 2025 12:59:35 +0000 (17:59 +0500)]
Redirect test output to its own files...
- WIP: Compare with expected outputs.
- TODO: Pass input to test.
- TODO: subcommand to record expected outputs.
momoyonwork [Sat, 25 Jan 2025 09:15:26 +0000 (14:15 +0500)]
Remove prefix
momoyonwork [Sat, 25 Jan 2025 09:15:05 +0000 (14:15 +0500)]
Added .gitignore
momoyonwork [Sat, 25 Jan 2025 09:14:34 +0000 (14:14 +0500)]
Remove *.exe
momoyonwork [Sat, 25 Jan 2025 09:13:33 +0000 (14:13 +0500)]
Implement tests.
- WIP: Use nob to compile and run tests...
momoyonwork [Sat, 25 Jan 2025 07:20:10 +0000 (12:20 +0500)]
Add LICENSE and README.md
momoyonwork [Sat, 25 Jan 2025 07:17:09 +0000 (12:17 +0500)]
Add Dynamic-Array.
momoyonwork [Sat, 25 Jan 2025 07:04:11 +0000 (12:04 +0500)]
Prefix everything*
momoyonwork [Sat, 25 Jan 2025 06:46:29 +0000 (11:46 +0500)]
Fix OS detection...
- Fix ASSERT()
- Simplify logging.
- Remove Windows specific functions.
- Mark Unimplemented functions.
momoyonwork [Sat, 25 Jan 2025 06:25:43 +0000 (11:25 +0500)]
Removed ext-libs
ahmedsamyh [Wed, 25 Sep 2024 13:30:25 +0000 (18:30 +0500)]
Add os_file_exists() and touch_file_if_doesnt_exist()
- @TODO: Also tweaked the log_print() function. Don't remember what tho.
ahmedsamyh [Wed, 11 Sep 2024 18:19:38 +0000 (23:19 +0500)]
[log_file] Handle %.*s
ahmedsamyh [Wed, 29 May 2024 22:57:42 +0000 (03:57 +0500)]
Bake stb_ds.h and stb_sprintf.h
ahmedsamyh [Wed, 29 May 2024 22:36:24 +0000 (03:36 +0500)]
Done many things...
- typedefs for wide chars.
- STRUCT and ENUM pre-declare macros.
- winapi_get_current_working_directory().
- Arena.buff_size's type: size_t -> uint64.
- Arena_make(buff_size) takes buff_size as argument.
- Arena_reset() which sets the ptr to buff.
- Arena_alloc_str() macro which allocs a str printed using snprintf
and returns the string
- new Category "String".
- cstr_to_wstr().
- new Category "Args".
- shift_args().
- Arena_alloc() reallocs buff if buff cannot hold new size.
ahmedsamyh [Fri, 19 Apr 2024 19:10:11 +0000 (00:10 +0500)]
Done many things...
- Winapi functions
- real[32/64] -> float[32/64]
- Fix ASSERT()
- Refactor log_f
- String_view conversion functions
- Arena Allocator
ahmedsamyh [Sun, 24 Mar 2024 17:40:37 +0000 (22:40 +0500)]
Initial Commit