1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 04:11:48 -05:00
Commit Graph

171 Commits

Author SHA1 Message Date
Daniele Forsi
dbf630c424 Fix memleaks found with AddressSanitizer/LeakSanitizer
Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7eff8bcf46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7eff897b484d in DeviceUserArgs::serialize() const sdrbase/device/deviceuserargs.cpp:43
    #2 0x7eff897f4904 in MainSettings::save() const sdrbase/settings/mainsettings.cpp:237
    #3 0x7eff8b578654 in MainWindow::closeEvent(QCloseEvent*) sdrgui/mainwindow.cpp:1749
    #4 0x7eff877a5dc7 in QWidget::event(QEvent*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1a5dc7) (BuildId: 983eca66d9695a1892aa796da4160d8d6f9b9ac4)

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7eff8bcf46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7eff897b484d in DeviceUserArgs::serialize() const sdrbase/device/deviceuserargs.cpp:43
    #2 0x7eff897f4904 in MainSettings::save() const sdrbase/settings/mainsettings.cpp:237
    #3 0x7eff8b552c9a in MainWindow::~MainWindow() sdrgui/mainwindow.cpp:326
    #4 0x564e8b36e1e5 in runQtApplication app/main.cpp:212
    #5 0x564e8b36bab7 in main app/main.cpp:248
    #6 0x7eff862456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
2024-05-19 19:44:45 +02:00
mxi-box
2de9f16be4 Fix renumberate deviceset without modifying claimed of SamplingDevice 2024-02-28 06:46:35 +08:00
mxi-box
aeafe51220 Fix not remove source buddy 2024-02-27 07:13:09 +08:00
mxi-box
3623e059f9 Optimize eumerator of origin device
Add enumerateAllDevices to reduce startup period; Optimize LimeSDR enumerating by skipping LMS_Init
2024-02-12 16:10:54 +08:00
f4exb
439b5d094c Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
Jon Beniston
9b3c348133 Fix gcc warnings 2023-08-24 16:05:57 +01:00
Jon Beniston
2a24f72590 Add support for plugin presets. 2023-08-24 15:51:50 +01:00
Jon Beniston
c54d268280 Add progress dialog for device enumeration, as some drivers are slow. Don't automatically enumerate. 2023-01-04 15:22:41 +00:00
Jon Beniston
68603fec43 Allow sampling devices to be refreshed while SDRangel is running.
(Possibly need to add a mutex for MainCore::getPluginManager, so only
can be used by one thread)
Add option to automatically update My Position based on GPS. This is
started in MainCore, so we get position as soon as possible.
Don't set QFileDialog::DontUseNativeDialog on Android, as Qt's file
dialog can't access user storage. Set globally for Linux/Windows, rather
than for each dialog.

 MainWindow:
 - Add welcome dialog for Android.
 - Don't show menu bar or status bar on Android to save screen space.
 - On Android, change tab position when screen orientation changes.
 - Load default configurations and presets first time SDRangel is run.
 - Change loadConfiguration to use a QProgressDialog rather than
   QMessageBox, as the latter was crashing on Android.
   - Use DialogPositioner to ensure dialogs are on screen.
