summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/util_functions.py
Commit message (Collapse)AuthorAgeFilesLines
* modtool: gr-modtool overhaul GSoC 2018Swapnil Negi2019-01-041-169/+0
| | | | | | | | | | | | | | This commit contains all the changes done during the 2018 GSoC "gr-modtool overhaul". Changes include: - Rewrite of gr-modtool based on Python Click - Split of gr-modtool in cli and core - Adherence to new GNU Radio 3.8 API for OOTs - Pylint improvements - Py3k and Py2k compatibility This feature is merged in a squash-merge due to big refactoring on the head and base branch and the impossibility to unclutter both.
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-12/+5
|\
| * Merge branch 'python3_fix' into nextAndrej Rode2018-06-241-3/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual merge conflict resolution has been applied to following conflicts: * Typos: * gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py * gr-blocks/python/blocks/qa_wavfile.py * gr-filter/examples/gr_filtdes_api.py * grc/blocks/parameter.xml * gr-uhd/python/uhd/__init__.py * ValueError -> RuntimeError: * gr-blocks/python/blocks/qa_hier_block2.py * relative Imports & other Py3k: * gr-digital/python/digital/psk_constellations.py * gr-digital/python/digital/qam_constellations.py * gr-digital/python/digital/test_soft_decisions.py * gr-digital/python/digital/gfsk.py * SequenceCompleter: * gr-utils/python/modtool/modtool_add.py * gr-utils/python/modtool/modtool_rename.py * gr-utils/python/modtool/modtool_rm.py * Updated API on next: * gr-blocks/grc/blocks_file_source.xml * gr-blocks/python/blocks/qa_file_source_sink.py * gr-qtgui/grc/qtgui_time_sink_x.xml * GRC Py3k Updates: * grc/core/Block.py * grc/core/Constants.py * grc/core/Platform.py * grc/core/utils/odict.py * grc/gui/Actions.py * grc/gui/Block.py * grc/gui/Executor.py * grc/gui/Port.py
| | * modtool: modify str.translate() for python3 compatibilitySwapnil Negi2018-05-261-1/+2
| | |
| | * python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-2/+3
| | |
| * | Merge branch 'master' into nextMartin Braun2018-02-031-0/+27
| |\ \ | | |/ | |/|
| * | modtool: replace OptionParser by ArgumentParserJiří Pinkava2016-06-301-9/+0
| | |
* | | modtool: SequenceCompleter has default [] sequenceMarcus Müller2018-02-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1602, where SequenceCompleter was called from `gr_modtool rm` without any argument. Note that the longer-term goal is still to amend the `rm` statement's code to prepare a good list of candidates instead of reducing the usage of SequenceCompleter to just enabling readline editing capabilities.
* | | modtool_add: __exit__ now takes 4 arguments, instead of noneMarcus Müller2018-02-051-2/+2
| |/ |/| | | | | | | | | | | | | Python defines __exit__ to take 4 arguments (self + error info); code only took 1, whih breaks if there is an exception thrown within the with: block. Addresses #1577.
* | Adding readline capabilities to gr_modtoolMarcus Müller2018-02-031-0/+27
|/ | | | | * main advantage: better line editing * tab-completion for gr_modtool add
* modtool: Fixed correct pointer arg type strippingMartin Braun2015-05-201-3/+10
|
* modtool: no more exit() in modtool packageSebastian Koslowski2013-11-271-7/+2
| | | | | Conflicts: gr-utils/python/modtool/modtool_newmod.py
* modtool: Fixes for in-tree adds, argument parsing (&-bug)Martin Braun2013-10-281-1/+1
|
* modtool: fix broken commit d09f1c3dJohnathan Corgan2013-09-071-0/+1
|
* modtool: fix GRC XML file creation when no argsJohnathan Corgan2013-09-071-2/+4
| | | | Fixes bug where no args produces ($) in make clause
* modtool: Fixes for intial templates of a block.Tom Rondeau2013-05-241-0/+6
| | | | | 1. adds '$' to args in the GRC xml <make> tag. 2. sets <+ITYPE+> and <+OTYPE+> for all I/O data types in io_signature and in work functions to be more clear what needs modification.
* Merge branch 'master' into nextJohnathan Corgan2013-04-031-1/+1
|
* Merge branch 'master' into nextJohnathan Corgan2013-02-121-0/+135
Conflicts: gr-utils/python/create-gnuradio-out-of-tree-project