| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code was previously developed as part of Qt Creator in
share/qtcreator/qml/qmljsdebugger/
Moving it into Qt will allow us to simplify the setup required before
you can debug QML applications.
To avoid adding too much weight to the QtDeclarative module, a
declarativeobserver plugin was introduced that contains the
QDeclarativeViewObserver and related classes. The
QDeclarativeObserverService is just a stub service that loads this
plugin once a QML debugging client connects. The plugin implements the
QDeclarativeObserverInterface
A QJSDebugService was separated out of QJSDebuggerAgent, so
that the service can be active while the agent is instantiated lazily.
Each QDeclarativeEngine adds itself to the QJSDebugService. Currently
only the first one is used when instantiating the agent.
QDeclarativeObserverService is hooked into QDeclarativeView, with the
view registering itself to the service, allowing the
QDeclarativeViewObserver to be created for the view once somebody
connects to the service. Again, only the first view is used at the
moment.
Change-Id: Ib50579c6d24361c2b39528e5556410d3446c2e90
Reviewed-by: Martin Jones
Reviewed-by: Michael Brasser
|
| |
|
|
|
|
| |
Task-number: QTBUG-13451
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the remote debugging of QDeclarativeEngines only after
QDeclarativeDebugHelper::enableDebugging()
has been called.
Approved by 4.7 Program Team.
Reviewed-by: Alessandro Portale
Task-number: QTBUG-13762
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when processing.
The point is to be able to process images in a thread. If the mutex
is locked, this is useless.
Use case is a slow QDeclarativeImageProvider that generates thumbmails
from large files. Even with the asynchronous attribute set to true, the
gui thread would be blocked by the mutex.
By using QSharedPointer, I also fix the leak of the providers (which
were not deleted)
Reviewed-by: Martin Jones
|
|
|
|
|
| |
Merge-request: 730
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
synchronous loading of QImages. (QPixmaps can only be created in the
main thread so they will always be loaded synchronously).
This changes request() to requestImage() and adds requestPixmap()
for pixmap support.
Task-number: QTBUG-11989
|
|
|
|
| |
QTBUG-11507
|
|\
| |
| |
| |
| | |
Merge-request: 649
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
| |
Also moves documentation of Qt global object to alongside code. Docs are slightly
misleading because they say "Qt::argb" etc. when "Qt.argb" would be clearer.
Downgrades QTBUG-7725 from P2 to P4 as remaining functions are standard webJS.
Task-number: QTBUG-7725
|
| |
|
|
|
|
| |
QTBUG-10239
|
| |
|
|
|
|
|
|
|
|
| |
Add an additional private notification mechanism that is triggered after
all QDeclarativeParserStatus items have had their componentComplete
called.
Task-number: QTBUG-6332
|
|
|
|
| |
Improves compilation:boomblock benchmark by 22%
|
|
|
|
|
|
|
|
|
|
| |
The patch improves the error messages when type resolving fails
and introduces a new debug utility QML_CHECK_TYPES.
If the environment variable is defined, type shadowing will be
reported as error.
Reviewed-by: Warwick Allison
|
|
|
|
| |
QTBUG-9726
|
| |
|
|
|
|
|
|
|
|
|
| |
This property complements Component.onCompleted. It is emitted before
the destruction actually begins (for the most part) so the objects are
still alive and accessible.
The QtObject.onDestroyed signal is now blocked as it never really worked
properly anyway.
|
|
|
|
| |
QTBUG-9705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In shadow build environments, we cannot enforce that shared
library objects for plugins are located in the same directory
as the qmldir file. This makes it hard for Creator to support
mixed projects (qml/c++).
In order to gain more flexibility, the patch introduces a
pluginPathList to QDeclarativeEngine, which completes the existing
importsPathList.
The pluginPathList defaults to ["."], which indicates the directory
where the qmldir file is located in.
The qml viewer tool gains a command line option -P to add to the
pluginPathList.
For consistency, the -L option ("Library") has been renamed to
-I ("Import"). QDeclarativeEngine::importExtension() has been
renamed to QDeclarativeEngine::importPlugin().
The documentation has been adjusted accordingly.
Done with erikv.
Reviewed-by: erikv
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Reviewed-by: mae
|
|
|
|
| |
(fixes test too)
|
| |
|
|
|
|
|
|
|
|
| |
Inline blocks/includes have been replaced with an import syntax:
import "foo.js" as Foo
this gives better separation between QML and code. Imported script blocks
also have a mandatory qualifier, which leads to better optimization
potential.
|
|
|
|
|
| |
This is done by storing the parsed components (QDeclarativeDirComponents).
There's still potential for optimization (QT-617)
|
| |
|
| |
|
|
|
|
|
| |
Support quoted imports without qualitifier id but with qmldir. This
makes it possible again to launch the flickr demo from a remote site.
|
|
|
|
| |
This functionality is now built in to RotationAnimation.
|
|
|
|
|
|
| |
Done with Roberto.
Reviewed-by: Roberto Raggi
|
|
|
|
| |
Use SoundEffect instead.
|
|
|
|
| |
The plan is for these to replace DateTimeFormatter.
|
|
|
|
| |
This was causing crashes in the qmldesigner.
|
| |
|
|
|
|
|
|
| |
Now, you have to reimplement registerTypes(uri) to expose native
QML types, and initializeEngine(engine,uri) to add instances to
the QML engine's root context.
|
|
|
|
| |
There's nothing meta about our properties.
|
| |
|
| |
|
|
QDeclarativeXXX.
|