There is no reason to have the QString overhead there.
Change-Id: I46ab16dd44b1ea9670905ce58b574b7d9d8fc572
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Move Status enum out of QmlDebugClient and drop "QmlDebug"
prefix for the different 'Reference' structs. Allows to
avoid 'using namespace in QmlDebug' in header files.
Change-Id: Id9857977300e86d637cf128ff3417d8b24c8e995
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Always use camel case for actions in context menu.
Change-Id: Iafa0569c4bca4ecb858fe618780208322379b979
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
That is the necessary part of the previously reverted patch.
Change-Id: Ie25171cd013712b7141de01d4c23deb20fe08578
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This reverts commit 89cee4313c,
as part of the patch breaks QTCREATORBUG-7277.
The GDB case should not filter the Locals model, but the Tooltip model
to display tooltips. CDB has no choice, as the tooltips are expressions,
i.e. cannot be handled, so using the Locals as fall back there is ok.
Change-Id: I196bc683e06f68301bd86aa6fcce14ad2e8c5774
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Coding style says class should be used everywhere.
Change-Id: Ia1c75d6b3222c6672e1ffac22395affd2f2add1c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Emit less signals when reading the qtversions.xml file provided
by the SDK. Especially do not claim a Qt version was removed and
added again on updates. This could potentially cause BuildConfigs
to update themselves in stupid ways.
Change-Id: I5e2b3ac4725f4a30910520e57ca0bbf9fe595f7f
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Give the file a bit to settle, otherwise we might end up reading
a file that is not fully written to disk yet.
Change-Id: I88d91c095171bf3e603b68cc81ad5406320ef6d0
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Explicitly select a a new Qt version when the one in use gets
deleted. Do not rely on the UI doing the right thing anymore.
Change-Id: Ia78b56ae15a1aa81d11227d1f07ce43bff19b0f2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Merge QmlJSInspector plugin into the debugger. Also merge the
extra Inspector window with the Locals & Watchers: It now shows
the QML object tree in the running state.
Change-Id: I59ae0c1b970a48ba10ecda92ed3ba765d94b1d9c
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Removing a subproject and changing the project type of a parent project
didn't set always the valid parse state nor emitted the parsing finished
signal. Also ensure that removing and then readding a node does update
the runconfiguration for that node.
Note: The error message is now: "The .pro file %1 could not be parsed",
which is better, but can be improved, improving that is QTCREATORBUG-7377
Task-number: QTCREATORBUG-7394
Change-Id: Ie0d9a430ee902bd194179b0512ac8295bc519f2a
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
E.g. this could happen if a session with two projects is opened, where
the startup project no longer exists.
Change-Id: I1c60bacb62b5f39f7830a3bc30e3aa388a825884
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
For debug purposes, facilitates troubleshooting when bugs are spotted.
Change-Id: I6f76d251bc4855f1d1f0ccf4724cd342c39cad29
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Otherwise the caller might (inadvertantly) keep a non-const object
around and change it behind the device manager's back.
Change-Id: I71b3e83e94397416b843006e74dcc1924abed77b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Make sure subclasses can call clearLastLine() to at the same time
remove last line from the editor and QtOutputFormatter, where it
is buffered too.
Change-Id: I33910943b96d821018e936f72e0c32a96b844e15
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Win64 doesn't seem to have raise() at all, or at least it isn't
called on abort()
Change-Id: Ief7a97c321db0f91629848852719977d14094173
Reviewed-by: hjk <qthjk@ovi.com>
Otherwise a misparse might get reported as .pro parsing still in
progress.
Change-Id: I0958032c7692faa4672410f395ededf6f1a2e379
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Previously virtual folders, that is the "Sources", "Headers" folders used a
hack. This patch removes that hack, by introducing the following changes
- The FlatModel and the ProjectExplorer::Nodes now don't require path() to
be unique. Thus allowing the virtual folders to all return the same for
path(). [1]
- Introducing a new node type "VirtualFolder" which is sorted according to
a priority.
- Introducing a few new virtuals for displayName and toolip(), which can
be overriden.
[1] Note that all the project managers do require path() to be unique for
some types of nodes.
That also fixes:
Task-number: QTCREATORBUG-7100
Change-Id: I76b730f4c4254e2894467603bbe9a30e356a0bcc
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This makes the output use a fixed width font by default.
Also the application output is also synced to the text edit font
Task-number: QTCREATORBUG-7378
Change-Id: Ia036b505017cac0b1254b1b183b798feaee130f9
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
'Remote connection closed' messages sometimes also arrive camuflaged
as a response to a command (with the response of the original
command already there).
Change-Id: I8fa75f561fb341463fc4c0ed0a35aa6fd8300694
Reviewed-by: hjk <qthjk@ovi.com>
Yet another instance of using a potentially wrong index.
Also check some invariants.
Change-Id: I2306fe854481e85f38434ec73cf5e92675110bf1
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
- Use a form layout in the "General" group box - now the labels are
aligned according to the platform.
- Set a minimum height for the "Type Specific" group box. If there are
no devices the "Type Specific" label will be not cut off by the
underlying spacer.
Change-Id: Ia4527628db204ad33852d8d21751ec60cfe225cd
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Performance is hit when rendering a large number of messages.
Show text contents that fits a line and expands to show the
complete text when clicked.
Change-Id: I803a8b2da12830172f9e75f86546adf121799a67
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>