1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 16:01:14 -05:00
Commit Graph

264 Commits

Author SHA1 Message Date
Kacper Michajłow
f2d01b61d3 Avoid global QString init in plugins
This workarounds issue with LTO with GCC #716
2020-11-22 04:06:32 +01:00
Kacper Michajłow
cf70d9430f Use QStringLiteral when it make sense 2020-11-22 04:05:04 +01:00
f4exb
82f98ab6c1 cmake: re-integrated -Woverloaded-virtual and fixed corresponding warnings 2020-11-15 08:31:49 +01:00
f4exb
55eb6cc951 Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
f4exb
d2710806bf Renamed sdrbase AudioOutput to AudioOutputDevice 2020-11-12 22:13:44 +01:00
f4exb
c6083b339f Websocket spectrum: updated plugins 2020-11-11 11:46:54 +01:00
f4exb
a09b66c38b SpectrumVis: remove now useless configure method 2020-11-11 11:24:55 +01:00
f4exb
41f0fec4f6 sdrbase cmake: restored Boost_INCLUDE_DIRS 2020-11-05 20:41:33 +01:00
Kacper Michajłow
1e5ae8ea0f Define _USE_MATH_DEFINES and clean M_PI redefinitions 2020-11-04 23:05:41 +01:00
f4exb
379096cbdd Migrate code to Qt 5.14.2 2020-11-04 20:08:44 +01:00
Kacper Michajłow
70434765d7 Add support for VS2019 and Ninja
- Specify byproducts in external projects
- Use external Boost
- Remove hacky Qt detection
- Fix CRT mismatch in external projects (fixes SoapySDR on Windows)
- Minor fixes
2020-11-04 10:40:17 +01:00
f4exb
d7f8208814 Fix and refactor fir filter 2020-10-31 21:30:45 +01:00
f4exb
6f4f7910f1 Channel settings feature feedback: all plugins 2020-10-27 06:16:17 +01:00
f4exb
61d3431095 Some cleanup 2020-10-14 22:10:26 +02:00
f4exb
8ba95addc0 Use MainCore instance in place of MainWindow 2020-10-12 22:11:13 +02:00
f4exb
170a2661e1 Updated version and changelogs 2020-10-06 07:41:32 +02:00
f4exb
31bf99a619 Removed dangling PluginInstanceGUI references 2020-10-05 16:30:24 +02:00
f4exb
6ebf4569bf Delete channel API from DeviceUISet. Update FeatureUISet 2020-10-04 22:16:09 +02:00
f4exb
b1c9a35dcb Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow 2020-10-04 22:16:09 +02:00
f4exb
d3d506a5ae Removed handleMessage virtual method from PluginInstanceGUI 2020-10-04 22:16:09 +02:00
f4exb
d085b4eb7d Removed undesirable methods from PluginInstanceGUI and related common plugins 2020-10-04 22:16:09 +02:00
f4exb
a93a93cec0 Channel API: new getURI method. Applied to common plugins 2020-10-04 22:16:09 +02:00
f4exb
1b11363214 Add GUI to device set outside plugin: applied to common plugins 2020-10-04 22:16:09 +02:00
f4exb
ef65afea02 Replace separate create channel methods (BS and CS): common plugins 2020-10-04 22:16:09 +02:00
f4exb
7917d595f5 Demods with audio: systematically reapply audio sample rate in case of channel sample rate change 2020-08-03 13:00:00 +02:00
f4exb
c41cf68d60 Demod plugins with configurable audio: fixed audio sample rate handling 2020-08-03 12:59:31 +02:00
f4exb
a4a16265a3 Updated version and changelogs 2020-07-01 20:22:41 +02:00
f4exb
b64e41419f Add 10 MHz digit to wideband channel plugins. Implements #531 2020-07-01 19:53:09 +02:00
f4exb
a8969af144 Updated plugins version 2020-05-16 08:15:47 +02:00
f4exb
a125ab02cf GLSpectrumGUI: removed reference to message queue in setBuddies method 2020-05-15 23:27:39 +02:00
f4exb
7d6d351891 SpectrumVis: removed message queue parameter from configure method 2020-05-15 23:22:34 +02:00
f4exb
4d9d804f97 Websocket spectrum: adapted plugins (missing bits) 2020-05-15 23:14:19 +02:00
f4exb
9945c6a8f8 Websocket spectrum: adapted plugins 2020-05-15 22:57:09 +02:00
f4exb
ac6c3b08f2 Websocket spectrum: first implementation 2020-05-15 22:49:35 +02:00
f4exb
fb8a1f9df9 BFM demod: added initialization of message to GUI address 2020-03-29 00:02:54 +01:00
f4exb
c473c31035 BFM demod: fixed message to GUI initialization in baseband class. Fixes #469 2020-01-25 03:43:55 +01:00
f4exb
6855602a7f Device API: removed useless stream index parameter on channel API methods 2019-12-23 23:41:44 +01:00
f4exb
d0858f21fb Added possibility to specify devices that cannot be discovered automatically. This implements #445 2019-12-16 01:03:47 +01:00
f4exb
653f8c1330 Renamed DownSampleChannelizer back to (new) DownChannelizer 2019-12-13 15:15:21 +01:00
f4exb
14a21b10cb Removed obsolete references to DownChannelizr 2019-12-13 00:43:07 +01:00
f4exb
1359aac9b6 Removed ThreadedBasebandSampleSink 2019-12-13 00:42:37 +01:00
f4exb
735f1cdbb4 Rx plugins: refactoring of classes (2) 2019-12-04 07:20:05 +01:00
f4exb
246ff824af Corrected network manager process memory leaks (Rx side) 2019-11-12 18:46:45 +01:00
f4exb
51a07c3f7b Channel Rx plugins: implement MIMO support 2019-10-09 07:39:52 +02:00
f4exb
a88556d6f6 REST API: config: GET (13): corrected missing return in deserialize methods of the adapters 2019-08-05 03:42:04 +02:00
f4exb
4b3d088407 GLSpectrum settings refactoring (1) 2019-08-05 01:56:29 +02:00
f4exb
7688f187bc REST API: config: use specialized ChannelWebAPIAdapter class similar to what has been done for devices 2019-08-05 00:10:56 +02:00
f4exb
a4007b762e REST API: config: (6): config preset channel Rx adapters 2019-08-03 01:05:16 +02:00
f4exb
2274d20856 REST API: config: GET (5): all API supported channels refactoring to use static methods for settings GET. PUT. PATCH 2019-08-03 01:05:16 +02:00
f4exb
ef82b89182 REST API: config: GET (4): optimize channel settings API management and generally improve constedness 2019-08-03 01:05:16 +02:00
Martin Hauke
a1548333a7 Fix some typos 2019-07-22 23:14:23 +02:00
Davide Gerhard
2e04d2fe9d
fix windows code to build with MSVC
- remove __attribute__((unused)) not supported on MSVC
- remove  __attribute((unused)) not supported on MSVC
- add symbol exports to RemoteDataReadQueue and RemoteDataQueue
- add export symbols to sdrsrv
2019-05-28 15:19:19 +02:00
Davide Gerhard
94d03f9004
remove useless CMAKE_CURRENT_BINARY_DIR 2019-05-21 20:19:30 +02:00
Davide Gerhard
23498ab24b
manage "correctly" plugins/pluginssrv folders 2019-05-21 20:19:25 +02:00
Davide Gerhard
dcfb7f6c97
cmake: full refactor to remove qmake and use cmake on all platforms 2019-05-21 20:19:25 +02:00
Davide Gerhard
fd642496b8
remove qmake project files
move to cmake only building system
2019-05-21 20:19:18 +02:00
f4exb
7e128335f1 Propagate change to channel UIs 2019-05-09 21:07:05 +02:00
f4exb
a5e9f251ef Single channel API 2019-05-09 17:27:12 +02:00
f4exb
9e628917dc Removed all obsolete references to devicesourceapi.h and devicesinkapi.h 2019-05-09 12:10:27 +02:00
f4exb
89e53cf179 Single DeviceAPI interface (1) 2019-05-08 22:11:53 +02:00
f4exb
54e46837dd REST API: changed binary tx parameter to ternary direction parameter (0: rx, 1: tx, 2: any) 2019-05-07 14:43:38 +02:00
f4exb
d504b060f9 REST API: added missing bits in some modulators and demodulators for reverse API 2019-04-20 19:53:16 +02:00
f4exb
ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
f4exb
4e4d293e01 Reverse API originator information: implemented in all channel Rx plugins 2019-03-25 13:53:48 +01:00
f4exb
66efc10006 Merge branch 'dev' 2018-12-28 11:08:44 +01:00
ZigaS
b743943c70 Update to Qt 5.12.0.
Project files with MacOS clang RPATH to use proper paths for shared objects.
Minor path updates in favor of loading plugin libs.
Deployment script packaging using Qt way(macdeployqt).
2018-12-27 09:48:30 +01:00
f4exb
d13fb41927 Reverse API: channels: updated plugin versions 2018-12-24 14:52:53 +01:00
f4exb
98ae61f4e0 Reverse API: BFM demod 2018-12-22 07:16:15 +01:00
f4exb
2e58818776 Reverse API: right click dialog on start/stop button. Apply to RTL-SDR 2018-12-17 00:34:14 +01:00
f4exb
0e75cc3709 Wndows builds: removed reference to now obsolete MinGW64 toolchain 2018-12-14 17:49:06 +01:00
f4exb
4a69a7d39f Adaptation of cmake files to MSVC 2018-12-02 03:06:04 +01:00
f4exb
98a193e591 BFM demod: fixed iterator in RDS parser 2018-11-13 16:01:33 +01:00
f4exb
1dc466e604 Windows: MSVC2017: adapt channel analyzer, AM and ATV demods plugin modules 2018-11-13 16:02:26 +01:00
f4exb
dc2f25a00b Windows: MSVC2017: fixed more attribute unused cases (1) 2018-11-13 00:45:03 +01:00
f4exb
5771ef4783 Foolproof AudioFifo to try fix issue #210. Consequently removed useless timeout parameter on read and write methods 2018-09-12 15:30:53 +02:00
f4exb
f58cc3cc07 Renamed UDPSink to UDPSource 2018-09-11 22:36:16 +02:00
f4exb
f368c62329 Fixed power display going to floor value in some demods 2018-08-05 12:44:06 +02:00
Edouard GRIFFITHS
ea83e43d09 New Windows build 2018-07-11 18:05:05 +02:00
f4exb
d5f153ff75 Spectrum: added log/linear control 2018-07-04 23:11:28 +02:00
f4exb
5e1699c981 Bumped plugins version 2018-07-02 02:37:56 +02:00
f4exb
56e49baa3b Spectrum averaging: fixed average (1) 2018-07-01 02:16:59 +02:00
f4exb
e9658e0346 Spectrum averaging (2): moving average 2018-06-30 22:30:42 +02:00
f4exb
1eb8716a9f Fixes for Arch. Manual merge of pull request #183. DATV demod: fixed some of ffmpeg deprecation warnings 2018-06-13 00:20:51 +02:00
f4exb
f76fafe826 Windows build fix 2018-06-10 12:17:26 +02:00
f4exb
1770192116 Server: added WFM demod plugin 2018-05-29 11:14:24 +02:00
f4exb
c31a34ea41 BFM demod: code cosmetic changes 2018-05-29 10:59:30 +02:00
f4exb
f11cda633d BFM demod: fixed squelch to be compatible with server mode 2018-05-29 00:14:45 +02:00
f4exb
a8966789c0 Server: added BFM demod plugin 2018-05-28 11:52:24 +02:00
f4exb
e27ca22c86 BFM demod: fixed report mapper 2018-05-28 11:43:24 +02:00
f4exb
0c328546b0 WFM demod: implemeted WEB API 2018-05-25 10:08:47 +02:00
f4exb
c961fa368d Web API: fixes in BFM demod and HackRF input 2018-05-25 02:02:21 +02:00
f4exb
72e58534e3 Web API: BFM and DSD demod fixes. SSB demod: change clipping limiter constants 2018-05-24 18:23:08 +02:00
f4exb
8d7b581879 BFM demod: implemeted WEB API 2018-05-23 14:56:29 +02:00
beta-tester
8dca2d7b28 uniformed date format in Broadcast FM Demod 2018-05-11 11:35:10 +02:00
f4exb
c43ecc8afe Channel Rx plugins: use liberation font 2018-05-05 18:12:05 +02:00
f4exb
e206d65283
Merge pull request #162 from jigpu/spelling-fixes
Spelling fixes
2018-04-22 07:45:20 +02:00
f4exb
a099b05fb6
Merge pull request #164 from jigpu/memleak-fixes
Memleak fixes
2018-04-22 07:40:58 +02:00
Jason Gerecke
1eaae0de30 BFM demod: Delete the SpectrumVis when destroying BFMDemodGUI
Take care of a pair of memory leaks that occur when the BFM demod GUI
is closed.

