Commit Graph

84931 Commits

Author SHA1 Message Date
Jarek Kobus
a56ed10c53 TaskTree: Add docs for List element
Change-Id: Iba859b1a1ff424f55d3fe0c7785de61c36d1418f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-11-22 13:27:52 +00:00
hjk
bf373f7e41 ProjectExplorer: Use new setup pattern for gcc related toolchains
Change-Id: I8b00f126a0824e5ec3b2ef3e63fdef41cd8917a1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-22 13:26:32 +00:00
Jarek Kobus
8f0dc9d531 TaskTree: Update docs for Storage renamings
This addresses the 20th point in the master task below.

Task-number: QTCREATORBUG-28741
Change-Id: I7c6d1d6069b10a2afbfc6569f27b48929a417fb1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-11-22 13:06:50 +00:00
Christian Stenger
8a2ea1f63b PE: Fix determining whether to use file missing overlay
Amends d92043e69c.

Change-Id: I2d71c06fcce1b469b5dedd799a50c4dde19ab341
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-22 12:29:55 +00:00
hjk
b49f847576 PerfProfiler: Use new setup for PerfRunConfigurationAspect
Change-Id: Ib249fecdaeeec8c6fa3c24ae02563023ab7c749b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 12:29:32 +00:00
hjk
c11e1002b9 PerfProfiler: Use new setup for PerfProfilerTool and the plugin itself
Change-Id: I6f732c631b7ad5edeb34961ff90d9db40fbd49c4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 12:29:18 +00:00
hjk
209c386e60 QmlProfiler: Dissolve plugin pimpl
... by using the new setup for QmlProfilerTool.

Also, move the class definition to the .cpp.

Change-Id: I3bc93f4960823914da9820fb2cb18de44f1c60c2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 11:27:00 +00:00
Christian Kandeler
db71c461de TextEditor: Remove unneeded RefactoringFile::setFilePath()
Change-Id: Ia44642191259b83539c093d04921317b6155fdee
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-11-22 09:39:04 +00:00
hjk
27084b1884 ScxmlEditor: Rename scxmleditorfactory.h and scxmleditordata.cpp
... to scxmleditor.h and scxmleditor.cpp so it looks like a normal
file pair again.

Change-Id: I5be9d78cf39cba2a04525aca79e36b8283f08870
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 08:25:58 +00:00
hjk
69b96ff7d2 ScxmlEditor: Merge editor factory and data files
Currently scxmleditordata.cpp and scxmleditorfactory.h are used to
keep the diff small, these will be renamed immediately.

Change-Id: I4d4878b7eb2f52fb5f326bde33badd7e31305336
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 08:25:48 +00:00
hjk
db301c1bce ScxmlEditor: Use new setup for ScxmlEditorFactory
Change-Id: Iabb25fb8b6cf774631eb5b910532b892321e3cea
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-11-22 08:25:34 +00:00
Eike Ziller
36d00b8a55 FakeVim: Test build without tests
Undefined symbols: FakeVim::Internal::createFakeVimTester

Change-Id: I2acaeaeb6a3be84ecc95415cd6f20296c4913786
Reviewed-by: hjk <hjk@qt.io>
2023-11-22 07:43:23 +00:00
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
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
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
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
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