Commit Graph

67 Commits

Author SHA1 Message Date
Daniele Forsi 570c1f6877 Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
Daniele Forsi 34aca019e2 Fix spelling in strings 2023-07-23 18:55:12 +02:00
Jon Beniston fc7c9c1fc8 Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6 2022-11-17 14:34:54 +00:00
Jiří Pinkava 996134d898 Replace deprecated QDateTime toTime_t by toSecsSinceEpoch 2022-09-21 21:41:40 +02:00
Jiří Pinkava 0df2d75e6d Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
Christoph Berg 0d6a3a4f47 Fix some typos spotted by lintian 2021-01-19 12:36:56 +01:00
Davide Gerhard f61d1c3908
add gettimeofday() compatibility function for windows
plugins that need that:
  - remotesink
  - remotesource
2019-05-28 15:19:19 +02:00
Davide Gerhard b7071869d1
fix clock_gettime() con macOS <10.12 (not provided by base) 2019-05-21 20:19:30 +02:00
Davide Gerhard 94d03f9004
remove useless CMAKE_CURRENT_BINARY_DIR 2019-05-21 20:19:30 +02:00
Davide Gerhard a642cf0d41
move apple to custom/ 2019-05-21 20:19:26 +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
Davide Gerhard 770be1ddfb
fix apple compatibility library
should permit to build sdrangel also with macOS <10.12
2019-04-15 16:11:21 +02:00
f4exb 6c1f8e2bfc Fixed some constness in qrtplib 2019-03-09 09:17:10 +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 4a69a7d39f Adaptation of cmake files to MSVC 2018-12-02 03:06:04 +01:00
f4exb bc7ad10f9d Use C++11 everywhere 2018-11-24 21:21:04 +01:00
f4exb f5357e9917 PVS-Studio Analysis corrections for less serious issues 2018-11-18 11:06:41 +01:00
f4exb fd50eeb810 Windows: MSVC2017: changes in sdrbase (4) qrtplib (2) 2018-11-12 17:50:52 +01:00
f4exb f97728c4e9 Windows: MSVC2017: changes in qrtplib 2018-11-12 16:05:18 +01:00
f4exb 6708a6b700 Windows: MSVC2017: changes in sdrbase (1) 2018-11-12 14:04:16 +01:00
f4exb 97ee2cd5be Windows: experimental MSVC2017 toolchain (2) 2018-11-09 19:06:23 +01:00
f4exb 5777875618 PVS studio static analyzer fixes (2) 2018-06-22 00:15:23 +02:00
f4exb b00aea8989 PVS studio static analyzer fixes (1) 2018-06-21 19:28:11 +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
Jason Gerecke 7c67b7de7c qrtplib: clear buffer fed to RTPSession::CreateCNAME
The RTPSession::CreateCNAME function checks to see if the buffer that
it is provided already has any data in it, and appends to it if so. The
RTPSession::InternalCreate function calls this function with an uninitialized
buffer, which results in indeterminate behavior. To ensure that the CNAME
is properly created, we clear the buffer before use.

==30323== Conditional jump or move depends on uninitialised value(s)
==30323==    at 0x4C30109: __strlen_sse2 (vg_replace_strmem.c:460)
==30323==    by 0x85647A4: qrtplib::RTPSession::CreateCNAME(unsigned char*, unsigned long*, bool) (rtpsession.cpp:1150)
==30323==    by 0x8564B35: qrtplib::RTPSession::InternalCreate(qrtplib::RTPSessionParams const&) (rtpsession.cpp:218)
==30323==    by 0x5499159: RTPSink::RTPSink(QUdpSocket*, int, bool) (rtpsink.cpp:48)
==30323==    by 0x5420B6A: AudioNetSink::AudioNetSink(QObject*, int, bool) (audionetsink.cpp:42)
==30323==    by 0x541F465: AudioOutput::start(int, int) (audiooutput.cpp:114)
==30323==    by 0x5412763: AudioDeviceManager::startAudioOutput(int) (audiodevicemanager.cpp:361)
==30323==    by 0x5412B0C: AudioDeviceManager::addAudioSink(AudioFifo*, MessageQueue*, int) (audiodevicemanager.cpp:229)
==30323==    by 0x33F96DE7: BFMDemod::BFMDemod(DeviceSourceAPI*) (bfmdemod.cpp:56)
==30323==    by 0x33FB03F2: non-virtual thunk to BFMPlugin::createRxChannelBS(DeviceSourceAPI*) (bfmplugin.cpp:62)
==30323==    by 0x4F47F25: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:199)
==30323==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==30323==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==30323==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==30323==    by 0x109B38: main (main.cpp:131)
2018-04-21 18:52:20 -07:00
f4exb 8dfdc1086c PVS-Studio static analysis corrections (4) 2018-04-04 23:39:31 +02:00
f4exb b244222667 qrtplib: fixed urandom calls 2018-03-29 19:55:03 +02:00
f4exb 72e29fd3f8 Moved export.h file to root of exports directory and removed util 2018-03-20 13:49:21 +01:00
f4exb b2e446afcc Windows build: new location for export header 2018-03-10 20:32:46 +01:00
f4exb 4f9a49cf02 Avoid useless sdrbase dependency by moving the exports header in its own folder 2018-03-09 13:48:14 +01:00
f4exb 5b0f62c3e2 qrtplib: copy Audio to UDP/RTP: use a single UDP socket for UDP and RTP 2018-03-08 00:16:24 +01:00
f4exb 9648779002 qrtplib: removed useless header 2018-03-07 02:17:08 +01:00
f4exb 0c861d63e2 qrtplib: use it for the audio net sink 2018-03-06 23:16:50 +01:00
f4exb 9dacbb6d83 qrtplib: NFM demod implementation. Also solve issue Cannot create children for a parent that is in a different thread on UDP sink used for copy audio to UDP 2018-03-06 02:23:47 +01:00
f4exb 9f9eaa7a88 qrtplib: RTP address constructor with host address and port 2018-03-05 22:09:00 +01:00
f4exb 915b865e6a qrtplib: file cleanup 2018-03-05 21:27:06 +01:00
f4exb 3c4d40ac73 qrtplib: Windows build 2018-03-05 16:40:53 +01:00
f4exb e86e2f25a2 qrtplib: simplify random functions 2018-03-05 01:43:22 +01:00
f4exb afe3fbabd3 qrtplib: new RTPUDPTransmitter 2018-03-05 01:17:19 +01:00
f4exb c22d146376 Adapt to MSVC linker 2018-03-03 20:23:38 +01:00
f4exb 13d3ec949d qrtplib: added missing file 2018-03-01 01:40:04 +01:00
f4exb 8f4a006bca qrtplib: generic UDP transmitter (2) 2018-03-01 01:08:57 +01:00
f4exb cd7962508d qrtplib: generic UDP transmitter (1) 2018-02-28 14:20:53 +01:00
f4exb f678c049f9 qrtplib: replaced size_t by std::size_t 2018-02-28 13:31:44 +01:00
f4exb a0c7381047 qrtplib: implemented Qt style RTP address object 2018-02-28 01:37:47 +01:00
f4exb dbbdc851c6 qrtplib: removed transmitters and addresses implementations 2018-02-28 01:09:57 +01:00
f4exb 493b37c37c qrtplib: removed mutex macros 2018-02-28 00:19:19 +01:00
f4exb 83cf128dc0 qrtplib: removed rtpbyteaddress 2018-02-28 00:00:17 +01:00