Commit graph

115 commits

Author SHA1 Message Date
039f320202 docs: clarify special ptr validity 2024-02-15 02:34:04 +00:00
5a4768244b docs: clarify static ptrs 2024-02-15 02:27:27 +00:00
4a464738e2 internal: create special vars instantly at addSpecialConfigValue 2024-02-13 16:42:52 +00:00
ebffe8f61d API: make addSpecialConfigValue take a ref to val
woo breaking API and ABI
2024-02-13 16:26:06 +00:00
a3b1a6b649 cmake: bump version to 0.3.1 2024-02-12 21:46:12 +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
78c16564ac build: unbreak clang 2024-02-12 17:23:50 +00:00
689b405d9d internal: fixes to config path handling 2024-02-12 15:13:27 +00:00
dbe5835573 internal: make int errors throw 2024-02-11 16:15:03 +00:00
7c5f672b2f internal: various stability improvements 2024-02-11 15:38:51 +00:00
c1f5b0ab48 internal: fix handling of escaped # 2024-02-10 01:50:22 +00:00
335d0c65e1 cmake: bump ver to 0.3.0 2024-02-09 20:30:26 +00:00
f5056f78d5 api: add some qol stuff needed by hyprland 2024-02-09 16:31:08 +00:00
ab007915f7 config: make special own its subcategories if not set 2024-02-09 04:35:16 +00:00
380453d389 Tests: fix for API change 2024-02-09 03:29:38 +00:00
ff30ccf3cb API: add a few convenience funcs needed by hyprland 2024-02-09 03:28:34 +00:00
26d2638f74 API: fix usage of stl in parseFile 2024-02-09 03:28:07 +00:00
Pavel Solovev
25da0804b0 use CMAKE_INSTALL_FULL_LIBDIR in pkgconfig instead of hardcoded lib 2024-01-09 17:20:04 +02:00
Pavel Solovev
d48680678d cmake: install pkgconfig in CMAKE_INSTALL_LIBDIR
This's a library so the pkgconfig file should be installed in CMAKE_INSTALL_LIBDIR
2024-01-09 11:01:51 +02:00
Pavel Solovev
f1aaf52c36 cmake: use GNUInstallDirs variables 2024-01-06 00:15:08 +02:00
Mihai Fufezan
8118461c52
CMake: add SOVERSION 2024-01-05 23:27:29 +02:00
Mihai Fufezan
4c28464a7d
CMake: fix install dirs 2024-01-04 12:41:03 +02:00
6624f2bb66 cmake: use CMAKE_SOURCE_DIR for tests
fixes #7
2024-01-03 14:13:58 +01:00
218d392e54 cmake: use binary_dir instead of build/
fixes #6
2024-01-03 13:59:09 +01:00
6f62e2d5f4 version: bump to 0.2.1 2024-01-02 23:10:42 +01:00
Mihai Fufezan
db5e1399b9
Fix pkg-config and Nix 2024-01-02 23:17:22 +02:00
5cb3d2ba62 cmakelists: bump version to 0.2.0 2024-01-01 13:27:04 +01:00
Vaxry
1db2a12767
CI: add fuzzing and sanitizing (#5) 2023-12-31 16:51:50 +01:00
bf6300d316 deploy: only run on main 2023-12-31 16:46:38 +01:00
55e6ca0e67 cmake: add pkg-config files 2023-12-31 14:41:22 +01:00
82dce408d1 docs: add newlines afer since 2023-12-31 14:28:36 +01:00
17e0c79139 api: add typedefs for config types 2023-12-31 14:20:50 +01:00
5150f64f15 configvalue: add getDataStaticPtr() 2023-12-31 14:15:03 +01:00
1210de188c configOptions: add allowMissingConfig 2023-12-31 01:59:37 +01:00
0d7d03363b readme: set better install prefix for cmake 2023-12-31 01:32:58 +01:00
2a9c79f0aa README: add example impl 2023-12-30 15:34:33 +01:00
0aef08154b CI: silence ssh and scp logs 2023-12-30 15:25:58 +01:00
Vaxry
2b87493487
CI: deploy docs (#2) 2023-12-30 15:15:36 +01:00
efcd821ee0 doxygen: init 2023-12-30 14:31:48 +01:00
70145fd8da core: add options for config parser 2023-12-30 13:32:29 +01:00
c69c286b31 readme: add build instructions 2023-12-29 20:05:45 +01:00
946e3d604c cmake: add install targets 2023-12-29 20:04:23 +01:00
a081d90b19 core: add custom data types 2023-12-29 19:35:23 +01:00
8d538588ff internal: move public stuff to include/hyprlang.hpp 2023-12-29 18:01:07 +01:00
Vaxry
d6bb511810
CI: Add arch cross-compile and test (#1) 2023-12-29 17:52:44 +01:00
97bf10facd core: add missed config test 2023-12-29 16:02:43 +01:00
710bf1276a core: add parseFile 2023-12-29 13:43:36 +01:00
cc05e782b3 core: add special categories 2023-12-29 13:26:21 +01:00
4d9da8db25 tests: adjust env check 2023-12-29 12:05:08 +01:00
069cb99131 readme: add vars to readme 2023-12-29 12:03:19 +01:00