Commit Graph

159 Commits

Author SHA1 Message Date
Daniele Forsi de131d1f6d Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7efeb72f46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7efe83515718 in WebServer::addSubstitution(QString, QString, QString) sdrangel/plugins/feature/map/webserver.cpp:84
    #2 0x7efe83559c9e in MapGUI::applyMap3DSettings(bool) sdrangel/plugins/feature/map/mapgui.cpp:1789
    #3 0x7efe8355e483 in MapGUI::displaySettings() sdrangel/plugins/feature/map/mapgui.cpp:1964
    #4 0x7efe834be0f6 in MapGUI::MapGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/map/mapgui.cpp:376
    #5 0x7efe835372f4 in MapGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/map/mapgui.cpp:66
    #6 0x7efe834b5471 in MapPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/map/mapplugin.cpp:72
    #7 0x7efeb6b416c2 in FeatureUISet::loadFeatureSetSettings(FeatureSetPreset const*, PluginAPI*, WebAPIAdapterInterface*, QList<Workspace*>*, Workspace*) sdrangel/sdrgui/feature/featureuiset.cpp:185
    #8 0x7efeb67e9b41 in MainWindow::loadConfiguration(Configuration const*, bool) sdrangel/sdrgui/mainwindow.cpp:1503
    #9 0x7efeb6730e3e in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrangel/sdrgui/mainwindow.cpp:257
    #10 0x557281218bad in runQtApplication sdrangel/app/main.cpp:196
    #11 0x5572812194a3 in main sdrangel/app/main.cpp:248
    #12 0x7efeb10456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
2024-05-19 19:44:45 +02:00
Daniele Forsi 3fb678272d Fix memleaks found with AddressSanitizer/LeakSanitizer
Fixes:
Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7efeb72f46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7efe834b65a2 in WebServer::WebServer(unsigned short&, QObject*) sdrangel/plugins/feature/map/webserver.cpp:34
    #2 0x7efe834bc342 in MapGUI::MapGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/map/mapgui.cpp:265
    #3 0x7efe835372f4 in MapGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/map/mapgui.cpp:66
    #4 0x7efe834b5471 in MapPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/map/mapplugin.cpp:72
    #5 0x7efeb6b416c2 in FeatureUISet::loadFeatureSetSettings(FeatureSetPreset const*, PluginAPI*, WebAPIAdapterInterface*, QList<Workspace*>*, Workspace*) sdrangel/sdrgui/feature/featureuiset.cpp:185
    #6 0x7efeb67e9b41 in MainWindow::loadConfiguration(Configuration const*, bool) sdrangel/sdrgui/mainwindow.cpp:1503
    #7 0x7efeb6730e3e in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrangel/sdrgui/mainwindow.cpp:257
    #8 0x557281218bad in runQtApplication sdrangel/app/main.cpp:196
    #9 0x5572812194a3 in main sdrangel/app/main.cpp:248
    #10 0x7efeb10456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

