summaryrefslogtreecommitdiff
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* notifs: use empty color for autovaxerski2023-03-201-1/+1
|
* plugin api: add addNotificationV2vaxerski2023-03-202-0/+64
| | | | Allows for issuing fancy notifs via api
* Fix plugin argument-less hyprctl calls (#1723)Stanisław Zagórowski2023-03-071-3/+5
| | | | | Handle hyprctl command whitespace trimming might break
* Fix clang compilation (#1697)scorpion-262023-03-041-16/+16
| | | | void* + integral type is not allowed on standard C++ and is a GNU extension
* Unload plugins on compositor cleanup (#1662)Stanisław Zagórowski2023-02-282-2/+9
|
* Remove useless rax preserve across callqvaxerski2023-02-271-4/+2
|
* Plugin Hooks: fix original bytes on %rip accessesvaxerski2023-02-272-1/+9
|
* Plugin Hooks: fix calls to %rip offsetsvaxerski2023-02-272-15/+56
|
* Plugin System (#1590)Vaxry2023-02-276-0/+792
--------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>