- Add the public headers and the generated Version.h to the file set
HEADERS of FairMQ
- Install the file set instead of one install(FILES) per header
- The file set gives the include directory include/fairmq; the exported
target also adds it for CMake versions before 3.23
- The installed headers are the same
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add the bundled GoogleTest with FetchContent and OVERRIDE_FIND_PACKAGE,
so it uses the compiler and flags of the FairMQ build
- Build it in a block() without gmock, install and static analysis
- Replace build_bundled() with fairmq_init_submodule(), which runs
git submodule update only if the submodule folder is empty, and stops
with a clear error if it stays empty
- Install the bundled FairCMakeModules into the build directory with its
tests off, as before
- Use the bundled PicoSHA2 headers directly from the source tree
- With USE_EXTERNAL_GTEST, GTest is a private dependency and no longer
in FairMQ_PACKAGE_DEPENDENCIES
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Set CMAKE_COLOR_DIAGNOSTICS instead of adding -fdiagnostics-color to
CMAKE_CXX_FLAGS and setting CMAKE_COLOR_MAKEFILE
- CMake adds the correct flag for each compiler
- Keep a CMAKE_COLOR_DIAGNOSTICS value given by the user, except with
DISABLE_COLOR=ON
- The color flag is no longer part of FairMQ_CXX_FLAGS in the package
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- FairMQ::FairMQ exists in the build tree
- FairMQ uses PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR
- The exported library links Boost::headers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Remove the notes about the empty FairMQ_PACKAGE_COMPONENTS, the typo in
the Boost.Asio definition, the unused IWYU variable and the
installed start scripts
- Document that the installed scripts use the install-time prefix and
that FairMQ no longer sets CMAKE_CONFIGURATION_TYPES
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- shmem uses one metadata format for a single message and another for
a multipart message; Receive(Parts) of a single send, or
Receive(MessagePtr) of a multipart send, gives wrong metadata or a
crash
- Add a sender/receiver table to the messages page of the
documentation and a note to Channel::Receive()
- Update the source line links into Channel.h
- Keep PartsTransfer.SingleSendMultipartReceive disabled: a fix
changes the shmem wire format
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- zeromq refuses an empty Parts with TransferCode::error; shmem sent a
message with zero parts and returned 0, and the receiver got a
Receive() with zero parts
- Refuse it in shmem too, with the same warning
- Enable PartsTransfer.EmptyPartsIsRefused
- Update the documentation pages that described the defect, and
the source line links into the changed files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The function reserved each result vector and then wrote to
result[segment][handle], past the end of the vector: it returned
empty vectors and corrupted the heap
- Append one entry per buffer, in the order of the buffer offset
- Check the debug map for null before its first use
- Name the map entries (segment id, offset, buffer) instead of
.first and .second
- Enable Monitor.GetDebugInfo (needs FAIRMQ_DEBUG_MODE)
- Update the documentation page that described the defect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The REPL polled the stdin fd, then read one key with std::cin; the
other keys of the same read stayed in the std::cin buffer, and
poll() did not report them again
- Read one key with read(2), so poll() reports each key that is not
handled yet; skip whitespace, as operator>> did
- Stop reading at end of input: before, a closed stdin (e.g.
< /dev/null) made the loop print the help without a pause
- Enable ControlPlugin.SeveralKeysInOneInput
- Update the documentation pages that described the defect, and
the source line links into the changed files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- DeviceRunner sets the console log severity to "nolog" for both
options, but printed their output with LOGV(info), so both options
printed nothing
- Add Device::PrintRegisteredChannels(std::ostream&) for the
machine-readable channel list; the version goes to std::cout, like
--help and --print-options
- Enable DeviceRunner.PrintChannels and DeviceRunner.Version
- Update the documentation pages that described the defect, and
the source line links into the changed files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ptree::get(key, default) returns the default also for a value that
does not convert, so a typo (e.g. sndBufSize=big) silently gave the
default value
- Use the default only for a missing key; throw ParserError with the
key and the value for a value of the wrong type
- Rethrow parser errors in the config plugin: before, the device
logged the error and continued without its channel configuration
- Enable JSONParser and SuboptParser RejectsValuesOfTheWrongType
- Update the documentation pages that described the defect, and
the source line links into the changed files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The Error state is a terminate state: the state machine ignores all
events in it and calls no action, so ChangeState() returned the
result of the previous transition (ErrorFound: true)
- Return false for each transition in the Error state, except for
ErrorFound: the device is already in the Error state, so callers
such as ChangeStateOrThrow(ErrorFound) in Device::RunWrapper() or
in user code do not throw
- Enable StateMachine.RefusesTransitionsInError
- Update the documentation pages that described the defect, and
the source line links into the changed files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Keep the table of contents at most 3rem wider than the sidebar
- Center the content between the two sidebars
- Use a content width of 52rem from a window width of 110rem
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remove docs/*.md and docs/images/
- Rewrite README.md: description, install, first steps and links to
the site
- Replace the READMEs of the examples, fairmq/shmem, fairmq/devices and
fairmq/tools with links to the site pages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Astro and Starlight site in docs/ for
https://fairrootgroup.github.io/FairMQ/
- 64 pages in eight groups: start, concepts, guides, shared memory,
examples, tools, reference and project
- API reference and source browser from the Doxygen XML of fairmq/
- Code samples are snippets of the repository files; the build fails
when a snippet does not match
- Option tables take the names, types and defaults from the code
- Interactive diagrams: state machine, zero-copy transfer, region
acknowledgements, session objects, topology and channel anatomy
- The 404 page sends the URLs of the Doxygen site to the new pages
- scripts/check-pages.mjs checks pages, snippets and links without a
build; scripts/check-links.mjs checks all links in dist/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remove the option BUILD_DOCS, the target docs and the install of the
HTML files
- Remove the Doxygen lookup and the docs line of the configure summary
- Remove docs/footer.html and the Doxygen entries of README.md
BREAKING CHANGE: The option BUILD_DOCS and the package component docs do
not exist any more. The site in docs/ replaces the Doxygen HTML.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BREAKING CHANGE
Due to a lack of users, we remove the experimental code. The
latest implementation can be found in release v1.4.56. This does
not mean it will never be picked up again, but for now there are
no plans.