Commit Graph
5974 Commits
Author SHA1 Message Date
Carles Fernandez 587ec66e78 Remove wrong delete 2019-07-01 11:03:18 +02:00
Carles Fernandez 72f8b9e212 Include the Guidelines Support Library. General improvement of memory management
Replacement of raw pointers by containers or smart pointers.

Reduce the number of naked news and deletes.

Reduce pointer arithmetics,

Applied some clang-tidy fixes.

See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rr-newdelete

See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-bounds-arithmetic
2019-06-30 19:21:23 +02:00
Carles Fernandez 9b5a69e9ce Document addition of the Guidelines Support Library in the changelog 2019-06-30 19:20:34 +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 52b70af104 Preserve PACKAGE_VERSION variable if it exists 2019-06-27 08:47:09 +02:00
Carles Fernandez b19fad4b63 Minor editing 2019-06-26 23:20:12 +02:00
Carles Fernandez da02757a07 Minor editing 2019-06-26 21:07:59 +02:00
Carles Fernandez de619fdd13 Set CMake policies older than 3.14 to NEW is not required anymore 2019-06-26 20:15:15 +02:00
Carles Fernandez e3f4cbd5d7 Improve consistency in reporting version 2019-06-26 12:39:58 +02:00
Carles Fernandez f8d8a59c45 Set known CMake policies to NEW if CMake >= 3.12 2019-06-26 11:18:08 +02:00
Carles Fernandez 8a6621b68c Update Matio version 2019-06-25 12:05:49 +02:00
Carles Fernandez 684944d523 Remove unused variable 2019-06-25 12:04:34 +02:00
Carles Fernandez 9db7a97fab Improve consistency in version reporting 2019-06-25 11:48:00 +02:00
Carles Fernandez e3d3285cd9 Fix broken compilation when ENABLE_CUDA was ON 2019-06-25 11:40:10 +02:00
Carles Fernandez a4676a53e4 Build custom UDP IP packet source if PCAP is available 2019-06-24 21:40:25 +02:00
Carles Fernandez 16a98cc8c9 Improve usage of FeatureSummary's add_feature_info function 2019-06-24 21:29:35 +02:00
Carles Fernandez ea68c8523c Merge branch 'opencl' into next 2019-06-24 20:43:58 +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
Carles Fernandez 59281117e9 Search for CMake config 2019-06-24 02:33:53 +02:00
Carles Fernandez bbe7707282 Improve dependency version identification in CMake modules 2019-06-24 00:24:08 +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 11ed0d3703 Small fixes in CMake modules 2019-06-20 11:58:50 +02:00