Jarek Kobus
b6a6480084
LookupContext: Replace QSharedPointer with std::shared_ptr
...
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.
Change-Id: Ia7ec4b427c5971d6bd375659b291a9aad2ead253
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2024-02-06 11:03:16 +00:00
hjk
a1cc8551cc
Core: Add a ActionBuilder::bindCommmand()
...
Useful for unnamed action builders that want to give access to their
command to outsiders.
Change-Id: I71ba40776eee1d2eaeeded7c2b912c8e1d07f466
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-02-06 10:24:45 +00:00
Eike Ziller
91fa962647
Merge remote-tracking branch 'origin/13.0'
...
Change-Id: I93b7f87dee16a6897193f3cd2acbe7e1f03ec6a8
2024-02-06 10:14:09 +01:00
Jarek Kobus
8bcc78a044
Various plugins: Fix some more C++20 warnings about [=] captures
...
Change-Id: If20aac4320c84096a07d67cc137886638286acf8
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2024-02-06 08:34:44 +00:00
Robert Löhning
a0bd498b31
SquishTests: Explicitly require needed tools
...
Change-Id: I3682a01e97495ad8bc53f7cca033f91c9e0df8b5
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
v12.0.2
2024-02-06 08:07:44 +00:00
Eike Ziller
226f8915b7
Add change log for 12.0.2
...
Change-Id: Ie2d8ac4f196fe28031bbd8341994b7bd84af55b7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2024-02-05 19:13:45 +00:00
Andre Hartmann
97e582c3c0
Git: BranchView: No "Add..." action for remote branches
...
It has been wrong forever, but it just doesn't make
sense to have an add action for remote branches.
Change-Id: Ia9a96d85f95821f27215e0a172435f38abcd685f
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2024-02-05 17:27:14 +00:00
hjk
fb609817bf
CppEditor: Move some factory class definitions to .cpp
...
Change-Id: Icceae7f93ac52fe371813608ecec0de1feed317b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2024-02-05 17:08:43 +00:00
Jarek Kobus
6744c1e69c
FunctionDeclDefLinkFinder: Replace QSharedPointer with std::shared_ptr
...
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.
Change-Id: I41b753f52d06bb35988d1a57478e06daaec04f31
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2024-02-05 16:57:28 +00:00
Jarek Kobus
2f81936218
CppElementEvaluator: Remove not very useful method
...
Change-Id: I73545f6366e0f8ca856e15dc4ea28603351a93f1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 16:57:21 +00:00
Jarek Kobus
90c227b034
CppElementEvaluator: Replace QSharedPointer with std::shared_ptr
...
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.
Change-Id: Id82e0908f4084e06531bba47f4f17138e5878f3e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 16:40:14 +00:00
Andre Hartmann
d3385ebb65
Git: Branchmodel: Fix fetching all remotes at once
...
We want to return an empty string when "Remote Branches"
is selected, instead of an empty optional.
Broken by 224e4eeb59
Change-Id: I5af06fafec48910226fdedf4a15079444cc54b6e
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2024-02-05 16:37:59 +00:00
Knud Dollereder
8b97598011
QmlProjectManager: Add new cmake generator
...
Automatic cmake generation can now be enabled by setting
the qmlproject property enableCMakeGeneration to true
Change-Id: I98523a9479d0cd812e43a9bd0b700120358260f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io >
2024-02-05 16:21:24 +00:00
Marcus Tillmanns
78d42d2d54
IOS: Don't save default values needlessly
...
Change-Id: I127ee409f6bb0011704fcb08ef720a71fd084a16
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 15:28:36 +00:00
Jarek Kobus
813961babb
ProgressManager: Replace QMap with QHash
...
The key is a pointer, so use QHash.
Simplify some lookups.
Change-Id: I58245193e9a94bca0629cced057ba1465214d812
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-02-05 15:22:12 +00:00
Jarek Kobus
dc0a1bd3f3
DocumentModel: Replace QMap with QHash
...
The key is a pointer, so use QHash.
Change-Id: I95de27642be2b1b595247def9c800f1e349eca62
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-02-05 15:22:01 +00:00
hjk
705dba388f
Core: Simplify Cycle Mode Selector Styles action setup
...
... and remove unused m_saveAllAction member.
Change-Id: If6ebb448b68c5ed776b9ed7eda872321723cc48f
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-02-05 15:19:06 +00:00
Eike Ziller
727de45687
FancyLineEdit: Fix too large icons
...
When we ask QIcon for a pixmap, we should afterwards respect the
resulting pixmap's devicePixelRatio, regardless of what we requested.
Task-number: QTBUG-121764
Change-Id: I289823f7d1a5ae1e341a78cc7ce3ff897be092f3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2024-02-05 15:18:38 +00:00
Ali Kianian
c58efc4310
QmlDesigner: Implement new data store structure for Model Editor
...
Task-number: QDS-11778
Change-Id: Ia98fee976e5d81acc608b6209da270cbee2f9c61
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2024-02-05 15:15:11 +00:00
Jarek Kobus
9eca0b7c5b
TaskTree: Remove unneeded nullptr from RuntimeTask's initializer list
...
Get rid of Q_DISABLE_COPY, as copy c'tor is implicitly deleted
anyway because of std::unique_ptr<> field.
This should fix the issue when compiling against C++20,
where the aggregate initialization is disabled for classes that
declare any c'tor, including "= default" or "= delete" declarations.
Change-Id: I9b08fd9c35ce91f8e7368995105f04b98f010c07
Reviewed-by: hjk <hjk@qt.io >
2024-02-05 14:34:13 +00:00
hjk
324d0f7271
Git: Also show binary path in the settings
...
More similar to svn, cc, bzr, and Gives the user a chance to specify
something different. Plan is to make this also work with remote setups
[and possibly a per-device option, or automatism]
Change-Id: I18c1a90642c9cbe2ef9419103f3919c4a19122e5
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2024-02-05 14:19:08 +00:00
Miikka Heikkinen
ca9e72fe6c
EffectComposer: Delete obsolete resource files at effect save
...
If a new version of same effect is saved, remove files that are
no longer part of the effect from the effect import dir after the save.
Fixes: QDS-11737
Change-Id: Iae4da39f9f4713c2e26f1b90263881c8c9e13d78
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2024-02-05 13:41:21 +00:00
hjk
89896698fe
Debugger: Drop explicit (re-)expansions that are done by aspects now
...
Change-Id: Iae7d07db09642614620cc80658e08a7e900b57aa
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 12:08:17 +00:00
hjk
d6e7290df8
Utils: Expand strings in StringAspect
...
When needed. Take a short cut on empty strings which can't have macros.
Change-Id: Icc2fb8f001da6be7a9dfec73951d9ac14d2f356f
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 12:08:01 +00:00
Dominik Holland
943d5bb208
RemoteLinux: Add a fallback option when killing the process group
...
Using the pid as the process group only works when the process created
it's own process group, which depends how it was started.
If no matching process group exists, kill returns with an error code
and we can try to kill the process itself using its pid instead.
Change-Id: I3ef775458edfb06c02b4445e079badd3ade691a6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 12:06:26 +00:00
Dominik Holland
6112bbd990
SshProcessInterface: Fix sending control signals
...
For QDB devices make sure to only use `appcontroller --stop` when the
process was also started with the appcontroller.
Otherwise fall back to the SshProcessInterface implementation.
Change-Id: I482f7ac9783f57eb8d85bb2b536ff00d428a2c3f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2024-02-05 12:06:06 +00:00
Teea Poldsam
9201491292
Doc: Update the image for 3D models
...
Updated the image for 3D models and added "sphere" in description
text.
Task-number: QDS-11888
Change-Id: Iab917dea2baff548140751a095325494791a8bdf
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2024-02-05 11:54:01 +00:00
hjk
4b7b04cb73
CppEditor: Move some items from cpptoolsettings to cppeditoroutline
...
These are only used once.
Change-Id: I7b6ca19ba1ef483d1e4cae34661e7d78e72eff67
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2024-02-05 10:53:42 +00:00
Christian Kandeler
05d9e50aff
ProjectExplorer: Check full ABI, not just word width
...
... when choosing the default MSVC for clang-cl.
Fixes: QTCREATORBUG-30060
Change-Id: I59c4e7dbf227596cbd57c5421eb5a3da7a16c0a0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2024-02-05 10:44:13 +00:00
Eike Ziller
220237d029
Merge remote-tracking branch 'origin/12.0' into 13.0
...
Conflicts:
src/plugins/ios/iosdevice.cpp
src/plugins/texteditor/bookmarkmanager.cpp
Change-Id: I92931f29c3992054dac84dbfa2dfc0c1bfb31430
2024-02-05 10:52:42 +01:00
hjk
b5b87cbd12
CompilationDataManager: Fix position of main action in menu
...
Amends 56f9493445 .
Change-Id: Ia00f25dab559422500b1287643cce7a7a6730ee4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2024-02-05 09:12:17 +00:00
hjk
9762f779e1
Debugger: Re-use state updating code on short cut paths
...
Change-Id: I37ff47f4d9238abfc58929a9a2e7bd7e8a90385f
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 09:08:06 +00:00
David Schulz
76e102a711
TextEditor: replace iterator loop with algorithm
...
increases the readability...
Change-Id: I70873cca2e27e949525d0e7e4f29481f7e9eb133
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 09:05:53 +00:00
Jarek Kobus
554f68b573
DeviceUsedPortsGatherer: Introduce done() signal
...
And get rid of error() and portListReady() signals.
Inline some internals to have a better overview on what's happening.
Change-Id: Ie8f0afc97b3315600a7fb2076208ba057aa041fa
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 08:58:08 +00:00
Jarek Kobus
f2dbd28165
CircularClipboard: Replace QSharedPointer with std::shared_ptr
...
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.
Change-Id: I3ec37f65318fe1e41f6daf98238a543f85293c48
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2024-02-05 08:54:31 +00:00
hjk
ca2a4f771f
Python: Remove pluginInstance() and convert users
...
Change-Id: I43179961cdee855b710fc082568a7d0d9a0f0719
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 08:54:23 +00:00
Jarek Kobus
f589ed7f1e
Diagnostics: Remove unused header
...
Change-Id: I3e185a16211d5531c89b068cf0ab5ef93e40d6e0
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 08:53:50 +00:00
David Schulz
a45f058a37
TextEditor: Assert on nullptr bookmarks passed to gotoBookmark
...
Task-number: QTCREATORBUG-30283
Change-Id: I1c49e57bbde098c1dda949d15d03d27349b9ce69
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2024-02-05 08:53:43 +00:00
Jarek Kobus
b0a0019beb
Axivion: Remove axivionresultparser.{cpp,h}
...
Rename ShortIssue into Issue and move it to axivionplugin.cpp.
Change-Id: I07a43d7ade7a06560ad130cabcf6933cd36c67e0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:52:14 +00:00
Jarek Kobus
3334dfcf53
Axivion: Fix showing marks on project opening
...
Inside a slot connected to startupProjectChanged()
connect to Project::fileListChanged() instead of connecting
to ProjectManager::projectFinishedParsing().
Change-Id: I41059ae24138e79747eada1380c5970fbe30b666
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 08:52:09 +00:00
Jarek Kobus
ffcef524a6
Axivion: Use ProjectExplorer namespace
...
Change-Id: I78172705c07a14cd4f9adf92e240c3d99b894b2d
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:52:02 +00:00
Jarek Kobus
d21c550daa
Axivion: Get rid of unused Project class
...
Change-Id: Id000528f1dc99ffc569ae5f37880b0441843d6a6
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:57 +00:00
Jarek Kobus
a87fcb9ff0
Axivion: Use ref when iterating
...
Change-Id: I2fb674435141d1280bf6f36fbd1046ec69001dbc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:51 +00:00
Jarek Kobus
5f18fb6a2f
Axivion: Use TextEditor namespace
...
Change-Id: I898f2fb400c2aeba6319b1f350e7a1d8d2dfa15c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:43 +00:00
Jarek Kobus
547dc01b87
Axivion: Inline AxivionTextMark
...
Change-Id: I2f20e8644587bd92db814588c14c14b41a8eeba0
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:38 +00:00
Jarek Kobus
daedaf3d1c
Axivion: Don't store issue id inside AxivionTextMark
...
Pass it directly to internal lambdas instead.
Change-Id: I2f09004c0fe005e47610a054e308ded19619c438
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:32 +00:00
Jarek Kobus
6dc54d5506
Axivion: Remove curl setting
...
Change-Id: Ib0405584dc14a9404958a5afd41748c8904a534b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:26 +00:00
Jarek Kobus
391fd0daed
Axivion: Remove AxivionQuery
...
Not needed anymore.
Change-Id: Ieaf25e3ff3291a6d233ce4542c1ec55a0a97e7b3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:51:05 +00:00
Jarek Kobus
6319cb64fe
Axivion: Fix html content with the issue info
...
Cut the unwanted content of the html received from the server.
Change-Id: If8d679282f4a4fafd3c2ab343c37e4774054f1b0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2024-02-05 08:50:57 +00:00
Jarek Kobus
f2f5c4346e
Axivion: Use task tree for fetching issue info
...
Change-Id: Ie44f5ea2b076742905d93ee2172b8bcd6bf65897
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-02-05 08:50:49 +00:00