Commit Graph
26 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 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
Alejandro Aleman 40ea5d096f meshtastic: consolidate LoRa/Meshtastic demod, auto-profile, decode tree, and dechirp replay improvements 2026-03-12 13:04:04 +01:00
f4exb 63348eeee1 Make device title editable in the basic device settings. Fixes #2292 2026-01-28 03:05:39 +01: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
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
srcejon d496744c2a File Input: Fix seeking over .wav header 2024-01-04 16:14:00 +00:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
Jon Beniston d574e74908 Support FileInput plugin on Android, by using QFile rather istream 2023-01-02 15:42:34 +00:00
f4exb 90cab1dfda FileInput: Make settings assignments atomic. Part of #1329 2022-10-23 20:33:51 +02:00
Jiří Pinkava 979d171921 More descriptive error for broken/unsupported WAV files 2022-09-28 15:26:27 +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
Jon Beniston 88499f08dd Fix FileInput API report of absolute time following PR #981. 2021-12-30 13:24:39 +00:00
Jon Beniston 631b9c256f Refactor common code into WavFileRecord class 2021-05-21 21:05:23 +01:00
Jon Beniston 80fe6cb096 Add signed 16-bit PCM 2 channel .wav file support to File Input and File Record plugins 2021-05-21 10:06:10 +01:00
Jon Beniston 802749afd3 Check sample rate is non-zero to avoid divide by zero 2021-03-08 21:41:46 +00:00
Jon Beniston bf9d5501b0 Allow filename to be restored from settings.
Allow filename to be set via API.
2021-03-05 15:55:44 +00:00
f4exb 47a1eeaedc FileInput: calculate file record length down to the microsecond. Implements #614 2020-08-26 00:12:30 +02:00
f4exb 44a62ea505 Renamed FileSink plugin to FileOutput 2020-08-08 17:29:57 +02:00
f4exb dadf51b6d7 FileInput: removed center frequency and sample rate from the settings since it should come from the file header 2020-07-11 11:09:58 +02:00
f4exb 7cddf7ce0b FileInput: some code cosmetic changes 2020-07-11 06:56:32 +02:00
f4exb c75c35acad File Input: refactored FileInputThread to FileInputWorker object moved to thread (contribution from Vort). Fixes #562 2020-07-11 06:45:16 +02:00
f4exb 246ff824af Corrected network manager process memory leaks (Rx side) 2019-11-12 18:46:45 +01:00
f4exb a078239685 REST API: config: GET (11). Support of the rest of devices 2019-08-04 20:24:44 +02:00
f4exb d0c2b73d99 Full renaming of FileSource device to FileInput 2019-07-08 00:59:04 +02:00