43 Commits

Author SHA1 Message Date
rmntgx
ee6565d5b4 fix: memory leaks and memory access errors 2025-05-20 19:42:24 +05: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
080966978c
fix: env stuff 2024-07-16 09:21:53 +02:00
18a00ca264
remove: hardcoded ansi sequence 2024-07-15 00:02:35 +02:00
9f024edde7
done :) 2024-07-14 22:25:22 +02:00
0955b115e6 do config :) 2024-07-14 21:44:08 +02:00
f9bfc48a9f spain's gonna win btw 🇪🇸 2024-07-14 20:21:17 +02:00
6398d1b206 navigation: wtf I'm doing 2024-07-13 16:56:34 +02:00
6b2d76c9b8 all: at this point just read readme 😭
spaghetti code
equivalent spaghetti readme
spaghetti commit (wait no, this is actually descriptive)
2024-07-13 12:19:02 +02:00
490a370546 feat: add session types 2024-07-11 00:09:29 +02:00
07d2842be0 feat: add users and sessions discovery
- also add clangd multi-file intellisense
2024-07-10 23:25:50 +02:00
4d8faa5b5f init structure 2024-07-10 16:42:25 +02:00