Aleix Pol
6869c5292f
shell: --warnings, port away from deprecated APIs
5 years ago
Aleix Pol
801ddfbe19
shell: Port to compile-time connects
5 years ago
Aleix Pol
86a7bf786f
shell: Readability, remove uses of QWeakPointer::data()
...
the operator-> is smart enough to know what to call.
5 years ago
Aleix Pol
9aa0bc24ec
shell: Just parse the key once
5 years ago
Aleix Pol
47fa049b5f
shell: Remove 2x lookup
5 years ago
Aleix Pol
efa083ff8d
Remove 2x look-up
5 years ago
Méven Car
e43dd5a035
Silence some warnings when reading plugins metadata
5 years ago
Aleix Pol
1743cd9b87
shell: Prefer a less verbose implementation
5 years ago
Aleix Pol
598c643514
Refresh plasmashell when the ShellPackage changes from the LnF
...
At the moment issues a --replace that will restart the package, will
need to look into why it crashes when tearing up the former shell
package.
5 years ago
Adrien Faveraux
5ba4387628
Cleanup :
...
Use image sizeInBytes
Use Qt:endl
register qml with qml register anonymous type
Remplace QDrag start by QDarg exec
QModel acces, remove use of child
Use QFileinfo, use birthTime()
Use QRandomGenerator
5 years ago
David Edmundson
afa8159f34
Split Interactive console into it's own binary
...
Plasma had an entire text editor for the script engine in process.
The method for loading this was very convoluted, it loaded a QML file
(in plasma-desktop!) which contained an Item(!) which then loaded a QML
component that showed a widget dialog.
It also means loading a very heavy lib KTextEditor in ShellComponents
which is very heavy. This will get loaded in things like the logout
greeter, which is super slow on the pinephone.
We already had the concept of evalating a script remotely, we can just
hook up the print statement and move the whole executable out.
Technically this is an API break on the plasmashell DBus API, but
pragmatically going from void -> something on the return type isn't
going to break anything.
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
Vlad Zahorodnii
73c378832b
[Task Manager] Add support for StartupTasksModel on Wayland
...
BUG: 402903
5 years ago
Nicolas Fella
b6982ed110
[scripting] Fix knownActivityTypes and knownPanelTypes
...
The type names were wrong so the result was always empty
5 years ago
Alexander Lohnau
21c98b356f
GIT_SILENT Make sure to use QString default value when reading KPluginMetaData value
5 years ago
Alexander Lohnau
d921e3e370
Adjust indentation of license headers
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Alexander Lohnau
8de79169f8
Consistently name kpackage structures
...
This will allow kpackage to load the structures by their path.
Task: https://phabricator.kde.org/T14757
Conceptually the same direction as https://phabricator.kde.org/T14499 .
5 years ago
Alexander Lohnau
50c2fc495c
Define new KPackageStructure property in kpackage structures
...
Task: https://phabricator.kde.org/T14563
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Aleix Pol
3e3c606acc
Allow plasmashell to use both screenshot and screenshot2
...
The latter is a better performing version of the former, both do the
same.
5 years ago
Aleix Pol
fb47508554
Provide a Plasmoid to control input methods
...
It's mostly useful to be able to hide the virtual keyboard like we do in
Plasma Mobile from the bottom panel, should probably replace the SNI
from KWin.
5 years ago
l10n daemon script
b79988ff0e
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
faad339db5
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
96355cd03a
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
b640fbdc3e
kpackage structures: Use K_PLUGIN_CLASS_WITH_JSON directly
...
Task: https://phabricator.kde.org/T14542
5 years ago
David Edmundson
9b9b6e5d9b
Init ShellCorona after KDBusService
...
ShellCorona is created before KDBusService which registers the name.
This causes a problem as we register global shortcuts before plasmashell
--replace has kiled the old application, which in turn deregisters
everything.
We want everything before KDBusService to be as light as possible.
Moving ShellCorona construction is not trivial as some argument parsing
uses that.
BUG: 408310
5 years ago
Nicolas Fella
ff0f37f561
Make sure property types are fully defined
...
In Qt6 property types needs to be fully defined
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
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
a66b047894
Port away from deprecated KSycoca::databaseChanged signal
...
The list of changed resources is hardcoded in the KService
implementation, consequently we can remove those checks.
5 years ago
Laurent Montel
ff2d7cc267
Remove not necessary qt prefix
5 years ago
Alexander Lohnau
75e59e9078
GIT_SILENT Use const reference in for loop
5 years ago
Alexander Lohnau
73af72b3a5
GIT_SILENT Remove unused variables
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Bharadwaj Raju
1cf02aad96
Load panelOpacity from config parent, not from config
...
BUG: 434285
FIXED-IN: 5.22
5 years ago
Chris Holland
9eb6e16009
[scripting] Make panels() not return the desktops() containments
...
It was filtering by isPanel() before port to QJSEngine:
033ad5ca60 (cbf01be30b27864a9b58f834c520a69d108a4888_443_442)
BUG: 435081
5 years ago
Vlad Zahorodnii
6f754187b6
Port various components from WId-based KWindowEffects API
...
The WId-based KWindowEffects API is deprecated.
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
Niccolò Venerandi
111819e198
Add a -1 to make the mouse input not redirect to a margin pixel.
...
BUG: 413736
FIXED-IN: 5.22
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
Alois Wohlschlager
c19d8de7a7
Fix crash on drag-and-drop over panel
...
The fake drag-and-drop events caused by the panel reuse the real event's
mimeData, and were handled asynchronously. By the time the fake event
has been dispatched from the event loop, the mimeData may already have
been freed. Send the fake events synchronously again.
A guard is added to avoid the original potential bug of infinite recursion.
BUG: 398440
5 years ago
Heiko Becker
3f46c64e1f
cmake: Specify file extension for standaloneappcorona
...
Gets rid of a cmake warning.
GIT_SILENT
5 years ago
l10n daemon script
915c13185d
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
35345786f6
GIT_SILENT Add context parameter to connect calls with lambda
5 years ago
Ahmad Samir
e6fe8b0e93
Remove extra '/' in comment block
...
GIT_SILENT
5 years ago
Nicolas Fella
478db0b4c7
Use KPluginMetaData to list containments
...
Instead of the half-deprecated KPluginInfo
5 years ago
Nicolas Fella
78f04b5813
Port from QString::SkipEmptyParts to Qt::SkipEmptyParts
5 years ago
Ahmad Samir
7e09d62cd0
Use Q_SIGNALS instead of signals in header files
...
And remove DQT_NO_SIGNALS_SLOTS_KEYWORDS from applets/kicker/CMakeLists.txt.
5 years ago