More robust tracking of signal handler expression ownership.
authorMichael Brasser <michael.brasser@nokia.com>
Thu, 26 Apr 2012 06:12:21 +0000 (16:12 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 May 2012 04:07:00 +0000 (06:07 +0200)
commit462edd23f953af6ce37d1c42400e2cb4443f5a24
treeef505e16ad6e7a439a6217da191fdaac6d9eda3c
parent7cecad76b6a8beb31c74111b986be0e67bb2e15c
More robust tracking of signal handler expression ownership.

Reference count the expressions, and improve testing.

Change-Id: I810509eae1c7608b367e9ff5f7891a294667a692
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
13 files changed:
src/qml/debugger/qqmlenginedebugservice.cpp
src/qml/qml/qml.pri
src/qml/qml/qqmlboundsignal.cpp
src/qml/qml/qqmlboundsignal_p.h
src/qml/qml/qqmlboundsignalexpressionpointer_p.h [new file with mode: 0644]
src/qml/qml/qqmlproperty.cpp
src/qml/qml/qqmlproperty_p.h
src/qml/qml/qqmlvme.cpp
src/quick/util/qquickconnections.cpp
src/quick/util/qquickpropertychanges.cpp
tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
tests/auto/quick/qquickstates/data/signalOverrideCrash4.qml [new file with mode: 0644]
tests/auto/quick/qquickstates/tst_qquickstates.cpp