2022-12-20 21:06:39 +00:00
Jon Beniston
2cb2a8d555 Update sdrbase and sdrgui to support Qt5 and Qt6 2022-11-17 14:41:55 +00:00
Jon Beniston
d404e9f943 Add start/stop all devices button in toolbar. Add device stateChanged signal. Use in RTL SDR GUI for updating device state 2022-08-27 10:18:17 +01:00
f4exb
2c3ccc49af Some clang warnong fixes 2022-07-24 21:48:02 +02:00
f4exb
9e5c629473 v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
f4exb
2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb
0ca0eb8f73 Massive UI revamping (v7): devices intermediate 2022-04-09 13:38:22 +02:00
f4exb
8a3f15ba45 Moved device and feature sets add and remove signals where appropriate. Improves #1139 2022-03-23 05:53:12 +01:00
f4exb
128dd03684 New Jogdial Controller feature plugin. Implements #1088 2022-01-06 22:47:41 +01:00
f4exb
fcdeffa59c GUI flavor: save and restore the device item index for the initial set up (R0). Fixes #1066 2021-12-05 12:35:39 +01:00
f4exb
9f39a1ab66 Removed ordering of channels and features in presets. Fixes #1051 2021-11-24 06:34:34 +01:00
f4exb
3e6fe8afef Fixed pointer initialization. Fixes #1000 2021-09-26 11:51:03 +02:00
f4exb
38d2a19338 PlutoSDR MIMO: recognize user defined MIMO devices 2021-05-04 17:01:48 +02:00
f4exb
7a6636b63a Fixed -Wunused-variable warnings 2020-11-14 18:45:05 +01:00
f4exb
65587d43b1 Fixed Websocket spectrum: server implementation 2020-11-12 01:22:48 +01:00
f4exb
66fbde74a9 BladeRF2 MIMO 2020-11-10 19:09:44 +01:00
f4exb
0f6e157599 MIMO activation in Main Window 2020-11-10 12:08:58 +01:00
f4exb
8b05670814 MainCore: added feature and channel maps. FeatureSet and FeatureUISet: simplify feature registrations. Channel and feature names fix 2020-10-16 08:35:56 +02:00
f4exb
33bc76aa6c DeviceSet: simplify channel registrations (calls) and DeviceUISet: simplify channel registrations 2020-10-15 08:56:29 +02:00
f4exb
7c506f361e DeviceSet: simplify channel registrations 2020-10-15 08:53:48 +02:00
f4exb
99af2d8ad7 DeviceSet: call m_channelURI what is a channel URI 2020-10-15 08:53:39 +02:00
f4exb
48ed11331a MainCore: methods to get channel API and feature 2020-10-13 08:46:43 +02:00
f4exb
c9e0425616 Implement MainCore in MainWindow step3: device sets: fixes 2020-10-11 09:36:27 +02:00
f4exb
febbb4fa0f Implement MainCore in MainWindow step3: device sets 2020-10-11 09:03:52 +02:00
f4exb
cb5ffaa47b Added missing exports for MSVC 2020-10-05 23:51:46 +02:00
f4exb
315c64c8c7 Removed PluginInstanceGUI reference in DeviceAPI 2020-10-04 22:16:09 +02:00
f4exb
7a0f15acaf Add GUI to device set outside plugin 2020-10-04 22:16:09 +02:00
f4exb
77955d4dba Replace separate create channel methods (BS and CS) by a single one combining both interfaces 2020-10-04 22:16:09 +02:00
f4exb
dc31bd8c48 Moved DeviceSet from sdrsrv to sdrbase 2020-10-04 22:16:09 +02:00
f4exb
9667b9c1cc Device API: fixed channel add/remove on streams with index > 0 2020-09-11 08:45:33 +02:00
f4exb
901553ab74 Removed add/remove ancillary sink from device API 2020-08-09 01:08:29 +02:00
f4exb
eef1922b00 Renamed FileSink plugin to FileOutput: more name changes 2020-08-08 17:29:57 +02:00
f4exb
ee0655a851 Device API: fixed renumerateChannels in case of MIMO 2020-07-13 22:22:43 +02:00
f4exb
83183b8a6a Device API: fixed missing channel sink removal in case of MIMO 2020-07-13 22:22:33 +02:00
f4exb
b64d813cfc Fixed some warnings from Mac ports compilation 2020-04-19 06:14:45 +02:00
f4exb
e33ed72059 Removed MIMO plugins and related code 2020-01-01 11:41:00 +01:00
f4exb
d11f56adb9 REST API: updates for MIMO (4) 2019-12-24 19:10:20 +01:00
f4exb
6855602a7f Device API: removed useless stream index parameter on channel API methods 2019-12-23 23:41:44 +01:00
f4exb
a0830f8ba2 REST API: updates for MIMO (3) 2019-12-23 23:00:19 +01:00
f4exb
ddc4667bdb REST API: updates for MIMO 2019-12-23 18:51:38 +01:00
f4exb
9025010c1f MSVC fix 2019-12-17 00:59:55 +01:00
f4exb
d0858f21fb Added possibility to specify devices that cannot be discovered automatically. This implements #445 2019-12-16 01:03:47 +01:00