summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python
Commit message (Collapse)AuthorAgeFilesLines
...
* pmt: stop treating all pairs like they are dictsJacob Gilbert2020-05-051-0/+1
| | | | create a new derived class for pmt dicts so they can be distinguished without complicated try/catch logic, updated QA with a few additional checks. also added an is_pdu() method which returns true if the pmt is a pair of a dict-type PMT and a uniform-vector type, otherwise false
* pmt: conditionalize testing of long > 2³² on sizeof(long)Marcus Müller2020-04-131-0/+8
|
* Update license header to SPDX formatdevnulling2020-01-2747-608/+47
|
* Exception Handling QA: increase wait time to ensure error could've occuredMarcus Müller2020-01-061-2/+2
| | | | | Prior to this, the unit test was flaky, especially when running the test suite concurrently, as test setup could take more than 0.5 s.
* runtime: add GR_PREFS_PATH env variable searchJosh Morman2020-01-061-0/+40
| | | | | | | When looking for the config file, allow the env variable GR_PREFS_PATH to be searched so that multiple installations of GR each with its own prefs can be used, similar to what is currently done in GRC
* Add a top_block parameter to control exception handlingScott Torborg2020-01-052-23/+35
| | | | | | | | | This restores past behavior where the scheduler catches exceptions raised in block threads, allowing flowgraphs to continue running after the failure of an individual block. It also adds optional new behavior, selected by setting catch_exceptions=False to the top block, which causes exceptions to not be caught. In this mode of operation, a std::terminate handler can be installed to print a stack trace before the flowgraph exits.
* Remove catch statements from thread_body_wrapper.hPaul Wicks2020-01-051-0/+83
| | | | | | | | | | This commit removes the catch statements from thread_body_wrapper.h. The reason to do this is that, as-is, a single block in a flowgraph may throw an exception and stop functioning, but the only indication of this to the user is printing the exception's what() to stderr. With this patch, any uncaught exception will call std::terminate, which should still print the exception's what(), but will also terminate the process, rather than leaving a zombie flowgraph.
* runtime: fix gr_unittest floatAlmostEqualNicolas Cuervo2020-01-021-8/+8
| | | | | | The call inside this assert was using a generator inside the standard all(), which was always returning `False`, and silently passing the test, instead of actually asserting in fail. Changing to list comprehension for assertion raising
* Fix for misc. documentation + trivial typosluz.paz2019-07-173-4/+4
| | | | | | | | | | | | | 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
|
* pmt: remove intrusive_ptrAndrej Rode2019-04-191-8/+8
|
* Added a bunch of tests that will only work after fixing the pmt bugShane2019-01-261-0/+69
|
* 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
* ctrlport: install Python apps as PROGRAMS, not FILESMichael Dickens2018-11-161-1/+1
|
* 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
|
* 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
* 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.
* Fix invalid escape sequences.Clayton Smith2018-11-011-2/+2
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3152-608/+426
|\
| * cmake: remove gengen toolsAndrej Rode2018-08-262-280/+0
| |
| * 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-291-1/+1
| |
| * Merge branch 'python3_fix' into nextAndrej Rode2018-06-2449-287/+418
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Fix typos from switch to Python 3Håkon Vågsether2017-08-211-1/+1
| | |
| | * Merge branch 'next' into python3Johnathan Corgan2017-03-161-15/+19
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: gr-blocks/swig/blocks_swig.py.in gr-uhd/apps/uhd_app.py
| | * | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-2649-295/+426
| | | |
| * | | Merge branch 'master' into nextMartin Braun2018-02-037-8/+8
| |\ \ \
| * \ \ \ Merge branch 'master' into nextJohnathan Corgan2017-06-221-8/+8
| |\ \ \ \ | | |_|_|/ | |/| | |
| * | | | runtime: move thrift dependencies before commandNathan West2017-03-151-10/+10
| | | | |
| * | | | Merge branch 'master' into nextJohnathan Corgan2017-03-051-10/+14
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: gnuradio-runtime/python/gnuradio/ctrlport/CMakeLists.txt
| * | | | Merge branch 'master' into nextJohnathan Corgan2017-01-121-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2016-10-281-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-digital/swig/CMakeLists.txt gr-digital/swig/digital_swig.i gr-trellis/swig/CMakeLists.txt
| * \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2016-10-021-0/+58
| |\ \ \ \ \ \
| * | | | | | | wxgui: removedJohnathan Corgan2016-09-081-1/+0
| | | | | | | |
| * | | | | | | cmake: nuke cpack from existenceJohnathan Corgan2016-08-035-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
| * | | | | | | pager: deprecated in 3.7, removed for 3.8Johnathan Corgan2016-06-101-1/+0
| | | | | | | |
| * | | | | | | Merge branch 'remove-noaa' into nextJohnathan Corgan2016-06-061-1/+0
| |\ \ \ \ \ \ \
| | * | | | | | | noaa: remove for 3.8 releaseJohnathan Corgan2016-06-061-1/+0
| | | | | | | | |
| * | | | | | | | fcd: remove for 3.8 releaseJohnathan Corgan2016-06-061-1/+0
| |/ / / / / / /
| * | | | | | | Merge branch 'master' into nextJohnathan Corgan2016-04-141-2/+11
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2016-03-271-17/+29
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2016-01-171-1/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2015-12-081-1/+50
| |\ \ \ \ \ \ \ \ \ \