| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
This is the last time we're merging 'maint' to 'master'. The 'maint'
branch will cease to exist shortly; we'll have a 'maint-3.7' branch.
For further information on the new development model:
http://lists.gnu.org/archive/html/discuss-gnuradio/2018-02/msg00133.html
|
| | |
|
| |
| |
| |
| |
| | |
Instead the default seed implemented in boost::random is used by
calling seed() without arguments
|
| |
| |
| |
| |
| |
| | |
feels like this was an oversight; part of Maitland Bottoms ABI
compatibility checker happiness patches:
https://sources.debian.org/data/main/g/gnuradio/3.7.11-10/debian/patches/make-acc-happy
|
| |
| |
| |
| |
| |
| | |
From the patches that Maitland Bottoms applies to the source tree to
make the debian builds checkable with abi-compliance-checker:
https://sources.debian.org/data/main/g/gnuradio/3.7.11-10/debian/patches/make-acc-happy
|
| |
| |
| |
| | |
Header-only implementation, based on Public Domain code.
|
| |
| |
| |
| | |
eng_notation - attempt 2
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
From the debian patch set
|
| |
|
|
|
|
|
|
|
| |
This allows GRC to iterate the output signatures of epy blocks after
switching over to py_io_signature.
Fixes #1666.
|
|
|
|
| |
Only moved code comments to become docstrings.
|
|
|
|
|
| |
Cache the port name `pmt::mp("system")` as well as the magic "done"
value `pmt::mp("done")` to avoid repeated hashing.
|
| |
|
|
|
|
|
| |
Performance testing shows that the difference between range and
xrange is negligable here, using Python 2.7.14.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C++ block in/out ports are described by io_signature, which holds
the min number of ports, max number of ports, and a list of type
lengths. If len(type lengths) < max number of ports, the last type
is assumed to apply to the remaining ports. When a flowgraph is built,
a variable number of ports can be connected.
Python block ports are specified using a list of numpy types. The
number of ports is fixed in the block specification, and the flowgraph
must connect exactly that number of ports.
This patch changes the Python behavior (while maintaining backward
compatibility) to match the C++ behavior. A new py_io_signature
class is used to specify port number limits, along with a list of
numpy types, like this:
in_sig = gr.py_io_signature(2, -1, ['float32', 'float32'])
where in_sig is passed to the block super's __init__ as before.
|
|\ |
|
| |
| |
| |
| | |
appropriate.
|
| |
| |
| |
| |
| | |
Complements gnuradio/gnuradio#1563, larger-scope version of
the issue gnuradio/gnuradio#1561 .
|
| |
| |
| |
| | |
Fixes gnuradio/gnuradio#1561
|
| | |
|
| | |
|
| |
| |
| |
| | |
Luzpaz went ahead and found typos using `codespell -q 3`.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Optimize some reference counted buffer[_reader]_sptr grabs and releases
that show up as minor CPU wasters in profiling when there are a lot of
tags or some blocks that "return 0" often.
At high sample rates (e.g. 160 Msps), this can save ~2% CPU on
blocks that propagate a fair number of tags.
|
|\| |
|
| |\ |
|
| |/
| |
| |
| | |
flatten_aux() function where the blocks are all identified. Also removed a workaround to the simple_copy example that is no longer relevant with this fix
|
|\| |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Addresses issue #1383, where if GR and an OOT are built with logging
enabled but GR is build using log4cpp and the OOT is build without it,
then gr_block will be of different size & freeing it can result in
heap corruption.
This fix mades all of the logger_ptr typedefs an actual pointer, which
should always be the same size and hence gr_block will always be the
same size no matter what logging option is selected.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
so that we can then have
def general_work(self, input_items, output_items):
…
self.produce(0,2)
self.produce(1,1)
return gr.WORK_CALLED_PRODUCE
Includes a unit test.
We need more unit tests. There wasn't a single general block test in
qa_block_gateway.py.
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Elsewhere in tree, we never check for #ifdef HAVE_STDINT_H, so this
can't make a difference here. And, we nowhere use any gr_int types, so
we don't need to drag these around.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| | |
| | |
| | |
| | | |
buffer::get_tags_in_range called v.resize(0) instead of v.clear() to clear out the input vector. This causes needless memory allocation of the default value for the second argument to resize. In applications that make heavy use of tags, this can cause significant performance problems as get_tags_in_range performs an extra allocation and deallocation.
|
|\| | |
|
| | |
| | |
| | |
| | | |
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.
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | | |
overflow segfault on win32
|