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
9220929375
QmlJSEditor: Prevent an infinite parsing loop with invalid qml/js files.
...
Reviewed-by: Erik Verbruggen
2010-04-16 11:32:49 +02:00
Christian Kamm
e145c6ae53
QmlJSEditor: Fix brace matching for "A on b {" syntax.
...
Reviewed-by: Roberto Raggi
2010-04-15 15:38:20 +02:00
Thorbjørn Lindeijer
20636f529b
Unified the three fake tooltip copies
...
Reviewed-by: mae
2010-04-15 15:08:51 +02:00
Kai Koehne
e959967f11
Qml support: Bump version of qml files from Qt 4.6 to Qt 4.7
...
Reviewed-by: Thomas Hartmann
2010-04-13 15:15:16 +02:00
mae
0c7312e05d
if a tooltip, do as tooltip do
...
The fake tooltip duplication is not nice.
2010-04-09 13:48:43 +02:00
mae
8eedde33c5
Implement tooltips for snippets
2010-04-09 12:59:49 +02:00
Christian Kamm
b19c51d609
QmlJSEditor: Highlight b in 'A on b {' as a property.
...
Fixes 4f1d5ce196
Task-number: QTCREATORBUG-893
Reviewed-by: Erik Verbruggen
2010-04-07 11:45: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
c330411604
QmlJSEditor: Show snippets before other completion options.
...
Reviewed-by: Erik Verbruggen
2010-04-07 11:09:27 +02:00
Christian Kamm
4f1d5ce196
QmlJSEditor: Highlight 'A on B {' correctly.
...
* Add 'on' qml-keyword.
* Highlight the last identifier before 'on' as a type.
Task-number: QTCREATORBUG-893
Reviewed-by: Erik Verbruggen
2010-04-07 11:09:26 +02:00
Christian Kamm
173fad0d3f
QmlJSEditor: Force a semantic rehighlight when a dependency changes.
...
Since the revision of the current document doesn't change, we don't
get rid of errors due to missing dependencies otherwise.
Reviewed-by: Kai Koehne
2010-04-06 12:38:07 +02:00
Erik Verbruggen
7c4eb002e2
Fixed corner cases for comparison.
...
Reviewed-by: ckamm
2010-04-06 10:42:48 +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
Christiaan Janssen
1a9b2dadcf
QmlDesigner.ProjectExplorer: New icons for qml file types
2010-04-01 17:21:41 +02:00
Christian Kamm
5ae67214a1
QmlJSEditor: Don't trigger a reparse when dependencies change.
...
A semantic rehighlight suffices. This should avoid some parsing cycles
introduced earlier.
Reviewed-by: Roberto Raggi
2010-04-01 15:49:02 +02:00
con
ded5ed975a
Version bump
2010-03-31 18:06:02 +02:00
con
609163c13c
Make it possible to react on close button of info bar, and use it for
...
Qt Quick Designer.
2010-03-31 16:27:47 +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
kh1
38151c2979
Remove help dependency from qmljseditor.
...
Should have been part of 9aaf2ec84c
Reviewed-by: dt
Reviewed: erikv, con
2010-03-31 14:36:20 +02:00
con
a8f43d8f7d
Qt Quick Designer it is.
2010-03-31 14:21:31 +02:00
con
0031e542f5
Mark QmlDesigner designer as experimental, and add button to enable it
...
from text editor.
2010-03-31 14:06:02 +02:00
mae
65e3017edf
minor code cosmetics
2010-03-30 14:57:59 +02:00
mae
91dac9385e
Re-enable snippets
...
Fixed colors to use the same as refactoring rename, and a few
fixes for undo and document changes outside the tab areas.
Reviewed-by: Roberto Raggi
2010-03-29 16:45:41 +02:00
Roberto Raggi
4ee8a199af
Introduced Document::isQmlDocument() and Document::isJSDocument().
2010-03-29 12:56:25 +02:00
Roberto Raggi
7c04d11f44
Automagically hide the completion box when the text under cursor matches the only item in the completion box.
2010-03-29 10:49:21 +02:00
Roberto Raggi
cbf1fe8c3a
Fixed possible crash when using completion when completing code in invalid documents.
2010-03-29 10:45:18 +02:00
Christian Kamm
81e74d23a3
QmlJSEditor: Set an icon for keyword completions.
2010-03-26 14:17:03 +01:00
Christian Kamm
b2bb919e45
QmlJSEditor: Add completion for JS keywords and Qml reserved words.
...
Task-number: QTCREATORBUG-919
Reviewed-by: Roberto Raggi
2010-03-26 13:51:46 +01:00
Erik Verbruggen
ca6f735204
Fixed renaming when the cursor is at the end of the ID.
...
Task-number: QTCREATORBUG-909.
Reviewed-by: Thorbjørn
2010-03-25 14:57:15 +01:00
con
6bd7a5a17d
Fixes: Tooltips for hover help didn't show up anymore.
...
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
Lasse Holmstedt
b14a208273
Made debugger menu items disabled in QML inspector mode
2010-03-18 17:02:26 +01: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
Robert Loehning
f2ce73bfe3
Compile fix.
...
Wrote down what Christian Kamm told me.
2010-03-18 12:20:05 +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
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00
Kai Koehne
718dd06ed8
Make use of QML, Qml, and Quick consistent
...
- It's QML, not Qml. But this is only the file format.
- The umbrella term is Quick (or Qt Quick, to be sorted out)
2010-03-18 10:50:51 +01:00
Lasse Holmstedt
90abf1bf2d
Highlighting and more sensible watchers to qml inspector
2010-03-17 11:38:09 +01:00
Friedemann Kleint
3e750afc73
DesignMode: Do not open .js-files in Design mode.
2010-03-17 10:55:43 +01:00
Friedemann Kleint
2edcc7ef33
Design mode: Give IEditor a 'preferred mode'.
...
... and switch to it in EditorManager::activateEditor.
There no longer is a need for special currentEditorChanged()
handling in the editor that use a special mode.
QmlDesigner receives an additional setting specifying the
desired edit mode. QmlJSEditor detects whether QmlDesigner
is present by checking the registered mimetypes of the
Design mode and retrieves the settings via keys.
Remove some obsolete code and clean up includes
on qmldesignerconstants.h
Reviewed-by: con
2010-03-16 16:51:45 +01:00
Lasse Holmstedt
68c49a65e9
Plugin manager for enabling/disabling plugins
...
Go to About Plugins and enable/disable plugins from there.
Reviewed-by: mae
2010-03-12 16:02:42 +01:00
con
ab74d23848
Avoid pulling in the svg plugin.
2010-03-05 16:03:31 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
kh1
9aaf2ec84c
Remove the register call for the qml file, I put it into help module.
2010-03-04 18:48:50 +01:00
kh1
0521722bd5
Set auto save filter to false, it triggers an unnecessary db write.
2010-03-04 18:48:49 +01:00
con
58703ba73d
Version bump.
2010-03-01 17:57:37 +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
Christian Kamm
c3578f307d
Fix parsing errors not showing for the QmlJS editor.
...
Done-with: Erik Verbruggen
2010-02-23 16:12:19 +01:00
Christian Kamm
8d14f18ec0
Add an accessor to get the flat scope list from ScopeChain.
...
Done-with: Erik Verbruggen
2010-02-22 10:22:23 +01:00