Commit Graph

15919 Commits

Author SHA1 Message Date
l10n daemon script
2ec0a35fc1 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"
2021-07-19 01:14:02 +00:00
Carl Schwan
11e2ae62ba Add a bit more contrast to event indicator in calendar
Now make it darker on light theme and lighter on dark theme

CCBUG: 437203
2021-07-18 19:36:20 +00:00
Eugene Popov
ead37fb5db Improve the code of the actions in the plasmoid heading
This patch fixes an issue where actions remain disabled after changing
its visibility off/on by filtering actions and creating menu items for
visible actions only. It also slightly improves the code.
2021-07-18 15:59:34 +00:00
Friedrich W. H. Kossebau
7901e48523 Use Find7z & Findgzip from ECM
NO_CHANGELOG
2021-07-18 15:15:27 +00:00
l10n daemon script
2ec68a6148 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"
2021-07-16 01:14:40 +00:00
Aleix Pol
f7d63bc30b Theme::currentThemeHasImage should not return true if parent themes match
BUG: 439847
2021-07-16 00:47:39 +00:00
Ahmad Samir
8bacaa045b Remove a redundant forward declaration
GIT_SILENT
2021-07-15 23:33:25 +02:00
l10n daemon script
7399450bf7 GIT_SILENT Upgrade ECM and KF version requirements for 5.85.0 release. 2021-07-14 22:38:13 +00:00
Devin Lin
3dfb5eda49 Remove x1.5 mobile icon sizing 2021-07-14 13:29:12 +00:00
Christophe Giboudeaux
1587ead53e Fix typos found by codespell
GIT_SILENT
2021-07-14 11:01:00 +02:00
l10n daemon script
057b744762 GIT_SILENT Upgrade KF version to 5.85.0. 2021-07-10 19:32:13 +00:00
Noah Davis
f7f74d2fe4 PlasmoidHeader: re-add backgroundMetrics
accidentally removed in previous commit
2021-07-10 14:33:16 -04:00
Noah Davis
65360e9841 PlasmoidHeader: Make it based on T.ToolBar, deprecate location
PlasmoidHeader was probably based on T.Frame because of a mistake. T.Frame doesn't do anything different from T.Pane and PlasmoidHeader was duplicating the function of T.ToolBar's position property with the location property.
2021-07-10 10:10:16 -04:00
David Edmundson
815ddd3fc3 Port from QExposeEvent::region
This gets deprecated in Qt6.

See also https://codereview.qt-project.org/c/qt/qtwayland/+/349335
2021-07-09 14:35:21 +00:00
Friedrich W. H. Kossebau
aba253217d Avoid intermediate variable, pass sources directly to ecm_add_test
NO_CHANGELOG
2021-07-06 13:59:02 +02:00
Friedrich W. H. Kossebau
2c23dc0123 Use more target-centric cmake code
NO_CHANGELOG
2021-07-06 13:58:19 +02:00
Friedrich W. H. Kossebau
5a5ce88faa Drop outdated KDE_DEFAULT_DEBUG_AREA
No more usage of KDebug

NO_CHANGELOG
2021-07-06 13:24:44 +02:00
Ismael Asensio
2ad8174b46 [PC3/ScrollView] Fix assignation of Scrollbars
The assignation of the property `active` was flipped for vertical
and horizontal scrollbars.
2021-07-02 22:59:22 +02:00
Alexander Lohnau
599f24e0b6
Download missing LicenseRef-KDE-Accepted-LGPL license 2021-07-02 20:24:58 +02:00
l10n daemon script
76d533df90 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"
2021-07-02 01:11:12 +00:00
Aleix Pol
d809e9e4dc Remove container 2x lookups
Instead of checking for existance and then getting the value. Look it up
once and use the value if avaliable.
This saves us one hash look-up per execution which can be considerable,
especially in the case of findElementRect.
2021-07-01 17:35:53 +00:00
Friedrich W. H. Kossebau
53d1bf4577 Use include matching the used class instead of a subclass
NO_CHANGELOG
2021-07-01 16:47:59 +02:00
Nicolas Fella
3caea941aa Avoid deprecated QVariant ctor
Instead of passing the datastream at construction use the stream operator as recommended
2021-07-01 00:23:34 +02:00
Nicolas Fella
01e93a20cf Add missing includes
And remove an unneeded one
2021-06-30 23:57:54 +02:00
Aleix Pol
198c884b85 No need to explicitly disable the cache when using currentThemeHasImage
We have mechanisms to clear the cache as the current theme changes and
it only makes us access the disk repeatedly for no reason.
2021-06-28 17:02:42 +02:00
Aleix Pol
cd4ab21dd8 No need to check that a file exists if we know it's modified date 2021-06-28 16:55:19 +02:00
Aleix Pol
c3e0ba8ff5 Remove unused local variables 2021-06-28 15:56:43 +02:00
Noah Davis
9fd111d867 PC3 Page: Improve implicit size calculation
Also remove unnecessary code for contentWidth/contentHeight. It's already handled the exact same way in the C++ of QQC2 Page.
2021-06-28 09:00:51 -04:00
David Redondo
52b95888d5 Add function to hide tooltip immediately
The built in delay causes trouble on wayland where it can cause
closing of other popups.
2021-06-28 09:54:53 +00:00
l10n daemon script
ce39def7d1 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"
2021-06-28 01:23:35 +00:00
Aleix Pol
27cc45c8be Remove unused local variable 2021-06-28 01:52:02 +02:00
Andreas Cord-Landwehr
8953e77ec2 Add compatibility code when GLVND is not available
CMake's FindOpenGL internally handles EGL only correctly when GLVND is
available. This might not the case on embedded systems and actually it
is not necessary when EGL::EGL is found.

