summaryrefslogtreecommitdiff
path: root/grc
Commit message (Collapse)AuthorAgeFilesLines
...
* grc: Fix failing expr_utils testHåkon Vågsether2020-02-031-1/+1
| | | | Caused by switch from Python 2 to 3: https://docs.python.org/3/whatsnew/3.0.html#ordering-comparisons
* Update license header to SPDX formatdevnulling2020-01-2797-1254/+175
|
* GRC/grcc: Update path warningsduggabe2020-01-252-4/+6
|
* grc: Display documentation for blocks without category keyVasil Velichkov2020-01-221-1/+1
| | | | | | | | | | | | | Check that the category list is not empty before accessing its first element. Some OOT modules does not have category key and documentation tab is left empty because of this missing check. Traceback (most recent call last): File "/usr/local/lib64/python3.7/site-packages/gnuradio/grc/gui/PropsDialog.py", line 210, in update_gui self._update_docs_page() File "/usr/local/lib64/python3.7/site-packages/gnuradio/grc/gui/PropsDialog.py", line 220, in _update_docs_page if self._block.category[0] == "Core": IndexError: list index out of range
* grc: Set GRC_BLOCKS_PATH to the local blocks directoryVasil Velichkov2020-01-104-3/+1
| | | | Remove expected failures from 3 tests
* grc: Run tests using GR_ADD_TEST macroVasil Velichkov2020-01-101-4/+1
| | | | | Some of the new tests import other gnuradio's python modules and PYTHONPATH needs to be set accordingly.
* grc: Execute tests only when pytest is availableVasil Velichkov2020-01-101-4/+12
|
* grc: Mark failing tests with xfailVasil Velichkov2020-01-104-1/+11
| | | | and fix test_extend()
* grc: Include GRC tests in CTest testingVasil Velichkov2020-01-103-0/+29
|
* grc: make catch exceptions option an enumJosh Morman2020-01-081-1/+3
|
* grc: remove canvas_size as a flowgraph optionJosh Morman2020-01-083-22/+1
| | | | | | It was mostly removed with the feature of auto-resizing the canvase This just removes the option from the options block and some other unused code
* GRC: Fix color for input boxes in parameter widget for dark themesArpit Gupta2020-01-073-28/+92
| | | | Co-Authored-By: Martin Braun <martin@gnuradio.org>
* cmake: grc: Provide ENABLE_POSTINSTALL optionMartin Braun2020-01-061-2/+4
| | | | | | | | | | | | This option allows disabling post-install tasks. Currently, there is one such task: The execution of `grc_setup_freedesktop install`. For developers building from source, this is very convenient to do during installation. However, for package maintainers, this is not desired and should be executed separately. Maintainers of packages can thus provide ENABLE_POSTINSTALL=OFF to avoid permission errors. This continues bc0592b6, which defaulted to always running the script.
* Execute generated freedesktop install scriptVolker Schroer2020-01-061-0/+4
| | | At the moment an install script for the freedesktop icons is generated but not executed, so the icons are missing
* runtime: add GR_PREFS_PATH env variable searchJosh Morman2020-01-061-1/+1
| | | | | | | When looking for the config file, allow the env variable GR_PREFS_PATH to be searched so that multiple installations of GR each with its own prefs can be used, similar to what is currently done in GRC
* grc: Add handling of catch_exceptions top_block paramScott Torborg2020-01-053-4/+11
| | | | | | Adds an additional option to the flowgraph's "Generate Options" in GRC called "Catch block exceptions", under the Advanced tab. This parameter controls the catch_exceptions flag passed to top block instantiation.
* grc: Add options block to (Core) Misc categoryHåkon Vågsether2020-01-051-0/+1
|
* Disable Python 2kMarcus Müller2020-01-042-14/+4
| | | | | | | | | | - Update SWIG settings - Update CMake - Remove Python2 references Note: This does not touch a lot of Python files, and many Python files will still work with Python 2 after this commit. However, we won't allow that in our CMake, and the support will be gone too.
* grc: Fix drag style block connection with auto-hide port labelsCMorin2020-01-031-2/+2
|
* grc: loosen the validation of block in function probeJosh Morman2020-01-032-3/+5
| | | | | | | | | | | | The block_id parameter for the block being probed was being validated as a block_id. But there is a use case where this can be blank to call a function on the flowgraph object itself. Changed the block_id dtype to "name" just like function_name. Could have just changed it to raw and done no validation, but that doesn't get displayed very nicely in the grc block Fixes #2966
* Modtool: Update - Add option to convert blacklisted filesNicolas Cuervo2020-01-021-3/+8
| | | | | | Also avoid the misleading behavior that implies conversion when it isn't happening while also deleting the XML with a blacklisted name.
* cmake: don't install a duplicate set of icons into the gnome themeChris Mayo2020-01-021-7/+0
| | | | | A compliant desktop will always look in the hicolor theme: https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
* grc: add send_flowgraph_error_report to MessagesGrant Cox2019-12-192-14/+15
| | | | | add method to the Messages module to print flowgraph errors in a verbose format
* grc: report flowgraph loading errors nicely in grccGrant Cox2019-12-191-0/+14
| | | | | | Wrote function in Platform to use get_error_messages() member function from parent class and report these upon a flowgraph loading exception.
* Merge pull request #2729 from hughpyle/mastermormj2019-11-221-1/+1
|\ | | | | grc: fix type in missing xterm warning
| * TypoHugh Pyle2019-08-121-1/+1
| |
* | grc: remove deprecated encoding argument from json.loadskarel2019-11-181-2/+2
| |
* | grc: embedded python module show_id flagJosh Morman2019-11-061-1/+4
| | | | | | | | | | | | It is necessary to have access to the show_id flag for a python module in grc to be able to access it elsewhere. This adds the flag when the module object is created in the block library.
* | Module name correction for bokehgui Notou2019-11-011-3/+3
| |
* | grc: embedded python parameter values disappearChris2019-11-011-4/+4
| |
* | grc: fix importing configparser in variable config blockkarel2019-11-011-3/+3
| |
* | GRC: testing: can't rely on set ordering; sets are unorderedMarcus Müller2019-11-011-1/+1
| |
* | grc: removed the link to wiki page for the block if its an OOT blockMarc L2019-11-011-5/+6
| |
* | grc: include comments in flowgraph extent calculation (fixes #2854)Sebastian Koslowski2019-11-012-5/+22
| | | | | | | | | | previously the extent (upper left und lower right bounding points) only included blocks, ports and connections.
* | grc: update namespace properly for nested variablesJosh Morman2019-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Was getting lots of evaluation error prints when using gr-digital examples because the nested variables were not updated until rewrite() and evaluate were called over and over Seems to fix the issue to update the flowgraph namespace variable after each variable block is evaluated I believe this also alleviates a previous issue (#2634) where rewrite had to be called twice when data was being imported Fixes #2634
* | grc: validate gui hintsJosh Morman2019-11-011-0/+7
| | | | | | | | | | | | | | committing the fix suggested by @haakov Make gui_hint collisions show up as validation errors Fixes #2287
* | Revert "Added switch button for bool types"karel2019-11-012-20/+0
| | | | | | | | This reverts commit 007923c64d2505b37dffb8e11cb1e3ecf4e489eb.
* | Save the new duplicate page to the cache so it can be loaded from the cache ↵Chris2019-10-191-0/+1
| | | | | | | | in the future
* | Remove cpp generation function hard tabwcampbell2019-09-281-2/+2
| | | | | | | | Signed-off-by: wcampbell <wcampbell1995@gmail.com>
* | GRC: update cloned port's dtypeGlenn Richardson2019-09-201-0/+1
| |
* | grc: enable advanced parametersBastian Bloessl2019-09-191-12/+12
| | | | | | | | cpu affinity, max/min out buf size
* | grc: option toggle the show id on all blocksJosh Morman2019-09-175-2/+21
|/ | | | | | | | | Addresses the issue of losing access to the block id on many/most blocks though there are scenarios where you may need to see them in GRC Added a menu item tied into the grc prefs that will show the block ids Fixes #2780
* grc: prevent scrolling to top of canvasJosh Morman2019-08-071-1/+6
| | | | | | | | | | | GRC was scrolling to the top of the canvas when clicking. This occurs when clicking into the console or search tree then back into the canvas, the view is reset to the top left. Commented out one line in _handle_mouse_button_press in DrawingArea.py - makes the problem go away. Fixes #2660
* grc: prevent yaml parser errors from crashing grcJosh Morman2019-08-051-1/+1
| | | | | | Moves the yaml file load inside the try block Fixes #2668
* grc/cppgen: Use cli-style CMake optionsHåkon Vågsether2019-07-292-4/+13
| | | | | In other words, use "-DKEY1=VAL1 -DKEY2=VAL2" instead of "KEY1=VAL1; KEY2=VAL2"
* grc: Rename _options_block to options_blockHåkon Vågsether2019-07-282-15/+15
|
* grc: Add sensible defaults to Options blockHåkon Vågsether2019-07-283-3/+11
|
* grc: Make sure that the C++ test works at allHåkon Vågsether2019-07-282-10/+100
|
* grc: Added copyright to C++ testHåkon Vågsether2019-07-281-1/+18
|
* grc: Fix XML loading without lxmlHåkon Vågsether2019-07-282-7/+9
|