summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.hpp
Commit message (Collapse)AuthorAgeFilesLines
* config: allow hashes for parsing colors (#14337)Vaxry2026-05-081-2/+0
|
* helpers/systemInfo: extract info fns (#14222)Vaxry2026-04-301-1/+0
|
* internal: rewrite deviceNameToInternalString using a single range pipeline ↵Mr. Myxa2026-03-211-1/+1
| | | | (#13806)
* misc: fix missing noreturn attribute for throwError (#13746)Mr. Myxa2026-03-171-1/+1
|
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-1/+0
|
* windowrules: rewrite completely (#12269)Vaxry2025-11-171-0/+1
| | | | | | | Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* config/rule: don't populate ID field for automatically id-managed workspacesVaxry2025-10-271-0/+1
|
* systeminfo: log system package versions (#11946)Vaxry2025-10-061-0/+2
|
* virtualkeyboard: Add options to skip releasing pressed keys on close and to ↵JS Deck2025-08-041-21/+24
| | | | skip sharing key states (#11214)
* ctm: enable fade animation on nvidia driver versions 575 and above (#10095)fazzi2025-04-181-0/+1
| | | | | * ctm: enable fade animation on nvidia driver versions 575 and above * format if statement without braces; handle potential throw when checking for nvidia version file
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-2/+0
| | | Cleanup some unneeded includes to speed up compilation
* core: Add a periodic donation request (#8981)Vaxry2025-01-101-1/+0
| | | Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
* internal: remove dead code (#8748)Ikalco2024-12-171-2/+0
|
* core: Add support for hyprqtutils' update screen (#8651)Vaxry2024-12-061-0/+1
| | | | | | | | | * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-22/+23
|
* internal: check size limit in layouts (#8298)MightyPlaza2024-10-301-0/+1
| | | | | | | | | | | 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
* Internal: move to Mat3x3 from hyprutils (#7902)Vaxry2024-09-251-1/+0
| | | | | | | | | * Meson: require hyprutils >= 0.2.3 * flake.lock: update hyprutils --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* headers: set correct paths to header files (#7245)Mathis H.2024-08-091-2/+2
|
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-1/+3
| | | | | | | | | | | | | | | | | | | | 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 aquamarine (#6608)Vaxry2024-07-211-1/+0
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: add ability to select previous workspace per monitor (#6598)Alexander2024-06-221-2/+7
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-3/+0
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-2/+1
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* ime-v2: move to new implVaxry2024-05-011-0/+1
|
* windowrules: Make min/maxsize rules dynamic (#4775)Epilepsy Gatherings2024-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rebase * simplify and remove prop * Stuff - add back win prop - change minsize defaults - change request formatting for setprop * style fix * remove empty line * change defaults * redo string to vec * remove redundant parsing * change to vec * support commas * remove static rules * take out garbage * format * don't allow commas and resize on setprop * use isNumber
* core: improve cleanup logicvaxerski2024-01-191-0/+1
|
* systemd: add HYPRLAND_NO_SD_NOTIFYvaxerski2023-12-211-0/+1
| | | | fixes #4217
* screencopy: fix shm exports with 10-bitVaxry2023-12-011-0/+1
| | | | fixes #4019
* internal: make getPlusMinusKeywordResult return optionalVaxry2023-11-121-1/+1
|
* compositor: find windows in direction on floatingVaxry2023-11-051-0/+1
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-1/+0
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* renderer: properly pass 10-bit formats to openglVaxry2023-10-301-0/+1
|
* workspacerules: Add new optional "default command" for auto-launching apps ↵Brenno Lemos2023-10-221-0/+2
| | | | on new workspaces (#3559)
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-21/+5
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* internal: fix warningsvaxerski2023-09-071-1/+1
|
* internal: Formatter rework (#3186)Vaxry2023-09-061-2/+26
|
* compositor: log thrown runtime exceptionsvaxerski2023-08-201-1/+2
|
* internal: move backtrace to specific funcvaxerski2023-08-111-18/+25
|
* internal: cleanup headers in helpers/vaxerski2023-08-071-1/+4
|
* Added a crash reportervaxerski2023-02-191-4/+2
|
* feat: border angle animations (#1469)ozwaldorf2023-02-011-0/+2
| | | Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* Added clang format (#1239)Vaxry2022-12-161-12/+12
| | | * clang-format stuff and format files
* Add bordercolor windowrule (#992)Jef2022-11-131-0/+1
| | | | | | | * Add bordercolor windowrule * remove spaces form bordercolor rule + typo Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
* Added window swallowingvaxerski2022-10-011-0/+1
|
* update wlroots depvaxerski2022-08-201-1/+0
|
* move absolutePath to MiscFunctionsFlafyDev2022-08-191-1/+2
|
* fixed issue causing hyprctl to output ill-formed json when strings include ↵Daniel Gerblick2022-07-181-0/+1
| | | | characters needing escaping
* update wlroots depvaxerski2022-06-281-1/+3
|