137 Commits
Author SHA1 Message Date
MikoandGitHub 88c6386994 chore: replace string concatenation with std::format (#15652)
* chore: replace string concatenation with std::format

* Fix " Preserve the root API prefix when formatting" suggestion

* Fix missing slash; add explicit getenv safety check
2026-08-01 18:02:50 +02:00
linandGitHub de530935a0 hyprpm: continue after repository update failures (#15391) 2026-07-17 14:28:36 +02:00
NotPppp1116GitHubPppp1116 <ACCOUNT1_NOREPLY>
229bca7b1a build: link Glaze to the compositor core (#15454)
Co-authored-by: Pppp1116 <ACCOUNT1_NOREPLY>
2026-07-17 11:42:56 +02:00
NotPppp1116GitHubPppp1116 <ACCOUNT1_NOREPLY>
f2eafdf105 hyprctl: handle partial IPC transfers (#15408)
Co-authored-by: Pppp1116 <ACCOUNT1_NOREPLY>
2026-07-14 17:32:05 +02:00
NotPppp1116GitHubPppp1116 <ACCOUNT1_NOREPLY>
bd61edda5a treewide: clean up and performance (#15230)
* treewide: clean up safety and performance findings

* hyprpm: use contains for cmake error trimming

---------

Co-authored-by: Pppp1116 <ACCOUNT1_NOREPLY>
2026-06-29 18:08:17 +02:00
Daniel KrupińskiandGitHub 179c2bce03 internal: replace std::vformat() with std::format() when the format string is known at the compile time (#15119) 2026-06-14 17:14:12 +01:00
Daniel KrupińskiandGitHub abbbed3204 internal: do not use std::make_pair() (#15122) 2026-06-14 17:12:43 +01:00
VaxryandGitHub 0fa36aeb96 hyprpm: sanitize commit pin targets (#15094) 2026-06-13 17:00:29 +01:00
Daniel KrupińskiandGitHub 7994acbe5e hyprpm: hide C++ symbols by default (#14958) 2026-06-04 12:48:34 +01:00
Yingjie WangandGitHub 457eb66dfb hyprpm: allow distro packagers to provide extra cflags for building plugins (#14755) 2026-05-25 16:34:56 +01:00
davc0nandGitHub 30c498acf4 build: add glaze dependency with FetchContent fallback (#13666) 2026-03-16 00:53:28 +02:00
Vaxry 5c370c3333 hyprpm: fix url sanitization in add
this could've been used to exec additional commands with hyprpm
2026-03-01 21:55:12 +00:00
KamikadzeandMihai Fufezan 81a029e504 hyprpm: exclude glaze from all targets during fetch 2026-02-12 00:12:42 +02:00
Tyr HeimdalandMihai Fufezan fd48d102e1 Reapply "hyprpm: bump glaze version"
This reverts commit e92b20292b.
2026-02-12 00:01:33 +02:00
857a78ce4e hyprpm: add full nix integration (#13189)
Adds nix integration to hyprpm: hyprpm will now detect nix'd hyprland and use nix develop instead

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2026-02-10 15:12:43 +00:00
Mihai Fufezan e92b20292b Revert "hyprpm: bump glaze version"
This reverts commit 116537b494.

Re-apply when glaze 7.0.0 lands in Arch repos.

Relevant discussion: https://github.com/hyprwm/Hyprland/discussions/13043#discussioncomment-15636089
2026-01-29 13:14:05 +02:00
Mihai Fufezan 116537b494 hyprpm: bump glaze version 2026-01-29 01:37:09 +02:00
Vaxry c65c7614bc hyprpm: fix build step execution 2026-01-24 20:00:56 +00:00
Vaxry 64db62d7e2 hyprpm: use provided pkgconf env if available
this is required for hyprpm to work under nix develop
2026-01-22 20:33:36 +00:00
Vaxry 441a8714c7 hyprpm: fix clang-format 2026-01-21 13:58:09 +00:00
Mihai Fufezan 8f547c6fa0 hyprpm: drop meson dep 2026-01-20 13:34:25 +02:00
Mihai Fufezan d6e2ae0247 hyprpm,Makefile: drop cmake ninja build 2026-01-20 13:34:25 +02:00
Luke BarkessandGitHub 05ccbb2f2d hyprpm: added plugin author (#12594) 2025-12-14 17:16:58 +00:00
AureusandGitHub 6712fb954f cmake: only use system glaze package if above version 6.0.0 (#12559) 2025-12-09 12:44:02 +00:00
VaxryandGitHub 016eb7a23d start: init start-hyprland and safe mode (#12484) 2025-12-05 15:40:03 +00:00
9cd070fd31 hyprpm: check for abi strings in headersValid (#12504)
---------

Co-authored-by: Virt <41426325+VirtCode@users.noreply.github.com>
2025-12-04 18:00:15 +00:00
KAGEYAM4andGitHub 9495f989b4 hyprpm: remove -nn flag and make notification behaviour more consist… (#11272)
* [hyprpm] Remove -nn flag and make notification behaviour more consistent.

Before -> -nn turns on -n explicitly, and many notify() are ran without checking the flag.
After -> warning and error notification will always work, -n will only give visual confirmation that plugin loaded successfully, eye candy.

* [hyprpm] Add -nn breaking change fallback to nofity users.

Added deprecation warning for the --notify-fail flag.
2025-11-18 16:33:02 +00:00
Mihai Fufezan cefa63c2af meson: drop 2025-11-17 08:54:47 +02:00
Vaxry 059ec60e9f hyprpm: make temp root if not present 2025-09-18 13:25:04 +01:00
KamikadzeandGitHub beee22a95e refactor: Use new hyprutils casts (#11377) 2025-08-14 15:44:56 +01:00
MartinandGitHub 449d5e1113 internal: add missing c includes (#11417) 2025-08-12 20:07:19 +01:00
Sv. LockalandGitHub 0c317f2508 internal: Fix compilation with libc++ (#11355)
Build with libc++ (Clang-20, Gentoo LLVM profile) fails due to transitive include with:
```
s_Sys.cpp.o -c ../hyprland-source/hyprpm/src/helpers/Sys.cpp
../hyprland-source/hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined template 'std::basic_ostringstream<char>'
   24 |     std::ostringstream oss;
      |                        ^
/usr/include/c++/v1/__fwd/sstream.h:28:28: note: template is declared here
   28 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
      |                            ^
1 error generated.
```
2025-08-06 14:01:02 +02:00
xqsoandGitHub 5c8d675eed ci: correct tar command for xz compression & fix typos (#11213) 2025-07-25 17:19:23 +02:00
bobratandGitHub 9b51d73a1e hyprpm: print all dependencies that are missing (#10907) 2025-07-04 14:43:46 +02:00
VaxryandGitHub 748419faa5 hyprpm: check version and update automatically on add (#10706)
ideally should let the user know, but jic also checks for header updates
2025-06-12 13:40:55 +02:00
ilusha420andGitHub 81468253ea hyprpm: fix typo in help message (#10687) 2025-06-09 14:31:04 +03:00
vaxerski 82b8549542 hyprpm: refuse adding a new repo without update 2025-06-01 21:53:30 +02:00
nezuandGitHub 4f161da3d6 hyprpm: ignore pins when adding a package with a git rev (#10502)
ref #10436
2025-05-22 13:54:02 +02:00
Vaxry c19f383685 hyprpm: fix crash with enable without an arg 2025-05-17 19:07:18 +02:00
Vaxry bb9aa79b21 hyprpm: reject remove without a param
ref #10458
2025-05-17 18:10:35 +02:00
VaxryandGitHub dfa4836216 hyprpm: fix execute permission bit on installed dirs (#10435) 2025-05-17 18:08:42 +02:00
Zach DeCookandGitHub a5c9b3e490 core: Include cstring whenever strncpy is used (#10404)
Fixes ppc64le build in alpine
2025-05-15 10:31:44 +01:00
Jan BeichandGitHub e44aae0c20 hyprpm: switch to numeric owner/group after f8bbe5124c (#10345)
On BSDs "root" is in "wheel" group. Instead of enumerating platforms
or probing "wheel" explicitly use numeric value for the superuser.

$ truss hyprpm add <url>
[...]
read(5,"install: unknown group root\n",1023)     = 28 (0x1c)
[...]
[ERR] ✖ Failed to write plugin state
2025-05-09 14:18:15 +02:00
Jan BeichandGitHub fcb6f936ea hyprpm: add missing include for libc++ after 1c530cbc66 (#10344)
hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined temp
late 'std::basic_ostringstream<char>'
   24 |     std::ostringstream oss;
      |                        ^
/usr/include/c++/v1/__fwd/sstream.h:27:28: note: template is declared here
   27 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
      |                            ^
2025-05-09 03:42:19 +02:00
VaxryandGitHub f8bbe5124c hyprpm: clean up root access and properly check input (#10304)
* manifest: reject bad names from parsing

* sys: restructure root functions
2025-05-06 22:43:08 +02:00
708a7c24ef hyprpm: add missing return (#10299)
Add a missing return statement after handling the first superuser binary in the `dropSudo` function

Fixes: 1c530cb

Co-authored-by: Zebra2711 <zebra2711@users.noreply.github.com>
2025-05-06 14:53:28 +02:00
Vaxry 1f50cdfa8b hyprpm: wrap sudo cmd in quotes
ref #10288
2025-05-05 13:09:00 +01:00
s1ddandGitHub 1c530cbc66 hyprpm: Minor optimizations and refactor of helpers and progress bar (#10246)
* hyprpm: optimize sys.cpp

* hyprpm: refine progress bar logic

* chore: fix fetchSuperuserBins

* chore: modify one line if/else statements

* chore: fix if/else statements

* chore: follow naming convention for const vars

* chore: revert shell escape logic
2025-05-05 04:22:22 +02:00
Jan BeichandGitHub 2670b8f772 hyprpm: add missing include for libc++ after 858c0e26d1 (#10234)
hyprpm/src/core/DataState.cpp:80:23: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
   80 |     std::stringstream ss;
      |                       ^
hyprpm/src/core/DataState.cpp:149:23: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
  149 |     std::stringstream ss;
      |                       ^
hyprpm/src/core/DataState.cpp:229:31: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
  229 |             std::stringstream ss;
      |                               ^
/usr/include/c++/v1/__fwd/sstream.h:30:28: note: template is declared here
   30 | class _LIBCPP_TEMPLATE_VIS basic_stringstream;
      |                            ^
2025-05-01 20:48:13 +02:00
VaxryandGitHub 858c0e26d1 hyprpm: move to system directories for storing plugins (#10211) 2025-05-01 18:00:26 +02:00