summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/file_meta_sink_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* modules: include boost/format where usedMarcus Müller2021-09-071-0/+1
| | | | | | | | | | | | | | | | | | | in the classic modules: audio blocks digital dtv fec fft filter qtgui trellis/fsm uhd video-sdl vocoder/freedv_rx Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+0
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* gr-blocks: Check fseek() for failureZackery Spytz2021-01-111-3/+9
| | | | | | Some fseek() calls were not being checked for failure. Signed-off-by: Zackery Spytz <zspytz@gmail.com>
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-9/+9
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* blocks: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-131-2/+2
|
* blocks: file_meta_sink header size error handling logic errorBehnam Sabaghi2020-02-211-1/+1
| | | | | | This fixes a logical bug introduced in 88a9e1f9332d54c1743d062adfaf48aa6d3040ff, where error conditions were AND'ed together instead of OR'ed.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Remove newlines from exception messagesThomas Habets2020-01-011-4/+4
|
* Use C++11 ranged for and ranged insert instead of manual loopsThomas Habets2019-12-041-5/+4
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-380/+367
|
* Changed file_meta_sink's signature to take unserialized pmtMarcus Müller2018-07-141-30/+30
| | | | | | | | | | For some reason, the block accepts serialized PMT from in-GNU Radio, then unserializes it, then serializes it back. All possible uses probably will prefer just passing the PMT itself. Changing the API inherently fixes the Py3-migration related std::string handling ambiguity.
* gr-blocks: fix file_metadata_* not closing files on close()gnieboer2017-06-161-14/+17
|
* blocks: correcting use of mutexes in file_meta_sink.Tom Rondeau2014-07-281-3/+3
| | | | the gr::block class has a d_setlock mutex that's appropriate for this use instead of creating another for the child class.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-1/+1
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-6/+6
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-3/+3
| | | | PMTs are handled slightly different and are installed into their own module and include dir.
* Merge branch 'next' of gnuradio.org:gnuradio into nextTom Rondeau2013-01-021-4/+7
|\
| * blocks: fixed file_meta_sink/source_impl MSVC incompatibliity errorNicholas Corgan2013-01-021-4/+7
| |
* | gruel: updating all GR blocks that use PMTs to use new naming.Tom Rondeau2012-12-211-45/+45
|/
* blocks: moving file metadata sink/source to gr-blocks.Tom Rondeau2012-12-141-0/+464