60 Commits

Author SHA1 Message Date
a95f71f7a5
dev: start to implement logger in some places 2025-06-11 17:15:30 +02:00
c88bdaea06
fix: no human users found 2025-06-11 17:04:42 +02:00
7db89e973d
debug: add a logging module 2025-06-11 16:47:16 +02:00
cbb3aa3910
dev: remove strcln in favor of strdup 2025-06-11 16:17:00 +02:00
aa1cafe743
lint: satisfy linter on users & better malloc handling 2025-06-11 16:11:24 +02:00
2bdb57390d
lint: satisfy some nullability annotations 2025-06-11 14:40:21 +02:00
bb1ca09fd8
lint(format): change format rules a bit 2025-06-10 23:44:40 +02:00
22c3f7c896
feat|perf: generic&efficient desktop&config parser 2025-06-10 23:44:09 +02:00
a846c1b4c9
lint(tidy): some clang-tidy work 2025-06-10 23:32:55 +02:00
6975c265f0
feat: add config open error guide message 2025-06-08 13:50:28 +02:00
7d76687833
lint: apply new style 2025-06-06 20:46:55 +02:00
d6a348c543
Merge branch 'master' into code-formatting 2025-06-06 20:44:39 +02:00
b22ae6b2cc
fix: memory leaks 2025-06-06 19:40:38 +02:00
04a102a7bb
perf: better and efficient vec impl 2025-06-06 19:39:44 +02:00
dc6424979e
fix: address mem issues 2025-06-06 18:12:45 +02:00
rmntgx
15c7ec3c59
Merge branch 'javalsai:master' into code-formatting 2025-05-20 22:25:19 +05:00
rmntgx
ee6565d5b4 fix: memory leaks and memory access errors 2025-05-20 19:42:24 +05:00
rmntgx
0b02a2cef2 format: satisfy linter 2025-05-17 21:56:27 +00:00
f34a71195e
chore: use size_t for indexing and iterating 2024-12-25 20:22:28 +01:00
e13a8ff79c
fix: #includes 👀 2024-12-25 20:16:25 +01:00
4c7d221a17
dev: use #includes according to error's concerns 2024-12-25 20:00:09 +01:00
6d9b02e6de
grammer: codespell 🤓 2024-12-25 19:34:40 +01:00
0ba5519937
feat: add behavior.{source,user_source} for custom env 2024-12-25 19:25:09 +01:00
b8caf5b7d7
chore: readable vec_pop 2024-11-01 13:28:32 +01:00
06fa419a6c
fix: logic 👍 (tf was i thinking here?) 2024-11-01 13:25:38 +01:00
49e3ad528f
add: safety bound checks for vec_get 2024-11-01 13:11:01 +01:00
a0b68491ba
chore: implement vectors
also seems to address several of these:
https://github.com/javalsai/lidm/issues/3#issuecomment-2423933131

not sure about the issue itself, might be permission stuff
2024-10-19 17:50:50 +02:00
01ddd62852
chore: make specific vector (heap stack) impl 2024-10-18 21:54:39 +02:00
2ba49042ab
chore: better error handling print on chdir 2024-09-07 16:34:13 +02:00
ed80b4b7c4
fix(oops): wayland = wayland and xorg = xorg 2024-09-07 16:31:15 +02:00
2284ab017d
chore: remove config inconsistencies 2024-09-05 21:20:09 +02:00
dbbab78e23
format: let clang-format run ._.
(won't even talk about clang-tidy)
2024-09-05 20:26:58 +02:00
7ca864f1d9
feat: add LIDM_CONF config path override 2024-09-05 17:36:56 +02:00
730e6db100
fix: grammar (codespell) 2024-09-05 17:23:18 +02:00
462d1fd337
chore: remove unnecessary pam header uses
those actually cause issues when trying to cross-compile
2024-09-05 17:14:42 +02:00
1a8aa1a14e
fix: ui bugs introduced in last commit 2024-09-04 22:07:49 +02:00
grialion
64e101eafa fix: compiler warnings
Fix compiler warnings by
- replacing raw write() calls with printf()
- error checking chdir()
- printing '\x1b[H\x1b[J' instead of calling system(clear)
- using sys/reboot.h to power off and reboot instead of using system
2024-09-04 21:15:30 +02:00
a1167f7f5f
fix: make(-Wall) warnings 2024-08-27 14:37:17 +02:00
ca95d390c2
fix: build error on x64 2024-08-20 23:56:46 +02:00
Cereal
e0a0df80c0 added a missing newline to src/auth.c 2024-08-16 03:37:04 +01:00
fe4a52ecfa
chore: chvt_str into chvt.c 2024-08-07 00:14:19 +02:00
4de2720bed
small changes 2024-08-07 00:07:44 +02:00
grialion
e745b27a68 feat(chvt): use custom implementation instead of system()
Calling system() is vulnerable and shouldn't be used.
2024-08-06 17:11:18 +02:00
9d81c9df8b
feat: better handling
* setui/setgid/etc errors are recoverable now
* fix small print_errno arguments bug
* send TERM env var to session (if present)
2024-07-26 18:17:17 +02:00
a32e4a577f
feat: add dinit support 2024-07-26 16:40:46 +02:00
844687809b
fix: missing \n (added perror too) 2024-07-26 14:25:22 +02:00
12207ee4a9
fix: keep pam session alive 2024-07-25 14:25:11 +02:00
483445007b
fix: bug (it overlaps backwards, moving items >:(, why buggy copy sometimes?) 2024-07-25 02:03:17 +02:00
468ebf769e
fix: pam env, actually usable now
if ur in dinit, don't forget about turnstiled
2024-07-25 01:54:54 +02:00
6145973cca
oopsie: woopsie 2024-07-18 21:59:13 +02:00