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

2831 Commits

Author SHA1 Message Date
f4exb
580fbda09c Fixed threading model for DSPDeviceSourceEngine. Part of #2159 2024-08-14 22:08:49 +02:00
f4exb
4a6943b4d9 Removed SyncMessenger from DSPDeviceSourceEngine. Part of #2159 2024-08-14 17:24:21 +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
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
Edouard Griffiths
20aed1b00d
Merge pull request #2110 from dforsi/feature/my-position
Explain that GPS is not the only means to get the position of the station
2024-05-14 09:42:32 +02:00
Daniele Forsi
dbc9ebbb64 Explain that GPS is not the only means to get the position of the station
Also print a debug message with the position provider in use.
2024-05-13 22:55:34 +02:00
f4exb
5231d1877b Metis MISO: added lock all Rx frequencies option 2024-05-13 22:09:12 +02:00
f4exb
a85731d3f7 Interferometer: added localDeviceIndex and play to API 2024-05-13 01:02:44 +02:00
f4exb
bab47d41c7 Interferometer: implement gain and phase in API 2024-05-13 01:02:44 +02:00
Daniele Forsi
08c918f194 Fix saving configurations after deleting some entries 2024-05-11 19:36:31 +02:00
srcejon
c0fc8c3b73 Don't call start() in Demod's constructors. #2102
SSDDemodGUI: Disable AGC widgets when AGC disabled.
2024-05-08 18:52:34 +01:00
srcejon
4f2b03646f AIS: Fix string decoding in safetey messages. #2094 2024-04-30 09:32:22 +01:00
Alessandro Gatti
fa5dc41503 vkFFT: Fix building with recent Vulkan SDKs.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2024-04-26 00:35:16 +02:00
Edouard Griffiths
4d43e53272
Merge pull request #2076 from dforsi/fix/includes
Fix/includes
2024-04-21 11:15:46 +02:00