Daniele Forsi
8829df3c3b
Fix memleaks found with AddressSanitizer/LeakSanitizer
...
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 448 byte(s) in 2 object(s) allocated from:
#0 0x7f78cd8f46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f788e0e9d9c in GS232ControllerWorker::MsgConfigureGS232ControllerWorker::create(GS232ControllerSettings const&, QList<QString> const&, bool) sdrangel/plugins/feature/gs232controller/gs232controllerworker.h:51
#2 0x7f788e0eeedf in GS232Controller::applySettings(GS232ControllerSettings const&, QList<QString> const&, bool) sdrangel/plugins/feature/gs232controller/gs232controller.cpp:291
#3 0x7f788e0ec595 in GS232Controller::handleMessage(Message const&) sdrangel/plugins/feature/gs232controller/gs232controller.cpp:156
#4 0x7f78cabe899f in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
#5 0x7f78ca9f9b5c in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
#6 0x7f78c7f05fcc (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
#7 0x7f78caa0584a in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
#8 0x7f78cad19c77 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
#9 0x7f788e142936 in GS232ControllerGUI::applySettings(QStringList const&, bool) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:969
#10 0x7f788e142727 in GS232ControllerGUI::applySetting(QString const&) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:960
#11 0x7f788e133c26 in GS232ControllerGUI::onWidgetRolled(QWidget*, bool) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:206
#12 0x7f788e0e25d9 in GS232ControllerGUI::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/plugins/feature/gs232controller/featuregs232controller_autogen/EWIEGA46WW/moc_gs232controllergui.cpp:234
#13 0x7f78c7f05fcc (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
#14 0x7f78ccdcd9a1 in RollupContents::widgetRolled(QWidget*, bool) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_rollupcontents.cpp:146
#15 0x7f78cd06a080 in RollupContents::eventFilter(QObject*, QEvent*) sdrangel/sdrgui/gui/rollupcontents.cpp:403
#16 0x7f78c7ecc4b2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2cc4b2) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
and more
3 years ago
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.
3 years ago
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
3 years ago
srcejon
e1817958b5
Fix warnings and Sky Map connections.
3 years ago
srcejon
483e338614
Add AvailableChannelOrFeatureHandler for handling lists of channels, features and message pipes to them.
3 years ago
srcejon
607d7db702
Use MainCore code for managing available channel and feature list.
3 years ago
srcejon
1ace16cfe2
Add Sky Map support to Rotator Controller.
3 years ago
f4exb
00b041d762
Rewriting of copyright notices for plugins/features. Part of #1893
3 years ago
Jon Beniston
2d7c572040
Rotator Controller: Add additional gamepad calibration and functionality
3 years ago
Jon Beniston
a1c1308580
Rotator Controller: Add gamepad input controller support.
4 years ago
Jon Beniston
4ac5e729ff
Rotator Controller Updates
...
Add support for X/Y coordinates.
Add coordinate precision setting.
Automatically scan for serial port changes.
Refactor so each protocol is implemented in a separate class.
Add start of DFM protocol.
4 years ago
f4exb
005cee925d
Rotator Controller feature: Make settings assignments atomic. Part of #1329
4 years ago
Jon Beniston
a618dae6e7
Check for existing pipes after GUI is created. For #1484
4 years ago
Jon Beniston
b1ce69fb2b
Call stopWork from destructor.
4 years ago
Jon Beniston
5da8d6d28c
Update threading in Rotator Controller for #1346
4 years ago
f4exb
842546aec6
Rotator controller and dependent plugins: implemented new message pipes and other fixes. Part of #1154
5 years ago
f4exb
4111c967e9
Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185
5 years ago
f4exb
98b305f320
Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050
5 years ago
Jon Beniston
d5857c3878
Move Feature workers to thread
5 years ago
Jon Beniston
fb394165a3
Update API
5 years ago
f4exb
fee2c5065d
API: report running state for feature plugins with run action
5 years ago
f4exb
10f79b183f
Implemented run action API in relevant feature plugins. Missing bits.
5 years ago
f4exb
920fa82022
Implemented run action API in relevant feature plugins
5 years ago
Jon Beniston
1de5a38d6b
Fix gcc warnings
5 years ago
Jon Beniston
750f556eaa
GS-232 Controller Updates
...
Fix broken pipe #1006 .
Add onTarget and current and target aziumth and elevation to web report.
Set run/stop button background to yellow when rotator is rotating (not onTarget).
Use floating point value for tolerance setting.
5 years ago
f4exb
00b3ae29d9
GS232 Controller API: added serial devices to report + fixes
5 years ago
f4exb
f5e14f6502
GS232 Feature: rename targets as sources. API: created GS232 report and fixed missing source name in get settings
5 years ago
Jon Beniston
f51e8b4095
Add SPID rot2prog protocol support. Add tolerance setting.
6 years ago
Jon Beniston
cd504da84e
Add min and max limits for azimuth and elevation in GS-232 controller. Add satellite tracker support
6 years ago
Jon Beniston
d507f49626
Instantiate QNetworkAccessManager to avoid crash on reverse API usage
6 years ago
Jon Beniston
931a63dc8b
GS-232 Controller updates.
...
Update GS-232 controller to use message pipes for the target.
Add field displaying the name of the target.
Add azimuth and elevation offsets.
Report worker thread errors to the GUI.
6 years ago
Kacper Michajłow
f2d01b61d3
Avoid global QString init in plugins
...
This workarounds issue with LTO with GCC #716
6 years ago
f4exb
55eb6cc951
Fixed -Wunused-parameter warnings
6 years ago
Jon Beniston
1a9b6d1763
Add ADS-B Demodulator plugin.
...
Add GS232 Rotator Controller feature plugin.
Add altitude and station name to My Positon.
Use QtDeploy to ensure all required Qt libraries are included (Should
fix OpenGL issues)
6 years ago