summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitgrep.h
Commit message (Collapse)AuthorAgeFilesLines
* FileSearch: Get rid of FileSearchResultJarek Kobus2023-05-091-1/+1
| | | | | | | | | Use SearchResultItem instead. This change should reduce the remaining freeze described in a9eb732ce6763e22badd92fc8523cebe84b09a84 even more. Change-Id: I102b82ed5677360ccd9e425dd0bdd941d87116f0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Move SearchResultItem/Color into UtilsJarek Kobus2023-05-081-3/+8
| | | | | | | | | It's going to be reused inside FileSearch. Change-Id: I8993d7158ff31c311c2283d32bc43465a8946a52 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Git: Convert to Tr::trAlessandro Portale2022-10-061-8/+3
| | | | | Change-Id: I7fb1753109a9263c70c01713f5f4895db6b73662 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | 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>
* BaseFileFind: Centralize waiting for search to finishEike Ziller2021-06-081-2/+0
| | | | | | | | | | | | Instead of adding a FutureSynchronizer to all backends, we can use a central one in BaseFileFind. Amends 269f15df6bdcf5aca7f1ac26141150dd482104fa Change-Id: Iad0145317b53a95b686c091017b8197d759dc253 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Wait for all searches to be finished in d'torsJarek Kobus2021-06-071-0/+2
| | | | | | | | Task-number: QTCREATORBUG-25792 Change-Id: Idc516324b2a80b9b907cf29ed3df4de86d842266 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Git: Make a few objects proper plugin pimpl membershjk2020-02-071-1/+4
| | | | | Change-Id: Ib996ed248cd6e10d49fa3ae1086189acfc04de34 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Git: Support non-recursive grepOrgad Shaneh2019-03-181-0/+3
| | | | | Change-Id: Ib38239e28e8b24d993015e5568df02fe2a67f0e8 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Vcs/Text search: Remove a few addAutoReleaseObject useshjk2018-02-061-1/+1
| | | | | | | Using a QObject parent suffices here. Change-Id: I4dc5448511d55bf14fbd8f810e91336a49e94094 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* BaseFileFind/FindInFiles: Clean up enabled / valid state handlingEike Ziller2016-11-251-1/+0
| | | | | | | | | | | IFindFilter: Separate enabledChanged and validChanged SearchEngine: Add enabledChanged GitGrep: Enable widget based on enabled state FindInFiles: Update validity on search engine enabledChanged instead of hardcoding it to when the search path changed Change-Id: I0c684423b871a3a4f1f164574f42e23b64cf9da0 Reviewed-by: David Schulz <david.schulz@qt.io>
* FindInFiles: make possible to have more than one extensionPrzemyslaw Gorszkowski2016-11-161-6/+3
| | | | | | | | | | This change adds a possibility to add more than one external tool which can be used instead of internal finder. Currently there is one extension: 'gitgrep'. By default we use internal finder. Change-Id: If644358552f3cea9ebda8308539322a1b6d3ab77 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Git: ModernizeTobias Hunger2016-02-101-4/+1
| | | | | | | | | | * pragma once * member initialization * s/struct/class/ * Introduce a static GitPlugin::client() method and use it Change-Id: Ifdcac86dd16f3cdba11d564d03e9a15f00a6afdb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Git: Support tree argument for GrepOrgad Shaneh2016-02-101-2/+9
| | | | | | Change-Id: Ic7dfcd8bad98223d68725f1a0c1f103ad8ea4e0f Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Git: Minor cleanupOrgad Shaneh2016-02-081-4/+1
| | | | | | | | | * Remove unused includes * Remove QObject qualification * Use a raw pointer for widget instead of QPointer. It is owned by GitGrep. Change-Id: I4e2c9878289ed3491bfd7b0565a683bc01e485f3 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Git: Hook grep into Find In File System dialogOrgad Shaneh2016-02-041-26/+13
| | | | | Change-Id: I0fc77ad61c8874a21afd5b5135df4d30fa795a8e Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Git: Support Git GrepOrgad Shaneh2016-01-251-0/+78
Task-number: QTCREATORBUG-3556 Change-Id: Ieca1bdaa39281a2e085340f045e5a48b875f7967 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>