summaryrefslogtreecommitdiff
path: root/src/plugins/PluginAPI.hpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-2/+0
|
* plugins: incorporate hyprdep ABI into plugin info (#12001)Vaxry2025-10-211-2/+14
|
* treewide: hyprland.org -> hypr.landMihai Fufezan2025-06-201-1/+1
|
* refactor: replace all `typedef` with `using` (#10594)Kamikadze2025-05-311-5/+5
|
* 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-231-1/+1
|
* pluginAPI: add register dispatcher v2Vaxry2024-12-191-1/+10
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-1/+4
| | | | | 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-031-2/+2
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: fix no-pch buildVaxry2024-06-191-0/+1
|
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-7/+5
| | | | | | | | | | | 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.
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-1/+5
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* pluginapi: unregister callbacks on lost ptrsVaxry2024-04-221-2/+6
|
* HookSystem: improve callback safetyVaxry2024-04-201-10/+2
|
* core: fix compile without pchVaxry2024-04-051-1/+0
| | | | fixes #5445
* hyprpm: add support for minimum versionsVaxry2024-04-051-0/+1
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* pluginapi: allow registering hyprctl commandsVaxry2024-02-051-0/+14
| | | | closes #4616
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-1/+1
|
* pluginapi: fixup get_hash functionsVaxry2023-10-291-1/+5
|
* pluginapi: add a config keyword adding methodVaxry2023-10-291-0/+8
|
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-1/+1
|
* build: include version.h in PluginAPI.hpp (#3571)memchr2023-10-151-0/+1
|
* Plugin API: Add version query (#3545)Vaxry2023-10-141-1/+25
|
* pluginAPI: add note about API expansionvaxerski2023-04-171-0/+3
|
* plugins: mark getFunctionAddressFromSignature deprecatedvaxerski2023-03-311-1/+3
|
* plugins: Add an API entry for finding functions by namevaxerski2023-03-311-0/+15
|
* notifs: use empty color for autovaxerski2023-03-201-1/+1
|
* plugin api: add addNotificationV2vaxerski2023-03-201-0/+16
| | | | Allows for issuing fancy notifs via api
* Plugin System (#1590)Vaxry2023-02-271-0/+217
--------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>