summaryrefslogtreecommitdiff
path: root/grc/core/generator/FlowGraphProxy.py
Commit message (Collapse)AuthorAgeFilesLines
* grc: pep8 formattingJosh Morman2021-11-241-4/+7
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* grc cpp generation: Establish the possibility to add find packagesVolker Schroer2021-09-021-0/+9
| | | | | | | | | Flowgraphs may use oot modules. When generating cpp code an oot module may require a package that is not provided by gnuradio. So I propose to add an additional entry parameters in the cpp template to provide a list of package names. Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* grc: remove sixClayton Smith2020-10-051-3/+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/+2
| | | | | | | | | | | | | | | | | | | | | | | - 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
|
* Fix C++ hier block generationHåkon Vågsether2018-12-181-0/+1
|
* Add C++ generationHåkon Vågsether2018-11-231-0/+30
|
* grc: added yaml/mako supportSebastian Koslowski2017-06-291-11/+43
| | | | Includes basic converter from XML/Cheetah to YAML/Mako based block format.
* grc: gtk3: fix generating virtual/bypassed connectionsSebastian Koslowski2016-07-291-3/+3
|
* grc: refactor: Port, Param, Options init clean-upSebastian Koslowski2016-07-291-1/+1
|
* grc-refactor: Block: remove key gettersSebastian Koslowski2016-07-131-3/+3
|
* grc-refactor: rewrite tree-api in coreSebastian Koslowski2016-06-101-1/+1
|
* grc: py3k compat using python-modernizeSebastian Koslowski2016-06-091-6/+10
|
* grc-refactor: Platform.pySebastian Koslowski2016-02-171-1/+1
|
* grc-refactor: Platform.py fixes, FlowGraphProxySebastian Koslowski2016-02-171-0/+126