1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-31 23:26:22 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
Carles Fernandez
4f36210536
Fix warnings 2023-12-01 10:20:52 +01:00
Carles Fernandez
318c7cba9f
CI: Fix cpplint job 2023-03-21 11:06:09 +01:00
Carles Fernandez
8e1818f743
Fix truncation warning 2023-03-21 09:53:16 +01:00
Carles Fernandez
b99d1afb36
Fix some truncation warnings 2023-03-21 09:24:11 +01:00
Carles Fernandez
d8de6bf20b
Allow std::make_unique in C++11 2022-08-10 23:27:40 +02:00
Carles Fernandez
f79332bb7d
Fix building for compilers using C++11 (Debian 8, Centos 7) for std::string_literals 2022-08-10 16:44:50 +02:00
Carles Fernandez
e429a96601
Use boost::filesystem if std::filesystem is not available 2022-08-10 12:14:52 +02:00
Jim Melton
7bd25aa9cc
penultimate clang-tidy compromise 2022-08-08 23:50:39 -06:00
Jim Melton
daaa4799b6
maybe this is the last one 2022-08-08 21:12:38 -06:00
Jim Melton
01fccabf82
one of these days, I'll learn to format before commit 2022-07-31 13:48:04 -06:00
Jim Melton
9c773a9dda
clang-tidy compromise; fix some, silence some 2022-07-31 13:45:17 -06:00
Jim Melton
963b1cc63c
address MacOS CI failures 2022-07-29 16:10:07 -06:00
Jim Melton
d449d93885
cpplint fixes 2022-07-29 15:50:53 -06:00
Jim Melton
e45632f827
run clang-format on ALL the modified files this time 2022-07-29 15:46:45 -06:00
Jim Melton
a0c1c0a001
improve string handling to avoid buffer overrun 2022-07-29 15:11:28 -06:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez
3c4ec48d43
cpplint: fix whitespace/semicolon 2020-02-23 02:45:51 +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
5b83902d87
Trim snprintf maximum length 2019-08-25 14:59:17 +02:00
Carles Fernandez
7e16077526
Remove all sprintf usages
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
6c3af29485
Fix API usage errors 2019-08-19 21:58:50 +02:00
Carles Fernandez
a754a070a1
Fix API usage errors 2019-08-19 16:13:23 +02:00
Carles Fernandez
730769d5f3 Fix API usage errors 2019-08-19 13:11:13 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +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
e89a92469b
Remove all c-style casts 2019-08-16 15:19:31 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check 2019-08-14 00:47:48 +02:00
Carles Fernandez
e693e3f1a4
Fix -Wstringop-truncation warning 2019-08-13 22:03:58 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated 2019-08-13 20:49:48 +02:00
Carles Fernandez
1bfa866354
Remove usage of deprecated bzero, replaced by memset 2019-08-13 13:48:17 +02:00
Carles Fernandez
6c5a4c4859
Remove usage of strcpy
See CWE-119 https://cwe.mitre.org/data/definitions/119.html
2019-08-13 13:10:45 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
56b65df044
Improve initialization
Works in Linux and MacOS
2019-07-26 00:55:16 +02: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
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
8925ca7066
Fix building in Mac OS 2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
81a4d24ae9
Use nullptr 2018-12-07 21:00:30 +01:00
Carles Fernandez
327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez
9d94910e1b
Fix building 2018-12-03 10:12:38 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Carles Fernandez
fd2e5d9a00
Improve initialization (fix clang warning) 2018-06-03 19:14:56 +02:00
Carles Fernandez
559cc00bd7
Avoid dereference after null check 2018-05-21 04:05:13 +02:00
Carles Fernandez
7d4fe83fb6
Make Coverity Scan happy 2018-05-19 22:33:03 +02:00
Carles Fernandez
bf23bc1e3e
Make Coverity Scan happy 2018-05-19 20:56:27 +02:00
Carles Fernandez
2b7ccc11b9
Make Coverity Scan happy 2018-05-19 20:42:50 +02:00