Carles Fernandez
0564b790e7
Take into account that PATH could be empty
2019-03-03 10:57:05 +01:00
Carles Fernandez
c4d9a3631c
Fix leaks
2019-03-03 00:16:57 +01:00
Carles Fernandez
fb1fd2584d
Fix coverity scan defects
2019-03-02 11:44:45 +01:00
Carles Fernandez
df0a77ee0d
Fix warnings
...
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Carles Fernandez
7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
...
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Marc Majoral
c32e0b427a
coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class.
2019-02-27 17:27:31 +01:00
Marc Majoral
8d770d9be9
more code cleaning
...
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral
cf0a37300a
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-25 19:21:00 +01:00
Marc Majoral
40029f789c
FPGA hybrid observables tests set track_pilot by default.
2019-02-25 12:10:50 +01:00
Carles Fernandez
14899a3a77
Replace boost::thread by std::thread, get rid of boost::chrono
2019-02-24 23:11:19 +01:00
Carles Fernandez
d7d4cd09ae
Fix naming in fgpa and extra unit test implementations
2019-02-22 15:57:15 +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
edbebfbef8
Cosmetic fix
2019-02-21 12:52:29 +01:00
Carles Fernandez
b617213784
Extend clang-tidy checking to tests and utils
2019-02-21 11:42:56 +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
1decfcc488
Remove unused checks
2019-02-18 21:45:12 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
...
Fixes for macOS
2019-02-17 13:36:13 +01:00
Marc Majoral
2eebd31483
cleanup use of standard acquisition interface for the FPGA unit tests.
2019-02-15 10:12:20 +01:00
Marc Majoral
28959c1542
now the FPGA tracking pull-in tests can use the generic acquisition class interface
2019-02-14 18:02:18 +01:00
Marc Majoral
fd3eb2a80e
The termination process is now done correctly when using the FPGA.
2019-02-13 17:48:14 +01:00
Carles Fernandez
31383258b0
clang-tidy: apply checks
2019-02-12 15:56:18 +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
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +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
992fddcc46
Apply clang-tidy checks
2019-02-11 22:45:07 +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
8c0051ca0b
Apply clang-tidy checks
2019-02-11 18:38:42 +01:00
Carles Fernandez
071915407c
Use empty() instead of size() == 0
2019-02-11 18:36:59 +01:00
Carles Fernandez
dfc963ad86
clang-tidy: apply readability-else-after-return check
...
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
f1871a84e2
clang-tidy: apply checks
2019-02-11 15:33:24 +01:00
Carles Fernandez
298a9c2391
clang-tidy: apply readability-container-size-empty check
2019-02-11 14:47:18 +01:00
Carles Fernandez
16bd8aa983
clang-tidy: apply modernize-use-bool-literals check
2019-02-11 13:13:54 +01:00
Carles Fernandez
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
...
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +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
f0e2c7c48d
Small fixes
2019-02-10 13:52:37 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
dfc89868af
Fix building
2019-02-08 00:05:14 +01:00
Carles Fernandez
ae005c62f2
Reorder libraries
2019-02-07 22:44:31 +01:00
Carles Fernandez
4b7e3992c6
Reorder imported targets, add gnss_system_parameters to control_thread_test
2019-02-07 22:06:48 +01:00
Carles Fernandez
54473809f7
Imported target for GPerftools
2019-02-07 20:31:40 +01:00
Carles Fernandez
627ab01707
Fix Gtest detection
2019-02-07 19:45:31 +01:00
Carles Fernandez
3ddbef49ba
Fix gtest includes
2019-02-07 19:26:09 +01:00
Carles Fernandez
0162a05e24
Remove variable, replace it by Boost imported targets
2019-02-07 17:21:32 +01:00
Carles Fernandez
aee9decb54
Turn Googletest into a imported target
2019-02-07 17:05:26 +01:00
Carles Fernandez
97e8d9931e
Make use of Threads::Threads target
2019-02-07 09:28:20 +01:00
Carles Fernandez
d0b8393b66
Merge branch 'modern-cmake' of https://github.com/carlesfernandez/gnss-sdr into next
2019-02-05 01:31:56 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy
2019-02-05 01:31:09 +01:00
Carles Fernandez
c14e300afa
Add Boost::chrono target
2019-02-05 00:48:21 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54
2019-02-05 00:01:04 +01:00