Lucie Gérard
a7956df3ca
Use SPDX license identifiers
...
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-08-26 12:27:18 +00:00
Jarek Kobus
d1284e9101
Move createInitialCheckoutCommand() out from core plugin
...
Change-Id: I99f4795822838ac084d0d6823db96e5864e0dcdf
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-08-01 15:19:58 +00:00
Jarek Kobus
60302debd7
Move ShellCommand into VcsBase plugin
...
Rename it to VcsCommand. Move also ShellCommandPage into
VcsBase plugin.
Change-Id: I335ac47e3090f2be497643ebcda0eaad2987ac81
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-08-01 14:33:06 +00:00
Eike Ziller
d62d0f305b
Merge remote-tracking branch 'origin/6.0'
...
Change-Id: I71b19dd8ecd96a7a2a58622f68283b8635264e48
2021-12-01 09:24:05 +01:00
Topi Reinio
92984571fe
Doc: Fix documentation warnings in Extending Qt Creator Manual
...
Change-Id: Ic9b1644328e10e147c7f08563b8394418a7d7581
Reviewed-by: hjk <hjk@qt.io >
2021-11-25 18:13:51 +00:00
hjk
0781379345
Core: Use FilePaths in IVersionControl::additionalToolsPath()
...
Change-Id: I3c7d03b8695152f0830e809ce7a0709f48d8178b
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2021-11-11 12:19:27 +00:00
hjk
edcedabed9
Vcs: Use FilePath in IVersionControl API
...
Adapt first level of users.
Change-Id: Ifcd7bff45631ff3b9e26a9e3176daa6cf0cf2e56
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2021-07-29 13:20:23 +00:00
Orgad Shaneh
48c56416f5
Git: Do not prompt to add files in a submodule
...
Fixes: QTCREATORBUG-23845
Change-Id: Ibf20eed26469b5a8599927e5ac2d458bbff9a156
Reviewed-by: André Hartmann <aha_1980@gmx.de >
2020-10-04 17:06:23 +00:00
Orgad Shaneh
92a4c0d38a
VCS: Pass links to the correct VCS
...
Current implementation requires each VCS to connect to the referenceClicked
signal. Only Git does it, but this is conceptually wrong. If other VCSs
would connect to the same signal, all of them will act upon clicking a
link, which can result in multiple editors, most of them are likely to be
invalid anyway.
By default executes vcsDescribe. Can be extended or modified by subclasses.
Change-Id: Ib953009efd77446a4b2963f0aa8a2f3f3d26509f
Reviewed-by: Artur Shepilko <artur.shepilko@nomadbyte.com >
Reviewed-by: André Hartmann <aha_1980@gmx.de >
2020-06-21 06:47:20 +00:00
Eike Ziller
fa16071ca8
Fix "Header" documentation in Core plugin
...
Change-Id: If3cbe51b47a3acba32429894dfb5154cd573967d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2020-06-15 07:55:39 +00:00
Topi Reinio
595085cb71
Doc: Fix more documentation warnings for Extending Qt Creator Manual
...
Change-Id: I3ba4e6d2f6cfa2c05c0ee7af6db70dcbb80ae725
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2020-03-25 11:23:19 +00:00
Orgad Shaneh
ba87fb2083
Git: Add actions for changes in output window context menu
...
Change-Id: I5aa46f87b82670286ac225d71a3a045133976e86
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: André Hartmann <aha_1980@gmx.de >
2020-02-28 09:53:51 +00:00
hjk
ac9d05013e
Core: IVersionControl: Introduce a setTopicCache
...
More flexible than passing in the constructor.
Change-Id: I7bb5b3fe02682e01ebbce246de547686ff871920
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2020-01-31 08:29:35 +00:00
hjk
f5d4b65931
Vcs: Dissolve VcsManager::registerVersionControl
...
It's a somewhat unusual pattern, spelling it out will help
to move the vcs plugins setup closer to the now-usual pattern.
Change-Id: Ie7b70e52d75e34cd36b6a1d55ca868e3edab44a7
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2020-01-22 11:32:04 +00:00
Christian Kandeler
bb5727de17
Vcs: Introduce IVersionControl::unmanagedFiles()
...
... and use it in VcsManager::promptToAdd().
This is purely a refactoring. The different IVersionControl subclasses
can (and should) override the naive base class implementation in the
future.
Change-Id: Ifdf49852a98f53a95dad1a89131243b21052bc66
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2019-11-14 12:55:35 +00:00
Christian Kandeler
df8ef72aec
Wizards: Do some input validation on repository URLs
...
Fixes: QTCREATORBUG-18935
Change-Id: Ie2103cbe2899ea23caaedd4a6350c78b5f380ab9
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: André Hartmann <aha_1980@gmx.de >
2019-07-26 10:41:03 +00:00
hjk
251287f0d3
Avoid warning on empty expressions
...
For some reason, Q_UNUSED includes already a semicolon, adding one
on the user side creates an additional empty statement.
Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-07-23 11:55:59 +00:00
hjk
473a741c9f
Utils: Rename FileName to FilePath
...
More in line with QFileInfo terminonlogy which appears to be
best-of-breed within Qt.
Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2019-05-28 12:23:26 +00:00
Alessandro Portale
f36f04deba
Core: Modernize
...
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init (partially)
Change-Id: Idf10d7ffb1d98a04edc09a25c35e4e9e3abe87b5
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2018-08-08 16:04:21 +00:00
Tobias Hunger
74c1ebdcaa
VcsManager: Simplify usage of clearVersionControlCache
...
Change-Id: Iaf2f65da31a33979c30e63c29a706a568cc5fd1c
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2017-07-10 08:21:42 +00:00
Tobias Hunger
397e7f4843
Update License according to agreement with Free Qt Foundation
...
* Update files in src/plugins
Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:57:01 +00:00
Tobias Hunger
75f067550f
IVersionControl: Add method to get a ShellCommand for initial checkouts
...
Change-Id: Iabc056dad186d788003b221afb34303c37fef728
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2015-05-11 11:51:53 +00:00
Tobias Hunger
fb6d7ce91b
Remove some duplicate includes
...
Change-Id: If7bae084cd34c6fb0fe77f9227d9848517c0e691
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-03-20 14:45:04 +00:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Tobias Hunger
1b83666d31
IVcsControl: Add additionalToolsPath()
...
Add a method for a VCS to tell creator where it installed additional
tools that it came with. This is useful for e.g. git on windows
which ships with a nice bunch of unix tools.
Change-Id: Ibc5f2fb57307bfadad140bd57d83917e56d57153
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2014-03-05 14:00:21 +01:00
Orgad Shaneh
ba08dd3937
IVersionControl: Fix documentation
...
Change-Id: I35544e872503e5c32307101d3483293241d29a5d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
2014-02-19 14:52:16 +01:00
Orgad Shaneh
cd48c5e513
IVersionControl: Implement topic cache in the base class
...
Derivatives need to derive TopicCache, implement its pure virtual
functions and pass it in IVersionControl's constructor.
Change-Id: I3a904c84541fda95eee75296f86441c4bae55d79
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-19 09:25:31 +01:00
Eike Ziller
236ea9efb9
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
share/qtcreator/debugger/dumper.cpp
share/qtcreator/debugger/dumper_p.h
share/qtcreator/debugger/test/main.cpp
src/plugins/debugger/gdb/classicgdbengine.cpp
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/debugger/lldblib/guest/lldbengineguest.cpp
src/plugins/debugger/lldblib/guest/lldbengineguest.h
src/plugins/debugger/lldblib/guest/main.cpp
src/plugins/debugger/lldblib/ipcengineguest.cpp
src/plugins/debugger/lldblib/ipcengineguest.h
src/plugins/debugger/lldblib/ipcenginehost.cpp
src/plugins/debugger/lldblib/ipcenginehost.h
src/plugins/debugger/lldblib/lldbenginehost.cpp
src/plugins/debugger/lldblib/lldboptionspage.cpp
src/plugins/qbsprojectmanager/qbsstep.cpp
src/plugins/qbsprojectmanager/qbsstep.h
src/plugins/qmlprofiler/canvas/qdeclarativecanvas.cpp
src/plugins/qmlprofiler/canvas/qdeclarativecanvas_p.h
src/plugins/qmlprofiler/canvas/qdeclarativecontext2d.cpp
src/plugins/qmlprofiler/canvas/qdeclarativecontext2d_p.h
src/plugins/qmlprofiler/canvas/qmlprofilercanvas.cpp
src/plugins/qnx/blackberrycheckdevmodestep.cpp
src/plugins/qtsupport/debugginghelper.cpp
Change-Id: Ie9fd0a885fb6264a6a8a72daee071b75bcbd2e9d
2014-01-08 11:01:06 +01:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Tobias Hunger
f82b12e36c
VcsManager: Add unit tests
...
Add some unit tests to the VcsManager to test the detection and
caching of version control systems.
Change-Id: I2b3f9218c12aebde8a8120fc869efc76c36ae41a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-12-10 16:31:45 +01:00
Knut Petter Svendsen
16b4c2e032
ClearCase: Handle read-only view private files
...
View private files have state NotManaged. In the corner case
where a NotManaged file is read-only they should be made
writeable by the ReadOnlyFilesDialog, and not vcsOpen()-ed.
Change-Id: Icfeab6bebb76cc01da693b3bfff7b46c45b106b4
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-11-13 15:31:31 +01:00
Knut Petter Svendsen
0d3b54f410
ClearCase: Don't show Hijack button for dynamic view
...
The Hijack button (makeWriteableButton) should only
be shown for snapshot views.
Change-Id: I809981885d18b6057d82f73b5104b0f1041cd255
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-11 14:18:51 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Mathias Hasselmann
fd6d0d8c29
ProjectExplorer: Show VCS topic in tree
...
Topic is usually the current branch name
Change-Id: Id6ecc48744a5b3d9c7502b36b4895eb18d0ff0c6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2012-11-16 14:11:08 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Orgad Shaneh
1faea8a0b3
Read-only file dialog: Use VCS terms if applicable
...
Also add keyboard accelerators
Change-Id: Icea8af6af7e5d94623ba7782c375977bbab17f22
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-09-04 16:02:23 +02:00