summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+2
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-16/+14
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-1/+7
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-3/+3
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-2/+2
| | | | | * move monitors to sp * XD
* hyprerror: fix height calc with bottom bar (#8043)JManch2024-10-091-1/+1
|
* hyprerror: make hyprerror reserve space (#8040)Vaxry2024-10-081-0/+20
|
* hyprerror: minor stylistic changesVaxry2024-08-021-3/+3
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-7/+8
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* renderer: render fonts with pango, add global `font_family` config option ↵giskard2024-05-221-6/+19
| | | | (#6138)
* error: Add option to change position of HyprError bar (#3241) (#6111)Tuur Vanhoutte2024-05-171-6/+9
|
* cursor: move to a hyprland implVaxry2024-05-091-1/+1
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* HookSystem: improve callback safetyVaxry2024-04-201-2/+2
|
* hyprerror: align 32-bit types after 4c796683c05a (#5375)Jan Beich2024-04-011-1/+1
| | | | | | | | | | | | | | | | | src/hyprerror/HyprError.cpp:64:33: error: no matching function for call to 'min' const auto VISLINECOUNT = std::min(LINECOUNT, *LINELIMIT); ^~~~~~~~ /usr/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'long long') min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'int' min(initializer_list<_Tp> __t, _Compare __comp) ^ /usr/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided min(initializer_list<_Tp> __t) ^ /usr/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^
* animvar: fixup update callbacks and cleanupVaxry2024-03-291-1/+1
|
* config: Config error limit/hyprctl (#5165)zakk42232024-03-211-3/+16
| | | | | | | | | | | | | | | | | | | * Add error_limit to limit the number of config error messages shown in notification * Add configerrors hyprctl command * Formatting * Formatting for not my code * Use CVarList, add escapeJSONStrings * Add indication there are more undisplayed errors * Restore suppress_errors; move getErrors() to ConfigManager * Formatting, wtf * Format
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-1/+1
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-2/+2
|
* Declarative plugin management (#2180)outfoxxed2023-05-011-1/+2
| | | | | | | | | | | | * 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
* Draw HyprError on the last monitorvaxerski2023-02-281-6/+24
|
* use sans for fonts instead of noto sansvaxerski2023-02-211-1/+1
|
* use proper fade anims for hyprerrorvaxerski2023-01-231-0/+3
|
* fix rounding exceeding max in single-line errorsvaxerski2023-01-221-1/+1
|
* fix color typo in hyprerrorvaxerski2023-01-221-1/+1
|
* make hyprerror follow fadein animvaxerski2023-01-201-8/+30
|
* scale hyprerrorvaxerski2023-01-201-6/+5
|
* small hyprerror revampvaxerski2023-01-201-8/+24
|
* fix font color in hyprerrorvaxerski2023-01-201-1/+1
|
* Normalize color storagevaxerski2023-01-051-4/+4
| | | | | | Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
* Added clang format (#1239)Vaxry2022-12-161-9/+8
| | | * clang-format stuff and format files
* fix up formattingvaxerski2022-11-071-4/+4
|
* Remove trailing whitespace.Felix Dick2022-09-251-4/+4
|
* scale hyprerror with the monitor resvaxerski2022-08-161-4/+6
|
* fix hyprerror on scaled outputsvaxerski2022-07-071-7/+7
|
* mordernize pointersvaxerski2022-06-301-3/+3
|
* hyprerror fixesvaxerski2022-05-121-1/+5
|
* added basic damage trackingvaxerski2022-04-141-4/+1
|
* Added legacy GLES2 renderer optionvaxerski2022-04-131-2/+6
|
* fixes for exec-once and hyprerrorvaxerski2022-04-091-1/+2
|
* Added HyprError for showing config errorsvaxerski2022-04-081-0/+109