| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: karel <5636152+karel@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
| |
Found via `codespell v2.1.dev0`
`codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk`
Signed-off-by: luz paz <luzpaz@users.noreply.github.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
| |
python3.8 and up need to have the dll search path set explicitly before importing.
More details can be found here: https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
Without the fix, python libraries will fail to import regardless of how PATH is configured.
The solution searches for the runtime path for gnuradio dlls and calls add_dll_directory() before imports.
As a precedent, a similar behaviour is implemented in the gi/__init__.py module used with pygtk.
Signed-off-by: Josh Blum <josh@joshknows.com>
|
|
|
|
|
|
|
| |
/dev/stdin does not exist and was replaced by directing stdout to the
file rather than piping stdout to the stdin of an install command
Signed-off-by: Josh Blum <josh@joshknows.com>
|
|
|
|
|
|
|
|
| |
std::unary_function is deprecated of as c++11 and removed in c++17
https://en.cppreference.com/w/cpp/utility/functional/unary_function
The solution was to replace unary_function with std::function.
Signed-off-by: Josh Blum <josh@joshknows.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move BUILD_DATE to top CMakeLists so it's available in other modules. Add Z
suffix to indicate UTC.
- Add a BUILD_DATE_SHORT with just yyy-mm-dd more appropriate for man pages
- Put man pages in man/docs and give them a .in extension
- Replace version and date placeholders at cmake configure time
- Improve gnuradio-companion man page, expanding description and
updating options
- Remove help2man generated man pages, and man pages for non-existent
commands
Signed-off-by: David Pi <david.pinho@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces the path constants for the prefix, system configuration,
and preferences directories with a runtime prefix lookup based on the
gnuradio-runtime library location and relative paths from that. Boost >=
1.61 is required, but this is now compatible with the minimum version
required by GNU Radio overall.
Also use cmake-style paths instead of native paths for substitution to
avoid unescaped character problems. Windows is able to use the
forward-slash paths just fine, and this also has external benefits (e.g.
conda will do path replacement during installation and it substitutes
forward-slash paths, so this avoids mixed-slash paths).
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
| |
Because we always used globs to find the files we re-format, this
slipped under the clang-format-radar.
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
run
/usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*'
-fix ..
from build directory.
Then,
clang-format -i $(git diff --name-only origin/master)
to clang-format changed files.
Then, refresh all header hashes in pybind bindings
(*/python/bindings/*.cc)
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
| |
Algorithm improved in order to eliminate getting output values
outside of range [-1.0, 1.0)
Fixes #2993
Signed-off-by: Artem Pisarenko <artem.k.pisarenko@gmail.com>
|
|
|
|
|
|
|
| |
File sine_table.h is generated artifact and shouldn't be part of sources
in order to properly be in sync with changes to gen_sine_table.py
Signed-off-by: Artem Pisarenko <artem.k.pisarenko@gmail.com>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a segmentation fault with the Pybind11 bindings when trying
to load any Python module on OSX with a different interpreter than
was used at build time (relevant to at least conda and homebrew). This
fix was already in place for the prior Swig bindings, but the Pybind11
changes do not incorporate it since they link with ${PYTHON_LIBRARIES}
instead of the (fixed) Python::Python target.
For clearer separation and to adopt the approach used by the new-ish
(3.12) builtin CMake FindPython module, this commit creates a separate
Python::Module target to be used when creating a Python extension module
(which includes "-undefined" and "dynamic_lookup" for macOS instead of
linking directly to the Python library). The Python::Python target
that does link to the Python library is still necessary for use as a
PRIVATE target (e.g. for runtime and qtgui).
For future reference and a general description of best practices for
linking Python extension modules, see
https://blog.tim-smith.us/2015/09/python-extension-modules-os-x.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously a a custom python command was used to generate the build date
but this can be done with native CMake functions for all supported CMake
versions.
Additionally it's compatible with reproducible builds since CMake 3.8 as
it honors SOURCE_DATE_EPOCH set in the environment varibales.
Thanks to Sebastian Koslowski for pointing out the right way in CMake.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
| |
tag_checker.h uses std::sort
Signed-off-by: Josh Blum <josh@joshknows.com>
|
|
|
|
|
|
|
| |
It's only needed when libunwind is used, and always including it fails
on Windows because the header doesn't exist for MSVC.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
| |
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
| |
Also, clean up includes
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Mostly done with:
```
find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}'
```
Then I removed an incorrect `work` that this found.
|
|
|
|
|
| |
Neither of these files use the gru module anymore. I've tested that they
work correctly after removing the unused imports.
|
|
|
|
|
|
| |
find ./ -iname qa*.py | xargs autopep8 --in-place -a -a
mostly formats whitespace and gets rid of trailing semicolons
|
| |
|
|
|
|
|
|
|
| |
These were added in GNU Radio 3.1.3, but a Google search finds no
mention of gru.daemonize outside of the changelog. Modern Python
programs could use the python-daemon library, which implements the
daemon specification of PEP 3143.
|
|
|
|
|
| |
The recent libsndfile transition changed the API of the wavfile_sink
block, so the two examples that use it need to be updated.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Derek Kozel <derek@bitstovolts.com>
|
|
|
|
|
|
|
| |
* Fix various typos
Found via `codespell v2.0.dev`
`codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk`
|
| |
|
|
|
|
| |
impact is very small, on the order of 10's of kB.
|
|
|
|
| |
implmentation is slightly faster and has been tested to have similar distribution with arbitrary input data
|
|
|
|
|
| |
This removes a few compilation errors in Windows related to logging
functions (see PR #3339).
|
| |
|
| |
|
|
|
|
|
|
| |
The last reference to HAVE_SNPRINTF was removed in
a75f0c40fe0912535fe102792f27c13d01df8e3e so it should now be safe to
remove it.
|
| |
|