aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* refactor: changed API in tester, so the output related functions use FILE * ↵Mosder11 days4-32/+42
| | | | streams insted of file descriptors
* refactor: removed the use of mkstemp and replaced it with tmpfile + fileno ↵Mosder12 days6-46/+18
| | | | -> have tp handle that somehow, maybe freopen or something?
* feat: added feature test macros for different OSes / libc'sMosder2026-10-081-1/+6
|
* changed status exit code getting to use WEXITSTATUS instead of bit shiftingMosder2026-10-061-1/+6
|
* added a temporary fix for glibcMosder2026-10-066-8/+27
|
* refactor: prefixed compat functions (and added a macro to libc ↵Mosder2026-09-285-12/+17
| | | | implementations - if they exist), so they do not take reserved names anymore
* refactor: removed unnecessary includesMosder2026-09-286-5/+5
|
* fix: made strdup compat implementation return NULL instead of exit on ↵Mosder2026-09-281-2/+4
| | | | insufficient memory
* doc: add memory arena as a planned feature in README.mdMosder2026-09-251-0/+1
|
* fix: added missing macro and missing tests for new safe functionsMosder2026-09-172-0/+30
|
* feat: changed output tests and suppression to use file descriptors for more ↵Mosder2026-09-176-57/+68
| | | | portability
* feat: improved compatibility - removed possible duplicate names, exit tests ↵Mosder2026-09-1710-42/+77
| | | | now create a fork instead of relying on being able to overwrite exit function, made tester only output ASCII escape sequences for colour into a tty
* fix: fixed the bug with not enough allocation and not properly looping over ↵Mosder2026-09-171-3/+3
| | | | the suppressed outputs in tester
* feat: added a simple compatibbility layer for functions not from C99 standardMosder2026-09-168-41/+102
|
* fix: fixed macro error in Makefile (also added cleanup to static and shared ↵Mosder2026-09-161-4/+8
| | | | targets)
* feat: generalized and improved Makefile + added config options to itMosder2026-09-163-39/+54
|
* feat: made protable-ish stripping for both static and shared librariesMosder2026-09-161-1/+3
|
* fix: fixed stripping for shared libraryMosder2026-09-161-5/+3
|
* formatting: formatted against new .clang-formatMosder2026-09-1512-154/+282
|
* feat: improved trigger for shrinking the hashmapMosder2026-09-143-61/+91
|
* feat: added MacOS conditional, so I don't have to change Makefile everytime ↵Mosder2026-09-141-2/+9
| | | | I'm on fucking piece of shit MacOS
* fix: added -Wpedantic to CFLAGSMosder2026-09-141-2/+2
|
* fix: removed const from where it shouldn't be and added a free fix for a ↵Mosder2026-09-142-3/+3
| | | | specific concurrent operation on a hashmap - it still is not recommended, but this one is free, so might as well
* refactor: removed dead code; feat: added shrinking of hashmapMosder2026-09-141-5/+15
|
* fix: fixed stale cap in rehash and added an error when MOS_HM_LOAD_FACTOR ↵Mosder2026-09-123-1/+5
| | | | would have an incorrect value
* fix: fixed naming, and some edge cases for hashmapMosder2026-09-122-21/+24
|
* feat: added deleting from hashmap and changed type of tests to be nicerMosder2026-09-127-71/+167
|
* feat: added hm_size; fix: fixed MOS_HM_LOAD_FACTOR not doing anything lolMosder2026-09-123-8/+29
|
* feat: implemented hashmapMosder2026-09-127-43/+233
|
* feat: added some (very little) implementation for hashmapMosder2026-09-111-2/+76
|
* fix: added missing const specifiersMosder2026-09-115-28/+29
|
* refactor: well, if it's private, it doesn't need the prefixMosder2026-09-111-13/+13
|
* fix: moved MosArrHeader to .c from .h. Why was it there in the first place? idfkMosder2026-09-112-5/+5
|
* doc: README interpunctionMosder2026-09-091-1/+1
|
* fix: add missing hashmap.h import into the main headerMosder2026-09-022-1/+2
|
* doc: added quick usage guide to hashmap.hMosder2026-09-021-20/+79
|
* feat: added tests for hashmapMosder2026-08-313-6/+146
|
* fix: added missing arr_frees to arr tests. no leaks allowedMosder2026-08-311-0/+13
|
* feat: added "macro prototypes" for hashmap implementationMosder2026-08-273-25/+123
|
* feat: implemented string slicesMosder2026-08-213-50/+154
|
* feat: added remaining tests for string.hMosder2026-08-214-10/+124
|
* feat: added some (but not all yet) string.h testsMosder2026-08-212-7/+94
|
* feat: added some for safe wrappers + added ability to capture and test ↵Mosder2026-08-215-26/+190
| | | | whether output is what was expected
* refactor: renamed mem/alloc.h to safe.h and made it be a collection of ↵Mosder2026-08-2114-118/+113
| | | | "safe" wrappers for "unsafe" functions
* feat: added templates for more functions for string slices. still no ↵Mosder2026-08-193-81/+288
| | | | implementation though
* refactor: renamed arr_del_front and arr_del_back functions to arr_del_left ↵Mosder2026-08-193-18/+18
| | | | and arr_del_right
* feat: added basic templates for hashmap implementationMosder2026-08-186-0/+90
|
* feat: added return value to run_tests to determine whether all tests passedMosder2026-08-182-4/+9
|
* feat: added basic definitions and documentation + templates for ↵Mosder2026-08-187-0/+513
| | | | implementation and tests for string slices
* doc: :Mosder2026-08-171-1/+1
|