Christian Kamm
4ecf0349c5
QmlJS: Make 'follow symbol' work on JS functions.
...
Task-number: QTCREATORBUG-1757
2010-07-16 10:50:28 +02:00
Thomas Hartmann
c03f2b03b2
QmlJS::IContextPane adapting the interface
...
closing windows with escape is now stacked again
2010-07-15 16:45:34 +02:00
Thomas Hartmann
5b3bf7f486
QmlJS::PropertyReader: extends class
...
PropertyReader now is able to parse ObjectDefinitions
and it is also possible to parse gradients.
I also added isBindingOrEnum()
2010-07-15 16:45:32 +02:00
Erik Verbruggen
65d061218f
Added ast-to-.dot "dump" utility for QML ASTs.
2010-07-15 09:55:28 +02:00
Kai Koehne
e99a380aef
QmlJS: Add missing file
2010-07-14 14:15:18 +02:00
Kai Koehne
f00225a0f5
QmlOutline: Also show custom properties
...
Also show properties defined in the component, e.g. by 'property x',
in the outline.
2010-07-14 13:34:19 +02:00
Kai Koehne
ce32f25ba3
QmlOutline: Show icons for known types
2010-07-14 11:40:11 +02:00
Thomas Hartmann
db8122ee30
remove qDebug
2010-07-14 10:42:23 +02:00
Thomas Hartmann
45624603b5
qmljspropertyreader: chops ';'
2010-07-09 18:09:01 +02:00
Thomas Hartmann
cb296f49b0
qmljsrewriter: fix rewriting issue
...
We have to keep the line ending in case the removed
property is not the only thning in that line
2010-07-09 18:08:00 +02:00
Thomas Hartmann
97eb3e1304
qmljsrewriter: fixes removing of properties
2010-07-09 16:10:12 +02:00
Thomas Hartmann
74610a9137
QmlDesigner: change interface for context pane
2010-07-09 16:10:09 +02:00
Christian Kamm
6ee1027eaa
Add missing license headers.
2010-07-09 15:47:25 +02:00
Roberto Raggi
d70fe1eb61
Introduced QmlJS::LookupContext.
2010-07-08 14:50:25 +02:00
Christian Kamm
a2ae7eae4c
Qml scanner: Don't emit token for empty line in multi-line comment.
...
Done-with: Thomas Hartmann
2010-07-08 14:32:02 +02:00
Christian Kamm
db9b630b48
Qml scanner: Fix begin location of comment tokens in multiline comments.
...
Done-with: Thomas Hartmann
Reviewed-by: Roberto Raggi
2010-07-08 14:20:30 +02:00
Kai Koehne
1541dec6f3
Add Icons provider to QmlJS library
...
Add an Icons class to QmlJS along the Icons class in the C++ support.
This will be used in the QmlJS Outline.
2010-07-08 14:02:51 +02:00
Roberto Raggi
ef5aaa0368
Renamed QmlJS::Document::documentRevision().
2010-07-07 17:52:46 +02:00
Thomas Hartmann
fb1ae30293
qmljsrewriter: adapt rewriter to ChangeSet api changes
2010-07-07 13:09:55 +02:00
con
1a2a4f6387
Merge remote branch 'origin/2.0'
...
Conflicts:
share/qtcreator/gdbmacros/dumper.py
src/libs/qmljs/qmljs-lib.pri
src/plugins/fakevim/fakevimhandler.cpp
2010-07-06 15:34:50 +02:00
Thomas Hartmann
9d70d66878
Adding interface for context widget to qmljs lib
2010-07-06 11:22:51 +02:00
con
9265494289
Merge remote branch 'origin/2.0'
...
Conflicts:
src/libs/qmljs/qmljs-lib.pri
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.h
src/plugins/qmldesigner/components/itemlibrary/itemlibrary.cpp
2010-07-01 11:41:36 +02:00
Thomas Hartmann
40ce22896f
Created a utility property reading class
2010-06-30 17:51:21 +02:00
con
ede2a7c975
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
share/qtcreator/gdbmacros/dumper.py
src/libs/qmljs/qmljs-lib.pri
src/plugins/debugger/breakhandler.cpp
src/plugins/projectexplorer/projectexplorer.h
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
2010-06-30 14:25:09 +02:00
Erik Verbruggen
21b211fed0
Created a utility rewriting class from existing visitors.
2010-06-30 13:42:35 +02:00
Christian Kamm
38e8c0dfd0
QmlJS: Set the return value of the JS type constructors.
...
Task-number: QTCREATORBUG-1737
Reviewed-by: Erik Verbruggen
2010-06-28 09:49:45 +02:00
Christian Kamm
c4a979a99f
QmlJS: Fix completion for slots.
...
When reading the xml file describing the Qml types, we incorrectly
classified all functions as methods. They should be slots, since
otherwise qmldump couldn't have dumped them in the first place.
Task-number: QTCREATORBUG-1755
Reviewed-by: Erik Verbruggen
2010-06-28 09:45:37 +02:00
Christian Kamm
4271d2a21f
QmlJS: Make the qml instantiating component chain more useful.
...
By actually storing the documents instead of only the root and id
environments.
2010-06-25 17:10:14 +02:00
Christian Kamm
123607ad70
QmlJS: Make variables in imported JS documents show up in completion.
...
Filtering them out has long since become unnecessary. It was used back
when JS files were sourced from Script elements - there they'd only
make the functions available. Now functions and variables are imported.
Task-number: QTCREATORBUG-1735
Reviewed-by: Erik Verbruggen
2010-06-25 13:34:45 +02:00
Christian Kamm
a34676238f
QmlJS: Remove unused Bind::currentObjectValue.
...
The function was not used and made no sense.
2010-06-22 13:36:54 +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
24d0f694d1
QmlJS: Remove unused functions from Snapshot.
...
Reviewed-by: Erik Verbruggen
2010-06-21 13:03:30 +02:00
con
458a25efa9
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qt-html-templates.qdocconf
src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
src/plugins/qmljseditor/qmljscodecompletion.cpp
2010-06-18 16:54:37 +02:00
Christian Kamm
b7cb1feb4b
QmlJS: Ignore .pragma library for now.
...
Task-number: QTCREATORBUG-1421
Reviewed-by: Erik Verbruggen
2010-06-15 14:50:16 +02:00
Erik Verbruggen
e5b9c76f27
Added C-style comment folding.
...
This is a "back-port" for 57f2b3e44d from master
into 2.0.
Done-with: ckamm
2010-06-15 11:27:07 +02:00
con
b0040dc858
Merge remote branch 'origin/2.0'
...
Conflicts:
src/plugins/projectexplorer/taskwindow.cpp
src/shared/proparser/profileevaluator.cpp
2010-06-10 15:00:16 +02:00
Roberto Raggi
726c3345c4
Moved qmljsmodelmanagerinterface.h
2010-06-10 11:59:27 +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
Robert Loehning
0aaa9a82b1
Compile fix for MSVC
2010-06-09 15:46:54 +02:00
Christian Kamm
e307bc2506
QmlJS: Store plugin metatypes in LibraryInfo. Rework type loading.
2010-06-09 14:36:54 +02:00
Christian Kamm
649cebda32
QmlJS: Fix windows namespace issue with ComponentVersion.
...
Done-with: owolff
2010-06-09 14:36:54 +02:00
Christian Kamm
fa79add293
QmlJS: Check for existance of qmldump binary before using it.
2010-06-09 14:36:54 +02:00
Christian Kamm
f9d7872761
QmlJS: Use ComponentVersion everywhere.
2010-06-09 14:36:53 +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
ea5ca79900
QmlJS: Add ComponentVersion class to simplify dealing with versions.
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
Christian Kamm
313d30654e
QmlJS: Avoid infinite recursion when encountering property loops.
...
Such as
property int foo: bar
property int bar: foo.
Task-number: QTCREATORBUG-1389
Reviewed-by: Roberto Raggi
2010-06-08 15:37:16 +02:00
Christian Kamm
3b8b6e89cc
QmlJS: Autocomplete dot and colon for properties.
...
Reviewed-by: Roberto Raggi
2010-06-07 17:37:45 +02:00
Erik Verbruggen
ea2054a945
Fixed uninitialized members.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
eed0241d97
Fixed a couple of null-checks/-returns.
2010-06-04 11:15:38 +02:00