Commit Graph
66 Commits
Author SHA1 Message Date
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
f4exb 585d806ef8 All device plugins: make sure start and stop are effective once only. PArt of #2159 2024-08-27 09:54:09 +02:00
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
Daniele Forsi 34aca019e2 Fix spelling in strings 2023-07-23 18:55:12 +02:00
f4exb b54575041d SoapySDR: make sure device open is successful before starting. Fixes #1441 2022-09-26 01:04:22 +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 63bea7734b Fixed range-loop-construct warnings in GCC 11 2021-12-27 19:04:23 +01:00
f4exb 71f96aded6 SoapySDR Input: reversed soft LO ppm correction. Fixes #641 2020-09-21 20:32:35 +02:00
f4exb e6e7ece46c Removed file recording function from device plugins 2020-08-09 00:47:06 +02:00
f4exb c4136c6a44 IQ swap: REST API: implementation in plugins 2020-06-23 19:56:50 +02:00
f4exb cc5d614f67 IQ swap: initial implementation in plugins 2020-06-23 19:29:58 +02:00
f4exb 323e75cddd REST API device and channel actions: extension of record action: implementation 2020-03-10 19:44:27 +01:00
f4exb 246ff824af Corrected network manager process memory leaks (Rx side) 2019-11-12 18:46:45 +01:00
f4exb ec22056cbf REST API: config: fixes (2) 2019-08-13 12:18:47 +02:00
f4exb a078239685 REST API: config: GET (11). Support of the rest of devices 2019-08-04 20:24:44 +02:00
f4exb 06dea9b29f PVS-Studio analys fixes: core package serious issues 2019-06-14 16:58:09 +02:00
f4exb 8ce43225ae Device user arguments: use it in SoapySDR 2019-06-14 01:14:27 +02:00
f4exb b01c4e2477 Device API: added a number of source and sink streams and update it from the plugins 2019-05-21 00:27:08 +02:00
f4exb 89e53cf179 Single DeviceAPI interface (1) 2019-05-08 22:11:53 +02:00
f4exb 54e46837dd REST API: changed binary tx parameter to ternary direction parameter (0: rx, 1: tx, 2: any) 2019-05-07 14:43:38 +02:00
f4exb 4bb0f4f51a Fixed incomplete copyright headers (2): plugins/samplesource 2019-04-11 06:57:41 +02:00
f4exb e2ac286458 Series of shifted decimators matching shifted interpolators. Applied to HackRF input 2019-04-02 01:10:03 +02:00
f4exb cd35732807 Reverse API originator information: implemented for start/stop in all source plugins 2019-03-25 15:21:17 +01:00
f4exb 9b30d602c3 Reverse API originator information: implemented in all source plugins 2019-03-25 13:41:38 +01:00
f4exb 932048dba0 SoapySDR: added try/catch blocks around calls to SoapySDR interface methods where missing 2019-01-13 23:33:31 +01:00
f4exb 0215839220 REST API: implement reverse API settings (3) 2019-01-11 14:45:00 +01:00
f4exb bc4c9aeba6 Reverse API: SoapySDR input 2018-12-26 18:15:43 +01:00
f4exb 13afa2e45f SoapySDR: fixed memory leaks 2018-12-04 01:03:21 +01:00
f4exb 3da7933fa7 SoapySDR support: REST API: fixed individual gains and tunable elements settings 2018-11-15 23:00:55 +01:00
f4exb 2ab09f7e6c SoapySDR support: fixed tunable elements inital settings 2018-11-15 22:25:33 +01:00
f4exb 6ad678e059 SoapySDR support: REST API: input and output: corrected mapped elements setting 2018-11-15 16:54:23 +01:00
f4exb dbbabd4b57 SoapySDR support: input and output: display mapped setting elements after applying settings 2018-11-15 14:14:49 +01:00
f4exb 5bf18ade3f SoapySDR support: REST API: fixed device report 2018-11-15 00:47:15 +01:00
f4exb da5ac0f0c6 SoapySDR support: REST API: rest of input and output methods 2018-11-14 23:34:03 +01:00
f4exb 7a171aed1d SoapySDR support: REST API: input: format settings and report 2018-11-14 02:06:36 +01:00
f4exb 7574cb23d4 Windows: MSVC2017: fixed more attribute unused cases (2) 2018-11-13 08:51:14 +01:00
f4exb 696e7324a4 SoapySDR support: device arg GUI 2018-11-12 01:10:51 +01:00
f4exb c382913fb4 SoapySDR support: stream ArgInfo SoapySDR interface 2018-11-11 19:44:48 +01:00
f4exb 1005d1d4e5 SoapySDR support: input: stream ArgInfo GUI 2018-11-11 02:30:10 +01:00
f4exb 8a72372b28 SoapySDR support: fixed display settings 2018-11-10 07:17:55 +01:00
f4exb 1168c18e3a SoapySDR support: output: auto correction GUIs 2018-11-08 21:42:49 +01:00
f4exb 90de728990 SoapySDR support: input: auto correction GUIs (3) 2018-11-08 16:53:15 +01:00
f4exb 66f95bc0a6 SoapySDR support: input: auto correction GUIs (1) 2018-11-08 14:35:26 +01:00
f4exb f97091e0f3 SoapySDR support: input: AGC GUI 2018-11-08 01:31:39 +01:00
f4exb 9d014d841b SoapySDR support: input: manage global and individual gains coupling 2018-11-07 23:21:37 +01:00
f4exb cfeaca424e SoapySDR support: input: individual gains GUIs 2018-11-07 13:38:42 +01:00
f4exb d4e73086d0 SoapySDR support: output: global gain GUI 2018-11-07 13:08:35 +01:00