Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gr-audio: update comments in wavfile_sink and wavfile_source and add list of supported audio files #6503

Closed
wants to merge 378 commits into from
Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 2, 2023

  1. runtime: Process system messages before others

    This avoids a race condition which causes messages to be skipped while
    the flow graph finishes execution.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a28c0ba View commit details
    Browse the repository at this point in the history
  2. qa: remove formatting in assertSequenceEqualGR

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2cb8a73 View commit details
    Browse the repository at this point in the history
  3. gr-utils: make the pydoc_h.mako more clang compliant

    Format *_c_pydoc_template.h and *_python.cc using clang-format
    to make the generated files clang_format compliant.
    
    It's better to use clang-format than to modify the mako templates.
    Using clang-format directly you have nothing to do when changing the formatting
    rules but only run the binding process again, but you must not change the mako templates.
    
    As with 956f332
    pywidget() was replaced qwidget() generic_python_cc.mako had to be modified, to generate the correct
    binding code.
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    81f541c View commit details
    Browse the repository at this point in the history
  4. dtv: Fix use of uninitialized memory

    Valgrind reports that poly_pack reads uninitialized memory, leading to
    undefined behaviour. This happens because it rounds the length up to
    the next multiple of 32 before reading the polynomial coefficients.
    Initializing the coefficients to zero solves the problem.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d61797d View commit details
    Browse the repository at this point in the history
  5. dtv: Use unsigned integer for CRC calculation

    This fixes undefined behaviour (left shift of a negative number)
    reported by gcc's Undefined Behaviour Sanitizer.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    706fcb3 View commit details
    Browse the repository at this point in the history
  6. iio: Fix inconsistent override warnings

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8ae4f80 View commit details
    Browse the repository at this point in the history
  7. qtgui: Fix inconsistent override warnings

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    619f4c0 View commit details
    Browse the repository at this point in the history
  8. digital: Replace boost::crc with built-in CRC implementation

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    de13f83 View commit details
    Browse the repository at this point in the history
  9. filter: Fix flaky qa_filterbank test

    The qa_filterbank test occasionally fails, and from the error message
    it's apparent that on these occasions outdata2 contains the same values
    as outdata. This suggests that the while loop that waits for the new
    filter taps to kick in is exiting too soon. I suspect this occurs
    because it compares floating point values for exact equality. I've
    changed this to check for approximate equality instead.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    bae3712 View commit details
    Browse the repository at this point in the history
  10. runtime: Fix signed integer overflows

    When running QA tests, gcc's Undefined Behaviour Sanitizer reports
    signed integer overflows in fxpt.h. I've fixed them by explicitly
    casting the input to an unsigned integer prior to the addition step.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7ecb4a4 View commit details
    Browse the repository at this point in the history
  11. digital: Fix load of misaligned address

    gcc's Undefined Behaviour Sanitizer reports load of a misaligned
    address. Replacing the offending code with a memcmp fixes the issue.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    659237c View commit details
    Browse the repository at this point in the history
  12. qtgui: Remove unused variable from Waterfall Sink

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    ea97ce2 View commit details
    Browse the repository at this point in the history
  13. dtv: Fix compiler warning

    In #5804 I accidentally caused a compiler warning:
    
    warning: suggest braces around initialization of subobject [-Wmissing-braces]
    
    This change fixes the warning while still initializing the polyout
    array to zero.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1e2d649 View commit details
    Browse the repository at this point in the history
  14. digital: Remove process_crc method

    This brings crc16_async_bb in line with crc32_async_bb, making it easier
    to compare them.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1c55d25 View commit details
    Browse the repository at this point in the history
  15. digital: Use memcmp for CRC comparisons

    The CRC16 and CRC32 async blocks can perform unaligned reads during
    verification, which results in undefined behaviour. To fix this, I've
    switched them to use memcmp.
    
    The CRC16 validation was also incorrect, because it read two extra
    bytes, resulting in verification failures. I've fixd that here as well.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f5baffb View commit details
    Browse the repository at this point in the history
  16. gr-dtv: Update DVB-T2 QA test to avoid spurious CI failures.

    Signed-off-by: Ron Economos <w6rz@comcast.net>
    drmpeg authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    21fe593 View commit details
    Browse the repository at this point in the history
  17. blocks: Add support for Ogg Opus if libsndfile is >= 1.0.29

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f4dd8bf View commit details
    Browse the repository at this point in the history
  18. runtime: Silence unused parameter warnings

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    13c9b8a View commit details
    Browse the repository at this point in the history
  19. soapy: Replace __GR_ATTR_UNUSED with C++17 [[maybe_unused]]

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3a9b5c0 View commit details
    Browse the repository at this point in the history
  20. blocks: Replace __GR_ATTR_UNUSED with C++17 [[maybe_unused]]

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    516cc82 View commit details
    Browse the repository at this point in the history
  21. runtime: Fix broken log format string in set_min_output_buffer

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a914494 View commit details
    Browse the repository at this point in the history
  22. runtime: Replace Boost with standard C++ in rpcbufferedget

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9d7ecd1 View commit details
    Browse the repository at this point in the history
  23. runtime: Replace boost::function0 with std::function

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    84f518b View commit details
    Browse the repository at this point in the history
  24. runtime: Replace Boost with standard C++ in Apache Thrift code

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    123c673 View commit details
    Browse the repository at this point in the history
  25. audio: Replace Boost with standard C++

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3c0456d View commit details
    Browse the repository at this point in the history
  26. CI: Add Fedora 36, remove Fedora 34.

    In addition, Fedora 36 and Ubuntu 22.04 have changed the Python install
    scheme to put modules under <prefix>/local. Our default install location
    of /usr/local results in files being install under /usr/local/local. The
    change to GrPython.cmake puts default installs back in /usr/local.
    (Suggested by dl1ksv).
    
    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    013ff8f View commit details
    Browse the repository at this point in the history
  27. runtime: Replace BOOST_ASSERT with standard C++

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    77dcad3 View commit details
    Browse the repository at this point in the history
  28. runtime: Replace boost::shared_mutex with standard C++

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c0bb0b2 View commit details
    Browse the repository at this point in the history
  29. runtime: Replace PMT's Boost mutexes with standard C++

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4c758b3 View commit details
    Browse the repository at this point in the history
  30. runtime: Import PyQt5 before matplotlib to work around a bug

    This works around matplotlib/matplotlib#21998 by importing
    PyQt5 before matplotlib. The bug was introduced in matplotlib 3.5 and fixed in 3.5.2,
    but Ubuntu 22.04 ships with 3.5.1.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4f86753 View commit details
    Browse the repository at this point in the history
  31. runtime: Only catch Thrift transport exceptions

    This prevents gr-perf-monitorx from incorrectly reporting connection failures when
    unrelated exceptions occur.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    82f3136 View commit details
    Browse the repository at this point in the history
  32. runtime: Replace Boost with standard C++ in high resolution timer

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    69a6db5 View commit details
    Browse the repository at this point in the history
  33. Fix Mach-kernel timebase

    Signed-off-by: wakass <wakass@users.noreply.github.com>
    wakass authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    5bc0a71 View commit details
    Browse the repository at this point in the history
  34. Fix various broken fmt strings

    In a few instances, the format string does not match the types of the
    arguments. In other cases, the format string is not constant. I fixed
    both problems here, and verified that C++20 type checking is happy
    with the updated format strings.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    073df05 View commit details
    Browse the repository at this point in the history
  35. blocks: extend float_to_int test to values slightly > INT_MAX

    These values should correctly be clipped to INT_MAX.
    
    Signed-off-by: Michael Roe <michael-roe@users.noreply.github.com>
    michael-roe authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e3d3e52 View commit details
    Browse the repository at this point in the history
  36. runtime: Remove Boost::system and Boost::regex dependencies

    gnuradio-runtime no longer depends on Boost::system or Boost::regex,
    so it should be safe to remove these from target_link_libraries.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d336feb View commit details
    Browse the repository at this point in the history
  37. c++ generation: Fix some template errors

    Set cpp flag in low/high_pass_filter_taps block
    
    Replase firdes. by filter::firdes:: in all *_filter_taps blocks
    
    Switch to correct include file in filter_fir_filter_xxx block
    
    Enabling enable_legend and setting spectrum width in qtgui_freq_sink_x block
    
    Testing with gr-filter/examples/filter_taps.grc
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    ccb7085 View commit details
    Browse the repository at this point in the history
  38. Fix constructor & destructor template syntax

    C++20 is stricter about template syntax, and does not allow redundant
    template parameter lists in constructors and destructors. I've fixed
    the two instances that occur in GNU Radio, and verified that compiling
    in C++20 mode succeeds.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    68064a3 View commit details
    Browse the repository at this point in the history
  39. runtime: Replace boost::endian with standard C++

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7f2e545 View commit details
    Browse the repository at this point in the history
  40. c++ gen: fix template errors in blocks, qtgui

    Build cpp strings correctly
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c991f4e View commit details
    Browse the repository at this point in the history
  41. blocks: Fix rotator_cc scheduled phase inc updates

    The previous implementation was applying the rotation to the wrong
    indexes when multiple scheduled phase increment updates were processed
    in the same work call. This patch fixes the input/output buffer indexes
    on the `rotateN()` call and covers the multi-update scenario on QA. The
    previous QA implementation was not covering this bug because the
    multi-update test case was only checking the tags produced on each phase
    increment update and not whether the actual IQ output was correct.
    
    Signed-off-by: Igor Freire <igor@blockstream.com>
    igorauad authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    172ee3d View commit details
    Browse the repository at this point in the history
  42. grc: Add parentheses on arithmetic expressions

    * grc: Add parentheses on arithmetic expressions
    
    If a variable consists of an aritmetic expression an is used in another
    expression the expression should be put in parentheses
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    
    * Extend operator checking to * /
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    db051cf View commit details
    Browse the repository at this point in the history
  43. soapy: Fix typos in HackRF VGA Gain labels

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7f2af2a View commit details
    Browse the repository at this point in the history
  44. qtgui: Add missing <deque> include to spectrumdisplayform.h.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8b3d9c9 View commit details
    Browse the repository at this point in the history
  45. CI: Update conda recipe for Qt 5.15.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a7a4bf3 View commit details
    Browse the repository at this point in the history
  46. MNT: Re-rendered with conda-build 3.21.8, conda-smithy 3.20.0, and co…

    …nda-forge-pinning 2022.06.10.18.09.10
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    771cacd View commit details
    Browse the repository at this point in the history
  47. CI: Update conda package version and source path for easier local use.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e464733 View commit details
    Browse the repository at this point in the history
  48. wavelet: Remove unused dependency

    The gr-wavelet module has gnuradio-blocks in its target_link_libraries
    even though it doesn't use this module. Removing it will prevent
    extraneous libraries from being linked.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a15b533 View commit details
    Browse the repository at this point in the history
  49. pdu: Remove unused dependencies

    The gr-pdu module has gnuradio-blocks and gnuradio-filter in its
    target_link_libraries even though it doesn't use these modules. Removing
    them will prevent extraneous libraries from being linked.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    538b1f1 View commit details
    Browse the repository at this point in the history
  50. Replace calls to get_initial_sptr with make_block_sptr

    In 30643f0 all the calls to
    get_initial_sptr were replaced by make_block_sptr. However, there
    are a few places where get_initial_sptr still remains. This replaces
    the reminaing get_initial_sptr calls.
    
    Signed-off-by: Daniel Estévez <daniel@destevez.net>
    daniestevez authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    678f2e7 View commit details
    Browse the repository at this point in the history
  51. gr-qtgui: time_sink add cpp template

    This pr adds a cpp template to the time_sink
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    5ead5b8 View commit details
    Browse the repository at this point in the history
  52. cmake: Change iio and ad9361 targets to interface to fix macOS linking.

    Previously, if either libiio or libad9361 were found as a framework
    bundle on macOS, linking would fail because it would try to link to the
    framework directory and not the actual library file. This change sets
    the found library as an interface library on the imported target, which
    lets CMake automatically handle the case of a framework versus a normal
    library file.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e0b619c View commit details
    Browse the repository at this point in the history
  53. gr-qtgui: waterfall sink float Spectrum Width setting fails

    When generating cpp code for the waterfall sink (float),
    the setting of the Spectrum Width ( Half, Full ) is ignored
    and always set to Full
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    99f13ee View commit details
    Browse the repository at this point in the history
  54. pdu: Remove --no-as-needed linker option

    It appears this workaround was copied from the gr-wavelet module,
    but it's not needed here because gr-pdu doesn't depend on GSL.
    Removing it reduces the number of libraries that gr-pdu links to.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e9ef116 View commit details
    Browse the repository at this point in the history
  55. blocks: Add symbolinterleaver block

    * blocks: Add symbolinterleaver block
    
    This commit adds a symbol interleaver to gr-blocks.
    The idea is to specify an interleaver sequence to be able to interleave
    and deinterleave vectors of constant size. For convenience, the
    deinterleaver sequence is always derived. Thus, it is not necessary to
    manually derive the corresponding deinterleaver sequence.
    
    See issue #3637 for a preliminary discussion.
    #3637
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Add type specializations to symbolinterleaver
    
    All common GNU Radio port types are supported now, i.e. bb, cc, ff, ii,
    ss. More type definitions may be added easily.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Add GRC definition for symbolinterleaver
    
    In order to use the symbolinterleaver in GRC, the appropriate block
    definition was added.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Fix fmtlib include for conda build
    
    The conda CI fails to build GR with `#include <fmt/core.h>`. According
    to online discussions, the correct include is `#include
    <spdlog/fmt/fmt.h>`. There's some hope that this change makes all CI
    pass.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Rename to blockinterleaver
    
    The blockinterleaver was introduced as symbolinterleaver. Following a
    suggestion to this PR. The block is now called blockinterleaver.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Fix MSVC non-standard keyword handling
    
    Since MSVC doesn't conform to logical keywords `and` and `or` by
    default, we can't use them. The `/permissive-` flag might change that
    but breaks the build in other places.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Add huge interleaver test
    
    Since the `blockinterleaver` calls `set_output_multiple` with
    `interleaver_indices.size()`, we need to make sure this configuration
    doesn't break things.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Fix for missing keyword
    
    `not` is a C++ keyword that is not available by default in some
    compilers. Albeit, it is a part of the C++ standard.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Add block interleaver example
    
    This new block lacked an example. In the process some issues where
    identified and fixed.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    
    * blocks: Move blockinterleaving to kernel namespace
    
    The actual interleaver implementation is a kernel and thus should reside
    in the kernel namespace.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    jdemel authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1d7023f View commit details
    Browse the repository at this point in the history
  56. CI: make F36 builder (gcc12) use 0xFE as memory init pattern

    New feature in GCC12, helping find reliance on coincidental initialization
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    68f8566 View commit details
    Browse the repository at this point in the history
  57. fmt: Switch to fmtlib formatted strings

    fmtlib makes it easier to read the outcome of formatted strings. This is
    another place where fmtlib may show its benefits.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    jdemel authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6186851 View commit details
    Browse the repository at this point in the history
  58. filter: pfb channelizer demo fix

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    bdacb1e View commit details
    Browse the repository at this point in the history
  59. GRC/Screenshots: create ImageSurface with int dimensions

    Since cairo.ImageSurface is pixel-based, it only accepts integer dimensions.
    
    No need to round up – proper rounding and padding make this quite safe.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8c27ac6 View commit details
    Browse the repository at this point in the history
  60. runtime/thrift: update binding headers

    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c6588d0 View commit details
    Browse the repository at this point in the history
  61. iio/fmcomms2_{sink,source}: update binding headers

    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    dca63f3 View commit details
    Browse the repository at this point in the history
  62. add missing includes

    Signed-off-by: danielnachun <daniel.nachun@gmail.com>
    danielnachun authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    401477e View commit details
    Browse the repository at this point in the history
  63. analog: Fix docstring for noise source seed param

    Docstring incorrectly recommended negative seed values.
    
    Signed-off-by: Brett Gottula <bgottula@gmail.com>
    bgottula authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    51822b0 View commit details
    Browse the repository at this point in the history
  64. grc: gui_hint avoid useless error messages

    Wrong values in the GUI HINT field are correctly handled in the gui
    but lead to useless error messages in the terminal window
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    79caeee View commit details
    Browse the repository at this point in the history
  65. blocks: add example for wavfile sink

    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    799dd54 View commit details
    Browse the repository at this point in the history
  66. gr-trellis: add correct python bindings for metrics

    Fixes #5985
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d8541e3 View commit details
    Browse the repository at this point in the history
  67. digital: fix warning message in header/payload demux

    The warning message text for negative payload lengths was the same as
    the message for too large payload lengths, and was incorrect.
    
    Signed-off-by: esrh <esrh@gatech.edu>
    eshrh authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    262a934 View commit details
    Browse the repository at this point in the history
  68. analog: Change noise_source seed type to uint64_t

    Type of `seed` in noise_source was inconsistent with fastnoise_source
    and with the random number generator classes. This makes everything
    consistent.
    
    Signed-off-by: Brett Gottula <bgottula@gmail.com>
    bgottula authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    74b4f43 View commit details
    Browse the repository at this point in the history
  69. analog: noise_source, fastnoise_source: python bindings for [u]int64_t

    While we do want to have an uint64_t seed API in C++, Pybind will not
    allow us to pass in negative ints that way. If we instead settle on a
    wrapper that's int64_t, we only get positive ints up to 2**63-1. To get
    up to 2**64-1, we need to also explicitly declare an uint64_t wrapper,
    and forbid automatic type conversion.
    
    While figuring this out, I needed to add a bit of debug logging to
    fastnoise_source; that does feel like a slight enhancement, so I'm
    leaving that in.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    56772d0 View commit details
    Browse the repository at this point in the history
  70. iio/fmcomms2_sink.cc: Fix scalar value to match format le:S16/16>>0.

    Signed-off-by: AlexandraTrifan <Alexandra.Trifan@analog.com>
    AlexandraTrifan authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d3f64e5 View commit details
    Browse the repository at this point in the history
  71. github: remove unused templates

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    779c38c View commit details
    Browse the repository at this point in the history
  72. github: add 4.0git to issue template

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4fc890e View commit details
    Browse the repository at this point in the history
  73. GrPython.cmake: update method for determining installation directory

    In 6ff02a5, we changed the method of determining the installation
    directory to work with Fedora 36 and Ubuntu 22.04. For custom prefixes,
    this did not end up working on Ubuntu 22.04.
    
    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    593f0d9 View commit details
    Browse the repository at this point in the history
  74. ci: add ubuntu 22.04 worker

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2855525 View commit details
    Browse the repository at this point in the history
  75. zeromq: cppzmq>4.8 deprecation fixes

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2007277 View commit details
    Browse the repository at this point in the history
  76. qtgui: Add output message ports to range widgets

    * qtgui: Add output message ports to range widgets
    
    Signed-off-by: Charles Duffy <charles@dyfis.net>
    
    * qtgui: move gui_hint below showports
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    
    Co-authored-by: Josh Morman <jmorman@gnuradio.org>
    2 people authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    abf04c8 View commit details
    Browse the repository at this point in the history
  77. GrPybind: GR_PYBIND_MAKE_CHECK_HASH enable include option

    In the GR_PYBIND_MAKE_CHECK_HASH the include option is disabled.
    So the python bindings of the qt-gui modules can't be rebuild, as the
    the include directories of qt5 and qwt are not used at this point.
    
    Therefore in gr-qtgui/python/qtgui/bindings/CMakeLists.txt GR_PYBIND_MAKE
    is used instead of GR_PYBIND_MAKE_CHECK_HASH and the binding files *_python.cc
    have no header section.
    
    Now the include option is enabled in GR_PYBIND_MAKE_CHECK_HASH and uses
    the variable extra_includes.
    To be compatible with the actual calls to GR_PYBIND_MAKE_CHECK_HASH
    where no extra_includes are set, the argument for the include parameter
    in bind_intree_file.py now may be empty.
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    18fe2dd View commit details
    Browse the repository at this point in the history
  78. gr-qtgui: Build bindings automatically for qtgui/sink_c.h

    The CMakeLists.txt file shows how to provide required include directories
    for qt5 and qwt, so that the files
    sink_c_pydoc_template.h and sink_c_python.cc can be regenerated if necessary.
    
    Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
    dl1ksv authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a032e28 View commit details
    Browse the repository at this point in the history
  79. cmake: Allow GNU radio to be included in CMake-based projects

    * cmake: make paths relative to gnuradio root
    
    Signed-off-by: William G Ledbetter <williamgledbetter@gmail.com>
    
    * cmake: change GNURADIO_XXX_DIR to PROJECT_XXX_DIR
    
    Signed-off-by: William G Ledbetter <williamgledbetter@gmail.com>
    wgledbetter authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1d092f8 View commit details
    Browse the repository at this point in the history
  80. modtool: parse io signatures without gr:: prefix

    Previously, parsing signatures would fail if the io_signature call was
    not prefixed with gr::, which is not necessary if currently in the gr
    namespace anyway. This error may be encountered when copying gnuradio
    source files into a new module, which don't use the gr:: prefix. This
    patch addresses #5800.
    
    Signed-off-by: esrh <esrh@gatech.edu>
    eshrh authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    08e7d79 View commit details
    Browse the repository at this point in the history
  81. ci: add E275 to ignored error list

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8221996 View commit details
    Browse the repository at this point in the history
  82. gh: simplify PR template

    Remove the section at the top and the top level header
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2118a1f View commit details
    Browse the repository at this point in the history
  83. filter: Improve "invalid fractional bandwidth" error message

    Provide the invalid value alongside the accepted range to ease with
    debugging.
    
    Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
    kerel-fs authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d06377f View commit details
    Browse the repository at this point in the history
  84. doxygen reproducible paths

    Update STRIP_FROM_INC_PATH and EXCLUDE so that build paths
    are not part of the generated documentation.
    
    Signed-off-by: A. Maitland Bottoms <bottoms@debian.org>
    maitbot authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    08267d4 View commit details
    Browse the repository at this point in the history
  85. global: fix various typos

    * Fix various typos
    
    Found via `codespell -q 3 -L ans,busses,circularly,fo,hist,impres,inh,inout,ist,ith,merchantibility,nd,nin,numer,ro,shif,sinc,uint -S ./volk,CHANGELOG.md,./docs/RELEASE-NOTES*,/home/beast/Projects/repos/gnuradio/.packaging/debian/changelog,/home/beast/Projects/repos/gnuradio/.packaging/fedora/gnuradio.spec`
    
    Signed-off-by: luz paz <luzpaz@github.com>
    
    * Update the hash in the corresponding pybind11 bind file
    
    Signed-off-by: luz paz <luzpaz@github.com>
    
    Signed-off-by: luz paz <luzpaz@github.com>
    luzpaz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3b30fa0 View commit details
    Browse the repository at this point in the history
  86. blocks: fix copy block cpp template

    Signed-off-by: Paul Atreides <maud.dib1984@gmail.com>
    muaddib1984 authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b9c7f7b View commit details
    Browse the repository at this point in the history
  87. file source: update d_items_remaining on seek

    d_items_remaining was not being updated during seek, so end/repeat
    of playback would not happen at the correct time.
    
    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    78fbac1 View commit details
    Browse the repository at this point in the history
  88. cmake-format: propose a CMake formatting style

    Also, add a small helper so that we can use settings from .clang-format
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e29887c View commit details
    Browse the repository at this point in the history
  89. cmake: keep aligned sections from cmake-format

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    523c499 View commit details
    Browse the repository at this point in the history
  90. cmake: reformatted

    cmake-format -c .cmake-format.py \
          -i cmake/cmake_uninstall.cmake.in cmake/Modules/* \
          cmake/Toolchains/arm_cortex_a8_native.cmake \
          cmake/Toolchains/oe-sdk_cross.cmake \
          $(git ls-files | grep -x mako CMakeLists.txt )
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    39b56fa View commit details
    Browse the repository at this point in the history
  91. global: Fix build failures with libfmt-9.0.0 in logger

    libfmt-9.0.0 disabled automatic std::ostream insertion operator
    (operator<<) discovery when fmt/ostream.h is included to prevent
    ODR violations. It require explicit tagging of ARG types.
    
    Tried the following:
    fmt::streamed and fmt::ostream_formatter not compatible with
    older versions, FMT_DEPRECATED_OSTREAM will be removed in the
    next major release so can't use.
    
    With the help of @mormj, fixed this issue by not passing pointers
    of types not supported by libfmt into the logging functions.
    
    Bug: https://bugs.gentoo.org/858659
    Closes: #6052
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    vowstar authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3f3d49b View commit details
    Browse the repository at this point in the history
  92. grc: add more terminals to the auto-detector

    xfce4-terminal is the terminal emulator for xfce users
    urxvt is a commonly used terminal emulator preferred by many over xterm
    Support for gnome and kde specific terminal emulators are already here, so
    please accept this as well.
    
    Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
    
    Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
    ZeroChaos- authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f8409e2 View commit details
    Browse the repository at this point in the history
  93. qtgui: fix two QtRangeWidget bugs

    - in the GRC yml file the widget was incorrectly stored in the variable
    - in the py.cmakein file a variable was misspelled and caused errors
    
    Signed-off-by: Miklos Maroti <mmaroti@gmail.com>
    
    Signed-off-by: Miklos Maroti <mmaroti@gmail.com>
    mmaroti authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    26145e6 View commit details
    Browse the repository at this point in the history
  94. iio: return correct samples for second channel

    The RX2 in-phase was returning the same samples as RX1 in-phase
    The index in function fmcomms2_source_impl() needs to be incremented by 2
    
    Fix submitted by Nicolas Florio (github: nicolasflorio1)
    
    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1ff8749 View commit details
    Browse the repository at this point in the history
  95. runtime/qa: link against spdlog when not linking through the runtime …

    …library
    
    Some tests use spdlog indirectly, but avoid linkage through the gnuradio::gnuradio-runtime target.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    afae463 View commit details
    Browse the repository at this point in the history
  96. digital: deprecate crc32/16_async blocks

    These are functionally superceded by the generic crc_append and crc_check
    blocks and will be removed in a future release
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c6871e2 View commit details
    Browse the repository at this point in the history
  97. uhd: Add uhd.find to the pybind11 interface

    `uhd_find_devices` would be the default shell function to discover available USRPs.
    PyUHD provides a function `uhd.find("")` that does the job. Besides, in
    `gr-uhd/python/uhd/__init__.py` there is a definition of `find_devices`.
    However, this function is broken at the moment because it tries to use a `find_devices_raw`
    function from the gr-uhd pybind11 interface that is not available.
    With this commit, we may be able to fix `find_devices` as well.
    
    The actual change is just copied from UHD `host/lib/device_python.cpp`.
    Alternative solutions would include a new function in C++ and a pybind11 wrapper.
    
    Signed-off-by: Johannes Demel <demel@ant.uni-bremen.de>
    jdemel authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1837e36 View commit details
    Browse the repository at this point in the history
  98. gr-soapy: Add gr-uhd tags to source blocks

    Tag the output stream with the frequency, sample rate and hardware time.
    Following gr-uhd's rx_freq, rx_rate and rx_time tags.
    
    Closes #6106
    
    Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
    NZSmartie authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    ffdc583 View commit details
    Browse the repository at this point in the history
  99. conda: Make git tag parsing for package version more robust.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4cc0713 View commit details
    Browse the repository at this point in the history
  100. qtgui: Add missing #include <stdexcept> for std::runtime_error.

    Revealed in Windows build using Boost 1.78.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3bab946 View commit details
    Browse the repository at this point in the history
  101. gr-fec: Remove GSL from public link interface

    Signed-off-by: Vasil Velichkov <vvvelichkov@gmail.com>
    velichkov authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    325b166 View commit details
    Browse the repository at this point in the history
  102. blocks: Including missing <vector> in blockinterleaver.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1f23422 View commit details
    Browse the repository at this point in the history
  103. blocktool: when no pygccxml, inherit gr::block

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    487daa9 View commit details
    Browse the repository at this point in the history
  104. CI: Add workflow to update conda CI by commenting in PR with "/rerender"

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    dc15c2f View commit details
    Browse the repository at this point in the history
  105. digital: Fix buffer overrun in Chunks to Symbols block

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b6abe3e View commit details
    Browse the repository at this point in the history
  106. blocks: Fix flaky message_strobe and mesage_debug tests

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    315ba22 View commit details
    Browse the repository at this point in the history
  107. blocks: Convert argument to int in Python callbacks

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    961c198 View commit details
    Browse the repository at this point in the history
  108. zmq: add option to block or drop samples when high watermark is reached

    Signed-off-by: Sam <sam@whitings.org>
    
    Signed-off-by: Sam <sam@whitings.org>
    Co-authored-by: Sam <shwhiti@sandia.gov>
    2 people authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    469673d View commit details
    Browse the repository at this point in the history
  109. pkg: Remove out of date Debian and Fedora packaging

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    61ee1a2 View commit details
    Browse the repository at this point in the history
  110. blocks/blockinterleaving.h: add missing cstddef header (required for …

    …size_t)
    
    Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
    trabucayre authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0de7151 View commit details
    Browse the repository at this point in the history
  111. digital: Fix CRC16 endianness

    Signed-off-by: Michael Roe <michael-roe@users.noreply.github.com>
    
    Signed-off-by: Michael Roe <michael-roe@users.noreply.github.com>
    Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
    2 people authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6adc0e9 View commit details
    Browse the repository at this point in the history
  112. wavelet: Remove --no-as-needed linker option

    This option causes a lot of extraneous libraries to be linked. It
    may no longer be needed.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    74ccbee View commit details
    Browse the repository at this point in the history
  113. uhd: rfnoc_graph: Added logging

    - Adds loggers
    - Logs RFNoC connections made
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    985f1ce View commit details
    Browse the repository at this point in the history
  114. uhd: Fix consistent override warnings

    The RFNoC block impls had some missing overrides.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    40c48fd View commit details
    Browse the repository at this point in the history
  115. uhd: rfnoc: Fix property setting on rfnoc_block

    This adds the set_/get_property APIs into rfnoc_block and uses it in the
    constructor to provide user settings.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d5de745 View commit details
    Browse the repository at this point in the history
  116. uhd: rfnoc: Add Python bindings for rfnoc_block_generic

    This exposes rfnoc_block_generic into Python land. This is useful for
    exposing RFNoC blocks that do not have explicit, C++-based block
    controllers in gr-uhd (or in out-of-tree modules).
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    779ea2a View commit details
    Browse the repository at this point in the history
  117. uhd: rfnoc: Allow streamers to consume stream_args

    The GRC bindings for the TX/RX streamers now allow setting stream args.
    This allows passing stream arguments to UHD, e.g., for raw UDP
    streaming, or for setting spp values.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3011d48 View commit details
    Browse the repository at this point in the history
  118. uhd: rfnoc: Enable vlen and types for streamers

    - RX and TX streamers can now set vector lengths
    - The RX streamer GRC binding gets a 'byte' type
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d64f90a View commit details
    Browse the repository at this point in the history
  119. uhd: rfnoc: Add set_properties to rfnoc_block

    This exposes uhd::rfnoc::node_t::set_properties() into GNU Radio space.
    It allows setting properties via string-based dictionary (string keys,
    string values).
    
    This commit also removes general_work() from the Python bindings, which
    was exposed accidentally via bindtool and should not be called from
    Python (it only throws an exception anyway).
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    22a6d0f View commit details
    Browse the repository at this point in the history
  120. uhd: rfnoc: Bind set/get_property APIs

    This adds gr::uhd::rfnoc_block::set_property and get_property to the
    Python API.
    
    The tricky bit is that these are templated functions. The Python
    versions therefore receive an optional, fourth argument 'type_hint'
    which loosely corresponds to the template argument in C++.
    
    If there is no type hint, we try and guess the correct type based on
    what came in from Python. However, that can be ambiguous (e.g., Python's
    integer could be an int, size_t, long long, uint32_t or whatever in
    C++). For these cases, we allow a string-based representation of the
    type.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9b01dfa View commit details
    Browse the repository at this point in the history
  121. uhd: rfnoc: Add bindings and example for keep 1 in N

    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    543fb52 View commit details
    Browse the repository at this point in the history
  122. qtgui: cmake: Align CMake structure with other modules

    This adds two changes to the qtgui CMake:
    
    - The structure of lib/CMakeLists.txt now matches that of other
      in-tree modules. This is so that in the future, we can have optional
      sources, e.g. if we make QtOpenGL an optional dependency, and want to
      add blocks based on its existence.
    - We find the Qt5 package with QtWidgets as a COMPONENT, rather than
      directly for Qt5Widgets. This allows adding OPTIONAL_COMPONENTS later
      on.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a8204c9 View commit details
    Browse the repository at this point in the history
  123. runtime: fix type replication in py_io_signature

    Original Python code concatenates list with a tuple,
    and that fails. This patch replaces list by a tuple,
    so now it works correctly.
    This fixes issue #6243
    
    Signed-off-by: Roman Dobrodii <ztcoils@gmail.com>
    romavis authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7b1ad9c View commit details
    Browse the repository at this point in the history
  124. fec: Prevent integer overflow in path metric calculations

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1a2add5 View commit details
    Browse the repository at this point in the history
  125. blocks: Allow for floating point error in moving average test

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    03ef980 View commit details
    Browse the repository at this point in the history
  126. fft: Increase tolerance in qa_window test

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7c7eaf6 View commit details
    Browse the repository at this point in the history
  127. digital: Account for floating point error in loop conditions

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0c2b7b1 View commit details
    Browse the repository at this point in the history
  128. digital: Fix slicer implementation in qa_constellation

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e459bd8 View commit details
    Browse the repository at this point in the history
  129. blocks: Remove duplicate test case

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b4c7dfe View commit details
    Browse the repository at this point in the history
  130. blocks: Fix typo in test name

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c3507d2 View commit details
    Browse the repository at this point in the history
  131. digital: Rename test to avoid duplicate name

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f47f9d7 View commit details
    Browse the repository at this point in the history
  132. digital: Remove duplicate variable definition

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f131f24 View commit details
    Browse the repository at this point in the history
  133. fec: Fix LDPC output size calculation

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    fe5c0f8 View commit details
    Browse the repository at this point in the history
  134. fec: Remove duplicate test from qa_fecapi_ldpc

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    fff8f5d View commit details
    Browse the repository at this point in the history
  135. fec: Remove unused member variable

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    869d9e0 View commit details
    Browse the repository at this point in the history
  136. fec: Rename tests to avoid name collision

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    24b2b2d View commit details
    Browse the repository at this point in the history
  137. analog: Use realistic signals for CTCSS squelch tests

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    821b0b8 View commit details
    Browse the repository at this point in the history
  138. analog: Use approximate equality to check for standard CTCSS tones

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f1c82eb View commit details
    Browse the repository at this point in the history
  139. docs: Improve documentation in hilbert_fc.h

    Signed-off-by: Sahil Siddiq <icegambit91@gmail.com>
    
    Update hash in hilbert_fc_python.cc
    valdaarhun authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    02ddec5 View commit details
    Browse the repository at this point in the history
  140. blocks: Use mutex instead of std::atomic for probe synchronization

    It appears that std::atomic does not work on all platforms. Switching to
    the mutex approach already sued by the vector version of this block
    avoids the problem.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4748f1c View commit details
    Browse the repository at this point in the history
  141. uhd: Declare float to time_spec_t implicitly convertible

    Without this declaration, function calls that require a time_spec_t
    argument must be provided with such an argument, even if there is
    a default argument.
    
    For example, in the RFNoC DDC block, we couldn't call set_freq() as
    such:
    
    ```python
    ddc_block.set_freq(0.0, 0)
    ```
    
    It would produce the following error:
    ```
    TypeError: set_freq(): incompatible function arguments. The following
        argument types are supported:
    1. (self: gnuradio.uhd.uhd_python.rfnoc_ddc,
        freq: float,
        chan: int,
        time: gnuradio.uhd.uhd_python.time_spec_t = 0.0) -> float
    ```
    
    Even though the argument `time` is optional, the default value of 0.0 is
    not able to satisfy the requirements. By adding the
    `py::implicitly_convertible` call, we declare float convertible to time
    spec, and the call above can proceed.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0ff2531 View commit details
    Browse the repository at this point in the history
  142. blocks: Increase tolerance in qa_throttle tests

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0caa91a View commit details
    Browse the repository at this point in the history
  143. network: Move boost::asio namespace to asio

    This makes boost::asio look identical to non-Boost asio within our
    block definitions.
    
    Signed-off-by: japm48 <japm48gh@gmail.com>
    Co-authored-by: Martin Braun <martin.braun@ettus.com>
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    2 people authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    92b099d View commit details
    Browse the repository at this point in the history
  144. CI: trim the list of skipped tests in Conda builds

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    63b3d5e View commit details
    Browse the repository at this point in the history
  145. fec: Add bindings for ldpc_G_matrix::n and ldpc_G_matrix::k

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    19dfd4b View commit details
    Browse the repository at this point in the history
  146. fec: Fix shared pointer bug in ldpc_G_matrix_impl

    In one instance, the deleter was not specified when constructing a
    shared pointer to a matrix. I've added it here.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c2a251c View commit details
    Browse the repository at this point in the history
  147. blocks: Fix file tests to work on Windows

    As noted in the documentation for NamedTemporaryFile, it is not possible
    on all platforms to open the temporary file a second time before closing
    it. Thus, we need to be sure to close the file before opening it in a
    flowgraph.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9f8ab0a View commit details
    Browse the repository at this point in the history
  148. utils: Allow fallback when readline is not available

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f6aa4b9 View commit details
    Browse the repository at this point in the history
  149. utils: Move out of the module directory before attempting to delete it

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e725c8a View commit details
    Browse the repository at this point in the history
  150. blocks: Remove ControlPort tests

    Python bindings for ControlPort were not ported to pybind11, so these
    tests have been non-functional since GNU Radio 3.9.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c20639f View commit details
    Browse the repository at this point in the history
  151. runtime: make logging in rpcpmtconverters_thift work with fmt v9

    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d8a1603 View commit details
    Browse the repository at this point in the history
  152. filter: use non-zero taps for fft filter qa

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b0f1412 View commit details
    Browse the repository at this point in the history
  153. runtime: Fix PMT serialization of C32 vectors

    Prior to this change, C32 vectors were inadvertently serialized as
    (imag, real) on little-endian platforms and (real, imag) on big-endian
    platforms.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0a6c80b View commit details
    Browse the repository at this point in the history
  154. CI: Lower timeouts on formatting & Doxygen jobs

    GitHub Actions has a default timeout of 360 minutes. The formatting and
    Doxygen jobs only take about two minutes each, so we should lower the
    timeout to ensure that these jobs fail in a timely manner if a hang
    occurs.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    65eb397 View commit details
    Browse the repository at this point in the history
  155. blocks: Read WAV file frames correctly in qa_wavfile

    Python's Wave_read.readframes() function returns samples in machine
    order, so they should be unpacked in machine order and not
    little-endian.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    95b8583 View commit details
    Browse the repository at this point in the history
  156. cmake: Fix excess quoting of srcdir environment variable

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e128d74 View commit details
    Browse the repository at this point in the history
  157. dtv: Work around file sink close bug

    The close() method in the File Sink block does not work, so it's
    necessary (on Windows, at least) to wait for the File Sink to be
    destroyed before the output file can be deleted.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e47e623 View commit details
    Browse the repository at this point in the history
  158. CI: Re-enable metainfo_test on Ubuntu 20.04

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    324bb96 View commit details
    Browse the repository at this point in the history
  159. blocks: Increase tolerance in message_strobe and message_debug tests

    These tests fail on almost every OSX CI run, with readings as low as 4
    on the second num_message() call, and as low as 12 on the third.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f66542f View commit details
    Browse the repository at this point in the history
  160. CI: Re-enable qa_qtgui tests

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    11e298a View commit details
    Browse the repository at this point in the history
  161. qtgui: Fix code generation for Msg CheckBox & Digital Number Control

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d9cee47 View commit details
    Browse the repository at this point in the history
  162. CI: conda: Update recipe to use Python 3.10

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b312027 View commit details
    Browse the repository at this point in the history
  163. CI: conda: Update macOS deployment target

    Use updated CXXFLAGS that allows for the default (oldest) deployment
    target.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    197c29f View commit details
    Browse the repository at this point in the history
  164. CI: conda: Update deps for changes and to match conda-forge recipe

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2cc6bb5 View commit details
    Browse the repository at this point in the history
  165. MNT: Re-rendered with conda-build 3.22.0, conda-smithy 3.21.3, and co…

    …nda-forge-pinning 2022.11.02.18.55.19
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b243585 View commit details
    Browse the repository at this point in the history
  166. network: Replace boost::circular_buffer with gr::buffer

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4925c0b View commit details
    Browse the repository at this point in the history
  167. network: Eliminate local buffers

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    82d3f1f View commit details
    Browse the repository at this point in the history
  168. network: Fix unaligned reads

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a1b4eb7 View commit details
    Browse the repository at this point in the history
  169. network: Discard data if necessary before writing to local queue

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    5a5d5e0 View commit details
    Browse the repository at this point in the history
  170. qtgui: Fix code generation for Toggle Button & Toggle Switch

        
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c6298f4 View commit details
    Browse the repository at this point in the history
  171. digital: Make the add_field functions portable

    The add_field16, add_field32, and add_field64 functions have undefined
    behaviour because they copy the machine representation of multi-byte
    integers directly into the output buffer. As a result, they do not
    produce the correct output on big-endian systems. Switching to bit
    shifts will ensure consistent operation across platforms.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    ac8efa0 View commit details
    Browse the repository at this point in the history
  172. cmake: Ensure that target names are unique

    The current 20-bit hash is prone to collisions. Using the full hash
    avoids that problem.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4001ea6 View commit details
    Browse the repository at this point in the history
  173. blocks: Increase number of samples and tolerance in qa_throttle

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    fef34fb View commit details
    Browse the repository at this point in the history
  174. pdu: Increase tolerance in flaky test again

        
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b017b6c View commit details
    Browse the repository at this point in the history
  175. pdu: Remove unused variables from test

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    75f82a8 View commit details
    Browse the repository at this point in the history
  176. runtime: Use streaming to print the stack trace

    This avoids issues with register lengths varying by platform.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    cf2cae8 View commit details
    Browse the repository at this point in the history
  177. runtime: Fix signed-to-unsigned comparison

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    cffda85 View commit details
    Browse the repository at this point in the history
  178. iio: Fix signed-to-unsigned comparison

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c1b8c9b View commit details
    Browse the repository at this point in the history
  179. CI: Add Debian 32-bit build

    Running on a 32-bit platform should help catch more floating-point and
    integer-length bugs.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    daccb74 View commit details
    Browse the repository at this point in the history
  180. digital: Use little-endian for CRC32 regardless of platform

    This fixes the corresponding QA tests, which used to fail on big-endian
    platforms.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    64243d2 View commit details
    Browse the repository at this point in the history
  181. CI: Avoid unnecessary test skips on OSX

    qa_fecapi_cc_buffer_overflow is skipped because qa_fecapi_cc is a
    substring of its test name. Tightening the test regex fixes tihs.
    
    qa_hier_block2 in gnuradio-runtime is skipped because it shares the same
    name as a test in gr-blocks. I've renamed the gr-blocks test to avoid
    the conflict.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    43a9b2a View commit details
    Browse the repository at this point in the history
  182. gr-dtv: Only assign secondary stream input/output pointer if used.

    Signed-off-by: Ron Economos <w6rz@comcast.net>
    drmpeg authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    beffc46 View commit details
    Browse the repository at this point in the history
  183. gr-dtv: Remove quotes from num_streams attribute.

    Signed-off-by: Ron Economos <w6rz@comcast.net>
    drmpeg authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    fb46c7f View commit details
    Browse the repository at this point in the history
  184. QA: Make assertions more specific

    This will result in more detailed error messages, making it easier to
    diagnose test failures.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b53fa2a View commit details
    Browse the repository at this point in the history
  185. analog: pll blocks pybind inherit control_loop

    The python bindings for pll blocks did not have the base class
    inheritance for control loop, so these methods were not available as
    callbacks
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    97ff06a View commit details
    Browse the repository at this point in the history
  186. analog: remove wrapped inherited methods from control_loop

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    787fe99 View commit details
    Browse the repository at this point in the history
  187. gr-blocks: print correct error message for soundfile sf_open

    Signed-off-by: Jiří Pinkava <j-pi@seznam.cz>
    pinkavaj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a3467dc View commit details
    Browse the repository at this point in the history
  188. Revert "qtgui: fix two QtRangeWidget bugs"

    This reverts commit 94d6ed9.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8018bdb View commit details
    Browse the repository at this point in the history
  189. Revert "qtgui: Add output message ports to range widgets"

    This reverts commit 0427b2a.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a5fec56 View commit details
    Browse the repository at this point in the history
  190. analog: fix agc3 on windows, logical bugs

    * Windows implementation had several bugs
      * inverted "is this the first items" logic
      * inverted "1/magnitude finite" logic
      * allocations/deallocations every work()
      * specifying alignment of std::vector header doesn't align data
    * non-windows / GNU implementation had bug
      * Variable-length arrays in C++ are GCC extension
    * both versions had several bugs, both hard and perf
      * thread-safety of setters of floating point numbers
      * first-run work code's numerical output values depend on workload
        size (but we're in output_multiple mode, so easy to fix)
      * counter-productive cache thrashing to improve vectorization at the
        expense of having VLA/runtime allocation
      * unnecessary division in comparison
    * AGC3 test on windows was disabled, which hid the above bugs
    
    By removing one unnecessary hot-loop division, at worst-case identical
    performance replace VOLK's invsqrt with a plain sqrt, by which I divide.
    
    Introduced mutable setter lock.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    26466b0 View commit details
    Browse the repository at this point in the history
  191. qtgui: Set a minimum size for the Distance Radar widget

    This avoids an exception when the size of the widget reaches zero.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    bedc45c View commit details
    Browse the repository at this point in the history
  192. runtime: Move block_gateway from gnuradio-runtime into gr_python

    This eliminates the need to link gnuradio-runtime with Python and fixes
    segfaults on conda+macOS when trying to use any Python block. Those
    segfaults would happen because the Python library was loaded twice: once
    dynamically from linking with gnuradio-runtime, and once from the
    running Python interpreter which conda-forge links statically with
    libpython. The block_gateway was only used from its Python binding, so
    the implementation now just lives there.
    
    This is an API change!
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d9c8d4a View commit details
    Browse the repository at this point in the history
  193. CI: conda: Enable macOS tests using Python blocks.

    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a5d76af View commit details
    Browse the repository at this point in the history
  194. qtgui: Remove extraneous includes of <pybind11/embed.h>

    None of the declarations in the embed.h header are needed to compile
    these Python bindings.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    849b543 View commit details
    Browse the repository at this point in the history
  195. qtgui: Remove all traces of Python from include/lib.

    After commit 956f332 removing pyqtwidget in favor of only qtwidget,
    Python has not actually been needed to compile gr-qtgui (other than the
    Python bindings). This removes all remaining traces of Python, including
    including the Python.h header and linking with Python.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e9135ec View commit details
    Browse the repository at this point in the history
  196. cmake: Switch suitable PUBLIC target_link_libraries to PRIVATE.

    Declaring a library as PUBLIC in target_link_libraries tells downstream
    linkers of the target to also need to link to the PUBLIC libraries. This
    is necessary when the headers of those libraries are required by the
    public headers of the target library. There were some instances where
    linked libraries were declared PUBLIC but were not required to use the
    public headers, so they have been switched to PRIVATE declarations. This
    will allow OOT modules to reduce their linking and dependencies in some
    cases.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    da115b7 View commit details
    Browse the repository at this point in the history
  197. logging: add an in-memory logger for debugging

    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7f7d703 View commit details
    Browse the repository at this point in the history
  198. runtime: Add .logger property to block gateway

    Now, python blocks can also log using self.logger.{trace,debug,info,warn,error,critical}("string")
    
    Subtasks:
    
    * Adding log level setters/getters to Python interface of logging system
    * Removal of misleading commentary
    * unit tests
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1fb9540 View commit details
    Browse the repository at this point in the history
  199. logging: raise default log level to "info" (from "off")

    Rationale: the average, especially the new user, benefits from logging.
    
    Required some overly talkative blocks to calm down.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    db0cf55 View commit details
    Browse the repository at this point in the history
  200. digital: avoid unnecessary refcount modifications in often-invoked ms…

    …g handler
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2d31afa View commit details
    Browse the repository at this point in the history
  201. grc: Fix cairo assertion failure by not storing reference to context.

    The connection flowgraph element previously kept a reference to the
    cairo context passed to the draw function in order to be able to use
    cairo's `in_stroke` function to determine if the mouse cursor was on the
    path of the curved connection line. As it turns out, this is dangerous
    because GTK is constantly destroying and creating new cairo contexts
    and surfaces.
    
    This avoids keeping a reference to the cairo context by initializing a
    local cairo context with the connection class for the sole purpose of
    storing the curved path and calculating `in_stroke`. The local context
    and surface can be very basic because not much is needed for
    `in_stroke`, and the context can persist and just have its path replaced
    when it needs to be updated.
    
    On Windows, resizing the GRC window (and particularly the flowgraph
    canvas) to a larger size than its initial size would cause the
    underlying cairo surface to be destroyed and a new one created. The
    cairo context stored for the curved connection line had a reference to
    that destroyed surface, and closing that context (upon replacing it with
    a new one) would attempt decrement the reference count on the surface.
    This would produce an assertion failure that crashed GRC stating
    `Assertion failed: CAIRO_REFERENCE_COUNT_HAS_REFERENCE
    (&surface->ref_count)`.
    
    On macOS with the Quartz backend, a related crash and assertion error
    would manifest when connecting blocks.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b325cbb View commit details
    Browse the repository at this point in the history
  202. grc: Don't query and use display scale factor in DrawingArea size.

    All this did was request a larger size for the cairo surface of the
    DrawingArea on which this is set, which very roughly worked around the
    cairo context reference bug for users with high DPI displays. Now that
    this bug is fixed by the previous commit, this is not necessary.
    
    It's important to note that GTK takes care of the DPI scaling for high
    DPI displays behind the scenes, so this doesn't even help to scale the
    flowgraph properly. If there are further bugs with scaling, don't look
    here.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    eae2e70 View commit details
    Browse the repository at this point in the history
  203. uhd: grc: Add missing block YAML files to uhd.tree.yml

    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3a0c695 View commit details
    Browse the repository at this point in the history
  204. uhd: examples: Add missing examples to CMake

    Signed-off-by: Martin Braun <martin@gnuradio.org>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c0a3419 View commit details
    Browse the repository at this point in the history
  205. uhd: rfnoc: Update block controllers to match gr-ettus

    This puts gr-uhd at feature-parity with gr-ettus for the following
    blocks: FIR filter, siggen, and window. It also updates an issue in
    rfnoc_block regarding setting of properties.
    
    The FIR filter has different features starting in UHD 4.2. This is
    checked with a compiler flag.
    
    GRC Examples for those new blocks are also updated.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    adf50f6 View commit details
    Browse the repository at this point in the history
  206. uhd: rfnoc: Add DUC->Radio Example

    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    347208d View commit details
    Browse the repository at this point in the history
  207. uhd: rfnoc: Improve error message when block not found

    When an RFNoC block is requested but not found, it now prints the exact
    block it was looking for in the exception string.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8f6a2bf View commit details
    Browse the repository at this point in the history
  208. uhd: rfnoc streamers: Allow specifying adapter IDs

    Includes the following changes:
    - Add a set_streamer_adapter_id() API call to rfnoc_graph. This sets an
      adapter ID for later calls to connect().
    - Amend the GRC bindings for the RX and TX streamers to allow specifying
      the adapter ID. It will call rfnoc_graph::set_streamer_adapter_id() to
      do so in the autogenerated Python code.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6d34f2e View commit details
    Browse the repository at this point in the history
  209. uhd: rfnoc: Generate correct Python when using clock/time source

    In GRC, there was an issue where you could select a clock/time source
    for the RFNoC graph, but it was never passed on to the graph object.
    This fixes the issue such that the correct device args are generated.
    
    Signed-off-by: Martin Braun <martin.braun@ettus.com>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    468fa59 View commit details
    Browse the repository at this point in the history
  210. uhd: rfnoc: Fix add bindings and example for keep 1 in N

    In ea8b4b6, the GRC bindings were added with an incorrect key.
    
    Signed-off-by: Martin Braun <martin@gnuradio.org>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8f00d3e View commit details
    Browse the repository at this point in the history
  211. zeromq: Increase wait times in tests

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3a58a5b View commit details
    Browse the repository at this point in the history
  212. CI: Update Fedora to 36/37

    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    eed9203 View commit details
    Browse the repository at this point in the history
  213. ci: use latest version of clang-format-lint

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f90ae74 View commit details
    Browse the repository at this point in the history
  214. pybind: clang-format as used by v14

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6a94d19 View commit details
    Browse the repository at this point in the history
  215. Update .clang-format rules

    to reflect added fields up to v14
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    dfcfc27 View commit details
    Browse the repository at this point in the history
  216. blocks: Fix invalid PCH warning

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0da0b19 View commit details
    Browse the repository at this point in the history
  217. runtime: Fix deprecation warnings

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0408045 View commit details
    Browse the repository at this point in the history
  218. grc: Continue processing connections after an invalid one occurs

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d97bc20 View commit details
    Browse the repository at this point in the history
  219. uhd: Re-enable uhd.find_devices()

    This Python function was accidentally broken when converting from SWIG
    to Pybind11. In 9c64b6d, uhd.find() was created as a replacement, but
    that leaves uhd.find_devices() in a broken state.
    
    This performes two changes:
    - The binding for uhd.find() is moved into python_bindings.cc from
      usrp_block_python.cc.
    - The Python version of find_devices() now correctly uses uhd.find()
      under the hood.
    - The SWIG version differentiated between Python- and C++-versions of
      device_addr_t and remapped that, which we can skip with Pybind11
    
    Signed-off-by: Martin Braun <martin@gnuradio.org>
    mbr0wn authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f95a6bf View commit details
    Browse the repository at this point in the history
  220. audio: Remove support for OSX 10.3 and earlier

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9d1e045 View commit details
    Browse the repository at this point in the history
  221. Doxygen: Remove warnings from gr-uhd and gr-zeromq.

    Signed-off-by: Ron Economos <w6rz@comcast.net>
    drmpeg authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2f50eba View commit details
    Browse the repository at this point in the history
  222. uhd: Fix inconsistent override warnings

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c0ff7d2 View commit details
    Browse the repository at this point in the history
  223. runtime: Remove obsolete Thrift patch

    The bug was fixed in Thrift 0.10.0, released in 2017.
    
    https://issues.apache.org/jira/browse/THRIFT-3932
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e8d5b27 View commit details
    Browse the repository at this point in the history
  224. runtime: Fix Thrift deprecation warning

    In Thrift 0.10.0, the byte type was deprecated and replaced with i8.
    
    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4bfc437 View commit details
    Browse the repository at this point in the history
  225. qtgui: Remove conditional code targeting QWT 6.0 and earlier

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a328f37 View commit details
    Browse the repository at this point in the history
  226. qtgui: Fix Qwt version check

    Signed-off-by: Clayton Smith <argilo@gmail.com>
    argilo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8a75dcd View commit details
    Browse the repository at this point in the history
  227. digital: Pass tags vector to OFDM equalizer

    Change gr::digital::ofdm_frame_equalizer_vcvc block to pass the tags to
    the equalizer that it aggregates. The gr::digital::ofdm_equalizer_base
    interface allows passing the tags vector to equalize() but in current
    implementation the default argument is used (empty vector).
    
    Fixes #6422
    Signed-off-by: Mihai Stef <mihai.stef@com.utcluj.ro>
    mihaipstef authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4e59f00 View commit details
    Browse the repository at this point in the history
  228. filter: python: Fix polezero_plot.py compatibility with numpy 1.24

    np.float as an alias for float has been deprecated and removed, and
    np.float_ or np.float64 is undoubtedly what was wanted here anyway.
    
    Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
    ryanvolz authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    af5775f View commit details
    Browse the repository at this point in the history
  229. global: replace boost::any with std::any

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3b9494b View commit details
    Browse the repository at this point in the history
  230. uhd: add async msgs port to usrp_source block and publish overflows

    Signed-off-by: ph1t0 <fito@ektocomms.space>
    ph1t0 authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    907ceed View commit details
    Browse the repository at this point in the history
  231. grc: snippets in init before blocks

    Allow new snippet insertion point in the init function but before blocks
    are instantiated.  This allows actions or objects that might be required
    in the constructors of the blocks, such as connecting to a server, to be
    initialized
    
    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a262a24 View commit details
    Browse the repository at this point in the history
  232. grc: set the gtk version before importing

    Importing gtk before requiring a specific version can cause issues
    if multiple versions of gtk are installed on a system.
    
    Signed-off-by: Seth Hitefield <sdhitefield@gmail.com>
    sdh11 authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b9a0994 View commit details
    Browse the repository at this point in the history
  233. grc: fixing logger prefix

    Signed-off-by: Seth Hitefield <sdhitefield@gmail.com>
    sdh11 authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    fefaf7f View commit details
    Browse the repository at this point in the history
  234. fec: fix typos in upper_convolve() and lower_convolve()

    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9c8b4c7 View commit details
    Browse the repository at this point in the history
  235. grc: do not render empty snippet, and add warning

    Signed-off-by: Josh Morman <jmorman@gnuradio.org>
    mormj authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    7e8f485 View commit details
    Browse the repository at this point in the history
  236. Update dvbs2_modulator_bc_impl.cc

    I have described the issue here
    
    #6459
    Signed-off-by: Fran Boric <fboric@yahoo.com>
    FranBoric authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9968b7f View commit details
    Browse the repository at this point in the history
  237. runtime: Make block buffer size customizable

    Signed-off-by: theartful <aessam.dahy@gmail.com>
    theartful authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3b05392 View commit details
    Browse the repository at this point in the history
  238. iio: cmake: revert libad9361 linkage back to public

    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b9c7d6b View commit details
    Browse the repository at this point in the history
  239. uhd: rfnoc: remove extra closing parenthesis

    Signed-off-by: Grant Meyerhoff <grant.meyerhoff@ni.com>
    gmeyerho authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c30d7a8 View commit details
    Browse the repository at this point in the history
  240. uhd: rfnoc: Add bindings and example for AddSub block

    Signed-off-by: Grant Meyerhoff <grant.meyerhoff@ni.com>
    
    Co-authored-by: Martin Braun <martin.braun@ettus.com>
    Co-authored-by: Grant Meyerhoff <grant.meyerhoff@ni.com>
    2 people authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0fca898 View commit details
    Browse the repository at this point in the history
  241. network: change type of bytes_read UDP Source

    bytes_read, the result of asio::ip::udp::socket::receive_from(), was
    an int, but the function returns size_t. This resulted in an overflow
    of the int and a subsequent comparison.
    
    Since the int result of buffer space_available() should never be negative,
    it is safe to cast the result to size_t. If that result is ever changed
    to something larger than size_t, this could cause trouble, but that seems
    unlikely.
    
    Signed-off-by: Jeff Long <willcode4@gmail.com>
    willcode authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    6070437 View commit details
    Browse the repository at this point in the history
  242. Allow freq message on gr-soapy source block cmd port to add rx_freq tag.

    3eea105
    causes the gr-soapy block to add the rx_freq tag when set_frequency() is called with a name parameter.
    
    However, gr-soapy source's cmd port handler calls set_frequency() without name, so add_tag_ is not
    set and the rx_freq tag is not added. This patch causes rx_freq to be added for both versions of set_frequency().
    
    Signed-off-by: Josh Bailey <josh@vandervecken.com>
    anarkiwi authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a15a75c View commit details
    Browse the repository at this point in the history
  243. fec: fix tagged decoder frame size for CC_TERMINATED

    This fixes a bug in the calculation of the frame size used by the
    tagged decoder that affects the CC decoder in terminated mode.
    
    Currently, tagged_decoder calls the set_frame_size() method of the
    decoder with a size computed as the input size multiplied by the
    rate.
    
    In the cc_decoder, the frame_size parameter of the
    set_frame_size() method is used to calculate and set d_veclen. The
    value of d_veclen is used to determine how many forward steps
    (butterflies) the Viterbi algorithm should be run. The number of
    input items that are read in d_veclen forward steps is d_veclen * d_rate
    (note that d_rate is actually the inverse of the rate; typically,
    d_rate == 2). Therefore, the size of the input buffer should be as
    large as this value, and in most cases it should be equal, because we
    want the cc_decoder to look at all the provided input.
    
    The d_veclen variable is related to d_frame_size, which indicates
    how many output bits are produced by the decoder. The value of
    d_frame_size is equal to the parameter of set_frame_size() in all cases
    except in terminated mode with byte padding, in which case the byte
    padding is subtracted when computing d_frame_size. The value of d_veclen
    is equal to d_frame_size + d_k - 1 in terminated and streaming modes,
    and to d_frame_size in truncated mode.
    
    The problem with the current code is that in tagged_decoder the
    set_frame_size() method is called with ninput_items[0] * rate. In the
    streaming and terminated modes this will cause d_veclen to be too
    large. The forward steps (butterflies) of the Viterbi algorithm will
    read past the end of the input buffer. This is undefined behaviour and
    can cause some bit errors at the end of the decoded codeword (the effect
    of reading past the end of the buffer is essentially extending the
    codeword with 12 symbols of garbage).
    
    This problem does not happen in the async_decoder because there is
    some code that computes a "diff", which works out to be
      d_k - 1 + d_padding * rate()
    in terminated mode and 0 in all other cases. The diff is subtracted
    from the frame size. This subtraction gives the correct d_veclen
    calculation, so that the butterflies do not read past the input end.
    
    This commit fixes the tagged_decoder when used with the terminated CC
    decoder by adding the same code as in the async_decoder to calculate
    and subtract this "diff" value.
    
    Some caveats:
    
    1) This commit changes the size of the output packets of tagged_decoder
    when used with a terminated CC decoder. Formerly, the output packets
    were 6 bits longer, as if the tail bits were included in the output.
    However, having these 6 extra bits was just an artifact of looking 12
    symbols past the end of the input. The cc_decoder_impl::chainback_viterbi()
    function is not prepared to extract tail bits in the terminated case.
    This chainback extracts bits "as they exit the shift register on the
    right", so tail bits cannot be extracted, because they "never exit the
    shift register". (Here I have in mind the usual depiction of a convolutional
    encoder, where input bits are shifted from left to right into a shift
    register).
    
    The CC_TRUNCATED case in cc_decoder_impl::generic_work() has some
    additional code to extract additional bits which haven't "exited
    the shift register" yet, because it is mandatory to extract them in this
    case (they are the last 6 bits of the message).
    
    It think there is no good use case for attempting to extract the tail
    bits in the terminated case, so this modification seems a good way forward.
    The new behaviour also matches that of async_decoder, which does not output
    tail bits.
    
    However, this breaks tag propagation of the tagged_decoder when used
    with the terminated CC decoder, because the block calls set_relative_rate()
    with the nominal rate (1/2), which is slightly different from the true
    rate once we take into account the fact that tail bits are dropped. This
    could be fixed by propagating tags manually in the work() function.
    
    2) The streaming mode is still broken, both when used with the
    async_decoder and with the tagged_decoder. Since for the streaming case
    diff is 0 but d_veclen includes the term d_k - 1, the streaming mode
    reads past the input buffer. It isn't really possible to run the
    streaming mode properly with the async_decoder or tagged_decoder
    (it should be run with the decoder_impl.cc), because the streaming mode
    requires history (some overlapping input items between consecutive
    calls), which is not available with the async_decoder or
    tagged_decoder.
    
    3) The code copied from async_decoder has a "watch out" comment stating
    that it might be over-specializing for the CC decoder in terminated
    mode. It is true that this code seems specially crafted to cover this
    very specific case, but as far as I have been able to think, it does
    not affect negatively any other cases (taking into account other modes
    of the CC decoder and other FEC decoders).
    
    Signed-off-by: Daniel Estévez <daniel@destevez.net>
    daniestevez authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8f27f18 View commit details
    Browse the repository at this point in the history
  244. grc: fix Choose Editor menu needs to stay above parent dialog #5151

    Signed-off-by: R-ohit-B-isht <rbtunes0@gmail.com>
    R-ohit-B-isht authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    d2dc768 View commit details
    Browse the repository at this point in the history
  245. include guards: fix files with defines that appear in multiple files

    all these seem copy file-and-modify oversights; looks like no harm was done.
    
    Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
    marcusmueller authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    73b0340 View commit details
    Browse the repository at this point in the history
  246. pdu: Don't enable blocks and filter

    Not required:
    e36f2fa ("pdu: Remove unused dependencies", 2022-06-01)
    
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
    cjmayo authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1061014 View commit details
    Browse the repository at this point in the history
  247. grc: Fix Duplicate All_files filter entry in save screenshot dialog

    Signed-off-by: R-ohit-B-isht <rbtunes0@gmail.com>
    R-ohit-B-isht authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0d05c11 View commit details
    Browse the repository at this point in the history
  248. gr-audio: update comments in wavfile_sink and wavfile_source and add …

    …list of supported audio files
    
    Signed-off-by: harshitwr <singhh198@gmail.com>
    
    Signed-off-by: harshitwr <singhh198@gmail.com>
    R-ohit-B-isht authored and harshiiiit committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    bd1d913 View commit details
    Browse the repository at this point in the history
  249. Configuration menu
    Copy the full SHA
    e91985c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. gr-audio: update comments in wavfile_sink and wavfile_source and add …

    …list of supported audio files. Signed-off-by: Harshit Singh <singhh198@gmail.com>
    
    Signed-off-by: harshitwr <singhh198@gmail.com>
    harshiiiit committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    1acb727 View commit details
    Browse the repository at this point in the history