aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers
AgeCommit message (Collapse)Author
10 daysanimationmgr: fixup stack-use-after-returnVaxry
10 dayscore: drop using deques in favor of vectorsVaxry
No point in most of these.
2024-12-07core: Add clang-tidy (#8664)Vaxry
This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-06core: Add support for hyprqtutils' update screen (#8651)Vaxry
* Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-12-05core: feeling a bit quirky today.Vaxry
2024-12-05core: add a few festive splashesVaxry
adds two new 'special' splash types for xmas and new years. Activated based on local time.
2024-12-03core: move colorspace handling to oklab (#8635)Vaxry
* Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-11-22core: workspace-related function cleanup / refactorVaxry
CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
2024-11-22monitor: fix default focus when switching to a fs workspaceVaxry
2024-11-22bezier: optimize setup of bezier curves (#8528)Tom Englund
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"
2024-11-18miscfunctions: move configStringToInt to std::expectedVaxry
2024-11-18config: update the configStringToInt implementation (#8476)Maximilian Seidler
Copied from hyprlang and removed std::expected.
2024-11-18miscfunctions: fix cross buildVaxry
2024-11-18miscfunctions: add missing includeVaxry
2024-11-17shell: propagate new machanism from hyprctl to miscfunctionsVaxry
2024-11-17shell: don't use fgrep, prefer grep -FVaxry
2024-11-17hooks: add pre connected/disconnected monitor events (#8503)Alessio Molinari
2024-11-10core: fixup execAndGetVaxry
fixes #8410
2024-11-09core: move to os/Process from hyprutilsVaxry
nix bump too
2024-11-01monitors: fix vrr breaking monitor disconnect (#8314)Ikalco
2024-10-30internal: check size limit in layouts (#8298)MightyPlaza
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
2024-10-27core: move internal structures to monitor pointers (#8266)Vaxry
2024-10-26internal: cleanup CMonitor usage and fix a few ref hogsVaxry
ref #8221
2024-10-19monitor: avoid crash on released buffer in surfVaxry
2024-10-19internal: Move CMonitor to SP (#8178)Vaxry
* move monitors to sp * XD
2024-10-19monitor: modernize/refactor last legacy-handled eventsVaxry
2024-10-12input: Fix VRR for constrained cursors (#6877)UjinT34
2024-10-08protocols: Add support for hyprland-ctm-control-v1 (#8023)Vaxry
* initial ctm support * flake.lock: update * Meson: bump required versions and add ctm proto --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-10-05monitor: arrange monitors on connect and disconnectVaxry
2024-10-05monitor: use a scope guard for disconnect eventsVaxry
2024-10-05monitor: cleanup and modernize scheduleDoneVaxry
2024-10-04internal: fix missing include directive (#7984)Theo Paris
This should fix building with clang.
2024-09-30byteoperations: add missing headerVaxry
2024-09-30compositor/wayland: up the max buffer size to avoid disconnects when app hangsVaxry
2024-09-30single-pixel-buffer: new protocol implVaxry
fixes #6624
2024-09-26wlr-output-configuration: Improve output configuration (#7571)Vaxry
2024-09-25Internal: move to Mat3x3 from hyprutils (#7902)Vaxry
* Meson: require hyprutils >= 0.2.3 * flake.lock: update hyprutils --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-09-24internal: nuke wlsignal and relatedVaxry
old semi-wrappers for wl_signal, they are no longer used
2024-09-21internal: move to hyprutils' scopeguardVaxry
bumps hyprutils dep to 0.2.2
2024-09-15internal: Delay monitor events/hooks (#7797)Leiser Fernández Gallo
* Delay monitor messages * Format
2024-08-31renderer: minor direct scanout fixes (#7594)Ikalco
2024-08-30presentation-feedback: minor fixupsVaxry
2024-08-30window/xwayland: minor property cleanupVaxry
fixes #6921
2024-08-28renderer: ensure buffer format on commit (#7556)Ikalco
2024-08-26misc: constify the remaining for loops (#7534)Tom Englund
now we roll loops at blazing constified speed.
2024-08-26core: make most for loops use const references (#7527)Tom Englund
why not let the compiler optimise things for us at hyprspeeds when we can.
2024-08-26build: fix 32bit builds (#7510)Tom Englund
ensure the correct type is passed to std::clamp and std::max int64_t is different on 64bit compared to 32bit, also in presentationtime tv_sec is __time_t and on 32bit its a 32bit type so right shift count >= width of type. so only bit shift on 64bit. and avoid potential nullptr deref in the for loops, check for .end() before *it <= endID.
2024-08-19monitor: avoid dangling references to old monitors being undestroyedvaxerski
ref #7414
2024-08-17render: fixup format mismatch after leaving DSvaxerski
fixes #7373
2024-08-17IPC: Add config descriptions (#7377)Vaxry
Thanks @gulafaran for the work --- Co-authored-by: @gulafaran