<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/tests/auto/qml/qqmllanguage/data/lib, branch dev</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Fix issues with lookup of scoped enums on Singletons</title>
<updated>2018-10-31T08:21:24+00:00</updated>
<author>
<name>Michael Brasser</name>
<email>mbrasser@ford.com</email>
</author>
<published>2018-10-25T17:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f46f8745053208e4a86fa65e039179b85d5c317b'/>
<id>f46f8745053208e4a86fa65e039179b85d5c317b</id>
<content type='text'>
Change-Id: Id6cd0b7c571b38db30bded030f6927c9b5fbdb96
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id6cd0b7c571b38db30bded030f6927c9b5fbdb96
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for importing ES modules in .qml files</title>
<updated>2018-08-17T11:06:12+00:00</updated>
<author>
<name>Simon Hausmann</name>
<email>simon.hausmann@qt.io</email>
</author>
<published>2018-08-16T08:57:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f43c1d902d908c6cd523b0174338ac0c98a30647'/>
<id>f43c1d902d908c6cd523b0174338ac0c98a30647</id>
<content type='text'>
This is a straight-forward hook into the module implementation in
QV4::ExecutionEngine. Modules are pre-compiled in the QML type loader
thread. That thread keeps track of all pending loading scripts through
the type loader's m_scriptCache. Once a module is compiled, it's
thread-safely registered with the execution engine.

Script instantiation and evaluation is done solely in the QQmlEngine's
thread.

ES Modules are identified in imports as well as qmldir files by the .mjs
extension.

Change-Id: Ie9c59785118afcb49f43a1e176a9f7db00f09428
Reviewed-by: Lars Knoll &lt;lars.knoll@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a straight-forward hook into the module implementation in
QV4::ExecutionEngine. Modules are pre-compiled in the QML type loader
thread. That thread keeps track of all pending loading scripts through
the type loader's m_scriptCache. Once a module is compiled, it's
thread-safely registered with the execution engine.

Script instantiation and evaluation is done solely in the QQmlEngine's
thread.

ES Modules are identified in imports as well as qmldir files by the .mjs
extension.

Change-Id: Ie9c59785118afcb49f43a1e176a9f7db00f09428
Reviewed-by: Lars Knoll &lt;lars.knoll@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lookup of enums declared in QML singletons</title>
<updated>2018-03-16T10:42:57+00:00</updated>
<author>
<name>Simon Hausmann</name>
<email>simon.hausmann@qt.io</email>
</author>
<published>2018-03-16T10:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ee89a8c052db0fa3dffe3e01c4c0309cf9ec80d0'/>
<id>ee89a8c052db0fa3dffe3e01c4c0309cf9ec80d0</id>
<content type='text'>
Given the following expression

    var x = MySingleton.MyEnumValue

where MySingleton is a QML (composite) singleton and MyEnumValue comes
from a QML declared enum, we had code in place up to (and including)
5.10 to attempt to optimize that expression to a enum constant at
compile time. In 5.10 that optimization does not exist anymore. In &lt;=
5.10 we would also skip the optimization under certain circumstances
(too many statementes, etc.). The fallback that is in place for handling
this at run-time tried to be smart by avoiding the
QQmlContextWrapper::get lookup and return straight a reference to the
singleton as QObject. That works for regular property lookups, but it
fails when trying to look up something like an enum, that isn't a
meta-object property.

Change-Id: I1819b9d8ae06a3f595e067bf5b018c4065be76bb
Reviewed-by: Lars Knoll &lt;lars.knoll@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given the following expression

    var x = MySingleton.MyEnumValue

where MySingleton is a QML (composite) singleton and MyEnumValue comes
from a QML declared enum, we had code in place up to (and including)
5.10 to attempt to optimize that expression to a enum constant at
compile time. In 5.10 that optimization does not exist anymore. In &lt;=
5.10 we would also skip the optimization under certain circumstances
(too many statementes, etc.). The fallback that is in place for handling
this at run-time tried to be smart by avoiding the
QQmlContextWrapper::get lookup and return straight a reference to the
singleton as QObject. That works for regular property lookups, but it
fails when trying to look up something like an enum, that isn't a
meta-object property.

