aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/debug
AgeCommit message (Collapse)Author
2024-07-24crashreporter: add date and flags to crash report (#7028)MightyPlaza
modified: src/debug/CrashReporter.cpp
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-07-11core: Improve handling of window properties (#6776)MightyPlaza
* add mWindowProperties modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp * support int values modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * create m_sWindowData modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * simplify some properties modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/managers/KeybindManager.cpp * store multiple values in CWindowOverridableVar modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up 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/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * use SET_PROP priority for exec rules modified: src/config/ConfigManager.hpp modified: src/desktop/Window.cpp * add default value modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add setprop toggle modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp * add setprop toggle modified: src/debug/HyprCtl.cpp * make window rules functional modified: src/config/ConfigManager.cpp modified: src/desktop/Window.cpp * minor fixes modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp * properly clean layout data modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp * remove newline modified: src/events/Windows.cpp * fixes modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * use CamelCase modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp
2024-07-07internal: Add functions to hyprctl header (#6745)Yusuf
* add functions to hyprctl header * refactor monitor json into own function and add it to header * format hyprctl.hpp * move functions to namespace * move helper functions to class
2024-06-30debug: add Nvidia driver info (#6715)UjinT34
* add nvidia driver info to systeminfo * check file exists
2024-06-19window: expose pseudotiled state and add param to dispatcher (#6583)Przegryw321
* Show pseudotiled state of window in hyprctl clients * Add a window as an optional argument for the pseudo dispatcher * change formatting
2024-06-19core: Move to hyprutils for MathVaxry
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
2024-06-18hyprctl: avoid using select()Vaxry
move to poll() ref #6584
2024-06-14hyprctl: added --follow option to rolliglog (#6325)Alexander
Co-authored-by: Крылов Александр <[email protected]>
2024-06-11binds: Add description to key binds (#6358)Moritz G
--------- Co-authored-by: Yusuf Duran <[email protected]>
2024-06-11core: move to hyprutils for utils (#6385)Vaxry
* core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-06-08wayland/core: move to new impl (#6268)Vaxry
* wayland/core/dmabuf: move to new impl it's the final countdown
2024-06-05log: log with local timezone (#6331)giskard
* log: log with local timezone * log: backward compatability for clang 17 with libc++
2024-06-05hyprctl: Allow setting name for custom/headless outputs (#6319)phonetic112
2024-06-03core: fix a few asan reported issues and a coredump on exit (#6285)Tom Englund
* xwayland: add destructor to CXWM and free resource the wl_event_resource was running upon destruction of the compositor causing a null pointer segfault in onX11Event so ensure the event is removed upon destruction, also free the memory allocated by xcb_errors_context_new and finally call xcb_disconnect on the connection to free the fd and its memory. * hyprctl: dont leak the fd on destruction add a destructor and properly free the fd on destruction * eventloop: add destructor and free event source properly free the wl_event_source upon destruction.
2024-05-28config: add tag dispacther and window rule (#6211)giskard
2024-05-28hyprctl: Make setcursor better (support XCursor themes, give fail message) ↵Ikalco
(#6097) * add support for changing to X cursor themes * use new hyprcursor abi for options * remove unneeded struct
2024-05-27hyprctl: add delimiter to hyprctl batch command (#6261)Flafy
adds a delimiter of 3 newlines to separate different command outputs
2024-05-25hyprctl: Add Config Flag to `hyprctl systeminfo` (#6160)Gabriel Ford
2024-05-23debug: Add ARM GPU info (#6212)System64
Added a simple way to get basic info about the GPU on ARM based systems
2024-05-22renderer: render fonts with pango, add global `font_family` config option ↵giskard
(#6138)
2024-05-14xdg-shell: move to new implVaxry
2024-05-13hyprctl: Add locked cmd to requests (#6042)Paul
Co-authored-by: Leftas <[email protected]>
2024-05-09config: move various cursor-related vars to cursor:Vaxry
2024-05-09Tablet: move to new implVaxry
Ring and strip are not implemented. Will I implement this? God fucking knows. Nobody seems to have that anyways.
2024-05-09cursor: move to a hyprland implVaxry
This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
2024-05-07xkb: check value correctly with xkb_state_layout_index_is_active() (#5925)Ikalco
2024-05-05internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry
moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
2024-05-03input: Introduce basic hyprland HID classesVaxry
Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.
2024-05-03internal: fix a few asan reported leaks on exit of hyprland (#5852)Tom Englund
* notifications: free cairo images on destruction asan reports a leak on exit if we dont free the image we created in the draw function. add a destructor and free images on exit. * compositor: destroy wlroots types on exit there are a few types not being destroyed on exit and causing a leak on exit in wlroots reported by asan, add those. * cursormgr: ensure we destroy cursor mgr on exit add a destructor and call wlr_xcursor_manager_destroy on the manager on destruction, leak reported by asan. * keybindmgr: free state and keymap add missing keymap_unref on creation, and add a destructor and free the state on exit. leak reported by asan. * skeyboard: add destructor and free state free the state on destruction of keyboard, reported as leak by asan
2024-04-30hyprctl: add missing json string escapes (#5811)Sungyoon Cho
2024-04-29hyprctl: make commits wrapped in quotes in jsonVaxry
2024-04-29log: Add some colors to stdout log 🔴🟡🟢🔵🟣 (#5778)thejch
* add colored log * add config option * make it dynamic
2024-04-28core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788)Vaxry
Moves the directory containing sockets and logs. Also restructures lockfiles a bit. For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.
2024-04-27CrashReporter: fix deadlocks by making it mostly async-signal-safe (#5771)virchau13
`CrashReporter::createAndSaveCrash()` is not async-signal-safe, resulting in random deadlocks/double-crashes during Hyprland crashes. This changes the function to be (mostly) async-signal-safe.
2024-04-27internal: Window storage rework - part 1 (#5762)Vaxry
* Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
2024-04-22Protocols: implement protoLogVaxry
2024-04-20HookSystem: improve callback safetyVaxry
2024-04-17hyprctl: fix activewindow request not showing workspace name (#5623)Thomas Lindae
2024-04-15notifications: fix notifications on manually rotated monitor (#5599)FUFSoB
2024-04-10hyprctl: print monitor disabled status (#5525)JManch
2024-04-09props: Parse border color props as gradient (#5513)SoSeDiK
2024-04-07props: Allow setting per-window fullscreen opacity (#5470)SoSeDiK
2024-04-05hyprpm: add support for minimum versionsVaxry
2024-04-02Workspace/core: Refactor workspace storage (#5380)Vaxry
* refactor workspaces to use ptrs * clang-format
2024-03-31hyprctl: fix plugin list on no plugins (#5357)Micovec
2024-03-23input: Add options to set tablet's active area (#5199)Khalid
* Add options to set tablet's active area * Set tablet's active area in `setTabletConfigs` * Fix formatting for new variables in ConfigManager * Report tablet's physical size with hyprctl
2024-03-21config: Config error limit/hyprctl (#5165)zakk4223
* Add error_limit to limit the number of config error messages shown in notification * Add configerrors hyprctl command * Formatting * Formatting for not my code * Use CVarList, add escapeJSONStrings * Add indication there are more undisplayed errors * Restore suppress_errors; move getErrors() to ConfigManager * Formatting, wtf * Format
2024-03-09internal: Support libhyprcursor (#5009)Vaxry
woo --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-03-09format: fix formatVaxry