5b1a6c2cc7
Remove spurious duplicate lines from the stacktrace. Only log the DETECT and FAIL points, everything else is noise.
Andrew Kesterson2026-06-27 07:44:20 -04:00
675c60b5e0
Removed AKERR_HEAP, AKERR_REGISTRY, AKERR_BEHAVIOR, they belong to libakgl. Replaced AKERR_BEHAVIOR which was ambiguous with AKERR_BADEXC which is raised when a function falls to call SUCCEED_RETURN().
Andrew Kesterson2026-06-22 08:15:07 -04:00
b5435041f2
VALID() wasn't resetting invalid error contexts back to NULL before atempting to ENSURE_READY() them
Andrew Kesterson2026-05-24 19:41:32 -04:00
235033d633
VALID() wasn't properly handling NULL returns, leading to false positives
Andrew Kesterson2026-05-24 19:14:35 -04:00
7700af06a1
Changes maximum stacktrace string values to better allow for inclusion of values up to PATH_MAX. I don't like it. The values are huge. Need a better more sensible way.
Andrew Kesterson2026-05-24 09:50:21 -04:00
be2dba8416
Fix a bug in the new VALID() method, false is not true
Andrew Kesterson2026-05-21 21:44:52 -04:00
03e9b8a96d
Update docs, replace the missing VALID() macro to safeguard against misbehaving functions, add PASS, remove CATCH_AND_RETURN
Andrew Kesterson2026-05-15 19:41:22 -04:00
0c29f5d69f
Fix handling of CATCH() or FAIL() macros around functions that should return an (akerr_ErrorContext *) but return an invalid pointer (to something not in our exception array)
Andrew Kesterson2026-05-06 12:36:56 -04:00
14e903a81c
Import all system definitions of errno including their string representations, then layer our error definitions on top of that
Andrew Kesterson2026-01-12 08:33:31 -05:00
6acae958ff
Fix bug in CMake installation that prevented users from finding the headers via cmake/pkgconfig
Andrew Kesterson2026-01-12 08:32:29 -05:00
c526bb1ba3
Cleanup the code and unified everything (except the macros) under the akerr_ namespace
Andrew Kesterson2026-01-10 10:20:35 -05:00
6821752ec7
Change naming convention for the error context array to avoid confusion about whether it is dynamic or static
Andrew Kesterson2026-01-10 09:50:17 -05:00
f2ce97224a
Fix a possible buffer overflow when writing to the stacktrace buffer
Andrew Kesterson2026-01-10 08:42:50 -05:00
3e4f0d1cda
Fix a possible buffer overflow in FAIL() when writing to the stacktrace buffer
Andrew Kesterson2026-01-10 08:41:06 -05:00
cf0f2bbeac
Make stdlib optional. Remove dependency on SDL3. Update README.
Andrew Kesterson2026-01-04 22:56:31 -05:00