Commit Graph

48 Commits

Author SHA1 Message Date
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez 1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez 832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez 0164d8b37c
Fixes for old GCC 2020-04-26 12:35:08 +02:00
Carles Fernandez 4e5149a69e
Use lambda instead of boost::build in tests 2020-04-26 08:41:49 +02:00
Carles Fernandez 3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez 5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +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 02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02: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
Javier Arribas 601230ce37 Completing the migration to the new receiver channels and commands events queue. Fix unit test execution 2019-07-18 19:29:14 +02:00
Javier Arribas aeabfb7c3c Replacing the old gnuradio message queue with the new ConcurrentQueue 2019-07-17 15:56:30 +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 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 7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Carles Fernandez 14899a3a77
Replace boost::thread by std::thread, get rid of boost::chrono 2019-02-24 23:11:19 +01:00
Carles Fernandez d7d4cd09ae
Fix naming in fgpa and extra unit test implementations 2019-02-22 15:57:15 +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 8c0051ca0b Apply clang-tidy checks 2019-02-11 18:38:42 +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 e4303d0fac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:52:35 +02:00
Carles Fernandez 2b65c1b550
Replace unsigned long int by uint64_t and long int by int64_t in tests 2018-08-10 21:16:10 +02: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 559a9a7c43
Fix problem caused by hdf5 when saving concurrently
Only one acquisition channel info is stored in dump file if dump is activated. New configuration parameter dump_channel, set to 0 by default.
Name of Matlab variable changed from gird to acq_grid to not overlap Matlab command.
2018-06-24 11:05:58 +02:00
Carles Fernandez 73aa89dfc6
Fix creation of acquisition blocks, fix warning of unused private member 2018-06-03 22:43:53 +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
Antonio Ramos f283f7fab5 Fix test 2018-04-05 15:00:34 +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
Antonio Ramos f6aa86f60c Adapt tests to .mat dump files 2018-01-26 13:34:02 +01:00
Carles Fernandez ee1285218e Add GPS L2 acqusitition grid plot
and other small fixes
2017-10-29 12:26:06 +01:00
Carles Fernandez 4267150445 Add Galileo acquisition grid
and other fixes in tests
2017-10-28 20:17:51 +02:00
Carles Fernandez dc18980194 The global parameter name GNSS-SDR.internal_fs_hz has been replaced by
GNSS-SDR.internal_fs_sps

The old name was misleading, since the units are samples per second and
not Hertz. 

Backward compatibility is kept, so this change does not break any
existing configuration.
2017-09-02 11:24:44 +02:00
Carles Fernandez eecfd10875 Replace C-style casts by C++ casts 2017-08-19 20:05:52 +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
Carles Fernandez 59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez 02ea8acbfd Always initialize elapsed_seconds
It was causing warnings in GCC. Some code style applied.
2017-08-11 13:11:38 +02:00
Carles Fernandez 18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Carles Fernandez d89be37c4a Fix tests 2017-07-11 11:56:54 +02:00
Carles Fernandez a8f5b505b7 Fix tests
gps_ls_m_pcps_acquisition moved to extra unit tests since it requires an
external data file. Fixed a bug in
galileo_e1_pcps_ambiguous_acquisition_test
2017-02-03 09:17:53 +01:00
Carles Fernandez 35c10681b9 Change folder name to be more consistent with the website
See http://gnss-sdr.org/docs/
2016-10-10 19:36:41 +02:00