Commit Graph

88653 Commits

Author SHA1 Message Date
hjk
eb08ae9145 GenericProject: Dissolve plugin pimpl
Not needed anymore.

Change-Id: Ic14c4f2d5c8d34919665631272a4efd281899fc9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-22 07:27:42 +00:00
hjk
70d3c5b20b RemoteLinux: Move plugin class definition to .cpp
Change-Id: Iab0b0fc2d4d649486a3aa93594236e91d8144bb3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-22 07:21:48 +00:00
hjk
a3525a3d67 RemoteLinux: Move some deploment related stuff into extra file pair
Not necessary, but more uniform now.

Change-Id: I11d13958c554d2d647c0910a6c6dbd4cca781bf2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-22 07:21:38 +00:00
hjk
e0ad6041f0 RemoteLinux: Use new factory setup pattern for most factories
Change-Id: I667b879443d712054095c7bdbfe401014d41ac92
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-22 07:10:28 +00:00
hjk
4f97dc7090 Copilot: Move plugin class definition to .cpp
Change-Id: Ic21b150c08924a273c3d10a3b386fc7dcb9c8e1a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-22 07:10:09 +00:00
Christian Stenger
27055e4c39 CPlusPlus: Fix compile before Qt6.5
Amends 7475b073fb.

Change-Id: I59494fe485cdb40b3af089698edc895dc2dd4519
Reviewed-by: David Schulz <david.schulz@qt.io>
v12.0.0
2023-11-22 05:49:46 +00:00
Eike Ziller
0c6f71ef20 Change log for 12.0.0
Update contributor list

Change-Id: I83ed8fdc714f6be0fd4d77cc1ef3078e3ab5ced6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-11-21 21:50:34 +00:00
hjk
21beda0b77 GenericProject: Use new setup for build related classes
Change-Id: Ic11a48a5429efbf6f0e52e1b88f366a966ad91a7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 17:45:32 +00:00
Jarek Kobus
530119c2e3 PerfProfiler: Remove warnings
Remove warnings about unused arguments and [this] lambda captures.

Change-Id: Ic1ab0808008cf628a9114d4fcc7c38890f33d4dd
Reviewed-by: hjk <hjk@qt.io>
2023-11-21 17:35:09 +00:00
Aleksei German
1ed6674d1e QmlDesigner: Fix crash in QmlDesigner::TextEditor
Change-Id: Ic511e5812bbe015f90f88f947faa50bb3461ae38
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-11-21 17:34:53 +00:00
Henning Gruendl
f2eee58e00 ADS: Set default minimum size on empty dock widget
* Set a default minimum size on empty dock widgets. Dock widgets are
  empty if their content minimum size isEmpty (width or height <= 0)
* Replace 0 with nullptr as return value
* Fix some code formatting

Task-number: QDS-11255
Change-Id: Ifa7320fd57e73367f71087232dedd939d19ae490
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-21 17:34:06 +00:00
hjk
6b7d250744 PerfProfiler: Simplify StatisticView setup
Change-Id: Ie067025c1b9aec93c5f6a5baf68dbb616a066bcb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 17:31:04 +00:00
hjk
da0f308bea QmlProfiler: Use new setup for runworker
Change-Id: I3be81b59a0f9426909cd6dc3df2e0bacc8aea1be
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 17:22:46 +00:00
hjk
00e3c59981 Todo: Merge optionsdialog to settings file pair
First babystep towards aspectified settings.

Change-Id: I05647f758066acf132331b58b43979f114069140
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 17:09:02 +00:00
hjk
ea7de2ec51 PerfProfiler: Make PerfTimelineModelManager a standard singleton
Change-Id: I8356850a31949bcd6f1866e8e45f119b7a9ab094
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 16:50:43 +00:00
Serg Kryvonos
f890718ffd Git ignore Visual Studio CMake build directories
Change-Id: Ie6530d3b624c1df774b5fbd682be8a452a88f3b5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-11-21 16:49:20 +00:00
hjk
0e91fca8fd PerfProfiler: Make PerfProfilerTraceManager a standard singleton
Change-Id: I7d2c01b38e0ff2cf9b38271df3dc0a611383a1bd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 16:45:58 +00:00
hjk
ce99e7b748 PerfProfiler: Move PerfProfilerRunner class definition to .cpp
Change-Id: I0a0c2b83c221cffc8dfaef9a40bca6662f8bbcea
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 16:40:44 +00:00
hjk
86ef1476cb PerfProfiler: Use new setup for RunWorkerFactory
Change-Id: I2792828a2e924191f4f24f666b5a61390048a0ae
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 16:40:29 +00:00
Jarek Kobus
0a3d71cd36 TaskTree: Update docs to the recent API changes
Add new enum types.

