Carles Fernandez
4adb05570a
Fix typos detected by codespell
2019-07-09 11:52:53 +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
d5e5e5725d
Apply fixes by clang-tidy
2019-06-30 00:01:54 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Carles Fernandez
59494034d8
Better fix for Boost Asio and string_view issue in macOS
2019-05-26 02:09:53 +02:00
Carles Fernandez
a1f77607c3
Fix building in some macOS configurations
2019-05-16 20:49:10 +02:00
Carles Fernandez
da5e21a5b1
Fix message typos, improve messages, clean code
2019-05-12 10:59:11 +02:00
Carles Fernandez
f959428321
Improve initial mesages of Labsat source
2019-05-11 11:45:46 +02:00
Carles Fernandez
e574c55ca9
Smoother transition when reading a sequence of files
...
From:
End of current file, reading the next Labsat file in sequence: /Users/carlesfernandez/Downloads/time/output/output_0000.LS3
Labsat file source is reading samples from /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
Warning
To:
End of current file, reading the next Labsat file in sequence: /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
Labsat file source is reading samples from /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
2019-05-10 15:05:35 +02:00
Carles Fernandez
6a6ec19b63
Fix building with Boost 1.65.1 (Ubuntu 18.04)
2019-05-08 21:35:15 +02:00
Carles Fernandez
5563e609ec
Fix identification of Boost version
2019-05-08 19:28:53 +02:00
Carles Fernandez
214c9d5de0
Fix building for Boost < 1.66
2019-05-08 16:15:59 +02:00
Carles Fernandez
40f0a93695
Replace boost::asio::io_service (deprecated since Boost 1.66) by boost::asio::io_context
2019-05-08 15:23:55 +02:00
Javier Arribas
f2baf32e3f
Optimizing LabSat Source
2019-05-06 12:55:32 +02:00
Carles Fernandez
baeb326f84
Avoid unnecessary copy
2019-04-27 12:49:37 +02:00
Carles Fernandez
35c42c41d7
Stop the Labsat_Signal_Source when the end of file is reached. This allows to use this source for automated testing.
...
Now the block also accepts directly *.ls2 names in filename parameter
Remove samples parameter, it was not used. This source reads the full file(s).
Make labsat23_source constructor private, so only the smart pointer wrapper can be called
2019-04-12 12:59:57 +02:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00
Carles Fernandez
3b039619cc
Uniformize header guards
2019-02-22 23:02:16 +01:00
Carles Fernandez
07259159af
Apply clang-tidy checks
2019-02-22 21:34:15 +00:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
...
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes
2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF
2019-02-21 09:59:06 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS
2019-02-20 22:21:53 +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
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
...
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree
2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
60637c6125
Reorder dependencies
2019-02-07 21:31:40 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy
2019-02-05 01:31:09 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
f13b84c86c
Add more CMake modernization
2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0
Add more imported targets to CMake scripts
2019-02-04 16:07:29 +01:00
Carles Fernandez
d4da5d2879
Add Gflags::gflags private target
2019-02-03 20:28:49 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
67f3680bf4
Remove lintian complaints
2018-12-14 14:17:04 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy
2018-12-11 01:56:25 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy
2018-12-10 22:59:10 +01:00
Carles Fernandez
5485afd882
Apply fixes by clang-tidy
2018-12-10 19:29:00 +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
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +01:00
Carles Fernandez
327fec627c
clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html )
2018-12-03 22:08:19 +01:00
Carles Fernandez
0d408a6024
clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html )
2018-12-03 16:25:11 +01:00
Carles Fernandez
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html
2018-12-03 11:12:10 +01:00
Javier Arribas
1302614613
Improving SPIR GSS6450 signal source
2018-11-29 17:53:01 +01:00
Carles Fernandez
af8d93af1a
Remove unused variable
2018-11-24 18:41:36 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier
2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts
2018-11-22 00:35:21 +01:00
Carles Fernandez
e94b2f8990
Remove blanks
2018-11-18 21:24:54 +01:00
Javier
57a01809cb
Improving spir signal source
2018-11-11 20:25:14 +01:00