Carles Fernandez
fd8787c7a4
Modernize memory management
2019-08-23 21:59:44 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
7e16077526
Remove all sprintf usages
...
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
6c3af29485
Fix API usage errors
2019-08-19 21:58:50 +02:00
Carles Fernandez
a754a070a1
Fix API usage errors
2019-08-19 16:13:23 +02:00
Carles Fernandez
730769d5f3
Fix API usage errors
2019-08-19 13:11:13 +02:00
Carles Fernandez
c4db5476fb
Always have a space between // and comment
2019-08-19 10:49:37 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment
2019-08-19 01:29:04 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts
2019-08-18 12:54:16 +02:00
Carles Fernandez
a0eaa67d7d
code cleaning
2019-08-17 15:47:20 +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
b2045076bd
Fix typo
2019-08-17 14:26:11 +02:00
Carles Fernandez
afc7f1031c
Remove tabs
2019-08-17 14:23:35 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
874c92351c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-08-17 03:14:13 +02:00
Javier Arribas
e6af1a7e44
Simplifiying the RTKLIB error log and avoid msg repetitions
2019-08-16 18:24:01 +02:00
Carles Fernandez
24570f8a08
Fix performance-inefficient-string-concatenation clang-tidy warning
2019-08-16 16:03:10 +02:00
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
3abf82ca2c
Fix possible memory leak
2019-08-16 13:02:11 +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
8a34fa8041
Fix typo
2019-08-14 11:58:35 +02:00
Carles Fernandez
80c4cdd1cb
Avoid usage of variable length arrays, which is a C99 feature
2019-08-14 11:58:00 +02:00
Carles Fernandez
3c92d6a7c6
Improve initialization of random engines
2019-08-14 11:56:55 +02:00
Carles Fernandez
4eb8f2c14e
Avoid C99 extensions in initializations
2019-08-14 11:10:51 +02:00
Carles Fernandez
ad617a0c26
Fix receiver reference number in comments
2019-08-14 10:14:43 +02:00
Carles Fernandez
5f176b084c
Replace defines by constants and move them to the implementation
2019-08-14 02:34:00 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix
2019-08-14 02:14:29 +02:00
Carles Fernandez
151a52d3d6
Move default constructor to header file
2019-08-14 01:17:47 +02:00
Carles Fernandez
4560712791
Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks
2019-08-14 00:56:53 +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
2771d5b5f2
Remove unused private members
2019-08-13 21:27:17 +02:00
Carles Fernandez
ad477fd12f
Fix warning (unused parameter)
2019-08-13 21:26:36 +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
c04ec18ef7
Fix typo
2019-08-13 13:50:07 +02:00
Carles Fernandez
0873d11407
Avoid usage of double as a loop index
2019-08-13 13:49:30 +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
d469c694e2
Apply default clang-tidy check
2019-08-13 01:06:47 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +02:00
Carles Fernandez
b16ee3d919
Apply readability-redundant-control-flow check
2019-08-12 22:54:27 +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