==786== 19,952 (24 direct, 19,928 indirect) bytes in 1 blocks are definitely lost in loss record 7,065 of 7,081
==786==    at 0x4C2D54F: operator new(unsigned long) (vg_replace_malloc.c:334)
==786==    by 0x54C82ED: allocate (new_allocator.h:111)
==786==    by 0x54C82ED: allocate (alloc_traits.h:436)
==786==    by 0x54C82ED: _M_get_node (stl_list.h:383)
==786==    by 0x54C82ED: _M_create_node<FFTWEngine::Plan* const&> (stl_list.h:572)
==786==    by 0x54C82ED: _M_insert<FFTWEngine::Plan* const&> (stl_list.h:1801)
==786==    by 0x54C82ED: push_back (stl_list.h:1118)
==786==    by 0x54C82ED: FFTWEngine::configure(int, bool) (fftwengine.cpp:35)
==786==    by 0x4F4590B: SpectrumVis::handleConfigure(int, int, FFTWindow::Function) (spectrumvis.cpp:206)
==786==    by 0x4F459EE: SpectrumVis::handleMessage(Message const&) (spectrumvis.cpp:170)
==786==    by 0x548346C: BasebandSampleSink::handleInputMessages() (basebandsamplesink.cpp:21)
==786==    by 0x69E1615: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.10.1)
==786==    by 0x5497D4B: MessageQueue::push(Message*, bool) (messagequeue.cpp:52)
==786==    by 0x33F9D61A: BFMDemodGUI::BFMDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) (bfmdemodgui.cpp:352)
==786==    by 0x33F9D985: BFMDemodGUI::create(PluginAPI*, DeviceUISet*, BasebandSampleSink*) (bfmdemodgui.cpp:50)
==786==    by 0x33FB035D: non-virtual thunk to BFMPlugin::createRxChannelGUI(DeviceUISet*, BasebandSampleSink*) (bfmplugin.cpp:57)
==786==    by 0x4F47F19: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:201)
==786==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==786==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==786==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==786==    by 0x109B38: main (main.cpp:131)
==786==
==786== 54,096 (112 direct, 53,984 indirect) bytes in 1 blocks are definitely lost in loss record 7,075 of 7,081
==786==    at 0x4C2D54F: operator new(unsigned long) (vg_replace_malloc.c:334)
==786==    by 0x69E9162: QObject::QObject(QObject*) (in /usr/lib/libQt5Core.so.5.10.1)
==786==    by 0x5497BEE: MessageQueue::MessageQueue(QObject*) (messagequeue.cpp:26)
==786==    by 0x54834FF: BasebandSampleSink::BasebandSampleSink() (basebandsamplesink.cpp:6)
==786==    by 0x4F45A29: SpectrumVis::SpectrumVis(float, GLSpectrum*) (spectrumvis.cpp:26)
==786==    by 0x33F9D53C: BFMDemodGUI::BFMDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) (bfmdemodgui.cpp:342)
==786==    by 0x33F9D985: BFMDemodGUI::create(PluginAPI*, DeviceUISet*, BasebandSampleSink*) (bfmdemodgui.cpp:50)
==786==    by 0x33FB035D: non-virtual thunk to BFMPlugin::createRxChannelGUI(DeviceUISet*, BasebandSampleSink*) (bfmplugin.cpp:57)
==786==    by 0x4F47F19: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:201)
==786==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==786==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==786==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==786==    by 0x109B38: main (main.cpp:131)
2018-04-21 18:56:21 -07:00
Jason Gerecke
141997475c BFM demod: RDS demod: Initialize RDSDemod array elements
The m_parms.tot_errs array is not initialized prior to its first use
in the RDSDemod::biphase function. ASAN does not pick up on this
directly, but instead reports it as follows (note that ASAN fills
memory with 0xBE and -1094795586 is 0xBEBEBEBE):

    ./plugins/channelrx/demodbfm/rdsdemod.cpp:159:95: runtime error: signed
    integer overflow: -1094795586 + -1094795586 cannot be represented in type
    'int'

The m_parms.subcarr_bb array does not appear to be read prior to
initialization, but we initialize it to zero anyway for the sake
of good hygiene.
2018-04-21 18:54:19 -07:00
Jason Gerecke
f6ea7b216e Fix spelling errors present in UI files 2018-04-21 18:44:54 -07:00