| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This commit contains all the additions to gr-*/lib/CMakeLists.txt
applicable to modules already present in 3.8.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
| |
obvious
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The FreeDV protocol includes a low bit rate text stream which is used to
transmit information such as call sign and location. GNU Radio's FreeDV
demodulator block sets up a callback to receive this text data, but the
callback currently does nothing.
Here I've added an optional message output to the block. It collects
characters until a carriage return is encountered, then outputs a
string. I've updated the sample flow graph to print these messages using
the Message Debug block.
|
|
|
|
|
|
|
| |
The input & output rates of the FreeDV modulator aren't necessarily the
same. In particular, the 2400A and 2400B modes have an input rate of
8000 sps and an output rate of 48000 sps. To allow for arbitrary input &
output rates, I've changed freedv_tx_ss from sync_block to block.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The get_next_tx_char callback in the FreeDV modulator block is one of
the last places where snprintf is used. I've eliminated it by using C++
string methods instead. This also removes the 79-character limit.
This change also fixes a bug where the last character of the message was
not transmitted.
Lastly, I refactored the callback to be a static member function,
eliminating the need for a separate structure to hold the callback
state.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First batch of changes:
```
find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}'
```
Then:
* Back out `sptr_magic.h` edits
* Change some `friend` clauses
* clang-format the whole thing
* Update checksums in the pybind11 bindings files
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang-format: ordering includes in gnuradio-runtime
clang-format: ordering includes in gr-filter
clang-format: ordering includes in gr-fft
clang-format: ordering includes in gr-audio
clang-format: ordering includes in gr-analog
clang-format: ordering includes in gr-fec
clang-format: ordering includes in gr-wavelet
clang-format: ordering includes in gr-zeromq
clang-format: ordering includes in gr-vocoder
clang-format: ordering includes in gr-video-sdl
clang-format: ordering includes in gr-trellis
clang-format: ordering includes in gr-blocks
clang-format: ordering includes in gr-digital
clang-format: ordering includes in gr-uhd
clang-format: ordering includes in gr-dtv
clang-format: ordering includes in gr-channels
clang-format: ordering includes in gr-qtgui
clang_format.py: re-enable include reordering
|
| |
|
|
|
|
|
|
|
| |
There was an #ifdef missing in lib/thread/thread.cc and in gr-vocoder
the include directive for gsm.h contains a gsm/ prefix.
The cmake FindGSM.cmake looks for **/include/ and **/include/gsm
anyways.
|
|
|
|
|
| |
Update to add support for newer modes in codec2 0.8.1.
Fixup grc blocks yml templates, update examples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes using target based setting of includes
and link libraries. This will transitively add the includes
and linking flags to dependent targets.
This is still a work in progress since only the dynamic
libraries have been touched and not all of include_directories
directives are gone yet.
cmake: remove GR_INCLUDE_SUBDIRECTORY macro
Previously this macro was used to inject subdirectories in the
current CMake namespace. This is generally undesired and pollutes the
current context.
previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS
to build both, shared libraries and static libraries.
This seems to be a construction taken over from autotools and serves
no purpuose in CMake and complicates the library building.
cmake: remove GR_LIBTOOL and la generation support
This looks like it was primarily used to support projects using
autotools, but comments state that the generated .la files aren't
compatible with autotools anyway.
cmake: Bump required CMake version to 3.8
UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial
to change
|
|\ |
|
| |
| |
| |
| | |
Luzpaz went ahead and found typos using `codespell -q 3`.
|
|\|
| |
| |
| |
| | |
Conflicts:
gr-wxgui/lib/CMakeLists.txt
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
gr-vocoder/CMakeLists.txt
|
| |/
| |
| |
| |
| |
| | |
CPack is not used, unmaintaned, and broken.
This does not eliminate any MSVC build functionality.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Changed dtv_viterbi_decoder to use __GR_ATTR_ALIGNED macro for
cross-compiler compatibility
* Replace usleep() with boost equivalent for cross-compiler
compatibility
* Includes windows-specific headers for portaudio
* Added macro to handle use of VLAs on non-C99 compilers (MSVC) using
alloca to declare variable length arrays
* Remove setting SO_LINGER option for the UDP source. SO_LINGER is
not an applicable option for a UDP socket. Windows will throw an
exception if set. Linux allows it to be set but does not use it.
* VS 2013+ supports round()
|
|
|
|
| |
This reverts commit 578fcb99217bdbc4501e620ade7665242f793c71.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do not install obsolete headers
Some header files in atsc and qtgui are installed, but have references
to obsolete paths and are therefore uncompilable. These files should
probably be removed from the checked-out source trees to complete the
refactoring, but this patch merely omits them from the install step.
This allows the abi-compliance-checker to run over the installed header
files.
codec2 embedding fixups
Only use and install the embedded copy of codec2.h when using an
embedded copy of the codec2 library. Use cmake to propagate conditional
paths from lib directory to swig directory.
make acc happy
The abi-compliance-checker operates in installed headers. So sys_pri.h
needs to look for gnuradio/realtime.h and be explicit about structure
definitions. py_feval.h needs to explicitly include Python.h.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
gnuradio-runtime/CMakeLists.txt
gnuradio-runtime/lib/controlport/CMakeLists.txt
|
| |
| |
| |
| | |
This effectively disables the use of ControlPort for now until we build in a new middleware layer. The ControlPort API and interfaces exist but will function as nops for now.
|
|\| |
|
| | |
|
|/
|
|
|
|
| |
Now builds shared libraries with ControlPort (if ControlPort is enableed). Static libs still without ControlPort.
Added proper Option and output message in cmake for Static Libs on/off.
|
|\ |
|
| |
| |
| |
| |
| | |
* Fixed usage of Windows thread-naming API, changed minimum Windows version
* Fixed MSVC usage of isnan, round
|
|\| |
|