Commit Graph

15 Commits

Author SHA1 Message Date
Vaxry 5df0174fd0 core: properly handle unscoped keywords
for users: prefix your keyword with : to make it only global scope
2024-07-07 21:42:53 +02:00
Aurélien Brabant 095f54b910
core: handle scoped keywords if flags are not allowed (#49)
* core: handle scoped keywords if flags are not allowed

* chore: formatting

* test: add test cases for unintended categoryKeyword config options

* fix: use at() instead of []
2024-07-07 18:05:23 +02:00
Vaxry 969cb076e5 dynamic: fix dynamic variables being blocked by flag keywords
fixes #45
2024-05-15 17:45:27 +01:00
Vaxry 95471ec86f core: allow specifying special keys with []
fixes #35
2024-03-28 16:44:44 +00:00
Vaxry a2f3942114 core: fix recursive variables in RHS of variable assignment
fixes #33
2024-03-20 18:48:46 +00:00
Vaxry 221714841a core: fix value name in configSetValueSafe
fixes #29
2024-03-05 14:16:22 +00:00
Vaxry bf5c561905 core: fix dynamic variable updates with special categories 2024-02-19 14:19:01 +00:00
Vaxry 378c3e273b API: add anonymous special categories 2024-02-17 22:38:10 +00:00
Vaxry 7b7e7cdd07 api: add listKeysForSpecialCategory 2024-02-17 19:01:35 +00:00
Vaxry 61507d1b87 tests: add dynamic special test 2024-02-15 02:44:25 +00:00
Zach DeCook 573cf83c51
core: Fix compilation and tests on 32bit architectures (#20)
* Fix compilation on 32-bit architectures

The 1234L suffix creates a 'long', which is not 64-bit on 32-bit architectures.

* Use stoll instead of stol to fix colors on 32-bit systems

on 32 bit systems, 'long' is 32 bits and 'long long' is 64 bits,
so the 'long long' functions need to be used.

* Fix rgba and rgb values on 32-bit

* Use a cast to Hyprlang::INT
2024-02-12 18:03:04 +00:00
Vaxry 7c5f672b2f internal: various stability improvements 2024-02-11 15:38:51 +00:00
Vaxry c1f5b0ab48 internal: fix handling of escaped # 2024-02-10 01:50:22 +00:00
Vaxry 380453d389 Tests: fix for API change 2024-02-09 03:29:38 +00:00
Vaxry 1db2a12767
CI: add fuzzing and sanitizing (#5) 2023-12-31 16:51:50 +01:00