summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.hpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* added decoration:shadow_offsetvaxerski2022-06-261-1/+1
|
* add system info loggingvaxerski2022-06-251-0/+2
|
* return nearest mon if point out of rangevaxerski2022-05-251-0/+1
|
* Added movetoworkspacesilentvaxerski2022-05-181-0/+1
|
* Added focusmonitorvaxerski2022-05-051-0/+2
|
* Added the splitratio dispatchervaxerski2022-04-201-1/+3
|
* Fix trailing spaces in configvaxerski2022-04-181-1/+2
|
* store scale and scale windows with monitorvaxerski2022-04-171-1/+2
|
* progressvaxerski2022-04-041-1/+2
|
* send focus changevaxerski2022-04-021-1/+2
|
* log signalsvaxerski2022-03-281-0/+5