1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
Commit Graph

1253 Commits

Author SHA1 Message Date
srcejon
e3ec8759ed Remove unused variable 2024-10-10 15:57:08 +01:00
srcejon
d5dc848830 Don't load defaults if loading a preset 2024-10-10 15:56:27 +01:00
srcejon
41f2b0457a Cleanup 2024-10-10 15:21:53 +01:00
srcejon
a04f84fcc3 Adds comment 2024-10-10 15:11:23 +01:00
srcejon
5ac2081195 DeviceGUI::closeEvent - Don't automatically delete the GUI, as MainWindow::RemoveDeviceSetFSM::removeUI will do it 2024-10-10 15:03:24 +01:00
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