summaryrefslogtreecommitdiff
path: root/grc/core/blocks/virtual.py
Commit message (Collapse)AuthorAgeFilesLines
* grc: pep8 formattingJosh Morman2021-11-241-3/+6
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* grc: fix pylint C0303: Trailing whitespaceClayton Smith2020-10-201-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* grc: Fix C++ code generationTerry May2020-02-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | - Added support for C++ std::map<> from python dict - Fixed default initialization of parameters in main() - Added missing include for realtime scheduling - Added default CMake option for std=c++11 as this is required for gnuradio >= 3.8 - Fixed mako template to add initialization to parameter declarations in main() - Fixed C++ constructor initialization list generation - Fixed parameter type determination when an lvalue is used in an rvalue expression - Improved determining type of C++ variables - Added C++ support for gr_complex parameters - Fixed C++ generation of nested container types - Added C++ support for virtual source/sink - Moved cmake CMAKE_CXX_STANDARD 11 option from options.yml to CMakeLists.txt.mako - Fixed qtqui_sink to allow multiple instances - Revised virtual connection processing in cpp_top_block.py Reviewed-By: Håkon Vagsether <hauk142@gmail.com>
* Update license header to SPDX formatdevnulling2020-01-271-13/+2
|
* grc: fixes in epy and virtual blocks (fixes #2039)Sebastian Koslowski2019-02-121-33/+12
|
* grc: Fix problems with option_attributesHåkon Vågsether2018-11-221-2/+2
| | | | | | Enabling the option_attributes to be accessed by the rest of the block's parameters by using a new string subtype. Also adding validation.
* Fix an error when adding virtual blocks to the flowgraphHåkon Vågsether2018-10-271-5/+17
|
* grc: added yaml/mako supportSebastian Koslowski2017-06-291-0/+76
Includes basic converter from XML/Cheetah to YAML/Mako based block format.