Commit graph

82 commits

Author SHA1 Message Date
a27bde4ea7 fine lgpl 2024-03-02 15:09:41 +00:00
Mihai Fufezan
5bc2514dda
Nix: change license from gpl3Plus to bsd3 2024-03-02 01:28:42 +02:00
bea479eabc relicense to bsd3 2024-03-01 23:15:23 +00:00
42c66f6b44 cmakelists: bump ver to 0.4.1 2024-02-28 01:02:18 +00:00
Mihai Fufezan
0fce791ba2
flake.lock: update nixpkgs 2024-02-24 17:14:14 +02:00
Jacob Birkett
f4466367ef
Nix: fix the overlay and re-export properly (#26)
* flake: made systems overrideable

* flake: do not use legacyPackages

* flake: add overlay named hyprlang

* flake: overlays: do not recurse with rec

* flake: overlays: only use drvs from final fixpoint

* flake: packages: correctly eval own overlay
2024-02-23 11:48:52 +02:00
bbf5c30b0c core: throw custom value errors from handler 2024-02-19 14:22:12 +00:00
bf5c561905 core: fix dynamic variable updates with special categories 2024-02-19 14:19:01 +00:00
11d5ccda07 cmake: bump sover to 1 2024-02-17 23:34:20 +00:00
df4be17dea cmake: bump ver to 0.4.0 2024-02-17 23:32:21 +00:00
378c3e273b API: add anonymous special categories 2024-02-17 22:38:10 +00:00
65a7f870a6 internal: fix bugs on non-existent dynamic special requests 2024-02-17 19:11:22 +00:00
7b7e7cdd07 api: add listKeysForSpecialCategory 2024-02-17 19:01:35 +00:00
aeb3e012ad cmake: bump ver to 0.3.2 2024-02-15 14:05:43 +00:00
b0e3a884f5 docs: document configvalue's special STRING storage 2024-02-15 03:02:52 +00:00
61507d1b87 tests: add dynamic special test 2024-02-15 02:44:25 +00:00
bb85de0919 internal: fix preload of dynamic special categories
oops
2024-02-15 02:44:11 +00:00
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