summaryrefslogtreecommitdiff
path: root/src/plugins/PluginSystem.hpp
Commit message (Collapse)AuthorAgeFilesLines
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-261-3/+5
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-12/+12
| | | | | 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-211-1/+1
| | | | | 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-031-1/+1
|
* start: init start-hyprland and safe mode (#12484)Vaxry2025-12-051-0/+1
|
* permissions: properly print config requests for pluginsVaxry2025-06-181-1/+2
|
* plugins: don't update config plugins on state unchangedVaxry2025-06-181-1/+1
| | | | fixes #10781
* plugins: refactor class member vars (#10257)davc0n2025-05-031-15/+15
|
* permissions: add perms for plugin loading (#10184)Vaxry2025-04-291-13/+16
| | | | | | | Adds permission management for loading plugins --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-3/+3
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-1/+1
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-12/+12
| | | | | | | | | | | 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.
* CrashReporter: fix deadlocks by making it mostly async-signal-safe (#5771)virchau132024-04-271-0/+2
| | | | | `CrashReporter::createAndSaveCrash()` is not async-signal-safe, resulting in random deadlocks/double-crashes during Hyprland crashes. This changes the function to be (mostly) async-signal-safe.
* pluginapi: unregister callbacks on lost ptrsVaxry2024-04-221-12/+12
|
* HookSystem: improve callback safetyVaxry2024-04-201-12/+12
|
* pluginapi: allow registering hyprctl commandsVaxry2024-02-051-0/+1
| | | | closes #4616
* plugins: make logging on error more verboseVaxry2023-11-171-0/+1
| | | | ref #3874
* Declarative plugin management (#2180)outfoxxed2023-05-011-7/+10
| | | | | | | | | | | | * Declarative plugin management Allow declaring `plugin` entries in the hyprland configuration. Plugins will be loaded if an entry is added and unloaded if that entry is removed. * Replace pointers with copying in updateconfigPlugins * Include which plugin was declared twice in error
* Unload plugins on compositor cleanup (#1662)Stanisław Zagórowski2023-02-281-1/+2
|
* Plugin System (#1590)Vaxry2023-02-271-0/+44
--------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>