Wykres commitów

40 Commity (master)

Autor SHA1 Wiadomość Data
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 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
srcejon 29ae05a494 MainCore::getFeatureIndexFromId - Support Feature Ids without feature set index. 2024-03-18 14:10:02 +00:00
srcejon 483e338614 Add AvailableChannelOrFeatureHandler for handling lists of channels, features and message pipes to them. 2024-02-16 16:31:12 +00:00
srcejon e6e4d1661e Fix compiler warnings. 2024-02-14 13:58:44 +00:00
srcejon 2708a81623 Add Sky Map feature plugin. 2024-02-14 13:20:33 +00:00
srcejon d989561df5 Use common code for creating and processing device and channel Ids. 2023-12-05 12:32:53 +00:00
f4exb 439b5d094c Rewriting of copyright notices for sdrbase. Part of #1893 2023-11-19 13:43:10 +01:00
srcejon a398381aaf Allow ADS-B to send airport ATC frequencies to Frequency Scanner.
Add ATC callsigns.
Add ATC mode, displaying basic info for all aircraft.
Add airport range rings.
Change Device setting to be an AM Demod setting, so AM demod isn't at DC.
Add basic aircraft data to ADSB Web API report.
2023-10-26 16:31:37 +01:00
Jon Beniston f8efc14421 Fix Qt6 compilation 2023-04-10 15:57:16 +01:00
Mohamed 5cb707789c fixing errors when compiling using qt6
Fixing errors when compiling using qt6
2023-03-17 19:41:25 +02:00
Jon Beniston 2755853cdc Android: Prevent app from being put to sleep when running. Add menu to keep screen on. 2023-02-17 21:57:09 +00:00
Jon Beniston 6b2547cac4 Don't set altitude to NaN, if position provider doesn't supply it. 2023-02-16 14:47:40 +00:00
Jon Beniston b70496c1cc Fix crash when no logger implemented. Add additional error reporting for GPS positioning. 2023-01-02 15:30:34 +00:00
Jon Beniston 68603fec43 Allow sampling devices to be refreshed while SDRangel is running.
(Possibly need to add a mutex for MainCore::getPluginManager, so only
can be used by one thread)
Add option to automatically update My Position based on GPS. This is
started in MainCore, so we get position as soon as possible.
Don't set QFileDialog::DontUseNativeDialog on Android, as Qt's file
dialog can't access user storage. Set globally for Linux/Windows, rather
than for each dialog.

 MainWindow:
 - Add welcome dialog for Android.
 - Don't show menu bar or status bar on Android to save screen space.
 - On Android, change tab position when screen orientation changes.
 - Load default configurations and presets first time SDRangel is run.
 - Change loadConfiguration to use a QProgressDialog rather than
   QMessageBox, as the latter was crashing on Android.
   - Use DialogPositioner to ensure dialogs are on screen.
2022-12-20 21:06:39 +00:00
f4exb 7a8cab7879 Fixed missing bits in API. Fixes #1247 2022-05-16 20:51:15 +02:00
f4exb 9e5c629473 v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
f4exb f545eea5ed v7: created API to manage workspaces. Implements #1240 2022-05-09 21:31:14 +02:00
f4exb 1bcecec103 v7: added API for configurations and updated presets API. Implements #1234 2022-05-08 19:33:10 +02:00
f4exb 2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb 8a3f15ba45 Moved device and feature sets add and remove signals where appropriate. Improves #1139 2022-03-23 05:53:12 +01:00
f4exb 09599e145e Added signals to SampleSinkFifo including samples timings. Implements #1143 and part of #1139 2022-03-15 22:21:06 +01:00
f4exb 8477641bec MainCore: signals to notify changes in devices channels and features. Part of #1139 2022-03-12 05:45:24 +01:00
Jon Beniston cddc8c9b83 Star Tracker updates.
Plot Sun and Moon on sky temperature chart.
Plot markers on Galactic line-of-sight chart.
Create animations from Galactic line-of-sight chart.
Allow weather at antenna location to be downloaded from openweathermap.org
Allow target to be entered as Galactic longitude / latitude.
Add azimuth and elevation offsets to support scans around targets.
Add S7, S8 and S9 targets.
Refactor some code from GUI to main plugin, so computed values can be used in other plugins.
2021-10-12 11:07:56 +01:00
f4exb d07f7fbb8a API: /sdrangel/featureset (POST, DELETE) implemetned with 202 but messages are not processed yet 2021-08-21 13:14:48 +02:00
f4exb 0d4da317b3 Demod Analyzer: fixed sample rate handling. Fixes #931 2021-06-29 21:47:27 +02:00
Jon Beniston 0ab857c358 Add PipeEndPoint class, that both ChannelAPI and Feature can inherit
from, to allow either to be used as pipe sources.
Add MsgMapItem, MsgPacket and MsgTargetAzimuthElevation messages that
can be passed between channels and features via pipes.
2021-01-13 17:07:38 +00:00
f4exb 321cffc9c7 Demod Analyzer implementation with AM modulator and demodulator 2020-12-20 18:31:59 +01:00
f4exb ee0e5fc777 AFC: implemented message pipes for sending back channel settings. Implemented in all relevant channel plugins. Removed obsolete methods 2020-12-13 13:04:36 +01:00
f4exb 38787f2a19 VOR single channel: added REST API and channel report message 2020-11-29 09:26:32 +01:00
f4exb 9bd8e9c34e Fixed -Wsign-compare warnings 2020-11-14 22:08:06 +01:00
f4exb a9d09e30a8 Fixed Qt version checks 2020-11-04 23:05:32 +01:00
f4exb 8b05670814 MainCore: added feature and channel maps. FeatureSet and FeatureUISet: simplify feature registrations. Channel and feature names fix 2020-10-16 08:35:56 +02:00
f4exb 48ed11331a MainCore: methods to get channel API and feature 2020-10-13 08:46:43 +02:00
f4exb 0f1e42f17b Initialize master timer 2020-10-11 22:08:47 +02:00
f4exb febbb4fa0f Implement MainCore in MainWindow step3: device sets 2020-10-11 09:03:52 +02:00
f4exb 96329326b4 Implement MainCore in MainWindow step2: feature sets 2020-10-11 09:02:19 +02:00
f4exb f5076457b4 Implement MainCore in MainWindow step1: except feature and device sets 2020-10-11 08:38:20 +02:00
f4exb 5f2e251629 Create a MainCore singleton and renamed MainCore to MainServer 2020-10-10 03:20:42 +02:00