Giulio Eulisse
fcd39e3aa4
Do not print logo, if not requested
2021-12-14 10:32:17 +01:00
Alexey Rybalchenko
ebcbe2dde6
feat: Add interactive controller button to print connected peers
2021-10-19 10:22:19 +02:00
Dennis Klein
fda8126a43
feat: Add new GetNumberOfConnectedPeers() API
2021-10-19 10:22:19 +02:00
Dennis Klein
8796ce5b20
feat: Add new assertm macro
...
This allows to add a message to the assertion which can improve
readability of error diagnostics.
2021-10-19 10:22:19 +02:00
Dennis Klein
b8503bfbd5
fix: Deprecate Message::Close because it is really a dtor
2021-10-19 10:22:19 +02:00
Dennis Klein
7329cb4428
refactor: Deduplicate GetConstant()
...
* Deprecate its old name in the Socket classes
2021-10-19 10:22:19 +02:00
Dennis Klein
e84a16da88
fix: warning readability-braces-around-statements
2021-10-19 10:22:19 +02:00
Dennis Klein
1a5d0eddbe
fix: Silence false positive cppcoreguidel-pro-bounds-array-to-pointer-decay
2021-10-19 10:22:19 +02:00
Alexey Rybalchenko
5fe2f53c7b
feat: add tool for noncanonical input
2021-10-08 09:42:28 +02:00
Alexey Rybalchenko
d7fb01908c
fix(shm): fix regression in debug mode data
2021-10-08 09:42:28 +02:00
Alexey Rybalchenko
1449166d44
feat: add options to control allocation attempts
2021-10-08 09:42:28 +02:00
Alexey Rybalchenko
36600dce2c
Apply clang-diagnostic-unused-private-field
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
153dcfab94
Apply modernize-use-override
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
ad824b4de1
Define copy/move ctors and assignment ops
...
Delete special member functions where they are not used.
(as part of applying suggestions from cppcoreguidelines-special-member-functions)
These classes don't need to be copyable/movable:
# copy/move not used:
zmq:: TransportFactory, Socket, Message, UnmanagedRegion, Poller, Context
shm:: TransportFactory, Socket, Message, UnmanagedRegion, Poller
ofi:: TransportFactory, Socket, Message, Context
shm:: ZMsg, Region, Monitor, TerminalConfig, Manager
plugins:: Config, Control, TerminalConfig
fairmq::StateQueue, StateMachine, ProgOptions, PluginServices, PluginManager, Plugin, Device, StateSubscription
TestData, BadDevice, TestDevice (test suite heplers)
# used via ptr interface:
fairmq::UnmanagedRegion, TransportFactory, Socket, Poller, Message
These classes need to be movable/copyable:
MyClass (test suite helper), fairmq::Channel, fairmq::Parts
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
597d88277b
Apply clang-analyzer-optin.performance.Padding
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
9590b5be40
Apply readability-static-accessed-through-instance
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
cf9b45cd75
Apply cppcoreguidelines-avoid-non-const-global-variables
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
1ee9d2d222
Apply misc-unused-alias-decls
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
310204a89d
Apply performance-faster-string-find
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
f33c597f34
Apply readability-avoid-const-params-in-decls
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
efca8e0ad4
fix(pmix): Avoid deprecated value
2021-09-24 13:36:58 +02:00
Alexey Rybalchenko
1ac30b51b1
fix(pmix): compiler warning infinite-recursion
2021-09-24 13:36:58 +02:00
Alexey Rybalchenko
2934016586
fix(pmix): ler warning string-plus-int
2021-09-24 13:36:58 +02:00
Alexey Rybalchenko
e484bf4578
Shm: Fix SetUsedSize()
2021-09-20 13:29:28 +02:00
Dennis Klein
b442483dc3
fix: Deprecate static string helper
2021-09-09 18:01:55 +02:00
Dennis Klein
727a709aff
fix: -Winfinite-recursion
2021-09-09 18:01:55 +02:00
Alexey Rybalchenko
bce380d871
Implement shmem msg zero-copy
2021-09-07 20:53:16 +02:00
Alexey Rybalchenko
815b2f1d76
shm: reimplement alignment
2021-09-07 20:53:16 +02:00
Dennis Klein
4e8f247a0d
fix: First round of using new non-namespaced typenames
2021-09-07 20:53:16 +02:00
Dennis Klein
24fbf94946
build: Use fairmq-tidy on our own codebase when RUN_FAIRMQ_TIDY=ON
2021-09-07 20:53:16 +02:00
Dennis Klein
dff2b4b7d1
feat(tidy): Add new FairMQTidy.cmake module
2021-09-07 20:53:16 +02:00
Dennis Klein
9cbaf7e0fd
feat(tools): Move the error code to the Tools target
2021-09-07 20:53:16 +02:00
Dennis Klein
db727092c5
feat(tidy): Add new fairmq-tidy tool
2021-09-07 20:53:16 +02:00
Dennis Klein
8e6c50e7cc
refactor: Prepare deprecation of non-namespaced types and headers
2021-09-07 20:53:16 +02:00
Alexey Rybalchenko
db0500fb2d
Protect access to options container
2021-07-30 16:07:47 +02:00
Dennis Klein
479d6e0712
feat: Add <fairmq/FwdDecls.h>
2021-07-16 18:47:55 +02:00
Dennis Klein
8859c563ac
build: Pick shared flatbuffers lib first
...
relates alisw/alidist#3165
2021-07-16 18:03:47 +02:00
Dennis Klein
e3d3be888f
feat: Add new function GetEnabledTransports()
...
* Also clang-format
2021-07-16 12:31:17 +02:00
Dennis Klein
0c4921d650
feat: Drop public bundled dependency to asio
2021-07-16 12:31:17 +02:00
Dennis Klein
1007de8e49
feat(ofi): Require asiofi 0.5
...
* Modernize some ofi transport code along the way
* Replace Boost.Container with `<memory_resource>`
* Introduce namespaced headers
* `<fairmq/Channel.h>`
* `<fairmq/Message.h>`
* `<fairmq/Poller.h>`
* `<fairmq/Socket.h>`
* `<fairmq/TransportFactory.h>`
* `<fairmq/UnmanagedRegion.h>`
* Compile-firewall Boost.Process in `shmem::Manager` because it conflicts
with standalone asio
2021-07-16 12:31:17 +02:00
Dennis Klein
9585c20b7f
feat: Drop public dependency to Boost.Asio and use standalone asio
2021-07-16 12:31:17 +02:00
Alexey Rybalchenko
03ba9eb558
Add --shm-zero-segment-on-creation option
2021-07-16 09:40:17 +02:00
David Rohr
a6193a380d
Add --shm-mlock-segment-on-creation option
2021-07-16 09:40:17 +02:00
Dennis Klein
e2452fa7e4
fix(plugins): Avoid double device control releases
...
This was not really broken, but it generated a debug log message
containing the keyword 'error' consistently, which is convoluting any
debugging session.
This commit also adds some trace log message on plugin device control
API calls.
2021-07-07 14:43:32 +02:00
Dennis Klein
1df338b262
feat: Require DDS 3.5.13.7
2021-07-07 14:43:32 +02:00
Dennis Klein
81b1ba1f20
fix(sdk): Avoid narrowing conversion
2021-07-07 14:43:32 +02:00
Dennis Klein
e2de214a19
fix(sdk): Silence boost warnings
2021-07-07 14:43:32 +02:00
Dennis Klein
09d2574105
feat(sdk): Remove unused fairmq executable
2021-07-07 14:43:32 +02:00
Dennis Klein
8533a44418
test: Adjust test signal timer
...
With shorter timing the tests were failing sometimes.
2021-07-07 14:43:32 +02:00
Dennis Klein
42606f9f17
build: Add missing compile feature
2021-07-07 14:43:32 +02:00