aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/debug
AgeCommit message (Collapse)Author
9 dayscore: drop using deques in favor of vectorsVaxry
No point in most of these.
12 dayshyprctl: add an inhibitingIdle field to windowsVaxry
fixes #4322
2024-12-08crashreporter: avoid clang warningVaxry
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-05core: move version include to hyprctlVaxry
2024-12-05hyprctl: add directScanout to hyprctl monitorsVaxry
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-12-02version: add link versions for other utils (#8619)Vaxry
--------- 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-19internal: minor cleanups for color resultsVaxry
2024-11-18miscfunctions: move configStringToInt to std::expectedVaxry
2024-11-18keybinds: move to managed pointersVaxry
2024-11-17shell: don't use fgrep, prefer grep -FVaxry
2024-11-16hyprctl: add json output on hyprctl -j plugins list (#8480)Ruslan
--------- Co-authored-by: Руслан Новокшонов <[email protected]>
2024-11-15bind: new long press option (#8302)littleblack111
--------- Co-authored-by: Vaxry <[email protected]>
2024-11-11debug: clean up fetching of the contents of /proc/device-tree (#8413)WavyEbuilder
2024-11-10debug: clean up opening of files in HyprCtl (#8401)WavyEbuilder
`std::ifstream` is more suited than `execAndGet` here.
2024-11-05hyprctl: add mirrorOf to hyprctl monitorsVaxry
fixes #8026
2024-11-01hyprctl: reload windowrules on reloadAllvaxerski
2024-10-28hyprctl: move setprop into dispatchers (#8275)MightyPlaza
* move setprop into dispatchers modified: src/debug/HyprCtl.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp * add deprecated modified: src/debug/HyprCtl.cpp
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-24hyprctl: add caps/num lock state for keyboards (#8145)czlabinger
--------- Co-authored-by: Behzad <[email protected]>
2024-10-19internal: Move CMonitor to SP (#8178)Vaxry
* move monitors to sp * XD
2024-10-13notif-overlay: add a bit of padding for iconsVaxry
2024-10-13hyprland: convert std::cout and std::cerr to std::println()Toni500git
2024-10-11internal: improve version query and define HYPRLAND_VERSION (#8034)Toni500github
2024-09-25hyprctl: use the getMonitorData helper everywhereVaxry
2024-09-25core: add a --systeminfo parameter to gather systeminfo without runningvaxerski
2024-09-25hyprctl: add solitary field to hyprctl monitorsvaxerski
2024-09-24hyprctl: add submap requestvaxerski
fixes #7898
2024-09-24hyprctl: add defaultName to workspacerulesVaxry
fixes #7886
2024-09-19version: log build aquamarine versionvaxerski
log the built against aq version, might be useful when it's mismatched to identify the problem
2024-09-17hyprctl: allow parsing empty valuevaxerski
fixes #7821
2024-08-28hyprctl: add next and all to switchxkblayoutVaxry
fixes #7555
2024-08-28logs: don't get timezone every time logging (#7550)Ikalco
its expensive cause cpp dum
2024-08-27hyprctl: avoid parsing string::npos on invalid cmd (#7544)Tom Englund
* hyprctl: avoid parsing string::npos on invalid cmd invalid lines passed to hyprctl keyword made the string parsing try to parse std::string::npos, avoid that and return an error text instead. * style --------- Co-authored-by: Vaxry <[email protected]>
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-24keybinds: refactor dispatchers to be better (#7331)Ikalco
2024-08-22Fix crash reports having execute permissionRed
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
2024-08-12core: fix data race and a unsigned int rollover (#7278)Tom Englund
* keybindmgr: avoid uint rollover on mouse keycode mouse keycode is 0, and the switch case checks for 0 - 8 and rolls over, just return early if keycode is 0. * watchdog: avoid data races in watchdog asan thread sanitizer reported data races in the watchdog from reading and setting the bool variables make them std::atomic bools. also add a atomic bool for the main thread to wait for to avoid data race when reading the config values. * hyprdebug: change non unicode character to name asan created false positives and didnt like this bit, so for the sake of easier debugging rename it to something unicode.
2024-08-08internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund
overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
2024-08-08core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)Vaxry
Requires GCC >= 14 / Clang >= 18 --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-08-07debug: dont manually unlock the lock_guard (#7210)Tom Englund
when lock_guard goes out of scope it RAII itself and calls unlock. causes crashes on freebsd/libc++ and double unlocking a mutex is UB.
2024-07-31internal: some minor fd/socket cleanups and make logging thread safe (#7123)Tom Englund
* bezier: dont loop on float values Using a floating-point loop variable with a fixed increment can cause precision errors over time due to the nature of floating-point arithmetic. and cause undesired effects. ex iteration 1 = 0.10000000149011611938 iteration 2 = 0.20000000298023223877 eventually.. iteration 8 = 0.80000001192092895508 iteration 9 = 0.89999997615814208984 * hyprctl: close sockets on destruction store socketpath and close the fd and unlink the socket path on exit. * eventloopmgr: close the timerfd close the timerfd on exit. * debug: make logging thread safe instead of opening and closing the logfile on each write open it on init and close it on compositor exit. also add a mutex so accidently using logging from a thread like the watchdog or similiar doesnt cause issues. * xwl: clean up fd logic check if the fd is actually opened before closing, and close the pipesource FD on exit.
2024-07-31internal: refactor fullscreen states (#7104)MightyPlaza
* refactor fullscreen modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
2024-07-30protocols: Move globalshortcuts impl (#7102)Ikalco
* move global shortcuts to hyprwayland-scanner * remove wayland-scanner from deps * fix the thing