Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | grc: pep8 formatting | Josh Morman | 2021-11-24 | 1 | -1/+0 |
| | | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org> | ||||
* | grc: Implement grcc --output switch for hierarchical blocks | JaredD | 2021-09-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * grc: Implement --output functionality for grcc Reference gnradio Issue #2799. This commit adjusts some logic and code to enable the --output switch for grcc. Prior to this commit, grcc would only output to the GRC_HIER_PATH. The commit adjusts the various Generators in grc/core/generator to consistently use output_dir for the output directory. If it's None, then take from the platform.config.hier_block_lib_dir attribute which can be set via the GRC_HIER_PATH env var. The cpp_top_block generator was also modified to remote its __init__ function which appeared identical to its base TopBlockGenerator. I did not test c++ GRC output. * Make output directory if does not exist * Duplicate TopBlockGenerator __init__ without .py extension; base class object * Typo in os.makedirs kwarg * Added _warnings method from TopBlockGenerator Signed-off-by: Jared Dulmage <jared.dulmage@caliola.com> | ||||
* | grc: fix pylint C0303: Trailing whitespace | Clayton Smith | 2020-10-20 | 1 | -1/+1 |
| | |||||
* | python: Remove unnecessary 'from __future__ import' | Oleksandr Kravchuk | 2020-08-03 | 1 | -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: remove dead code | Clayton Smith | 2020-05-28 | 1 | -8/+0 |
| | |||||
* | Update license header to SPDX format | devnulling | 2020-01-27 | 1 | -13/+2 |
| | |||||
* | Fix C++ hier block generation | Håkon Vågsether | 2018-12-18 | 1 | -1/+2 |
| | |||||
* | Add C++ generation | Håkon Vågsether | 2018-11-23 | 1 | -6/+20 |
| | |||||
* | grc: added yaml/mako support | Sebastian Koslowski | 2017-06-29 | 1 | -349/+5 |
| | | | | Includes basic converter from XML/Cheetah to YAML/Mako based block format. | ||||
* | Merge branch 'next' into python3 | Johnathan Corgan | 2017-04-18 | 1 | -0/+1 |
|\ | |||||
| * | Merge branch 'master' into next | Johnathan Corgan | 2017-04-18 | 1 | -0/+1 |
| |\ | |||||
| | * | grc: Add hide field in parameter block | Kartik Patel | 2017-04-10 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'gtk3' into python3 | Sebastian Koslowski | 2017-03-09 | 1 | -46/+50 |
|\ \ \ | |/ / |/| | | |||||
| * | | Merge remote-tracking branch 'upstream/next' into gtk3 | Sebastian Koslowski | 2017-01-05 | 1 | -1/+1 |
| |\ \ | |||||
| * \ \ | Merge remote-tracking branch 'upstream/next' into gtk3 | Sebastian Koslowski | 2016-09-12 | 1 | -4/+0 |
| |\ \ \ | |||||
| * \ \ \ | Merge remote-tracking branch 'upstream/next' into gtk3 | Sebastian Koslowski | 2016-08-09 | 1 | -1/+2 |
| |\ \ \ \ | |||||
| * | | | | | grc: remove support for old msg queues | Sebastian Koslowski | 2016-08-08 | 1 | -6/+3 |
| | | | | | | |||||
| * | | | | | grc: gtk3: fix generating virtual/bypassed connections | Sebastian Koslowski | 2016-07-29 | 1 | -3/+3 |
| | | | | | | |||||
| * | | | | | grc: refactor: replace get_enabled by prop | Sebastian Koslowski | 2016-07-29 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | grc: refactor: remove get for port and param name | Sebastian Koslowski | 2016-07-29 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | grc: refactor: fixup selection code and core connection changes | Sebastian Koslowski | 2016-07-13 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | grc: refactor: remote port domain getter | Sebastian Koslowski | 2016-07-13 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | grc-refactor: Block: make more public attribs | Sebastian Koslowski | 2016-07-13 | 1 | -3/+3 |
| | | | | | | |||||
| * | | | | | grc-refactor: Block: remove key getters | Sebastian Koslowski | 2016-07-13 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Merge remote-tracking branch 'grcwg/next_grcwg' into gtk3 | Sebastian Koslowski | 2016-07-13 | 1 | -16/+19 |
| |\ \ \ \ \ | |||||
| * | | | | | | grc-refactor: rewrite tree-api in core | Sebastian Koslowski | 2016-06-10 | 1 | -5/+4 |
| | | | | | | | |||||
| * | | | | | | grc-refactor: Connections | Sebastian Koslowski | 2016-06-09 | 1 | -10/+10 |
| | | | | | | | |||||
| * | | | | | | grc-refactor: remove odict | Sebastian Koslowski | 2016-06-09 | 1 | -9/+17 |
| | | | | | | | |||||
| * | | | | | | grc: py3k compat using python-modernize | Sebastian Koslowski | 2016-06-09 | 1 | -13/+17 |
| | | | | | | | |||||
| * | | | | | | grc-refactor: replace some unnecessary getters | Sebastian Koslowski | 2016-06-01 | 1 | -10/+4 |
| | | | | | | | |||||
* | | | | | | | Merge branch 'master' into next | Sebastian Koslowski | 2017-01-25 | 1 | -3/+3 |
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | | |||||
| * | | | | | grc: allow for multiple sources over virtual connections (#1166) | Sebastian Koslowski | 2017-01-19 | 1 | -3/+3 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' into next | Johnathan Corgan | 2016-12-10 | 1 | -1/+1 |
|\| | | | | | |_|_|_|/ |/| | | | | |||||
| * | | | | grc: Strip trailing whitespace from Python output. | Clayton Smith | 2016-12-10 | 1 | -1/+1 |
| | |_|/ | |/| | | |||||
* | | | | grc: remove support for old msg queues | Sebastian Koslowski | 2016-09-05 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | cherry-picked from gtk3 branch | ||||
* | | | | grc: remove wxgui support from core | Sebastian Koslowski | 2016-09-05 | 1 | -4/+0 |
|/ / / | |||||
* | / | grc: fix handling of initially opened files | Sebastian Koslowski | 2016-07-26 | 1 | -1/+2 |
| |/ |/| | | | | | | | File paths passed as argument were never converted to absolute paths. So the generator defaulted to /tmp since the directory write check failed (empty dirname) | ||||
* | | grc: faulty callback code if setter call contained a variable block id | Sebastian Koslowski | 2016-05-25 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (do-over of c85984f105106ff0a7e3b387d680e0f2f5884d55) If a block contains a callback of the form self.block_id.param = $param the generators subst routine produced self.block_id.self.param = self.param due to a faulty splitting of the expression in expr_utils.py. This should fix this problem by not tokenizing "VAR0.VAR1". | ||||
* | | grc-refactor: minor clean-up of callback generator code | Sebastian Koslowski | 2016-05-25 | 1 | -14/+16 |
|/ | |||||
* | Revert "grc: fix callback evaluation" | Sebastian Koslowski | 2016-05-21 | 1 | -11/+14 |
| | | | | This reverts commit c85984f105106ff0a7e3b387d680e0f2f5884d55. | ||||
* | grc: add warning for block flagged deprecated | Sebastian Koslowski | 2016-05-20 | 1 | -0/+4 |
| | |||||
* | grc: fix callback evaluation | Sebastian Koslowski | 2016-04-27 | 1 | -14/+11 |
| | |||||
* | grc-refactor: remove (hopefully) all deps to GR in core/ and gui/ | Sebastian Koslowski | 2016-04-05 | 1 | -3/+6 |
| | |||||
* | grc-refactor: move gui prefs to gui | Sebastian Koslowski | 2016-04-05 | 1 | -72/+17 |
| | |||||
* | grc-refactor: Platform.py | Sebastian Koslowski | 2016-02-17 | 1 | -19/+17 |
| | |||||
* | grc-refactor: move Messages to core | Sebastian Koslowski | 2016-02-17 | 1 | -10/+7 |
| | |||||
* | grc-refactor: Platform.py fixes, FlowGraphProxy | Sebastian Koslowski | 2016-02-17 | 1 | -1/+2 |
| | |||||
* | grc-refactor: cmake fixes and more reorganizing | Sebastian Koslowski | 2016-02-17 | 1 | -4/+3 |
| | |||||
* | grc-refactor: rename grc/model/ to grc/core/ | Sebastian Koslowski | 2016-02-17 | 1 | -0/+451 |