I have pushed some important fixes to 2.2 branch for the property/typekit code
regarding reading/writing properties we discovered in 2.2.0:
- convertType() in typekits should work again as in 2.1.x
- writeProperties() will call storeProperties() if the target file does not
exist - works around writeProperties not doing the right thing when the file is
empty.
- Fix for segfault when cleaning up property bags that contained decomposed
properties.
Other fixes that were done earlier include:
- update port's service documentation when doc() is used
- provide an <rtt/Component.hp
header such that building a component does
not depend on including OCL headers (slightly untested, but should work)
- the export cflags/ldflags have been removed from the manifest.xml file. That's
because they hardcoded 'gnulinux' as a target, which breaks Xenomai builds
when ROS_ROOT is set. It had to go, it's gone. Use the UseOrocos.cmake macros
to get the correct flags back again, both for typekits, plugins or components.
- A second type info object for the same C++ type will be ignored (a warning
will be logged). Earlier, it replaced the former one, leading to segfaults in
some cases. On the master branch (2.3), we'll install a type alias in these
cases such that the script code or property files can work with both typekits.
Next to these 'minor' fixes, I have worked on the properties'
composition/decomposition problem on a separate branch. The code was seriously
reworked and a bunch of unit tests were added to test compose/decompose of
structs and sequences (and sequences of sequences). If the property issues
remain I can merge this branch to the 2.2 line and see if that improves things
for users. It should in any case (no user code should be affected, the API
remains the same) but I prefer to merge it on master than on the stable
branch, if stable is not entirely broken.
I'll soon merge the toolchain-2.2 changes to the master branch, so people
relying on the manifest.xml of that branch will get a cold shower.
Any questions or remarks welcome.
Peter
Updates on the 2.2.0 issues
Hello peter
It's a good idea to have included this file here. I will be able to remove some ugly tests in my CMakeFiles.
I have encountered some problems at the compil time with this new file in the 2.2.1 release.
I suggest this patch.