| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | internal: new shared_ptr and weak_ptr implementation (#5883) | Vaxry | 2024-05-05 | 1 | -6/+6 |
| | | | | | | | | | | | | 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. | ||||
| * | HookSystem: improve callback safety | Vaxry | 2024-04-20 | 1 | -25/+29 |
| | | |||||
| * | hooksystem: add callbackinfo struct and cancellable events | Vaxry | 2023-10-21 | 1 | -3/+3 |
| | | |||||
| * | logging/format: use std::format_string to catch formatting string errors at ↵ | memchr | 2023-09-20 | 1 | -2/+2 |
| | | | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat | ||||
| * | internal: Remove all `.c_str()` calls when using `std::vformat` (#3198) | Philip Damianik | 2023-09-06 | 1 | -1/+1 |
| | | | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com> | ||||
| * | internal: Formatter rework (#3186) | Vaxry | 2023-09-06 | 1 | -2/+2 |
| | | |||||
| * | Plugin System (#1590) | Vaxry | 2023-02-27 | 1 | -11/+46 |
| | | | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com> | ||||
| * | Added an Event Hook System (#1578) | Vaxry | 2023-02-19 | 1 | -0/+44 |
| * added an eventHookSystem * Add all socket2 events to hooks | |||||
