Carles Fernandez
95596b8f91
Soft transition from Gflags and Glog to Abseil. Some CI fixes
2024-04-29 08:27:33 +02:00
Carles Fernandez
e836d8f471
Fix more defects detected by Coverity Scan
2023-12-03 10:10:40 +01:00
Carles Fernandez
4b60f8a7f2
Fix performance inefficiencies detected by Coverity Scan
2023-12-01 10:19:39 +01:00
Carles Fernandez
816bd94379
Improve messages if configuration fails
2021-02-27 11:05:39 +01:00
Jim Melton
3b728d9c26
fix cast error
2021-02-15 17:15:38 -07:00
Jim Melton
ece5effa2d
penultimate clang-format fix
2021-02-15 16:34:16 -07:00
Jim Melton
78362e7cba
add signal_source_interface
...
also adds a base implementation that most signal sources should inherit from.
The gen_signal_source is inexplicably different (probably as a test fixture,
commonality was not valued).
Only the file_signal_source has been tested; all the sources are modified in the same
way, but we all know the only proof of correctness is testing.
The block factory was simplified a bit. Handling for legacy config files was pulled out
of the flowgraph; now when the "0" instance of a component (Foo0) is created, if there is
no config for it, then the legacy version (Foo) will be tried. This is different from
passing -1 for the item number (which is still supported). Theoretically, all existing
config files should still work.
2021-02-15 11:47:13 -07:00
Carles Fernandez
7308745f05
Apply more concise file header format
...
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
7a64f53ddf
Avoid redundancy, and possible errors, in block factory public API
2020-07-13 15:17:15 +02:00
Carles Fernandez
d5972398c3
Avoid null pointer dereference warning from cppcheck
2020-07-12 12:46:13 +02:00
Carles Fernandez
d3b7557dcf
Sort constants
...
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez
c784dfe125
Fix a bug that could cause a crash on receiver stopping
...
If a channel event was happening after flowgraph stop and before flowgraph disconnection, it caused a crash. This was avoided by sleeping the control thread during 500 ms after disconnection and before the block destructors were called, so the event could be processed, but this was not a robust solution.
2020-06-27 09:52:59 +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
447d8a5625
Fix warning in GCC 10
2020-05-28 23:05:09 +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
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Javier Arribas
aeabfb7c3c
Replacing the old gnuradio message queue with the new ConcurrentQueue
2019-07-17 15:56:30 +02:00
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +02:00
Carles Fernandez
620191f818
Fix warning (unused variable)
2019-07-04 08:52:06 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy
2019-07-03 23:47:42 +02:00
Javier Arribas
e7517dc86d
Removing superseded GPS tracking block. Carrier Aiding is now included in unified tracking
2019-06-11 10:11:20 +02:00
Carles Fernandez
811cdc9693
Use Protocol Buffers for data serialization
2019-04-20 11:52:00 +02: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
d2e0bf973a
Remove unused parameters
2018-06-06 11:49:21 +02:00
Carles Fernandez
6daf42f5aa
Fix creation of acquisition blocks
2018-06-03 22:44:30 +02:00
Carles Fernandez
52eb3ba240
Avoid moving a temporary object since it prevents copy elision
2018-06-03 18:39:51 +02: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
Antonio Ramos
be5139e5f7
Merge branch 'next' into debug
2018-03-06 16:19:52 +01: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
1fc9592736
Update test name
2018-03-01 19:52:03 +01:00
Antonio Ramos
4d6aaf43af
Merge branch 'next' into fix_observables
2018-02-26 10:12:47 +01:00
Carles Fernandez
24f6003ba0
Remove iostream from header files
...
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
Antonio Ramos
dfb5f1118c
Fix unit tests
2018-02-20 15:44:45 +01:00
Unknown
0f45e7d211
Block Factory filter instantiation tests
...
Added test cases for Pulse_Blanking, Notch and Notch_Lite filters
2017-10-13 16:21:26 +02:00
Carles Fernandez
ff89df1ea1
Fix GCC warning
2017-08-18 13:11:12 +02: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
85cc7802be
Fix const correctness when catching exceptions
...
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez
4ba0dd63cb
Update PVT block name
2017-07-12 21:25:15 +02:00
Carles Fernandez
ec83f384bf
Add minor fixes
2017-07-12 10:01:20 +02:00
Carles Fernandez
b1f880c19a
Fix test
2017-07-03 12:42:22 +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
Javier Arribas
807ca24fc2
Refactoring code. Adding new experimental tests and new common TX time observables algorithm
2017-04-12 17:04:51 +02:00
Carles Fernandez
bbd1c2fe7c
Add test of stopping the receiver by a external program
2016-10-16 10:40:07 +02:00
Carles Fernandez
b7e06dc6a2
Refactor QA code
2016-09-29 12:26:48 +02:00