Commit Graph

125 Commits

Author SHA1 Message Date
Nav
c45522ce5f Tweaked focused region icons 2023-04-15 00:01:48 +01:00
Nav
05943e6f8a Fixed bug with copying byte addresses/values from hex viewer to clipboard - they were being copied in an incorrect order 2023-04-12 21:49:33 +01:00
Nav
fb0a5fef3b Support external context menu actions in the HexViewerWidget 2023-04-10 16:41:24 +01:00
Nav
8efacae10b Fixed excluded memory regions in hex viewer 2023-04-09 00:04:16 +01:00
Nav
b4046e8ded Corrected focused region annotation margin caclulation 2023-04-01 16:16:58 +01:00
Nav
2fad19f533 The HexViewerWidget doesn't make any changes to memory regions - no need for them to be mutable 2023-03-25 20:14:50 +00:00
Nav
0f456310c8 Moved hex viewer styles to separate QSS file 2023-03-25 00:58:59 +00:00
Nav
dba7d83c4f Adjusted min width of hex viewer scene to prevent overlapping when the side panel is visible
(this addresses a regression from a previous change, decreasing the min width of the memory inspection window)
2023-03-19 01:37:31 +00:00
Nav
7998632eed Fixed item positioning bug in hex viewer 2023-03-19 01:34:17 +00:00
Nav
45715114a1 Fixed excessive annotation margin bug in FocusedRegionGroupItem 2023-03-19 01:33:53 +00:00
Nav
03ef7f0f8b Fixed regression bug with byte item hovering when row/col highlighting is disabled 2023-03-19 00:20:05 +00:00
Nav
20751b3fb9 Fixed bug with byte item selection in hex viewer 2023-03-18 13:00:42 +00:00
Nav
27f9c1446b Further reduced CPU load when hovering in the hex viewer 2023-03-18 13:00:23 +00:00
Nav
65f1aead11 Fixed bug in hex viewer graphics scene, where double clicks were being ignored 2023-03-16 18:45:56 +00:00
Nav
46e5d813bb Tidying 2023-03-16 18:45:15 +00:00
Nav
c1af6b9f03 Added selection count label to hex viewer 2023-03-16 18:45:03 +00:00
Nav
c79dfa1967 Used a signal for updating hovered address label in hex viewer 2023-03-16 18:43:44 +00:00
Nav
4895b2c919 Tidying 2023-03-13 00:45:26 +00:00
Nav
db9cddf12c Fixed off-by-one bug in address item container 2023-03-12 15:00:15 +00:00
Nav
92b0e51a87 Replaced stack memory highlighting with grouping, to group stack memory and present annotations 2023-03-11 17:50:21 +00:00
Nav
69a4c4062e Made ByteItem pixmap cache generation thread-safe 2023-03-11 17:31:54 +00:00
Nav
4e8bd55acd Fixed bug with FocusedRegionGroupItem not correctly updating the contained byte items 2023-03-11 16:09:21 +00:00
Nav
d1e7b900de Fixed HexViewerItem pointer invalidation bug 2023-03-11 16:06:53 +00:00
Nav
e83ce7de8f Tidying 2023-03-07 22:39:49 +00:00
Nav
c1c64b965c Fixed segmentation fault caused by invalid iterators, in the hex viewer graphcis scene 2023-03-07 22:36:04 +00:00
Nav
ec44ccb60e Fixed lagging bug with rubber band selection rectangle in hex viewer 2023-03-06 20:58:36 +00:00
Nav
6302cab686 Improved byte item selection upon the triggering a context menu in the hex viewer 2023-03-06 20:58:05 +00:00
Nav
3ce1d7df43 Tidying 2023-03-01 22:24:01 +00:00
Nav
6ecb52ad49 Further performance improvements to hex viewer 2023-03-01 22:11:59 +00:00
Nav
858287a7d0 Refactored hex viewer in preparation for snapshot viewer and diffs.
Before this refactor, the hex viewer was consuming far too much RAM and wasn't
scaling very well. It can now handle data inspection up to 5MB (way more than we need), comfortably
2023-02-27 00:15:46 +00:00
Nav
f41e60d0af Removed pointless container in HexViewerWidget and tidied QSS styles 2023-02-20 21:55:55 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
fe6e5379ff Tidying 2023-02-20 21:55:55 +00:00
Nav
c35565bcd0 Register std::map<Targets::TargetMemoryAddress, Widgets::ByteItem*> meta type 2023-01-14 12:53:57 +00:00
Nav
b3fb3f0955 Lots of tidying 2022-12-03 22:16:21 +00:00
Nav
6e0038b41c Corrected font bug in annotation items 2022-09-19 14:40:48 +01:00
Nav
2ff7a3fdde Fixed annotation item italic bug in memory inspection pane 2022-09-17 20:55:37 +01:00
Nav
cd2dae41e4 Implemented data export via clipboard actions in the hex viewer widget 2022-09-14 19:45:21 +01:00
Nav
6a8c5688dc Moved byte item selection to std::map, to ensure sorting of byte item pointers by byte item memory address 2022-09-14 19:01:17 +01:00
Nav
9aff8183dd Turns out we can't construct a QGraphicsScene on a different thread - causes issues with Qt's internal event posting code.
Instead, we now construct just the ByteItem objects on the worker thread. At some point, I'd like to move the item positioning onto
a worker thread, but that's for another day.
2022-09-13 22:40:55 +01:00
Nav
463b57ec83 Made addressLabelType changeable via context menu 2022-09-11 01:50:36 +01:00
Nav
8574918f81 Added addressLabelType to HexViewerWidgetSettings 2022-09-11 01:48:42 +01:00
Nav
16c559e70f Improved HexViewerWidget performance 2022-09-10 22:51:57 +01:00
Nav
241d94da54 Off-loaded ByteItemGraphicsScene construction to Insight worker task 2022-09-10 22:50:52 +01:00
Nav
be2b5184ce Removed InsightWorker injection in Insight widgets 2022-09-08 14:29:41 +01:00
Nav
0a45bca30a Replaced InsightWorker signals with InsightSignals singleton 2022-09-07 22:25:28 +01:00
Nav
7d07a9cf6c Tidying 2022-09-06 17:17:43 +01:00
Nav
46d8ce1854 Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases 2022-09-06 17:16:49 +01:00
Nav
cb272dfcff Implemented select all (Ctrl+A) and deselect (Esc) shortcuts in hex viewer byte item selection 2022-09-03 20:37:44 +01:00
Nav
798f6913a4 Implemented rubber-band selection rectangle in memory inspection hex viewer 2022-09-03 20:36:38 +01:00