summaryrefslogtreecommitdiff
path: root/src/libs/utils/fuzzymatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* FuzzyMatcher: add option to match text with spacesDavid Schulz2022-09-201-15/+32
| | | | | | | | | Change-Id: I0480b57d27f3625933005ca2233e9612df53072d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-08-261-26/+4
| | | | | | | | | 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>
* FileSystemFilter: Convert to FuzzyMatcherAndre Hartmann2019-08-151-0/+15
| | | | | | Fixes: QTCREATORBUG-18960 Change-Id: I7125362e77d7f079eec0cdcc270438cc98ca9407 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* FuzzyMatcher: Match mixed uppercase words and humpsAndre Hartmann2019-07-171-1/+1
| | | | | | | | | | | | | "htvideoele" did not match "HTMLVideoElement" before. This can easily be achieved by modifying the uppercase snake matcher and thus making the underscore between the letters optional. Fixes: QTCREATORBUG-19838 Change-Id: I821a68b20d40fb0843c12f43f47133833c75cb9b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* FuzzyMatcher: Handle digits as camel humpAndre Hartmann2019-07-131-1/+1
| | | | | | | | | | Allow searching for "Fancy4PartThingy" with the more intuitive pattern "f4pt" as well as with the pattern "fpt" that already worked before. Fixes: QTCREATORBUG-22671 Change-Id: I3a7c1a5b7f57d2f2bdd7d0c6e23b46f6bbb64d77 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* FuzzyMatcher: Improve wildcard matchingOrgad Shaneh2017-11-041-2/+2
| | | | | | | | Make it equivalent to current wildcard implementation, and replace the current one with FuzzyMatcher. Change-Id: If83a4a8dfc7c8930bd92b49972647a519886a831 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Rename CamelHumpMatcher -> FuzzyMatcherOrgad Shaneh2017-11-021-0/+154
Change-Id: Ia8a2eeb985bcdd500b4faf9605e5092a52dad372 Reviewed-by: André Hartmann <aha_1980@gmx.de>