and others
2024-05-19 19:44:45 +02:00
Edouard Griffiths 52a440e400
Merge pull request #2091 from dforsi/fix/typos
Fix/typos
2024-04-27 11:08:10 +02:00
Daniele Forsi 15433bb324 Fix spellling errors found with LibreOffice Writer 2024-04-26 21:18:32 +02:00
Simon Ruderich 6086fb328e plugins: remove UTF-8 BOMB from readme.md
BOMB is normally not used for UTF-8/ASCII files.
2024-04-26 08:37:24 +02:00
Daniele Forsi 991ccddb66 Close any open dialog when sdrangel quits 2024-04-23 20:23:07 +02:00
Daniele Forsi b4ec43e4aa Raise the Beacon, IBP Beacons an Radio Time dialogs
Make the dialogs visible again if they are open but are hidden behind
the main window or another application's window.
2024-04-22 23:05:04 +02:00
Daniele Forsi f4b2dfc0a9 Revert "Prevent the dialogs to be hidden behind the main window"
This reverts commit f72574d1ad.
2024-04-22 22:42:00 +02:00
Daniele Forsi f72574d1ad Prevent the dialogs to be hidden behind the main window
This also menas that when the main window is closed, the dialogs get
closed automatically, and not only when the map window is closed.
2024-04-22 22:39:19 +02:00
Daniele Forsi 230c461204 Update the IPB beacons table only when the dialog is visible 2024-04-22 22:39:19 +02:00
Daniele Forsi 570c1f6877 Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
Mykola Dvornik 15337cac66 Fix bug that prevents settings changes updates via reverse API
Most plugins that use reverse API to PATCH settings updates to remote
server only do so when `useReverseAPI` is toggled, but not when the
relevant settings are being updated. So lets fix the precondition to
use the `m_useReverseAPI` flag instead.
2024-04-14 18:58:12 +02:00
f4exb cdae5ca048 Updated versions and changelogs 2024-04-14 11:41:00 +02:00
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
Daniele Forsi 92246cdc71 Fix typing errors found with codespell and more 2024-04-06 12:39:18 +02:00
srcejon 9c1b1ab4f8 Fix for Qt 6. 2024-04-05 21:30:23 +01:00
srcejon 97cd94496a Add Linux codec details and fix Y autoscale when min/max are the same. 2024-04-05 16:35:43 +01:00
srcejon c0e7ce4383 Fix gcc warnings. 2024-04-05 10:56:19 +01:00
srcejon 4955e6ab08 Map: Add save to KML. Support MUF/foF2 varying with time. Support VLF transmitters being read from .csv. 2024-04-05 10:41:24 +01:00
srcejon 0d333a910e Fix URLs on QT 6 map. 2024-02-28 12:34:03 +00:00
srcejon a6e8acf4ce Update map docs. 2024-02-27 16:55:47 +00:00
srcejon 5001ed751b Update map docs. 2024-02-27 16:41:37 +00:00
srcejon bb7ea39d28 Fix gcc warnings. 2024-02-27 16:28:23 +00:00
srcejon cacb740566 Update Map docs. 2024-02-27 16:25:34 +00:00
srcejon 5d96a09520 Update map QML/HTML. 2024-02-27 16:00:18 +00:00
srcejon e0839fce82 Map: Add Spy Server and Kiwi SDR. Add weather and satellite overlays. 2024-02-27 15:40:06 +00:00
f4exb 5dcf7f7d40 Updated versions and changelogs 2023-12-31 19:16:27 +01:00
srcejon 070f8077b2 Map updates:
Allow selection of which device to tune to frequency.
Support tuning of multiple frequencies per map item.
Update maplibre to maplibregl.
2023-12-05 12:30:25 +00:00
f4exb 78068fd5f2 Updated versions and changelogs 2023-12-04 21:40:42 +01:00
srcejon ff8bbe5cd3 Remove html from labels 2023-12-01 11:56:07 +00:00
f4exb 07e8ae0de1 Updated changelogs and plugins versions 2023-11-29 05:00:58 +01:00
f4exb 00b041d762 Rewriting of copyright notices for plugins/features. Part of #1893 2023-11-18 13:12:18 +01:00
Jon Beniston e799e5eb72 Fix resize cursor not being cleared when mouse moves over child widgets 2023-11-13 20:51:03 +00:00
f4exb 7b85db4885 Update versions and changelogs 2023-09-02 23:18:51 +02:00
Daniele Forsi 6126a819c1 Beacons: Fix sorting of numeric columns 2023-08-27 12:56:31 +02:00
Daniele Forsi d24a961f41 Radio Time: Fix sorting of numeric columns 2023-08-27 12:54:57 +02:00
Daniele Forsi 552d175677 Radio Time: Align numeric cells to the right 2023-08-23 12:08:26 +02:00
Daniele Forsi df5a7f370d Beacons: Add symbol of degrees to column headers 2023-08-23 12:08:26 +02:00
Daniele Forsi ffacca397c Beacons: Align numeric cells to the right 2023-08-23 12:08:26 +02:00
Daniele Forsi 413d8555af IBP Beacons: Resize the columns 2023-08-23 12:08:26 +02:00
Daniele Forsi 2ee8c6d137 IBP Beacons: Align numeric cells to the right 2023-08-23 12:08:26 +02:00
Daniele Forsi 648f329b50 IBP Beacons: Add the "DX Entity" column as in the IBP website 2023-08-23 12:08:26 +02:00
Daniele Forsi 416521c75d Update callsigns and locators of IBP beacons 2023-08-13 08:52:48 +02:00
Edouard Griffiths 73c69543f9
Merge pull request #1765 from dforsi/fix/typos
Fix/typos
2023-08-08 22:30:23 +02:00
Daniele Forsi c2ef9823cd Fix beacon frequency and add a space before the unit of measure 2023-08-07 20:28:41 +02:00
Jon Beniston 5567c708e7 Support Map plugin for Qt 6.5. Some Qt 6.6 fixes. 2023-08-06 09:08:53 +01:00
Jon Beniston 632ce95c26 Change Street Map from WikiMedia to OpenStreetMap, as Wikimedia servers are no longer available. For #1709 2023-06-07 11:40:01 +01:00
Jon Beniston 65b816c8a7 Fix compiler warnings 2023-05-15 17:32:35 +01:00
Jon Beniston b1cf8408f4 Map: Add DSC and VLF transmitters. Fix removal of polylines from 3D map. Add find support for polylines and polygoins 2023-05-15 16:47:50 +01:00
Jon Beniston a111c1f1a0 Map: Add DSC and VLF transmitters. Fix removal of polylines from 3D map. Add find support for polylines and polygoins 2023-05-15 16:47:29 +01:00