BUG: 438444
2021-06-24 20:11:44 +00:00
Alexander Lohnau
784f530af5 KF5PlasmaMacros: Only include ECM manually if config vars are missing 2021-06-22 13:11:13 +00:00
David Edmundson
b2f821ad21 [Calendar] Store plugin manager as QPointer
EventPluginsManager is created externally and managed by QML. We cannot
assume the lifespan outlives our Calendar class.

BUG: 385011
2021-06-22 03:27:11 +00:00
David Redondo
3e006a0c42 Connect to global shortcut changes
The intent behind this code seemingly was that KGlobalAccel would
update the shortcut of the QAction but that is not the case. This
leads to our config going out of sync when global shortcuts are
changed from the oustide (the kcm) and resetting on next start
since we set shortcuts with NoAutoLoading.
BUG:438662
FIXED-IN:5.84
2021-06-20 08:01:53 +00:00
l10n daemon script
03c3df109a 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"
2021-06-20 01:17:58 +00:00
Alexander Lohnau
8df168592b package structures: Use K_PLUGIN_CLASS_WITH_JSON directly
Task: https://phabricator.kde.org/T14542
2021-06-19 16:53:14 +00:00
Alexander Lohnau
3063e43abd dataengine examples: Use K_PLUGIN_CLASS_WITH_JSON directly
Task: https://phabricator.kde.org/T14542
2021-06-19 16:53:14 +00:00
Alexander Lohnau
094f82f9b4 templates: Use K_PLUGIN_CLASS_WITH_JSON directly
Task: https://phabricator.kde.org/T14542
2021-06-19 16:53:14 +00:00
l10n daemon script
3c84e6ae81 GIT_SILENT Upgrade ECM and KF version requirements for 5.84.0 release. 2021-06-19 16:04:14 +00:00
Aleix Pol
b0f8bff4ca SvgRectsCache: do not query elements twice
I was looking into why there is so much time spent here for the logout
greeter that only has buttons. It seems like we were querying the cache
file every time even though we already have separate code that checks
whether our information is valid.

As I started looking into it, ::loadImageFromCache was %25 of the CPU
time. After this patch it's short of 1%.
2021-06-19 02:57:52 +02:00
Alexander Lohnau
44a8e6c1ee Remove unneeded K_EXPORT_PLUGIN_VERSION macro usage 2021-06-14 19:54:40 +00:00
Alexander Lohnau
b63335d10a pluginloader: Remove deprecated version checks
Task: https://phabricator.kde.org/T14302

The explicit version checks are not needed anymore, the plugins are
installed into a specific namespace for each major version. Also the
plasma-frameworks API is stable during the lifetime of a major version.
2021-06-14 19:54:40 +00:00
Adriaan de Groot
a81a78becd CMake: do not expand variables beforehand
In **general**, variables in `if()` commands should not be expanded
"by hand" before use, because substitution occurs before the `if()`
command is parsed: in practice that means that a command like

	if(${A} STREQUAL "A")

can expand to (depending on the value of A being empty, "B" or "A")

	if( STREQUAL "A")
	if(B STREQUAL "A")
	if(A STREQUAL "A")

Then the `if()` command is processed, leading to:

 - a syntax error
 - comparing the value of variable B against string "A"
 - comparing the value of variable A (it's "A" because that
   is what `${A}` expanded to) against string "A"

This is explained in section *Variable Expansion* of the documentation
of the `if()` command, but keeps tripping people up.
2021-06-14 14:47:53 +00:00
Nate Graham
06747e5924 Add KF6 TODO to investigate setting focusPolicy: Qt.TabFocus by default
GIT_SILENT
2021-06-14 08:04:23 -06:00
Marco Martin
19c8c7dc2e fix graphics of tooltips
* proper margins for shadows
* use solid instead of opaque, which is pixelated

BUG:438121
2021-06-14 08:58:40 +00:00
Ismael Asensio
7b726cffb4 [DaysCalendar] Port to new Connections syntax 2021-06-13 00:26:06 +02:00
l10n daemon script
2c6c29064d GIT_SILENT Upgrade KF version to 5.84.0. 2021-06-12 19:37:49 +00:00
Aleix Pol
b93b75d79b theme -> PlasmaCore.Theme 2021-06-11 17:26:14 +02:00
Alexander Lohnau
e54f5b793e Remove defunct test dataengine
The K_EXPORT_PLASMA_DATAENGINE_WITH_JSON expects a JSON file. But
considering that nobody complained about this and it has been broken for
years we can get rid of it.
2021-06-11 09:39:23 +00:00