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

2842 Commits

Author SHA1 Message Date
GlassOnTin
2a893edf03
Merge 64e13f92e6 into d6773eafb3 2024-09-12 20:56:34 +02:00
GlassOnTin
64e13f92e6 Use new find_package(CUDA Toolkit) 2024-09-10 20:11:10 +01:00
DreamNik
202fc96de6 Append prefix to plugin name when running on Android.
Android libraries can't be placed inside subdirectory, so to
distinguish plugins from regular libraries the new prefix is used.
2024-09-05 13:37:51 +03:00
DreamNik
f694ba04b8 Fix compilation warnings and errors 2024-09-05 13:37:46 +03:00
f4exb
5d0fa7fa67 Removed destroy method leftovers and Sonar lint 2024-08-27 09:54:09 +02:00
f4exb
b85419c56a Sonar fixes 2024-08-27 09:54:09 +02:00
f4exb
7b4e751ba1 DeviceSet and DeviceUISet: use delete channel API instead of destroy method so that the virtual destructor of the channel is called appropriately 2024-08-27 09:54:09 +02:00
f4exb
aca4a53513 Fixed threading model for DSPDeviceSinkEngine plus other fixes. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
d553834adf Removed SyncMessenger from DSPDeviceSinkEngine. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
290023183c Fixed threading model for DSPDeviceMIMOEngine plus other fixes. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
f6b3b22e4f Removed SyncMessenger from DSPDeviceMIMOEngine. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
d2066495a9 Fixed threading model for DSPDeviceSourceEngine. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
9fa1974ba3 Removed SyncMessenger from DSPDeviceSourceEngine. Part of #2159 2024-08-27 09:54:09 +02:00
f4exb
11f91b577b Added new color maps. Part of #2191 2024-08-12 10:33:53 +02:00
f4exb
78b73ae529 Added cubehelix and cubegamma color maps. Default to angel if not found. Fixes #2191 2024-07-26 07:27:20 +02:00
Edouard Griffiths
4ee2eb532a
Merge pull request #2217 from f4exb/fix-sonar
More Sonar bug fixes
2024-07-22 05:26:20 +02:00
f4exb
28262ca5fb More Sonar bug fixes 2024-07-21 14:20:48 +02:00
Daniele Forsi
e46f7f09b8 Fix API host address in About dialog and debug message
The API server is listening on all interfaces. This is indicated by Qt
with the address 0.0.0.0 even if it is listening on both IPv4 and IPv6
https://doc.qt.io/qt-6/qhostaddress.html#toString
So the following addresses are valid
 http://127.0.0.1:8091/
 http://[::1]:8091/
 http://0.0.0.0:8091/
 http://[::]:8091/