Change-Id: I1819b9d8ae06a3f595e067bf5b018c4065be76bb
Reviewed-by: Lars Knoll &lt;lars.knoll@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for enum declarations in QML</title>
<updated>2017-07-13T21:00:55+00:00</updated>
<author>
<name>Michael Brasser</name>
<email>mbrasser@ford.com</email>
</author>
<published>2017-04-20T13:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=22a2cc43387ec3b9f74a6c01f8665378a4541147'/>
<id>22a2cc43387ec3b9f74a6c01f8665378a4541147</id>
<content type='text'>
Enums can be declared with the following syntax:

enum MyEnum {
    Value1,
    Value2
}

Grammar changes done by Simon Hausmann.

[ChangeLog][QtQml] Enums can now be declared directly in QML.

Task-number: QTBUG-14861
Change-Id: Ic6b6e032651d01ee2ecf9d5ce5734976cb3ad7ab
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enums can be declared with the following syntax:

enum MyEnum {
    Value1,
    Value2
}

Grammar changes done by Simon Hausmann.

[ChangeLog][QtQml] Enums can now be declared directly in QML.

Task-number: QTBUG-14861
Change-Id: Ic6b6e032651d01ee2ecf9d5ce5734976cb3ad7ab
Reviewed-by: Simon Hausmann &lt;simon.hausmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not cause SegFault when importing empty javascript</title>
<updated>2015-01-02T14:31:11+00:00</updated>
<author>
<name>Nobuaki Sukegawa</name>
<email>nsukeg@gmail.com</email>
</author>
<published>2014-12-14T17:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=96178192c451a5e26e30e14a619b96aacd16c29b'/>
<id>96178192c451a5e26e30e14a619b96aacd16c29b</id>
<content type='text'>
Change-Id: I31f6571e73b5dd74bf3ade5cadc2daa02475b5cb
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I31f6571e73b5dd74bf3ade5cadc2daa02475b5cb
Reviewed-by: Simon Hausmann &lt;simon.hausmann@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 'com.nokia' string from autotest</title>
<updated>2012-12-04T23:36:46+00:00</updated>
<author>
<name>Alan Alpert</name>
<email>aalpert@rim.com</email>
</author>
<published>2012-11-30T23:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9be1b6ba487f6a7547901852fc439610eb3338c7'/>
<id>9be1b6ba487f6a7547901852fc439610eb3338c7</id>
<content type='text'>
Change-Id: Ic318dbe7a48412e9689ca0f4506c7098d9f48b5e
Reviewed-by: Christopher Adams &lt;chris.adams@jollamobile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic318dbe7a48412e9689ca0f4506c7098d9f48b5e
Reviewed-by: Christopher Adams &lt;chris.adams@jollamobile.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support remote import paths</title>
<updated>2012-07-16T02:46:50+00:00</updated>
<author>
<name>Matthew Vogt</name>
<email>matthew.vogt@nokia.com</email>
</author>
<published>2012-06-29T02:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=432a48b8f2d9ebaef1bd7be4a168a45524faaf68'/>
<id>432a48b8f2d9ebaef1bd7be4a168a45524faaf68</id>
<content type='text'>
Probe for installed modules in import path elements which are not local
to the machine.  Note that all local paths in the import path list will
be tried before any remote locations are probed.

Task-number: QTBUG-21386

Change-Id: I4f7b9e54e54c1d62a5e7cb7f059ee1e9319ef054
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Probe for installed modules in import path elements which are not local
to the machine.  Note that all local paths in the import path list will
be tried before any remote locations are probed.

Task-number: QTBUG-21386

