Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd: Apply clang-format against all .cpp and .hpp files in host/ | Martin Braun | 2020-03-03 | 1 | -214/+283 |
| | | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. | ||||
* | uhd: Replace all occurrences of boost::bind with std::bind | Martin Braun | 2019-11-26 | 1 | -22/+21 |
| | | | | | | | | | | | | | | | | | | | | | Note: Replacing everything with a lambda would be even better, but that can't be easily scripted so we'll do this as a first step to reduce the Boost footprint. This also removes occurences of #include <boost/bind.hpp>, and makes sure all usages of std::bind have an #include <functional>. clang-format wasn't always applied to minimize the changeset in this commit, however, it was applied to the blocks of #includes. Due to conflicts with other Boost libraries, the placeholders _1, _2, etc. could not be directly used, but had to be explicitly called out (as std::placeholders::_1, etc.). This makes the use of std::bind even uglier, which serves as another reminder that using std::bind (and even more so, boost::bind) should be avoided. nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It was not possible to remove it by simply doing a search and replace, so it will be removed in a separate commit. | ||||
* | uhd: Replace boost::function with std::function | Martin Braun | 2019-11-26 | 1 | -1/+1 |
| | | | | | | | This is mostly a search-and-replace operation, with few exceptions: - boost::function has a clear() method. In C++11, this is achieved by assigning nullptr to the std::function object. - The empty() method is replaced by std::function's bool() operator | ||||
* | uhd: Replace usage of boost smart pointers with C++11 counterparts | Martin Braun | 2019-11-26 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct. | ||||
* | lib: Purge all references to boost::this_thread::sleep() | Martin Braun | 2018-04-30 | 1 | -1/+3 |
| | | | | Replace with std::this_thread::sleep_for(). | ||||
* | uhd: Move internal headers to uhdlib/ | Martin Braun | 2018-03-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | ||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -1/+2 |
| | | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0. | ||||
* | Move all license headers to SPDX format. | Martin Braun | 2017-12-22 | 1 | -12/+1 |
| | |||||
* | utils: add set_thread_name API call, move thread_priority to thread | Andrej Rode | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | uhd: tasks now use std::threads under the hood, and can't be interrupted | Martin Braun | 2017-06-28 | 1 | -4/+5 |
| | | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics. | ||||
* | utils: introduce new logging API and remove msg API | Andrej Rode | 2017-02-20 | 1 | -9/+9 |
| | |||||
* | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 1 | -11/+11 |
| | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | usrp2: fixes according to coverity reports | Andrej Rode | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | usrp2: Removed superfluous helper function | Martin Braun | 2016-11-28 | 1 | -4/+0 |
| | |||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 1 | -15/+15 |
| | | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that). | ||||
* | N2x0: Fixed missing usage of send_buff_size | Martin Braun | 2015-03-03 | 1 | -1/+2 |
| | |||||
* | uhd: added new calls to streamer object + support work | Josh Blum | 2013-07-15 | 1 | -0/+3 |
| | | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API. | ||||
* | usrp2: fix program_stream_dest (arp for dest) | Josh Blum | 2012-08-14 | 1 | -0/+1 |
| | | | | The send buffer should be reset ASAP so it gets flushed out. | ||||
* | usrp2: work on alternative stream destination | Josh Blum | 2012-03-23 | 1 | -0/+57 |
| | |||||
* | uhd: added async md user payload and common utils | Josh Blum | 2012-02-14 | 1 | -15/+3 |
| | |||||
* | uhd: various tweaks for compiler warns and valgrind | Josh Blum | 2012-02-09 | 1 | -1/+2 |
| | |||||
* | dsp rework: implement 64 bit ticks, no seconds | Josh Blum | 2012-02-06 | 1 | -4/+4 |
| | |||||
* | dsp rework: work on usb wrapper for smaller packets, large luts | Josh Blum | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | dsp rework: account for no sid used in tx vita pkt | Josh Blum | 2012-02-01 | 1 | -1/+2 |
| | |||||
* | dsp rework: tx trailer, scaling work (peak) | Josh Blum | 2012-01-31 | 1 | -0/+1 |
| | |||||
* | dsp rework: work on scaling and args parsing on RX and TX dsp | Josh Blum | 2012-01-31 | 1 | -9/+4 |
| | | | | | This simplified some copy pasta in the io_impl.cpp files, and adds a place for sc8 tx mode in the tx dsp core code. | ||||
* | dsp rework: implemented new scalefactor in rx dsp core | Josh Blum | 2012-01-31 | 1 | -1/+1 |
| | |||||
* | uhd: add samples per pkt option to rx streamer | Josh Blum | 2012-01-26 | 1 | -1/+2 |
| | |||||
* | uhd: flush transport for new rx streamers | Josh Blum | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | usrp: added underflow_policy to tx streamer args | Josh Blum | 2011-12-20 | 1 | -0/+1 |
| | |||||
* | UHD will now print 'L' whenever a late packet is transmitted. | Ben Hilburn | 2011-12-12 | 1 | -0/+3 |
| | | | | | This is similiar to printing 'U' and 'S'. This functionality is not yet supported on the USRP1. | ||||
* | uhd: work with stream clearing | Josh Blum | 2011-12-05 | 1 | -5/+14 |
| | | | | | | | | dont clear when using the compat device API tx clear also resets expected seqnum tx clear on usrp2 resets flow control monitor | ||||
* | usrp: clear dsp when making new streamer | Josh Blum | 2011-11-21 | 1 | -0/+1 |
| | |||||
* | usrp2: fix channel mapping calculation | Josh Blum | 2011-11-07 | 1 | -2/+2 |
| | |||||
* | usrp: parse rx stream args scalar | Josh Blum | 2011-11-05 | 1 | -1/+2 |
| | |||||
* | uhd: renamed convert markup to format | Josh Blum | 2011-11-03 | 1 | -6/+4 |
| | | | | | | | | removed convert args added simd level got orc and neon updated | ||||
* | usrp1: got the 16Msps working (needed non hb-filter image) | Josh Blum | 2011-11-03 | 1 | -13/+19 |
| | |||||
* | usrp2: work on alternative OTW formats | Josh Blum | 2011-11-03 | 1 | -1/+6 |
| | |||||
* | uhd: renamed some of the stream types and functions | Josh Blum | 2011-11-03 | 1 | -2/+2 |
| | |||||
* | usrp1: did work for stream interface on usrp1 | Josh Blum | 2011-11-03 | 1 | -6/+0 |
| | |||||
* | usrp2: additional corrections for streaming to work | Josh Blum | 2011-11-03 | 1 | -3/+3 |
| | |||||
* | uhd: lots of work releated to streamer work and usrp2 implementation | Josh Blum | 2011-11-03 | 1 | -114/+156 |
| | |||||
* | usrp2: manually deconstruct tasks, fixes cleanup bug | Josh Blum | 2011-08-25 | 1 | -0/+5 |
| | |||||
* | uhd: replaced boost filesystem path with fs_path in property tree | Josh Blum | 2011-07-22 | 1 | -2/+2 |
| | |||||
* | uhd: tweaks for windows boost 1.47 compile | Josh Blum | 2011-07-18 | 1 | -1/+1 |
| | |||||
* | usrp2: use the err transport for tx/err, and rx xports are recv only | Josh Blum | 2011-07-17 | 1 | -7/+7 |
| | |||||
* | uhd: added tasks to simplify thread spawning use cases | Josh Blum | 2011-07-13 | 1 | -20/+9 |
| | |||||
* | usrp: added software scale factor adjustment | Josh Blum | 2011-07-08 | 1 | -0/+2 |
| | |||||
* | usrp: handle frontend swapping if the first subdev is QI or Q | Josh Blum | 2011-07-04 | 1 | -2/+4 |
| | |||||
* | usrp2: accept old db name 0 for backwards compat | Josh Blum | 2011-07-03 | 1 | -2/+22 |
| |