Commit Graph
25 Commits
Author SHA1 Message Date
Robin Getz 953391c171 repo wide : Name SDRangel-owned threads for debugging
Assign descriptive names to SDRangel threads so thread activity can be
identified when investigating multi-threaded behavior, including crashes,
leaks, and synchronization issues in debuggers and others tools.

Use compact names to fit platform thread-name limits (14 chars) while
retaining the component and thread role where possible.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-09-26 20:26:27 -04:00
Jon Beniston a0918b5785 Map API names to setting names.
Fix API settings with spelling mistakes.
2026-09-13 12:09:20 +01:00
Jon BenistonandClaude Opus 5 60db861797 Fix QString leak in the web API settings and report formatters
The generated SWG setters overwrite the string pointer without deleting
what is already there, and every webapiSettingsGet and webapiReportGet
calls init() first, which has allocated one. Each call therefore leaked a
QString per string field. Measured at 117 bytes per settings GET for the
Satellite Tracker, over 20,000 requests.

Assign in place when the pointer is already set, which is what these same
functions have always done for title and reverseAPIAddress. 394 sites
across webapiFormatChannelSettings, webapiFormatDeviceSettings,
webapiFormatFeatureSettings and the three report equivalents.

The webapiReverseSend* functions are deliberately left alone: they build a
fresh SWG object whose constructor leaves the pointers null, so passing a
new QString is correct there.

After the change the same measurement is flat, at 7 bytes per GET.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 16:54:42 +01:00
f4exb 63348eeee1 Make device title editable in the basic device settings. Fixes #2292 2026-01-28 03:05:39 +01:00
Daniele Forsi 1f9c7efcab Remove uneeded unlocks of QMutexLocker
The mutex will get unlocked anyway when falling out of scope.
2024-06-23 17:32:48 +02:00
Mykola Dvornik 15337cac66 Fix bug that prevents settings changes updates via reverse API
Most plugins that use reverse API to PATCH settings updates to remote
server only do so when `useReverseAPI` is toggled, but not when the
relevant settings are being updated. So lets fix the precondition to
use the `m_useReverseAPI` flag instead.
2024-04-14 18:58:12 +02:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
f4exb 8c521f191d Audio input: use AudioDeviceManager to handle audio 2023-07-11 11:45:20 +02:00
f4exb d1116b564a Audio Input: handle real signals with new main spectrum feature 2023-07-10 12:23:53 +02:00
f4exb 683bf51d0e Audio input: Added Fc control 2023-03-11 09:56:18 +01:00
f4exb e606805beb Audio inout: added DC block and IQ imbalance 2023-03-11 05:05:58 +01:00
Jon Beniston 3b5b222114 Update plugins to compile with Qt5 and Qt6 2022-11-17 14:36:12 +00:00
f4exb a1161657ad Audio Input: Make settings assignments atomic. Part of #1329 2022-10-22 12:28:24 +02:00
f4exb 59127ea4e2 Audio input and KiwiSDR: correct placement of m_running = false 2022-10-08 13:20:45 +02:00
f4exb 997a7da292 Audio input: Update threading model. Part of #1346 2022-10-08 10:15:56 +02:00
f4exb 4111c967e9 Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
f4exb 053e4a31cd Add label to SampleSinkFifo to mention controlling component in error messages 2022-03-18 21:53:53 +01:00
f4exb f81f705883 Audio input: fixed improper initialization of m_worker 2020-11-21 18:55:41 +01:00
f4exb 55eb6cc951 Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
f4exb 9cdcfeef70 Audio Input: quarter sample rate heterodyne for mono signals 2020-11-13 19:55:09 +01:00
f4exb 6e3add76e3 Audio Input: implemented worker + thread 2020-11-13 16:22:29 +01:00
f4exb 00b234b85c Renamed sdrbase AudioInput to AudioInputDevice 2020-11-12 20:30:34 +01:00
Jon Beniston 112e703137 Don't call openAudioDevice if called from start(), otherwise AudioInput will be created on wrong thread 2020-11-09 21:12:40 +00:00
Jon Beniston f85250f638 Set reverse API keys. Avoid restarting thread 2020-11-09 21:12:40 +00:00
Jon Beniston 2bd5714308 Rebase to master 2020-11-09 21:12:08 +00:00