1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-30 17:03:15 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
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
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
1dfa169bbb
Fix memory leak 2019-07-12 21:59:14 +02: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
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
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes 2018-12-14 02:14:43 +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
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Carles Fernandez
6e3c640b9e
Fix warnings 2018-08-15 23:38:47 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez
e17f9268a8 Fix warning in GCC 8.0.1 (Fedora Rawhide)
The warning was:

warning: assignment discards 'const' qualifier from pointer target type
[-Wdiscarded-qualifiers]
2018-02-25 13:29:01 +01:00
Carles Fernandez
1b4c217d88 Fix redefinition warning 2018-01-20 12:29:21 +01:00
Carles Fernandez
0315746429 Fix warning 2018-01-20 04:17:50 +01:00
Carles Fernandez
005917ac56 Remove warning 2017-08-26 00:06:18 +02:00
Carles Fernandez
00cc726c12 Remove warning 2017-08-25 23:51:11 +02:00
Carles Fernandez
04d0debfca Remove warning 2017-08-25 23:42:36 +02:00
Carles Fernandez
1a463e9c52 Remove warning 2017-08-25 23:38:44 +02:00
Carles Fernandez
d1429001fc Update per_support files 2017-08-25 22:44:49 +02:00
Carles Fernandez
18c48b30f5 Update per_support files 2017-08-25 22:16:06 +02:00
Carles Fernandez
5a73b4e047 Improve package reproducibility
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Carles Fernandez
b0a53dc45d openssl fallback 2015-10-27 20:20:03 +01:00
Carles Fernandez
e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00