| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Task-number: QTBUG-13719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is important for Bauhaus to ensure that we can
edit properties and states dynamically in the visual
editor
Most of the changes consist of added functions
for Bauhaus, that do not affect any current
behaviour.
Important changes:
QDeclarativeAbstractBinding is holding a
QSharedPointer to itself so that other classes
can hold a weak reference to avoid accessing
dangling pointers while keeping track of bindings.
QDeclarativeStateOperation now has its own private class
QDeclarativeStateOperationPrivate to hold a pointer back
to QDeclarativeState since the parent is not set correctly
in every context.
QDeclarativePropertyChangesPrivate does now hold a
QDeclarativeGuard instead of a raw pointer to the
target QObject. In Bauhaus the target object might
be deleted.
Reviewed-by: Aaron Kennedy
|
| |
|
| |
|
|
|
|
| |
QTBUG-10832
|
|
|
|
| |
Task-number: QTBUG-10303
|
|
|
|
| |
Also rearrange the parameter order to be more clear.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is not supported, and should not silently be converting the function
to a string. See QTBUG-10302 for why we check !isRegExp as well as
isFunction.
Task-number: QTBUG-10237
Reviewed-by: Aaron Kennedy
|
|
|
|
| |
Reviewed-by: Aaron Kennedy
|
| |
|
|
|
|
| |
QTBUG-9726
|
| |
|
|
|
|
| |
QTBUG-9799
|
|
|
|
| |
QTBUG-9704
|
|
|
|
|
|
| |
In QML "var"s are not the same as JavaScript vars - they are QVariants
instead. However, as they behave in a similar enough fashion to native
JavaScript it can be confusing to developers when they are called "var".
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QML used to silently ignore a log of errors - such as a failed assignment
to a QObject property. These errors are now all reported as exceptions
in JavaScript.
Other questionable activities, like assigning a JavaScript array to a
"property var" property which appeared to work, thanks to QtScript's
transparent conversion of arrays to a QVariantList, are now blocked
entirely.
QTBUG-9152 QTBUG-9382 QTBUG-9341 QTBUG-6886
|
|
|
|
|
| |
Always use private/. The WinSCW compiler doesn't search the current
directory, for whatever reason.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changing value type bindings in state changes, and implicitly removing
them on property assignment was not reliable. Internally the system
considered a binding on "font" and one on "font.x" as a binding on two
separate properties, even though the "font" binding completely
overrides the "font.x" property.
Following this change a binding to "font.x" creates a proxy binding object
on the "font" property in addition to the "font.x" binding itself. This
allows behavior to be consistent across all operations.
QT-2920
|
| |
|
|
|
|
| |
There's nothing meta about our properties.
|
| |
|
| |
|
|
QDeclarativeXXX.
|