Commit Graph

625 Commits

Author SHA1 Message Date
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
59986b052a Stale data indicator in memory inspection pane 2022-09-11 17:19:17 +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
dc45301ff8 Replaced MemoryRegionAddressInputType enum with generaic AddressType enum 2022-09-11 01:30:03 +01:00
Nav
a0e833b801 Increased batch size of ReadTargetMemory insight worker task 2022-09-10 23:27:05 +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
a88b77df8a Missing signal + tidying 2022-09-08 19:58:03 +01:00
Nav
2cca4bddfc Grouped InsightWorker tasks by use of TargetController 2022-09-08 19:56:48 +01:00
Nav
c460c9d7e1 Added support for grouping InsightWorker tasks 2022-09-08 19:54:37 +01:00
Nav
1ddff3c2a4 Support for multiple InsightWorker threads. We now have three InsightWorker threads as opposed to one 2022-09-08 16:07:29 +01:00
Nav
77cd13bf46 Added id to InsightWorker objects 2022-09-08 15:29:54 +01:00
Nav
7a8efcd7fc Tidying 2022-09-08 14:48:28 +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
227f0d4092 New GetTargetDescriptor insight worker task 2022-09-07 22:21:50 +01:00
Nav
dfa56d08d2 New GetTargetState insight worker task 2022-09-07 02:19:53 +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
620e6dc06a Corrected bug with memory inspection refresh button continuing to spin upon refresh error 2022-09-06 01:05:46 +01:00
Nav
0397cb9aba Replaced targetProgramCounterUpdated signal with new ReadProgramCounter Insight worker task.
Also some other bits of tidying
2022-09-06 00:52:38 +01:00
Nav
8146a442f6 Reduced memory read batch size to 128 bytes, in ReadTargetMemory Insight worker task, to improve stability (reduce likelihood of debug server (GDB) timeouts) 2022-09-03 20:38:36 +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
Nav
4da3a84c06 Small tweaks to memory address indicator on memory inspection widget 2022-09-03 20:34:44 +01:00
Nav
bd2af015ec Disable refresh button on memory inspection pane, when target goes into running mode 2022-09-03 20:33:49 +01:00
Nav
f113fca8ac Removed target stop event delay in Insight - it wasn't working very well and I don't think many users even use conditional breakpoints for other reasons. 2022-08-30 20:27:27 +01:00
Nav
99db00c0cc Split target memory reads (via InsightWorker task) to numerous reads, in order to prevent occupying the TargetController for too long (which can result in GDB timeouts) 2022-08-30 20:26:29 +01:00
Nav
8732df196e Disable auto refresh by default, in memory inspection widget 2022-08-30 19:20:00 +01:00
Nav
7971ad2070 Added memory capacity label to bottom bar in memory inspection pane 2022-08-30 03:10:48 +01:00
Nav
e9f6c50f35 Restored lh side bar and added an rh and bottom bar, in the memory inspection pane 2022-08-30 03:10:48 +01:00
Nav
c410905395 Some refactoring of ByteItem highlighting 2022-08-30 03:10:48 +01:00
Nav
f77e9d7874 Tidied PanelWidget::setSize() 2022-08-17 19:32:47 +01:00
Nav
bfe13b6d54 Restored deleted constructor (still needed) 2022-08-17 19:32:32 +01:00
Nav
5c81f2665c Corrected bug with PanelWidget size restoration breaking due to default maximum sizes. 2022-08-14 23:35:35 +01:00
Nav
afe6fe3ef4 Removed unnecessary state restoration of PanelWidgets 2022-08-14 23:24:29 +01:00
Nav
52c165a72d Made project settings key names consistent 2022-08-14 19:41:36 +01:00
Nav
f7460681f2 Disabled refresh button in memory inspection pane, when programming mode is enabled 2022-08-14 18:07:05 +01:00
Nav
aa0694196a Applied minimum size to detached PaneWidgets 2022-08-14 17:37:43 +01:00
Nav
cb33f33ba9 Fixed bug where deactivated PaneWidgets were still visible after state restoration 2022-08-14 17:37:25 +01:00
Nav
6083e3eb01 Corrected bug with corrupt memory access causing Qt error and seg fault 2022-08-13 23:55:58 +01:00
Nav
a0ee539501 Immediately close all of Insight's child windows on InsightWindow::deactivate() 2022-08-13 18:42:40 +01:00
Nav
b0b167453d Made managing of PanelState object consistent with the managing of other state objects 2022-08-13 18:41:52 +01:00
Nav
d646e06efe Fixed target register pane state restoration bug 2022-08-13 18:36:10 +01:00
Nav
1133c58498 Fixed bug where the PaneWidget size was not being recorded on resize 2022-08-13 18:35:37 +01:00
Nav
d59c4f92ba Refactored PaneState management across the PaneWidget 2022-08-08 22:26:32 +01:00
Nav
08977e8e0c Updated MemoryInspectionPane to prevent it from enabling UI too early (before stack pointer retrieval) for RAM 2022-07-24 12:44:31 +01:00
Nav
066c1fcece Fixed bug where the TargetController was shutting down before the InsightWorker thread, causing the InsightWorker thread to hang as it waited for the TargetController to respond to a command. 2022-07-23 16:03:33 +01:00
Nav
43f33a2e77 Corrected bug where memory inspection panes were not automatically fetching data upon the first target halt 2022-07-21 21:33:39 +01:00