summaryrefslogtreecommitdiff
path: root/gr-trellis/lib
Commit message (Collapse)AuthorAgeFilesLines
* classic modules: use common precompiled headersMarcus Müller2021-07-191-1/+5
| | | | | | | This commit contains all the additions to gr-*/lib/CMakeLists.txt applicable to modules already present in 3.8. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* trellis/fsm: include boost/format where usedMarcus Müller2021-06-221-0/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* global: remove iostream from all files not use cout|cerr|cin|clogMarcus Müller2021-06-1713-13/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Removed unused <cassert>Marcus Müller2021-01-283-3/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-197-7/+7
| | | | | | | | | | | | | | | | | | | | 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>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-0314-155/+155
|
* Add `override` for common virtual function overridesThomas Habets2020-11-0314-24/+24
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-3014-68/+67
| | | | | | | | | | | | | | 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
* trellis: add pybind bindings for template classesJosh Morman2020-06-041-7/+2
|
* Merge pull request #3338 from marcusmueller/fsm_errorsMartin Braun2020-04-121-8/+11
|\ | | | | trellis/fsm: error handling and logging replaces printf debugging
| * trellis/fsm: error handling and logging replaces printf debuggingMarcus Müller2020-04-111-8/+11
| |
* | trellis: remove manual memory managementThomas Habets2020-04-111-7/+3
|/
* Update license header to SPDX formatdevnulling2020-01-2736-468/+36
|
* Remove newlines from exception messagesThomas Habets2020-01-013-8/+8
|
* clang-format: Ordering all the includesMarcus Müller2019-08-0915-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0934-4105/+4713
|
* cmake: Update to modern CMake usageAndrej Rode2019-03-041-55/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* cmake: remove unused *_generated_swigs syntaxAndrej Rode2019-01-071-2/+0
| | | | | these variables are always empty and are leftovers from removing gengen templates
* trellis interleaver: made table size unsigned intMarcus Müller2018-12-111-16/+17
| | | | | | | | | | | | This is part of the ongoing effort to avoid signedness confusion. It completes df4e7a85263eb523395ce6bef0b2e7769bd63465 in that it at least strives to handle sizes consistently in interleaver.cc. Of course, the returned vectors still contain signed ints where there should be unsigned ints, but the trellis core_algorithms.cc code is convoluted enough to warrant carefulness when touching, so this part of the API was kept.
* Fix compiler warnings about unsigned / signed comparisonsVolker Schroer2018-11-241-2/+2
|
* Invisible API change: Replace rand() with xoroshiro128+ for thread safetyMarcus Müller2018-11-221-5/+17
| | | | | Since this changes the interleaver, this is a compatibility-breaking change. This can thus only happen in a minor release (i.e. 3.8).
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3125-634/+718
|\
| * trellis: replace gengen with C++ templatesAndrej Rode2018-08-2623-574/+674
| |
| * Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-288-16/+0
| |
| * Merge branch 'master' into nextMartin Braun2018-02-031-1/+1
| |\
| * \ Merge branch 'master' into nextJohnathan Corgan2017-03-221-2/+0
| |\ \ | | | | | | | | | | | | | | | | Conflicts: gr-wxgui/lib/CMakeLists.txt
| * | | cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* | | | Convert set_relative_rate(double) to the new integer or receiprocal callAndy Walls2018-08-2310-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mass conversion of existing set_relative_rate(double) calls to either the set_relative_rate(uint64_t, uint64_t) or set_inverse_relative_rate(double) calls, where ever easily possible and appropriate, to improve tag propagation precision for fixed relative rates.
* | | | Added XML header strings to make the generated SVG work standalone in browsersMarcus Müller2018-06-201-1/+5
| |_|/ |/| |
* | | Comment typo fixing.luz.paz2018-02-031-1/+1
| |/ |/| | | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* | cmake: clean upBastian Bloessl2017-03-221-2/+0
|/
* Fixes Cov Defect 1046011: Resource LeakBen Hilburn2015-08-281-0/+2
| | | | Simple issue of a file handle not getting closed in `interleaver.cc`.
* fixed a bug in pccc encoder/decoder, and added fsm files.Achilleas Anastasopoulos2014-10-1517-30/+174
| | | | Also added locks in the set_ methods
* Updated documentation and grc/python examples in gr-trellis.Achilleas Anastasopoulos2014-10-082-25/+45
| | | | Removed weird pyhton examples and made them grc files.
* Added set_ methods for most parameters in (almost) all gr-trellis blocksAchilleas Anastasopoulos2014-10-0816-61/+306
| | | | Added FSM functionality + minor fixes
* cmake: follow-up to previous mergeTom Rondeau2014-08-081-1/+0
|
* Merge branch 'maint'Tom Rondeau2014-08-081-1/+0
|\ | | | | | | | | | | Conflicts: gnuradio-runtime/CMakeLists.txt gnuradio-runtime/lib/controlport/CMakeLists.txt
| * controlport: removing use of ice for a controlport rpc.Tom Rondeau2014-08-081-1/+0
| | | | | | | | This effectively disables the use of ControlPort for now until we build in a new middleware layer. The ControlPort API and interfaces exist but will function as nops for now.
* | cmake: coalesce EXPAND macros into 3 common macros, and switch to using ↵Michael Dickens2014-07-241-72/+13
| | | | | | | | those; simplifies code and makes maintenance easier.
* | build: better support for static libs.Tom Rondeau2014-07-181-0/+12
|/ | | | | | Now builds shared libraries with ControlPort (if ControlPort is enableed). Static libs still without ControlPort. Added proper Option and output message in cmake for Static Libs on/off.
* Merge branch 'maint'Tom Rondeau2014-07-072-3/+3
|\
| * Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-073-8/+8
| | | | | | | | 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).
* | build: adds an ENABLE_STATIC_LIB option to cmake to build static (.a) ↵Tom Rondeau2014-06-281-5/+23
|/ | | | versions of the libraries.
* Revert "GNU Radio EXPAND macros for template files:"Johnathan Corgan2013-12-181-13/+72
| | | | | | | | This reverts commit 6fc200fcba65cc4d18d7b10381da72769c0183c4. The original commit causes excessive rebuild sensitivity by regenerating many public API header files at cmake time instead of at build time.
* GNU Radio EXPAND macros for template files:Michael Dickens2013-12-141-72/+13
| | | | | | + move the 3 EXPAND macros to a common place (GrMiscUtils); + use them, or remove the unnecessary code when not actually using; + modify EXPAND macros to do the expansion at configure time, build time, and any time a dependency has been modified.
* trellis: moved include dir to gnuradio/trellisJohnathan Corgan2013-04-3024-33/+33
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-2914-56/+56
|
* video-sdl, trellis: adding windows files back into cmake.Tom Rondeau2013-04-011-0/+14
|
* build: removed last references to GRUEL.Tom Rondeau2013-04-011-0/+55
| | | | Also update qa_runtime to pull in qa_pmt tests.
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-1/+0
| | | | PMTs are handled slightly different and are installed into their own module and include dir.