Commit graph

34 commits

Author SHA1 Message Date
7d62a8acc4
fix mod function name shadowing 2024-02-11 20:05:31 +01:00
c08e2398ab
nevermind I can't free getenv() Xddd 2024-02-11 19:53:51 +01:00
cca7224559
free strings after use 2024-02-11 19:50:44 +01:00
c013f078ab
use ~/.config if $XDG_CONFIG_HOME isn't present 2024-02-11 19:49:14 +01:00
274df36583
tick off api versioning in readme 2024-02-11 19:44:32 +01:00
53ff1074ef
make api versioning actually work 2024-02-11 19:37:41 +01:00
147f372a9b
update readme building instructions 2024-02-11 18:35:41 +01:00
1640be4666
api versioning for modules 2024-02-11 17:50:10 +01:00
2695a19da4
cpmsv -> sveq
this name represents the function better I think
2024-02-11 17:48:01 +01:00
0e9a7d6bd8
"clean up" makefile
will need to rework it again later
2024-02-11 17:44:35 +01:00
ac6c61e10a
module_name -> name 2024-02-10 14:51:50 +01:00
dfa4ea2f44
move to semver everywhere 2024-02-10 14:11:26 +01:00
92a9fb163f
clean up makefile 2024-02-10 14:09:43 +01:00
d6b05cd7b7
add header guard in mod.h :PPP 2024-02-10 00:33:33 +01:00
ce5cd7ac79
add author for remaining modules 2024-02-10 00:04:36 +01:00
b15ab051f0 separator module (#1)
first module which uses the config :-)

Co-authored-by: krizej <60076189+krizej@users.noreply.github.com>
Reviewed-on: jacekpoz/modfetch#1
Co-authored-by: krizej <krizej@protonmail.com>
Co-committed-by: krizej <krizej@protonmail.com>
2024-02-09 22:48:16 +01:00
4baf04cda0
add another item to todo list 2024-02-09 22:14:57 +01:00
24e2d04c68
motherfucking strncpy 2024-02-09 22:07:49 +01:00
727556295e
explain the program better in the readme 2024-02-09 21:39:37 +01:00
7afaaa2376
am I stupid?? 2024-02-09 21:38:05 +01:00
76fd2153a9
nullterm after strncpy
great function thanks glibc
2024-02-09 15:46:33 +01:00
9ac418318a
nullterm ret in resolve_env_vars 2024-02-09 15:34:15 +01:00
170e69d096
free line if getline errors 2024-02-09 15:31:30 +01:00
771680ac17
very nice and calm comment about casting void* to function pointers 2024-02-09 15:15:44 +01:00
36b59a2e29
++ -> += 1 outside all loops to improve readability
I like it better now
2024-02-09 15:11:36 +01:00
21aefd281a
general memory and readability improvements 2024-02-09 15:10:13 +01:00
9cfdb7bea4
make clean remove contents of target instead of target 2024-02-09 14:20:43 +01:00
3704f16b53
fix crashing on empty line (Xd) 2024-02-09 13:54:29 +01:00
bfcf6fa157
stop cleaning object files on build 2024-02-09 13:33:06 +01:00
85eb489d7c
prevent 4KB memory leak 2024-02-09 12:23:17 +01:00
d363f9defc
add another thing to todo 2024-02-09 12:19:46 +01:00
9c80bb95e4
add error throwing to todo 2024-02-09 12:09:30 +01:00
b8da386888
fix todo 2024-02-09 12:06:17 +01:00
40f0e25f32
init 2024-02-09 12:05:06 +01:00