Daniele Forsi
6627b0c377
Use qDeleteAll() for brevity
2024-05-19 19:44:45 +02:00
Daniele Forsi
87be13fcae
Fix memleaks found with AddressSanitizer/LeakSanitizer
...
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 72 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929ff74c in MainSettings::load() sdrbase/settings/mainsettings.cpp:153
#2 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#3 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#4 0x55b694e0a175 in runQtApplication app/main.cpp:196
#5 0x55b694e07ab7 in main app/main.cpp:248
#6 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Indirect leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929e734d in QList<Preset>::node_construct(QList<Preset>::Node*, Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:465
#2 0x7f7b929e734d in QList<Preset>::append(Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:625
#3 0x7f7b929e734d in QList<Preset>::push_back(Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:377
#4 0x7f7b929e734d in Configuration::deserialize(QByteArray const&) sdrbase/settings/configuration.cpp:112
#5 0x7f7b929ff934 in MainSettings::load() sdrbase/settings/mainsettings.cpp:155
#6 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#7 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#8 0x55b694e0a175 in runQtApplication app/main.cpp:196
#9 0x55b694e07ab7 in main app/main.cpp:248
#10 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929e9706 in QList<Preset::DeviceConfig>::node_construct(QList<Preset::DeviceConfig>::Node*, Preset::DeviceConfig const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:465
#2 0x7f7b929e9706 in QList<Preset::DeviceConfig>::append(Preset::DeviceConfig const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:625
#3 0x7f7b929f627c in Preset::deserialize(QByteArray const&) sdrbase/settings/preset.cpp:193
#4 0x7f7b929e74ca in Configuration::deserialize(QByteArray const&) sdrbase/settings/configuration.cpp:113
#5 0x7f7b929ff934 in MainSettings::load() sdrbase/settings/mainsettings.cpp:155
#6 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#7 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#8 0x55b694e0a175 in runQtApplication app/main.cpp:196
#9 0x55b694e07ab7 in main app/main.cpp:248
#10 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
2024-05-19 19:44:45 +02:00
Daniele Forsi
08c918f194
Fix saving configurations after deleting some entries
2024-05-11 19:36:31 +02:00
f4exb
439b5d094c
Rewriting of copyright notices for sdrbase. Part of #1893
2023-11-19 13:43:10 +01:00
Jon Beniston
2a24f72590
Add support for plugin presets.
2023-08-24 15:51:50 +01:00
f4exb
0eb487781b
AMBE feature: removed AMBE support in main application
2022-05-25 01:00:33 +02:00
f4exb
3880a0f98f
AMBE feature: cleanup of main application AMBE support
2022-05-25 00:13:40 +02:00
f4exb
d0c2b24694
Removed main LimeRFE support
2022-05-22 22:10:36 +02:00
f4exb
1bcecec103
v7: added API for configurations and updated presets API. Implements #1234
2022-05-08 19:33:10 +02:00
f4exb
a7ca650286
Massive UI revamping (v7): MainWindow: first round of cleanup
2022-04-15 10:04:24 +02:00
f4exb
43f53fe26a
Massive UI revamping (v7): created configurations with just Features for now
2022-04-05 16:28:07 +02:00
f4exb
cd5a4db876
Feature plugins framework: presets
2020-09-28 16:49:32 +02:00
f4exb
e8f3745bf3
Feature plugins framework initial commit and Misc plugins removal
2020-09-28 16:49:32 +02:00
Jon Beniston
49cb082c7e
Add rigctrl plugin.
...
plugins/misc/rigctrl - Add rigctrl plugin.
sdrbase/plugin/pluginapi.h/.cpp - Add misc plugin registration.
sdrbase/plugin/pluginmanager.h/.cpp - Add misc plugin registration.
sdrbase/plugin/plugininterface.h/.cpp - Add top level UI and global settings serialization callbacks.
sdrbase/settings/mainsettings.h/cpp - Allow plugins to save global settings in main settings file.
sdrgui/mainwindow.cpp - Load settings after plugins are loaded, to allow plugin settings to be loaded and saved.
sdrsrv/maincore.cpp - Support loading/saving of plugin settings.
2020-09-08 15:47:20 +01:00
f4exb
b64d813cfc
Fixed some warnings from Mac ports compilation
2020-04-19 06:14:45 +02:00
f4exb
ab4f18684e
LimeRFE USB support: added persistent calibration map
2020-01-16 18:23:29 +01:00
f4exb
500f5bc82c
Presets for MIMO
2019-10-09 07:39:52 +02:00
f4exb
659f94b4c6
REST API: config: PUT (2): interface
2019-08-06 08:48:14 +02:00
f4exb
144b0db196
New AMBE engine (3)
2019-07-20 23:25:00 +02:00
f4exb
6ebccb5b64
Device user arguments (2)
2019-06-12 18:50:53 +02:00
f4exb
029e559824
Single DeviceAPI: REST API fixes
2019-05-09 01:12:40 +02:00
f4exb
89de799d52
Fixed compiler warning
2019-01-17 11:22:38 +01:00
f4exb
bfaaf2e1d3
Make the settings location appear in the log and in the about panel of the GUI also
2019-01-17 11:17:28 +01:00
f4exb
e2aabde641
Multiple audio support: renamed AudioDeviceInfo to AudioDeviceManager
2018-03-23 18:08:38 +01:00
f4exb
2b846f5d28
PVS-Studio static analysis corrections (2) issue #137
2018-02-22 03:04:42 +01:00
f4exb
eafeaa2a77
Commands: added run and delete group. Presets: added delete group.
2018-01-06 20:02:08 +01:00
f4exb
aa8e01f8ce
Commands and presets: added possibility to rename group or merge groups. In addition for presets: added possibility to edit description
2018-01-05 11:45:20 +01:00
f4exb
89f98f504a
Commands: implemented management GUI
2018-01-04 11:11:53 +01:00
f4exb
57bda99c2b
Web API: /sdrangel/preset (PATCH) implementation
2017-11-25 16:08:18 +01:00
f4exb
fb3e6dc90d
New audio devices dialog and handling: make settings persistent using main settings
2017-01-06 18:56:46 +01:00
f4exb
fed6b9a3bd
Sort presets before display in the presets window
2016-09-11 18:58:40 +02:00
f4exb
83d6d9d190
Multiple sources for the same preset. Working more or less
2015-10-02 04:04:38 +02:00