summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
AgeCommit message (Collapse)Author
2010-10-03Adding XML output to Python unittests.Tom Rondeau
gr_unittest.py was updated to handle the path and file creation and run the XML runner gr_xmlrunner.py is a public domain program written by Sebastian Rittau <srittau@jroger.in-berlin.de> (THANKS!) to extend Python's unittest module to handle XML JUnit format output. This was renamed from xmlrunner.py if any future work is done on it from our project as well as to keep the namespace clean and clear. qa_skiphead.py is a first test program for the XML output. Creates an outputfile $HOME/.gnuradio/unittest/python/test_skiphead.xml.
2010-10-02Moving XML output files from cppunit tests to $HOME/.gnuradio/unittests.Tom Rondeau
This also adds a new utility gr_unittests.h, which sets up the path for output files.
2010-09-30Adding an XML outputter for the CPP Unit tests. This is to a) store the ↵Tom Rondeau
output information but also b) for integration with Hudson for logging and displaying the results during the build stages. This only covers a few cases so far and I need to define a better place to save the output files.
2010-08-03Merge branch 'maint'Johnathan Corgan
2010-08-03Modify all block factories to use gnuradio::get_initial_sptr.Eric Blossom
2010-08-03fix scoped_lock that didn't ref mutexEric Blossom
2010-08-02Revert "gnuradio-core: allows configuring FFTW to use ESTIMATE vs. MEASURE"Johnathan Corgan
This reverts commit f23a2b33ca1bebf0c3a5fa26fdcff11827744b77. This change introduced a segfault when calling into the gr_prefs module during the gri_fft helper class constructor. Until this is debugged, the functionality is being reverted.
2010-07-21gnuradio-core: export missing public methods in gr.agc2Alexandru Csete
Alexandru Csete: The gr_agc2 block has public methods to set and get the AGC levels and rates; however, only a few of these interfaces are exported to Python and none of them are available in GRC. The attached patch adds the missing public methods to gri_agc2_cc.i and gri_agc2_ff.i and defines the corresponding callbacks in the gr_agc2_xx.xml GRC block.
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-22Merge branch 'patches/marcus/fftw'Johnathan Corgan
* patches/marcus/fftw: gnuradio-core: allows configuring FFTW to use ESTIMATE vs. MEASURE
2010-06-02gnuradio-core: fix missing linker flags for boost_program_optionsJohnathan Corgan
2010-06-01gnuradio-core: fix typo in doxygen headerJohnathan Corgan
2010-05-28Make C++ shared libraries versionedJohnathan Corgan
2010-05-25Fix erroneous file modesJohnathan 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: update copyrightsJohnathan Corgan
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-18gnuradio-core: removed gr.dd_mpsk_sync_cc block as obsoleteJohnathan Corgan
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-16gnuradio-core: allows configuring FFTW to use ESTIMATE vs. MEASUREMarcus D Leech
2010-05-14build: use correct comment delimiterJohnathan Corgan
2010-05-13gnuradio-core: Disable (temporarily) interpolator tap calculationJohnathan Corgan
There is some breakage with GR_FORTRAN / AC_PROG_F77 when running bootstrap. The gen_interpolator_taps binary is only needed to regenerate the MMSE interpolator taps, which hasn't been done for several years. Disable this until proper fix can be done.
2010-05-10Add gru.hexshort to deal with short hex constantsEric Blossom
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-04Merge branch 'master' into udpDon Ward
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-30Add missing buffer allocator hint to gr_ofdm_sampler.ccEric Blossom
This change was needed because gr_ofdm_sampler derives directly from gr_block, but functions (from the runtime's point of view) as a decimator. It takes many items in to produce a single output item. Without this change, values of fft_size > ~4096 would result in the scheduler complaining that it could never fullfil the block's request for samples. When deriving from gr_sync_interpolator or gr_sync_decimator, their constructors set the hint automatically.
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-18Fixing doxygen warnings from arb_resampler. Also, removed set_taps from publicTom Rondeau
interface since we don't _really_ suppor this right now. Renamed it and made it private.
2010-04-18Fixing doxygen warnings from channelizer block.Tom Rondeau
2010-04-18Fixing documentation to get rid of doxygen warnings.Tom Rondeau
2010-04-18Adding documentation for fff version of othe PFB clock sync algorithm.Tom Rondeau
2010-04-18Adding documentation to explain how algorithm works.Tom Rondeau
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.
2010-04-15Nevermind that last checkin. THIS is the right answer that doesn't have us ↵Tom Rondeau
possibly looking back at input item -1.