Commit graph

128 commits

Author SHA1 Message Date
3ca41b74c0 vaxry moment 2024-12-18 16:00:12 +00:00
0af712e151 e 2024-12-18 15:59:18 +00:00
3d3e8ad1e6 stuf 2024-12-18 15:57:24 +00:00
f8de2a65db thing 2024-12-18 15:52:06 +00:00
29159159f9 oopse 2024-12-18 15:48:05 +00:00
06060bb27d core: add nominal size 2024-12-18 15:42:49 +00:00
f388aacd22
flake.lock: update
overlays: gcc13Stdenv -> gcc14Stdenv
2024-12-16 17:58:29 +02:00
Jan Beich
c18572a92e
util: add missing header for libc++ (#71)
hyprcursor-util/src/main.cpp:260:19: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'
  260 |     std::ofstream manifest(out + "/manifest.hl", std::ios::trunc);
      |                   ^
/usr/include/c++/v1/__fwd/fstream.h:26:28: note: template is declared here
   26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream;
      |                            ^
hyprcursor-util/src/main.cpp:292:41: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  292 |         std::ifstream                   xconfig("/tmp/hyprcursor-util/" + xcursor.path().stem().string() + ".conf");
      |                                         ^
/usr/include/c++/v1/__fwd/fstream.h:24:28: note: template is declared here
   24 | class _LIBCPP_TEMPLATE_VIS basic_ifstream;
      |                            ^
hyprcursor-util/src/main.cpp:370:23: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'
  370 |         std::ofstream meta(CURSORDIR + "/meta.hl", std::ios::trunc);
      |                       ^
/usr/include/c++/v1/__fwd/fstream.h:26:28: note: template is declared here
   26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream;
      |                            ^
2024-12-14 14:05:23 +01:00
0264e69814 core: allow ;-separated values in hl format
fixes #67
2024-10-11 19:02:18 +01:00
70fb494aa6
CI: add test action 2024-10-08 23:47:22 +03:00
572cb49bb7
Nix: add hyprcursor-with-tests 2024-10-08 23:45:47 +03:00
53a23e4b41
CMake: allow installing tests 2024-10-08 23:44:50 +03:00
d60e1e01e6 tests: fixup C test override checking 2024-10-01 23:26:44 +01:00
5729b9733d core: fixup overridenBy reporting 2024-10-01 23:26:36 +01:00
Jan Beich
34efe230c2
core: add missing header for libc++ after 5a95d8512b (#66)
libhyprcursor/hyprcursor.cpp:23:27: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
   23 |         std::stringstream envXdgStream(envXdgData);
      |                           ^
/usr/include/c++/v1/__fwd/sstream.h:29:28: note: template is declared here
   29 | class _LIBCPP_TEMPLATE_VIS basic_stringstream;
      |                            ^
2024-10-01 10:08:26 +01:00
704cd7fed0 version: bump to 0.1.10 2024-09-30 22:25:02 +01:00
e8acfdb903 gitignore: add .cache 2024-09-30 18:29:41 +01:00
6b4131ee52 core: initialize C shape data fully 2024-09-30 18:12:34 +01:00
66648429bd core: avoid uninitialized overriddenBy of raw shape data
ref #64
2024-09-30 18:10:29 +01:00
Pascal Lasnier
b98726e431
docs: Correction in hotspot coordinates documentation (#63) 2024-09-28 15:13:23 +01:00
Jacob Birkett
912d56025f nix: pkg: add missing dep xcur2png 2024-08-02 21:24:31 +03:00
Libadoxon
5a95d8512b
lib: Use XDG_DATA_DIRS to query themes (#58)
* lib: use XDG_DATA_DIRS to search themes

* lib: fix some stylistic errors

* lib: more stylistic errors fixed
2024-07-30 22:04:10 +02:00
4493a972b4
flake.lock: update 2024-07-18 22:19:31 +03:00
04cb4df80a
CMake: fmt 2024-07-18 22:18:46 +03:00
4efcbd36a2
CMake, Nix: add VERSION file 2024-07-18 22:18:35 +03:00
Ikalco
a5c0d57325
core: only alloc as much as needed when reading in cursor images (#51) 2024-07-04 17:59:59 +02:00
Vaxry
66d5b46ff9
README: add standards link 2024-06-15 13:24:35 +02:00
dd3a853c82 README: add toml++ to dep list 2024-06-14 14:32:02 +02:00
c50b2f0f1d ci: fix missing dep 2024-06-14 14:31:45 +02:00
d5f4a6c708 docs: mention timeouts to be > 0 2024-06-13 12:11:39 +02:00
Visual-Dawg
9e27a2c2ce
README: add wiki (#45) 2024-05-31 21:55:20 +03:00
57298fc4f1 cmake: bump ver to 0.1.9 2024-05-24 20:46:51 +02:00
Ikalco
27ca640abe
core/API: add option to not use default fallbacks (env and first available) (#43)
* add option to not use default fallbacks (env and first available)
2024-05-21 23:45:11 +02:00
7c3aa03dff shapes: fix nearest size finding for png cursors
fixes #14
2024-05-15 17:50:17 +01:00
dfba774650 cmake: bump ver to 0.1.8 2024-05-15 17:50:17 +01:00
Daniel Horton
4a32d0cf25
README: Fixed getconf command in build instructions (#42)
getconf NPROCESSORS_CONF isn't a valid command. The correct command is getconf _NPROCESSORS_CONF.
2024-05-14 16:14:13 +01:00
Eric Leblond
cab4746180
zip: fix build for some distros (#37) (#38)
libzip 1.10.1 is not available on some distributions. This patch
introduces a workaround to fix the build instead of jumping to
1.10.1 release.
2024-04-20 12:23:33 +01:00
0a53b9957f
flake.lock: update 2024-04-15 23:54:23 +03:00
c38dcf160d util: fix printing overrides
ref #36
2024-04-15 14:21:28 +01:00
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
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
17ebb7fff0 lib: add missing header
ref #30
2024-04-08 23:31:11 +01:00
bd56398f19 lib: round hotspots in getShapes
ref #28
2024-04-08 18:23:14 +01:00
af4ce3953d lib: minor manifest reading fixes
fixes #29
2024-04-08 18:20:10 +01:00
65507c093f lib: fix missing overrides
ref #27
2024-04-08 11:46:28 +01:00