summaryrefslogtreecommitdiff
path: root/src/debug
Commit message (Collapse)AuthorAgeFilesLines
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-2/+7
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* internal: Make static analysis more happy (#8767)Ikalco2024-12-192-40/+41
| | | | | | | | | * 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-192-2/+2
|
* logging: get broader GPUINFO (#8753)Ikalco2024-12-182-2/+2
|
* core: drop using deques in favor of vectorsVaxry2024-12-164-22/+52
| | | | No point in most of these.
* hyprctl: add an inhibitingIdle field to windowsVaxry2024-12-131-4/+5
| | | | fixes #4322
* crashreporter: avoid clang warningVaxry2024-12-081-3/+3
|
* core: Add clang-tidy (#8664)Vaxry2024-12-077-57/+61
| | | | | 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 version include to hyprctlVaxry2024-12-051-0/+1
|
* hyprctl: add directScanout to hyprctl monitorsVaxry2024-12-051-4/+6
|
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-033-18/+19
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* version: add link versions for other utils (#8619)Vaxry2024-12-021-3/+7
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: workspace-related function cleanup / refactorVaxry2024-11-221-5/+5
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* internal: minor cleanups for color resultsVaxry2024-11-191-3/+5
|
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-2/+2
|
* keybinds: move to managed pointersVaxry2024-11-181-13/+13
|
* shell: don't use fgrep, prefer grep -FVaxry2024-11-172-2/+2
|
* hyprctl: add json output on hyprctl -j plugins list (#8480)Ruslan2024-11-161-7/+30
| | | | | --------- Co-authored-by: Руслан Новокшонов <r.novokshonov@vk.team>
* bind: new long press option (#8302)littleblack1112024-11-151-3/+4
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* debug: clean up fetching of the contents of /proc/device-tree (#8413)WavyEbuilder2024-11-111-1/+20
|
* debug: clean up opening of files in HyprCtl (#8401)WavyEbuilder2024-11-101-3/+20
| | | `std::ifstream` is more suited than `execAndGet` here.
* hyprctl: add mirrorOf to hyprctl monitorsVaxry2024-11-051-3/+5
| | | | fixes #8026
* hyprctl: reload windowrules on reloadAllvaxerski2024-11-011-1/+10
|
* hyprctl: move setprop into dispatchers (#8275)MightyPlaza2024-10-281-95/+2
| | | | | | | | | * 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
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-3/+3
|
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-261-4/+4
| | | | ref #8221
* hyprctl: add caps/num lock state for keyboards (#8145)czlabinger2024-10-241-4/+17
| | | | | --------- Co-authored-by: Behzad <behzadasbahi@gmail.com>
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-195-33/+33
| | | | | * move monitors to sp * XD
* notif-overlay: add a bit of padding for iconsVaxry2024-10-131-1/+1
|
* hyprland: convert std::cout and std::cerr to std::println()Toni500git2024-10-131-2/+2
|
* internal: improve version query and define HYPRLAND_VERSION (#8034)Toni500github2024-10-112-9/+17
|
* hyprctl: use the getMonitorData helper everywhereVaxry2024-09-251-10/+1
|
* core: add a --systeminfo parameter to gather systeminfo without runningvaxerski2024-09-252-4/+10
|
* hyprctl: add solitary field to hyprctl monitorsvaxerski2024-09-251-5/+7
|
* hyprctl: add submap requestvaxerski2024-09-241-0/+9
| | | | fixes #7898
* hyprctl: add defaultName to workspacerulesVaxry2024-09-241-34/+37
| | | | fixes #7886
* version: log build aquamarine versionvaxerski2024-09-191-2/+5
| | | | log the built against aq version, might be useful when it's mismatched to identify the problem
* hyprctl: allow parsing empty valuevaxerski2024-09-171-3/+3
| | | | fixes #7821
* hyprctl: add next and all to switchxkblayoutVaxry2024-08-281-28/+59
| | | | fixes #7555
* logs: don't get timezone every time logging (#7550)Ikalco2024-08-281-2/+3
| | | its expensive cause cpp dum
* hyprctl: avoid parsing string::npos on invalid cmd (#7544)Tom Englund2024-08-271-6/+20
| | | | | | | | | | | | * 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 <vaxry@vaxry.net>
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-263-40/+40
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-262-17/+17
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* keybinds: refactor dispatchers to be better (#7331)Ikalco2024-08-241-3/+3
|
* Fix crash reports having execute permissionRed2024-08-221-1/+1
|
* render: fixup format mismatch after leaving DSvaxerski2024-08-171-10/+10
| | | | fixes #7373
* IPC: Add config descriptions (#7377)Vaxry2024-08-171-0/+16
| | | | | | | Thanks @gulafaran for the work --- Co-authored-by: @gulafaran
* core: fix data race and a unsigned int rollover (#7278)Tom Englund2024-08-122-12/+12
| | | | | | | | | | | | | | | | | | * 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.
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)Vaxry2024-08-081-0/+3
| | | | | | | Requires GCC >= 14 / Clang >= 18 --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>