Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Alexander Lohnau
2f0eb07038
runners: Use K_PLUGIN_CLASS_WITH_JSON directly
...
Task: https://phabricator.kde.org/T14542
5 years ago
Alexander Lohnau
3d03606302
Use kcoreaddons_add_plugin to allow loading plugins from build dir
...
Task: https://phabricator.kde.org/T14528
5 years ago
Alexander Lohnau
512135a650
runners: Prevent duplicate results among bookmarks and locations runner
...
CCBUG: 406292
5 years ago
Alexander Lohnau
0305762301
GIT_SILENT Remove obsolete KRunner property
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
l10n daemon script
7fb5605b5d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
eb9245a20c
GIT_SILENT Also set urls for match in other code path
5 years ago
Alexander Lohnau
ac7054366d
runners: Set urls for matches
...
This saves us the custom implementation of mimeDataForMatch and
allows us to get the urls for example in milou, just like we already can
with the DBus runners.
5 years ago
Alexander Lohnau
538ba58db1
runners: Allow runners to be loaded from build directory
5 years ago
Alexander Lohnau
0f01103ab8
locationsrunner: Expand unit tests
5 years ago
Alexander Lohnau
8b6ad495d0
locations runner: Fix empty list on invalid shell quotes
5 years ago
Alexander Lohnau
dc50ca09b9
Make locationsrunnertest more robust
...
GIT_SILENT
5 years ago
Alexander Lohnau
794ff7ce95
locationsrunnertest: Make test for executable file in home folder optional
...
GIT_SILENT
5 years ago
Alexander Lohnau
760e532914
GIT_SILENT Fix license header
5 years ago
Alexander Lohnau
5e40901b3c
Add autotests for locations runner
...
Automation of all the test plans that have been
described in the previous MRs and checking for all
reported bugs.
5 years ago
Alexander Lohnau
7e3a4231e1
locations runner: Fix absolute filepath + arguments
...
The KUriFilter would interpret this as a path and consequently
produce a result.
BUG: 433053
FIXED-IN: 5.21
5 years ago
Alexander Lohnau
67560c2680
Fix condition for executable folders
...
If folders are marked as executable the runner will skip them
but we only want to skip files, because they are handled by
the shellrunner.
BUG: 432653
FIXED-IN: 5.21
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Alexander Lohnau
fe646dc7be
Do not duplicate results with ShellRunner
5 years ago
Alexander Lohnau
736218793a
Expand ENV variables before displaying results
...
Before the variables would get expanded later and consequently
go through another code path than file locations. This leads to the
text being differently displayed and users getting confused.
Also this allows us to check if the file actually exists.
BUG: 358221
FIXED-IN: 5.21
5 years ago
Alexander Lohnau
323b94e49e
Port locations runner away from deprecated methods & cleanup
...
- Do not use deprecated RunnerContext::type()
- Write the url always in the data, this way we don't
need to do all the parsing twice.
- The concept of the case insensitive search does not make
sense in this runner. If the user want to have case insensitive
file search the baloo/recent docs/places runners should be used.
- Do not show a match when we are sure the file does not exist. This would
only show a KIO error message when launching it, consequently there is
no point in showing the message in the first place.
5 years ago
Nicolas Fella
f47d78bcdf
[runners] Port from KRun to OpenUrlJob
...
The former is deprecated
5 years ago
Kai Uwe Broulik
7da3e583ca
[Location Runner] Also explicitly look for URL scheme handlers
...
KProtocolInfo handles only protocols KIO knows but apps can also register to be
a URL scheme handler independently of this.
This patch makes the location runner also query for the preferred URL scheme handler
when no known protocol is found. It also prefers the scheme handler over the helper
protocol since a service has a name.
While at it, also format the protocol "exec" using DesktopExecParser to avoid
showing placeholders like '%u' to the user. Also use PreferLocalFile for "go to".
BUG: 416257
5 years ago
Friedrich W. H. Kossebau
42068e1707
Runners: port to KPluginMetaData argument using AbstractRunner constructor
5 years ago
Alexander Lohnau
1f470c4de6
Remove check for defunct RunnerContext::Type
...
The concept is deprecated and the value is
nowhere inside of KRunner set.
5 years ago
Alexander Lohnau
eea705033b
Runners: Do not set deprecated ignore types
...
They are about to get deprecated(https://invent.kde.org/frameworks/krunner/-/merge_requests/40 )
and the minLetterCount and matchRegex properties are already utilized.
5 years ago
Alexander Lohnau
b62fe57e79
Do check if file exists manually
...
BUG: 342876
FIXED-IN: 5.21
5 years ago
l10n daemon script
2aecf659a6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
5f13bcabf9
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Friedrich W. H. Kossebau
3c41e2c12f
runners: port to new KRunner metadata system & install location
6 years ago
l10n daemon script
98397d7fd1
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
8fda734647
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
fe7320494b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
fd832ae350
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
70ad54479f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
6236df5138
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Alexander Lohnau
72cebd84c9
Cleanup runners
6 years ago
l10n daemon script
f04038a367
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
d0cb0bd49f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
b547a75572
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Méven Car
be84a82ab6
KRunner location: remove redundant setText
6 years ago
l10n daemon script
db54291a8f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
909f9145e7
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script
de4197e6ee
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script
dbc616f0fd
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script
592df93013
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script
969e264100
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script
c157a8b79b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago