summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* gr-runtime: Properly handle optional support for thrift RPC TransportBrennan Ashton2018-11-151-2/+9
|
* gr-runtime: Remove dead code from wfm_rcv_pll_to_wav exampleBrennan Ashton2018-11-151-11/+0
|
* runtime: circumvent long long, uint64_t problems on 32-bit archsAndrej Rode2018-11-132-3/+8
| | | | | | | | C++ bindings for MPIR/GMP don't provide conversion for uint64_t, also known as "long long" on 32-bit architectures. Using the underlying (GMP/MPIR) C library directly allows usage of these types.
* ctrlport: gr-perf-monitorx: remove iteritems usageBrent Stapleton2018-11-131-2/+2
| | | | | | | Removing usage of dict.iteritems in gr-perf-monitorx. Replaced with items() because - the dictionaries are sufficiently small - We're calling sorted() on them anyway
* qa_buffer: remove uncesseray BOOST_CHECK for rand1 boundsAndrej Rode2018-11-121-1/+0
|
* CMake: remove duplicately installed filesMarcus Müller2018-11-121-1/+0
| | | | | These subsequently appeared twice in install_manifest.txt, which lead to warnings/errors on deinstallation.
* logger: remove duplicate semicolon after macro invocationAndrej Rode2018-11-121-5/+5
|
* runtime: gr_threading clutch obsolete; remove it and its usageMarcus Müller2018-11-126-1573/+7
| | | | | | | | We essentially monkeypatched Python's `threading` module inelegantly to get around shortcomings in Python 2.3 and 2.4. Since support for these versions is long gone: removal of this clutch and its usage.
* Replace scipy/pylab where numpy/pyplot is sufficientMarcus Müller2018-11-021-8/+3
| | | | | | | | | This should reduce the number of times users are prompted to install pylab || scipy when they'd actually get away with functionality fully contained in numpy and matplotlib. This only solves the obvious cases. There's some usage of `pylab.mlab` that would need more than 20s of consideration.
* Fix invalid escape sequences.Clayton Smith2018-11-011-2/+2
|
* cmake: Check for successful find of Log4cppBrennan Ashton2018-10-231-0/+1
| | | | | | | Will cause CMake to fail if Log4cpp was not previously found. Reviewed-by: Michael Dickens <michael.dickens@ettus.com> Reviewed-by: Andrej Rode <mail@andrejro.de>
* Convert tabs to spaces and fix syntax errors.Clayton Smith2018-10-041-25/+25
|
* qa_fxpt: add missing gnuradio/math.includeAndrej Rode2018-09-011-0/+1
|
* pmt: Replace QA test framework w/ Boost UTFMartin Braun2018-08-314-101/+400
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-31145-3195/+3380
|\
| * Killing gengen: Merge branch 'cxx_templates_next' into nextMarcus Müller2018-08-2918-856/+2710
| |\
| | * pmt: replace file generation with pre-generated filesAndrej Rode2018-08-2615-575/+2699
| | |
| | * cmake: remove gengen toolsAndrej Rode2018-08-262-280/+0
| | |
| | * swig: add template block magicAndrej Rode2018-08-251-1/+11
| | |
| * | Remove unused posix_memalign implementationMarcus Müller2018-08-273-164/+0
| | | | | | | | | | | | | | | CMakeLists mentions it might have been useful on PowerPC once, but isn't certain of utility anymore. Since it's been years: deleting this cruft.
| * | Removed unused `malloc16Aligned` and consortsMarcus Müller2018-08-273-84/+0
| | | | | | | | | | | | | | | | | | This was Code by the great Phil Karn, but whoever needs aligned memory will go through volk or their OS' tools, anyways. None of this code was used in-tree anywhere.
| * | Remove unused CMake-time testsMarcus Müller2018-08-271-28/+0
| | |
| * | Removed unused complex_vec_testMarcus Müller2018-08-275-159/+0
| | | | | | | | | | | | doesn't seem to be a test fixture of any kind(?)
| * | runtime: replace compile-time debugging option by GR_LOG_DEBUG()Andrej Rode2018-08-265-127/+135
| |/ | | | | | | | | Add identifier() calls to flowgraph components to return a string with a human readable string to reuse in both: the std::ostream overload and the logging system.
| * Fixed out-of-bound vector acces in PMTMarcus Müller2018-08-182-9/+12
| | | | | | | | | | | | | | adresses cases where initialization of uvec happened with empty `std::vector`, as well as when getting the address of the first element of an empty uvec, lead to undefined behaviour through doing `vec[0]` for empty `vec`.
| * swig: enable SWIG_PYTHON_CAST_MODE to convert npy int types in py3kAndrej Rode2018-08-181-0/+1
| |
| * python: replace unfunctional old_div with functional codeAndrej Rode2018-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | a previous change to py3k introduced synactically incorrect `old_div` function calls. A replacement with `//` and `/` where applicable is more appropriate. Eventually `from __future__ import division` needs to be added as well to have the "real" division also for integer values in python closes #1902
| * py3k: remove the six.b call since only py2.6 support depends on thatAndrej Rode2018-08-171-0/+8
| | | | | | | | | | | | | | | | | | Replace with encode('utf-8') mapping the surrogate mapped characters back to their original byte values. As per documentation http://www.swig.org/Doc3.0/Python.html 36.12.4 Add wrappercode to the swig definition to run python encode for Python3 and return raw bytes for Python2.
| * ctrlport: Remove superfluous 'import exceptions'Martin Braun2018-07-142-15/+11
| | | | | | | | | | It's not needed, not even with Python 2.7. It will fail with Python 3, though.
| * pmt: Serialize PMTs to byte strings in Python (and vice versa)Martin Braun2018-06-292-1/+42
| |
| * Merge branch 'next_python3' into nextMarcus Müller2018-06-2577-346/+541
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings Python3 to `next`. It also brings * a bump in SWIG dependency version * various GRC improvements, * YAML instead of XML in GRC * a lot of broken unit tests
| | * Merge branch 'python3_fix' into nextAndrej Rode2018-06-2477-346/+541
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual merge conflict resolution has been applied to following conflicts: * Typos: * gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py * gr-blocks/python/blocks/qa_wavfile.py * gr-filter/examples/gr_filtdes_api.py * grc/blocks/parameter.xml * gr-uhd/python/uhd/__init__.py * ValueError -> RuntimeError: * gr-blocks/python/blocks/qa_hier_block2.py * relative Imports & other Py3k: * gr-digital/python/digital/psk_constellations.py * gr-digital/python/digital/qam_constellations.py * gr-digital/python/digital/test_soft_decisions.py * gr-digital/python/digital/gfsk.py * SequenceCompleter: * gr-utils/python/modtool/modtool_add.py * gr-utils/python/modtool/modtool_rename.py * gr-utils/python/modtool/modtool_rm.py * Updated API on next: * gr-blocks/grc/blocks_file_source.xml * gr-blocks/python/blocks/qa_file_source_sink.py * gr-qtgui/grc/qtgui_time_sink_x.xml * GRC Py3k Updates: * grc/core/Block.py * grc/core/Constants.py * grc/core/Platform.py * grc/core/utils/odict.py * grc/gui/Actions.py * grc/gui/Block.py * grc/gui/Executor.py * grc/gui/Port.py
| | | * Merge branch 'next' into python3Johnathan Corgan2017-10-051-7/+10
| | | |\
| | | * \ Merge remote-tracking branch 'github/pr/1464' into python3Johnathan Corgan2017-09-221-0/+1
| | | |\ \
| | | | * | swig: Install the py3compat.i moduleSylvain Munaut2017-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | | * | | Fix typos from switch to Python 3Håkon Vågsether2017-08-212-2/+2
| | | |/ /
| | | * | Merge branch 'next' into python3Johnathan Corgan2017-08-031-0/+5
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: grc/core/Param.py grc/gui/Application.py grc/gui/NotebookPage.py