Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Nicolas Fella
144235e281
Port from KPluginLoader::pluginsById to KPluginMetaData::pluginById
...
The latter gives us only a single plugin which makes the code a bit more concise
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
f82e4f1dcf
shellrunner: Simplify handling of invalid result using std::optional
...
See also https://phabricator.kde.org/T14311 .
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
d20d25357a
runners: Take arguments into account when setting match id
5 years ago
Alexander Lohnau
0e4405622c
GIT_SILENT Add missing copyright statements
5 years ago
Alexander Lohnau
0305762301
GIT_SILENT Remove obsolete KRunner property
5 years ago
Alexander Lohnau
989d9b17c5
Set new KRunner property to reduce duplicates and make IDs comparable
...
CCBUG: 406292
5 years ago
l10n daemon script
9f02b43f3f
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
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
d5c144dbd4
runners: Instanciate QActions directry
...
The current KRunner utility methods have some issues:
- The runner id is kindof useless, especially when we only have one
action
- We basically create a bunch of temporaries whenever we use the utility
methods
- If one really has more actions and more complex logic one is better of
using QHash with the actions and an enum as the key
5 years ago
Alexander Lohnau
538ba58db1
runners: Allow runners to be loaded from build directory
5 years ago
Alexander Lohnau
2295b1d943
shellrunnertest: Be more flexible with location of "true" executable
...
On the BSDs the path is different than /bin/true, by using
QStandardPaths we are more flexible.
5 years ago
Nicolas Fella
1a07220843
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
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
Nicolas Fella
e6b9b04005
Remove unused includes
5 years ago
Friedrich W. H. Kossebau
42068e1707
Runners: port to KPluginMetaData argument using AbstractRunner constructor
5 years ago
Alexander Lohnau
7074a4d342
Port away from deprecated KRunner methods
...
Also extend tests for cases where the filepath contains a space.
5 years ago
Alexander Lohnau
43dd5dad94
Fix FreeBSD build
5 years ago
Alexander Lohnau
3b93044bfa
Add tests for all shellrunner features
5 years ago
Alexander Lohnau
2452e658e3
Fix edge case for tilde and ENV command
5 years ago
Alexander Lohnau
5133d545bb
Fix tile expansion in ShellRunner
...
BUG: 427824
FIXED-IN: 5.20.2
5 years ago
Alexander Lohnau
46dcc5af20
Remove old property from desktop files
6 years ago
Alexander Lohnau
665836f562
Simplify runners using new methods
6 years ago
Alexander Lohnau
dc70225a7c
Allow ENV variables in shell runner
...
FEATURE: 409107
FIXED-IN: 5.20
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
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
Alexander Lohnau
20c5edd93a
Suspend matching if plugin is not auhorized
6 years ago
David Faure
40fc426b57
Adjust KF5 min version (for AutoHandlingEnabled) and simplify previous port
6 years ago
Kai Uwe Broulik
6e660cf92d
Port services and shell runner away from KRun
...
Use ApplicationLauncherJob and CommandLauncherJob.
Also, for services runner pass a KServiceAction to the job so it invokes the appropriate jump list action
Differential Revision: https://phabricator.kde.org/D28347
6 years ago
l10n daemon script
2caf4d0b95
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
804782df2a
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
86fd0f2f71
Remove unnecessary code and function calls
...
Summary:
The ShellConfig class has been deleted. This config class was in KDE4 for the runOptions widget used and the class/the settings are not used anymore.
Additionally the context type check has been removed, because this is already solved using the ignore types.
Futhermore the match icon and the list of actions can be reused.
Test Plan: Should compile and execute shell commands as before.
Reviewers: davidedmundson, ngraham, broulik, meven, #plasma
Reviewed By: meven
Subscribers: meven, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D27495
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
4c244e6081
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
b46752be5b
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
7fe7856b63
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