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
outfoxxed
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
c342d5ca44
memory: do not release pointers after emitting a signal
...
A signal called is allowed to free ourselves, in which case we're not allowed to use this anymore. Only perform the housekeeping of removing stale events before emit, and in registerListener.
2024-07-08 23:06:28 +02:00
a8c3a13570
math/region: add expand
2024-07-05 20:17:24 +02:00
Maximilian Seidler
259ecfa098
string: respect removeEmpty when VarList input is empty ( #7 )
2024-07-04 18:04:41 +02:00
1d20063da2
math: avoid assert fail in std::clamp in closestPoint
2024-07-04 15:49:06 +02:00
drendog
bbc76ba4e4
math: adjust right and bottom box edges ( #6 )
2024-07-02 12:16:59 +02:00
Tom Englund
7e1b6610a2
memory: avoid undefined behaviour from downcasting ptr implentation ( #5 )
...
* sharedptr: dont downcast ptr implentation
avoid runtime errors of wrong downcasts by adding a underlaying ptr data
getter and only cast the data, downcasting the implentation type isnt
inherited from eachother, while the intention was do upcast/downcast
a derived class to a base class. found with UBSAN "runtime error:
downcast of address which does not point to an object of type
"CSharedPointer_::impl<IKeyboard>" note: object is of type
"Hyprutils::Memory::CSharedPointer_::impl<CKeyboard>"
also make dataNonNull check against != nullptr.
* sharedptr: use reinterpret_cast instead of c style
make it more type safe, C style casts tries every single one until one
works, or not. compilers also produces better warnings/errors when using
c++ casts in favour of C style ones.
2024-06-28 18:49:58 +02:00
1f6bbec595
cmake: bump ver to 0.1.5
2024-06-25 13:48:22 +02:00
sslater11
5606bf985b
README: Update build instructions ( #4 )
2024-06-25 01:18:45 +02:00
Jasson Cordones
7a2c2c96ec
Math: Some more box improvements and test cases ( #3 )
...
* Added some constants to handle floating point presicion comparisons and other calculations plus some refactoring
* Removed validation
* Added comments to understand how box header works
* Extended the EXPECT macro to evaluate Vector2D test cases
* Added box.cpp test cases
* Applied clang-format
2024-06-25 01:17:44 +02:00
Jasson Cordones
ff343e0279
Math: Added some constants to handle floating point presicion comparisons ( #2 )
...
* Added some constants to handle floating point presicion comparisons and other calculations plus some refactoring
* Removed validation
2024-06-23 20:14:57 +02:00
725f63aabc
vector: prefix macros with AQ_
2024-06-19 23:16:16 +02:00
4f1351295c
cmake: bump ver to 0.1.4
2024-06-19 15:34:38 +02:00
4436fbfc67
Nix: add pixman dep
2024-06-19 09:12:49 +03:00
1f59192a2d
ci: add pixman to dependencies
2024-06-18 23:36:10 +02:00
b4b5389bc1
Math: add an int ctor to vec
2024-06-18 18:17:55 +02:00
e9d4a99e13
Math: init Region, Vector2D and Box
2024-06-18 14:10:18 +02:00
a8f9373474
cmake: bump version to 0.1.3
2024-06-17 13:24:41 +02:00
d4c71b925c
Nix: don't strip debug symbols
2024-06-17 13:05:21 +03:00
ea8fd1d3ea
string: fix isNumber accepting - as valid number
2024-06-15 11:36:28 +02:00
8e10e0626f
cmake: bump ver to 0.1.2
2024-06-13 11:36:49 +02:00