summaryrefslogtreecommitdiff
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* config: allow hashes for parsing colors (#14337)Vaxry2026-05-081-1/+5
|
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-264-10/+113
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* notifications: move and small refactor (#14094)Vaxry2026-04-162-6/+6
| | | moves to notification/, and adds a new style manager getter.
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-202-10/+12
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-224-24/+27
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* layout: rethonk layouts from the ground up (#12890)Vaxry2026-02-214-14/+50
| | | | | Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
* pluginsystem: fix crash when unloading plugin hyprctl commands (#12821)Virt2026-01-033-4/+6
|
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-183-34/+34
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-2/+0
|
* start: init start-hyprland and safe mode (#12484)Vaxry2025-12-051-0/+1
|
* i18n: init localization for ANR, Permissions and Notifications (#12316)Vaxry2025-11-161-1/+3
| | | | | | | | Adds localization support for en, it, pl and jp --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Aaron Blasko <blaskoazzolaaaron@gmail.com>
* plugin/hook: disallow multiple hooks per function (#12320)Vaxry2025-11-162-1/+13
| | | | | this was never safe. After recent changes, it's become even less so. Just disallow it. ref #11992
* plugins: incorporate hyprdep ABI into plugin info (#12001)Vaxry2025-10-212-3/+26
|
* functionHook: fix distance checkVaxry2025-10-141-2/+2
|
* hookSystem: fix anchor point for mmapVaxry2025-10-141-8/+6
|
* hookSystem: use a full trampo setup for hooksVaxry2025-10-072-43/+55
| | | | | | | | instead of planting a longjmp at the fn head, make a shortjmp to a launch trampo this helps with shortjmps that can be in the fn and will break when relocated. They are very unlikely to occur within the first 5 bytes (jmp rel32) but can happen in the first 10 or so (longjmp) fixes csgo-vk-fix on latest main with release building on gcc / clang
* hookSystem: fix anchoring in seekNewPageAddr()Vaxry2025-10-071-6/+6
| | | | otherwise we might miss the chance to get an anchor
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-143-32/+32
|
* treewide: hyprland.org -> hypr.landMihai Fufezan2025-06-201-1/+1
|
* hookSystem: avoid using manual mem management, fix leakVaxry2025-06-192-15/+14
| | | | fixes #10790
* permissions: properly print config requests for pluginsVaxry2025-06-182-5/+6
|
* plugins: don't update config plugins on state unchangedVaxry2025-06-182-1/+6
| | | | fixes #10781
* internal: refactor to use empty() (#10599)Kamikadze2025-05-311-1/+1
|
* refactor: replace all `typedef` with `using` (#10594)Kamikadze2025-05-311-5/+5
|
* plugins: refactor class member vars (#10257)davc0n2025-05-035-122/+121
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* permissions: add perms for plugin loading (#10184)Vaxry2025-04-292-45/+103
| | | | | | | Adds permission management for loading plugins --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* windows: refactor class member vars (#10168)davc0n2025-04-281-1/+1
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* Permission Manager: add permission management for screencopy (#9930)Vaxry2025-04-081-1/+1
|
* ci: Fail on warnings (#9668)Lee Bousfield2025-03-191-4/+7
| | | | | * ci: Fail on warnings * misc: Fix compiler warnings
* internal: Fix compiler warnings (#9646)Lee Bousfield2025-03-171-1/+9
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-236-12/+12
|
* core: move to inotify for monitoring the config filesvaxerski2025-01-192-3/+5
| | | | | | instead of manually polling every second which is not efficient, use inotify. an added bonus is that inotify is much much faster
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-173-3/+10
| | | Cleanup some unneeded includes to speed up compilation
* functionHooks: wait for hyprland pages before returning addr for trampovaxerski2024-12-261-0/+15
| | | | ref #8845
* pluginAPI: add register dispatcher v2Vaxry2024-12-192-1/+23
|
* core: Add clang-tidy (#8664)Vaxry2024-12-075-11/+12
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-032-4/+4
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-5/+8
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-262-12/+12
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-1/+1
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* keybinds: refactor dispatchers to be better (#7331)Ikalco2024-08-241-2/+5
|
* pluginapi: Add force reload of config at the end of plugin initialization ↵atikiNBTW2024-07-291-0/+2
| | | | | | | (#7099) * Add force reload of config at the end of plugin load * Remove unnecessary include
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-0/+1
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: fix no-pch buildVaxry2024-06-191-0/+1
|
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-053-24/+22
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* pluginAPI/hooks: Remove dependency on cc from the hooksystem (#5801)Vaxry2024-04-301-77/+40
| | | | | | | | | * Remove dependency on cc from the hooksystem * Nix: remove cc from wrapper --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788)Vaxry2024-04-281-1/+2
| | | | | | Moves the directory containing sockets and logs. Also restructures lockfiles a bit. For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.