Christian Kamm
3f505e9982
QmlJS: Add initial 'Find Usages' support.
2010-09-24 14:11:06 +02:00
Christian Kamm
898098c1f2
QmlJS: Allow lookups on const Contexts. Pass const Contexts where ok.
...
In preparation for caching Contexts.
Reviewed-by: Erik Verbruggen
2010-08-25 11:53:23 +02:00
Christian Kamm
6ee1027eaa
Add missing license headers.
2010-07-09 15:47:25 +02:00
Christian Kamm
62141475e3
QmlJS: Potentially fix hard-to-reproduce crash in JS completion.
...
* Context::build was potentially dangerous. Link and ScopeBuilder
went out of scope before their results stopped being used.
* ScopeBuilder: If no function scope object was found, don't add it.
Reviewed-by: Erik Verbruggen
2010-05-19 14:23:08 +02:00
Christian Kamm
088bdb29db
QmlJS: Provide good completion for PropertyChanges with a target again.
...
Task-number: QTCREATORBUG-1413
Reviewed-by: Erik Verbruggen
2010-05-19 11:15:57 +02:00
Christian Kamm
28ec223314
QmlJS: Fix completion for grouped property bindings.
...
Task-number: QTCREATORBUG-1388
Reviewed-by: Roberto Raggi
2010-05-12 14:11:23 +02:00
Christian Kamm
3286f48504
QmlJS: Remove Link::scopeChainAt, initialize scope chain in constructor.
...
Use ScopeBuilder.push(...) for the same functionality.
Reviewed-by: Erik Verbruggen
2010-04-22 16:36:43 +02:00
Christian Kamm
ce99372c63
QmlJS: Add variables and functions in a JS function to code model.
...
Allows completion of local variable and function names.
Task-number: QTCREATORBUG-942
Reviewed-by: Roberto Raggi
2010-04-20 15:20:52 +02:00
Christian Kamm
08b9323f0c
Fix completion and checking for Script elements. Update Qml type xml.
...
* The "Script" type is now implicitly available without imports.
* No errors for bindings inside a Connections element.
Reviewed-by: Roberto Raggi
2010-03-03 11:38:17 +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
Erik Verbruggen
912a1b95a9
Fixed crash when putting a second root item into a QML file.
2010-02-25 12:57:17 +01:00
Christian Kamm
b1522ba5c8
Fix semantic checks not being applied to the Qml root object.
...
By always setting the scope object, even if it is identical to the root
object.
Done-with: Erik Verbruggen
2010-02-23 12:36:48 +01:00
Christian Kamm
e9039db984
Move the scope building logic into QmlJS::ScopeBuilder.
2010-02-22 10:22:23 +01:00