Change error messages to reflect new module terminology
authorChris Adams <christopher.adams@nokia.com>
Wed, 8 Aug 2012 06:31:50 +0000 (16:31 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Aug 2012 05:58:06 +0000 (07:58 +0200)
commitaeb4a38ebcf9325423ef0259e70ee8bb11a5a30c
tree0dfa0fb1d4affc67b6a9261b7249d70635272681
parent42f9444e983b5257241c17242471ca63f208c3f6
Change error messages to reflect new module terminology

Previously, modules which registered types into a protected type
namespace were known as "strict" modules; now they are known as
"identified" modules.

This commit also adds a unit test to ensure that the module identifier
directive is the first command in the qmldir file.

Change-Id: I90e9d2c5b51ecb2b9d058c9fe9d9310fd3cd4f45
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/qml/qml/qqmldirparser.cpp
src/qml/qml/qqmlimport.cpp
tests/auto/qml/qqmldirparser/tst_qqmldirparser.cpp
tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/invalidFirstCommandModule.pro [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/plugin.cpp [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/qmldir [new file with mode: 0644]
tests/auto/qml/qqmlmoduleplugin/qqmlmoduleplugin.pro
tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp