Dennis Klein
dc1d7a23c1
Adapt CI script to new environments
2018-11-28 16:28:26 +01:00
Alexey Rybalchenko
33f5590626
Fix -Wsign-compare warning
2018-11-28 11:49:17 +01:00
mkrzewic
489bea5a51
Add simple test for factory pointer setting at receive
2018-11-27 14:36:35 +01:00
mkrzewic
cc0c525e0d
Set pointer to factory also when receiving multi-part
2018-11-27 14:36:35 +01:00
Alexey Rybalchenko
25fcf13985
Move Bind/Connect/Attach to FairMQChannel
2018-11-13 11:08:48 +01:00
Alexey Rybalchenko
3ca0d7236a
Add safety checks for process tools
2018-11-06 11:14:01 +01:00
Teo Mrnjavac
227a302903
Avoid boost::uuids::entropy_error on some systems
2018-11-05 13:18:08 +01:00
Alexey Rybalchenko
bd899a2806
Add test for channel validation
2018-11-01 15:43:40 +01:00
Alexey Rybalchenko
0b199e779a
Add test for interface IP detection tools
2018-11-01 15:43:40 +01:00
Dennis Klein
5e4876c947
Allow plugins to create channels
...
This also fixes a bug, that prevented the usage of custom types with the
plugin config API.
2018-10-31 15:42:04 +01:00
Alexey Rybalchenko
3b5b2b501f
Use exceptions for fatal errors in device/channel
...
- These will be caught by StateMachine::ProcessWork
and lead to error state.
- Solve issue where device goes into ready state if
it encounters misconfigured channel in the Run.
- deprecate WaitForInitialValidation().
2018-10-31 15:26:43 +01:00
Alexey Rybalchenko
3561255cf9
Add missing channel update handlers
2018-10-31 15:26:43 +01:00
mkrzewic
cbab7649be
Return unique_ptr by value to allow RVO
2018-10-31 13:12:38 +01:00
mkrzewic
6ac94b7bc7
Fix ctor
2018-10-31 13:12:38 +01:00
mkrzewic
f9658f69a4
Alias boost::container::pmr -> fair::mq::pmr
...
so the eventual switch to std::pmr becomes easier
2018-10-31 13:12:38 +01:00
mkrzewic
34286ef75e
Remove container adoption code
2018-10-31 13:12:38 +01:00
mkrzewic
1a07137dda
Rename adoptVector into getVector
2018-10-31 13:12:38 +01:00
mkrzewic
1f42f49ae5
Update some comments
2018-10-31 13:12:38 +01:00
mkrzewic
d40bbfe208
Equip FairMQMessage with pointer to factory (at creation)
...
the patch seems big but most of it is just propagating the new notion of
constness of the factory - since it keeps track of created messages with
the internal allocator it no longer is const
2018-10-31 13:12:38 +01:00
mkrzewic
310b9647b5
Adopt FairMQMessage backed memory resource collection from AliceO2
...
Add a pmr interface to FairMQTransportFactory
refactor
Port the unit tests for MemoryResources
clang format
2018-10-31 13:12:38 +01:00
Alexey Rybalchenko
919193a1ad
Extend transfer timeout test
2018-10-30 10:39:35 +01:00
Alexey Rybalchenko
0cfa9192d7
Deprecate Send-/ReceiveAsync, use timeout variant instead
2018-10-30 10:39:35 +01:00
Alexey Rybalchenko
c40bd7d6a9
Apply clang-tidy suggestions [performance-faster-string-find]
2018-10-29 13:45:36 +01:00
Alexey Rybalchenko
4951433330
Apply clang-tidy suggestions [modernize-loop-convert]
2018-10-29 13:45:36 +01:00
Alexey Rybalchenko
1b53538d8c
Move test helper devices to headers
2018-10-18 21:33:47 +02:00
Alexey Rybalchenko
d4a4ea14d2
Add example/test for built-in devices
2018-10-18 21:33:47 +02:00
Alexey Rybalchenko
ffab4ac78c
Add options tests and (re-)/enable more nanomsg tests
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
ce4062f3a0
Remove GetSocket interface that exposes transport details
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
f8824335a5
Add setters/getters for socket options
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
2e7005225e
Remove sleeps from tests that were helping broken linger
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
dfa1b68867
Make factory classes final (optimization potential)
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
00800f16f1
Remove support for nanomsg <= 0.6
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
44acd4997d
Implement nanomsg linger in our transport
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
cfb727181f
Remove set/get timeout from general socket interface
2018-10-12 20:29:50 +02:00
Alexey Rybalchenko
e090967645
Shmem: Build shmem names out of session id + user id
2018-10-11 17:06:39 +02:00
Alexey Rybalchenko
1d45095d75
Add session id to example tests
2018-10-11 17:06:39 +02:00
Dennis Klein
1fdf510ae7
Pick correct build type in CI
2018-10-10 20:28:10 +02:00
Dennis Klein
78acb954cd
Test more cases with interactive controller
2018-10-10 19:35:18 +02:00
Dennis Klein
3a1b769937
Support feeding the child process data on stdin
2018-10-10 19:35:18 +02:00
Dennis Klein
9f325451e5
Make sure we reset terminal config also on exception
2018-10-10 19:35:18 +02:00
Dennis Klein
a78d35d90d
Remove obsolete declaration
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
cb199e7283
Fix throw after quit signal case
2018-10-10 19:35:18 +02:00
Dennis Klein
e39316c866
Test exceptions thrown in user code
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
bde12f58b2
Handle errors in static and interactive controllers
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
45354f268b
Use future instead of thread for device rateLogger
2018-10-10 19:35:18 +02:00
Dennis Klein
1aab354a5d
Resolve hanging process in case of uncaught exception
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
e1f555bc05
Fix issues found by Codacy
2018-10-08 17:20:02 +02:00
Alexey Rybalchenko
985150437a
Remove shmem prototype code - unused
2018-10-08 17:20:02 +02:00
Dennis Klein
cf9a2944c2
Introduce and export hotfix version component
...
The cmake variable PROJECT_VERSION_HOTFIX contains the hotfix version
component. 0 means no hotfix, 1 means the first hotfix, 2 the second,
and so on.
2018-09-20 18:09:07 +02:00
Dennis Klein
94297f9833
Tie builtin plugin version to the project version
2018-09-20 18:09:07 +02:00