summaryrefslogtreecommitdiff
path: root/grc/core
Commit message (Collapse)AuthorAgeFilesLines
...
* grc/cppgen: Fix a bug where GRC would write to the wrong directoryHåkon Vågsether2019-07-211-8/+10
|
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | 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/
* grc: add busports back into 3.8Josh Morman2019-07-155-11/+322
| | | | | | | | 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
* grc: introduce flag 'show_id' to show block idBastian Bloessl2019-06-294-3/+7
| | | | useful for variable and parameter blocks, but maybe others too
* grc: Remove 'id' from auto-gen'd port names, same as 3.7 didVolker Schroer2019-06-201-1/+1
| | | | | | | | | 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.
* grc: better qt flowgraph shutdownBastian Bloessl2019-06-191-1/+30
|
* runtime: port ctrlport monitor to 3.8 and qt5Bastian Bloessl2019-06-191-7/+9
|
* fixup! GRC: Fix for GRC crash in case of flowgraph errorMartin Braun2019-06-191-2/+2
|
* GRC: Fix for GRC crash in case of flowgraph errorArpit Gupta2019-06-182-0/+7
|
* grc: function_probe_block extra quotes with block_idJosh Morman2019-05-283-2/+13
| | | | | | | | | | 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
* grc: Squelch more debug messages.Ron Economos2019-04-221-1/+1
|
* Add missing quotes in themes parameter of option blockVolker Schroer2019-04-191-1/+1
|
* grc: fix generation of hier2 block in case of multiple message portsVolker Schroer2019-03-312-3/+0
| | | | | | | | | | | | 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.
* fixup! Modifying dummy block and error messagesDerek Kozel2019-03-131-4/+3
| | | | | An older version of PR 2278 was accidently merged by me. This fixup brings in the correct changes to dummy.py
* Modifying dummy block and error messagesVolker Schroer2019-03-132-10/+12
|
* Correctly building dummy blockVolker Schroer2019-03-132-3/+9
|
* grc: fixes in evaluated propertiesSebastian Koslowski2019-02-171-1/+2
|
* grc: fix block flagsSebastian Koslowski2019-02-172-3/+11
|
* grc: Add missing GRC version to cpp_top_block.pyHåkon Vågsether2019-02-171-2/+2
| | | | Without this fix, GRC isn't able to generate C++ flowgraphs.
* grc: parse suffixes for numeric valuesaru312019-02-141-0/+34
| | | | | Previously only python scientific notation was supported. Now engineering notation e.g. k,M,G is supported as input format as well.
* grc: fixes in epy and virtual blocks (fixes #2039)Sebastian Koslowski2019-02-123-62/+36
|
* grc: Fix missing default code in python block and python modulePiotr Krysik2019-02-101-2/+2
|
* grc: Fix a bug where all variable blocks' make code is ignoredHåkon Vågsether2019-01-141-3/+3
| | | | | Without this fix, certain widgets, e.g. the QT GUI Range, wouldn't appear.
* Remove generated_time from GRC-generated filesHåkon Vågsether2019-01-145-7/+3
|
* grc: Fix Python Module blockHåkon Vågsether2019-01-073-5/+10
| | | | | 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.
* grc: Fix rendering of eng_float paramsMartin Braun2019-01-051-2/+3
| | | | | | | 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.
* Make GRC save blank parametersHåkon Vågsether2019-01-031-3/+0
|
* grc: Remove superfluous self. in top_block connection generationAndrej Rode2018-12-301-1/+0
|
* grc: only use cpp_templates if block has a cpp flagAndrej Rode2018-12-301-1/+2
| | | | | Avoid erroring out for block that don't have C++ constructors (e.g. virtual sinks).
* grc: fix usage of namespace, replace with self.namespaceAndrej Rode2018-12-301-1/+1
| | | | | | | 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.
* Merge the polished results from the 2017 GSoC "C++ Code Generation with GRC"Andrej Rode2018-12-2915-17/+1235
|\ | | | | | | | | 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.
| * Fix C++ hier block generationHåkon Vågsether2018-12-189-77/+181
| |
| * Small fixes to get the C++ generator working againHåkon Vågsether2018-12-184-9/+13
| |
| * C++ generation: rework the usage of translationsAndrej Rode2018-12-182-8/+12
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Added C++ support to gr-analog, gr-blocks and grcHåkon Vågsether2018-12-189-29/+90
| |
| * Add C++ generationHåkon Vågsether2018-11-2314-17/+1062
| |
* | grc: Remove ParseXML moduleMartin Braun2018-12-281-185/+0
| | | | | | | | | | This has been disabled since the addition of Mako, and has not been used in years.
* | grc: Silence import warnings caused by hier blocks on namespace renewalBrennan Ashton2018-11-281-1/+6
|/ | | | | | | | 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
* grc: Fixed the "Show Msg Ports" optionHåkon Vågsether2018-11-221-1/+1
| | | | | Several GRC bindings have switches to hide the message port, which is currently being ignored. This will make the switch work.
* grc: Validate vectors before validating their elementsHåkon Vågsether2018-11-221-0/+3
|
* grc: Fix problems with option_attributesHåkon Vågsether2018-11-224-4/+28
| | | | | | Enabling the option_attributes to be accessed by the rest of the block's parameters by using a new string subtype. Also adding validation.
* grc: Fix GRC-hier-block with message padVolker Schroer2018-11-171-1/+1
| | | | | | | | | | | | | | | | 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' ```
* grc: Log exceptions on namespace renewalBrennan Ashton2018-11-151-4/+12
|
* grc: Improve exception handling (bare and unnecessary)Brennan Ashton2018-11-154-11/+8
|
* grc: Fix generation of QT-GUI hier blocksHåkon Vågsether2018-11-141-13/+12
| | | | | Previously, typos in hier_block.py were creating errors. This was a bug when converting from Cheetah to Mako.
* grc: Simplify py2/3 logic for new_moduleBrennan Ashton2018-11-121-11/+2
|
* grc: Remove deprecated use of imp moduleBrennan Ashton2018-11-041-2/+11
| | | | | imp module is deprecated as of Python 3.4 but in Python3 we can use the ModuleType to create a new module.
* Add missing keys to schema checker to avoid warningsHåkon Vågsether2018-11-021-0/+2
|
* Clean up resources allocated by run_worker.Clayton Smith2018-11-011-0/+4
|
* Update links to https://www.gnuradio.orgClayton Smith2018-10-281-1/+1
|