1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-01 00:10:50 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
Carles Fernandez
0fd605e2ef Test fixes 2017-11-18 10:10:23 +01:00
Carles Fernandez
fcaf4cfa50 Fix test in Ubuntu 16.04 2017-11-18 10:05:14 +01:00
Carles Fernandez
8926821fa3 Fix building if hdf5 is not found 2017-11-17 23:17:08 +01:00
Carles Fernandez
d4aa35316d Add matio 2017-11-17 21:54:02 +01:00
Carles Fernandez
00e37a83a6 Fix building in Linux 2017-11-17 21:20:56 +01:00
Carles Fernandez
929125cce5 Add matio library and add test case for it 2017-11-17 14:47:50 +01:00
Carles Fernandez
396415b6f2 Fixes in testing code 2017-10-29 00:44:38 +02:00
Carles Fernandez
d86158a94a Adjust font size in pdf files 2017-10-22 23:04:39 +02:00
Carles Fernandez
32dde63348 Save figures in pdf format 2017-10-22 22:33:27 +02:00
Carles Fernandez
0164d6725d Simplify gnuplot interface usage in tests 2017-10-22 09:14:25 +02:00
Carles Fernandez
785d6185c3 Print both plots 2017-10-22 08:29:35 +02:00
Carles Fernandez
5b23e29beb Fix error 2017-10-22 08:23:19 +02:00
Carles Fernandez
19b280e089 Add persist to gnuplot terminal 2017-10-22 08:20:51 +02:00
Carles Fernandez
c4ba566c42 Keep windows open in Linux 2017-10-21 13:39:41 +02:00
Carles Fernandez
ff4938702e Add Gnuplot-based plot results for FFT MeasureExecutionTime test 2017-10-21 13:05:51 +02:00
Carles Fernandez
1ac986e207 Test FFT with random numbers instead of all zeros 2017-10-20 12:58:44 +02:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
d5590eefe4 Added FFT speed test
Unit test comparing GNU Radio and Armadillo FFT implementations
2017-10-18 11:04:17 +02:00
Unknown
2c739a26bf Added Armadillo VS GNU Radio FFT speed test
Unit test comparing the two FFT implementations
2017-10-17 14:17:11 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00