Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
c0f81dd9e2
Improve const correctness. Improve usage of typeid
2020-07-19 09:39:32 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
...
Avoid indirection caused by passing shared_ptr by reference
The block factory does not have responsability on the lifetime of their inputs
Define std::make_unique when using C++11 and make use of it
Printers are turned into unique_ptr to express ownership
Printers do not participate on the lifelime of the data, so they take const raw pointers
Modernize tests code
2020-06-18 11:49:28 +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
9d0c00132d
Always have a space between // and comment
2019-08-19 01:29:04 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez
def3a8875a
Misc improvements
...
Remove cstdio
Remove usage of cstring and memcpy when it is not needed
Mark move cobstructor with noexcept
2019-07-14 02:28:28 +02:00
Carles Fernandez
d549d19024
Fix test
2019-03-06 18:58:57 +01:00
Carles Fernandez
6ba77c5f28
Sort includes: include what you use
2019-03-04 08:12:50 +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
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
f1871a84e2
clang-tidy: apply checks
2019-02-11 15:33:24 +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
de84a161fb
Update NMEA printer test
2018-11-07 20:33:34 +01:00
Carles Fernandez
39a062ca00
Save PVT dump also in .mat. New parameter dump_mat can disable this feature
2018-10-31 14:56:59 +01:00
Carles Fernandez
b183fe63ba
Improve PVT block configuration. Allow to store data products in different folders
2018-10-28 00:42:28 +02:00
Carles Fernandez
96fc3068cc
Fix initialization for GCC
2018-05-19 21:35:06 +02:00
Carles Fernandez
9a020457da
Fix test initialization
2018-05-19 19:30:03 +02:00
Carles Fernandez
239a4df498
Improve test initialization
2018-05-19 18:00:40 +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
632bceb653
Fix DOP computation, print it in GPX and NMEA
2018-05-07 09:13:45 +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
24f6003ba0
Remove iostream from header files
...
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Carles Fernandez
58e92343c7
Fix bug in NMEA messages. Fixes #45
...
Add a new test for the NMEA printer
2017-08-25 11:42:02 +02:00