aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clearcase
Commit message (Collapse)AuthorAgeFilesLines
* Utils: Rename FileName to FilePathhjk2019-05-283-6/+6
| | | | | | | | 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>
* Translations: Do not translate *.mimetypes.xml filesTobias Hunger2019-05-231-7/+0
| | | | | | | There are no such files anymore. Change-Id: I9e5a744f3cb5d5bc8000fc5c8da202302fff50d8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Qt Creator CMake portCristian Adam2019-05-171-0/+18
| | | | | | | | | | | | | | Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Replace static_casts by QOverload where possiblehjk2019-02-261-3/+3
| | | | | | | | | Mainly to get rid of the QProcess::finished deprecation warning. Also adjust coding style in the surrounding connects when needed. Change-Id: I12f9b248c7974b892c4a069356e578e80f8c59e9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.8'Eike Ziller2018-11-191-1/+1
|\ | | | | | | | | | | | | Conflicts: src/plugins/winrt/winrtdevicefactory.cpp Change-Id: I33b8697e2ebf2bea051d7f1144449e0743ee16a5
| * Remove unneeded member initializersOrgad Shaneh2018-11-121-1/+1
| | | | | | | | | | Change-Id: Ie68b15079d93c48c5027871743c88d9e051e3fbe Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | VCS: Improve dialog on submit promptOrgad Shaneh2018-11-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | The dialog appears when closing the commit dialog without committing, or when "prompt to submit" setting is enabled. Fixes: QTCREATORBUG-18799 Change-Id: I8eb20becbcee7281b9f673a35ec698c6f8e04a40 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* | ClearCase: ModernizeAlessandro Portale2018-11-056-8/+9
|/ | | | | | | | modernize-use-using Turn a parameter of ClearCaseSync::updateTotalFilesCount into a &. Change-Id: I1ee95b64374c77abb228e586544c8675ec74433a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/master' into 4.8Eike Ziller2018-09-251-3/+6
|\ | | | | | | Change-Id: Ic7fc44a9533d5d5abd384ff1185ec10811912314
| * ClearCase: Pass dialogParent where neededOrgad Shaneh2018-09-221-3/+6
| | | | | | | | | | Change-Id: I5f2de5191472fc0414fc5aa7074ad5e8e8251db1 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* | ExtensionSystem: Relax platform regexp matchingOrgad Shaneh2018-09-251-1/+1
|/ | | | | | | | Match anywhere, not only exact matches. Change-Id: I3f530e9ee796250252108f835f7435c57f8d516b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ClearCase: ModernizeOrgad Shaneh2018-09-204-27/+28
| | | | | | | override, auto, nullptr Change-Id: I07ba03d44e2560797cc496acc96b57b41703320c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* VCS: Consolidate submit editor actions setupOrgad Shaneh2018-08-283-26/+2
| | | | | Change-Id: I36754779b6a9aa35de705b368daf8c2a1de058c6 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* VCS: Capitalize commitDisplayNameOrgad Shaneh2018-08-281-1/+1
| | | | | | | | To be used by the submit editor. Change-Id: I73fc13abfd37f207d92669c1893b7edda35ed1e4 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* VCS: Unify default and maximum timeout in all setting pagesOrgad Shaneh2018-06-191-0/+3
| | | | | | | Task-number: QTCREATORBUG-16009 Change-Id: Ibbaaef441ac2dc0147af2bc0631e0b0d98b4f57d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Vcs/Text search: Remove a few addAutoReleaseObject useshjk2018-02-063-8/+8
| | | | | | | Using a QObject parent suffices here. Change-Id: I4dc5448511d55bf14fbd8f810e91336a49e94094 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Core: make useMacShortcut constexprDavid Schulz2018-02-021-9/+9
| | | | | Change-Id: I293b96428784b6efecac6dae4f2f9690af0027da Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Move HTML out of translated stringsRobert Loehning2018-01-241-3/+4
| | | | | | | | Change-Id: I4664427086619f33e9a882eb3f0a5f2f52e1b42a Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Project: Make Project::files return a FileNameListTobias Hunger2017-12-081-1/+1
| | | | | Change-Id: I75ceb22ac65b8288d824f229d44089cba6fc8ea3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ClearCase: Clean forward declarationLaurent Montel2017-09-251-2/+0
| | | | | Change-Id: I1b54d3e4eeeb301c0ce06086b5f14d2efc510525 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ClearCase: Don't try reading when file cannot be openedRobert Loehning2017-09-181-3/+5
| | | | | | Change-Id: Id403f9ed58fb624aef7f6d54607e19a5dd057fd5 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* VCS: Offer to save-all before commitTobias Hunger2017-09-122-0/+9
| | | | | | Task-number: QTCREATORBUG-3857 Change-Id: I3ff3d90803eec4134b9da4af5567753ad7bffafb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.4'Orgad Shaneh2017-08-301-1/+1
|\ | | | | | | Change-Id: I9ab2c68d2bd07b0dd89051a2f5f6fa51676d8594
| * Fix more copyright years in pluginsEike Ziller2017-08-291-1/+1
| | | | | | | | | | | | Change-Id: I44845b3cc6f393e76a2f3ff5f166c6170c4eff56 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Merge remote-tracking branch 'origin/4.4'Eike Ziller2017-07-282-3/+3
|\| | | | | | | | | | | | | | | | | Conflicts: qbs/modules/qtc/qtc.qbs qtcreator.pri src/plugins/qbsprojectmanager/qbsproject.h Change-Id: I6b9cdf704be95ade02488c8b19582b6621282fb8
| * ClearCase: Fix UI text to follow guidelinesLeena Miettinen2017-07-282-3/+3
| | | | | | | | | | | | Change-Id: Ida47885f58aa0a219ad9eef5aa670a643c58744e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Merge remote-tracking branch 'origin/4.4'Eike Ziller2017-07-251-9/+9
|\| | | | | | | | | | | | | Conflicts: qtcreator.pri Change-Id: If5f4a9821a23ac0df81eb84b3980f9cf7ecd70ba
| * Plugins: Fix that mimetype definition was not valid JSONEike Ziller2017-07-251-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | JSON officially does not support multiline strings, so we should use the same mechanism that we already use for the plugin description (i.e. additionally support arrays of strings which are interpreted as lines). This just happens to work because Qt's JSON parser eats it without choking. Change-Id: I25ef04600b209775c5a7af916c687fda4a8b1a4d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | VcsManager: Register IVersionControls with VcsManagerTobias Hunger2017-07-101-1/+1
| | | | | | | | | | | | | | Get some more objects out of the pool. Change-Id: Id93021b712307c4777dc39b9d15aa18a46318885 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | VcsManager: Simplify usage of clearVersionControlCacheTobias Hunger2017-07-101-1/+1
|/ | | | | Change-Id: Iaf2f65da31a33979c30e63c29a706a568cc5fd1c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ClearCase: Make sure m_cmbActivity is initializedTobias Hunger2017-06-061-2/+2
| | | | | | | | | Make sure m_cmbActivity is initialized, even when bombing out via the QTC_ASSERT at the top of the constructor. This will fix a coverity warning. Change-Id: Ib5a68d8f5516ccee71c4dabc9c216092dd9c025a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ClearCase: Disable by defaultOrgad Shaneh2017-05-241-0/+1
| | | | | | | | | | * CC is a dead system. * The test each time a file in a new directory is opened to see if it's managed by CC is extremely slow (it invokes a process). Change-Id: I7c578a401a4757b0701146e11da60ac9c5f27ae1 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Use QFileInfo::exists(...) which is faster that QFileInfo(..).existsMontel Laurent2017-04-142-3/+3
| | | | | Change-Id: I0d2e61d84c74e60ef4f54074a4ca00f2d0835562 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.2' into 4.3Orgad Shaneh2017-03-141-0/+1
|\ | | | | | | Change-Id: I4931dcc81be872d7712e67123e94d15ee696459f
| * QRegExp include cleanupSamuel Gaist2017-03-131-0/+1
| | | | | | | | | | | | | | This patch adds the missing include statements for QRegExp. Change-Id: Ibb03b929940adb84ae190b5090cb6b88653cc14c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
| * ClearCase: Re-slot annotateVersionOrgad Shaneh2016-11-281-1/+1
| | | | | | | | | | | | | | | | It is still used as a slot. Change-Id: Iffebebce771362b5b2d836d73adca4e1a3919d40 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | ProjectExplorer: Follow up on too-much-magic in IProjectManagerhjk2017-03-091-1/+1
| | | | | | | | | | | | | | | | Use a ProjectManager::registerProjectType<Project>(MimeType) function, removing cryptic IProjectManager object ownership. Change-Id: I212cd25bd4ee757022a8cb0decb4b8de3a112d12 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | Move mimetype definitions to plugin specsEike Ziller2017-02-275-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | - Avoids the hassle of QRC files and manually registering mime types - Avoids performance regressions because of mime types that are registered after mime database has been used - Makes it technically possible to detect that a disabled plugin could handle a mime type if it was enabled Change-Id: I373008b1b56e9c6b4853055f20b3eeb112a6eff9 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | Remove spaces in initializer listsTim Jenssen2017-02-221-2/+2
| | | | | | | | | | | | | | Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
* | Replace a few occurrences of QStringList() << ...hjk2017-02-081-4/+4
| | | | | | | | | | | | | | ... by something shorter. Change-Id: I363b4e509adb07997517b2d233246a333aea4aea Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Utils: Introduce a TemporaryDirectory and TemporaryFile classTobias Hunger2017-01-201-3/+3
| | | | | | | | | | | | | | | | Both wrap the corresponding Qt class, but make sure all temporary files or directories are created inside a "master temporary directory". Change-Id: I55461be507c828c965224c02863ea5ed9bbf9498 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | VCS: Use Qt5 connect for annotateOrgad Shaneh2016-11-282-11/+1
| | | | | | | | | | | | | | Connect directly to the editor widget, which has a strong type. Change-Id: I4d9778bc4a3c8ba1b37c5a5c0286fd72cda135de Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | VCS: Replace describe slots with lambdasOrgad Shaneh2016-11-282-5/+5
| | | | | | | | | | Change-Id: I05ca25aad8be43fdfa15d3fb5eaaa9bf753ee79f Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | Rename VcsBaseEditorParameterWidget -> VcsBaseEditorConfigOrgad Shaneh2016-10-241-1/+0
| | | | | | | | | | | | Change-Id: I5626e66ba2b7a760ce55263edce9e716067ea6a4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | VCS: Add a way to filter out files/directories that belong to a VCSTobias Hunger2016-10-212-0/+8
| | | | | | | | | | Change-Id: I4dcbe6242cfe327e3b72d3dd550309be45e326a9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | VCS: "final"-ize IVersionControl implementationsTobias Hunger2016-10-211-17/+17
|/ | | | | Change-Id: I123a8da9b08b2fe5de679d5caac7fa20bfb0ef4a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* UI files: Fix tab order in lots of UI formsNazar Gerasymchuk2016-08-022-0/+10
| | | | | | | | | | For unknown reasons tab order in listed UI files was set incorrectly and behave unexpectedly. Now tab order behave naturally. Changes made for listed objects and touches only UI. Change-Id: I057b95eb21943ddb29b108682618382661db7be9 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Fix qbs build on macOSChristian Kandeler2016-07-281-1/+1
| | | | | | | "osx" -> "macos" Change-Id: Ie25e096b2759cf8f96411560fcca337169d80b08 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* SynchronousProcess: Store raw bytes from stdout/stderr of the processTobias Hunger2016-07-151-2/+2
| | | | | | | | | | | | | | | Only convert the raw output later in a stdOut() and stdErr() method of the SynchronousProcessResponse. This is necessary since we have processes that use different encodings for different sections of the file (I am looking at you, git). Also remove the signals for raw data on stdout/stderr, leaving only the signals returning buffered QString lines. This should be safe, even with UTF-16 output. Change-Id: Ida613fa86d1468cbd33bc6b3a1506a849c2d1c0a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ClearCase: Adapt to removed signalOrgad Shaneh2016-05-301-1/+5
| | | | | Change-Id: I6296f23af08890cc82880715db7c84f51d9cd6ce Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>