summaryrefslogtreecommitdiff
path: root/src/managers/HookSystemManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-2/+2
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-1/+1
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-7/+7
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* hookSystem: Make needsDeadCleanup volatile (#6356)John M. Harris, Jr2024-06-071-2/+2
| | | | The value of needsDeadCleanup would be clobbered after longjmp, having an undefined value.
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-6/+6
| | | | | | | | | | | 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.
* HookSystem: improve callback safetyVaxry2024-04-201-25/+29
|
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-3/+3
|
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-2/+2
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-1/+1
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-2/+2
|
* Plugin System (#1590)Vaxry2023-02-271-11/+46
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+44
* added an eventHookSystem * Add all socket2 events to hooks