Vaxry
557241780c
version: bump to 0.6.3
Build & Test / nix (hyprlang) (push) Has been cancelled
Build & Test / nix (hyprlang-with-tests) (push) Has been cancelled
Build & Test (Arch) / gcc build / ASan tests (push) Has been cancelled
Build & Test (Arch) / gcc build / UBSan tests (push) Has been cancelled
Build & Test (Arch) / gcc build / MSan tests (push) Has been cancelled
Build & Test (Arch) / clang build / gcc test (push) Has been cancelled
Build & Test (Arch) / Deploy docs (push) Has been cancelled
2025-05-07 23:03:32 +01:00
Vaxry
a59e86a3da
parser: change expression syntax to avoid bash clashes
...
changes from $() to {{}} to avoid clashing with bash syntax
2025-05-07 23:03:03 +01:00
Vaxry
a15e7ba78a
version: bump to 0.6.2
2025-05-07 19:46:08 +01:00
Mihai Fufezan
e863ebcee9
flake.lock: update
Build & Test (Arch) / gcc build / ASan tests (push) Waiting to run
Build & Test (Arch) / gcc build / UBSan tests (push) Waiting to run
Build & Test (Arch) / gcc build / MSan tests (push) Waiting to run
Build & Test (Arch) / clang build / gcc test (push) Waiting to run
Build & Test (Arch) / Deploy docs (push) Waiting to run
Build & Test / nix (hyprlang) (push) Waiting to run
Build & Test / nix (hyprlang-with-tests) (push) Waiting to run
2025-05-07 20:11:54 +03:00
Vaxry
6726cfd54b
parser: add support for basic arithmetic
...
Adds support for expressions that take left and right hand side and an operation (+-*/) -> e.g.
fixes #67
2025-05-07 17:50:22 +01:00
Honkazel
397600c42b
clang-tidy: fix some errors ( #70 )
2025-04-22 23:23:39 +02:00
Vaxry
f1000c54d2
version: bump to 0.6.1
2025-04-12 15:35:25 +01:00
Lukas
72df3861f1
README: fix typo ( #65 )
2025-03-05 18:18:47 +02:00
Vaxry
1d7d96a278
docs: fix incorrect doc about getValue type
2025-02-25 17:18:11 +00:00
Mihai Fufezan
a7334904d5
CI: remove deprecated magic-nix-cache-action
2025-02-08 23:08:34 +02:00
Honkazel
7a59f2de3f
core: clang-tidy and comp fixes ( #63 )
2025-02-08 01:44:54 +01:00
Mihai Fufezan
f41271d35c
flake.lock: update
2025-01-23 14:16:46 +02:00
Joshua Baker
55608efdaa
core: add multiline support ( #58 )
...
Adds support for multi-line commands with a backslash
2024-12-28 13:36:59 +00:00
Mihai Fufezan
0404833ea1
flake.lock: update
2024-12-23 00:24:19 +02:00
Mihai Fufezan
16e59c1eb1
flake.lock: update
2024-12-16 17:57:08 +02:00
Vaxry
9441266c89
cmakelists: remove clang-specific config
...
closes #59
2024-12-14 23:34:04 +00:00
Mihai Fufezan
f7acd5dabb
flake.nix: use gcc14Stdenv, update
2024-12-14 13:01:16 +02:00
Vaxry
1b0c595731
version: bump to 0.6.0
2024-12-13 20:48:31 +00:00
Vaxry
058fcf84c9
API: add a templated config value wrapper
...
This is basically a copy of the Hyprland config wrapper. It's much more straightforward to use, and much harder to fuck up.
2024-12-13 20:48:06 +00:00
Vaxry
f054f2e44d
version: bump to 0.5.3
2024-10-05 23:50:12 +01:00
Petr Kobalicek
dfeb5811dd
CMake: Use library aliases instead of library names ( #55 )
...
This changeset makes it possible to compile hyprlang with a custom
install prefix, which was not honored because of using "hyprutils" as
a raw dependency, which means that CMake was adding "-lhyprutils" flag
to the linker, but the linker didn't know the path in case a custom
install prefix was used to compile hyprutils.
2024-09-10 20:51:00 +01:00
Eduard Tykhoniuk
5b175c9704
config: Return an error on invalid hex values. ( #54 )
...
* config.cpp: fix parsing invalid hex
Instead of crashing on an invalid hex, return an error.
* config: return an error on an invalid hex value
* cleanup
* style: add references for catching exceptions
* style: ignore `std::out_of_range`
2024-09-02 00:45:17 +02:00
Eduard Tykhoniuk
c12ab785ce
config: fix parsing invalid hex ( #53 )
...
Instead of crashing on an invalid hex, return an error.
2024-09-01 12:57:32 +02:00
vaxerski
16e5c9465f
core: don't populate linesContainingVar on dynamic requests
2024-08-20 19:16:02 +02:00
Mihai Fufezan
adbefbf496
flake.lock: update
2024-07-18 20:39:21 +03:00
Mihai Fufezan
651c8d02cc
CMake: fmt
2024-07-18 20:39:01 +03:00
Mihai Fufezan
c0704455ee
CMake, Nix: add VERSION file
2024-07-18 20:37:19 +03:00
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
db8c528aac
CI: fix arch
2024-07-06 12:17:06 +02:00
Vaxry
ec6938c662
core: Move to hyprutils for util functions ( #48 )
...
* move to hyprutils
* Nix: add hyprutils dep
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-06-08 23:24:12 +02:00
Vaxry
87d5d98410
cmake: remove -lc++abi
...
fixes #46
2024-05-23 16:16:22 +02:00
vaxerski
c7c2d29831
cmake: bump ver to 0.5.2
2024-05-23 12:00:09 +02:00
vaxerski
554c95a846
ci/cmake: fix clang build on arch
2024-05-23 11:56:15 +02:00
Vaxry
969cb076e5
dynamic: fix dynamic variables being blocked by flag keywords
...
fixes #45
2024-05-15 17:45:27 +01:00
Daniel Horton
073678282e
README: Fixed getconf command in build instructions ( #44 )
...
getconf NPROCESSORS_CONF isn't a valid command. The correct command is getconf _NPROCESSORS_CONF.
2024-05-14 16:13:58 +01:00
Oleksandr Kuksenko
19ec261528
README: update ( #42 )
2024-05-13 17:24:45 +03:00
Vaxry
78fcaa27ae
cmake: bump ver to 0.5.1
2024-04-14 20:00:46 +01:00
Vaxry
748fb531ca
lib: add escaping errors
...
fixes #39
2024-04-14 16:29:27 +01:00
Micovec
c140261214
lib: Allow comment escaping with multiple #
if it's the first char ( #38 )
...
* parse line - ignore leading spaces, tabs
* removed unnecessary substr functions
* parse line - discard empty lines sooner
2024-03-29 00:24:51 +00:00
Vaxry
95471ec86f
core: allow specifying special keys with []
...
fixes #35
2024-03-28 16:44:44 +00:00
Sergey Fedorov
b3e430f81f
config.cpp: fix environ for Apple ( #34 )
2024-03-24 03:20:55 +00:00
Vaxry
a2f3942114
core: fix recursive variables in RHS of variable assignment
...
fixes #33
2024-03-20 18:48:46 +00:00
Vaxry
a685493fdb
cmake: bump sover to 2
2024-03-08 16:18:28 +00:00
Vaxry
84170ba0e5
cmake: bump ver to 0.5.0
2024-03-08 16:15:14 +00:00
Vaxry
bba5daeaf9
header: undef internal symbols if not internal
2024-03-08 16:15:01 +00:00
vaxerski
2e2a1992c8
core: make option structs forward-ABI compatible
2024-03-08 15:47:21 +00:00
Vaxry
9995f54edd
cmake: bump ver to 0.4.2
2024-03-07 18:14:09 +00:00
Vaxry
66c099e097
API: add pathIsStream to SConfigOptions
2024-03-07 18:14:02 +00:00
Vaxry
f1db1a7e1f
cmakelists: add O3 for release
2024-03-07 01:41:15 +00:00