summaryrefslogtreecommitdiff
path: root/grc/core/utils/expr_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* grc: pep8 formattingJosh Morman2021-11-241-7/+5
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* 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 failing expr_utils testHåkon Vågsether2020-02-031-1/+1
| | | | Caused by switch from Python 2 to 3: https://docs.python.org/3/whatsnew/3.0.html#ordering-comparisons
* Update license header to SPDX formatdevnulling2020-01-271-13/+2
|
* grc: added yaml/mako supportSebastian Koslowski2017-06-291-62/+96
| | | | Includes basic converter from XML/Cheetah to YAML/Mako based block format.
* grc: gtk3: Converted actions to Gio.Action instead of Gtk.ActionSeth Hitefield2017-05-031-2/+1
|
* Merge remote-tracking branch 'grcwg/next_grcwg' into gtk3Sebastian Koslowski2016-07-131-7/+3
|\
| * grc: faulty callback code if setter call contained a variable block idSebastian Koslowski2016-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 codeSebastian Koslowski2016-05-251-8/+3
| |
* | grc: py3k compat using python-modernizeSebastian Koslowski2016-06-091-8/+13
|/
* Revert "grc: fix callback evaluation"Sebastian Koslowski2016-05-211-2/+2
| | | | This reverts commit c85984f105106ff0a7e3b387d680e0f2f5884d55.
* grc: fix callback evaluationSebastian Koslowski2016-04-271-2/+2
|
* grc-refactor: cmake fixes and more reorganizingSebastian Koslowski2016-02-171-0/+196