summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* grc: typo in Connection.pyJeff Long2021-10-141-1/+1
| | | | | | | default for dict is just an extra arg, no default= keyword Signed-off-by: Jeff Long <willcode4@gmail.com> (cherry picked from commit 553248575079794236923ad3aa03cda03ed902d0) Signed-off-by: Jeff Long <willcode4@gmail.com>
* grc: Don't fail when type lookup fails by defaulting to an empty set.Ryan Volz2021-10-141-1/+3
| | | | Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* digital: remove deprecation of pfb_clock_syncJosh Morman2021-10-146-5/+3
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* runtime: unused remove misc.h/ccJosh Morman2021-10-146-111/+0
| | | | | | | | | misc.h in the public header is not implemented misc.h in the lib/ dir is implemented but not used Appears that all the misc can go without affecting API Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* iio: use make_block_sptr in makeJosh Morman2021-10-139-85/+83
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* iio: de-duplicate the pluto wrappersJosh Morman2021-10-1338-1308/+650
| | | | | | | | | | | | | The fmcomms2 source/sink were wrapped with hier blocks that were used as the basis for the pluto blocks This templatizes the fmcomms2 blocks so they can be directly used, and since the pluto block is so close to the fmcomms block, just use grc as the wrapper around it fmcomms2/pluto can also now be used as sc16 or fc32 Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* ci: execute make install and test import of Python packageschneider422021-10-131-0/+14
| | | | | | | Installs GNURadio into the container and checks if Python can find, import and use the gnuradio package. Signed-off-by: schneider <schneider@blinkenlichts.net>
* cmake: reliably determine python prefixschneider2021-10-131-16/+22
| | | | Signed-off-by: schneider <schneider@blinkenlichts.net>
* ber_sink_b: Make qwidget() part of the APIDavid Winter2021-10-124-1/+11
| | | | | | | The qwidget() method of ber_sink_b had previously not been declared part of the public API, thus preventing its use from python. Signed-off-by: David Winter <david.winter@analog.com>
* grc: Look up type aliases as a set instead of a single value.Ryan Volz2021-10-122-20/+18
| | | | | | | | | | | After #5127, we inadvertently had duplicate dictionary keys, meaning the last entry is the only one that actually existed and some desired aliases were missing. This changes the ALIAS_OF dictionary to ALIASES_OF where the values are now a set of aliases instead of a single string value. The one use of the ALIAS_OF dictionary was changed to operate on the returned set. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* grc: added shortcuts zoom in/out/resetJeff Dumps2021-10-115-10/+50
| | | | | | Co-authored-by: Jeff Dumps <jeffdumps@gmail.com> Co-authored-by: Derek Kozel <derek@bitstovolts.com> Signed-off-by: Derek Kozel <derek@bitstovolts.com>
* ci: temporarily disable metainfo test for ubuntuJosh Morman2021-10-111-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* grc: block comment font size incorrect, ignoring config fileChris2021-10-111-23/+19
| | | | | font size was being imported incorrectly resulting in the default font size always being used for comments (#5088) Signed-off-by: chris <christopher.donohue@gmail.com>
* github: add templates for bug/featuremormj2021-10-112-0/+103
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* qt-gui: enables use of Qwt 6.2Bill Muzika2021-10-1113-11/+65
| | | | | | Adds the typedefs and includes needed to build with Qwt 6.2. Signed-off-by: Bill Muzika <bill.muzika@outlook.com>
* examples: Repair all examples affected by commit 91e9ddf.Ron Economos2021-10-1155-206/+206
| | | | | | Replace all occurrences of empty minoutbuf and maxoutbuf with 0. Signed-off-by: Ron Economos <w6rz@comcast.net>
* grc: Write "ID", not "Id"Håkon Vågsether2021-10-112-2/+2
| | | | Signed-off-by: Håkon Vågsether <hauk142@gmail.com>
* utils: use tempfile instead of /tmp in bindtool and modtoolJeff Long2021-10-113-3/+6
| | | | | | Author: Gisle Vanem (gvanem) in Github issue #5157 Signed-off-by: Jeff Long <willcode4@gmail.com>
* grc: Add aliases for "sc16==short" and "sc8==byte".Ryan Volz2021-10-051-0/+4
| | | | | | | | | | When type checking was added for GRC connections, the valid connections between a block with the "sc16" type (e.g. UHD blocks) and a block with the "short" type and a vector length of 2 (e.g. ishort->complex) now fail. Adding these aliases fixes that as a stop-gap until a better solution can be found. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* gr-qtgui: Use no_quotes function in some qtgui blocksVolker Schroer2021-10-057-16/+12
| | | | | | See #5016 Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* qtgui: remove vestigal parameter in fft cotrJosh Morman2021-10-041-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* grc: Fix category and module tooltipsClayton Smith2021-10-011-1/+1
| | | | | | | | | | | Category and module tooltips have been broken since GNU Radio 3.8. The _format_cat_tooltip function expects a tuple representing the module & category hierarchy, but a single string is passed in. As a result, everyhing is treated as a category, and only the last letter of the category or module name is displayed. I've fixed the problem by passing in the full tuple instead. Signed-off-by: Clayton Smith <argilo@gmail.com>
* grc: Include scale factor when computing drawing area size.Ryan Volz2021-09-301-1/+5
| | | | | | Fixes #4174. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* runtime: fix pybind of get_tags_in_window mormj2021-09-292-3/+6
| | | | | | | | | | | | | * runtime: fix pybind of get_tags_in_window Fix issue where get_tags_in_window was bound to and consequently had the same behavior as get_tags_in_range Fixes #5005 Test recommended by ryanvolz fails to validate tag offset not just when nitems_read is 0 Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* grc: Implement grcc --output switch for hierarchical blocksJaredD2021-09-276-33/+50
| | | | | | | | | | | | | | | | | | | | | | | | | * grc: Implement --output functionality for grcc Reference gnradio Issue #2799. This commit adjusts some logic and code to enable the --output switch for grcc. Prior to this commit, grcc would only output to the GRC_HIER_PATH. The commit adjusts the various Generators in grc/core/generator to consistently use output_dir for the output directory. If it's None, then take from the platform.config.hier_block_lib_dir attribute which can be set via the GRC_HIER_PATH env var. The cpp_top_block generator was also modified to remote its __init__ function which appeared identical to its base TopBlockGenerator. I did not test c++ GRC output. * Make output directory if does not exist * Duplicate TopBlockGenerator __init__ without .py extension; base class object * Typo in os.makedirs kwarg * Added _warnings method from TopBlockGenerator Signed-off-by: Jared Dulmage <jared.dulmage@caliola.com>
* grc: Raise error for unfilled parametersSolomon Tan2021-09-271-1/+1
| | | | | | | | Issue 5032 results from an unfilled parameter erroneously indicated as filled with a default value of 0. This PR makes grc indicate an error when there is an unfilled parameter by returning None. Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
* qtgui: remove int type from number_sink block yamlJeff Long2021-09-271-2/+2
| | | | | | | Number Sink takes a size, rather than a type, and does not support int32. It assumes items of size 4 are floats. Signed-off-by: Jeff Long <willcode4@gmail.com>
* runtime: Add NOMINMAX def on common-precompiled-headers when using MSVCRyan Volz2021-09-271-0/+7
| | | | | | | This fixes compilation with MSVC because of the use of min/max functions in the precompiled headers. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* channels: Fix bad initialization of RNG seedsMatt Ettus2021-09-271-5/+9
| | | | | | | | | | | | | * Fix bad initialization of RNG seeds. If this isn't done, multiple channels will be correlated with each other. Signed-off-by: Matt Ettus <matt@ettus.net> * formatting fix Signed-off-by: Matt Ettus <matt@ettus.net> * Fixed ordering of initialization Signed-off-by: Matt Ettus <matt@ettus.net>
* ci: Allow per-container ctest argsMartin Braun2021-09-241-1/+7
| | | | | | | | This makes the ctest args configurable per-container. The Debian 11 ctest args now disable qa_polar_decoder_sc_systematic because it seems the VOLK version shipped therein has an issue. Signed-off-by: Martin Braun <martin@gnuradio.org>
* gr-blocks: Fix cpp support for unpacked to packedSolomon Tan2021-09-241-1/+3
| | | | | | | | | In commit 612c650, cpp support was added to the unpacked_to_packed block. However, the cpp flag was not added. Neither was the endianness option set correctly. This commit fixes it using packed_to_unpacked as reference. Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
* pdu: add samp_rate keyJacob Gilbert2021-09-225-1/+15
| | | | | | | This was omitted accidentally, but is necessary in general for correct processing of PDU data Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* Github CI: enable -Werror on fedora, but don't error on deprecationsMarcus Müller2021-09-203-3/+3
| | | | | | | | This is to keep in lockstep with maint-3.9; this allows to run with in-tree `[[deprecated]]`-marked functionality, and with current ZMQ, which otherwise makes Fedora fail. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* ci: Move back to Docker HubMartin Braun2021-09-201-6/+6
| | | | | | | | ghcr.io registry is constantly failing with this message: Error: Docker login for 'ghcr.io' failed with exit code 1 Signed-off-by: Martin Braun <martin@gnuradio.org>
* ci: Add Debian 11 (Bullseye) to CI testsMartin Braun2021-09-201-1/+4
| | | | Signed-off-by: Martin Braun <martin@gnuradio.org>
* ci: Pull CentOS container from ghcr.ioMartin Braun2021-09-201-4/+2
| | | | Signed-off-by: Martin Braun <martin@gnuradio.org>
* github: move fr template to correct locationBernard Tyers2021-09-201-0/+0
| | | Signed-off-by: Bernard Tyers - Sane UX Design <bernard+work@ei8fdb.org>
* CI: Update the Fedora Container to F34Marcus Müller2021-09-202-2/+5
| | | | | | | this has the main advantage of bringing UHD4, so we can test more of gr-uhd. Signed-off-by: Marcus Müller <mmueller@gnuradio.org> Signed-off-by: Martin Braun <martin@gnuradio.org>
* github: Added feature request templateBernard Tyers - Sane UX Design2021-09-201-0/+19
| | | | Signed-off-by: Bernard Tyers - Sane UX Design <bernard+work@ei8fdb.org>
* github: Use GH container registry instead of Docker HubMartin Braun2021-09-201-8/+10
| | | | | | | | | | | | | Since autobuild was disabled for Docker Hub and free plans, this ties in more easily with the GitHub integration. This also changes the container type from "ubuntu-20.04" to "ubuntu-latest" for better future compatibility. Note: The CentOS container still is getting pulled from Docker Hub; its migration did not work for hitherto unclear reasons. Signed-off-by: Martin Braun <martin@gnuradio.org>
* cmake: include GrBoost after (was before) version restrictionJeff Long2021-09-191-8/+9
| | | | | Fix provided in issue by jwmelto Signed-off-by: Jeff Long <willcode4@gmail.com>
* github: move the pr template up a levelJosh Morman2021-09-151-0/+0
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* github: Added pull request templateBernard Tyers2021-09-151-0/+49
| | | | | Signed-off-by: Bernard Tyers - Sane UX Design <bernard+work@ei8fdb.org> Co-authored-by: Bernard Tyers - Sane UX Design <bernard+work@ei8fdb.org>
* gr-network: Fixup tuntap suppress warning on Debian 11.Ron Economos2021-09-121-10/+12
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* cmake: Use preferred method to find PkgConfig.Ron Economos2021-09-1213-35/+12
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* network: tuntap knows what it's doing when it uses strncpy, suppress warningMarcus Müller2021-09-071-3/+14
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* gr-digital: Fix constellation normalization by average powerDavid Pi2021-09-072-16/+34
| | | | | | | Correct power normalization calculation. Add a qa test for amplitude and power normalization. Signed-off-by: David Pi <david.pinho@gmail.com>
* IWYU: iomanip, iostream, sstreamMarcus Müller2021-09-076-1/+8
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* soapy: include boost/format where usedMarcus Müller2021-09-072-0/+2
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* pdu: include boost/format where usedMarcus Müller2021-09-071-0/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>