summaryrefslogtreecommitdiff
path: root/src/helpers
Commit message (Collapse)AuthorAgeFilesLines
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-235-7/+7
|
* core: use readFileAsString instead of cat for os-releasevaxerski2025-01-191-1/+2
|
* renderer: Auto enable wide color gamut in HDR mode (#9090)UjinT342025-01-171-0/+1
|
* core: fixup includesvaxerski2025-01-172-4/+4
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-176-6/+12
| | | Cleanup some unneeded includes to speed up compilation
* helpers/Monitor.cpp: fix include path (#9039)Toria2025-01-121-1/+1
|
* keybinds: fix previous_per_monitor logic (#9010)Alexander2025-01-113-4/+35
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: Add a periodic donation request (#8981)Vaxry2025-01-104-28/+122
| | | Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-076-466/+23
| | | | | | | | | | | | | * 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
* pass: improve pass debuggingvaxerski2025-01-012-0/+20
|
* monitor: avoid crashes on no good modesvaxerski2025-01-011-6/+12
| | | | fixes #8915
* core: fix custom resolutions (#8897)Ikalco2024-12-301-0/+6
|
* internal: few small monitor improvements (#8890)Ikalco2024-12-291-2/+0
| | | | | | | * remove framesToSkip, its not used anymore * only set drm format when needed after leaving direct scanout * always set drm damage
* core: refactor/improve monitor mode selection (#8804)Ikalco2024-12-282-4/+380
|
* monitor: bring back old description behaviorvaxerski2024-12-231-1/+1
| | | | this makes description match the beginning again. Fixes #8756
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-41/+0
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-1/+1
| | | | | | | | | * make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
* logging: fix Gpu info (#8764)Kamikadze2024-12-191-1/+1
|
* logging: get broader GPUINFO (#8753)Ikalco2024-12-181-1/+1
|
* internal: remove dead code (#8748)Ikalco2024-12-174-29/+0
|
* animationmgr: fixup stack-use-after-returnVaxry2024-12-162-6/+6
|
* core: drop using deques in favor of vectorsVaxry2024-12-164-13/+13
| | | | No point in most of these.
* core: Add clang-tidy (#8664)Vaxry2024-12-0717-124/+115
| | | | | 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: Add support for hyprqtutils' update screen (#8651)Vaxry2024-12-062-1/+32
| | | | | | | | | * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: feeling a bit quirky today.Vaxry2024-12-051-13/+36
|
* core: add a few festive splashesVaxry2024-12-051-76/+108
| | | | adds two new 'special' splash types for xmas and new years. Activated based on local time.
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-033-34/+76
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: workspace-related function cleanup / refactorVaxry2024-11-222-4/+4
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* monitor: fix default focus when switching to a fs workspaceVaxry2024-11-221-1/+1
|
* bezier: optimize setup of bezier curves (#8528)Tom Englund2024-11-222-18/+29
| | | | | | | | | | avoid reallocations by resizing and copy the pVec into the resized m_dPoints, reduce the amount of calculations in baking to only do it once per iteration instead of twice. precompute in getYforT and getXforT return early in getYForPoint if x is equal or below 0. and use const references where we can. these changes we are now down to an average of "time to bake: 2.50µs." on my machine compared to before average of "time to bake: 11.15µs"
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-182-35/+47
|
* config: update the configStringToInt implementation (#8476)Maximilian Seidler2024-11-181-21/+57
| | | Copied from hyprlang and removed std::expected.
* miscfunctions: fix cross buildVaxry2024-11-181-1/+1
|
* miscfunctions: add missing includeVaxry2024-11-181-0/+1
|
* shell: propagate new machanism from hyprctl to miscfunctionsVaxry2024-11-171-1/+18
|
* shell: don't use fgrep, prefer grep -FVaxry2024-11-171-1/+1
|
* hooks: add pre connected/disconnected monitor events (#8503)Alessio Molinari2024-11-171-0/+2
|
* core: fixup execAndGetVaxry2024-11-101-1/+1
| | | | fixes #8410
* core: move to os/Process from hyprutilsVaxry2024-11-091-12/+8
| | | | nix bump too
* monitors: fix vrr breaking monitor disconnect (#8314)Ikalco2024-11-011-0/+1
|
* internal: check size limit in layouts (#8298)MightyPlaza2024-10-302-0/+8
| | | | | | | | | | | modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/helpers/MiscFunctions.cpp modified: src/helpers/MiscFunctions.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/macros.hpp
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-272-14/+12
|
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-262-5/+5
| | | | ref #8221
* monitor: avoid crash on released buffer in surfVaxry2024-10-191-1/+1
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-193-70/+70
| | | | | * move monitors to sp * XD
* monitor: modernize/refactor last legacy-handled eventsVaxry2024-10-192-2/+73
|
* input: Fix VRR for constrained cursors (#6877)UjinT342024-10-124-4/+13
|
* protocols: Add support for hyprland-ctm-control-v1 (#8023)Vaxry2024-10-082-0/+11
| | | | | | | | | | | * initial ctm support * flake.lock: update * Meson: bump required versions and add ctm proto --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* monitor: arrange monitors on connect and disconnectVaxry2024-10-051-0/+2
|
* monitor: use a scope guard for disconnect eventsVaxry2024-10-051-3/+6
|