Improve the delegate used to paint the tasks inside the taskwindow.
* Limit maximum size of the area used to paint the filename.
* Fix glitch where the filename is painted over the line number
* Reduce size of gradients painted, use clipping instead.
Task-number: QTCREATORBUG-2757
* Editor manager should abort closing core, if there's a ICoreListener
that aborts closing of a editor.
* Don't save state of temporary editors, and don't save them as open in
a splitter. So restoring the editor manager state won't try to reopen
temporary editors.
Task-number: QTCREATORBUG-2845
Task-number: QTCREATORBUG-2841
Reviewed-by: Tobias Hunger
Creating a LookupContext can be sloooow for large projects. We create
one instance for every update in the Outline to get the right icons.
Take a shortcut here and just use the element name directly, ignoring
packages names etc.
This is a hot fix for 2.1, a following patch will change the Icon
retrieval API accordingly.
Reviewed-by: Roberto Raggi
Task-number: QTCREATORBUG-2859
As it is not able to do the event-handshake required.
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
Check for valid runcontrols in various places and initialize
m_engine correcly. In the case of QML-Debugging, handle
NoEngineType.
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086
the file is "only" one meg after compression, so it isn't as bad as it
looks. and it is sorted now, so further updates should be somewhat less
wasteful.
Reviewed-by: danimo
Stop navigationwidget from going haywire when faced with old
configuration data. This issue could lead to different effects:
* A crash
* Creator not being able to exit anymore
* The sidebar being messed up
Task-number: QTCREATORBUG-2780
Reviewed-by: con
This add preliminary support for import QtQuick 1.0
The RewriterView does type conversion from QtQuick to Qt
so Bauhaus does not have to deal with ambiguities.
Reviewed-by: Marco Bubke
The debugger plugin opens an editor in this case, leading to fakevim and
cppeditor crashing.
This commit doesn't fix the problem's source, but adds safeguards that
are sensible anyhow: FakeVim should not register with editors during
shutdown, and CppEditor should not unconditionally assume an existing
editor manager in the destructor.
Reviewed-by: Friedemann Kleint
In order to determine all components that instantiate a given component,
Bind::usesQmlPrototype was called on each document in the snapshot.
That, in turn, had to iterate over all object definitions inside the
document, resolving their prototype references.
All in all, it lead to a very large amount of fairly expensive lookups
that were slowing down Creator considerably.
Reviewed-by: Erik Verbruggen
Confusion between native and internal path representation (i.e.
backslashes). File names should always be "portable" internally.
Reviewed-by: Robert Loehning