Vaxry
6131919715
monitor: round refresh rates in sorting modes
...
fixes #9209
2025-01-29 13:34:11 +00:00
Vaxry
e951011503
renderer/internal: stop using box pointers
...
in favor of const refs
2025-01-26 15:05:34 +00:00
Vaxry
16aeb24bc1
core: make persistent workspaces always follow the config
...
instead of just staying after open, they will now be enforced on their respective monitors
fixes #8769
2025-01-26 14:40:42 +00:00
Vaxry
0a1ae48a9f
core: move all shared_ptrs from the STL to hyprutils ( #9143 )
2025-01-23 21:55:41 +01:00
vaxerski
0a0e56d99c
core: use readFileAsString instead of cat for os-release
2025-01-19 14:04:59 +01:00
UjinT34
078e13f463
renderer: Auto enable wide color gamut in HDR mode ( #9090 )
2025-01-17 20:23:57 +00:00
vaxerski
47d645d84a
core: fixup includes
2025-01-17 19:14:55 +01:00
user111111111111111111111111111111111
2bad73354a
core: cleanup header includes ( #9088 )
...
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +00:00
Toria
2671656a75
helpers/Monitor.cpp: fix include path ( #9039 )
2025-01-12 18:35:10 +02:00
Alexander
15dc024a39
keybinds: fix previous_per_monitor logic ( #9010 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
2025-01-11 16:05:53 +00:00
Vaxry
b5fb6110ab
core: Add a periodic donation request ( #8981 )
...
Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
2025-01-10 18:09:40 +00:00
Maximilian Seidler
5642ed331d
core: move parts of the animation system to hyprutils ( #8868 )
...
* 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
2025-01-07 17:55:14 +00:00
vaxerski
d64ac47202
pass: improve pass debugging
2025-01-01 17:26:05 +01:00
vaxerski
aff34089c4
monitor: avoid crashes on no good modes
...
fixes #8915
2025-01-01 13:47:16 +01:00
Ikalco
af301312d5
core: fix custom resolutions ( #8897 )
2024-12-30 18:45:42 +00:00
Ikalco
cb211d83f6
internal: few small monitor improvements ( #8890 )
...
* remove framesToSkip, its not used anymore
* only set drm format when needed after leaving direct scanout
* always set drm damage
2024-12-29 23:19:12 +00:00
Ikalco
8d4c18d723
core: refactor/improve monitor mode selection ( #8804 )
2024-12-28 13:32:04 +00:00
vaxerski
2e2e2e2cad
monitor: bring back old description behavior
...
this makes description match the beginning again. Fixes #8756
2024-12-23 21:17:38 +00:00
Vaxry
e536b02248
Renderer: rewrite render scheduling ( #8683 )
...
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
2024-12-22 17:12:09 +01:00
Ikalco
5b714f05f8
internal: Make static analysis more happy ( #8767 )
...
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
2024-12-19 02:56:01 +01:00
Kamikadze
23e7d8f6a7
logging: fix Gpu info ( #8764 )
2024-12-19 00:08:57 +01:00
Ikalco
49e5f9c428
logging: get broader GPUINFO ( #8753 )
2024-12-18 15:56:53 +01:00
Ikalco
e2c78c00e5
internal: remove dead code ( #8748 )
2024-12-17 17:31:27 +01:00
Vaxry
b9f82e9968
animationmgr: fixup stack-use-after-return
2024-12-16 18:31:07 +00:00
Vaxry
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +00:00
Vaxry
8bbeee1173
core: Add clang-tidy ( #8664 )
...
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-07 18:51:18 +01:00
Vaxry
b1e5cc66bd
core: Add support for hyprqtutils' update screen ( #8651 )
...
* Nix: add hyprland-qtutils to PATH
* flake.lock: update
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-06 15:45:02 +01:00
Vaxry
ceef4fb3a5
core: feeling a bit quirky today.
2024-12-05 03:36:50 +00:00
Vaxry
22f7d6f142
core: add a few festive splashes
...
adds two new 'special' splash types for xmas and new years. Activated based on local time.
2024-12-05 01:59:36 +00:00
Vaxry
320144ae72
core: move colorspace handling to oklab ( #8635 )
...
* Meson: add hyprgraphics
* Nix: add hyprgraphics
* CI/setup_base: get hyprgraphics-git
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-03 18:58:24 +00:00
Vaxry
745a82ce8a
core: workspace-related function cleanup / refactor
...
CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
2024-11-22 16:01:02 +00:00
Vaxry
a847bc67b1
monitor: fix default focus when switching to a fs workspace
2024-11-22 15:22:35 +00:00
Tom Englund
943b3d467b
bezier: optimize setup of bezier curves ( #8528 )
...
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-22 01:47:51 +00:00
Vaxry
47a1650c48
miscfunctions: move configStringToInt to std::expected
2024-11-18 23:53:38 +00:00
Maximilian Seidler
cc923ad031
config: update the configStringToInt implementation ( #8476 )
...
Copied from hyprlang and removed std::expected.
2024-11-18 19:45:22 +00:00
Vaxry
505c1f8f4a
miscfunctions: fix cross build
2024-11-18 14:35:09 +00:00
Vaxry
2259a88551
miscfunctions: add missing include
2024-11-18 13:59:57 +00:00
Vaxry
1ba050d603
shell: propagate new machanism from hyprctl to miscfunctions
2024-11-17 21:58:00 +00:00
Vaxry
e8717a4fce
shell: don't use fgrep, prefer grep -F
2024-11-17 21:57:04 +00:00
Alessio Molinari
9b03307653
hooks: add pre connected/disconnected monitor events ( #8503 )
2024-11-17 19:34:03 +00:00
Vaxry
c10739e6e3
core: fixup execAndGet
...
fixes #8410
2024-11-10 22:53:11 +00:00
Vaxry
a8ff3a452c
core: move to os/Process from hyprutils
...
nix bump too
2024-11-09 17:14:25 +00:00
Ikalco
c4d214c42d
monitors: fix vrr breaking monitor disconnect ( #8314 )
2024-11-01 12:30:26 +00:00
MightyPlaza
12c1bb936d
internal: check size limit in layouts ( #8298 )
...
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-30 18:58:36 +00:00
Vaxry
5d4b54b012
core: move internal structures to monitor pointers ( #8266 )
2024-10-27 18:45:38 +00:00
Vaxry
d5689bb539
internal: cleanup CMonitor usage and fix a few ref hogs
...
ref #8221
2024-10-26 02:06:13 +01:00
Vaxry
08cc063e17
monitor: avoid crash on released buffer in surf
2024-10-19 23:48:25 +01:00
Vaxry
f044e4c951
internal: Move CMonitor to SP ( #8178 )
...
* move monitors to sp
* XD
2024-10-19 23:03:29 +01:00
Vaxry
62ee5cc273
monitor: modernize/refactor last legacy-handled events
2024-10-19 16:21:47 +01:00
UjinT34
ee8116ac5d
input: Fix VRR for constrained cursors ( #6877 )
2024-10-12 01:29:51 +01:00