| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Make RunWorker final.
Task-number: QTCREATORBUG-29168
Change-Id: Ic755ddd823f05e033a107667eca6c3e78f58992d
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
| |
The macro already contain a ';'. Removing the argument or
[[maybe_unused]] would maybe even a better approach.
Change-Id: I31750d10a4f252c667e7c0e5e13bf1085dbe11a2
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... to be able to conveniently return also non-void cases without being
exposed to the syntax of expected.
The price for the more general approach is some uglification of the
void case: The previous 'Result' is now equivalent to 'Result<>',
which needs to be spelled out in function signatures, and some
changes to the special cases.
Change-Id: Ic5026e237ef2077a0765cdb8287122cae99d699f
Reviewed-by: Marcus Tillmanns <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: QTCREATORBUG-29168
Change-Id: Ia0c606e6742fb5db9cb6907a3b9cf3772462b321
Reviewed-by: Christian Kandeler <[email protected]>
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
| |
Namespaces, #includes, whitespace, QVector->QList...
Change-Id: Ibbdcb28df99f0f65b95362275ac74adec96d65d0
Reviewed-by: Christian Stenger <[email protected]>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.github/workflows/build_cmake.yml
coin/instructions/common_environment.yaml
src/plugins/lua/bindings/texteditor.cpp
src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
src/plugins/qmlprofiler/qmlprofilertool.cpp
Change-Id: I5cf84f47c4ce79b6e48d836e8fa083a656b0ce4b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The QML channel to use (the port that the user specified in the dialog
for attaching) was no longer set for the QmlProfilerRunner. That broke
with a22e79f38c13b652ad9639ee810647fc0c0e96b0
Avoid the usage of the ports gatherer with QmlProfilerRunner for the
attachToWaitingApplication case and set the qmlChannel manually.
Also avoid soft assert if there is no active run configuration.
Fixes: QTCREATORBUG-32617
Change-Id: I608cc736ed82284afbdd40277a54237f80f30306
Reviewed-by: Jarek Kobus <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pass reference to Process inside setStartModifier().
Get rid of ProcessRunner's setters.
Task-number: QTCREATORBUG-29168
Change-Id: Ib2dac5a1fbb0a0a4706fbb03896aa302c75d012c
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use RunControl::commandLine() instead.
Task-number: QTCREATORBUG-29168
Change-Id: I855504110c07e0feb0e9a3556867f3e6d29c1d96
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
And reuse it.
Change-Id: I6b12a7fd41b3e3bb116cab85a4458ea08e078b3b
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Apparently the QmlProfilerTool::instance() might be nullptr
on shutdown.
Change-Id: I0a654184b92c96c43f60d675b21f82e2abca2319
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| | |
Change-Id: I6c5ff94fbc60d080b9f5ca665bb00af8d22d371c
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use RecipeRunner instead.
Task-number: QTCREATORBUG-29168
Change-Id: I58ada985ecb1c9cdfc6668d0569d5b20f97bd449
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
By making the containers const.
Change-Id: I3095d7c817bd8a9cc40184aba144d617c6071f97
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move it from QmlProfiler into QmlProjectManager and hide in cpp,
as it's only used there.
Change-Id: Ibad65ee83e71788cc010857f0790aca93cf78dcd
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
And remove arg from connectToServer(). This will ease the
integration with TaskTree.
Change-Id: Icdacef9a2d6a66773aab126511054c900a437954
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| | |
Change-Id: I6fc455aae12c0c35ca6becae33013ad137799d00
Reviewed-by: Christian Stenger <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test crashed since the connection URL was not set anymore, and the
default-constructed value caused an endless recursion in QmlProfilerToolTest().
Change-Id: Ib0e3cb89c236033754c0bb8007f57f8dc3364c19
Reviewed-by: Christian Stenger <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Removes one use Target::deploymentData()
Change-Id: I9e6177376b340d04eb2c8b6803826fbf0d278bd6
Reviewed-by: Christian Kandeler <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
... instead of a Target.
Change-Id: Ia14917bd54a849c725efb90fc9f127822815c6c8
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Delete the RunControl manually instead.
Ensure the RunControl is stopped before it's reset.
Change-Id: I0cabdc613594c24054ab9e60cda0deca5595c96f
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It looks like the additional spaces were fixed in sources,
but not in test.
This makes LocalQmlProfilerRunnerTest::testRunner() to pass now.
Change-Id: Ia8d6f35a440dea9034dba87fb3f7f8a3bcdca44f
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a crash in LocalQmlProfilerRunnerTest, which uses an artificial
setup without a build configuration.
Change-Id: Ife43f765b80caea00ea146cdd14f2d60583ccc0c
Reviewed-by: Jarek Kobus <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: QTCREATORBUG-20986
Task-number: QTCREATORBUG-32380
Change-Id: Id5bcb8fcc6d97375f15a1266ae040ea637df9683
Reviewed-by: hjk <[email protected]>
Reviewed-by: Christian Stenger <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since we were not connected to its signals, the result of
the parsing was ignored.
Remove unneeded includes of qmloutputparser.h.
Change-Id: I52cdf32de58e20a9e25f5e217af84db3ec440d4b
Reviewed-by: Alessandro Portale <[email protected]>
|
| |
| |
| |
| |
| | |
Change-Id: I7b7abe068ec608e6b659171b811bacc26c800a09
Reviewed-by: Alessandro Portale <[email protected]>
|
|\|
| |
| |
| | |
Change-Id: I85e9d3ec36f5cb0f7d213a9582e0e0841299c2b5
|
| |
| |
| |
| |
| |
| | |
Fixes: QTCREATORBUG-32398
Change-Id: Ib717df00a3aa45f9eda71bfd572adc06388a216f
Reviewed-by: Ulf Hermann <[email protected]>
|
|/
|
|
|
|
|
| |
qmlevent.h:99:42: warning: array subscript 2 is above array bounds of ‘const qint32 [2]’ {aka ‘const int [2]’} [-Warray-bounds=]
Change-Id: I477e6dccebda4fbb81f6fffd1791163bd660f714
Reviewed-by: Ulf Hermann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Namely, Kit, BuildConfiguration, BuildSystem and RunConfiguration get
functions to retrieve the active instance for a given project as well as
the one for the current and active projects, respectively.
This saves a ton of annoying null pointer checks.
Some of these functions replace existing ones with the same purpose that
were scattered around the code base.
Change-Id: I18247061229bbeb8b8ad1e15a2bd7a6626438bc0
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
| |
Change-Id: I9682c6b5a0bba400050e91fe89b2883f7bb6465f
Reviewed-by: Christian Stenger <[email protected]>
|
|
|
|
|
| |
Change-Id: Ia274f158be0c553dceb69fde4adafc4ee72e809f
Reviewed-by: Ulf Hermann <[email protected]>
|
|
|
|
|
|
|
| |
Use RunControl::setSupportReRunning() instead.
Change-Id: I7cfcf9cb3542756ab3d990a22b6224f390b7eed9
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toString() is almost always the wrong conversion, but unfortunately
too easy to find and often even working at least for local setup.
This here raises the bar as the non-availability of the "obvious"
toString() hopefully helps people to think about the semantics of
the needed conversion and choose the right toXXX() function.
The chosen new name is intentional ugly to reduce the likelihood
that this (still almost always wrong) function is used out of
convenience.
Change-Id: I57f1618dd95ef2629d7d978688d130275e096c0f
Reviewed-by: Eike Ziller <[email protected]>
|
|
|
|
|
|
|
| |
Amends 25d6dcc7be52229a67fd6d4bdde6092496907907
Change-Id: I157947c7570df4dbef36a0d8433bbb885d31d685
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
| |
Change-Id: I8f45174cec9de3c88056bbe364da1f7c40820b36
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
| |
Hide QmlProfilerRunner::cancelProcess().
Pass RunControl into finalizeRunControl, instead of QmlProfilerRunner.
Change-Id: I3f57a8d80a6261bb5692715c0251a600d35b54ae
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
| |
Change-Id: I23cc902881899046580e83bc71810a73ca586c1b
Reviewed-by: hjk <[email protected]>
Reviewed-by: Ulf Hermann <[email protected]>
|
|
|
|
|
|
|
| |
And get rid of ProcessRunner::forceRunOnHost().
Change-Id: Ia2d0e526c59a474db0fb79d675b7acd0bf45f2ca
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove registerProfilerStateManager() and connect to
state manager's signal directly from the start() function.
Remove Q_OBJECT macro.
Change-Id: Id03486f077c81909fbe0889bb342ee7595631e9d
Reviewed-by: Ulf Hermann <[email protected]>
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
| |
Change-Id: Ie666fe0811aa63c54edf12934c6db4e17b26c252
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Translations can be different depending on context.
Give each usage a disambiguation text.
Task-number: QTCREATORBUG-31978
Change-Id: I5fe854f96ce285943ff47993cd6d56db603d1c27
Reviewed-by: Christian Stenger <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Translations can be different depending on context.
Give each usage a disambiguation text.
Task-number: QTCREATORBUG-31978
Change-Id: I44ac524d7448787360e825fad1d430ded3f07659
Reviewed-by: Christian Stenger <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Some were using ICore::dialogParent() directly and the 'nullptr' users
were using that implicitly, but quite a few actually effectively changed
now from some local widget to (implicit) ICore::dialogParent().
Change-Id: Ibb2767b1289221dd26757361235ee88df4a1695e
Reviewed-by: Eike Ziller <[email protected]>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/qmljseditor/qmljseditordocument.cpp
src/plugins/qmljseditor/qmllsclient.cpp
Change-Id: I0fce4ae6240a8f14257de8e134bceb6e64ddf4a5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If opening the temporary file for QmlProfilerEventStorage fails in it's
destructor, it was crashing, because the error handler tried to emit a
signal on an object that wasn't even half constructed yet.
Can be tested by forcing the return value of TraceStashFile::open to
`false`.
Delay the construction of the event storage a bit and do not set the
error handler in its constructor, since nobody could connect to the
signal that was sent yet anyway. Also add some checks before calling the
error handler.
Change-Id: I0fc1207aac447090e12f6b2342e156312e0d1d1b
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
And use it in various places.
Change-Id: I525d6fe89652ceba9f675b0b8c9e7ea6a8bcf4be
Reviewed-by: Jarek Kobus <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are the widgets at the bottom of the run config settings that
share the ability to switch between a global and per-target setting.
There is nothing inherently debugger specific here, except for the
common history.
Change-Id: I4c57c138bb05c2a505f1bac13161352417bd8fe4
Reviewed-by: Christian Kandeler <[email protected]>
|
| |
| |
| |
| |
| | |
Change-Id: Id092c8d0bedad987e963b36b0e9b46e7182209a2
Reviewed-by: Jarek Kobus <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... and put everything into namespace Debugger.
The analyzer/debugger separation is long gone.
Change-Id: Ife819b0bc4add4a6f7a81b0a8a20dcbf7282125f
Reviewed-by: Jarek Kobus <[email protected]>
|