Robin Getz
c2b30d4fa8
tree wide: Fix message ownership and reporting for unhandled queue messages
...
MessageQueue::pop() transfers ownership of the popped message to the
caller, but many handleInputMessages() implementations only deleted
the message when handleMessage() returned true. When a message was not
handled, ownership had already been transferred from the queue and the
message was leaked.
This was identified while investigating an ASAN leak in the audio
subsystem.
Update the applicable handleInputMessages() implementations to always
delete messages after handleMessage() returns. Unhandled messages are
also logged with the component and message identifier so unexpected
message routing is visible during debugging.
This change:
- Ensures every message popped from a queue has its ownership resolved.
- Prevents leaks when handleMessage() returns false.
- Makes unhandled messages visible instead of silently discarding them.
- Preserves the existing message handling logic and does not require
components to handle message types that are legitimately irrelevant
to them.
The changes are intentionally mechanical and limited to the common
message queue ownership and diagnostic pattern.
Signed-off-by: Robin Getz <rgetz503@gmail.com >
2026-09-25 23:49:05 -04:00
f4exb
63348eeee1
Make device title editable in the basic device settings. Fixes #2292
2026-01-28 03:05:39 +01:00
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
2024-04-11 23:31:34 +02:00
f4exb
869f1a4191
Rewriting of copyright notices for plugins/samplesink. Part of #1893
2023-11-18 09:58:55 +01:00
Jon Beniston
e799e5eb72
Fix resize cursor not being cleared when mouse moves over child widgets
2023-11-13 20:51:03 +00:00
Jon Beniston
0dd466a900
Add DialogPositioner to ensure dialogs are fully on screen and remain on
...
screen when screen orientation changes.
Add DialPopup to allow dials to adjusted with a slider, which is easier
on touchscreens.
Add TableTapAndHold to support table context menus on touchscreens.
2022-12-20 10:31:15 +00:00
Jon Beniston
ee8b8ade88
Device GUIs: Constain window size via minimumSize/maximumSize, rather than handling resizeEvent. Add maximum button. Hide size buttons when window size is fixed
2022-11-09 15:53:44 +00:00
f4exb
6499608195
HackRF output: Make settings assignments atomic. Part of #1329
2022-10-30 10:54:07 +01:00
Jon Beniston
929e0d34dc
Adjust number of frequency digits depending whether transverter is enabled
2022-10-17 13:43:32 +01:00
f4exb
949a9e9380
Center frequency dials up to 9 digits and transverter delta frequency dial up to 12 digits. Fixes #1476
2022-10-15 03:04:29 +02:00
Jon Beniston
d6a02f659a
Device GUIs: Stop timers in destructors.
2022-10-05 15:40:09 +01:00
f4exb
9e5c629473
v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242
2022-05-13 22:24:48 +02:00
f4exb
218237c466
Massive UI revamping (v7): Devices: set the border on the outer side of the window. Part of #1213
2022-04-24 02:13:18 +02:00
f4exb
f3f504c88d
Massive UI revamping (v7): fixed widget size handling: sample sinks. Part of #1209
2022-04-21 19:24:40 +02:00
f4exb
40e34bdebd
Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars
2022-04-17 01:31:50 +02:00
f4exb
32973132d9
Massive UI revamping (v7): unify custom widget borders
2022-04-10 02:19:26 +02:00
f4exb
aad90aeabc
Massive UI revamping (v7): devices basic
2022-04-07 16:32:03 +02:00
f4exb
841a8fe242
Morph PluginInstanceGUI in DeviceGUI and single line inheritance from QWidget
2020-10-05 19:48:05 +02:00
f4exb
d085b4eb7d
Removed undesirable methods from PluginInstanceGUI and related common plugins
2020-10-04 22:16:09 +02:00
f4exb
f13783b4e5
IQ swap: fixed transverter dialog
2020-06-23 22:25:54 +02:00
f4exb
128f091566
IQ swap: updated plugins GUI
2020-06-23 20:00:24 +02:00
f4exb
f1d46c440a
Fixed incorrect frequency display when transverter is engaged. Fixes issue #509
2020-04-28 05:36:46 +02:00
f4exb
3cf8a2e826
HackRF output: implemented transverter mode
2019-08-28 13:28:53 +02:00
f4exb
06dea9b29f
PVS-Studio analys fixes: core package serious issues
2019-06-14 16:58:09 +02:00
f4exb
89e53cf179
Single DeviceAPI interface (1)
2019-05-08 22:11:53 +02:00
f4exb
c37f219696
PlutoSDR output: implemented baseband or device sample rate input option
2019-04-13 23:00:02 +02:00
f4exb
41fd3ea765
HackRF output: implemented Fc tooltip center frequency shift
2019-04-13 21:44:15 +02:00
f4exb
1860d20220
HackRF output: implemented baseband or device sample rate input option
2019-04-13 21:33:17 +02:00
f4exb
ef15157a50
Fixed incomplete copyright headers (1)
2019-04-11 06:39:30 +02:00
f4exb
dc4a98b58a
HackRF output: compensate shifted interpolators
2019-04-01 14:40:01 +02:00
f4exb
8e6f9d8d24
HackRF output: implementation of Fc position selection in the GUI
2019-03-31 23:09:50 +02:00
f4exb
64b198e507
HackRF: suppression of Rx to Tx link frequency. Synchronization of Tx to Rx device center frequency.
2019-03-30 20:44:55 +01:00
f4exb
026aa0cb4a
Reverse API: HackRF output
2018-12-26 21:03:26 +01:00
f4exb
b00aea8989
PVS studio static analyzer fixes (1)
2018-06-21 19:28:11 +02:00
f4exb
88bb596baf
HackRF output: allow display of SR down to 1 MS/s
2018-04-15 10:19:23 +02:00
f4exb
0dd36d4f3e
Sink plugins: put a serializer and deserializer in the core plugin for server
2017-12-28 04:04:50 +01:00
f4exb
966767a44a
Web API: use message passing to start/stop device for all the rest of device plugins
2017-12-14 18:02:49 +01:00
f4exb
c3de895301
Removed direct reference to the DeviceSinkAPI in the sink GUIs. Removed DeviceSourceAPI forward declaration in source GUI headers
2017-10-30 02:54:22 +01:00
f4exb
35391e0d66
Removed GLSpectrum getter from DeviceSinkAPI
2017-10-30 01:11:35 +01:00
f4exb
2d27235769
HackRF output: force settings at startup and on deserialize
2017-10-14 07:13:57 +02:00
f4exb
a714e12387
HackRF: effective Rx-Tx frequency linking
2017-09-18 00:01:29 +02:00
f4exb
512900d98c
Finalized the new source/sink GUI messaging scheme
2017-09-17 17:35:03 +02:00
f4exb
9dd99a4530
Separate construction/destruction for the sink output plugin core and the GUI
2017-09-16 11:34:25 +02:00
f4exb
87016e7485
Device sink API: renamed input and output message queues getters to more meaningful names
2017-09-13 23:42:28 +02:00
f4exb
361e8b0cd6
HackRF: implemented link Tx frequency to Rx frequency option
2017-07-21 00:44:30 +02:00
f4exb
258515b5de
HackRF: switch over Rx / Tx with the start button
2017-07-19 23:24:00 +02:00
f4exb
5e62da4437
Standardize all output sinks to the same ready/running/error color status
2017-06-05 23:00:28 +02:00
f4exb
3a3d8e3dcb
activated compiler warnings
2017-05-25 20:13:34 +02:00
f4exb
6f9ef0eaf9
New value dial color schemes: propagate to all active plugins
2017-05-16 18:27:36 +02:00
f4exb
00cf437bf2
HackRF: changed placement of input object creation in the GUI
2017-04-14 02:16:04 +02:00