1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-19 00:04:58 +00:00
Commit Graph

5991 Commits

Author SHA1 Message Date
Carles Fernandez
0e0991a1a5
Add move assignment operator 2019-07-05 14:44:56 +02:00
Carles Fernandez
1237a29fc9
Add copy constructor, copy assignment operator, move constructor and move assignment operator 2019-07-05 14:42:48 +02:00
Carles Fernandez
52c08e3ab4
Add copy constructor, copy assignment operator, move constructor and move assignment operator 2019-07-05 13:08:00 +02:00
Carles Fernandez
620191f818
Fix warning (unused variable) 2019-07-04 08:52:06 +02:00
Carles Fernandez
ad389cf267
Remove unused variable 2019-07-04 08:24:48 +02:00
Carles Fernandez
2d276526a8
Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v (Fix) 2019-07-04 08:11:25 +02:00
Carles Fernandez
fd9edf2486
Remove duplicate character if GROSMOSDR_PKG_VERSION contains a v 2019-07-04 08:06:02 +02:00
Carles Fernandez
9ba6f4d670
Make header file more readable. Remove unused private method interpolate_data() 2019-07-04 00:00:29 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy 2019-07-03 23:47:42 +02:00
Carles Fernandez
081439d6f8 Code cleaning 2019-07-02 17:48:00 +02:00
Carles Fernandez
da7ca482a8 Hide direct constructor as private member 2019-07-02 17:24:54 +02:00
Carles Fernandez
173361f89f Fix test 2019-07-02 11:31:43 +02:00
Carles Fernandez
dfecb45b7f Fix warning (unsigned comparison) 2019-07-02 11:26:59 +02:00
Carles Fernandez
f0a92f1fb3
Make constructor public 2019-07-02 06:54:48 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions 2019-07-01 23:44:42 +02:00
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
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