summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/cli
Commit message (Collapse)AuthorAgeFilesLines
* utils: pep8 formattingJosh Morman2021-11-249-43/+83
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: ability to fix the hash using modtoolmormj2021-10-221-0/+3
| | | | | | * modtool: bind --update-hash-only command Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: improve the 'invalid name' error messageFerenc Gerlits2021-05-033-11/+7
| | | | | | also fix some validations which checked a prefix instead of the whole name Signed-off-by: Ferenc Gerlits <fgerlits@gmail.com>
* gr_modtool add: Correctly handle arglistVolker Schroer2021-03-161-2/+2
| | | | Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* utils: modtool: Improve exception handling for import errorMartin Braun2021-01-291-2/+2
| | | | | | | If an import error happens in get_command(), the error is now logged. Inspired-by: Ryan Govostes Signed-off-by: Martin Braun <martin@gnuradio.org>
* Make additional includes and defines available in the bind processVolker Schroer2020-10-281-3/+5
|
* modtool: check blockname before other checksmormj2020-10-201-1/+1
|
* modtool: update of cli block name checkingmormj2020-10-201-3/+3
|
* Adding optional parameter addl_includes to gr_modtool bind, space addedVolker Schroer2020-10-151-0/+2
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-0311-33/+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
* utils: add functionality to generate bindingsJosh Morman2020-06-043-2/+57
| | | | | | | | This currently exists in two places 1) Bindtool (longevity TBD) which calls blocktool to parse the public header file in the include directory 2) Modtool - binding of headers added to add and bind. rm, update, info, etc still TODO
* modtool: Corrected Single and Double Quotesalekhgupta14412020-04-191-1/+1
|
* Code Cleanup cli filesalekhgupta14412020-04-193-6/+3
|
* modtool: Replaced str.format() by Python f'strings in all codesalekhgupta14412020-04-193-5/+9
|
* modtool: Updated get_blockname function to prevent same name blocksalekhgupta14412020-04-111-1/+8
|
* gr-utils: restructure {mod,block}tool foldersjapm482020-04-1011-0/+696
Move modtool and blocktool outside of the python folder, as per issue #2462.