plus any other address assigned to wired, wireless or virtual interfaces.
2024-07-20 22:00:00 +02:00
f4exb
be080f432c WDSP receiver: re-generate files from Swagger 2024-07-16 23:30:58 +02:00
Daniele Forsi
e340517d1c Fix typos 2024-07-16 21:43:29 +02:00
f4exb
c411e8fbf5 WDSP receiver: implement dB or S points option for the signal strength meter 2024-07-14 21:51:22 +02:00
f4exb
ec4030052a WDSP receiver: added RIT to the API 2024-07-13 20:27:57 +02:00
f4exb
51870a2ae1 Added shift to channel marker to take RIT into account 2024-07-13 13:01:32 +02:00
f4exb
7f960824f5 WDSP receiver: added to Web API mapper 2024-07-12 05:01:07 +02:00
f4exb
a379692252 WDSP Receiver: API implementation 2024-07-11 21:25:53 +02:00
Daniele Forsi
4241f01376 Fix typos in cpp files 2024-07-10 23:06:38 +02:00
Daniele Forsi
e56908b0c6 Fix typos in include files 2024-07-10 23:06:38 +02:00
Daniele Forsi
4bef2355dd Fix more typos 2024-06-23 17:32:49 +02:00
Daniele Forsi
a45e4eab0a Fix typos in .yaml files 2024-06-23 17:32:49 +02:00
Daniele Forsi
941e73c561 Add missing close parens 2024-06-23 17:32:48 +02:00
srcejon
28cc7c3f31 FreqScanner: Add API action to run scan. Add scan results to channel report. 2024-06-21 10:24:16 +01:00
srcejon
c1d55b9af1 Add scanState to FreqScanner Report 2024-06-21 10:04:17 +01:00
srcejon
092efb3780 Update FreqScanner swagger files 2024-06-21 09:03:32 +01:00
srcejon
1625c42e38 AIS: Validate message length. Fixes #2125 2024-06-20 22:00:15 +01:00
srcejon
c62f128ca1 Regenerate swagger API 2024-06-18 09:14:22 +01:00
srcejon
159d46ee36 ILS Demod: Add DDM/SDM/Deviation to channel report. 2024-06-18 09:06:15 +01:00
srcejon
41716632d4 Remove use of deprecated QRegExp. 2024-06-10 14:01:57 +01:00
Daniele Forsi
52f3618e56 Fix memleak
Frees memory allocated
in ChannelWebAPIUtils::getCenterFrequency(unsigned int, double&) .../sdrbase/channel/channelwebapiutils.cpp:340
2024-06-08 21:46:23 +02:00
srcejon
a7969adfe9 CUDAvkFFTEngine: Add required include. 2024-06-04 08:11:34 +01:00
Daniele Forsi
710ad0b9e3 Fix error message
All long options must be specified with two hypens.
2024-06-01 16:57:24 +02:00
mxi-box
10aae9cfd4 Fix Sigmf Record: overwriting sigmf-data or sigmf-meta 2024-05-30 03:49:08 +08:00
Daniele Forsi
efa2f75170 [webapi] Sort some files by name in the resources file
Makes it easier to see if some file is missing.
2024-05-25 19:40:10 +02:00
Daniele Forsi
1e517a68e8 [webapi] Add missing files to resources file
Fixes:
2024-05-25 18:42:35.213 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SID.yaml not found
2024-05-25 18:42:35.221 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SkyMap.yaml not found
2024-05-25 18:42:35.370 (W) StaticFileController::service: File :/webapi/doc/swagger/include/ChannelPower.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FreqScanner.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/EndOfTrainDemod.yaml not found
2024-05-25 18:42:35.444 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FT8Demod.yaml not found
2024-05-25 18:42:35.485 (W) StaticFileController::service: File :/webapi/doc/swagger/include/M17Mod.yaml not found
2024-05-25 19:13:16.040 (W) StaticFileController::service: File :/webapi/doc/swagger/include/MorseDecoder.yaml not found
2024-05-25 19:39:32 +02:00
f4exb
4d5958f630 Morse Decoder: added option to show decoder thershold trace or not 2024-05-23 18:51:54 +02:00
f4exb
176fe034ea Morse Decoder: implemented API. For #2112 2024-05-21 02:43:51 +02:00
Daniele Forsi
6627b0c377 Use qDeleteAll() for brevity 2024-05-19 19:44:45 +02:00
Daniele Forsi
f52d371726 Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 176096 byte(s) in 5503 object(s) allocated from:
    #0 0x7f3a464f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f3a44009219 in Airline::Init::Init() sdrbase/util/airlines.cpp:5559
    #2 0x7f3a43dc797d in _sub_I_65535_0.0 (build/lib/libsdrbase.so+0x3c797d) (BuildId: fb568b705538a6e506ee23027626f4366b25aa50)
    #3 0x7f3a46c6ce3d in call_init elf/dl-init.c:74
    #4 0x7f3a46c6ce3d in call_init elf/dl-init.c:26
2024-05-19 19:44:45 +02:00
Daniele Forsi
cc6aa75912 Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x7f9d7d0f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f9d7af247aa in MainCore::appendDeviceSet(int) sdrbase/maincore.cpp:219
    #2 0x7f9d7c95c8a5 in MainWindow::sampleSourceAdd(Workspace*, Workspace*, int) sdrgui/mainwindow.cpp:359
    #3 0x7f9d7c97ce3c in MainWindow::loadConfiguration(Configuration const*, bool) sdrgui/mainwindow.cpp:1439
    #4 0x7f9d7c95a610 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:261
    #5 0x562f7c492175 in runQtApplication app/main.cpp:196
    #6 0x562f7c48fab7 in main app/main.cpp:248
    #7 0x7f9d776456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

and 34 others that I'm not copying here.
2024-05-19 19:44:45 +02:00
Daniele Forsi
8647a991a4 Fix memleak found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7ff2588f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7ff256723dd0 in MainCore::appendFeatureSet() sdrbase/maincore.cpp:190
    #2 0x7ff25817fb89 in MainWindow::addFeatureSet() sdrgui/mainwindow.cpp:1191
    #3 0x7ff25815a4d0 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:250
    #4 0x559632289175 in runQtApplication app/main.cpp:196
    #5 0x559632286ab7 in main app/main.cpp:248
    #6 0x7ff252e456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
2024-05-19 19:44:45 +02:00
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