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

776 Commits

Author SHA1 Message Date
Carles Fernandez
f01f90695e
Apply clang-format 2019-02-22 13:30:18 +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
5d427df585
clang-tidy: apply performance-type-promotion-in-math-fn check 2019-02-21 12:09:18 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +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
88147d4956
Fix build with Clang (not AppleClang) on macOS 2019-02-20 22:21:53 +01:00
Carles Fernandez
b5e5277662
Fix random crashes when program ended in macOS
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.

Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
890752601d
Fix defects detected by Coverity Scan 2019-02-14 23:44:38 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Carles Fernandez
004dd4a38a Replace the deprecated branch_path() by parent_path() 2019-02-12 12:57:37 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +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
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
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +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
35a6ecb404
Fix bug, better string comparison 2019-02-10 13:22:49 +01:00
Carles Fernandez
21b5aeee9d
Make use of cstdint type names 2019-02-10 12:45:23 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
60637c6125
Reorder dependencies 2019-02-07 21:31:40 +01:00
Carles Fernandez
74950e9856
Set some compile definitions to private 2019-02-05 02:21:56 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +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
f3eef2f513
Add modern CMake targets for volk_gnsssdr 2019-01-31 12:12:04 +01:00
Carles Fernandez
928c545c84
Do not overwrite CMAKE_ASM_FLAGS 2019-01-29 14:58:01 +01:00
Carles Fernandez
3d2f10dae7
Make sure that regexp are raw strings 2019-01-29 14:52:01 +01:00
Carles Fernandez
2cf690d88e
Add clang support 2019-01-29 14:48:43 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Damian Miralles
2865e97b84 bds_b1i: Adding pvt computation with BeiDou B1I satellites 2018-12-28 19:01:22 -06:00
Damian Miralles
0c4b8b25f1 bds_b1i: Adding new tel dec block structure 2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez
8a7e35ea97
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-14 12:07:15 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes 2018-12-14 02:14:43 +01:00
Damian Miralles
0d94f9e1b7 bds b1i: some bug corrections in the code 2018-12-13 07:57:42 -07:00
Carles Fernandez
79e4a170a9
Update date in manpages 2018-12-12 01:50:29 +01:00
Carles Fernandez
9fc9357a08
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-12 01:34:23 +01:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter 2018-12-11 12:38:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals 2018-12-11 12:08:54 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +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
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-09 01:09:52 +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
Damian Miralles
352c82827e bds_b1i: enabling bds processing in rtklib processing 2018-12-05 15:08:22 -07:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +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