| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
std::for_each() is defined in <algorithm>, so that if it is not
included, it doesn't build in some platforms
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of this code is automated code changes:
```
set -e
SUB="s/dummy/dummy/"
for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do
SUB="$SUB;s/boost::$i/std::$i/g"
done
SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g"
SUB="$SUB;s^namespace boost^namespace std^g"
find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB"
```
Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add
`#include <algorithm>`.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |\ |
|
| | | |
|
|\| | |
|
| |\| |
|
| | |
| | |
| | |
| | | |
This reverts commit a16ed67b5dae099c6ac1447c000f15765b13422f.
|
|\| | |
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The RPC aggregator and friends were taking callback objects passed by
value, and then internally called, again by value, constructors which
initialized reference fields to these parameters.
This has the effect of storing references to temporary objects. Chances
are, no-one is using that code, or compiler UB saved our collective
behinds.
In any case, we might need to more carefully dissect the RPC code. There
be dragons.
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
Conflicts:
gnuradio-runtime/python/gnuradio/ctrlport/CMakeLists.txt
|
| |/
| |
| |
| |
| |
| |
| |
| | |
by converting EXECUTE_COMMAND directives to add_custom_command with
well-defined OUTPUT.
This is all that was necessary to make GNU Radio build with Ninja in
place of GNU Make.
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
gr-atsc/CMakeLists.txt
gr-atsc/swig/CMakeLists.txt
|
| | |
|
|/
|
|
|
|
| |
CPack is not used, unmaintaned, and broken.
This does not eliminate any MSVC build functionality.
|
|
|
|
|
|
| |
Java String class can change data from an arbitrary byte[] object. We
use the ByteBuffer class now when passing data to ControlPort's
postMessage function, which manages the underlying data properly.
|
|
|
|
|
|
|
|
| |
block's message handler.
We still need to register this in setup_rpc, but there might be a way
to automate the registering of this during set_msg_handler if
ControlPort is enabled.
|
|
|
|
|
|
|
| |
Java has a hard time with unions (or our way of doing things produces
problems in Java). Using a struct instead does not change any
server-side or client-side code, and only seems to increase the
network packet size by 2 bytes.
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
A patch for Thrift itself and a README to provide some explanation.
|
|
|
|
|
|
| |
Cleaned up some of the templates for only the necessary stuff.
Adds mutex lock protections around getters and setters.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Create instance of rpcmanager to ensure proper ctrlport shutdown and
some minor cleanup
|
| |
|
|
|
|
|
|
| |
- removal of unused strings 'controlport name' and 'endpoint name'.
- Moved default_buffer_size constant from server_template, which is
where boot specific constant are currently defined.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
application_started() function.
Includes moving the call that logs the generated endpoint.
This allows the application_base::kickoff() function to wait until the
Thrift runtime publishes the port selected by bind(), when a
pseudorandom / unused port number is configured (i.e. port=0, the
default setting). Once bind()'s final port number is available, the
endpoint string may be generated and the ControlPort Thrift interface
may be started.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows allows the OS - specifically bind() - to select an
ephemeral / unused port number.
Next, going to investigate using getsockname() to determine the port
number selected by the OS and ensure that the Thrift endpoint string
reflects the correct port number.
Also going to see if we can publish the actual hostname of the machine
from either the uname() or gethostname() functions.
|