Carles Fernandez
d30b87c2c1
Make cpplint happy
2023-05-08 12:47:00 +02:00
Carles Fernandez
f7c1d9bf91
Replace deprecated vsprintf by vsnprintf
2023-04-09 19:05:32 +02:00
Jim Melton
d449d93885
cpplint fixes
2022-07-29 15:50:53 -06:00
Jim Melton
a0c1c0a001
improve string handling to avoid buffer overrun
2022-07-29 15:11:28 -06:00
Vladisslav P
59c9c6f8ab
RTKLIB: Switch to STL containers
...
...to prevent thread stack abuse.
And free up some stack space in Rtklib_Solver::get_PVT.
Signed-off-by: Vladisslav P <vladisslav2011@gmail.com>
2022-07-14 12:48:41 +03:00
Carles Fernandez
7308745f05
Apply more concise file header format
...
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +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
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
7e16077526
Remove all sprintf usages
...
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
730769d5f3
Fix API usage errors
2019-08-19 13:11: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
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check
2019-08-14 00:47:48 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated
2019-08-13 20:49:48 +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
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Carles Fernandez
07259159af
Apply clang-tidy checks
2019-02-22 21:34:15 +00: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
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
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
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +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
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Carles Fernandez
61e9e60477
Improve initializations (fix clang warning)
2018-06-03 14:48:31 +02:00
Carles Fernandez
622a76668d
Fix typos
2018-03-26 00:50:55 +02:00
Carles Fernandez
0400034d14
Fix typos detected by codespell
2018-03-25 19:47:28 +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
47e41d5b28
Avoid signed overflow
2017-08-26 10:07:18 +02:00
Carles Fernandez
1dda344e46
Fix -Wmisleading-indentation warning
2017-07-23 23:40:40 +02:00
Carles Fernandez
efc6082722
Fix defects detected by coverity scan
2017-06-07 12:11:16 +02:00
Carles Fernandez
de4ae22ab0
Remove warnings for unused parameters
2017-05-06 14:02:09 +02:00
Carles Fernandez
a52617d5b4
Make code more readable
2017-05-06 13:29:43 +02:00
Carles Fernandez
3f88fae88f
Remove unnecessary include
2017-05-06 13:02:58 +02:00
Carles Fernandez
847db9ea10
Make code more readable
2017-05-06 13:00:13 +02:00
Carles Fernandez
4f6ba053ef
Get PPP working
2017-05-06 10:01:54 +02:00
Carles Fernandez
0a4f6cf499
Avoid crashing when PPP is invoked
2017-05-04 09:19:57 +02:00
Carles Fernandez
7b7a130957
Remove some warnings
2017-05-02 20:01:21 +02:00
Carles Fernandez
902da19194
Use rtkpos instead of pntpos in rtklib_solver
...
so more positioning modes are available
2017-05-02 19:31:51 +02:00
Carles Fernandez
c6ef71d82e
Remove some warnings in ppp
2017-04-30 10:02:06 +02:00
Carles Fernandez
cd87e070a4
Remove some warnings in rtkpos and make it more readable
2017-04-30 09:08:19 +02:00
Carles Fernandez
319eff0e52
Fix some warnings, make code more readable
2017-04-29 23:08:04 +02:00
Carles Fernandez
bf0b5568f3
Fix warnings with gcc
2017-04-25 19:05:54 +02:00
Carles Fernandez
0496e55073
Fix warnings with gcc
2017-04-25 19:04:03 +02:00
Carles Fernandez
52f3eaa373
Add rtkpos and its dependencies
2017-04-25 00:48:13 +02:00
Carles Fernandez
ce8869c5c5
Add rtkpos
2017-04-24 17:01:35 +02:00