| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Limit the giant public interface of the base class.
Remove some redundant overloads.
Change-Id: Ifc6ff8f4270fe280a2cee12af8ec915600c41e20
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: I56fabbfe32ab579ef5e9f7c8cc5fde220b99769a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
|
|
|
|
|
|
| |
Instead of populating it for each lookup, i.e. each stack frame
on each step, do it just once when the QmlEngine starts.
Change-Id: Idf2fdc61ff562a63d5abd9c5ea097a4eb7414d4a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Paths of .qml files go through several location before ending up in
the binary (source directory, build directory, entries in .qrc files).
The qml debug server side does not do any back-mapping to source
directory files when reporting e.g. stack frames or breakpoint
locations, so this a FileInProjectFinder is supposed to do the work,
some deterministic, some by guessing.
The most deterministic way is to read .qrc fils, but in modern Qt 6.x(?)
CMake projects, .qrc files containing .qml file are typically on-the-fly
and are not part of the project's sources anymore.
On top of this, the heuristic to search for the files in the project
directory which would normally help as fallback fails for in-source
builds due to some unfortunate naming of build artifacts (for a fie
called "testprojects/untitled/Main.qml" in the source, a file
"testproject/untitled/untitled/Main.qml" build artifact will be generated
/and/ found by the back-mapping heuristics using "prefixToIgnore" in
FileInProjectFinder::checkProjectDirectory.
To work around further, we add the relevant generated .qrc files manually
in that case.
Change-Id: Idcab1a3a5a86bd055a8b98e7fec13eb59d403b1e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |\
| |
| |
| | |
Change-Id: Ibac8bd0e35b19207f8aa4697aa5d9d797b15a7ee
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
...for qml debugging. Handle the response explicitly because
otherwise we end up with once modified break points which
wrongly keep displaying the original state and therefore
even refuse to trigger the change back until the debugging
session ends.
Fixes: QTCREATORBUG-17294
Task-number: QTCREATORBUG-19382
Change-Id: Idba9f2add915c965398bde1f0a46826e55067f08
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
cmake/QtCreatorIDEBranding.cmake
qbs/modules/qtc/qtc.qbs
Change-Id: I3621af6bd63bb326555faa5a7778f58ccb271065
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Correctly update the cache before handling new information
to be able to display different colors for values to mark
them as unchanged or changed.
Fixes: QTCREATORBUG-29344
Change-Id: I1af9da4947d544248e5217f4e53f6f4f1c598bda
Reviewed-by: hjk <hjk@qt.io>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 <alessandro.portale@qt.io>
|
| | |
| |
| |
| |
| | |
Change-Id: Ifb4cddb9da4eeebdbce809e2565f91e5e2d34f10
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |/
|
|
|
| |
Change-Id: Ibfbc37691aed900b3762a90ba69cc6a2fd85b0d2
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
| |
Transform projectSourceDirectory and projectSourceFiles.
Task-number: QTCREATORBUG-29168
Change-Id: I3e5f28f22df5b84f82f10e4daff10df2a62016f1
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: Iec777effda0b19b840b783606a01c804d42306a2
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTCREATORBUG-29168
Change-Id: Ib4421ecb0a8ca26473960858f9ca257107d694a4
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTCREATORBUG-29168
Change-Id: I55dbf5ea72109f3fe0150ac19733e41d2450440c
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTCREATORBUG-29168
Change-Id: I950e8ede308af097d6a4f52691aec218384f451a
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <eike.ziller@qt.io>
|
| |
|
|
|
|
| |
Task-number: QTCREATORBUG-29168
Change-Id: I0f55da1d576d104e1b2d235ce7d14d487fb71ac8
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The focus is on DebuggerRunParameters and DebuggerRunTool
API change. The rest is an adaptation.
The pattern would be:
1. Move a setter from DebuggerRunTool into DebuggerRunParameters.
2. Provide a corresponding getter.
3. Prefix a field with "m_".
4. Move the field into private section.
Transform only one field in this patch to avoid giant change.
Most probably one patch for one transformation could be optimal.
Task-number: QTCREATORBUG-29168
Change-Id: Idc46fc78a16889f4de09c8718d1bc9ad28ad3df1
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: I6de1ddd036b654472b0a8cc020dc1dbf1bc1d270
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The terminal needs information from the portsgatherer in the context
of QML debugging, but has no start dependency on it (yet).
This starts isolation terminal stuff for easier re-ordering later.
No change in functionality intended.
Change-Id: If75a4db6d277ae52a18851ea834d78057584248c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
| |
The QContainer Naming War is over. QList won.
Change-Id: I8193b1b51619502533b74d6e965ec9b664f8dbce
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
| |
Change-Id: If206b70d263bcdb6d617827fb9cb8fe3214564a1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
|
| |
|
|
|
|
|
| |
Not in sdktool, which still builds with Qt 5.15
Change-Id: I6e6f4331127b821e471e2840e7959cd65e6419e9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/cmakeprojectmanager/cmaketool.cpp
src/plugins/python/pythonutils.cpp
src/plugins/qtsupport/baseqtversion.cpp
Change-Id: Ia3e35c763ff9475d17ad922718b54152209893b8
|
| | |
| |
| |
| |
| | |
Change-Id: Id26b41e878ed2b8b20099b62ed1c122966165665
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename process.h back to qtcprocess.h
MSVC's "threads" standard header includes <process.h>, and that ends up
including our process.h from Utils.
There already was a hacky workaround in place for a similar issue with
MINGW, but that doesn't work with MSVC because that doesn't have
Simply use a name that doesn't conflict.
Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
| |
This does not yet fix the reported problem but at least attaches and
gives a working QML inspector in a QML-only debugging session.
Task-number: QTCREATORBUG-30263
Change-Id: Ieac517c2b7c5dde24792f3bbcffe0058073ddbd1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
| |
Fixes: QTCREATORBUG-30355
Change-Id: I3e7c1ef56db1fe48f5b571d21f89d20b7936cfb7
Reviewed-by: David Schulz <david.schulz@qt.io>
|
| |
|
|
|
|
|
|
| |
Call contains() directly on the container.
Change-Id: I89c7714b98d86d9c0bb6811e013138d1e51ddc9f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When the debugger is quit, connectionStartupFailed will trigger and
show a useless message box about not being able to connect.
This can also trigger a crash in WatchHandler::cleanup if the user
quits Creator while a debugging session is still running.
(as seen on macOS).
Change-Id: I19461d5cdd449e58e530b09b772431b3cf18c52f
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
| |
Change-Id: Ifa5d72566007e0bb006523433dcef97689677fbf
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The other debuggers do not cause the view to jump to the current frame
when adding a watch. Make the Qml debugger also not do this.
This is done in a slightly hacky way by preventing the gotoLocation of
the next handleFrame call to be executed. Ideally, the logic to
retrieve the value of locals should be separated from the logic to jump
to a specific frame. Right now the jump is implicit when updating the
locals.
Fixes: QTCREATORBUG-29329
Change-Id: I4b8f5c99ae41c92c3394f86da481303d4765f897
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| |
|
|
|
| |
Change-Id: I14f737612b4fe6a37e650190b587ef0b04e559ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Most information is available via Q(Core|Gui)Application.
Add an AppInfo structure for the things that are not.
This avoids that the information ends up duplicated and
hardcoded in the plugins, which is not needed or desired.
Change-Id: I4d565e75c42a7b8facafa90c27096ea49359215d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
|
|
|
| |
Change-Id: I93c9f91642bc5f5bd43ebb80cb489782978db327
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
| |
The column is currently unused.
Change-Id: Iabc57c8d21e807187783071efe9a82e9c1877181
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
| |
Change-Id: I2225668b51d82e017cda305737f8c93fdaf97bd7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
| |
Follows QtcProcess -> Process rename.
Change-Id: I97235a9a40cb7fd52944515b7ab878d96528f919
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
|
|
|
|
|
|
| |
Task-number: QTCREATORBUG-29102
Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Needed for the double-remote case.
With this we have proper breakpoint markers in the text editor for a remotely
running gdb on a remotely loaded project.
Change-Id: If80e4a4108a4a0bcdd7612a59e2bd695213f5ea5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
|
| |
|
|
|
|
| |
Change-Id: Ie058b928900015d0f71776151547bf7ba32a62bf
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
|
| |
|
|
|
| |
Change-Id: Ib44748fa3218788ca20a99b0a0f4cd85716dde06
Reviewed-by: hjk <hjk@qt.io>
|
| |
|
|
|
|
|
|
|
| |
For references to the module-own context, use Tr::tr().
For references to other modules, use the right context name (with "::"
prefix).
Change-Id: I6dce8f1ceccb23c44d93f1826402cd3be8e98e5a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
... and re-use the old QtcProcess::readAllStandard* names for
a QString-returning 'decoded' version.
For now, only use that in 'full Utf8' cases, to stay bug-compatible,
the plan is, however, to employ the QTextCodecs we have already
in the channel buffers. That will be one-by-one, though.
Change-Id: Id209e0671920d4ea4197918e872f441254112d52
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...
While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only
Change was done by running
find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;
Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |\
| |
| |
| | |
Change-Id: Idd9c2b1bf787040b7b415b7cda29035227ca1011
|
| | |
| |
| |
| |
| |
| | |
Fixes: QTCREATORBUG-28469
Change-Id: I421dd18e0aedbe6628d4817fddf271c1a2bfbeb0
Reviewed-by: hjk <hjk@qt.io>
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp
src/plugins/qmldesigner/components/stateseditornew/propertychangesmodel.cpp
src/plugins/qmldesigner/components/stateseditornew/propertymodel.cpp
src/plugins/qmldesigner/qmldesignerprojectmanager.cpp
src/plugins/qmldesigner/qmldesignerprojectmanager.h
Change-Id: Ib029a830ee99190bc4ea2ad75d9300bfa86b42d9
|
| | |
| |
| |
| |
| |
| |
| | |
Amends 126030d079b7309a9487cd4138e40da49e617341
Change-Id: I3cec0e2984af311070ebb258b454d4e3fcec626f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|