summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
AgeCommit message (Collapse)Author
2010-11-04Fixing api call to gr_buffer_reader that no longer takes in which_input.Tom Rondeau
2010-11-04gr_buffer_reader doesn't need to know which input it is.Tom Rondeau
2010-11-04Moving add_item_tag into gr_buffer and get_tags_in_range to ↵Tom Rondeau
gr_buffer_reader. gr_block_detail takes care of the high-level adding and retrieving tags via the buffers/readers; also takes care of filtering tags by key. Tags are now added to the gr_buffers on 'which_output' while they are retrieved from the gr_buffer_reader based on 'which_input."
2010-11-04Making annotator block build up tags with the noutput_items as the value ↵Tom Rondeau
held. Simply prints info to stdout when tags are retreived.
2010-11-04Makding random_annotator simply copy input to output streams; fixes IO ↵Tom Rondeau
signatures.
2010-11-04Adding shell block for a random annotator. This will be used only for ↵Tom Rondeau
testing the stream tags, which is why its sitting in runtime.
2010-11-04Changing API to match changes to gr_block, including adding "srcid" param to ↵Tom Rondeau
add_item_tag. Added documentation to header file. Changing to deque from list. Still holding the deque locally in block_detail, but will be moved to gr_buffer. Adding tag just builds the tag tuple and appends it; doesn't worry about duplications.
2010-11-04Moves gr_block functions dealing with tags into protected space. Adds ↵Tom Rondeau
documentation to functions in header. Adds a "srcid" parameter to the add_item_tag function.
2010-11-04Fixing buffer to update abs_write_offset counter. Keeping access to counters ↵Tom Rondeau
exposed through gr_block for now, just remaining to nitem_*.
2010-11-02Moved number items read/written from gr_block_detail into gr_buffer ↵Tom Rondeau
(abs_written_offset) and gr_buffer_reader (abs_read_offset). Keeps the API exposed in gr_blocks for now.
2010-11-02Adding QA code to perform some tests on tags. Setting and getting items ↵Tom Rondeau
read/written; testing adding and retrieving tags.
2010-11-02Adding some protection to the nitems read/written accessors. Should this ↵Tom Rondeau
return 0 or throw?
2010-10-31Using pmt_eqv for key testing instead of == to make sure typing is worked ↵Tom Rondeau
out properly.
2010-10-31Checks for duplicate entry when adding a new tag.Tom Rondeau
add_item_tag looks at the last tag entered with the given key and tests if the value is the same. If it is the same value, then don't do add a new item. If the value is different, add a new tag of that key to the list.
2010-10-31get_tags_in_range now gets items between start and end INCLUSIVELY.Tom Rondeau
2010-10-31Adds functional ability to call get_tags_in_range with a specified key.Tom Rondeau
2010-10-31Fix to get_tags_in_range. Returns proper list and handles times when list is ↵Tom Rondeau
empty.
2010-10-26First stab at adding get functions for item tags in a given range.Tom Rondeau
2010-10-26Giving gr_block_detail a list of pmt tuples to hold item tagging information.Tom Rondeau
Adds ability to add new tags from a block.
2010-10-19Adding vectors to gr_block_detail that keep track of the number of samples ↵Tom Rondeau
read and written from each block's input. Accessor functions allow query of values through gr_block. Had to add gr_uint64 typedef to SWIG for it to understand how to handle the type.
2010-10-06Fixed missing set_relative_rate in these two blocks. The others don't ↵Tom Rondeau
actually do it, even though it's counter-intuitive for the pfb_decimate, which is a sync_block (decimation actually care of in the stream_to_streams).
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-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-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-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-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.