Commit Graph

32 Commits

Author SHA1 Message Date
Carles Fernandez 21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +01:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02: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 d36e9e431c
Avoid string truncation 2019-08-24 12:17:53 +02:00
Carles Fernandez e89a92469b
Remove all c-style casts 2019-08-16 15:19:31 +02:00
Carles Fernandez d298bdf0a9
Remove unused functions with defects in memory management 2019-08-14 20:06:48 +02:00
Carles Fernandez 4eb8f2c14e
Avoid C99 extensions in initializations 2019-08-14 11:10:51 +02:00
Carles Fernandez 487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez 471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +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 8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez 38858dece6
Apply clang-tidy fix readability-non-const-parameter 2018-12-11 12:38:38 +01:00
Carles Fernandez 17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +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 0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Carles Fernandez 622a76668d Fix typos 2018-03-26 00:50:55 +02: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 dfa11ab364 Fix out-of-bound access 2017-06-07 19:41:32 +02:00
Carles Fernandez 0b2b0fceac Fix defects detected by coverity scan 2017-06-07 15:02:14 +02:00
Carles Fernandez efc6082722 Fix defects detected by coverity scan 2017-06-07 12:11:16 +02:00
Carles Fernandez 0a4f6cf499 Avoid crashing when PPP is invoked 2017-05-04 09:19:57 +02:00
Carles Fernandez 319eff0e52 Fix some warnings, make code more readable 2017-04-29 23:08:04 +02:00
Carles Fernandez 883b4072c7 Fix warnings with gcc 2017-04-25 18:27:23 +02:00
Carles Fernandez 52f3eaa373 Add rtkpos and its dependencies 2017-04-25 00:48:13 +02:00
Carles Fernandez 981d0579d6 Arrange headers 2017-04-23 21:10:32 +02:00
Carles Fernandez c28a9c5711 Remove more warnings 2017-04-23 01:04:48 +02:00
Carles Fernandez c6349eccd1 Minor fixes 2017-04-23 00:36:57 +02:00
Carles Fernandez 03d5015390 Fix pow usage 2017-04-22 12:50:04 +02:00
Carles Fernandez 27ab390944 Refactor of constants, remove defines
and start adapting rtklib code to our coding style
2017-04-21 11:34:23 +02:00
Javier Arribas e90a9aa2bf Migration of the internal LS PVT solver to RTKLIB solver in progress. First working version for GPS L1. Removing SBAS duplicated code. 2017-04-20 16:10:12 +02:00