Merge branch 'fixes' of git://gitorious.org/orocos-toolchain/snrkiwi-rtt into toolchain-2.7
cmake: generate typegen typekit in build dir instead of src dir

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
ports: store actual connpolicy object instead of default in input ports

This is a minor refactoring to allow to pass on the
conn policy used at the input port level.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
types: regroup the TypeInfo headers to reduce dependencies.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
scripting: fix crash in StateMachine when doing global transitions.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
scripting: also allow global-to-global event transitions

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
types: move ConnFactoryPtr in the types namespace (where it was before 281ba20)
rtt: fixed handling of owned properties in assignment operator

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
Fixed PropertyBag's reference semantic and added PropertyBase::copy() member function

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
Fixed memory leak in RTT::PropertyBag::copyProperties()

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
Better detection of xpath usage

The version of xpath on Fedora functions like the version that Apple has. Instead of making the syntax different only for Apple, parse the xpath usage.
scripting: support responding to peer event operations

We lifted the limitation that signalling operations need to be ownthread.
The signal is now always executed in the thread of the reacting task,
The scripting StateMachine code uses this to support Orocos 1.x style
events. Each signalled operation call is dispatched to the reacting
task, together with the arguments of the operation. The limit of
possibly dispatched signals is the amount of available TLSF memory.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
properties: fix decomposition of enums in structs.

If decomposeType returned a new dsb, this was
plainly ignored.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
filedescriptoractivity: fix bug in start()

start() and trigger() did not guard against accidental
double calls, causing loop() to never return.

Also, stop() did not cleanup some fd's in case loop had
never run.

Finally, unit tests should start/stop components, not
activities.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
tests: bring corba tests in sync with latest connpolicy changes

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
corba: update corba to fit in with the new-old event api

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
types: cleanup Sequence composition code

Allows reading xml files where the elements are nameless
instead of 'ElementN'.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
types: removed wrong assert statements in SequenceTypeInfoBase

The asserts didn't take into account that the bag may contain
an extra 'Size' element, in which case the bag size and sequence
size are not the same length.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
fix implicit conversion from shared_ptr to bool

C++11 does not approve the implicit conversion, see http://stackoverflow.com/questions/7580009/gcc-error-cannot-convert-const-shared-ptr-to-bool-in-return
fix implicit conversion from shared_ptr to bool

C++11 does not approve the implicit conversion, see http://stackoverflow.com/questions/7580009/gcc-error-cannot-convert-const-shared-ptr-to-bool-in-return