Commit Graph

89 Commits

Author SHA1 Message Date
Vaxry 1f4c960cf1 cmake: require libzip>=1.10.1
fixes #35
2024-04-14 19:33:07 +01:00
SoSeDiK 92af141a01
util: Minor cleanup (#34)
Avoid double // in paths
Replace magic 0 value with libzip's ZIP_LENGTH_TO_END
Correct png to image (can be svg as well)
2024-04-12 11:55:59 +01:00
SoSeDiK d41e8ac8d1
zip: Properly report error on zip_close (#33) 2024-04-12 11:54:39 +01:00
SoSeDiK 178717746d
lib: Add validation for cursor file names and propagate the error from parsing HL cursor (#32)
* Validate cursor file names

* Propagate errors from parsing HL cursor

* Validate cursor directory names
2024-04-12 01:01:33 +01:00
SoSeDiK f6a6322a03
lib: Count cursor-less themes as invalid (#31) 2024-04-10 17:29:25 +01:00
Vaxry 6742e9d3e2 props: bump ver to 0.1.7 2024-04-09 16:30:19 +01:00
Jin Liu e5e3d140a4
docs: specify that pixel coordinates of hotspot are rounded to the nearest (#28)
Since we now have a raw API, we shall specify how this is calculated, so
users of the raw API can do the same in their rendering code.
2024-04-09 02:29:44 +01:00
Vaxry 17ebb7fff0 lib: add missing header
ref #30
2024-04-08 23:31:11 +01:00
Vaxry bd56398f19 lib: round hotspots in getShapes
ref #28
2024-04-08 18:23:14 +01:00
Vaxry af4ce3953d lib: minor manifest reading fixes
fixes #29
2024-04-08 18:20:10 +01:00
Vaxry 65507c093f lib: fix missing overrides
ref #27
2024-04-08 11:46:28 +01:00
Vaxry 033416cedc util: pack meta with the correct extension
fixes #25
2024-04-08 10:23:45 +01:00
Vaxry 95cd9376e8 lib: fix missing / in path 2024-04-08 10:21:12 +01:00
Vaxry 818d8c4b69 cmake: bump ver to 0.1.6 2024-04-06 21:18:01 +01:00
Vaxry 7561459770
lib: Added a raw data API (#23)
* raw data API

* add missing type arg

* tests: better stuff
2024-04-06 21:16:55 +01:00
Mihai Fufezan 981b661782
CI: add tomlplusplus 2024-04-05 20:50:58 +03:00
Mihai Fufezan 08fbf37b1c
Merge pull request #22 from fred21O4/patch-1
fix missing follow in flake.nix
2024-04-05 20:45:35 +03:00
fred21O4 7266c021cd
fix missing follow in flake.nix
this causes an extra instance of the systems flake, and makes it very difficult to overide in upstream flakes
2024-04-05 11:00:30 +13:00
Mihai Fufezan 6b1dc5e15a
Nix: add tomlplusplus dep 2024-04-04 20:01:46 +03:00
Vaxry d780013ffa CMake: move hyprcursor-util to parent 2024-04-04 17:40:42 +01:00
Vaxry aaccfdc83d docs: add toml instructions 2024-04-04 16:27:39 +01:00
Vaxry 4781252877 tests: fixup hardcoded themes as always 2024-04-04 16:22:14 +01:00
Vaxry f4ea0297a0 core: Add support for toml manifests and metas
ref #20
2024-04-04 16:21:38 +01:00
Mihai Fufezan be7e9f93cf
Nix: patch in search dir 2024-04-04 08:48:42 +03:00
Maximilian Seidler 752cc44779
docs: mention aspect ratio of cursors (#18) 2024-04-02 15:35:03 +01:00
Vaxry 73721de9ae lib: fixup path accessibility lookups 2024-04-02 15:28:31 +01:00
Vaxry d3876f3477 lib: improve access checks on themes 2024-03-26 15:26:26 +00:00
Vaxry 1a1fcfb58d lib: fixup theme name matching 2024-03-25 11:54:29 +00:00
Vaxry 44d46e45a1 tests: comment the functionality 2024-03-25 01:45:46 +00:00
Vaxry 75751ed957 headers: fixup since vers 2024-03-24 20:50:26 +00:00
Vaxry 22a4195557 lib: add user-defined logging 2024-03-24 20:37:31 +00:00
Vaxry f870f0f980 cmake: bump ver to 0.1.5 2024-03-24 03:23:53 +00:00
Vaxry 7bd0d55aa2 lib: set size to 0 for svg images
ref #13
2024-03-23 01:04:53 +00:00
Vaxry 6a92473237 lib: accept theme names for lookup 2024-03-21 15:42:22 +00:00
Zach DeCook 8a874fc49c
tests: Prevent tests from crashing when manager is invalid (#9) 2024-03-21 15:21:43 +00:00
Rudolchr e3694ecf2f
cmake: Fix clang build by adjusting passed flags (#11)
* Just add -std=gnu++2b to clang++ or clang will error out

* Assuming it was meant to silence the __cpp_concepts warning that appears by passing it via flags
2024-03-18 16:48:04 +00:00
Vaxry 4b9efbed7a util: wrap paths in quotes in shell invocations
ref #10
2024-03-17 00:29:10 +00:00
solopasha 59acebef20
cmake: correct includedir permissions (#7)
no need to set 777
2024-03-16 17:03:39 +00:00
Vaxry 60f9c53cf2 lib: avoid arithmetic on void*
fixes #8
2024-03-16 16:39:14 +00:00
Vaxry 1761f6cefd cmake: require hyprlang 0.4.2 2024-03-12 15:29:19 +00:00
Vaxry 2a78c30da0 cmake: bump ver to 0.1.4 2024-03-12 00:29:33 +00:00
Vaxry e3056efd46 lib: fix missing isSVG assignment 2024-03-12 00:25:56 +00:00
Vaxry b3aaedcca3
ci: Added CI (#2)
* add ci

* remove funding

* giittt

* libzip

* dont test cuz no theme
2024-03-11 22:17:42 +00:00
Vaxry 6c46511422 cmake: bump ver to 0.1.3 2024-03-11 22:01:59 +00:00
Vaxry f1547443a0 cmake: add version define 2024-03-11 22:01:46 +00:00
Vaxry 09b2a50fe7 lib: fix compile 2024-03-11 22:01:40 +00:00
Vaxry 0cbf601229 tests: mark styles as done after use 2024-03-11 21:06:13 +00:00
Vaxry 0631da05fc tests: don't enforce theme 2024-03-11 21:04:49 +00:00
Vaxry 0eef4db598 lib: fixup free conditions in done 2024-03-11 21:04:17 +00:00
Vaxry 7be76c1ae0 lib: fix animated types rasterization 2024-03-11 21:01:14 +00:00