summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gr-qtgui: Fix Frequency Sink max hold for half spectrum width option.Ron Economos2021-01-041-2/+2
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* pfb.py: fix variable in static functionJeff Long2021-01-041-1/+1
| | | | | | | When create_taps() was moved to a static function, a _self reference tagged along. Use function parameter as intended. Signed-off-by: Jeff Long <willcode4@gmail.com>
* gr-qtgui number sink: Honor block setting of 'avg' in GUIJeff Long2021-01-042-0/+3
| | | | | | | | | | | | | | | GUI was overriding block parameter (setting to 0) at init. - Use block parameter for 'avg' - Add callback for 'avg' to yml It is still possible to set the avg from the GUI middle click. The menu value is not updated when avg is set from a block parameter (there is no slot in the widget to do this). If the user creates a GRC file with a widget (e.g., entry) to set avg, and also sets it via the menu, the values shown will not match. However, the value can be successfully set either way. Signed-off-by: Jeff Long <willcode4@gmail.com>
* CMakeList: master now targets 3.10v3.10.0.0gitMarcus Müller2020-12-201-1/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* pmt: use to_string for char string_refsmormj2020-12-191-2/+2
|
* runtime: Add terminate handlingPaul Wicks2020-12-196-4/+210
| | | | | | | | | | | | | | | | | | | | | | | | This consists of the following changes: 1. Add a top_block parameter to control exception handling This restores past behavior where the scheduler catches exceptions raised in block threads, allowing flowgraphs to continue running after the failure of an individual block. It also adds optional new behavior, selected by setting catch_exceptions=False to the top block, which causes exceptions to not be caught. In this mode of operation, a std::terminate handler can be installed to print a stack trace before the flowgraph exits. 2. Add terminate_handler to top_block_impl This adds a terminate_handler function that prints information about any uncaught exceptions and also attempts to print a backtrace for said exception after which it calls std::abort. The backtrace is printed via libunwind, which is a new optional dependency. If libunwind is not found/installed, then the terminate handler will still print information about the exception and then exit. Co-Authored-By: Scott Torborg <storborg@gmail.com>
* RPC fixes to allow using Thrift-0.13A. Maitland Bottoms2020-12-195-14/+46
| | | | | | | Adds ability for master to build with newer Thrift versions by checking availability of thrift include files. (Also spelling fix: Thift -> Thrift) And fix up logging for rpcserver_thrift class.
* digital: ofdm: Fix whitespace in OFDM chanest blockMartin Braun2020-12-193-60/+49
| | | | | | | | Both the C++ and Python files have really weird whitespace issues, making them hard to read. This makes the whitespace usage for consistent with usual formatting, and fixes some Doxygen issues. Signed-off-by: Martin Braun <martin@gnuradio.org>
* cmake: Set VERSION_PATH to be only "git", fixing RC_MAINT_VERSION.Ryan Volz2020-12-181-1/+1
|
* gr-uhd/lib/usrp_block_impl.cc: fix compile error using boost>=1.73Huang Rui2020-12-183-13/+18
| | | | | | | | | | | | | | | | | | | | | When using boost>=1.73 and compile with uhd, it always have errors. Fix the compile error when using uhd and gcc10: error: ‘_1’ was not declared Bug: https://bugs.gentoo.org/751259 usrp_source_impl.cc: use lambdas instead of boost::bind usrp_block_impl.cc:use lambdas instead of boost::bind usrp_block_impl.h: Switch from boost::function to std::function https://github.com/gnuradio/gnuradio/pull/3441 https://github.com/gnuradio/gnuradio/pull/3887 usrp_source_impl: fix parameter bug of original code The usrp_block_impl::register_msg_cmd_handler uses cmd_handler_t as handler type, but it have 3 parameters. Fix the parameter mismatch bug and change the signature as cmd_handler_t Signed-off-by: Huang Rui <vowstar@gmail.com>
* filter: update python binding hashesJosh Morman2020-12-1821-22/+37
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* replace fft.window.WIN_ with window.win_ and include in grc default importJosh Morman2020-12-1878-137/+138
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* add import fft to python files that reference fft.windowJosh Morman2020-12-1811-10/+11
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* filter: update qa tests with import fftJosh Morman2020-12-188-8/+8
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* global replace of firdes.WIN_ with fft.window.WIN_Josh Morman2020-12-1880-142/+142
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* global replace of filter.firdes.WIN_ with fft.window.WIN_Josh Morman2020-12-1824-46/+46
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* filter: remove deprecated win_type duplicate in firdesJosh Morman2020-12-1812-123/+101
| | | | | | | The win_type defined in firdes is marked as deprecated to be removed in 3.8, so let's go ahead and remove it and fix all the references Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* more qt4 qt5 updatesA. Maitland Bottoms2020-12-1815-31/+31
| | | | Have additional apps, examples, and tools use Qt5 instead of Qt4.
* gr-filter: Document fractional_bw parameter in rational_resampler.hRon Economos2020-12-182-1/+2
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* gr-digital: Document normalization parameter in constellation.hRon Economos2020-12-182-2/+7
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* Allow to choose whether to normalize constellation average magnitude, ↵Eduardo Sánchez Muñoz2020-12-184-36/+92
| | | | | | average power or to not normalize at all. Signed-off-by: Eduardo Sánchez Muñoz <esm@eduardosm.net>
* fec: lib: Remove use of FEC_API for function definitions.Ryan Volz2020-12-184-12/+4
| | | | | | | | | | This fixes building with MSVC. Since these files first get built into an object that is *not* a shared library, FEC_API was resolving to __declspec(dllimport), which should never be used for function definitions. Warnings still occur about inconsistent dll linkage because the gr_fec_rs target is built into an object library that doesn't define "gnuradio_fec_EXPORTS", but the end result works. These warnings have always existed previously.
* digital: update pybind hashes for mpsk_snr_estJosh Morman2020-12-182-2/+2
|
* gr-digital: Update docs for MPSK SNR EstimatorThomas Habets2020-12-182-2/+8
|
* gr-blocks: Fix file source block large file handling for Windows.Ron Economos2020-12-181-2/+2
|
* grc: indent multiline connections in py flowgraphMike Walters2020-12-181-1/+1
| | | | | | | | This fixes flowgraph generation when using connection templates with multiple lines. Previously it would only indent the first line and subsequent lines would have no indentation, causing a python error. Signed-off-by: Mike Walters <mike@flomp.net>
* cmake: Fix variable substitution in pkg-configRyan Govostes2020-12-171-2/+2
| | | | | Variable interpolation is done with configure_file(... @ONLY), so use @VAR@ and not ${VAR}. Fixes #3969.
* digital: deprecate clock recovery blocks covered by symbol_syncJosh Morman2020-12-1714-9/+17
| | | | | | | The pfb, msk and mm clock recovery blocks are all covered by the symbol_sync block. See https://www.youtube.com/watch?v=uMEfx_l5Oxk Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* fft: update window python enums to fft.window.*Josh Morman2020-12-172-3/+3
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* fft: populate window enums under fft.windowJosh Morman2020-12-171-16/+14
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* modtool: CMake template should allow building OOT modules without python if ↵Jacob Gilbert2020-12-171-2/+8
| | | | | | desired The gr_modtool utility should respect the -DENABLE_PYTHON=OFF setting to allow modules to be built without python support. This also does not install any GRC files even though it is possible to use GRC to generate flowgraphs without runtime python; however, this disabling python _and_ using GRC for C++ generation is a very advanced feature so the included note should be sufficient to inform anyone using in this way.
* grc: restore pre-3.8 block id behaviorJacob Gilbert2020-12-172-3/+3
| | | | Prior to 3.8 block IDs were shown in the properties dialogue for every block as these are important for function of some GR features. #2795 brought this back as an option for 3.8+, however it forces the 'hide' value to effectively be 'none' instead of 'part' (not visible on the block canvas but visible in the properties dialogue) for all blocks. This changes this back to the pre-3.8 behavior where the ID value is not shown on the canvas but is shown in the properties dialogue.
* gr-filter: Remove unused parameter in polyphase_filterbank.Ron Economos2020-12-173-10/+4
|
* modtool: Change handled exception to ModuleNotFoundErrormormj2020-12-171-1/+1
|
* grc: Fix message port show/hide problem due to bus logic updateDavid Pi2020-12-171-2/+5
| | | | | | | | update_bus_logic() is called when disabling a bus, it doesn't check if it's been previously enabled. This causes it to restore port.hidden with a None which ultimately is converted to False. So it never hides the message ports. Also, filter message ports from buses.
* Update parameter background colours realtimeVolker Schroer2020-12-171-4/+4
|
* filter: remove initialization for history which is same as defaultJosh Morman2020-12-171-1/+0
|
* filter: replace rational_resampler_base with rational_resamplermormj2020-12-1719-495/+385
| | | | | | | | The bulk of the rational resampler code is named rational_resampler_base and only in Python is the automatic designing of filters if taps are not specified. This pushes that code into the C++ classes (which get binded) so rational_resampler.py can go away, removing a layer of wrapping
* gr-audio: revise alsa default nperiodsduggabe2020-12-172-2/+2
|
* gr-audio: revise nperiods in gr-audio-alsa.confduggabe2020-12-171-1/+1
|
* gr-audio: revise nperiods in gr-audio-alsa.confduggabe2020-12-171-1/+1
|
* gr-uhd: clean up import of msgq_runner in uhd_app.pyJosh Morman2020-12-171-2/+1
|
* gr-uhd/apps: import cleanup of msgq_runnerJosh Morman2020-12-172-6/+4
|
* digital/examples/gen_whitener: import cleanupMarcus Müller2020-12-171-2/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: abolish the gru python moduleMarcus Müller2020-12-174-46/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* move msgq_runner out of runtime into gr-uhd/apps, its single consumerMarcus Müller2020-12-177-8/+9
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Set C_STANDARD to 11 (highest valid value)Josh Morman2020-12-171-1/+1
|
* Bump the C++ standard version to C++14Marcus Müller2020-12-174-12/+12
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Set minimum CMake version variable to what CMake demands anywayMarcus Müller2020-12-171-1/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* grc: remove gnome-terminal deprecation warningmormj2020-12-171-1/+4
| | | | | | | | | | | When running a "No GUI" flowgraph from GRC, it gives the following deprecation warning: Option “-e” is deprecated and might be removed in a later version of gnome-terminal. Use “-- ” to terminate the options and put the command line to execute after it. This follows the suggested fix to update the deprecation Signed-off-by: Josh Morman <jmorman@perspectalabs.com>