Update done handlers.

Describe TaskAdapter's Deleter.

Replace Utils::ProcessTask and FileTransferTask, which are
specific to QtCreator, with QProcessTask and NetworkQueryTask,
which come with the TaskTree solution.

Remove the note about Storage not being reentrant, as currently
it is already reentrant.

Add reentrant marker to all classes.

Fix some example snippets.

Fixes: QTCREATORBUG-29834
Change-Id: I351447ffdbdd641239efd0320250d6a4a8b26f08
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-11-21 16:31:34 +00:00
Serg Kryvonos
77ff522d71 Allow TimerThreadData instance
MinGW1120_64 compatibility with C++20 on.

Change-Id: I40963e75e1b4e6afa8e9c873f57943539de16906
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 16:18:13 +00:00
Christian Kandeler
7475b073fb CPlusPlus: Fix finding end of raw string literal
The employed algorithm lacked proper backtracking, potentially causing us
to miss the delimiter altogether.

Change-Id: I7993c3c27d034925bd884e192779c85c54be9ec4
Reviewed-by: hjk <hjk@qt.io>
2023-11-21 16:00:09 +00:00
The Qt Project
ccc9010d26 Merge "Merge remote-tracking branch 'origin/12.0' into qds/dev" into qds/dev 2023-11-21 15:58:24 +00:00
Tim Jenssen
cdb6a5f291 Merge remote-tracking branch 'origin/12.0' into qds/dev
Change-Id: I6adb244f39b7d13377cdf377e95d11415603f8ac
2023-11-21 15:58:17 +00:00
Mahmoud Badri
ef6dfc1c76 QmlDesigner: Center the model editor's empty message
Change-Id: I2d26d2a89bdd822a4c9172bbe4b652be642a0d34
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-21 15:55:50 +00:00
Jarek Kobus
221d4ad563 BaseAnnotationHighlighter: Get rid of QTextDocument arg from c'tor
It's always nullptr.

Change-Id: Ia392b826f0afe8562b90b916722c374c5244d9aa
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 15:49:49 +00:00
hjk
10c37c1439 Vcpkg: Dissolve plugin pimple
... by using the new setup pattern for the manifest editor.

Change-Id: I9eed8481e7f8ca08af34cd3a04c9909cd56d3b6a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-21 15:47:22 +00:00
Artem Sokolovskii
84275809b4 SyntaxHighlighter: Make setChangeNumbers private function
Made setChangeNumbers private function in BaseAnnotationHighlighter
and remove usage in other places.
Moved annotationChanges to BaseAnnotationHighlighterPrivate from
VcsBaseEditorWidget.
This was done to move all instances of TextEditor::SyntaxHighlighter.
In this regards only the public API of TextEditor::SyntaxHighlighter
should be available from children and no other additional functions.

Change-Id: Ibece9476a810e13c8722839820d5c575b0808f03
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-21 15:27:08 +00:00
Sivert Krøvel
b298c981f8 Revert "McuSuport: Use qsTrId() instead of qsTr in QtMCUs templates"
The id based translation feature is not available on Qt for MCUs 2.5

This reverts commit 8f948c28a9.

Task-number: QTCREATORBUG-29940
Change-Id: I0a63e8738e2a0b92319ba53d8b1f1730f8421796
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
2023-11-21 15:18:33 +00:00
Yasser Grimes
d08bb59faf McuSupport: Reset invalid packages to default on update
When updating kits some packages will still have the cached value of the
outdated package resulting in failure on updated. although default paths
would have given the correct path.

This patch restore package values to the default value, in addition to
tracking changes in model-names that correspond to the same kit.

Fixes: QTCREATORBUG-29855
Change-Id: Iad52df93e1e39c7f56bdb30036ac21cda8cdf670
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 15:15:58 +00:00
Eike Ziller
6910408f35 Fix compiler warnings
"braces around scalar initializer" and
"lambda capture 'this' is not used"

Amends b60fd77fc1
Amends 181b362fcf

Change-Id: Ie7c21db13644e98c0eec06a22f977ed4b923fae3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-21 15:03:58 +00:00
Cristian Adam
1a37da15c7 Debugger: Add our lldb to the system search paths
This way the user doesn't have to manually register lldb.exe

