f4exb
0282a596ca
Publish version v8.0.0
1 month ago
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>
2 months ago
Jon Beniston
71d8650c6d
Drive feature state from a signal rather than polling it
...
Every feature GUI ran its own one second QTimer, read getState(), compared
it against a remembered m_lastFeatureState and restyled its start/stop
button when the two differed. The same twenty five lines appeared in each
of them.
Feature now keeps m_state private behind setState(), which emits
stateChanged() when it actually changes, and FeatureGUI grows a shared
updateStartStopButton() that restyles the button and reports an error
state. A GUI connects to the signal and calls that, so the state is
reflected as soon as it changes rather than up to a second later, and the
per feature timers and m_lastFeatureState members are gone.
FeatureUISet disconnects the feature from its GUI before the feature is
deleted: QObject emits destroyed() before dropping its connections, so a
stateChanged() emitted from the feature's destructor could otherwise reach
a GUI that has already deleted its ui object.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
3 months ago
f4exb
13fdc156a2
Tried to fix Debian builds
6 months ago
f4exb
7e37ca68a2
Release v7.26.0
6 months ago
srcejon
e3e2f5bb20
Add active only button. Increase poll frequency. Support channels that don't have a frequency offset.
7 months ago
f4exb
ef4357f26b
Release 7.25.0
7 months ago
Tammo Jan Dijkema
c86c178363
Use Qt6.2 compatible qt_add_plugin in CMake
7 months ago
Jon Beniston
6f97e12a70
Make private
8 months ago
copilot-swe-agent[bot]
42a65a0311
refactor: use MainCore::getDeviceAndChannelIndexFromId in webapiFormatFeatureReport
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/68c9a41e-19ba-45f8-955d-b7b2e2b9fd8f
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
c545a835e1
Bring in line with other features.
8 months ago
copilot-swe-agent[bot]
4581df2c53
refactor: make FreqDisplay::applySettings private; use MsgConfigureFreqDisplay in FreqDisplayGUI::applySettings
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/d71b1b23-0809-4351-bfc0-1f46a26a49cc
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
220f5d11ab
feat: add FreqDisplay webapiReportGet, webapiFormatFeatureReport; add freqDecimalPlaces and dropShadowColor to settings webapi methods
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/896509c5-b3f8-406a-98db-4b744f7a918c
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
c44925dba3
Fix webapi for Freq Display.
8 months ago
Jon Beniston
fd9f3ac632
Fix compilation.
8 months ago
copilot-swe-agent[bot]
219ece573c
feat: implement FreqDisplay WebAPI (webapiSettingsGet/PutPatch, format/update, reverseSend)
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/373fd0a8-4ef8-4849-8b8e-adb0a988230d
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
3a15e13cde
Implement FreqDisplayWebAPIAdapter
8 months ago
Jon Beniston
a298406d74
Fix use of settings keys.
...
Add onMenuDialogCalled to support basic settings dialog.
8 months ago
Jon Beniston
afde6d50b4
Update naming convention.
8 months ago
Jon Beniston
1d4a936f86
Add drop shadow to docs.
8 months ago
copilot-swe-agent[bot]
154e52d0b2
refactor: move anonymous namespace members into FreqDisplayGUI as static members
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/822b5f58-a706-4e7c-af65-8d2b5c4be5b1
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
9363b043a1
feat: add drop shadow ButtonSwitch and color picker to freqdisplay
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/41854996-2343-4d0a-b99a-2a0ebdc8e586
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
8896ed129a
Fix both windows being displayed at startup, if transparency enabled.
8 months ago
Jon Beniston
dc960c2dfd
Position overlay so it's where the frequencyValue widget was.
8 months ago
copilot-swe-agent[bot]
19cc426948
feat: replace frequencyValue QLabel with FrequencyLabel custom widget (minimumSizeHint 50x10)
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/882a0465-b780-4bea-a664-422995cba8b7
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
ef335dd1ff
Disable word wrapping
8 months ago
Jon Beniston
cf82d023c6
Don't use a container for the frequencyValue
8 months ago
Jon Beniston
4c86f1c4b9
Add documentation.
8 months ago
Jon Beniston
01b53f50b0
Fix window sizing by calling sizeToContents. Roll back previous commit.
...
Add rollup settings.
8 months ago
copilot-swe-agent[bot]
2bbe19af46
freqdisplay: fix font sizing to respect both width and height constraints
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/8205839a-4dad-46b0-8fbf-02dd31499bb7
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
ffe32eb1a0
Speech current text when speech enabled. Disable speech button if not available.
...
Fix font color button.
Add rollup titles.
8 months ago
copilot-swe-agent[bot]
6b67959774
freqdisplay: add text color picker button saved as setting, default white
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/6d0cceb4-1d01-4c8e-95aa-f203715615cc
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
1f41715197
Rearrange GUI
8 months ago
copilot-swe-agent[bot]
ff06cf1935
freqdisplay: fix crash on exit transparent mode by using deleteLater()
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/9fb3e940-7f8e-46a9-8095-5ebc03428c00
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
eabd3e605d
freqdisplay: replace MDI-manipulation transparency with separate overlay window
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/758a0e0b-447d-42b8-811b-97c35b453955
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
75eae6f663
freqdisplay: fix Windows border/title not repainting after transparency disable
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/9bcd11e2-9fae-4e81-8157-f7dc21351c85
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
2f9d6a8df4
Add border spacing.
8 months ago
Jon Beniston
bf8ae8c506
Add copyright.
8 months ago
Jon Beniston
e931f0871b
Rearrange GUI
8 months ago
Jon Beniston
a5d519bc82
Free speech engine in destructor.
8 months ago
copilot-swe-agent[bot]
6854e6737b
freqdisplay: add frequency and power decimal-places spinboxes
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/0a80d06a-83cf-4fde-8fc7-5d8ef9b43ffe
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
c075f4fa5c
freqdisplay: fix transparent mode exit hang (reorder addSubWindow); expand speech unit abbreviations
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/419cd81e-d0ee-4a21-8ddf-3577c1389c52
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
59504ea23d
freqdisplay: fix hang on transparency exit; add units/showUnits; fix dB; fix Both mode fallback
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/ab287ce0-b7ef-4125-9e62-9054ab2ccd93
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
Jon Beniston
2a41303bc0
Fix initialisation of speech engine, if enabled by displaySettings.
8 months ago
Jon Beniston
bfad90d5bb
Enable child mouse tracking for resizer
8 months ago
copilot-swe-agent[bot]
24adb3a0cd
freqdisplay: fix transparent mode border/title restoration and font wrap
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/1825f915-718a-4d8c-ab81-0543427ac33c
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
38bbc94c0e
freqdisplay: hide settings bar when in transparent mode so frequencyValue fills the window
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/4427c934-bfa7-43ce-82fb-2b946d60094d
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
b84d76e91f
freqdisplay: only set WA_TranslucentBackground when transparency is enabled
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/61cdbc74-f85f-41e5-b23c-46ec042bb6d3
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
d6b09a182a
freqdisplay: prevent speech interruption by deferring say() while engine is busy
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/d2f9d633-2776-4397-bc8c-09e0b5f37ed2
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago
copilot-swe-agent[bot]
ad4e4b0a7e
freqdisplay: detach from MDI as floating top-level window for true compositor transparency
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/2a3ba811-8a0c-4e65-b476-8c0523967896
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
8 months ago