Roberto Raggi
e33767205b
Introduced SemanticInfo::isValid().
2010-09-08 11:39:24 +02:00
Christian Kamm
36e8b65d59
QmlJS: Fix running qmldump on plugins that require a specific uri.
...
The builtin QML plugins require to be imported with the full uri, i.e.
import Qt.labs.particles 1.0
so setting the import path to imports/Qt/labs and doing
import particles 1.0
is not supposed to work. (see QTBUG-11139)
This change adjusts qmldump to take an import path *and* the import uri,
so it will be able to dump the type information for these plugins.
Reviewed-by: Erik Verbruggen
2010-08-25 14:19:44 +02:00
Erik Verbruggen
ef11c4e7ac
Truned qmldump into an .app, and suppress its dock icon.
2010-08-24 17:09:57 +02:00
Roberto Raggi
ef5aaa0368
Renamed QmlJS::Document::documentRevision().
2010-07-07 17:52:46 +02:00
Christian Kamm
16b4e4e91f
QmlJS: Fix import path handling in the model manager.
...
Previously, the model manager always had exactly one import path - but
you can open more than one Qml project at once. Now, we store the union
of all import paths in the model manager.
Reviewed-by: Roberto Raggi
2010-06-22 13:25:22 +02:00
Christian Kamm
acbf3925f5
QmlJS: Revert to supplying a xml file for builtin type information.
...
It'll be much saver to move to the qmldump based functionality once
it has been moved into Qt.
Essentially reverts: 45415783e7
Reviewed-by: Erik Verbruggen
2010-06-21 15:12:20 +02:00
Christian Kamm
45415783e7
QmlJS: Get rid of xml file describing qml builtin types.
...
The type information is now generated at runtime.
2010-06-10 11:33:04 +02:00
Christian Kamm
e307bc2506
QmlJS: Store plugin metatypes in LibraryInfo. Rework type loading.
2010-06-09 14:36:54 +02:00
Christian Kamm
822520c304
QmlJS: Get at types defined in plugins by running qmldump on them.
...
Task-number: QTCREATORBUG-1021
Reviewed-by: Roberto Raggi
2010-06-09 14:36:53 +02:00
Christian Kamm
0d5d6344bd
QmlJS: Collect import version numbers in Bind.
2010-06-09 14:36:53 +02:00
Erik Verbruggen
eb9e7866f2
Fixed QTCREATORBUG-1397.
...
When adding a new file, refreshing semantic errors in the open editor should
have worked. It now also works for removing existing files.
Done-with: Christian Kamm
2010-05-18 15:29:11 +02:00
Christian Kamm
71b9057b0b
QmlJS: The qml document's path is no longer an implicit import path.
2010-04-26 10:43:59 +02:00
Christian Kamm
3096b2a06f
QmlJS: Set importing scopes for scripts correctly.
...
They had not yet been updated to the new way of importing javascript.
Reviewed-by: Erik Verbruggen
2010-04-22 16:36:43 +02:00
Erik Verbruggen
124bb7aad7
Emit extra signals to have the task manager show issues on project-load.
2010-04-16 13:09:44 +02:00
Erik Verbruggen
d88eaff481
Hooked up the QML task manager again.
...
The QML task manager behaviour is to show warnings/errors for _saved_ files
only.
2010-04-16 12:55:00 +02:00
Christian Kamm
eae88f02ba
QmlJSEditor: When looking for qml libraries scan the current doc's path.
...
Reviewed-by: Erik Verbruggen
2010-04-07 11:09:27 +02:00
Christian Kamm
9402fad726
QmlJSEditor: Build Snapshot by looking at imports of parsed files.
...
Previously we just scanned every directory containing a qml file for
other qml files.
This makes import ".." work.
Reviewed-by: Erik Verbruggen
2010-04-06 09:53:57 +02:00
Christian Kamm
9408378a24
QmlJSEditor: Fix file/directory imports for qml files not in a project.
...
Reviewed-by: Roberto Raggi
2010-03-31 14:55:35 +02:00
Christian Kamm
6eadfa3ac0
Read qmldir files in a thread and cache them in Snapshot.
...
Reviewed-by: Erik Verbruggen
2010-03-18 16:47:21 +01:00
Christian Kamm
9ea01cf5fb
Improve Qml code model import handling.
...
* Fill the snapshot with files that could be imported.
* Implement package imports.
* The qmldir file is not parsed yet.
Reviewed-by: Erik Verbruggen
2010-03-18 11:25:37 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Erik Verbruggen
13d7612f09
Removed private header dependencies and introduced loading QML types from XML file.
2010-03-01 13:13:02 +01:00
Roberto Raggi
33b4b15a60
Check the file's mimetype before creating QML/JS documents.
2010-02-15 14:07:35 +01:00
Roberto Raggi
2a63387085
Renamed qmlmodelmanager.
2010-02-15 13:49:00 +01:00