Carles Fernandez
0066d581a1
Fix warning raised by clang-tidy check cert-flp30-c
...
Loop induction expression should not have floating-point type
2019-08-16 15:37:39 +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
c52a3dd4b5
Remove unused variables
2019-08-14 12:48:09 +02:00
Carles Fernandez
4eb8f2c14e
Avoid C99 extensions in initializations
2019-08-14 11:10:51 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check
2019-08-14 00:47:48 +02:00
Carles Fernandez
e693e3f1a4
Fix -Wstringop-truncation warning
2019-08-13 22:03:58 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated
2019-08-13 20:49:48 +02:00
Carles Fernandez
76515228b0
Avoid garbage values
2019-08-13 14:35:21 +02:00
Carles Fernandez
8867a9327c
Avoid null pointer argument in call to string comparison function
2019-08-13 13:52:43 +02:00
Carles Fernandez
1bfa866354
Remove usage of deprecated bzero, replaced by memset
2019-08-13 13:48:17 +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
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
...
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez
ba2ffb96f3
Merge branch 'next' into release0011
2019-08-04 22:13:06 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
75c71afd30
Merge branch 'next' into release0011
2019-08-04 08:28:19 +02:00
Carles Fernandez
2e93dbe8dc
Make build Reproducible
2019-08-03 20:31:53 +02:00
Carles Fernandez
ef90e09a36
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release0011
2019-08-02 15:01:10 +02:00
Carles Fernandez
4ec498514c
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON
2019-08-02 14:59:05 +02:00
Carles Fernandez
c79b8ea4f3
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON
2019-08-02 14:52:40 +02:00
Carles Fernandez
d2539d66ef
Merge branch 'next' into release0011
2019-08-02 10:40:37 +02:00
Carles Fernandez
2ec6ed6ec6
Clean usage of Guidelines Support Library
2019-07-29 21:47:46 +02:00
Carles Fernandez
4933ae3e0d
No Armadillo bound checking if compiled in Release mode
2019-07-29 21:22:44 +02:00
Carles Fernandez
9f8f9e8af9
Apply code cleaning before release
2019-07-28 12:01:11 +02:00
Carles Fernandez
f349d7c29b
Bump version to 0.0.11
2019-07-27 13:31:12 +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
e31b31952b
Sort includes, minor cleaning
2019-07-26 01:38:53 +02:00
Carles Fernandez
56b65df044
Improve initialization
...
Works in Linux and MacOS
2019-07-26 00:55:16 +02:00
Carles Fernandez
9f60ff3e24
Make use of cstdint type names
...
Fix google-runtime-int warning
2019-07-25 23:46:06 +02:00
Carles Fernandez
cc86642b15
Fix type
2019-07-25 23:35:10 +02:00
Carles Fernandez
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
...
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
6e5c79d144
Fix compiler ambiguity
2019-07-21 13:12:46 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
...
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell
2019-07-20 12:55:46 +02:00
Javier Arribas
0035cd06dd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher
2019-07-19 12:01:51 +02:00
Carles Fernandez
35852c7efb
clang-tidy fixes
...
Reduce number of hicpp-signed-bitwise warnings
See https://rules.sonarsource.com/c/RSPEC-854
2019-07-18 22:57:45 +02:00
Carles Fernandez
6a15b84687
Simplify code
2019-07-18 22:03:56 +02:00
Carles Fernandez
9f90384375
Unify operator name for exclusive or, use bitset instead of array for bools
2019-07-18 20:01:54 +02:00
Carles Fernandez
4628011e9e
Unify operator name for exclusive or
2019-07-18 19:47:27 +02:00
Carles Fernandez
b8fb52fe3c
Remove not needed moves
2019-07-18 19:43:08 +02:00
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +02:00
Carles Fernandez
c36cb0cf4b
Fix B3I code generation
2019-07-16 08:53:59 +02:00
Carles Fernandez
e7e936f97e
Use std::bitset<N> instead of std::array<bool, N>
2019-07-15 15:13:18 +02:00
Carles Fernandez
0e54fad652
Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix
2019-07-15 09:48:31 +02:00
Damian Miralles
410269069a
bds: Bug fixes in carrier wavelength computation
...
Changed wavelength computation to native method within RTKLIb. The native method
should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
stage for MEO satellites of the BDS constellation.
Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05:00
Carles Fernandez
9572b37da7
Remove uses of bitwise operations on signed integer types
...
Based in the High Integrity C++ Standard, Section 5.6.1
See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-expressions
Removed some c arrays by std::array
2019-07-14 23:34:07 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
...
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
4dfb2cf5d2
Avoid out-of-bounds read
2019-07-14 03:17:57 +02:00