Commit Graph

386 Commits

Author SHA1 Message Date
javalsai 7ab0bc31a7 rn: valgrind-out.txt
how did the rebase make it to master ;(
2025-06-14 00:23:26 +02:00
javalsai f8ccc43794 Merge branch 'master' into improvements 2025-06-14 00:22:22 +02:00
javalsai f9cf8665b2 fix: hopefully fix actions (again Xth time) 2025-06-14 00:19:14 +02:00
javalsai fc4367b6f7 fix: grammer and shecks
(get it, shell + checks = SHecks, k i'll stop)
2025-06-14 00:08:55 +02:00
javalsai 2796078186 media: update theme screenshots and gif 2025-06-13 15:42:02 +02:00
javalsai 891d6f4783 feat: add scripts to view themes and take their screenshots 2025-06-13 15:40:05 +02:00
javalsai 7d92c4dd2c style(themes): renew themes to new format and fix stuff 2025-06-13 14:28:46 +02:00
javalsai 5174f0b2bf feat: modernize config
- config now is more toml like
- no need to declare all fields, it implements defaults
- no yanderedev code, introspection babbyyy 😎
- desktop and config files parser semi-unification
- misc tweaks all over (mainly allocation failures handling)
2025-06-13 14:05:19 +02:00
javalsai 3480393a66 docs(man): add LIDM_LOG to manpages 2025-06-12 14:02:25 +02:00
javalsai a95f71f7a5 dev: start to implement logger in some places 2025-06-11 17:15:30 +02:00
javalsai c88bdaea06 fix: no human users found 2025-06-11 17:04:42 +02:00
javalsai 7db89e973d debug: add a logging module 2025-06-11 16:47:16 +02:00
javalsai 90c0903f25 Merge branch 'master' into improvements 2025-06-11 16:20:31 +02:00
javalsai cbb3aa3910 dev: remove strcln in favor of strdup 2025-06-11 16:17:00 +02:00
javalsai aa1cafe743 lint: satisfy linter on users & better malloc handling 2025-06-11 16:11:24 +02:00
javalsai 2bdb57390d lint: satisfy some nullability annotations 2025-06-11 14:40:21 +02:00
javalsai 4e18df55bf dev: add valgrind-out.txt to .gitignore 2025-06-10 23:45:27 +02:00
javalsai bb1ca09fd8 lint(format): change format rules a bit 2025-06-10 23:44:40 +02:00
javalsai 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
javalsai a846c1b4c9 lint(tidy): some clang-tidy work 2025-06-10 23:32:55 +02:00
javalsai da9118346b feat: add config open error guide message 2025-06-10 21:44:44 +02:00
javalsai 6975c265f0 feat: add config open error guide message 2025-06-08 13:50:28 +02:00
javalsai 511d35a7c0 Merge pull request #36 from rmntgx/master
fix: removed unnecessary libraries
2025-06-08 13:50:04 +02:00
javalsai 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
javalsai 230c8558a7 Merge pull request #30 from rmntgx/code-formatting
Address code formatting rules
2025-06-06 20:51:51 +02:00
javalsai 7d76687833 lint: apply new style 2025-06-06 20:46:55 +02:00
javalsai d6a348c543 Merge branch 'master' into code-formatting 2025-06-06 20:44:39 +02:00
javalsai 93f007691e fix(aur): package testing script 2025-06-06 20:27:01 +02:00
javalsai 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
javalsai 2f370ab996 fix: workflow runs on PRs (again) 2025-06-06 20:13:19 +02:00
javalsai 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
javalsai b22ae6b2cc fix: memory leaks v0.2.2 2025-06-06 19:40:38 +02:00
javalsai 04a102a7bb perf: better and efficient vec impl 2025-06-06 19:39:44 +02:00
javalsai dc6424979e fix: address mem issues 2025-06-06 18:12:45 +02:00
javalsai 82e92df95c fix(aur): v0.2.1 checksums on the srcfile (again x2) 2025-06-06 17:05:14 +02:00
javalsai 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
javalsai 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
javalsai 620d861d8c fix(aur): lidm-bin@0.2.1 checksums 2025-03-22 18:27:15 +01:00
javalsai 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
javalsai 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