Change-Id: Id0a19de0962d8ba47a66a8d1909dfe2eb5ca0a6f
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-21 14:38:33 +00:00
Christian Kandeler
116798e544 CppEditor/QmlJSTools: Simplify RefactoringFile::file() re-implementation
Change-Id: I8f2af8de3786ecf4400bc42019d496bd52bb2545
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-21 14:24:49 +00:00
David Schulz
06595222ff Python: fix commercial pyside installation
Change-Id: I6a89b9a9f32e07db91e67df248d94c78ae731455
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-21 14:03:13 +00:00
Miikka Heikkinen
fc456a74d4 EffectMaker: Fix crash after opening saved effect when nodes exist
Clear and removeAllNodes functions were consolidated into one clear()
function, which now properly resets the entire model. This makes UI
properly synced to actual model state when composition is opened, so
the phantom nodes will no longer appear.

Fixes: QDS-11347
Change-Id: I204760cca6af669daa43a18bfb199dfbf14b73cb
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-21 13:59:04 +00:00
Christian Stenger
9c07e7ea7c PE: Close generated files silently if they have an editor
Omits the original request whether to save a modified file
if the files are opened inside QC, but it ensures to format
the correct file content instead of using some cached
content.

Fixes: QTCREATORBUG-29904
Change-Id: I3b3f3e53fb811288a208376559243bea01d0d4a4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 13:58:49 +00:00
Christian Stenger
7125862212 Add some include guards
Change-Id: If306f95f206e2b1cba48df806c822b8e2d27cf72
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 13:58:36 +00:00
hjk
7e38745706 Qnx: Re-order code a bit
Change-Id: Id2da2bdc67edd1abcc489767392aa791c7b0f667
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-21 13:57:08 +00:00
The Qt Project
5fc4751736 Merge "Merge remote-tracking branch 'origin/12.0'" 2023-11-21 13:56:30 +00:00
Tim Jenssen
701d4b2146 QmlDesigner: fix crash
Task-number: QDS-11300
Change-Id: I1fe6966445284e3e9ca5596d8f5ec866f37acc39
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-11-21 13:51:56 +00:00
Eike Ziller
c75a3bcd5d Merge remote-tracking branch 'origin/12.0'
Change-Id: I0ee9c73d7a7e12f98f88b161c35d00ada069cc9d
2023-11-21 14:46:01 +01:00
David Schulz
72a8e2e644 Python: fix pdb debugging
The pdb engine is created in the DebuggerRunTool constructor so we
cannot unconditionally overwrite the engine in DebuggerRunTool::start.

Amends 9af8ecd935

Change-Id: I0c3c88d14235bfb01543da788a7bb5e7e99018d3
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2023-11-21 13:43:24 +00:00
hjk
b9a0481a0d HelloWorld: Use ActionBuilder
Change-Id: I2e0c9de2293640712669c273e3b307ac95340fd6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 13:39:13 +00:00
hjk
08bf118624 Qnx: Move QnxSettingsPage to new scheme
Change-Id: I96287f7dc2b0d12f85164c137d1f1e6701ce468e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-21 13:38:31 +00:00
Serg Kryvonos
8608dc9556 Use "Ninja Multi-Config" generator by default in configurePresets
Multi-Config generators have additional library dependencies checks.
Xcode and MSbuild are multi-config generators too.
We need to make sure it kept configurable.

Change-Id: I571e718bc71ffc3920f07d15a956e9153d74b0a5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-11-21 12:14:50 +00:00
Miikka Heikkinen
77678c7bce EffectMaker: Add clear all nodes button
Fixes: QDS-11335
Change-Id: I5d0e0e11baabe780c19234410814a9f6eb45130d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-21 11:36:23 +00:00
Henning Gruendl
659772baa4 QmlDesigner: Fix navigator column width
Fix the navigators column width for Qt 6.5.4 and at the same time make
the icon columns tighter.

Task-number: QDS-11314
Change-Id: I87397eca104e4bfb835090229672e2d3d42dee6e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-11-21 10:28:27 +00:00
hjk
96dcd41d41 GenericProject: Use new setup pattern for ProjectFilesFactory
Change-Id: If5d64a8d6b09fbd3ceaea1736ce74ba2c837a456
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-21 10:19:48 +00:00
Tor Arne Vestbø
4f9cf826d6 Detect iOS 17 device development status via devicectl
iOS 17 devices no longer report the development status via
the com.apple.xcode.developerdomain domain.

Task-number: QTCREATORBUG-29682
Change-Id: I9de3c88425b71906f51d0f0e8b6a4ece0e08eb3a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 09:55:55 +00:00
Ali Kianian
54c9a38baa QmlDesigner: Fix the build error for CollectionImportTools
Change-Id: I946df14af3e4425203ea7ea04807205442c3119d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-21 09:54:10 +00:00