summaryrefslogtreecommitdiff
path: root/src/helpers/VarList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-37/+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>
* build: Unbreak build without precompiled headers (#3400)Jan Beich2023-09-231-0/+1
| | | | | | | | | | | | | | | | | | | * helpers: add missing header after 2e34548aea5b src/helpers/VarList.cpp: In constructor 'CVarList::CVarList(const std::string&, size_t, char, bool)': src/helpers/VarList.cpp:19:34: error: 'removeBeginEndSpacesTabs' was not declared in this scope 19 | m_vArgs.emplace_back(removeBeginEndSpacesTabs(in.substr(pos))); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/helpers/VarList.cpp:23:30: error: 'removeBeginEndSpacesTabs' was not declared in this scope 23 | m_vArgs.emplace_back(removeBeginEndSpacesTabs(std::string_view{s}.data())); | ^~~~~~~~~~~~~~~~~~~~~~~~ * helpers: add missing C linkage after 0dbd99700319 ld.lld: error: undefined symbol: wlr_region_scale(pixman_region32*, pixman_region32 const*, float) >>> referenced by Region.cpp >>> src/Hyprland.p/helpers_Region.cpp.o:(CRegion::scale(float)) >>> did you mean: extern "C" wlr_region_scale >>> defined in: /usr/lib/libwlroots.so.12032
* varlist: cleanup unintuitive string splitting (#3369)memchr2023-09-191-31/+21
| | | | | * refactor(varlist): replace unintuitive string splitting * refactor(varlist): remove test asserts
* varlist: move to a separate header, add joinvaxerski2023-09-121-0/+46