1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-30 17:03:15 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
Carles Fernandez
1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez
4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01: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
abd1032ca2
Avoid using reserved identifiers 2020-12-29 14:47:28 +01:00
Carles Fernandez
e6d802d3e8
Fixes for new clang-format behavior 2020-11-22 11:05:16 +01:00
Carles Fernandez
b8862f8d7d
Give more intuitive names to files with functions for local signal replica generation 2020-11-07 22:43:19 +01:00
Carles Fernandez
bcd7c25cd1
Add Galileo E6 signal structure based on E6-B/C Codes Technical Note, Issue 1, Jan 2019.
Add Acquisition, Tracking and TLM blocks for Galileo E6 B/C. The decoder does nothing
2020-11-07 21:33:26 +01:00
Carles Fernandez
0880b04649
Handle change in GNU Radio FFT API 2020-11-04 09:32:00 +01:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +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
c4652c4593
Do not capture by reference in inner_product lambda 2020-06-30 15:29:30 +02:00
Carles Fernandez
e652b2335d
Add missing line 2020-06-30 13:52:20 +02:00
Carles Fernandez
b2fd68fe67
Improve std::plus void detection 2020-06-30 13:41:20 +02:00
Carles Fernandez
f8656ca9d8 Fix for compilers using C++11: the std::plus template without class T specified is only available since C++14 2020-06-29 12:32:35 +02:00
Carles Fernandez
3bc8595dfe
Add inner_product to detector benchmark 2020-06-29 10:13:07 +02:00
Carles Fernandez
4f4ccccf9b
Improve lamdba usage 2020-06-21 11:57:59 +02:00
Carles Fernandez
633d27b5fa
Improve lambda usage 2020-06-18 22:36:58 +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
d847d3fdcf
Add test about preamble correlation implementations 2020-06-11 12:09:55 +02:00
Carles Fernandez
1d703b4b48
Fix for using std::span when available, and gsl::span as a fallback 2020-05-07 23:11:11 +02:00
Carles Fernandez
eaee82280a
Make use of std::span when available 2020-05-07 21:47:45 +02:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +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
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +02:00
Carles Fernandez
449afd7029
Fix typo 2019-07-29 22:03:57 +02:00
Carles Fernandez
2ec6ed6ec6
Clean usage of Guidelines Support Library 2019-07-29 21:47:46 +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
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
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
751f54990c
Introduce gsl::span. Bound checking at compile time, no overhead at runtime
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
2019-06-29 01:28:30 +02:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez
c938093f6d
Improve includes (IWYU) 2019-03-05 19:31:41 +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
fdc12d94b8
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2018-12-03 22:23:08 +01:00
Carles Fernandez
578d96159d
Use emplace back when possible 2018-12-03 22:20:40 +01:00
Carles Fernandez
b994f466a7 clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html) 2018-12-03 18:03:25 +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
2f3376dc38
Ensure that a terminal is not open when the flag --noshow_plots is passed to the tests 2018-07-06 11:14:38 +02:00
Carles Fernandez
ccacc9fe3e
Share flag --noshow_plots for non-interactive testing 2018-06-29 21:53:39 +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
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
946d3dae9f Replace memset by std::fill_n. This fix warnings in GCC 8.0.1 (Fedora
Rawhide). The warnings were:

 warning: 'void* memset(void*, int, size_t)' clearing an object of
non-trivial type 'struct std::complex<float>'; use assignment or
value-initialization instead [-Wclass-memaccess]
2018-02-25 13:27:27 +01:00
Carles Fernandez
6eb03cd94c Add matio_test to make check in order to detect outdated matio library 2018-02-24 00:13:35 +01:00