Commit graph

65 commits

Author SHA1 Message Date
692088e6f3 Handle __STDC_HOSTED__ == 0 2025-12-08 00:17:11 +03:00
5736c02eb1 axl_ftoa 2025-12-08 00:01:39 +03:00
1282fa4523 Unit tests for RLE 2025-12-07 23:08:13 +03:00
ab46ac051b fix 2025-12-07 23:07:56 +03:00
ad12631a1a axl_rle_decode 2025-12-07 21:46:26 +03:00
a4f8b9ca30 -mno-stack-arg-probe to prevent clang from inserting __chkstk 2025-12-07 21:46:10 +03:00
ffc22e74c0 axl_rle_encode 2025-12-06 23:29:15 +03:00
035de52e31 custom memset since clang ignores fno-builtin/nostdlib/ffreestanding 2025-12-05 23:09:19 +03:00
e015927089 del empty line 2025-12-05 22:52:22 +03:00
b8eaa81a22 axl_itoa, axl_utoa 2025-12-05 22:46:27 +03:00
e32beb707c axl_strrev 2025-12-05 21:05:48 +03:00
c341e973b1 Add VLQ 2025-12-05 20:52:39 +03:00
2364bc6809 Add VLQ 2025-12-05 20:52:24 +03:00
7f0064db02 Add MIN/MAX constants 2025-12-05 18:07:44 +03:00
7ac2113e60 Basic utf8 output idk 2025-12-04 16:52:03 +03:00
f1f44f0d6d axl_memmove 2025-12-03 17:37:53 +03:00
e535c2f9bf Handle tests properly (pipeline should stop if there are any errors) 2025-12-03 16:56:39 +03:00
774d0096d8 axl_memchr 2025-12-03 16:49:54 +03:00
7b20fdb03e axl_puts should return i32 2025-12-02 22:29:15 +03:00
a9d8874980 axl_putchar, axl_puts 2025-12-02 21:30:20 +03:00
467746b30e Actually nah, don't wanna mimic stdlib (it causes more harm than good) 2025-12-02 20:04:53 +03:00
08703389db Add ability to mimic stdlib 2025-12-02 17:57:12 +03:00
1fd55fa7d1 Format 2025-12-02 17:19:40 +03:00
aecae2baa8 axl_string.h shouldn't depend on axl_memory.h 2025-12-02 17:17:13 +03:00
0b74748a0d axl_strstr 2025-12-02 17:16:04 +03:00
95b98ee3e7 Format 2025-12-01 21:43:54 +03:00
27a6860f00 We don't need 16.16 type anymore 2025-12-01 21:30:02 +03:00
778e9095a9 Pass -fsigned-char to make sure that char type is a signed type 2025-12-01 21:29:01 +03:00
6061b383a3 Make i8 char; signed char causes string issues 2025-12-01 21:24:43 +03:00
eece39c2ed Better axl_strchr + handle finding '\0' 2025-12-01 21:17:21 +03:00
0d7cfcc8d6 Fix axl_strncmp: i++ was missing 2025-12-01 21:09:01 +03:00
8016f64db4 axl_strchr 2025-12-01 20:47:34 +03:00
f98d39b977 Add strings header 2025-12-01 20:32:01 +03:00
038e7409d7 Add extra tests + remove annoying comments 2025-12-01 20:27:39 +03:00
120893b0cd Unit test strings 2025-12-01 20:16:07 +03:00
332c0e3381 I don't think I will do 16.16 math anymore 2025-12-01 19:41:35 +03:00
d86948b6a9 Add unit tests + fix allocator 2025-12-01 19:39:11 +03:00
6c6f7eb902 Use wildcard for *.c files 2025-11-30 18:35:17 +03:00
007c6267ac Shouldn't check for 0, standard says func must put \0 anyways 2025-11-30 18:20:27 +03:00
b36822727e axl_strcmp 2025-11-30 18:19:14 +03:00
34e170d3b6 axl_strncat 2025-11-30 17:32:50 +03:00
a6514f595c axl_strcat 2025-11-30 17:18:38 +03:00
2f31564ce2 Use handles instead of self-pointers 2025-11-30 10:33:33 +03:00
ccec181771 Handle NULLs 2025-11-27 21:14:48 +03:00
6942e962e2 axl_strncpy 2025-11-27 21:10:44 +03:00
e7e337c873 axl_strcpy 2025-11-27 20:58:48 +03:00
32f1b61324 axl_strlen 2025-11-27 20:51:48 +03:00
574edcd4c5 axl_memcmp 2025-11-27 20:42:39 +03:00
9e9901a3bb axl_memcpy declaration 2025-11-24 21:48:00 +03:00
e23b60db8d Prettify 2025-11-24 19:35:02 +03:00