summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
Commit message (Collapse)AuthorAgeFilesLines
* add set_max_output_buffer to block gatewaySebastian Olsen2019-11-011-0/+12
|
* runtime: Purge snprintfBrennan Ashton2019-11-013-35/+27
| | | | | | | | | | | | | We are writting cpp for these operations we should be using std:string and boost:format. This also cleans up some compiler warnings about possible string truncation. Signed-off-by: Brennan Ashton <bashton@brennanashton.com> Also, removing the `HAVE_SNPRINT` check around the now snprintf-free handling Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Always #Include rpcregisterhelpers headerMichael Dickens2019-09-241-2/+0
| | | | | The code relies on it for "rpcbasic_sptr" type. Don't move the header as it might rely on prior #include .
* gr::block_registry directly relies on gr::thread::mutexMichael Dickens2019-09-241-0/+1
| | | | | #include the correct header; since we use protection macros on every header, this addition won't hurt and might help.
* delete unused variablesBastian Bloessl2019-09-051-1/+1
|
* runtime: indicate that destructor of local_sighandler might throwBastian Bloessl2019-09-052-2/+2
|
* ctrlport: do not store references to stack variablesBastian Bloessl2019-09-051-9/+9
|
* runtime: delete bogus parent class form msg_accepter_msgqBastian Bloessl2019-09-051-1/+1
|
* runtime: fixup errors from clang-tidy changesBastian Bloessl2019-08-282-2/+2
|
* ctrlport: python callbacks use python3 unicode stringsBastian Bloessl2019-08-281-0/+4
|
* runtime: add msg ports to dot graph and use unique namesBastian Bloessl2019-08-221-1/+7
|
* runtime: block gateway shadowed system portBastian Bloessl2019-08-221-1/+5
|
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-2210-25/+31
|
* Use emplace_back(params) instead of push_back(type(params))Marcus Müller2019-08-222-150/+144
| | | | | | | | | | | | | | | | | | | This is C++11: you can convert std::vector<complextype> vec; vec.push_back(complextype(foo, bar, baz)); by std::vector<complextype> vec; vec.emplace_back(foo, bar, baz); which saves one unnecessary copy. This mostly happened in rpc code. The automated clang-tidy check failed miserably, so most of this was done by hand.
* clang-tidy: misc-throw-by-value-catch-by-referenceAnders Kalør2019-08-152-3/+2
| | | | | Exceptions should be thrown by value and caught by reference. Closes #2708
* Fix another source typoluz.paz2019-08-101-5/+5
|
* clang-format: Ordering all the includesMarcus Müller2019-08-0991-201/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-09181-18376/+17593
|
* cmake: fix install dir of runtime_swigMichael Dickens2019-07-191-1/+1
|
* Add GR_PYTHON_RELATIVE to fix issue #2515 with runtime_swigTargets-release.cmakeToby Flynn2019-07-171-1/+1
| | | | | | | | | This commit fixes issue #2515. A new CMake variable, GR_PYTHON_RELATIVE is needed to properly create the CMake files used by OOTs when cross compiling or using sysroot based build systems see https://cmake.org/Bug/print_bug_page.php?bug_id=14367 for more information
* Fix for misc. documentation + trivial typosluz.paz2019-07-178-9/+9
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* Purge gr-comedi and all references to it from mainline GNU RadioMarcus Müller2019-07-171-1/+0
| | | | | This includes the gr-comedi/ subdirectory, the build infrastructure and CMake modules referencing Comedi, and the documentation.
* ctrlport monitors: fix config checkBastian Bloessl2019-06-193-16/+11
|
* ctrlport: monitor error handlingBastian Bloessl2019-06-191-3/+3
|
* perf-monitor: port gr3.8 and qt5Bastian Bloessl2019-06-191-256/+245
|
* ctrport-monitor: fix error handlingBastian Bloessl2019-06-194-123/+87
|
* runtime: port ctrlport monitor to 3.8 and qt5Bastian Bloessl2019-06-196-170/+148
|
* RPC: "use" unused variables to make compilers happyMichael Dickens2019-06-182-1/+17
|
* runtime: prefs: parse user config even if sys conf dir isn't a directoryMarcus Müller2019-06-181-9/+8
| | | | | | Before, this lead to systems where due to missing system paths, a user couldn't even use their own config file, because GNU Radio didn't even look for it.
* runtime swig: correct the destination for runtime_swigTargets.cmakeMichael Dickens2019-05-281-1/+1
| | | | This destination matches that from GrMiscUtils.
* pmt: needs to link with Boost::threadMichael Dickens2019-04-211-0/+1
|
* gr-analog: sig source byte support mode, added qa tests #1994Eral Tuerkyilmaz2019-04-191-0/+18
|
* pmt: hide pmt_base class from public interfaceAndrej Rode2019-04-191-1/+1
|
* pmt: remove intrusive_ptrAndrej Rode2019-04-197-270/+52
|
* vocoder: Fix build on NetBSD.MBoerschig2019-03-241-1/+2
| | | | | | | There was an #ifdef missing in lib/thread/thread.cc and in gr-vocoder the include directive for gsm.h contains a gsm/ prefix. The cmake FindGSM.cmake looks for **/include/ and **/include/gsm anyways.
* cmake: use TargetConfig in GnuradioConfigAndrej Rode2019-03-101-0/+1
| | | | | Previously only the Target.cmake was used. This lead to thrift not being added to the list of dependencies to call find_dependency() on.
* ctrlport: Add int64_t vector to rpcbasic_insertergr-sp2019-03-081-0/+25
| | | | This commit adds std::vector<int64_t> support to rpcbasic_inserter.
* cmake: add CTRLPORT flag to swig defines for ctrlport blocksAndrej Rode2019-03-041-0/+3
|
* ctrlport-thrift: don't install example .conf to etc, but to docsMarcus Müller2019-03-042-4/+7
|
* cmake: Update to modern CMake usageAndrej Rode2019-03-0414-537/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* Added a bunch of tests that will only work after fixing the pmt bugShane2019-01-261-0/+69
|
* pmt: Change explicit numbers to int32 min/max numeric limits in PMT ↵Scott Torborg2019-01-261-1/+2
| | | | serialization
* pmt: Add support for serializing/deserializing signed int64sScott Torborg2019-01-262-8/+16
|
* C++11: Convert boost::lexical_cast to std::to_stringMarcus Müller2018-12-191-6/+6
| | | | | This is a minor change towards slowly replacing Boost with newer std:: functionality.
* runtime: unittest: Remove XML runnerMartin Braun2018-12-193-464/+5
| | | | | This is a module that will run unit tests twice, once for XML output, and once for stdout output. It is no longer necessary.
* runtime: gr_unittest: Fix Pylint warnings in gr_unittest.pyMartin Braun2018-12-191-43/+48
| | | | | | - Harmonized function argument names - Used iterator comprehensions instead of loops - General Pylint whitespace complaints
* runtime: Fix tag propagationAndrej Rode2018-11-271-2/+2
| | | | | | | | | During the fix for long long on 32bit architectures a bug was introduced which lead to offset being multiplied by (mp_rrate + one_half). The correct solution is to multiply with mp_rrate and then add one_half. Fixes #2201
* ctrlport: install Python apps as PROGRAMS, not FILESMichael Dickens2018-11-161-1/+1
|
* runtime: fix use of boost::math::gcd and boost::integer::gcdMichael Dickens2018-11-161-0/+13
| | | | | | | + the former was augmented by the latter in Boost 1.58.0; + they do the same computation; + the former is being deprecated as of Boost 1.66.0, and recommends moving to the latter; + GR supports Boost 1.54.0 and newer, so we need to be able to support both APIs for now.
* gr-runtime: Improve exception handling in ControlPort MonitorBrennan Ashton2018-11-155-17/+20
|