| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk`
Fix typos in gnuradio-runtime/
Fix typos in gr-digital/
Fix typos in gr-qtgui/
Fix typos in gr-channels/
Fix typos in grc/
Fix typos gr-filter/
Fix typos in gr-uhd/
Fix typos in gr-blocks/
Fix typos in gr-fec/
|
|
|
|
|
|
|
|
| |
Bus ports had not been added back in since the refactor of grc
Hopefully this fully enables busports though there are still some
issues with the gr-fec flowgraphs
Fixes #2277
|
|
|
|
| |
useful for variable and parameter blocks, but maybe others too
|
|
|
|
|
|
|
|
|
| |
In GNU Radio 3.7, auto-generated port names (e.g., for the add block)
were called in0, in1, in2, etc. Until this commit, on 3.8, they were
called in00, in01, etc.
For message blocks, auto-generated block names are now `in' and `out'.
No id is appended.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Due to the way stringify_flag is called, the block_id,
function_name and function_args are all given extra
quotes which cause issues when generating the python source
change/add new dtypes for function_probe
Fixes #1783
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a hier2 block contains more than one ( input or output ) message port
GRC generates a wrong yml description of this block.
If you restart GRC, GRC terminates with an error messages is no longer usable.
This can be verified with the example here: "gr-blocks/examples/msg_passing/hier"
This example is running in 3.7 without any problems.
The modification in platform.py avoids the termination of grc
if there is an error in the flowgraph to be loaded.
|
|
|
|
|
| |
An older version of PR 2278 was accidently merged by me.
This fixup brings in the correct changes to dummy.py
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Without this fix, GRC isn't able to generate C++ flowgraphs.
|
|
|
|
|
| |
Previously only python scientific notation was supported.
Now engineering notation e.g. k,M,G is supported as input format as well.
|
| |
|
| |
|
|
|
|
|
| |
Without this fix, certain widgets, e.g. the QT GUI Range, wouldn't
appear.
|
| |
|
|
|
|
|
| |
Before this fix, it was not possible to add a 'Python Module' to a GRC
flow graph, it would just throw exceptions when you tried.
|
|
|
|
|
|
|
| |
eng_float params, e.g. "2.45G", are not recognized by Python and need to
be rendered as strings (with additional quotes). This is not true for
string types, which already have quotes, or regular floats and ints,
which do not need them.
|
| |
|
| |
|
|
|
|
|
| |
Avoid erroring out for block that don't have C++ constructors (e.g.
virtual sinks).
|
|
|
|
|
|
|
| |
During the addition of C++ generation the namespace was attached as
member variable.
This was still missing for the Python flowgraphs. Add this back to get
valid Python flowgraph generation.
|
|\
| |
| |
| |
| | |
Flowgraphs with basic blocks can be created in the GNU Radio Companion and exported to a single C++ binary.
The use of the C++ generation is still experimental and needs testing and extension to more parts of the GNU Radio codebase.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the translations dict was eval'd back into python
land again. This can be avoided by using yaml.load to load the valid
yaml dict after rendering with mako.
Also translations were applied with str.replace before which did
fail for cases which need to add braces around a match. The usage
of re.sub works around that issue. Though now the keys in the
translations dict have to be valid regular expressions.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This has been disabled since the addition of Mako, and has not been used
in years.
|
|/
|
|
|
|
|
|
| |
We do not have a good way right now to determine if an import is for a
hier block, these imports will fail as they are not in the search path
this is ok behavior, unfortunately we could be hiding other import bugs.
Fixes #2183
|
|
|
|
|
| |
Several GRC bindings have switches to hide the message port, which is
currently being ignored. This will make the switch work.
|
| |
|
|
|
|
|
|
| |
Enabling the option_attributes to be accessed by the rest of the
block's parameters by using a new string subtype. Also adding
validation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this fix, generating hier blocks with message pads would show the
following error:
```
Generate Error: 'Port' object has no attribute 'id'
>>> Failure
Traceback (most recent call last):
[...]
File "[...]/gnuradio/grc/core/generator/hier_block.py", line 102, in
_build_block_n_from_flow_graph_io
p['id'] = port.id
AttributeError: 'Port' object has no attribute 'id'
```
|
| |
|
| |
|
|
|
|
|
| |
Previously, typos in hier_block.py were creating errors. This was a bug
when converting from Cheetah to Mako.
|
| |
|
|
|
|
|
| |
imp module is deprecated as of Python 3.4 but in Python3 we can
use the ModuleType to create a new module.
|
| |
|
| |
|
| |
|