Commit Graph

111 Commits

Author SHA1 Message Date
roodletoof 37c703bea6 add todo 2025-12-02 21:22:00 +01:00
roodletoof 01b8150625 refactor
remove the free function entirely. all allocators are now expected to
implement reset instead. I reallized I never ever want to free an
individual allocation ever again. The forever_allocator is a special
case wherEreset is a no-op. The arena allocator was deleted. It will be
replaced soon.
2025-12-02 20:21:12 +01:00
roodletoof ef8d51f153 added warning to arena allocator 2025-12-01 21:16:41 +01:00
roodletoof 58534670f8 rename ifdefs 2025-12-01 19:24:12 +01:00
roodletoof fa156d2084 update the unique values in cli to have their own names 2025-12-01 18:21:48 +01:00
roodletoof ce4159cab2 update to cli library 2025-11-30 21:49:35 +01:00
roodletoof 71a27177b4 cli header only library 2025-11-30 19:43:58 +01:00
roodletoof 3e1565e67f some rename 2025-11-30 19:43:49 +01:00
roodletoof 7f85664f13 trying to find out what I dont understand 2025-11-26 20:57:26 +01:00
roodletoof 0a4120bccd use the ctags recursive flag 2025-11-26 18:06:21 +01:00
roodletoof cd3f814b86 updated test with example cleaner syntax 2025-11-25 22:24:59 +01:00
roodletoof 6dc0caceeb wrote with_arena macro 2025-11-25 22:18:54 +01:00
roodletoof df496f73ef completed arena allocator implementation
TODO: write tests
TODO: write helper macros such as with_arena
2025-11-25 21:39:08 +01:00
roodletoof 8d92bc84f6 some progress, not good 2025-11-24 22:59:18 +01:00
roodletoof d4451196f6 some progress on the arena allocator 2025-11-18 21:54:38 +01:00
roodletoof 78cc6c5cae WIP continue the work on arena allcoator implementation 2025-11-17 20:23:42 +01:00
roodletoof 92ca008516 fixed it somehow, still WIP 2025-11-15 18:25:34 +01:00
roodletoof d36b6d2c45 things are fucky wucky 2025-11-06 19:42:59 +01:00
roodletoof 75eecb3a47 started work on arenas
not done at all
2025-11-05 21:56:01 +01:00
roodletoof c848095946 update README.md 2025-11-04 21:31:59 +01:00
roodletoof 97fef1ccc8 note about macro trick I can use 2025-11-04 21:15:29 +01:00
roodletoof e5432a3969 fixed bug in pop test 2025-11-04 21:10:07 +01:00
roodletoof 9b1eaea653 dynamic arrays seem to be working 2025-11-04 20:41:21 +01:00
roodletoof aa0a3d6a25 WIP 2025-10-25 19:05:17 +02:00
roodletoof f1d6b68e70 some progress on dynamic arrays 2025-10-16 21:57:30 +02:00
roodletoof f9d8a0318b some progress 2025-10-12 21:53:11 +02:00
roodletoof f04e0f0731 some progress on arraylist interface 2025-10-12 02:30:47 +02:00
roodletoof ef8b421fd9 started work on dynamic arrays 2025-10-11 17:57:18 +02:00
roodletoof b02a62a46f hopefully this crashes the tests 2025-10-11 17:00:55 +02:00
roodletoof 890cc04283 added todo 2025-10-11 03:46:03 +02:00
roodletoof 9ae5b281b9 error test 2025-10-11 03:43:58 +02:00
roodletoof ffbc42f558 update docs 2025-10-11 03:43:53 +02:00
roodletoof c240443828 rename allocator to cig 2025-10-11 03:31:23 +02:00
roodletoof 20cac1737e use special valgrind option to detect memory leaks
I am hoping that this task fails now
2025-10-11 03:18:34 +02:00
roodletoof 86d5110b0b minor changes to tests 2025-10-10 20:31:20 +02:00
roodletoof c5d6d2ff08 add todo message
something is wrong with the allocation detection???
2025-10-10 20:18:19 +02:00
roodletoof 3e80bd2cfd with_borrow macros
this allows for scope-based heap allocations. There is one limitation.
You cannot use the return keyword inside the following block. This trick
uses dark macro magic :)
2025-10-10 20:13:15 +02:00
roodletoof 6e3211ab49 fix constant issue, and make running of test program dependent on successful build 2025-10-09 21:17:29 +02:00
roodletoof 4942d959d5 run tests with valgrind 2025-10-09 20:52:27 +02:00
roodletoof dd983c9834 ignore persistent undo files 2025-10-09 18:30:17 +02:00
roodletoof 93cb628d54 added some docs about how gui will work 2025-10-08 22:33:47 +02:00
roodletoof e95c0204b4 updated README.md with goals of what I want the library to become 2025-10-08 22:28:36 +02:00
roodletoof a20833f4ee borrow allocator implementation 2025-10-08 22:16:31 +02:00
roodletoof 6ffbc05f52 some small progress on the borrow allocator 2025-10-07 20:38:19 +02:00
roodletoof 4463c6a7c5 WIP borrow allocator 2025-10-06 22:26:08 +02:00
roodletoof d394e4fa34 complete buffer allocator 2025-10-06 19:52:20 +02:00
roodletoof a98dc38f45 added missing semicolon 2025-10-05 20:18:48 +02:00
roodletoof 6374c47a62 some buffer allocator progress 2025-10-05 20:14:47 +02:00
roodletoof ddf9bea20b remove tags as a dependency for test
it does notMake that much sense to have it like that in the first place.
It was for convenience, but it then requires the ci/cd pipeline to have
ctags installed and maybe other config. so screw it
2025-10-05 00:21:28 +02:00
roodletoof eb47bcda9b make tags target for ctags
I want to generate ctags whenever I make
2025-10-05 00:19:09 +02:00