summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/io
AgeCommit message (Collapse)Author
2011-07-26Merge branch 'next' of gnuradio.org:gnuradio into nextJosh Blum
2011-07-26Fixed return warnings.Tom Rondeau
2011-07-26core: added missing io.h includes on cc filesJosh Blum
Added to the cc files which were missing io.h and required compatibility declarations in io.h to compile. Applies to compiling under MSVC with cmake work branch.
2011-07-26core: added missing config.h includes on cc filesJosh Blum
Added to the cc files which were missing config.h and required compatibility functions defined in config.h. Applies to compiling under MSVC with cmake work branch.
2011-07-20gr: squashed cmakelists.txt into one commitJosh Blum
2011-07-20core: API declaration macros for core class and function symbolsJosh Blum
2011-07-20core: added missing io.h includes on cc filesJosh Blum
Added to the cc files which were missing io.h and required compatibility declarations in io.h to compile. Applies to compiling under MSVC with cmake work branch.
2011-07-20core: added missing config.h includes on cc filesJosh Blum
Added to the cc files which were missing config.h and required compatibility functions defined in config.h. Applies to compiling under MSVC with cmake work branch.
2011-03-25Fixing missing include files and various other patches for Windows build issues.Don Ward
2011-02-27use boost::math::iround in gr_histo_sink_f.cc and gr_wavfile_sink.ccJosh Blum
this provides a round implementation on platforms w/o c99 standard
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-11-29Removing global pmt constants. Were causing segfaults during make check. ↵Tom Rondeau
Must fix this later.
2010-11-21Removed comments to stdout from file tagger; made it easir to go from ↵Tom Rondeau
internally generated bursts to detected bursts (which needs work).
2010-11-21Fixed file tagger error handling so it doesn't prematurely exit under ↵Tom Rondeau
certain, but correct, conditions.
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-18Fix guile related problems with gr_message_{sink,source}.Eric Blossom
2010-11-17Changing blocks to use new get_tags api and tag convinience functions.Tom Rondeau
2010-11-16Fixed tagging sink.Tom Rondeau
2010-11-16New file sink to handle tagged bursts of data.Tom Rondeau
2010-11-10Revert "add the .i files as dependencies"Eric Blossom
This reverts commit f43d2a4759e0ecd6519c0ac0aa4afbc54e70ea65. The dependencies doesn't make any sense. There's an attempt to run sed on files that haven't been generated yet.
2010-11-10add the .i files as dependenciesRob Savoye
2010-11-10Disable gr_message_source until later...Eric Blossom
2010-08-03Merge branch 'maint'Johnathan Corgan
2010-08-03Modify all block factories to use gnuradio::get_initial_sptr.Eric Blossom
2010-07-05Merge branch 'patches/marcus/stripchart'Johnathan Corgan
Conflicts: gr-wxgui/src/python/scope_window.py * Adds new scope window trigger, TRIG_MODE_STRIPCHART * Allows config file selection of whether background window sinks still run * Allows config file selection of default trigger mode * Allows config file selection of default waterfall sink color mode [wxgui] #Setting this to true prevents the window sinks from stopping when they #are not displayed, as when they are in a notebook with a hidden tab. run_always = False # Default scope trigger mode. # # 0 = Freerun # 1 = Auto (default) # 2 = Normal # 3 = Stripchart trig_mode = 1 # Default waterfall sink color mode. Valid choices are 'rgb1', 'rbg2', # 'rgb3', or 'gray' waterfall_color = rgb1
2010-07-05Merge branch 'patches/marcus/file_sink'Johnathan Corgan
2010-06-01gnuradio-core: fix typo in doxygen headerJohnathan Corgan
2010-05-23Merge remote branch 'gnuradio/wip/udp_source_sink'Johnathan Corgan
* gnuradio/wip/udp_source_sink: gnuradio-core: update copyrights gnuradio-core: allow swig to handle exceptions in UDP source/sink grc: update UDP source and sink block wrappers Simplify USE_SELECT usage Return immediately when using d_residual. Defend against a peer that sends an invalid message length. Move initialization of select timeout Correct update of d_temp_offset (parallel construction) Identify memory leaks that occur on error conditions Use -1 as file descriptor "not open" value instead of 0 Add additional conditionalization of networking includes Flush pending errors in gr_udp_sink on disconnect() Rework UDP source and sink, with incompatible API changes Updates to udp source/sink (select(), wait, cleanup) Discard data in gr_udp_sink until receiver is started. Use getaddrinfo in gr_udp_{source,sink} Changes to gr_udp_{source,sink} for MinGW Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
2010-05-21gnuradio-core: allow swig to handle exceptions in UDP source/sinkJohnathan Corgan
2010-05-19Simplify USE_SELECT usageEric Blossom
2010-05-19Return immediately when using d_residual.Eric Blossom
(Otherwise recv may overwrite valid data in d_temp_buff.)
2010-05-19Defend against a peer that sends an invalid message length.Eric Blossom
2010-05-19Move initialization of select timeoutEric Blossom
2010-05-19Correct update of d_temp_offset (parallel construction)Eric Blossom
2010-05-19Identify memory leaks that occur on error conditionsEric Blossom
2010-05-19Use -1 as file descriptor "not open" value instead of 0Eric Blossom
2010-05-19Add additional conditionalization of networking includesEric Blossom
2010-05-16gr-wxgui: adds stripchart trigger mode to graphics sinksMarcus D Leech
2010-05-16gnuradio-core: adds configurable flush to file sinkMarcus D Leech
2010-05-06Flush pending errors in gr_udp_sink on disconnect()Don Ward
On some systems (e.g., Debian/lenny) UDP errors are reported on the following send() or recv() call. To avoid having errors (such as ECONNREFUSED) from an old connection showing up on the first write to a new connection, we do a recv() on disconnect() to flush them. This may not work for all errors on all systems, but it works in some simple cases of interest.
2010-05-04Rework UDP source and sink, with incompatible API changesDon Ward
Remove source address specifications for sink; add connect() and disconnect() to sink; add get_port() to source; add optional EOF signaling (using zero-length packets) to sink and source; modify dial_tone, vector, and audio examples to match new code; add qa test case.
2010-04-30Merge branch 'master' into udpDon Ward
2010-04-30Updates to udp source/sink (select(), wait, cleanup)Don Ward
Use select() to avoid blocking on recv() in gr_udp_source (only known way to avoid blocking on Cygwin). Add wait argument to gr_udp_source to allow waiting for connection or accepting lack of connection as EOF; add --no-wait option to dial_tone_sink.py. Remove system dependencies from .h files; remove unused data members and (useless?) public open and close functions.
2010-04-26Convert gr-audio-portaudio to Boost via gruelJohnathan Corgan
Remove omnithread dependency in build for gr-audio-portaudio Remove unused debugging utility class in gnuradio-core (gri_logger)
2010-04-20Discard data in gr_udp_sink until receiver is started.Don Ward
Also fixes warnings from gcc 4.3 and adds <boost/bind.hpp> for usrp2.
2010-04-18Use getaddrinfo in gr_udp_{source,sink}Don Ward
Using getaddrinfo allows more common code between posix and winsock systems. Remove unused variables and #include files. Close sockets when done.
2010-04-18Changes to gr_udp_{source,sink} for MinGWU-DON-WORKBENCH\Don
Initialize and cleanup after winsock DLL. Interpret winsock error codes. Use DWORD instead of timeval for setting timeout.
2010-04-15Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)Don Ward
SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so we expect setsockopt to return ENOPROTOOPT (invalid option for protocol) on Cygwin and MinGW. If it happens on any other system it should probably be ignored there, too.
2009-10-10Use gruel::mutex instead of pthread_mutex in gr_histo_sink_f.Johnathan Corgan
Patch-by: Don Ward <don2387ward@sprynet.com>