11 Commits

Author SHA1 Message Date
Oleksandr Kravchuk
43e6a43e3d python: Remove unnecessary 'from __future__ import'
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
2020-08-03 11:40:27 +02:00
Yamakaja
effcc2ea28 grc: Add dir_select parameter type
This commit adds a new parameter type to GNURadio Companion that allows
you to select directories using a gui. This functionality is
very similar to that of the previously available "file_open" and
"file_save" parameter types, and mainly differs by calling GTKs file
chooser with FileChooserAction.SELECT_FOLDER.
2020-07-23 08:27:30 +02:00
ewxl
257537037d grc: add length to tooltip for variable with len
Improving the module grc.gui.canvas.param to add length to tooltip of attributes of a block in grc.
2020-05-03 10:49:12 -04:00
devnulling
9a453c2ca6 Update license header to SPDX format 2020-01-27 19:56:21 -08:00
karel
958e9c5072 Revert "Added switch button for bool types"
This reverts commit 007923c64d2505b37dffb8e11cb1e3ecf4e489eb.
2019-11-01 15:00:04 +01:00
Håkon Vågsether
985ae56222 Added switch button for bool types 2018-09-22 20:26:47 +02:00
Sebastian Koslowski
c2209b1c5f grc: move some of the param checkers to separate file 2017-11-09 19:26:43 +01:00
Sebastian Koslowski
67c30d053b grc: refactor: move Param cls to core.params 2017-11-08 20:56:28 +01:00
Sebastian Koslowski
113d266349 grc: added yaml/mako support
Includes basic converter from XML/Cheetah to YAML/Mako based block format.
2017-06-29 09:16:49 -07:00
Seth Hitefield
b4cd681e1c grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action 2017-05-03 07:07:59 -07:00
Sebastian Koslowski
423d320040 grc: refactor: move drawables in subpackage 2016-09-13 11:54:56 -06:00