Change-Id: I4f7b9e54e54c1d62a5e7cb7f059ee1e9319ef054
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Report clashing qmldir entries for components and scripts</title>
<updated>2012-06-21T22:13:20+00:00</updated>
<author>
<name>Matthew Vogt</name>
<email>matthew.vogt@nokia.com</email>
</author>
<published>2012-06-19T02:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=57e3325affbe8bbb8edcc2c6d072db28aee46438'/>
<id>57e3325affbe8bbb8edcc2c6d072db28aee46438</id>
<content type='text'>
If a qmldir contains multiple lines that install the same versioned
property for a single component name or script qualifier, report an
error rather than silently suppress one entry.

Task-number: QTBUG-25834
Change-Id: I25d3a24102a5a4fa3d82f1d31d7e52505026fff7
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a qmldir contains multiple lines that install the same versioned
property for a single component name or script qualifier, report an
error rather than silently suppress one entry.

Task-number: QTBUG-25834
Change-Id: I25d3a24102a5a4fa3d82f1d31d7e52505026fff7
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Create plugins for Particles and Window submodules</title>
<updated>2012-04-05T05:21:51+00:00</updated>
<author>
<name>Matthew Vogt</name>
<email>matthew.vogt@nokia.com</email>
</author>
<published>2012-04-05T04:10:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5874e29b851101291a93278351da32a5cdbade9c'/>
<id>5874e29b851101291a93278351da32a5cdbade9c</id>
<content type='text'>
To prevent errors when QML files import QtQuick.Particles or
QtQuick.Window before importing QtQuick itself, create plugins for
these submodules that make their import statements independent of
the QtQuick import.

Remove the automatic re-ordering of the imports list prior to loading
to ensure registered name conflicts can be resolved by changing the
order of import statements.

Task-number: QTBUG-24369
Change-Id: I248625fa30a813dddd2a64feb9a489768931939f
Reviewed-by: Martin Jones &lt;martin.jones@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To prevent errors when QML files import QtQuick.Particles or
QtQuick.Window before importing QtQuick itself, create plugins for
these submodules that make their import statements independent of
the QtQuick import.

Remove the automatic re-ordering of the imports list prior to loading
to ensure registered name conflicts can be resolved by changing the
order of import statements.

Task-number: QTBUG-24369
Change-Id: I248625fa30a813dddd2a64feb9a489768931939f
Reviewed-by: Martin Jones &lt;martin.jones@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-order imports statements to import nested imports later</title>
<updated>2012-03-28T22:36:49+00:00</updated>
<author>
<name>Matthew Vogt</name>
<email>matthew.vogt@nokia.com</email>
</author>
<published>2012-03-26T06:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e4baefacff3e04ea3b599c5279e883d75d2ad489'/>
<id>e4baefacff3e04ea3b599c5279e883d75d2ad489</id>
<content type='text'>
Re-order the imports for a script by increasing order of URI length.
This ensures that an import of the type 'import X.Y' is processed
after the import of 'import X' which contains the type definitions for
the namespace X.Y.

Task-number: QTBUG-24369
Change-Id: I1b06e9d114a97c9f47279f8f33383a27e0efb4bb
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
Reviewed-by: Michael Brasser &lt;michael.brasser@nokia.com&gt;
Reviewed-by: Martin Jones &lt;martin.jones@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-order the imports for a script by increasing order of URI length.
This ensures that an import of the type 'import X.Y' is processed
after the import of 'import X' which contains the type definitions for
the namespace X.Y.

Task-number: QTBUG-24369
Change-Id: I1b06e9d114a97c9f47279f8f33383a27e0efb4bb
Reviewed-by: Chris Adams &lt;christopher.adams@nokia.com&gt;
Reviewed-by: Michael Brasser &lt;michael.brasser@nokia.com&gt;
Reviewed-by: Martin Jones &lt;martin.jones@nokia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
