Jon Beniston
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>
2 months ago
f4exb
63348eeee1
Make device title editable in the basic device settings. Fixes #2292
10 months ago
f4exb
585d806ef8
All device plugins: make sure start and stop are effective once only. PArt of #2159
2 years ago
f4exb
ade3eedfa5
SDRPlay v1: fix setting of hardware flavour. Fixes #2127
3 years ago
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.
3 years ago
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
3 years ago
f4exb
b6c4d10b62
Rewriting of copyright notices for plugins/samplesource. Part of #1893
3 years ago
f4exb
b3539c9292
SDRPlay: Make settings assignments atomic. Part of #1329
4 years ago
ericek111
557147d09e
SDRPlayInput: separate HW flavour from mirisdr_open
4 years ago
f4exb
4111c967e9
Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185
5 years ago
f4exb
053e4a31cd
Add label to SampleSinkFifo to mention controlling component in error messages
5 years ago
f4exb
29d4a67eac
SDRplay v1: fixed frequency boundaries in report. Fixes #1061
5 years ago
f4exb
e6e7ece46c
Removed file recording function from device plugins
6 years ago
f4exb
c4136c6a44
IQ swap: REST API: implementation in plugins
7 years ago
f4exb
cc5d614f67
IQ swap: initial implementation in plugins
7 years ago
f4exb
323e75cddd
REST API device and channel actions: extension of record action: implementation
7 years ago
f4exb
246ff824af
Corrected network manager process memory leaks (Rx side)
7 years ago
f4exb
a078239685
REST API: config: GET (11). Support of the rest of devices
7 years ago
f4exb
06dea9b29f
PVS-Studio analys fixes: core package serious issues
8 years ago
f4exb
b01c4e2477
Device API: added a number of source and sink streams and update it from the plugins
8 years ago
f4exb
89e53cf179
Single DeviceAPI interface (1)
8 years ago
f4exb
54e46837dd
REST API: changed binary tx parameter to ternary direction parameter (0: rx, 1: tx, 2: any)
8 years ago
f4exb
4bb0f4f51a
Fixed incomplete copyright headers (2): plugins/samplesource
8 years ago
f4exb
e2ac286458
Series of shifted decimators matching shifted interpolators. Applied to HackRF input
8 years ago
f4exb
cd35732807
Reverse API originator information: implemented for start/stop in all source plugins
8 years ago
f4exb
9b30d602c3
Reverse API originator information: implemented in all source plugins
8 years ago
f4exb
0215839220
REST API: implement reverse API settings (3)
8 years ago
f4exb
c6e057b143
Reverse API: SDR Play RSP1
8 years ago
f4exb
7574cb23d4
Windows: MSVC2017: fixed more attribute unused cases (2)
8 years ago
f4exb
213d19eb42
Server: added SDRplay input plugin
9 years ago
f4exb
da3cb2d981
SDRPlay input: implemeted WEB API (2)
9 years ago
f4exb
2184425311
Web API: put some array items in their own classes
9 years ago
f4exb
9360c4de0b
SDRPlay input: implemeted WEB API (1)
9 years ago
f4exb
b0f7063e92
Default record file name: removed colons to break ISO date compatibility and cope with Windows compatibility
9 years ago
beta-tester
15078c9c07
modified unique file name
9 years ago
f4exb
6a5a35285e
SDRplay input: rework of center frequency setting
9 years ago
f4exb
775b2a270d
File record default file name fix (2)
9 years ago
f4exb
0981d04904
File record default file name fix (1)
9 years ago
f4exb
5b7cbdf0e5
Multiple audio support: transfer start/stop audio to audio FIFO management in AudioDeviceManager
9 years ago
f4exb
2e5cfcafee
PVS-Studio static analysis corrections (3) issue #137
9 years ago
f4exb
2b846f5d28
PVS-Studio static analysis corrections (2) issue #137
9 years ago
f4exb
057a8f94bb
Airspy, BladeRF, HackRF, PlutoSDR, RTLSDR, SDRPlay: fixed frequency setting when changing decimation with fc position change
9 years ago
f4exb
8399baeb4e
Source plugins: put a serializer and deserializer in the core plugin for server. NFM demod: fixed deserializer
9 years ago
f4exb
49d1439981
Device source plugins: implemented an init method for initializations to be done when all collaborating objects are created and possibly connected
9 years ago
f4exb
b127182062
All plugins: removed apply settings in constructors as it causes segfaults
9 years ago
f4exb
8e07820e8e
all source and sink plugins except FileSource and SDRdaemonSource: apply settings with force on construction
9 years ago
f4exb
dbeeaa8f66
Recognize SDRplay RSP2 but do not support it effectively
9 years ago
f4exb
934af70c74
Recognize SDRplay RSP1A but do not support it effectively
9 years ago
f4exb
6de0e20ceb
Web API: /sdrangel/deviceset/{deviceSetIndex}/device/run POST,DELETE: return previous state instead of attempt to wait and return the state after change since it does not work reliably
9 years ago
f4exb
53925bd4fd
Web API: fixed segfault when mixing start/stop between GUI and API. Applied to BladeRF input, SDRdaemon input and SDRPlay
9 years ago