Wolf
b646ece14b
impr: Refactor and restructure Event Manager ( #2082 )
...
### Problem description
This PR addresses issue #2013 that described a cluttered Event Manager.
This is a DX issue and should not impact the users whatsoever.
### Implementation description
The changes revolve around three main points:
1. the Event Manager (`event_manager.hpp`) was split into four
categories: GUI, Interaction, Lifecycle, and Provider, and two types:
Events, and Requests. This results in the following files:
- `events_gui.hpp`
- `events_interaction.hpp`
- `events_lifecycle.hpp`
- `events_provider.hpp`
- `requests_gui.hpp`
- `requests_interaction.hpp`
- `requests_lifecycle.hpp`
- `requests_provider.hpp`
2. Every event and request now has its own piece of documentation, with
a `@brief`, accompanied by a longer comment if needed, and gets its
`@param`s described.
3. The old `event_manager.hpp` import was removed and replaced by the
correct imports wherever needed, as to reduce spread of those files only
to where they are truly useful.
### Additional things
The commits have been split into (chrono-)logical steps:
- `feat`: split the Event Manager, and replace the imports
- `refactor`, `chore`: make various small changes to match the required
structure
- `docs`: add documentation for events and requests
Hopefully, this will help to review the PR.
*Note: Beware of very long rebuild times in between the commits, use
them sparingly! The Actions will ensure this PR builds anyways*
Closes #2013
---------
Signed-off-by: BioTheWolff <47079795+BioTheWolff@users.noreply.github.com >
Co-authored-by: Nik <werwolv98@gmail.com >
2025-01-25 15:32:07 +00:00
WerWolv
35e8acd69d
impr: Only enable font config Apply button when setting has changed
2025-01-25 15:50:52 +01:00
WerWolv
de4135d1ad
fix: ID collision with multiple items of the same name in the Accept Pattern popup
2025-01-25 15:47:09 +01:00
WerWolv
a44959ce1b
feat: Added option to enable debug features in release builds
2025-01-25 15:38:57 +01:00
WerWolv
f4bad0053a
fix: Linking errors in the web build
2025-01-25 15:24:44 +01:00
WerWolv
26af5987a5
fix: Properly check if distro info exists before printing it
2025-01-25 15:24:25 +01:00
WerWolv
9cf3250751
impr: Replace GitBook AI garbage with simple search API
2025-01-24 22:31:49 +01:00
WerWolv
acc77205bb
fix: Image visualizer data processor nodes not working
...
Fixes #2081
2025-01-24 21:36:29 +01:00
WerWolv
a6b4f62d75
fix: Opening files in existing instance not working
2025-01-23 19:22:40 +01:00
WerWolv
69c5d553b5
fix: Disable postprocessing shaders in Web version
2025-01-22 19:55:17 +01:00
WerWolv
637cdd7084
git: Only generate attestation on main repo
2025-01-22 19:19:19 +01:00
WerWolv
8978e193db
impr: Better OS-specific handling of system exceptions
2025-01-21 23:28:22 +01:00
WerWolv
242b100aa3
fix: Properly detect Windows 10
2025-01-20 21:45:53 +01:00
WerWolv
3a888d48df
fix: ID collision with color inline visualizer
2025-01-20 21:25:00 +01:00
WerWolv
721de39dbb
impr: Make icon context menu use MenuItemEx for its icons
2025-01-20 21:24:49 +01:00
WerWolv
07e29f2030
feat: Added support for OpenGL post processing shaders
2025-01-20 21:24:25 +01:00
WerWolv
c117d9b3e5
fix: Crash when changing DPI
2025-01-19 23:07:53 +01:00
WerWolv
16eae89151
fix: Save/Save As toolbar items being missing by default
2025-01-19 21:49:34 +01:00
WerWolv
95cb6d8ee6
patterns: Updated pattern language
2025-01-19 19:23:48 +01:00
WerWolv
af27c09204
fix: I guess we can still not use std::views::enumerate
2025-01-19 17:54:18 +01:00
WerWolv
5e3532267c
fix: Missing glfw include
2025-01-19 17:52:32 +01:00
WerWolv
7c0331df65
impr: Hide window on macOS when close button is pressed
2025-01-19 17:04:31 +01:00
WerWolv
04ab87cd8e
patterns: Updated pattern language
2025-01-19 14:42:02 +01:00
WerWolv
91f5e84250
impr: Don't insert a new line at the end of settings pages
2025-01-19 10:56:00 +01:00
WerWolv
b1edd95ebc
impr: Shortcut code cleanup
2025-01-19 10:55:27 +01:00
WerWolv
758738da5c
fix: Default font not being the default font
2025-01-19 10:34:54 +01:00
WerWolv
41c8be275b
fix: Assert when selecting selectable text
2025-01-19 00:26:26 +01:00
WerWolv
117eb1e2a7
feat: Added more granular font settings
...
Fixes #1260
2025-01-18 23:34:43 +01:00
WerWolv
3129d6e8fd
impr: Simplified custom font selection
2025-01-18 19:03:55 +01:00
WerWolv
2ba7db184b
build: Fix favicon transparency for ImHex Web
2025-01-18 17:47:36 +01:00
WerWolv
2cb0df4080
build: Properly optimize web build
2025-01-18 16:53:11 +01:00
WerWolv
3adc2c44e6
fix: Font customization not unlocking correctly
2025-01-18 16:05:11 +01:00
WerWolv
6d3ff64894
fix: ImHex using a lot of CPU
2025-01-18 14:57:06 +01:00
WerWolv
cf84ad6196
fix: Added back old constructor for Widgets::DropDown
2025-01-18 14:56:53 +01:00
WerWolv
6259190ad9
impr: Make localization fall back to english if it doesn't exist
2025-01-18 14:40:10 +01:00
WerWolv
181be1a58e
fix: Missing paste behaviour option translations
2025-01-18 14:36:31 +01:00
WerWolv
771e191f28
fix: Windows icon not being transparent anymore
2025-01-18 14:11:49 +01:00
WerWolv
d4d6893eb3
git: Make sure PORTABLE flag is created correctly
2025-01-18 13:58:20 +01:00
WerWolv
9e75562662
build: Fix RPM icon path
2025-01-18 13:45:57 +01:00
WerWolv
2b3168163b
git: Extract PDBs for for portable version properly
2025-01-18 13:45:32 +01:00
WerWolv
252c06eb12
build: Extract PDBs from build files
2025-01-18 13:26:12 +01:00
WerWolv
2a51d8169a
build: Move icon to correct location
2025-01-18 13:18:33 +01:00
WerWolv
7405c4b411
build: Updated disassembler library
2025-01-18 13:06:31 +01:00
WerWolv
309ae7b619
build: Fixed disassembler library git messup
2025-01-18 12:38:20 +01:00
WerWolv
64ef56a0df
git: Fixed Windows PDB extraction process
2025-01-18 12:04:46 +01:00
WerWolv
fbfe7b0d25
impr: Unlock frame rate for the first few seconds after startup
2025-01-18 11:58:49 +01:00
WerWolv
8c7e1a3b2d
impr: Replace icon with Papyrus icon.
...
Special thanks to @varlesh and @morganist
See https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3909
2025-01-18 11:55:17 +01:00
WerWolv
bf249cdafe
build: Updated disassembler library
2025-01-18 11:07:28 +01:00
WerWolv
59ba6f50cc
build: Disable install targets of libfmt to fix Windows WIX installer
2025-01-18 11:03:51 +01:00
WerWolv
8d6e7c7d44
fix: Decompressor compile errors
2025-01-18 10:28:20 +01:00