Vaxry
1ed1ce9506
internal: new shared_ptr and weak_ptr implementation ( #5883 )
...
moves std::shared_ptrs to a new implementation
Advantages:
- you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired.
- this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.)
- weak_ptrs are still valid while the SP is being destroyed.
- reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection)
- this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though.
- this is useful in destructors and callbacks.
2024-05-05 17:16:00 +01:00
5edc32930d
layerSurface: refactor/move to a memory-safe impl
...
Makes all the pointers smart to avoid memory issues
Refactors layerSurface code to live inside desktop/layersurface
2024-04-30 02:41:27 +01:00
Vaxry
bca7804bb6
internal: Window storage rework - part 1 ( #5762 )
...
* Window storage rework - part 1
* format
* remove useless include
* fix pch
* format
* fix crash in dwindle
* fix vram leak
* prefer .expired() for bool checks
2024-04-27 12:43:12 +01:00
261c3307f7
internal: cleanup headers in helpers/
2023-08-07 13:36:14 +02:00
Vaxry
89b87158db
internal: Wrap regions ( #2750 )
2023-07-19 20:09:49 +02:00
2f875aec79
includes: move workspace protocol header to includes
2023-06-21 21:17:05 +02:00
vaxerski
5ce76cd0b0
internal: add tag to version, send hash in release ci
2023-04-27 14:28:40 +01:00
Vaxry
8b81f41e52
Plugin System ( #1590 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-02-27 12:32:38 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
dfa9277867
remove double semicolons
2022-12-06 15:06:27 +00:00
vaxerski
0a302901d2
Added handling more special workspaces
2022-11-27 22:42:22 +00:00
vaxerski
0948b078e1
added border gradients
2022-11-26 17:57:02 +00:00
vaxerski
137cf9e582
improve constraint handling
2022-11-20 17:35:13 +00:00
vaxerski
748a6965ca
include utility in defines
2022-11-03 19:55:20 +00:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
vaxerski
6e16dfa5e5
use defines for unreachable
2022-07-25 21:34:57 +02:00
vaxerski
0d7a8cca79
use C++ throw methods instead of printf and exit
2022-07-06 16:17:58 +02:00
Florian "sp1rit"
7c3626f15e
meson: ensure non-debug builds will use proper configuration
...
meson will set add -DHYPRLAND_DEBUG to CXXFLAGS during compilation of
debug builds. this avoids NDEBUG issues with wlroots and ensures asserts
will also work on release builds.
2022-06-18 13:09:38 +02:00
vaxerski
0055efc4f1
Added a special workspace
2022-05-31 14:01:00 +02:00
vaxerski
227cbb0464
Added fullscreen types, maximize and full
2022-05-29 15:45:51 +02:00
vaxerski
68605c2ccf
crash in assert on fail for a coredump
2022-04-24 22:05:07 +02:00
vaxerski
fa38dfd416
Added git dirty
2022-04-22 18:33:30 +02:00
vaxerski
d7b3145b2e
Added git commit message to hyprctl version
2022-04-22 18:29:32 +02:00
vaxerski
e3b19e0131
Added hyprctl version
2022-04-22 18:14:25 +02:00
vaxerski
75af34da96
added basic damage tracking
2022-04-14 16:43:29 +02:00
vaxerski
5d529d46e7
use output's modes instead of a custom mode
2022-04-13 17:11:37 +02:00
vaxerski
a8e8729230
Added zext_workspace protocol support 🎉
2022-04-11 19:51:37 +02:00
vaxerski
a49bbf4508
fadeout done 🎉
2022-04-05 20:49:15 +02:00
vaxerski
374491ee63
progress
2022-04-04 19:44:25 +02:00
vaxerski
586e2a98ed
Added animated borders
2022-03-31 17:50:00 +02:00
vaxerski
ad4fc28f78
🎉 Wrapped dynamic event handlers
2022-03-28 22:31:39 +02:00
vaxerski
17e88bf059
log signals
2022-03-28 16:10:30 +02:00
vaxerski
144a79ee00
fixed ASSERT and last commit's oopsie
2022-03-27 22:34:02 +02:00
vaxerski
ad36a9dc9e
rework popups completely
2022-03-27 17:25:20 +02:00
vaxerski
332fa8a802
XWayland floating
2022-03-20 13:37:07 +01:00
vaxerski
9e735ad2f5
added borders
2022-03-19 16:13:19 +01:00
vaxerski
61e10e2048
added a layoutmanager and basic dwindle
2022-03-19 15:59:53 +01:00
vaxerski
bc937e3e71
Renderer
2022-03-17 20:22:29 +01:00
vaxerski
6e1819b3dc
some events
2022-03-17 18:25:16 +01:00
vaxerski
cf51ab71a2
input basics
2022-03-17 16:19:10 +01:00
vaxerski
ffd309ca2a
some basic startup code
2022-03-16 21:37:21 +01:00
vaxerski
de4c836e97
Initial Commit
2022-03-16 20:50:55 +01:00