| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | animation: migrate PHLANIMVAR from SP to UP (#12486) | Maximilian Seidler | 2025-12-14 | 1 | -1/+1 |
| | | |||||
| * | core: move parts of the animation system to hyprutils (#8868) | Maximilian Seidler | 2025-01-07 | 1 | -256/+19 |
| | | | | | | | | | | | | | | * 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 | ||||
| * | internal: remove dead code (#8748) | Ikalco | 2024-12-17 | 1 | -2/+0 |
| | | |||||
| * | core: Add clang-tidy (#8664) | Vaxry | 2024-12-07 | 1 | -28/+31 |
| | | | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright. | ||||
| * | core: move colorspace handling to oklab (#8635) | Vaxry | 2024-12-03 | 1 | -2/+2 |
| | | | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net> | ||||
| * | core: move to steady_clock where applicable | Vaxry | 2024-06-25 | 1 | -3/+3 |
| | | | | | avoid issues when system clock gets desynchronized or changed | ||||
| * | core: Move to hyprutils for Math | Vaxry | 2024-06-19 | 1 | -1/+1 |
| | | | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4 | ||||
| * | internal: new shared_ptr and weak_ptr implementation (#5883) | Vaxry | 2024-05-05 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | layerSurface: refactor/move to a memory-safe impl | Vaxry | 2024-04-30 | 1 | -6/+6 |
| | | | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface | ||||
| * | internal: Window storage rework - part 1 (#5762) | Vaxry | 2024-04-27 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks | ||||
| * | Workspace/core: Refactor workspace storage (#5380) | Vaxry | 2024-04-02 | 1 | -6/+7 |
| | | | | | | * refactor workspaces to use ptrs * clang-format | ||||
| * | avar: minor fixes | Vaxry | 2024-03-31 | 1 | -2/+4 |
| | | |||||
| * | avar: fix warp onEnd conditions | Vaxry | 2024-03-31 | 1 | -3/+2 |
| | | | | | ref #5348 | ||||
| * | animvar: fixup update callbacks and cleanup | Vaxry | 2024-03-29 | 1 | -2/+26 |
| | | |||||
| * | renderer: don't render window on other mons during anim in | Vaxry | 2024-03-17 | 1 | -0/+5 |
| | | | | | fixes #5139 | ||||
| * | animations: fix m_Goal not being set after #4911 (#4992) | outfoxxed | 2024-03-06 | 1 | -0/+1 |
| | | |||||
| * | animations: Refactor AnimatedVariable (#4911) | GartoxFR | 2024-03-02 | 1 | -176/+137 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | style/ci: apply clang-format and verify it in ci (#4039) | François Conzelmann | 2023-12-06 | 1 | -7/+5 |
| | | | | | | * style: apply clang-format * ci: add new clang-format job to CI | ||||
| * | includes: add missing log include to animatedvariable | vaxerski | 2023-09-30 | 1 | -0/+1 |
| | | |||||
| * | animatedvariable: don't reset timers on duplicate setters | vaxerski | 2023-09-04 | 1 | -5/+25 |
| | | | | | Fixes the annoying jump when a recalc happens while a window is being animated | ||||
| * | internal: cleanup headers in helpers/ | vaxerski | 2023-08-07 | 1 | -8/+10 |
| | | |||||
| * | animationmgr: avoid looping over all avars in favor of only active ones | vaxerski | 2023-07-20 | 1 | -0/+6 |
| | | |||||
| * | animationmanager: optimize avar state | vaxerski | 2023-07-19 | 1 | -13/+11 |
| | | |||||
| * | Fix UAF in animation end callback if callback deletes the animation (#2389) | outfoxxed | 2023-05-29 | 1 | -1/+3 |
| | | | | | Removes use after free when the end callback deletes the animation as long as `m_bRemoveEndAfterRan` is false. | ||||
| * | internal: make CAnimatedVariable non-move non-copy | vaxerski | 2023-05-16 | 1 | -0/+5 |
| | | |||||
| * | animationmgr: allow empty avars | vaxerski | 2023-05-15 | 1 | -2/+12 |
| | | |||||
| * | make hyprerror follow fadein anim | vaxerski | 2023-01-20 | 1 | -3/+3 |
| | | |||||
| * | use curves for special dim anim | vaxerski | 2022-12-29 | 1 | -4/+5 |
| | | |||||
| * | Added clang format (#1239) | Vaxry | 2022-12-16 | 1 | -59/+61 |
| | | | | * clang-format stuff and format files | ||||
| * | Reset callbacks on remap | vaxerski | 2022-11-18 | 1 | -0/+8 |
| | | |||||
| * | Added resize transitions | vaxerski | 2022-11-06 | 1 | -4/+44 |
| | | |||||
| * | prevent double-registering of avars | vaxerski | 2022-11-05 | 1 | -0/+1 |
| | | |||||
| * | Multiple animation optimization and xwayland wine fixes | vaxerski | 2022-11-04 | 1 | -0/+21 |
| | | |||||
| * | Remove trailing whitespace. | Felix Dick | 2022-09-25 | 1 | -2/+2 |
| | | |||||
| * | Animation config rework | vaxerski | 2022-07-28 | 1 | -6/+14 |
| | | |||||
| * | use defines for unreachable | vaxerski | 2022-07-25 | 1 | -3/+5 |
| | | |||||
| * | Added shadow colors animations and inactive col | vaxerski | 2022-07-16 | 1 | -1/+2 |
| | | |||||
| * | use std::unreachable in avars | vaxerski | 2022-07-06 | 1 | -3/+3 |
| | | |||||
| * | remove asserts in CAnimatedVariable | vaxerski | 2022-06-30 | 1 | -15/+0 |
| | | |||||
| * | Added a special workspace | vaxerski | 2022-05-31 | 1 | -2/+2 |
| | | |||||
| * | Fadein/out now applies to layersurfaces too | vaxerski | 2022-05-14 | 1 | -0/+6 |
| | | |||||
| * | Added workspace animations | vaxerski | 2022-05-12 | 1 | -0/+21 |
| | | |||||
| * | optimization: dont damage entire window on border anim | vaxerski | 2022-05-05 | 1 | -3/+10 |
| | | |||||
| * | assert -> rassert for animatedvariable | vaxerski | 2022-04-24 | 1 | -15/+15 |
| | | |||||
| * | Added bezier curves | vaxerski | 2022-04-23 | 1 | -5/+24 |
| | | |||||
| * | return const refs + vec constantize | vaxerski | 2022-04-23 | 1 | -6/+6 |
| | | |||||
| * | fixed fullscreen, removed effective vars from windows | vaxerski | 2022-04-23 | 1 | -0/+21 |
| | | |||||
| * | New animation system | vaxerski | 2022-04-23 | 1 | -0/+131 |
