summaryrefslogtreecommitdiff
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* hooksystem: check for existing random outdirVaxry2024-04-281-1/+7
|
* core: prefer mkdir over create_directory and permissionsVaxry2024-04-281-3/+5
|
* hooksystem: use a random 700 directory for assemblerVaxry2024-04-281-10/+17
|
* CrashReporter: fix deadlocks by making it mostly async-signal-safe (#5771)virchau132024-04-272-0/+12
| | | | | `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.
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-273-5/+9
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* pluginsystem: fix unhooking on exitVaxry2024-04-221-2/+4
|
* pluginapi: unregister callbacks on lost ptrsVaxry2024-04-224-17/+21
|
* pluginsystem: unload entire plugin before calling dlclose()Vaxry2024-04-221-3/+8
| | | | fixes #5689
* HookSystem: improve callback safetyVaxry2024-04-203-37/+17
|
* core: fix compile without pchVaxry2024-04-051-1/+0
| | | | fixes #5445
* hooksystem: attempt allocating pages in linear orderVaxry2024-04-051-1/+1
|
* hooksystem: Fix miscalculation in comment (#5442)Martin Sundhaug2024-04-051-1/+1
|
* hyprpm: add support for minimum versionsVaxry2024-04-052-1/+2
|
* hooksystem: manually map trampoline addressesVaxry2024-04-042-15/+154
| | | | better patching of rip calls as we are close enough to just change them up
* format: make ci happyVaxry2024-03-081-1/+1
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-182-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-054-0/+43
| | | | closes #4616
* hyprctl: move to a class and unify commandsVaxry2024-02-051-2/+2
|
* pluginapi: fix hooks with negative rip offsetsVaxry2024-01-241-3/+4
| | | | fixes #4484
* HookSystem: rename PAGESIZE_VAR from PAGESIZE to avoid conflict (#4321)Zach DeCook2024-01-011-3/+3
|
* pluginapi: manually detect endbr64 opcodes in function hooksvaxerski2023-12-281-0/+16
| | | | ref #4277
* pluginapi: better wording for plugin function hook errorsvaxerski2023-12-271-1/+1
|
* pluginapi: log assembler returnvaxerski2023-12-271-1/+3
|
* pluginapi: Trampoline hooks %rip patching improvements (#4256)Vaxry2023-12-272-60/+114
| | | | | --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* functionHooks: fix incorrect protlen calcsVaxry2023-12-091-3/+6
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-3/+3
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* hooksystem: fix missed log includeVaxry2023-11-261-0/+1
|
* functionhooks: throw an exception on unsupported %rip usageVaxry2023-11-261-1/+8
| | | | ref #2479, now will actually tell you what's wrong instead of crashing
* pluginmgr: fix double use of dlerror()Vaxry2023-11-171-2/+3
|
* plugins: make logging on error more verboseVaxry2023-11-172-1/+9
| | | | ref #3874
* decorations: Decoration Positioner (#3800)Vaxry2023-11-112-6/+5
|
* pluginapi: fixup get_hash functionsVaxry2023-10-292-1/+9
|
* pluginapi: add a config keyword adding methodVaxry2023-10-292-0/+21
|
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-1/+1
|
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-1/+1
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* build: include version.h in PluginAPI.hpp (#3571)memchr2023-10-151-0/+1
|
* Plugin API: Add version query (#3545)Vaxry2023-10-142-2/+35
|
* pluginapi: remove starting newline in demangled func name (#3502)ItsDrike2023-10-061-1/+5
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-062-11/+11
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-062-10/+10
|
* plugins: fix config value usage in initvaxerski2023-07-101-0/+3
|
* format: fix hooksystemvaxerski2023-06-161-4/+4
|
* decos: recalc on addvaxerski2023-05-231-0/+3
|
* Fix not finding function symbols for hooking (#2292)outfoxxed2023-05-161-5/+16
| | | | | | | | | Fixes no useful feedback about failing subcommand. Fixes function hooks breaking when running under a path containing spaces. Replaced old usages with this function where possible. Complex shell usages now use `execAndGetShell` which is equal to the old function.
* Declarative plugin management (#2180)outfoxxed2023-05-012-7/+39
| | | | | | | | | | | | * 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
* pluginAPI: add note about API expansionvaxerski2023-04-171-0/+3
|
* pluginAPI: make symbols staticvaxerski2023-04-171-6/+6
|
* Misc FreeBSD fixes (#1926)Jan Beich2023-03-311-0/+7
| | | | | | | | | | | | | | | | | | | | | * helpers: drop incomplete GNU/kFreeBSD bits Debian with FreeBSD kernel lacks Wayland-related packages and is not officially supported since Jessie. * KeybindManager: check VT ioctl availability instead of hardcoding * plugins: add missing header for libc++ after 430778293e4c src/plugins/PluginAPI.cpp:299:33: error: implicit instantiation of undefined template 'std::basic_istringstream<char>' std::istringstream inStream(SYMBOLS); ^ /usr/include/c++/v1/iosfwd:140:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_istringstream; ^ * plugins: prefer llvm-nm with Clang after 430778293e4c nm: invalid option -- j
* plugins: mark getFunctionAddressFromSignature deprecatedvaxerski2023-03-311-1/+3
|
* plugins: Add an API entry for finding functions by namevaxerski2023-03-312-0/+87
|