Carles Fernandez
14147cce32
Add doxygen group
2020-11-29 13:41:30 +01:00
Carles Fernandez
c9dc767c96
Fix includes
2020-11-29 11:49:19 +01:00
Carles Fernandez
8b3a77cdb4
Fix building if ENABLE_AD9361=ON bu ENABLE_FPGA=OFF
2020-11-29 10:18:35 +01:00
Carles Fernandez
77d58e1630
Replace the use of dirent.h by C++ standard libraries
2020-11-28 12:14:21 +01:00
Marc Majoral
5114d91ffc
replaced tabs with spaces
2020-11-27 13:49:14 +01:00
Marc Majoral
312e8c6c9c
cleaned comments
2020-11-27 12:21:10 +01:00
Marc Majoral
a53109c718
The sample counter, the Acquisition and the Switch determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA
2020-11-26 17:07:15 +01:00
Carles Fernandez
f24064e245
Fixes for changed behavior of clang-format
2020-11-06 10:41:20 +01:00
Carles Fernandez
f0e1ef6f9a
Add a common shared pointer definition
...
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
...
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Carles Fernandez
5713d8b2ad
Make clang-tidy happy
2020-08-09 14:03:53 +02:00
Carles Fernandez
47f6855610
Give more intuitive naming to asynchronous message handlers
2020-08-03 08:13:21 +02:00
Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
c0f81dd9e2
Improve const correctness. Improve usage of typeid
2020-07-19 09:39:32 +02:00
Carles Fernandez
09bcd1981c
Replace std::endl by \n character. There is no need to always flush the stream.
2020-07-07 18:53:50 +02:00
Carles Fernandez
9310bd8460
Sort private members in headers
2020-06-27 09:25:04 +02:00
Carles Fernandez
3beb1e98af
Use lambdas if possible.
...
Fine tuning in CMake scripts
2020-06-15 19:23:59 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names
2020-06-13 00:32:40 +02:00
Carles Fernandez
226689c359
Use target_compile_options instead of CMAKE_C_FLAGS
2020-06-12 22:47:35 +02:00
Carles Fernandez
c2c701d885
Fix warning in CMake < 3.13
2020-06-12 22:33:00 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto
2020-06-08 20:04:01 +02:00
Carles Fernandez
4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp>
2020-06-06 23:41:38 +02:00
Carles Fernandez
f731a7c0f1
Fix for Boost >= 1.73 in old compilers
2020-05-18 22:50:34 +02:00
Carles Fernandez
1077970962
Revert "Fix for Boost < 1.60"
...
This reverts commit 832c2558c6
.
2020-05-18 21:36:22 +02:00
Carles Fernandez
832c2558c6
Fix for Boost < 1.60
2020-05-18 19:55:44 +02:00
Carles Fernandez
b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace
2020-05-18 18:58:39 +02:00
Carles Fernandez
c27622a738
Fixes for old GCC
2020-04-26 12:28:24 +02:00
Carles Fernandez
9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler
2020-04-25 22:17:15 +02:00
Carles Fernandez
865a54ddff
Apply clang-format
2020-04-03 00:17:22 +02:00
Carles Fernandez
3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers
2020-04-02 23:59:35 +02:00
Carles Fernandez
5f974a8f17
Replace boost::shared_ptr by std::shared_ptr
2020-04-02 13:23:20 +02:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
...
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
...
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez
538c1e6182
Fix shadowed variables
2020-02-26 18:16:04 +01:00
Carles Fernandez
2ded19342f
Improve headers
2020-02-12 00:04:29 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards
2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/ )
...
Update license headers to SPDX format (see https://spdx.org/ )
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links)
2020-02-05 21:24:46 +01:00
Carles Fernandez
97c8c66755
Fix file name in header
2020-01-21 10:26:03 +01:00
Carles Fernandez
492a1185ff
Fix file name on header
2020-01-20 21:04:26 +01:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check
2019-10-11 19:24:20 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree
2019-10-11 11:57:33 +02:00
Carles Fernandez
64e7a7995b
Remove unused variables
2019-10-06 01:31:36 +02:00
Carles Fernandez
73e6d6aa1f
Fix warning
2019-10-05 21:29:23 +02:00
Carles Fernandez
cc2d723520
Apply clang-format to SUPL libraries
2019-10-05 10:29:46 +02:00
Carles Fernandez
af2d38bed9
Revert back Armadillo to 9.800.x
2019-10-05 03:32:53 +02:00
Carles Fernandez
c9e03557b7
Remove tabs
2019-10-05 03:16:31 +02:00
Carles Fernandez
a6e062492e
Allow edition of files with editors compatible with clang-format
2019-09-18 22:01:50 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15
2019-09-07 12:36:19 +02:00
Carles Fernandez
38ceb848f5
Fix memory leak
2019-08-25 11:47:49 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings
2019-08-24 17:34:12 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
c579aed27c
Fix portability warnings
2019-08-19 12:21:43 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
591dd6cbb9
Fixes for 32-bit archs
2019-08-17 16:06:39 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block
2019-08-17 15:29:31 +02:00
Carles Fernandez
c5b3e7597a
Remove tabs
2019-08-17 14:41:32 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
eef3eabbd3
Fix defects
2019-08-17 11:33:38 +02:00
Carles Fernandez
db2638ad46
Fix clang-analyzer-optin.portability.UnixAPI clang-tidy check warnings
2019-08-16 15:12:45 +02:00
Carles Fernandez
c5f4a54aac
Avoid implementation-defined behavior of shifting left a signed variable
2019-08-16 11:55:52 +02:00
Carles Fernandez
d469c694e2
Apply default clang-tidy check
2019-08-13 01:06:47 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +02:00
Carles Fernandez
b16ee3d919
Apply readability-redundant-control-flow check
2019-08-12 22:54:27 +02:00
Carles Fernandez
1c67a10936
Apply google-readability-casting check
2019-08-12 21:28:10 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration
2019-07-26 13:12:46 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Marc Majoral
6ee9fedd76
moved #defines to static consts + used clang-format + removed code that was commented out
2019-07-23 15:20:59 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
...
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell
2019-07-20 12:55:46 +02:00
Carles Fernandez
f440a0e9f1
Avoid passing big parameters by value
...
clang-tidy check: performance-unnecessary-value-param
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-07-20 11:39:08 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations
2019-07-20 11:13:28 +02:00
Carles Fernandez
50cfb6cdf5
Fix building until gnss-sdr
2019-07-16 19:20:37 +02:00
Javier Arribas
bf40ed2be1
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher
2019-07-14 18:51:41 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
...
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
1dfa169bbb
Fix memory leak
2019-07-12 21:59:14 +02:00
Javier Arribas
71d93dc4b9
New asynchronous channel and PVT status reporting from observables and PVT to flowgraph. Partial implementation of assistance from L1 to L2 and L5
2019-07-11 18:39:28 +02:00
Carles Fernandez
dfecb45b7f
Fix warning (unsigned comparison)
2019-07-02 11:26:59 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions
2019-07-01 23:44:42 +02:00
Carles Fernandez
54553a8cff
Remove delete
2019-07-01 15:26:48 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness
2019-06-29 22:04:03 +02:00
Carles Fernandez
cc162dac9e
Code cleaning
2019-04-08 11:14:41 +02:00
Marc Majoral
bef7e42fb9
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-18 19:37:19 +01:00
Carles Fernandez
10a42945e6
Make constructors private, fix documentation
2019-03-08 10:24:06 +01:00
Carles Fernandez
cf108a46c8
Break dependency by moving files
2019-03-06 23:59:35 +01:00
Carles Fernandez
e6cfbadbf3
Improve includes with IWYU
...
Fix for old Boost
2019-03-05 09:55:59 +01:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
...
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
1ad1366938
clang-tidy: apply readability-inconsistent-declaration-parameter-name check
2019-02-21 11:03:35 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF
2019-02-21 09:59:06 +01:00
Carles Fernandez
111c6291ec
Revert "clang-tidy: apply performance-unnecessary-value-param check"
...
This reverts commit eae967ed1a
.
2019-02-12 12:07:40 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
...
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
45b4478047
clang-tidy fixes
2019-02-11 17:15:48 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree
2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes
2019-02-04 20:00:29 +01:00