Dennis Klein
dcea48fcee
fix: parse errors
...
```
/test/memory_resources/_memory_resources.cxx: In member function ‘virtual void {anonymous}::MemoryResources_allocator_Test::TestBody()’:
/test/memory_resources/_memory_resources.cxx:104:12: error: parse error in template argument list
104 | config.SetProperty<string>("session", to_string(session));
| ^~~~~~~~~~~~~~~~~~~
/test/memory_resources/_memory_resources.cxx:104:31: error: no matching function for call to ‘fair::mq::ProgOptions::SetProperty<<expression error> >(const char [8], std::string)’
104 | config.SetProperty<string>("session", to_string(session));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/dklein/projects/FairMQ2/test/memory_resources/_memory_resources.cxx:11:
/fairmq/ProgOptions.h:269:6: note: candidate: ‘template<class T> void fair::mq::ProgOptions::SetProperty(const std::string&, T)’
269 | void fair::mq::ProgOptions::SetProperty(const std::string& key, T val)
| ^~~~
/fairmq/ProgOptions.h:269:6: note: template argument deduction/substitution failed:
/test/memory_resources/_memory_resources.cxx:104:31: error: template argument 1 is invalid
104 | config.SetProperty<string>("session", to_string(session));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/test/memory_resources/_memory_resources.cxx: In member function ‘virtual void {anonymous}::MemoryResources_getMessage_Test::TestBody()’:
/test/memory_resources/_memory_resources.cxx:132:12: error: parse error in template argument list
132 | config.SetProperty<string>("session", to_string(session));
| ^~~~~~~~~~~~~~~~~~~
/test/memory_resources/_memory_resources.cxx:132:31: error: no matching function for call to ‘fair::mq::ProgOptions::SetProperty<<expression error> >(const char [8], std::string)’
132 | config.SetProperty<string>("session", to_string(session));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/fairmq/ProgOptions.h:269:6: note: candidate: ‘template<class T> void fair::mq::ProgOptions::SetProperty(const std::string&, T)’
269 | void fair::mq::ProgOptions::SetProperty(const std::string& key, T val)
| ^~~~
/fairmq/ProgOptions.h:269:6: note: template argument deduction/substitution failed:
/test/memory_resources/_memory_resources.cxx:132:31: error: template argument 1 is invalid
132 | config.SetProperty<string>("session", to_string(session));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2025-06-13 08:17:53 +02:00
Giulio Eulisse
67dcf77a7f
De-boostify: use std::pmr from C++17
2025-06-13 08:02:06 +02:00
Alexey Rybalchenko
24e7a5b8d0
Make shmem headers public
2025-03-17 15:16:46 +01:00
Giulio Eulisse
c11506e958
feat(EventManager): Out of line some methods
2025-01-23 15:35:26 +01:00
Dennis Klein
e4f258c9ea
fix: Update copyright
2025-01-09 17:09:57 +01:00
Dennis Klein
324a27a2e1
fix(tools): No longer use removed alias io_service
...
Deprecated via d3bbf3756d
and removed via 49fcd03434
in Boost 1.87 or Asio 1.33.
2025-01-09 17:09:57 +01:00
Dennis Klein
c80f97b338
fix(tools): No longer use removed query
API
...
Deprecated via 74fe2b8e14
and removed via e916bdfb1a
in Boost 1.87 or Asio 1.33.
2025-01-09 17:09:57 +01:00
Dennis Klein
76824fee36
build(googletest): Update metadata
2025-01-09 17:09:57 +01:00
dependabot[bot]
d2e4679dc8
build(deps): bump extern/googletest from 530d5c8
to 7d76a23
...
Bumps [extern/googletest](https://github.com/google/googletest ) from `530d5c8` to `7d76a23`.
- [Release notes](https://github.com/google/googletest/releases )
- [Commits](530d5c8c84...7d76a231b0
)
---
updated-dependencies:
- dependency-name: extern/googletest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 18:24:47 +01:00
Alexey Rybalchenko
6bb70bd519
Update Mac CI nodes
2025-01-07 17:42:16 +01:00
Giulio Eulisse
fe2127e12f
Reduce bloat due to statics
...
Avoid disseminating every compile unit including Message.h with TransportNames and
TransportTypes and the associated unordered_map helper methods (e.g.
murmur_hash).
2025-01-07 17:41:30 +01:00
Giulio Eulisse
41165cf16b
Out of line ProgOption::SetProperty for int and std::string
...
The specializations are common enough to show up in O2 compilation profiles
and they are not time critical (once per run at max).
2025-01-07 17:34:22 +01:00
Dennis Klein
8fe95e644e
ci: Update
2024-08-20 15:56:21 +02:00
Dennis Klein
6628a231e2
build: Adopt all CMake policies up to 3.30
...
Modernizing to the policy range syntax supported by
[`cmake_minimum_required`](https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html )
since CMake 3.12.
2024-08-20 15:56:21 +02:00
Giulio Eulisse
91b31f0799
Hide actual container from the API
2024-05-23 15:54:24 +02:00
Alexey Rybalchenko
39cb021827
Add 'no control' controller
2024-02-19 22:09:54 +01:00
Alexey Rybalchenko
36b48f5594
Update MacOS CI entires
2024-02-16 13:12:40 +01:00
Alexey Rybalchenko
0e221b28b8
shm: use node_allocator for ref counts
2024-01-25 10:45:34 +01:00
Alexey Rybalchenko
1ee0977df4
shm: use (de)allocate_one() for ref counts
2024-01-25 10:45:34 +01:00
Alexey Rybalchenko
24d578a4ba
shm: extend monitor output for refCount region
2024-01-25 10:45:34 +01:00
Christian Tacke
ce1a4499cc
ci: Check codemeta/zenodo with AUTHORS/CONTRIBUTORS
...
If AUTHORS or CONTRIBUTORS are changed,
check that the changes are merged into codemeta.json,
and .zenodo.json.
2023-12-20 16:51:13 +01:00
Dennis Klein
7d009f0915
docs: Update installation section
2023-12-14 13:15:18 +00:00
Dennis Klein
b70b181c38
ci: Create devcontainer.json
2023-12-14 13:40:47 +01:00
dependabot[bot]
94602d23b3
build(deps): bump extern/googletest from a1cc8c5
to 530d5c8
...
Bumps [extern/googletest](https://github.com/google/googletest ) from `a1cc8c5` to `530d5c8`.
- [Release notes](https://github.com/google/googletest/releases )
- [Commits](a1cc8c5519...530d5c8c84
)
---
updated-dependencies:
- dependency-name: extern/googletest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 13:35:01 +01:00
Dennis Klein
41ac755c57
ci: Fix dependabot gitsubmodule directory
2023-12-13 15:48:21 +01:00
Dennis Klein
6d4a82427b
Update dependabot.yml
2023-12-13 15:31:14 +01:00
Dennis Klein
0966dee55d
build: Enable dependabot
2023-12-13 15:26:44 +01:00
Christian Tacke
b649356c5a
chore: upgrade checkout step to v4
2023-12-13 13:34:35 +01:00
Alexey Rybalchenko
2df3d909fa
shm: when refCount segment size is zero, fallback to old behaviour
...
, which is to store reference counts inside the main data segment
2023-11-29 19:21:42 +01:00
Alexey Rybalchenko
05a2ae6a31
example: configure new script too
2023-11-29 19:21:42 +01:00
Alexey Rybalchenko
58ffdfd1f4
Remove unused ctor and constant
2023-11-29 19:21:42 +01:00
Alexey Rybalchenko
addfd071bb
Fix incorrect parameters in region example scripts
2023-11-24 14:19:21 +01:00
Alexey Rybalchenko
2d27abc533
Examples: add a script for externally created region
2023-11-24 14:19:21 +01:00
Alexey Rybalchenko
faf577086a
shm: fix initialization of rc segment when region is created externally
2023-11-24 14:19:21 +01:00
Alexey Rybalchenko
ff1f9b94ef
shm: include rcCountSegment free memory in the monitor output
2023-11-24 14:19:21 +01:00
Alexey Rybalchenko
34e8a24c86
Examples: use multipart in the region example
2023-11-15 12:52:14 +01:00
Alexey Rybalchenko
7567a10513
shm: Bump the ref segment size 10x
2023-11-15 12:52:14 +01:00
Alexey Rybalchenko
424e22b41a
shm: Throw RefCountBadAlloc if insufficient space in the ref count segment
2023-11-15 12:52:14 +01:00
Dennis Klein
961eca5276
test(PluginServices): state change subscription thread-safety
2023-11-10 13:13:13 +01:00
Alexey Rybalchenko
fbb6577625
StateMachine: Guard access to subscription containers
2023-11-10 13:13:13 +01:00
Alexey Rybalchenko
6122010694
Fix address clashes in tests
2023-10-24 15:22:21 +02:00
Giulio Eulisse
b40db42196
Use std::move rather than just move
...
Apparently:
"warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]"
is default in new XCode.
2023-10-23 08:00:23 +02:00
Giulio Eulisse
f732b87def
Drop unused variable
...
The else clause at the end makes the postincrement impossible.
2023-10-23 08:00:23 +02:00
Alexey Rybalchenko
f05a09da5a
shm: Message: refactor ctors
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
5aa6c99442
shm: remove alignment member from Message
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
3c714fd9e0
Message::SetUsedSize: add optional alignment argument, to avoid storing alignment with the msg object
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
1b7532a520
Refactor shm::Message to contain sorted members of MetaHeader
...
Move the members of MetaHeader flat into shmem::Message and sort them by
size to reduce the size of the class.
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
f092b94c96
Update comment
2023-10-04 11:25:47 +02:00
Alexey Rybalchenko
8d28824489
Shm: Use MakeShmName to construct shm object names
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
4310d07ed1
deduplicate ipc address in a test
2023-09-29 11:18:24 +02:00