summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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