Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some more backports to 010x #433

Conversation

eboasson
Copy link
Contributor

This backports

As well as #432 to get the CI back to life, though whether that was successful remains to be seen because of #406 and the build not using the correct branch of the cyclonedds repository.

It also bumps the version number to 0.10.4, I expect that doing a further patch release would appreciated.

e-hndrks and others added 4 commits July 21, 2023 11:02
When creating an Entity with a Listener, any instantaneous events that occurred during creation would miss their callback.
This was caused by the C++ API not being able to wrap the underlying C API with a C++ object prior to C already trying to invoking the callback.
That is now resolved by not setting the Listener at creation time, but by setting it after successfully putting a C++ wrapper around the underlying C Entity.
This should fix issue eclipse-cyclonedds#410
A prerequisite for applying this fix is to make sure pull request #eclipse-cyclonedds/cyclonedds#1717 is applied to the cyclonedds repository.

Signed-off-by: Erik Hendriks <[email protected]>
* Added writer batching QoSPolicy

To mirror the implementation of the writer batching QoSPolicy in
CycloneDDS-C commit d6906eb

Signed-off-by: Martijn Reicher <[email protected]>

* Added writer batching in throughput example

This is handled through the WriterBatching QoSPolicy

Signed-off-by: Martijn Reicher <[email protected]>

* Modified comments due to GitHub review

Signed-off-by: Martijn Reicher <[email protected]>

---------

Signed-off-by: Martijn Reicher <[email protected]>
Signed-off-by: Erik Boasson <[email protected]>
* Download and build Google Test on the fly on Windows, Linux: Windows
  because it is the only way to get it, Linux because we need a version
  that still supports C++. (macOS: homebrew does just fine.)

* Move C++11 build to Linux: it is the only one that requires boost, and
  installing boost on Windows via Chocolatey takes forever whereas on
  Linux "apt install" is done nearly instantaneously.

* PIP cacheing is no longer needed.

* Bison has not been needed for a long time, so stop installing it.

Signed-off-by: Erik Boasson <[email protected]>
@trittsv
Copy link
Contributor

trittsv commented Jul 21, 2023

Hi @eboasson, i tested this branch with the other 0.10.4 PR from CycloneDDS C-Part.
All of our Unit-Tests were successful, thats great.
The missing callbacks seems to be fixed 😃
Looking forward to use this version 0.10.4 - finally without any patches 🎉

The only thing i noticed was the removal of the conan setup in CMakelists.txt.
But thats ok for me because i have to patch the CMakelists.txt anyway to integrate it into our CI.

I also was able to compile it successfully for:

  • android29-armv7
  • android29-armv8
  • android29-x86
  • android29-x86_64
  • qnx70-armv7-qcc-5
  • qnx70-armv8-qcc-5
  • qnx70-x86_64-qcc-5
  • qnx71-armv7-qcc-8
  • qnx71-armv8-qcc-8
  • qnx71-x86_64-qcc-8
  • visual studio 2017 x86_64
  • visual studio 2019 x86_64
  • visual studio 2022 x86_64
  • alma-x86_64-gcc-11
  • centos-x86_64-gcc-8
  • ubuntu-armv7-gcc-7
  • ubuntu-armv8-gcc-7
  • ubuntu-x86_64-gcc-7
  • ubuntu-x86_64-gcc-9
  • ubuntu-x86_64-gcc-11

@eboasson eboasson merged commit d7d2578 into eclipse-cyclonedds:releases/0.10.x Aug 28, 2023
0 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants