Alexander Lohnau
5453ee4ed8
helprunner: Show description of runner if syntax description is empty
...
This way the powerdevil and session runners do not display
their first syntax in the overview, but rather the description of what
the runner does in general.
This is needed, because those syntaxes are very specific to a certain
bit of the functionality that the runner provided.
4 years ago
Alexander Lohnau
4c63e88b58
helprunner: Utilize styled text markup to make syntax and description more visually distinct
4 years ago
Alexander Lohnau
4d4ece1250
helprunner: Display action to open KCM for runner
...
This is implemented using the new X-KDE-ConfigModule property.
Older or KCMs that use the deprecated query mechanism will not show up,
but considering that this is a new feature it does not seem worth adding
support for it.
4 years ago
Alexander Lohnau
118d73baa2
helprunner: Do not store generated entries in KRunner history
4 years ago
Alexander Lohnau
6d4bad22ee
Web Search Keywords: Adjust runner syntaxes
...
- Fix broken placeholder
- Document DuckDuckGo bang syntax
4 years ago
Alexander Lohnau
268fdac7bc
HelpRunner: Allow runners to specify custom placeholder
4 years ago
Alexander Lohnau
6b67030ad0
Powerdevil Runner: Fix accessing translated strings before they are initialized
4 years ago
Alexander Lohnau
7c527db6ea
Powerdevil Runner: Improve runner syntax description
4 years ago
Alexander Lohnau
c8c72bf66a
Add helprunner to show usage information for KRunner plugins
...
BUG: 433636
BUG: 369136
4 years ago
Nicolas Fella
a1fdb95d8c
[webshortcutsrunner] Fix private browsing with some Firefoxes
...
Because we can't have nice things the private browsing action in Firefox
sometimes has a %u placeholder for the URL and sometimes doesn't.
The current code only accounts for the case without placeholder, which
is also what Chrome does.
Replace the placeholder if found, otherwise append the URL
4 years ago
Alexander Lohnau
14afd237f0
shellrunner: Port to KRunner test utils
...
This fixes the unit test, because the file location is not hardcoded anymore.
4 years ago
Alexander Lohnau
67f7214e36
Remove no longer needed test data file
4 years ago
Alexander Lohnau
dccd50bef0
Remove "1.0" version definitions in json metadata
4 years ago
Alexander Lohnau
ff19a1c343
Remove unneeded ServiceType definitions in json metadata
...
We already do the filtering based on the plugin namespace and no
longer through the SevriceTyoes.
4 years ago
l10n daemon script
7ebe49f96f
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"
4 years ago
l10n daemon script
41e9c0e65f
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"
4 years ago
l10n daemon script
b64be79def
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"
4 years ago
l10n daemon script
07e7431c2a
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"
4 years ago
l10n daemon script
c7689f5349
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"
4 years ago
l10n daemon script
36cadc2c69
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"
4 years ago
Alexander Lohnau
c6c8dc2b23
webshortcuts runner: Define X-KDE-ConfigModule instead of creating service for KCM
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
l10n daemon script
50a7069ada
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"
4 years ago
Alexander Lohnau
e1856783c3
Remove now unneeded desktop files
...
Also the install code for some plugins that are already ported to json metadata
4 years ago
Alexander Lohnau
6d3b831cdb
Remove now unneeded desktop to json conversion code
4 years ago
Alexander Lohnau
5e8b5a41d1
Convert desktop files to JSON
...
Task: https://phabricator.kde.org/T14564
4 years ago
l10n daemon script
f258b6217a
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"
4 years ago
l10n daemon script
9dcd97b680
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"
4 years ago
Alexander Lohnau
fa5ac3fe34
baloosearchruner: Emit DBus error when baloo is disabled
...
Otherwise we exit and KRunner runner into a long timeout.
By making this a dedicated DBus error KRunner can also know, that this
runner can not be started. Consequently making new attempts to query
this runner can be prevented.
Because the runner is DBus-Activated, we can not exit the process, otherwise other
processes (like the search in the app launcher) will have the same issue with the timeout.
BUG: 445342
4 years ago
Alexander Lohnau
c3201e74c2
Drop now unneeded QOverload statements
...
By defining the KF_DISABLE_DEPRECATED_BEFORE_AND_AT value, the deprecated overloads are hidden.
This way we only have the un-deprecated one visible.
4 years ago
Alexander Lohnau
b5e90f194c
killrunner: Define X-KDE-ConfigModule keyword for loading KCM
...
This utilizes the logic of https://invent.kde.org/frameworks/kcmutils/-/merge_requests/67
4 years ago
Alexander Lohnau
ce6088868b
Port to enum values for KAuthorized::authorize
...
Task: https://phabricator.kde.org/T11948
4 years ago
l10n daemon script
20131b5e68
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
b9a1e98742
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
677141d136
Port WebshortcutRunner::configurePrivateBrowsingActions away from deprecated KRunner API
...
The clearing was defunct anyways and did not delete the QAction pointer
5 years ago
l10n daemon script
c7b5c13700
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
bbb8343a2d
Remove unneeded parts of servies runner test
...
The logic that is tested does not exist in this runner anymore, but it imported in systemsettings.
5 years ago
Alexander Lohnau
c97dddf20d
Manually adjustments for SPDX license statements
5 years ago
Alexander Lohnau
3d4df5e61e
Merge duplicate copyright texts for Glenn Ergeerts
5 years ago
Alexander Lohnau
3720912f99
GIT_SILENT Misc SPDX fixes
5 years ago
Alexander Lohnau
4df78f841c
Remove unneeded comments in license headers
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
c4cfc9749e
Remove unneeded newlines in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Nicolas Fella
07c5365e11
Remove unneeded KCM plugin keyword stuff
5 years ago
Alexander Lohnau
5844df73ad
Remove KCM query logic from services runner
...
It gets moved to systemsettings, see https://invent.kde.org/plasma/systemsettings/-/merge_requests/73 for the rationale
This way the runner only shows applications, like it's name in the plugin selector suggests.
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
Ahmad Samir
104fea4ec3
kfontinst: less macros; use logging categories
...
And comment out the qDebug() calls (the ones without a logging category),
useful for debugging but they spam the terminal output if you e.g. start
systemsettings from terminal.
Also don't print time with debug statements, useful for benchmarking, but
too much output in terminal otherwise.
GIT_SILENT
5 years ago
l10n daemon script
f4456d4f1f
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