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
a44959ce1b
feat: Added option to enable debug features in release builds
2025-01-25 15:38:57 +01:00
WerWolv
16eae89151
fix: Save/Save As toolbar items being missing by default
2025-01-19 21:49:34 +01:00
WerWolv
6bfdb7ca4e
fix: Make sure provider switch buttons and close button don't overlap
2025-01-14 22:10:58 +01:00
WerWolv
67a9f314cc
impr: Added icons to more context menus
2024-12-31 00:45:47 +01:00
WerWolv
5f5f6ac539
feat: Added option to move selection back to hex editor footer
...
Closes #2024
2024-12-29 21:08:08 +01:00
WerWolv
9ca40d3651
build: Added ImPlot3D
2024-12-17 23:51:45 +01:00
WerWolv
6a28de100c
impr: Rename font definition files
2024-12-14 20:36:09 +01:00
WerWolv
b2fc80f970
impr: Fix various issues with runtime-generated language strings
2024-08-03 11:32:17 +02:00
WerWolv
d8e1284946
fix: Task names not displaying correctly anymore
2024-07-27 14:09:52 +02:00
WerWolv
9aaf6f3105
web: Trigger right click when long touching area
2024-07-04 23:15:33 +02:00
WerWolv
7cd36b80eb
impr: Added tooltips to toolbar buttons
2024-07-03 16:58:25 +02:00
WerWolv
06ab1d34aa
build: Updated ImGui, libfmt and libyara
2024-07-01 22:00:08 +02:00
WerWolv
c6a569ed88
impr: Don't reconstruct toolbar items list every frame
2024-06-25 23:14:05 +02:00
WerWolv
4bc724791d
impr: Optimize frame times
2024-06-25 13:54:46 +02:00
WerWolv
bee4b906fb
fix: Crash when closing providers
2024-06-16 14:48:31 +02:00
WerWolv
ffe3dae7b2
build: Updated ImGui to v1.90.8
2024-06-07 22:12:50 +02:00
WerWolv
ff20f81cfd
impr: Added back selection size in hex to the footer
2024-06-07 19:21:38 +02:00
WerWolv
761bc941a8
impr: Make right click menus open faster
2024-05-01 20:50:35 +02:00
WerWolv
43149498cf
fix: Main window being hard to resize when bytes are selected in the hex editor view
2024-04-12 22:55:54 +02:00
WerWolv
696612385a
fix: Use std::ranges::find
instead of std::ranges::contains
for now
2024-03-29 16:34:01 +01:00
WerWolv
51010096bb
feat: Added provider information to search bar hover tooltip
2024-03-29 15:38:03 +01:00
WerWolv
4e5a7ba483
fix: Closing providers still appearing in the provider list
2024-03-29 15:37:34 +01:00
WerWolv
ed2939c39e
impr: Better UI and UX for the hex editor footer
2024-03-21 23:50:34 +01:00
WerWolv
54266bf63b
fix: Remove debug popup function in release mode to avoid build errors
2024-03-02 14:23:52 +01:00
WerWolv
ba12f7aec9
impr: Added testers to About screen
2024-03-02 11:57:30 +01:00
WerWolv
2ff884fd11
feat: Replaced debug button functions with full debug menu
2024-03-01 20:56:46 +01:00
WerWolv
01c934f53a
impr: Rework setting change listeners
2024-02-18 11:29:18 +01:00
WerWolv
0aae605ac4
fix: Processing and drawing of diffs
2024-02-11 19:29:02 +01:00
WerWolv
5cfcca0bc4
feat: Allow switching off borderless window mode
2024-02-11 14:12:14 +01:00
Nik
bcbcb1f23c
impr: Various web build improvements, API cleanup ( #1541 )
2024-02-10 23:31:05 +01:00
WerWolv
a03e8dd879
impr: Harden settings system to not crash ImHex when having outdated configs
...
Fixes #1514
2024-02-03 12:16:36 +01:00
WerWolv
62978e5d34
feat: Added setting to always show provider tabs
2024-01-30 00:11:45 +01:00
WerWolv
823881f7f1
fix: Invalid parameters passed to task progress bar formatter
2024-01-27 14:15:08 +01:00
WerWolv
44510b5b64
impr: Make task progress not display -100% when in no progress state
2024-01-27 11:02:14 +01:00
Nik
d005b5d2d9
feat: Allow toolbar icons to be modified ( #1509 )
2024-01-21 18:39:32 +01:00
WerWolv
5f02320e8e
impr: Make drag n drop overlay localizable
2024-01-11 10:20:39 +01:00
WerWolv
3449525ead
feat: Added drag-n-drop overlay for windows
2024-01-10 23:46:50 +01:00
WerWolv
af63b42eaf
impr: Make task progress bar show animation when no progress is set
2023-12-28 22:14:45 +01:00
WerWolv
96fe608d60
impr: Switch most usages of modals over to toasts
2023-12-26 00:22:47 +01:00
WerWolv
52192a3b26
impr: Better FPS graph
2023-12-25 23:23:19 +01:00
Nik
61bfe10bc2
refactor: Rework features that use external libraries into optional plugins ( #1470 )
2023-12-23 21:09:41 +01:00
WerWolv
e951359a46
feat: Add frame time graph to FPS display
2023-12-20 13:42:42 +01:00
WerWolv
eb21a5992f
impr: Make sure no empty popup appears when right clicking search box
2023-12-18 22:51:08 +01:00
WerWolv
a3f1a5b0a9
fix: Crash when right clicking search bar when a provider with no menu options is open
2023-12-18 22:45:15 +01:00
WerWolv
478d6118d8
fix: Prevent empty provider menu from being opened
2023-12-18 11:58:31 +01:00
WerWolv
6bc4a7242e
fix: Allow search bar to be right clicked to open provider menu
2023-12-18 11:46:23 +01:00
WerWolv
c1abbfad7d
impr: Make sure welcome screen stays at the back
2023-12-18 10:14:07 +01:00
WerWolv
b4813660b5
refactor: Better interface for the event system
2023-12-08 10:29:44 +01:00
WerWolv
5f8c813aa7
impr: Only show provider selector bar when more than one is open
2023-12-07 11:21:13 +01:00