dt
299f139553
Revert "Remove the QmlJSEditor dependency from Qt4ProjectManager."
...
This reverts commit f8c5001382 .
2010-09-27 15:56:37 +01:00
Christian Kamm
3f505e9982
QmlJS: Add initial 'Find Usages' support.
2010-09-24 14:11:06 +02:00
Christian Kamm
f8c5001382
Remove the QmlJSEditor dependency from Qt4ProjectManager.
...
The Qt4ProjectManager now uses metacalls to inform the QmlJSModelManager
about the project data.
Done-with: hjk
2010-09-23 14:16:46 +02:00
Christian Kamm
0fa0d00fcd
Qml: Write qmldump errors to 'General messages'.
...
This should make it easier to debug problems with Qml plugin type
dumping.
Reviewed-by: Roberto Raggi
2010-09-15 14:15:45 +02:00
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
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
Roberto Raggi
726c3345c4
Moved qmljsmodelmanagerinterface.h
2010-06-10 11:59:27 +02:00
Christian Kamm
e307bc2506
QmlJS: Store plugin metatypes in LibraryInfo. Rework type loading.
2010-06-09 14:36:54 +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
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
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
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
2a63387085
Renamed qmlmodelmanager.
2010-02-15 13:49:00 +01:00