Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
09bcd1981c
Replace std::endl by \n character. There is no need to always flush the stream.
2020-07-07 18:53:50 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
...
Avoid indirection caused by passing shared_ptr by reference
The block factory does not have responsability on the lifetime of their inputs
Define std::make_unique when using C++11 and make use of it
Printers are turned into unique_ptr to express ownership
Printers do not participate on the lifelime of the data, so they take const raw pointers
Modernize tests code
2020-06-18 11:49:28 +02:00
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
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
9d0c00132d
Always have a space between // and comment
2019-08-19 01:29:04 +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
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
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
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
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
f0e6d6cbfa
Fix possible memory leaks
2017-08-15 00:04:51 +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
e7149acf6e
Better use of Test Case name
2017-07-03 12:43:25 +02:00
Carles Fernandez
40f02e30c2
Avoid underscores in Test Cases and Test Names
...
According to
https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-should-not-test-case-names-and-test-names-contain-underscore
2017-06-25 22:53:11 +02:00
Carles Fernandez
b7e06dc6a2
Refactor QA code
2016-09-29 12:26:48 +02:00