228 Commits

Author SHA1 Message Date
3480393a66
docs(man): add LIDM_LOG to manpages 2025-06-12 14:02:25 +02:00
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
90c0903f25
Merge branch 'master' into improvements 2025-06-11 16:20:31 +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
4e18df55bf
dev: add valgrind-out.txt to .gitignore 2025-06-10 23:45:27 +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
rmntgx
d13ebfff4e
fix: removed unnecessary libraries 2025-06-10 23:35:35 +02:00
a846c1b4c9
lint(tidy): some clang-tidy work 2025-06-10 23:32:55 +02:00
da9118346b
feat: add config open error guide message 2025-06-10 21:44:44 +02:00
6975c265f0
feat: add config open error guide message 2025-06-08 13:50:28 +02:00
511d35a7c0
Merge pull request #36 from rmntgx/master
fix: removed unnecessary libraries
2025-06-08 13:50:04 +02:00
d36ef22c9a
fix: hopefully fix actions 2025-06-08 13:36:28 +02:00
rmntgx
5263c48fe0 fix: removed unnecessary libraries 2025-06-07 12:12:04 +05:00
230c8558a7
Merge pull request #30 from rmntgx/code-formatting
Address code formatting rules
2025-06-06 20:51:51 +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
93f007691e
fix(aur): package testing script 2025-06-06 20:27:01 +02:00
bc8b1104c0
Merge pull request #35 from javalsai/actions/update-aur-0.2.2
[AUR update]: Bump to 0.2.2
2025-06-06 20:15:55 +02:00
2f370ab996
fix: workflow runs on PRs (again) 2025-06-06 20:13:19 +02:00
ec00e51696
fix: workflow runs on PRs 2025-06-06 20:10:22 +02:00
GitHub Actions
abad515963 Update AUR pkgs to v0.2.2 2025-06-06 17:48:47 +00:00
b22ae6b2cc
fix: memory leaks v0.2.2 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
82e92df95c
fix(aur): v0.2.1 checksums on the srcfile (again x2) 2025-06-06 17:05:14 +02:00
f2dbeb0236
Merge pull request #34 from AliensInc/master
Fixes the first two lines in the sha256sum

> *Why dont the checks runnnnnnnnnnnn*
2025-06-06 16:58:48 +02:00
Basher52
d72643c030 Fixes the first two lines in the sha256sum 2025-05-27 21:35:05 +02:00
rmntgx
15c7ec3c59
Merge branch 'javalsai:master' into code-formatting 2025-05-20 22:25:19 +05:00
f7139b16b5
Merge pull request #32 from rmntgx/memory-fixes
fix: memory leaks and memory access errors
2025-05-20 17:02:24 +02: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
rmntgx
44d7836955 fix: fixed file extension in CONTRIBUTING.md 2025-05-17 21:53:22 +00:00
620d861d8c
fix(aur): lidm-bin@0.2.1 checksums 2025-03-22 18:27:15 +01:00
e879561cbd
Merge pull request #28 from javalsai/actions/update-aur-0.2.1
[AUR update]: Bump to 0.2.1
2025-03-22 18:01:24 +01:00
GitHub Actions
eecfd7ac4c Update AUR pkgs to v0.2.1 2025-03-22 16:54:29 +00:00
e2014f46a9
Merge pull request #27 from Antiz96/do_not_compress_man_page
Don't compress man page(s) in Makefile

*idk why checks didn't run though, but whatever*
v0.2.1
2025-03-22 17:42:05 +01:00
Robin Candau
5d298ea6d8
Don't compress man page(s) in Makefile
Compressing man pages is a distribution / user preference that should be handled on the packaging side of things.

Indeed, compressing man pages by default imposes a compression algorithm / level whereas most package managers handle that already and eventually allow users to choose or customize them if wanted.

Additionally, it can lead to unexpected side effects. For instance, gzip is recording timestamps in metadata by default, which prevents [reproducible builds](https://reproducible-builds.org/):

```
==> ERROR: Package is not reproducible
--- lidm-0.2.0-1-any.pkg.tar.zst
+++ ./build/lidm-0.2.0-1-any.pkg.tar.zst
├── lidm-0.2.0-1-any.pkg.tar
│ ├── file list
│ │ @@ -1,9 +1,9 @@
│ │  -rw-r--r--   0 root         (0) root         (0)     5391 2025-03-10 12:01:53.000000 .BUILDINFO
│ │ --rw-r--r--   0 root         (0) root         (0)      488 2025-03-10 12:01:53.000000 .MTREE
│ │ +-rw-r--r--   0 root         (0) root         (0)      492 2025-03-10 12:01:53.000000 .MTREE
│ │  -rw-r--r--   0 root         (0) root         (0)      427 2025-03-10 12:01:53.000000 .PKGINFO
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 etc/
│ │  -rw-r--r--   0 root         (0) root         (0)      930 2025-03-10 12:01:53.000000 etc/lidm.ini
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/bin/
│ │  -rwxr-xr-x   0 root         (0) root         (0)    39656 2025-03-10 12:01:53.000000 usr/bin/lidm
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/share/
│ ├── .MTREE
│ │ ├── .MTREE-content
│ │ │ @@ -7,10 +7,10 @@
│ │ │  /set mode=755
│ │ │  ./usr time=1741608113.0 type=dir
│ │ │  ./usr/bin time=1741608113.0 type=dir
│ │ │  ./usr/bin/lidm time=1741608113.0 size=39656 sha256digest=1a27eef50f6caf35d408f7650c362dea788c7a00a2736f0ec4c94ecd38ae6c6f
│ │ │  ./usr/share time=1741608113.0 type=dir
│ │ │  ./usr/share/man time=1741608113.0 type=dir
│ │ │  ./usr/share/man/man1 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=7babc0d1e7d84c3ff18db5ea327313cdbe2ba1117c33d733622a916dfd9d8d0e
│ │ │ +./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=497e49b75ab0d2c3f3edb70967bf189724990c46df23492738254395ec835d8c
│ │ │  ./usr/share/man/man5 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=d0b54c3117c417dfdc43a7629f26cf4c64235742f698a0498722a03a4d1c25c2
│ │ │ +./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=4e16649cb31029b039a594ffa2f2d4d8a624917aaacc865836c5c2d2a92cd3e4
│ ├── usr/share/man/man1/lidm.1.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:15:51 2025, from Unix
│ ├── usr/share/man/man5/lidm-config.5.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:15:51 2025, from Unix
```

See https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/ for detailed rational.
2025-03-10 13:16:07 +01:00
b003909c3e
ci(aur pkgs): fix file checksums generation 2024-12-26 17:06:15 +01:00
47b212019a
package[aur]: update aur packages to v0.2.0 2024-12-26 16:47:37 +01:00
255256bb27
oopise: delete accidentally commited binaries
(cant force push, now I detached head and had to clone separately)
2024-12-25 23:03:39 +01:00
874f6f98f1
fix(ci): reallow nobody account 2024-12-25 22:52:26 +01:00
4fb2bb2d62
Merge pull request #26 from javalsai/env-fixes
feat: add behavior.{source,user_source} for custom env
v0.2.0
2024-12-25 22:26:52 +01:00
2c283a14fe
docs: threaten ppl to star 2024-12-25 20:32:18 +01: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