Commit graph

82 commits

Author SHA1 Message Date
Honkazel
9aad80acd4
core: clang, clang-tidy fixes and comp options (#45)
* clang-tidy/clang fixes and comp options

* clang-format

* cmake: silence reorder for now

27 of them... Damn
2025-02-02 20:36:28 +01:00
Maximilian Seidler
dd790b90d7
animation: fix end callbacks readding the animation var (#43)
* animation: fix end callbacks readding the animation var

* include fix
2025-02-02 18:33:44 +01:00
6a8bc9d2a4 version: bump to 0.5.0 2025-01-27 11:45:43 +00:00
Maximilian Seidler
de58286a21
animation: fix crashes and cleanup of active vars (#42)
Minor stuff

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2025-01-27 12:45:01 +01:00
nyx
fb0c2d1de3
memory/weak: add missing nullptr comparison operators (#41) 2025-01-24 14:31:48 +01:00
3411e5b42d memory: add WP == UP comparison fn 2025-01-24 01:31:47 +00:00
006620eb29 version: bump to 0.4.0 2025-01-23 11:39:23 +00:00
Maximilian Seidler
ca1253c626
animation: add virtual dtor to AnimationManager (#31) 2025-01-23 11:38:09 +00:00
423c69d697 memory: implement a unique pointer
this unique pointer differs from the STL, because it allows weak pointers to it, which cannot be lock()ed.

under the hood, it's just a SP that cannot be referenced.
2025-01-23 11:34:35 +00:00
59414c4cee
math/region: fix scale using x scale as y scale (#39) 2025-01-22 09:35:48 +01:00
Maximilian Seidler
72dfbf5296
animations: fix adding/removing vars during ::tick (#35) 2025-01-11 16:37:12 +00:00
5dd4f4a9f7 animation: don't fire update events if the avar is not being animated 2025-01-10 16:44:32 +01:00
3c895da64b version: bump to 0.3.3 2025-01-06 12:55:19 +01:00
Jan Beich
fb9a816cb9
animation: add missing header for libc++ after 6a26d08bac (#30)
In file included from src/animation/AnimatedVariable.cpp:1:
In file included from ./include/hyprutils/animation/AnimatedVariable.hpp:3:
./include/hyprutils/animation/AnimationConfig.hpp:17:60: error: implicit instantiation of undefined template 'std::basic_string<char>'
   17 |             std::string                                    internalBezier  = "";
      |                                                            ^
/usr/include/c++/v1/__fwd/string.h:43:28: note: template is declared here
   43 | class _LIBCPP_TEMPLATE_VIS basic_string;
      |                            ^
In file included from src/animation/AnimatedVariable.cpp:1:
In file included from ./include/hyprutils/animation/AnimatedVariable.hpp:3:
./include/hyprutils/animation/AnimationConfig.hpp:18:60: error: implicit instantiation of undefined template 'std::basic_string<char>'
   18 |             std::string                                    internalStyle   = "";
      |                                                            ^
/usr/include/c++/v1/__fwd/string.h:43:28: note: template is declared here
   43 | class _LIBCPP_TEMPLATE_VIS basic_string;
      |                            ^
2025-01-03 22:47:04 +00:00
Maximilian Seidler
6a26d08bac
animation: add CAnimationConfigTree (#29)
Co-authored-by: Maximilian Seidler <paideia_dilemma@losfuzzys.net>
2025-01-02 14:02:21 +00:00
c42ce87eb3 version: bump to 0.3.1 2025-01-01 14:16:26 +01:00
Maximilian Seidler
8af7e4b9de
animation: add BezierCurve, AnimationManager and AnimatedVariable (#27) 2024-12-29 19:26:01 +00:00
8f15d45b12 region: Revert "fix header path"
This reverts commit 104117aed6.

Fixes #28
2024-12-27 17:23:03 +01:00
nyx
9be03a8562
misc: fix some compile warnings (#25)
- Cleans up compile warnings
- Formats code
- Cleans up unused vars
- etc
2024-12-25 19:10:14 +00:00
5e45b1a1b9 version: bump to 0.3.0 2024-12-22 23:05:34 +00:00
c3331116eb os/process: add pid() 2024-12-21 15:47:53 +00:00
Austin Horstman
e6cf45cd18
flake.nix: gcc13 -> gcc14; flake.lock: update (#22)
* flake.nix: gcc13 -> gcc14

* flake.lock: update
2024-12-16 22:24:07 +01:00
104117aed6 region: fix header path 2024-12-06 16:24:01 +00:00
b26f33cc1c README: fix invalid getconf value 2024-11-22 15:11:21 +00:00
Tom Englund
2e21319c8e
os: implent a new FileDescriptor class (#21)
makes you able to RAII the filedescriptor making it somewhat easier to
not leak.
2024-11-21 15:26:34 +00:00
e911361a68 version: bump to 0.2.6 2024-11-15 20:30:27 +00:00
e74177e025 os: add setEnv to process 2024-11-15 20:28:59 +00:00
315fba5d21 process: avoid zombies
fixes #20
2024-11-13 17:19:47 +00:00
91c1634727 version: update to 0.2.5 2024-11-12 12:25:15 +00:00
4c5f18d06b process: better reading for spawnSync 2024-11-11 22:34:56 +00:00
8d21d1dfa9 os: fixup process possible deadlock
Sloppy, but should work... Process shouldn't be used in performance-critical paths anyways.

ref https://github.com/hyprwm/Hyprland/issues/8425
2024-11-11 22:12:44 +00:00
Jan Beich
d504d45114
os: add missing header for BSDs after fd4be8b9ca (#16)
src/os/Process.cpp:105:9: error: use of undeclared identifier 'sigemptyset'
  105 |         sigemptyset(&set);
      |         ^
src/os/Process.cpp:106:21: error: use of undeclared identifier 'SIG_SETMASK'
  106 |         sigprocmask(SIG_SETMASK, &set, NULL);
      |                     ^
2024-11-09 20:30:25 +00:00
60d3dece30 version: bump to 0.2.4 2024-11-09 14:42:18 +00:00
3ce0cde870
nix: add debug flag
enable keepDebugInfo adapter on debug
build with mold linker
2024-11-07 10:41:43 +02:00
fd4be8b9ca os: Add process 2024-10-14 22:27:36 +01:00
3f5293432b tests: enhance memory + format 2024-09-25 22:44:05 +01:00
db956287d3 mat3x3: fix comment 2024-09-25 00:05:20 +01:00
7373e87215 version: bump to 0.2.3 2024-09-24 23:58:26 +01:00
Vaxry
a9f85a4bca
Math: add Mat3x3 (#14) 2024-09-24 18:18:25 +01:00
d97af4f6bd version: bump to 0.2.2 2024-09-21 00:29:09 +01:00
8976e3f6a5
gitignore: add CMake residual files 2024-08-30 00:21:23 +03:00
aadf9a27dd string: fixup isNumber not accepting -1.0
fixes #12
2024-08-28 18:53:00 +02:00
0252fd13e7 utils: add ScopeGuard 2024-08-05 16:45:41 +02:00
5dcbbc1e3d version: bump to 0.2.1 2024-07-27 18:47:29 +02:00
a950624669
math: add Edges (#10) 2024-07-27 17:38:55 +01:00
962582a090
flake.lock: update 2024-07-18 20:35:02 +03:00
04697c69ab
CMake: fmt 2024-07-18 20:34:31 +03:00
928d9b4ee9
CMake, Nix: add VERSION file 2024-07-18 20:34:06 +03:00
eb1ceff2b8 cmake: bump ver to 0.2.0 2024-07-15 21:28:57 +02:00
6174a2a25f
path: add findConfig and dir utils (#8) 2024-07-09 19:11:16 +02:00