Commit graph

61 commits

Author SHA1 Message Date
2e57ca9b3f
close file and don't malloc for no reason 2024-02-14 16:06:14 +01:00
e405ccdf2a
I'm so sorry krizej 2024-02-14 15:47:08 +01:00
fa46131ee5
add libx11 to devshell 2024-02-14 15:46:32 +01:00
a610d63088
Merge branch 'desktop-x11' 2024-02-13 19:26:01 +01:00
e2ac9aa4e6
add flake with direnv support 2024-02-13 19:20:24 +01:00
b990fabd4f
fix typo 2024-02-12 14:15:28 +01:00
4eb0ddca86
initial mod info work (need to rework this) 2024-02-12 00:58:38 +01:00
e0edbc83d6
add the rest of the flags (need to figure out a better way to do this) 2024-02-12 00:58:09 +01:00
e3bdb80e91
initial mod subcommands work 2024-02-12 00:49:52 +01:00
a6a1d0c65e
ignore discarded qualifiers warning upon assigning string literal
ccls still shows me the warning and another one for the `diagnostic
ignored` saying `unknown warning group`, not sure if it's fixable in
ccls, might be time to move to clang/d? although I've heard it has
issues too, not sure
2024-02-12 00:44:13 +01:00
d8a0393fe1
print help text to stdout instead of stderr
I looked it up and it would make sense to print it to stdout if the user
explicitly wants the help and to stderr if it's not intentional
2024-02-12 00:06:51 +01:00
55414046ea
moving config parsing before option parsing 2024-02-11 23:51:42 +01:00
c50902e45e
oops forgot 2024-02-11 23:48:03 +01:00
6eaf260d8d
refactor the actual fetch into another file 2024-02-11 23:47:34 +01:00
f3ef45abda
makefile cleanup 2024-02-11 23:46:59 +01:00
022f0462e9
move config and util from lib to prog 2024-02-11 23:27:01 +01:00
4ef40c8aed
what the fuck 2024-02-11 23:25:11 +01:00
79615a946b
add .ccls 2024-02-11 23:24:33 +01:00
d24c1d3767
big refactor of pretty much everything
I still need to make the Makefile better as it's pretty shit right now
but it's alright for now I think
2024-02-11 23:23:50 +01:00
5601945db1
move default config path to config.h 2024-02-11 22:37:03 +01:00
c128b281d8
add config and util to lib 2024-02-11 22:22:17 +01:00
8bfacabcd0
biggest change ever 2024-02-11 22:19:27 +01:00
41d9f87eab
add param names to semver function declarations 2024-02-11 22:13:02 +01:00
8081a8d302
refactor shit out of modfetch.c 2024-02-11 22:11:57 +01:00
d6961a75f3
small makefile fix 2024-02-11 21:59:58 +01:00
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
49cf173286
add OPTS for user defined options 2024-02-11 18:39:24 +01:00
147f372a9b
update readme building instructions 2024-02-11 18:35:41 +01:00
6b8e1087bd
desktop: add x11 support (thanks krizej) 2024-02-11 18:34:25 +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