Oswald Buddenhagen
9ac137fb06
add auto-saving of modified editors
...
Task-number: QTCREATORBUG-2847
2011-05-12 20:10:03 +02:00
Oswald Buddenhagen
882e34ee28
rewrite editor info bar handling
...
the info about the bars is now stored in the IFile, not in the
EditorView. this is somewhat more expensive for the bars which
identically apply to all editors of one type, but fixes consistency
issues between views.
additionally, it is now possible to set several simultaneous
info bars per file, which ensures that no information is lost.
Co-authored-by: mae
2011-05-12 20:10:02 +02:00
Christian Kamm
cf15e14e5e
QmlJS: Add tooltips to imports.
...
Task-number: QTCREATORBUG-4814
2011-05-12 15:29:41 +02:00
Christian Kamm
d72bddc7da
QmlJS: Update to new QmlJS parser.
...
UiPublicMember is now initialized with a statement.
2011-05-12 13:39:53 +02:00
Christian Kamm
f8bcd6c615
QmlJS: Disable collection of semantic messages in 'Build Issues'.
...
There are too many false positives when a project contains source code
for plugins and qml files using that plugin at the same time. It was
particularly bad for qtdeclarative itself.
Reviewed-by: Roberto Raggi
2011-05-12 12:51:23 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Christian Kamm
d05992d0fa
QmlJS: Stop doing significant work in constructors.
...
To avoid order-of-initialization problems.
Reviewed-by: Thomas Hartmann
2011-05-06 13:48:55 +02:00
Christian Kamm
02b7eacf4b
QmlJS: Fix type detection for alias properties.
...
Task-number: QTCREATORBUG-2306
2011-05-04 11:14:35 +02:00
Christian Kamm
ba14c46a5e
QmlJS: Complete trailing / in file name completion.
...
Also restart completion when a directory was completed.
2011-04-28 10:44:58 +02:00
Christian Kamm
c504d28eb5
QmlJS: Add semantic errors to task window.
...
Task-number: QTCREATORBUG-4103
Reviewed-by: Leandro Melo
2011-04-21 11:16:50 +02:00
Friedemann Kleint
774fa49412
Fix more krazy warnings.
2011-04-19 15:43:53 +02:00
Oswald Buddenhagen
fae7dc9584
add errorString output argument to IFile::reload() & IEditor::open()
...
add/unify read error handling in all affected classes
2011-04-18 14:10:13 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
Jarek Kobus
4d69c7455e
Remove unused constants, fix lacking virtual destructor
...
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-04-14 12:08:47 +02:00
hjk
70d392d235
core: make context and widget IContext data members
2011-04-14 11:15:07 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Christian Kamm
b267922173
QmlJS find usages: Don't pop up a result window if we don't search.
...
Task-number: QTCREATORBUG-4090
2011-03-17 15:08:25 +01:00
Christian Kamm
562a619721
QmlJS: Fix find usages if id and property name conflict.
...
Task-number: QTCREATORBUG-4097
2011-03-17 14:43:44 +01:00
Thomas Hartmann
402daade93
QtQuickToolBar: disable gradient editing in PropertyChanges
...
Editing gradients in PropertyChanges is not allowed.
Task-number: QTCREATORBUG-2969
2011-03-17 10:44:31 +01:00
Thomas Hartmann
2731f42e8d
QmlJsEditor: hide context pane if last document is closed
...
Task-number: QTCREATORBUG-3702
Reviewed-by: Christian Kamm
2011-03-17 10:44:30 +01:00
Leandro Melo
ae3b2ab013
Still changes to our options dialog
...
We decided to have text-based buttons by default.
2011-02-28 14:42:32 +01:00
Leandro Melo
a5977bc822
Revert "Make our options dialog a bit more uniform"
...
This reverts commit 561f87fcb9 .
2011-02-28 14:37:27 +01:00
Leandro Melo
561f87fcb9
Make our options dialog a bit more uniform
...
In terms of buttons, layouts, aesthetics in general.
2011-02-25 16:29:35 +01:00
Thorbjørn Lindeijer
70b70770a4
Fixed layout issues in some editor toolbars
...
Cleaned up some hacky code in the process.
Done-with: Tobias Hunger
2011-02-25 16:11:20 +01:00
Friedemann Kleint
88f333267f
Fix Krazy code scanning tool warnings (QString, loops, spelling).
2011-02-25 15:28:01 +01:00
hjk
f576ad9f2c
texteditor: merge ITextEditable into ITextEditor
...
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
2011-02-22 11:23:53 +01:00
Christian Kamm
1d4cd9b7f2
QmlJS: Remove the strict separation of types and attached types.
...
The problem was that several lookup calls suddenly failed because
the actual QML types were no longer in the default scope chain. However,
the QML documentation says the type names are in the scope.
Also, 'MyComponent.' in a JS-expression context only showed the attached
properties of MyComponent and missed the enums.
With this change completion now may offers too many options, but that's
better than missing some.
This reverts parts of 490f2797f6
Reviewed-by: Leandro Melo
2011-02-21 15:05:04 +01:00
hjk
ed5f80048a
completion: call directly from base text editor
...
Reviewed-by: con
2011-02-21 14:46:06 +01:00
hjk
6966154731
completion: fix two connection broken with previous commit
2011-02-21 14:11:08 +01:00
hjk
9a6c4a42f7
completion: enable multiple completors for different use cases.
...
Introduce CompletionPolicy enum, use 'TextCompletion' for the new plain
text completion, and 'SemanticCompletion' or 'QuickFixCompletion' for
the existing cases.
Reviewed-by: Erik Verbruggen
2011-02-21 14:04:43 +01:00
Kai Koehne
5e6496f664
QmlJsEditor: Add copyright header
2011-02-18 11:50:28 +01:00
Christian Kamm
490f2797f6
QmlJS: Completion for attached properties.
2011-02-10 17:04:22 +01:00
hjk
57eae3191e
s:// end of namespace :// namespace :g for consistency
...
We use the latter style everywhere else to signify the end of a namespace block.
2011-02-04 12:45:32 +01:00
Friedemann Kleint
edb4893547
Header cleanup in src, specify module name.
2011-01-24 12:29:48 +01:00
Christiaan Janssen
f5039a4a02
QmlJsInspector: implemented Property Inspector
...
Reviewed-by: Kai Koehne
2011-01-20 15:11:39 +01:00
Friedemann Kleint
808408eeea
10n: Fix tr() issues.
2011-01-19 16:50:03 +01:00
Christian Kamm
20f0088ec9
QmlJS: Fix completion of locally defined properties.
...
Task-number: QTCREATORBUG-3490
2011-01-12 15:40:36 +01:00
Christian Kamm
ef5dc8c699
QmlJS: Avoid frequent libraryInfoUpdated emissions.
...
Also don't require a rehighlight of every open document when the
signal is emitted.
Reviewed-by: Roberto Raggi
2011-01-12 14:03:01 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
20aeec7305
QuickFix: Add comments to undocumented fixes.
...
Reviewed-by: Erik Verbruggen
2011-01-07 14:49:34 +01:00
Christian Kamm
7c5d89ae8a
QmlJS indenter: Add '{' as an electric character.
...
Task-number: QTCREATORBUG-3405
Reviewed-by: Erik Verbruggen
2011-01-04 10:23:47 +01:00
Christian Kamm
a7e5f80d70
QmlJS indenter: Only auto-reindent if indent was unchanged.
...
This change in how electric characters are handled has gone into the
C++ indenter a while ago and works well there. It means Creator is less
likely to annoyingly change the indent on lines where the
indentation whas changed manually.
It is still possible to trigger a reindent manually.
Reviewed-by: Erik Verbruggen
2011-01-04 10:23:47 +01:00
mae
4226538ac3
Fix QML to UTF-8, unless changed in editor
...
Task-id: QTCREATORBUG-3424
2010-12-20 18:11:44 +01:00
Roberto Raggi
207c295552
Sort the completion items when searching for common prefixes.
...
Reviewed-by: Thorbjørn Lindeijer
2010-12-20 16:15:49 +01:00
Kai Koehne
94fc750a45
Outline: Double click should jump to text even in non-sync mode
2010-12-20 09:45:29 +01:00
Kai Koehne
32f69b9b77
Outline: Add context menu for collapsing/expanding tree
...
Task-number: QTCREATORBUG-2976
2010-12-20 09:19:56 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
4321e01efb
Some API beautification in action container.
...
Done-with: Daniel Molkentin
2010-12-17 16:05:47 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00