For easier testing a docker file is added. You can start
"buildandrun.sh" in copilot/tests/proxy to get a simple
proxy server up and running. The argument "PWDMODE" in
buildandrun.sh can be set to "with" and "without" to get
a proxy server that needs a password or not. The username
and password are user/1234.
Fixes: QTCREATORBUG-29485
Change-Id: I3859c9ad04ebd4f9349e25665ba710e23fb64dea
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
QLatin1StringView ist ein alias fuer QLatin1String, aber erst ab 6.4
Change-Id: I9b04d39722bf2707c327c6596a4bfe9ee719bae8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Designer Icons are updated for the toolbar usage.
Disabled colors are changed for the View 3D toolbar.
Task-number: QDS-10044
Change-Id: I98e7e43d39af4d57a1527fd1a9600c964e49114c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Only mandatory files are imported by the newly created component.
In the case that the import data is empty, All parent imports would be
included.
Task-number: QDS-9829
Change-Id: Ie96e2bc04a10e00b15ae12c5e58b5dc2392886ae
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
When not starting in debug mode, the inferior is not waiting
for ptrace(DETACH), so the code that calls DETACH waits for
something that does not happen.
Fixes: QTCREATORBUG-29503
Change-Id: Ic00a52b9e4f3a797d1be337a2ce53afc6ee63927
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
We are not yet making use of the integrated DTOs as this will happen
in a future commit along with the network requests to fetch the data.
Change-Id: I72cf9005cae052c41a7e906e0fae5dbe176e0882
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
runSceneGraphTest() did nothing but create an opengl context and
offscreen surface. It did nothing with the provided QSGNode.
The only thing it does is make the test fail if the opengl context
can't be created for instance on test machines without opengl.
Change-Id: I376c3565f5afcee6e123a7ef8b9832e679e645a0
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
The FilePath based one seems to be called primarily, so make that
the primary implementation, saving a FilePath <-> QFileInfo round trip.
Change-Id: Ib3427a5168e559b8a583570ac1c82dfe658644da
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Only emit changed if the current interpreter changes.
This is more in line with the other aspects.
This fixes the pyside detection since the changed signal was not
emitted in all relevant code paths.
Change-Id: I53409b17f260b35914e39de894b48d7bd1ce27c0
Reviewed-by: hjk <hjk@qt.io>
Slightly nicer code and works well with settingspages nowadays.
Change-Id: Ic12ff58f4b0f8db226843961eb2ab6fb8879429c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Mostly local variables and KitManager::kitAspectFactories() to
match closer what they are.
Change-Id: I8f837357528f9e1110888898077f82b5097003f0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Just re-organization relate to, but not a fix for the linked issue.
Task-number: QTCREATORBUG-29494
Change-Id: I0c5413b2dc97738a03b737e764194c4d90d3f086
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
So far we create all AbtractProperties and then filter and cast them. So
we throw most of them away.
Now we filter before we create them and we create directly the type we
want.
Change-Id: Ic1b32e11f2b934edfcf890e27de323af38051784
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
In the case of the has and remove functions we don't need the value. If
we use views we can use const expressions.
We have to change from QHash to std::map because QHash can not handle
different types for the find function.
The patch is removing a double lookup too.
Change-Id: I89bb942d7948127344d230ee61ac166102354ccb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Make node collection a little bit more explicit. Before we created,
copied and destroyed node lists. Now we send a list
around where we add nodes.
Use raw pointer for properties. Properties are used as internal pointer
plus the property name. The repesentation as an shared pointer is a
implementation detail and could be removed in the future.
Use raw pointer for internal nodes if we don't handle ownership but only
access member.
Remove double checks for properties. One lookup is better than two or
three.
Change-Id: If162f365db3e8869cbc19913abfc44d57c2d8324
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Make it implicitly threaded.
Get rid of ThreadedParser.
Don't move QTcpSocket instances, received by
QTcpServer::nextPendingConnection(), into another thread,
as docs says it's not safe.
Use wait condition for waiting for new data.
Don't potentially leak the Parser in loadXmlLogFile():
store a unique pointer to the running parser.
Introduce Parser::setData() method and use it with
QFile device in loadXmlLogFile().
Pass QAbstractSocket into the parser instead of
QIODevice and get rid of downcasting. The QIODevice
couldn't really work with non-socket and non-file devices
(like e.g. QProcess), as it lacks general error and finished
reporting signals (it has only general readyRead() signal).
Change-Id: I9352aec694564d4d2a26898841ed964bed470d82
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>