1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 08:54:49 -04:00
Commit Graph

1248 Commits

Author SHA1 Message Date
srcejon 3df1ce20ae Fix warnings, 2024-10-10 14:36:06 +01:00
srcejon 78d0160514 MainWindow: Add FSMs to avoid blocking on the GUI thread.
DSPDevice*Engine: Add signals to indicate when commands have been processed.
DSPDeviceSourceEngine: Fix small memory leak.
DSPEngine::removeDeviceEngineAt: Remove wait to avoid blocking thread. Return QThread to get finished signal.
DSPEngine::addDevice*Engine: Don't call deleteLater for device*Engine, as these objects are deleted manually in MainWindow, which will crash if deleteLater called first.
2024-10-10 13:57:11 +01:00
srcejon 420e8147fa Fix gcc warnings. 2024-09-22 15:11:58 +01:00
srcejon 29bf92135d Add wrapping dial and spin box widgets. 2024-09-22 14:53:57 +01:00
srcejon 83f27ac2e2 Add period dial. 2024-09-22 12:23:06 +01:00
Edouard Griffiths f522d88fc5 Merge pull request #2252 from srcejon/freq_scanner
Update CMakeLists.txt to allow static libraries to be built
2024-09-13 21:07:04 +02:00
Edouard Griffiths d6773eafb3 Merge pull request #2245 from DreamNik/fix_warnings_and_android_issues
Fix warnings and android issues
2024-09-12 14:33:32 +02:00
srcejon 1df07b21ae Update CMakeLists.txt to allow static libraries to be built, as well as shared.
Add BUILD_BENCH, BUILD_SHARED_LIBS, ENABLE_AARONIARTSA and ENABLE_METIS options.
2024-09-11 20:16:40 +01:00
DreamNik d2e89b7337 Fix PR comments 2024-09-09 19:17:30 +03:00
f4exb 37e06de0ed DeviceGUI: removed destroy method. Part of #2159 2024-09-07 21:50:42 +02:00
DreamNik 60e1d1cd9e Fix compilation for Android with Qt6 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 704eb403d1 Removed the destroy method from ChannelGUI interface 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 d2066495a9 Fixed threading model for DSPDeviceSourceEngine. Part of #2159 2024-08-27 09:54:09 +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 c411e8fbf5 WDSP receiver: implement dB or S points option for the signal strength meter 2024-07-14 21:51:22 +02:00
f4exb 51870a2ae1 Added shift to channel marker to take RIT into account 2024-07-13 13:01:32 +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 15fec2c28d Fix comment after #endif 2024-07-09 22:20:19 +02:00
Jon Beniston 97193ef34d Don't change filenames on Android 2024-06-29 11:50:44 +01:00
Daniele Forsi d8c733cab7 Update properties related to fonts
Automatically updated by opening the .ui file in Qt Creator.
2024-06-23 17:32:49 +02:00
Daniele Forsi 685d30f15a Remove unused resources
Automatically deleted by opening the .ui file in Qt Creator.
2024-06-23 17:32:48 +02:00
Daniele Forsi 5cbc9fd834 Fix warning
Fixes:
 sdrgui/device/deviceuiset.cpp:353:36: 2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
2024-06-23 17:32:48 +02:00
Daniele Forsi 2b0bcb0d09 Remove duplicated lines 2024-06-23 17:32:48 +02:00
Daniele Forsi 1fd56fdb42 Remove unused files 2024-06-23 17:32:48 +02:00
Daniele Forsi 8a7d1534d8 Do not save the settings twice
Settings are saved in MainWindow::closeEvent() which is called when Sdrangel
is exited by closing its main window, or when using the File/Exit menu (or
Ctrl+Q) or when pressing Alt+F4.
2024-06-22 17:27:40 +02:00
srcejon 5f0fc8fbf7 Configurations dialog: Fix slot names. Sort configs when dialog first opened. 2024-06-20 22:30:39 +01:00
Daniele Forsi ea04742685 Make tooltips more uniform 2024-06-16 23:38:33 +02:00
Daniele Forsi 322296f1af Add missing tooltips 2024-06-16 23:38:33 +02:00
Daniele Forsi bf74dc53e0 Fix tooltips 2024-06-16 23:38:33 +02:00
Daniele Forsi 406bb674c5 Fix typos 2024-06-16 23:38:33 +02:00
Daniele Forsi b1a460fca8 Fix memleaks
Frees memory allocated
in SpectrumMeasurements::createPeakTable(int) .../sdrgui/gui/spectrummeasurements.cpp:303
in SpectrumMeasurements::createPeakTable(int) .../sdrgui/gui/spectrummeasurements.cpp:304
2024-06-09 20:23:39 +02:00
Edouard Griffiths 523be287ad Merge pull request #2133 from dforsi/fix/memleaks
Fix memleaks
2024-06-03 17:58:13 +02:00
Daniele Forsi 4c32c19308 Remove extra margins from some dialogs
Makes the margins of the Configurations dialog, the Feature Presets dialog
and the Plugin Presets dialog similar to the Device Set Presets dialog,
2024-06-02 23:59:01 +02:00
Daniele Forsi 8b5a5b7f70 Fix memleaks
Frees memory allocated
in TVScreenAnalog::initializeGL() /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:232
in TVScreenAnalog::initializeTextures(TVScreenAnalogBuffer*) /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:285
in TVScreenAnalog::initializeTextures(TVScreenAnalogBuffer*) /home/daniele/Programmazione/ham/sdrangel/sdrgui/gui/tvscreenanalog.cpp:286
2024-05-26 22:10:32 +02:00
Daniele Forsi af712de404 Highlight the current workspace 2024-05-26 12:31:40 +02:00
Daniele Forsi c7c0247f81 Highlight the current device 2024-05-26 12:31:40 +02:00
Daniele Forsi 08c0668dcb Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7faba78f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7faba73281e1 in GLShaderSpectrogram::initializeGL(int, int) sdrgui/gui/glshaderspectrogram.cpp:118
    #2 0x7faba7369b54 in GLSpectrumView::initializeGL() sdrgui/gui/glspectrumview.cpp:937
    #3 0x7faba33c4f45 in QOpenGLWidget::resizeEvent(QResizeEvent*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1c4f45) (BuildId: 983eca66d9695a1892aa796da4160d8d6f9b9ac4)
2024-05-19 19:44:45 +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
Edouard Griffiths 79310b2008 Merge pull request #2095 from dforsi/fix/typos
Fix/typos
2024-05-13 19:03:41 +02:00
srcejon 39760146d4 ValueDial: Fix array being accessed out of range. 2024-04-30 09:33:54 +01:00
Daniele Forsi 31dc594b46 Fix Markdown 2024-04-29 19:07:29 +02:00
Daniele Forsi b1643ee9b5 Fix typos 2024-04-29 19:07:29 +02:00