summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/io
AgeCommit message (Collapse)Author
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>
2009-08-14Added git ignore files auto created from svn:ignore properties.git
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
2009-08-06Adds constructor for gr.message_source that takes existing msgq.jcorgan
A gr.message_source object can now be created in one of two ways: blk = gr.message_source(itemsize, limit) msgq = gr.msg_queue(limit) blk = gr.message_source(itemsize, msgq) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11541 221aa14e-8319-0410-a670-987f0aec2ac5
2009-07-25Merge r11462:11485 from jcorgan/omni into trunk.jcorgan
Removes dependency on omnithreads from gnuradio-core. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11486 221aa14e-8319-0410-a670-987f0aec2ac5
2009-07-09Merged r11377:11390 from jcorgan/usrp-headers in to trunk.jcorgan
* Public USRP(1) header files are now in their own source directory and install into $(includedir)/usrp. This was done to avoid name clashes in the top-level include directory. Only users who are developing directly to libusrp in C++ are affected; the GNU Radio C++ and Python APIs are unchanged. The simple change required by this update is to change: #include <usrp_*.h> to #include <usrp/usrp_*.h> ...in your source code. * Removed usrp-inband code from tree (put into limbo directory.) This code has become unmaintained and has started to suffer from bitrot. A checkpoint tag has been made for anyone still needing to use it: http://gnuradio.org/svn/gnuradio/tags/checkpoints/trunk-20090708-pre-usrp-reorg The plan during the 3.2->3.3 development cycle is to replace the functions done by the in-band code with extensions to the existing gr-usrp blocks using the new message passing architecture. The USRP hardware FPGA code that provided the inband interface has not been removed; however, it too has become unmaintained and will likely be rewritten/replaced during the 3.3 timeframe. The trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11394 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-27Merged r11123:11148 from jcorgan/np into trunk.jcorgan
Adds --enable-python option to configure (defaults to yes). Using --disable-python or --enable-python=no will cause only C++ API targets to be created and installed. Several new shared libraries are now created. Where in the past, the C++ objects of the actual gnuradio blocks that were in a component were hidden inside their corresponding Python extension modules, these are now split out into a libgnuradio-foo.so library, and the _foo.so Python module is linked to that. This has been the way several top- level components have operated for some time, such as gr-audio-alsa and gr-usrp and gr-usrp2. This changeset applies that pattern to all components. C++ API users can use pkg-config to discover the cflags and libs parameters needed to include and link against these libraries. These components have not been tested: gr-comedi gr-audio-osx gr-audio-windows Passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11150 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-22doc fixes! work-in-progresseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11085 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-20Merged r10463:10658 from jblum/gui_guts into trunk. Trunk passes distcheck.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10660 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-25Merged r10501:10505 from michaelld/omnithread into trunk. Moves omnithread ↵jcorgan
header files into /gnuradio. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10506 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-31removed some warningseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9475 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Tweaks for gcc 4.3 based on patch from Marek Mahut <mmahut@fedoraproject.org>.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8292 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-09Fixes ticket:238. (Tim Meehan)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8163 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-24Fixed gr.udp_source,sink for use on Win32 (Don Ward)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8097 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-21Merged build_config branch into trunk:michaelld
1) Modified top-level run_tests.sh script: a) to execute code for setting or changing the library search path in Darwin (DYLD_LIBRARY_PATH) or Windows (PATH) on those host OSs only, not on other host OSs. b) Added local (to the component making check) library paths to those same search paths, since libtool doesn't do it (unlike in Linux). 2) In all AM Makefiles -except those dealing with USRP firmware-, changes INCLUDES to AM_CPPFLAGS since the former is deprecated. 3) Changed AM_CPPFLAGS to FW_INCLUDES for commands .c.rel in USRP firmware. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7769 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-18Merged -r7723:7729 from jcorgan/wav into trunk, with added example program. ↵jcorgan
Adds Martin Braun's gr.wavfile_source and gr.wavfile_sink blocks. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7730 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-08Merged r7478:7608 from michaelld/t186 into trunk. Adds ability to compile ↵jcorgan
GNU Radio modules individually, using already installed dependent libraries and include files. New functionality is enabled using --with-* on configure command line; existing build options should remain unchanged. Nice work by Michael Dickens, still needs documentation update on wiki. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7617 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-24Doc fixes from Firas.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7504 221aa14e-8319-0410-a670-987f0aec2ac5
2008-01-16Merged -r7436:7453 eb/freebsd into trunk. This is a part of a set ofeb
patches from Diane Bruce for FreeBSD. Still need to resolve the issue of where/how to include config.h in all swig code and how to select wx version on systems with more than one version installed. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7454 221aa14e-8319-0410-a670-987f0aec2ac5
2007-07-21Updated license from GPL version 2 or later to GPL version 3 or later.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6044 221aa14e-8319-0410-a670-987f0aec2ac5
2007-06-04merge ordm/receiver branch -r5574:5659. Reworks OFDM receiver with ↵trondeau
refactored OFDM blocks. A few bug fixes for other blocks have also been slipped in. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5661 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-30Fix incorrect include file reference.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5193 221aa14e-8319-0410-a670-987f0aec2ac5
2007-04-26Merged r4518:5130 from developer branch n4hy/ofdm into trunk, passes distcheck.jcorgan
Adds incomplete OFDM implementation, further work to be completed in the features/ofdm branch. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5131 221aa14e-8319-0410-a670-987f0aec2ac5
2007-02-16quick fix for std::min error on 64-bit systemstrondeau
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4489 221aa14e-8319-0410-a670-987f0aec2ac5