┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
AgeCommit message (Collapse)Author
2011-10-06Use QFontMetrics::height() instead of averageCharWidth()Peter Penz
QFontMetrics::averageCharWidth() is quite slow and does not work well on fonts with broken characters. In the usecases required by Dolphin QFontMetrics::height() is a better and faster alternative to get a font-dependent minimum width. Thanks go to Christoph Feck for this hint!
2011-08-13Fixes for "krazy"Peter Penz
2011-07-07Use QToolButtons instead of QPushButtons for the searchbarPeter Penz
Thanks to Hugo Pereira Da Costa for the patch. BUG: 277227 FIXED-IN: 4.7.0
2011-05-29Improved query creation. There is absolutely no point in using aSebastian Trueg
regular expression in addition to the query created by the query parser. All it does is majorly slowing down the query execution. REVIEW: 101462
2011-05-11Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK.Andreas Hartmetz
Actually HAVE_NEPOMUK should be defined here, but it isn't. This seems to be some bug in the buildsystem. CCMAIL: [email protected]
2011-04-20Search improvementsPeter Penz
Use Query::titleFromQueryUrl() to give a hint what kind of information is shown to the user.
2011-04-20Improve usability of Search PanelPeter Penz
If the Search Panel is shown outside the context of the "Find" mode it will be always enabled and does a global search. Only if the user is in the "Find" mode and the searching is restricted to the current directory the Search Panel might get disabled if the current directory is not indexed. This solves the major usability issue that it was not clear for the users whether a global or restricted search is done.
2011-03-10Hide search-mode buttons in the read-only modePeter Penz
When a searching has been triggered externally (e.g. by clicking on a tag) the search-mode settings like "From here"... are ignored and should not be shown at all. The current patch is only a quick workaround until a clean layout will be provided for this case.
2011-03-10Add search modes for the Search PanelPeter Penz
The search panel must get a hint whether clicking on the facets should result in searching everywhere or from the current folder. It is not sufficient to check the search-settings of the "Find:"-box, as when the "Find:"-box is invisible there is no hint for the user what kind of searching is done and the setting must be ignored.
2011-03-10Fix some search issuesPeter Penz
- Always merge the query from the "Find:"-field with the current facet-query. This assures that the facet-query never gets overwritten if the user changes the "Find:"-field. - Always trigger a searching if the text of the "Find:"-field has been cleared. Still a lot of usability issues are left, but this is at least a first step...
2011-02-09Coding style update for pointer comparisonPeter Penz
Most developers seem to prefer if (ptr) ... if (!ptr) ... in comparison to if (ptr != 0) ... if (ptr == 0) ... Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-06Fix issue that filenamesearch: is used instead of nepmuksearch:Peter Penz
2011-02-05Provide a hook for externally triggered search queriesPeter Penz
In this case the "From Here"/"Everywhere" buttons and the "Filename"/"Content" buttons are useless. Currently they just get disabled but the plan is to provide a better visual indication of the current query and to remove them completely.
2011-02-05Fix compilation when Nepomuk is not availablePeter Penz
CCBUG: 265547
2011-02-04Add unittest for DolphinSearchBoxPeter Penz
A minor API cleanup in DolphinSearchBox has been done related to the test.
2011-02-04Don't clear the search-text when switching between tabsPeter Penz
The clearing of the search-text should only be done when opening the search-box.
2011-02-04Use capitalized KDE includesPeter Penz
2011-02-03Use KUrl::isParentOf() instead of doing custom QString-operationsPeter Penz
This fixes the issue that a directory might be declared as indexed/non-indexed although it just starts with a similar name like another directory.
2011-02-02Fix visibility- and enabled-issues for the filter-panelPeter Penz
The filter-panel should be disabled if the current folder is not indexed at all. Also when triggering a "Find" the filter-panel should stay invisible per default when the current folder is not indexed. CCBUG: 264969
2011-01-23Prevent that the view is forced to increase its width when the searching is ↵Peter Penz
enabled and not enough width is available for all options. svn path=/trunk/KDE/kdebase/apps/; revision=1216467
2011-01-22SVN_SILENT: Coding style updatesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1216293
2011-01-20Stay consistent with the non-indexed searching and also return folders as ↵Peter Penz
search-result when searching in indexed folders. CCBUG: 263724 svn path=/trunk/KDE/kdebase/apps/; revision=1215987
2011-01-18Fix issue that the "From Here" search restriction does not work on ↵Peter Penz
subfolders when Nepomuk/Strigi has been activated. CCBUG: 262274 svn path=/trunk/KDE/kdebase/apps/; revision=1215428
2011-01-16Remember all iterated directories to prevent an endless recursion by links. ↵Peter Penz
Tested with search all files below / svn path=/trunk/KDE/kdebase/apps/; revision=1214895
2011-01-16Assure that no endless searching is done if a link points to a parent directoryPeter Penz
CCBUG: 263262 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1214807
2011-01-08Forward port: Fix memory leak in searchDirectory()Peter Penz
CCBUG: 262481 svn path=/trunk/KDE/kdebase/apps/; revision=1212998
2010-12-19Select the whole text in the filterbar and searchbox if the widget has lost ↵Peter Penz
the focus and gets focused again by the shortcut (this behavior is consistent to e.g. the behavior in Kate). CCBUG: 256160 svn path=/trunk/KDE/kdebase/apps/; revision=1207719
2010-11-25Don't offer the "Search everywhere" option for non-local URLs.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1200741
2010-11-24Assure that the "From Here (...)" button contains always a useful content ↵Peter Penz
also for non-local URLs svn path=/trunk/KDE/kdebase/apps/; revision=1200307
2010-11-24Allow to search for filenames + textcontent also for non-local files.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1200303
2010-11-23Honor the from here/everywhere settingSebastian Trueg
svn path=/trunk/KDE/kdebase/apps/; revision=1199915
2010-11-11Provide a parent for the "From Here" buttonPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1195688
2010-11-11Remove the filter-button as it has been replaced by the Filter Panel.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1195671
2010-11-11The string freeze is near: Add a string that may contain the file-name as ↵Peter Penz
paramater. svn path=/trunk/KDE/kdebase/apps/; revision=1195670
2010-11-07The clearing is already done in DolphinSearchBox::keyReleaseEvent()Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1193915
2010-11-06Disable the filter-dock if Nepomuk is not active.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1193611
2010-11-04Use the ontologies compiled into libnepomukTobias Koenig
svn path=/trunk/KDE/kdebase/apps/; revision=1193072
2010-10-27- Automatically show the filter-panel when a searching is donePeter Penz
- Remove filter-prototypes that conflict with the filterpanel svn path=/trunk/KDE/kdebase/apps/; revision=1190445
2010-10-26Apply the facets-patch written by Sebastian Trüg, which allows to filter ↵Peter Penz
search results in a very comfortable way. A lot of finetuning is necessary (e.g. the custom filter-prototypes from Dolphin will get removed etc). This will be done during the next weeks. svn path=/trunk/KDE/kdebase/apps/; revision=1189951
2010-10-10Automatically start the searching if the user did not change the search-text ↵Peter Penz
for at least a second. svn path=/trunk/KDE/kdebase/apps/; revision=1184510
2010-10-08Allow to use wildcards when searching filenames or simple text files with ↵Peter Penz
the filenamesearchprotocol. svn path=/trunk/KDE/kdebase/apps/; revision=1183944
2010-09-22Fix icon-name for the filenamesearch protocol. This fixes the issue that an ↵Peter Penz
unknown-icon is shown when the search is done in a tab. svn path=/trunk/KDE/kdebase/apps/; revision=1178364
2010-08-17Remove DISABLE_NEPOMUK_LEGACY, it is defined now in kdebase/apps/CMakeLists.txtPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1164889
2010-08-07krazy fixes: let all .kcfg files be conform to KConfigXT schemaPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1160311
2010-07-24Unify the search interface for non-indexed and indexed foldersPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1154073
2010-07-22Do not add custom query items to the query URL. Instead use the existing ↵Sebastian Trueg
method to specify a custom title. svn path=/trunk/KDE/kdebase/apps/; revision=1152960
2010-07-10Fix forward declationLaurent Montel
svn path=/trunk/KDE/kdebase/apps/; revision=1148408
2010-07-07Do only search for files by default.Sebastian Trueg
svn path=/trunk/KDE/kdebase/apps/; revision=1147115
2010-07-04SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=1145779