summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime
AgeCommit message (Collapse)Author
2011-06-11Allow disabling shm vmcircbuf tests at configure timeDon Ward
2011-03-28runtime: changes to block headers to allow pure virtual sub-classes (interfaces)Josh Blum
2011-03-25Fixing missing include files and various other patches for Windows build issues.Don Ward
2011-03-14Merge remote branch 'jblum/mergeme/misc/gruel_thread_simplification' into nextJohnathan Corgan
* jblum/mergeme/misc/gruel_thread_simplification: gruel thread simplification:
2011-02-27gruel thread simplification:Josh Blum
Removed get_new_timeout from thread.h (usrp2_vrt carryover) Basically it was created because of a misunderstanding of the time types; and its only ever called once. This also removes thread.cc Call posix_time::milliseconds in usrp2 control.cc. Notice that it passes a time_duration rather than a ptime (aka system time). Added #include <deque> to gr_buffer.h. It turns out that boost posix_time.hpp implicitly included the deque header which was missing from gr_buffer.h Replaced the include for thread.hpp with only the includes for the boost thread types mentioned in gruel/thread.h. Also, making use of the scoped_lock typedef that comes with boost thread locks. boost 3.5 safe.
2011-02-27gr_flowgraph.cc explicit include of <iterator>Josh Blum
Added explicit include of <iterator>, which was implicitly included by <vector>. Affects platforms where vector does not automatically pull in iterator.
2011-01-23Merge branch 'mergeme/misc/mkdir_simplification' into nextTom Rondeau
2011-01-23Merge branch 'mergeme/misc/mkdir_simplification' of git://gnuradio.org/jblum ↵Tom Rondeau
into mergeme/misc/mkdir_simplification
2011-01-22created gr_sys_paths.h to house functions for getting system pathsJosh Blum
gr_sys_paths.h has gr_tmp_path() and gr_appdata_path() this replaces gr_tmp_path.h
2011-01-22Merge branch 'mergeme/math/gr_math_simplification' into nextTom Rondeau
2011-01-22Updating copyright.Tom Rondeau
2011-01-18cleanup mkdir usage with boost filesystem:Josh Blum
Replaced copy/pasted code and MKDIR_TAKES_ONE_ARG #ifdefs with portable boost filesystem path and directory creation. Gets the correct home directory on windows systems: APPDATA. Replaces large amounts of copypasta with single lines of code. Removes MKDIR_TAKES_ONE_ARG configuration checks from m4 files. Adds boost filesystem and system library as build dependencies.
2011-01-17gr math simplification:Josh Blum
Replaces gr_gcd, gr_isnan, and gr_signbit one-time instances with boot math calls. No point in wrapping these utility math functions into gnuradio when they are 1) provided by boost 2) only called once Removes gr_math.cc, and configure checks for isnan.
2011-01-10qa_set_msg_handler: Use sleep instead of yield.Eric Blossom
Confirmed to fix problem on 32-bit CoreDuo. Probably fixes problem on Arm too.
2011-01-06Add QA code for gr_basic_block::set_msg_handler.Eric Blossom
2011-01-06Change pmt message handling interface in gr_basic_block.hEric Blossom
Change the API such that the message handler is now implemented with a callback, not an overridden virtual function. The callback is now set using gr_basic_block::set_msg_handler, which will accept pretty much any kind of callable. This change allows us to split the machinery for message handling out from the block inheritance hierarchy, and provides a foundation that can be used to build or experiment with arbitrary message dispatching techniques.
2011-01-04Fixing how far get_tags_in_range looks; should be exclusive of end point.Tom Rondeau
2011-01-04Only prune if we've moved on in the number of items read. Fixes the problem ↵Tom Rondeau
or premature pruning.
2011-01-02Going back to iterators for use in erasing items from the deque.Tom Rondeau
2011-01-02Not using an iterator to prune the tags to see if this fixes a problem in ↵Tom Rondeau
Windows.
2011-01-02Buffers now hold on to all tags from both this window and the last window of ↵Tom Rondeau
items instead of just this window. This protects against the rare times when one block is called twice before another block is, thereby pruning the tags before they can be passed downstream. The same thing will happen if a block is called 3 times in a row, which is highly unlikely.
2011-01-02Fixing a comment.Tom Rondeau
2010-12-23Merge branch 'master' into nextTom Rondeau
* master: clean now gets rid of unittest results. Passes distcheck. Modifying the unittest output. XML files are no longer written outside of the build tree. A new patch for fixing the alsa restart issue. Submitted by Volker Schroer. Reverting last change in alsa. PFB resampler: fix it this way to avoid the signed/unsigned warning. PFB resampler: fixes bug where filter could be looking past the number of inputs. Adding a "change in progress" check to alsa sink. Added a check in alsa sink if error has occurred due to blocking; if so, it will just drop samples and not get backed up. Patch taken from Marcus Leech 10/29/2010. Conflicts: Makefile.common gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
2010-12-23Modifying the unittest output. XML files are no longer written outside of ↵Tom Rondeau
the build tree.
2010-12-07Remove incorrect if PYTHON around swiginclude_HEADERSEric Blossom
2010-12-06Merge branch 'next' into guile-nextEric Blossom
* next: (116 commits) Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted. Modifying blsk2 wrapper for PFB arbitrary resampler to allow the user to just specify the requested resampling rate without providing their own filter taps. uhd: reverting tag changes on uhd single usrp source, there seems to be issues with the work() logic uhd: removed default value chan=0 in the cc files WITH_INCLUDES _must_ be last uhd: replaced CFLAGS with CPPFLAGS variable, and fixed swig args FIXME uhd: default channel params to zero for single source and sink blocks Revert "Removed usrp2-firmware from being automatically built." Remove generated file from repo Removed usrp2-firmware from being automatically built. uhd: added libdir to UHD CFLAGS (shared by lib and swig) Swapping out preset keys until I work out some of their issues. Modifying QA tests for the sample tags. By default, it only checks the sizes of the tags since order is not specified or guarenteed. Block is a gr_block, so this sets its relative rate. Was required for using in the QA of the sample tags code. Removing global pmt constants. Were causing segfaults during make check. Must fix this later. Fixing up the UHD sample tag example to take command line options. Swapping order of testing rrate. Changing propagation policy enum type name and making a few other minor edits. Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still unsigned). Fixes issue #304. Adding typedef for uint64_t and int64_t so we can use them through SWIG. ... Passes make distcheck.
2010-12-06Merge branch 'master' into nextTom Rondeau
* master: Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted. Modifying blks2 wrapper for PFB arbitrary resampler to allow the user to just specify the requested resampling rate without providing their own filter taps. Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still unsigned). Fixes issue #304. Adding typedef for uint64_t and int64_t so we can use them through SWIG. Removing warnings in portaudio source/sink. Fixing output types from tap_type to o_type in gr_single_pole_iir.h. Doesn't make a difference in the current uses of this class, but could in the future. Thanks to Achilleas Anastasopoulos for pointing this out. first shot at Windows-compatible LIBUSB check Tweak LIBUSB m4 script to not check for 'usb_debug' symbol on Windows, because the symbol does not exist for that platform (only, it seems) Removing autogenerated file. Updated doxygen Doxyfile for newer versions. Adding file operations result checking. Updating audio_jack to new interface for creating a client. Fixes depricated warning. Potential fix to MSDD warnings by setting sequence number from buffer more explicitly. Adding a bit more checking on file operations. Fixing copyright date. Fixed warning re defining GNU_SOURCE. Can probably just remove it since it's defined in config, but this won't hurt anyone. Fixing signed/unsigned warnings. first shot at Windows-compatible LIBUSB check Tweak LIBUSB m4 script to not check for 'usb_debug' symbol on Windows, because the symbol does not exist for that platform (only, it seems) Conflicts: gnuradio-core/src/lib/swig/gnuradio.i
2010-11-29Modifying QA tests for the sample tags. By default, it only checks the sizes ↵Tom Rondeau
of the tags since order is not specified or guarenteed.
2010-11-29Removing global pmt constants. Were causing segfaults during make check. ↵Tom Rondeau
Must fix this later.
2010-11-28Swapping order of testing rrate.Tom Rondeau
2010-11-28Merge branch 'tagging' of github.com:trondeau/gnuradio into taggingTom Rondeau
2010-11-28Changing propagation policy enum type name and making a few other minor edits.Tom Rondeau
2010-11-23Removing dependency in QA code to filters that have not necessarily been ↵Tom Rondeau
built yet. Using test block keep_one_in_n to test decimation is handled in propogating tags.
2010-11-22Check for relative rate and update tag only if not 1.0; otherwise just copy.Tom Rondeau
2010-11-21Doxygen comments. Fixing typos that were leading to warnings.Tom Rondeau
2010-11-21Tagging file source takes in sample rate and uses it to find the last time ↵Tom Rondeau
tag and adjust the time between these tags and the burst start by the sample rate. Also added a function to gr_tag_info that can be used to sort tags based on nitems using std::sort.
2010-11-21Changing name of static tag keys.Tom Rondeau
2010-11-21Fixing flowgraph dump to clean it up (via patch from eb). Also added note ↵Tom Rondeau
about mutex locking in prune_tags.
2010-11-20Minor tweaks: comments, staticEric Blossom
2010-11-20Add guile shim to gr_top_block::wait that exits guile mode before blocking.Eric Blossom
2010-11-18gr_msg_queue now working correctly from within guile.Eric Blossom
2010-11-17Moved prune tags to gr_buffer.Tom Rondeau
2010-11-17Changing get_tags API to take in a vector reference instead of returning a ↵Tom Rondeau
vector.
2010-11-17Makefile changes to work in tag info stuff.Tom Rondeau
2010-11-17Adding information and convinience functions for accessing tag information.Tom Rondeau
2010-11-16Adding QA test for testing rate changes.Tom Rondeau
2010-11-16Adding a way for propagate_tags to handle different rates. The tags are ↵Tom Rondeau
rewritten between blocks to adjust their count based on teh block's relative_rate.w
2010-11-16Merge branch 'next' into taggingTom Rondeau
2010-11-14Remove code that's no longer needed.Eric Blossom
2010-11-14First hack at pruning tags to keep from growing.Tom Rondeau