Commit Graph

4122 Commits

Author SHA1 Message Date
Carles Fernandez f1022385b0 Improve memory management
In class definitions, first write the public interface, then private
2019-07-01 21:54:52 +02:00
Carles Fernandez 54553a8cff Remove delete 2019-07-01 15:26:48 +02:00
Carles Fernandez 587ec66e78 Remove wrong delete 2019-07-01 11:03:18 +02:00
Carles Fernandez 05c41d41e1
Remove deletes 2019-06-30 15:15:27 +02:00
Carles Fernandez ce1e160f10
Remove deletes when using Matio 2019-06-30 14:32:40 +02:00
Carles Fernandez d72542861f
Replace raw pointers by smart pointers. Remove delete 2019-06-30 12:51:23 +02:00
Carles Fernandez 2cc06c8b63
Remove delete in FPGA adapters 2019-06-30 12:10:14 +02:00
Carles Fernandez 5e42795677
Use auto 2019-06-30 12:09:11 +02:00
Carles Fernandez 17b1ef8b98
Do not use deletes. Improve memory management 2019-06-30 04:47:15 +02:00
Carles Fernandez d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez d75abe6758
Add inline keyword 2019-06-29 22:48:00 +02:00
Carles Fernandez f821caea4a
Code cleaning 2019-06-29 22:47:21 +02:00
Carles Fernandez 7264888487
Add explicit keyword
See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
2019-06-29 22:32:29 +02:00
Carles Fernandez b6e9ba5877
Improve const correctness 2019-06-29 22:04:03 +02:00
Carles Fernandez dd3b2f11db
Fix wrong loop 2019-06-29 21:13:14 +02:00
Carles Fernandez 0b1683fa1e
Avoid pointer arithmetics 2019-06-29 17:29:51 +02:00
Carles Fernandez 81c79ad007
Fix termination 2019-06-29 16:49:53 +02:00
Carles Fernandez c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +02:00
Carles Fernandez f90d52a1e2
Improve const correctness 2019-06-29 13:57:00 +02:00
Carles Fernandez d6714e35a1
Avoid pointer arithmetics 2019-06-29 12:55:39 +02:00
Carles Fernandez dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics 2019-06-29 11:58:08 +02:00
Carles Fernandez c79b360fa7
Replace Guidelines Support Library implementation
Source: https://github.com/martinmoene/gsl-lite
If works with gcc 4.8 (Microsoft's doesn't)
2019-06-29 02:40:12 +02:00
Carles Fernandez 9b3fd32f43
Check if the compiler has the <span> header 2019-06-29 01:58:12 +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 a2c6c8a630
Apply clang-tidy fixes 2019-06-28 12:26:46 +02:00
Carles Fernandez 1cd7ca301d
Use std::array for compile-time bound checking 2019-06-28 12:26:09 +02:00
Carles Fernandez 04a62b813f
Remove unused CMake modules
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +02:00
Carles Fernandez 684944d523 Remove unused variable 2019-06-25 12:04:34 +02:00
Carles Fernandez e3d3285cd9 Fix broken compilation when ENABLE_CUDA was ON 2019-06-25 11:40:10 +02:00
Carles Fernandez 0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +02:00
Carles Fernandez e28062de87
Modernize OpenCL code 2019-06-24 19:25:51 +02:00
Carles Fernandez de79147def
Fix OpenCL test if the OpenCL Platform is not ready 2019-06-24 14:33:08 +02:00
Carles Fernandez 9318fe540d
Fixes for modern OpenCL versions 2019-06-24 13:39:34 +02:00
Carles Fernandez a2dcf223f0
Create OpenCL imported target 2019-06-24 11:25:18 +02:00
Javier Arribas bfae31390f Adding TOW update consistency check in GPS L5 telemetry decoder 2019-06-21 18:06:48 +02:00
Carles Fernandez 12e26fe318
Move package DESCRIPTION and URL data to CMake modules 2019-06-21 02:49:41 +02:00
Carles Fernandez 25154ec066
Add more package version identifications 2019-06-19 23:42:46 +02:00
Carles Fernandez c30975064e
Get GPSTK version if found
This can be important in the future since current version is a c++17 blocker
2019-06-19 20:54:45 +02:00
Carles Fernandez 31c8b7afff Fix building (add missing include) 2019-06-18 14:41:50 +02:00
Javier 2981e7f831 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:21:51 +02:00
Javier Arribas ee530f0ed1 Fix wrong length in valve 2019-06-18 10:21:22 +02:00
Javier b41369c397 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:13:59 +02:00
Carles Fernandez 3bc8091745
Fix comparisons (warning: -Wsign-compare) 2019-06-17 23:42:16 +02:00
Javier bb8e7bc3a2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 21:26:01 +02:00
Carles Fernandez 6757fe3e80
Fix file headers 2019-06-17 19:50:59 +02:00
Javier Arribas 7a5e7c4196 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 18:13:45 +02:00
Javier Arribas 81ee21f8cf Adding new a multichannel file source suitable for multifrequency captures stored in different files to avoid stream synchronization problems in post-processing 2019-06-17 18:13:06 +02:00
Javier Arribas 47e6e173cb Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 09:53:14 +02:00
Carles Fernandez bb03f80478
Print Boost, Matio and Protocol Buffers found versions in summary report 2019-06-16 23:28:24 +02:00
Carles Fernandez ee9e7493ae
Add annotation rate parameter for KML, GPX, GeoJSON and NMEA outputs (default: 1s) 2019-06-16 20:27:00 +02:00