[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Baloo] [Bug 333037] Search for filenames requires first characters,  cannot start in the middle
From:       Vishesh Handa <me () vhanda ! in>
Date:       2014-07-09 9:40:52
Message-ID: bug-333037-17878-SYsKRSNqcD () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=333037

--- Comment #6 from Vishesh Handa <me@vhanda.in> ---
Git commit f6d91a14b792852b71cdabf6769c4e36cfc3f8ee by Vishesh Handa.
Committed on 09/07/2014 at 09:46.
Pushed by vhanda into branch 'frameworks'.

FileSearch: Allow searching with wildcards in the filename

With this when searching explicitly for the property "filename", the
value can except some standard glob terms such as "*", "." and "?".
These globs can appear anywhere. This operation is NOT cheap, and it is
implemented by running a regular expression over each filename in the
database. It should only be used as a last resort.

This does not solve this bug as this is only activated when explicitly
searching for the filename. We still need to hook this up to the
frontend for the user to be able to choose "search in filename". This is
done in dolphin, but it might be nice to do it in other places such as
"krunner" as well.

M  +4    -1    src/file/search/CMakeLists.txt
M  +1    -0    src/file/search/autotest/CMakeLists.txt
M  +73   -0    src/file/search/autotest/filesearchstoretest.cpp
M  +2    -0    src/file/search/autotest/filesearchstoretest.h
M  +6    -0    src/file/search/filesearchstore.cpp
A  +124  -0    src/file/search/wildcardpostingsource.cpp     [License: LGPL
(v2.1+)]
A  +64   -0    src/file/search/wildcardpostingsource.h     [License: LGPL
(v2.1+)]

http://commits.kde.org/baloo/f6d91a14b792852b71cdabf6769c4e36cfc3f8ee

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic