Commit Graph

11934 Commits

Author SHA1 Message Date
Martin Klapetek
98df4984d0 Add PlasmaQuick to kf5-prefix porting script 2013-12-11 17:40:41 +01:00
Aurélien Gâteau
09b49b48e9 Fix KDESu, add KDocTools 2013-12-11 17:08:31 +01:00
Aurélien Gâteau
410292bf3e Add Style and KDE4Support 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
bb207fa68f kf5-lib-prefix-rename: replace more frameworks 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
71326a33df kf5-lib-prefix-rename: macros, and use whole words 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
acfcc7d3d1 Add test files for kf5-lib-prefix-rename 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
dae4e77d41 Rewrite in Python
I can't seem to get proper multiline search and replace with either sed or perl
-i. But I know how to do it in Python.
2013-12-11 16:33:06 +01:00
David Edmundson
ef58fdbf6f Remove Applet::Private::isContainment
Instead determine by introspecting if this inherits from Containment

REVIEW: 114405
2013-12-11 15:50:48 +01:00
David Edmundson
1f83fdcc3c Reduce warnings starting the pixmap save timer from other threads
REVIEW: 114382
2013-12-11 14:05:40 +01:00
Martin Gräßlin
86d030efac Add a hideOnWindowDeactivate property to PlasmaCore.Dialog
This property is meant to bring back the functionality provided by
PopupApplet. If the property is set to true the dialog gets hidden
when it loses focus.

REVIEW: 114378
2013-12-11 11:15:07 +01:00
l10n daemon script
358b834455 SVN_SILENT made messages (.desktop file) 2013-12-11 04:00:00 +00:00
Sebastian Kügler
6b56bfcd3e Fix parsing of crashes commandlineoption 2013-12-11 04:03:58 +01:00
Aurélien Gâteau
0187f2b125 Do not list KConfigWidgets twice 2013-12-11 00:09:54 +01:00
Aurélien Gâteau
4e2979bc20 Add script to fix cmake files after the KF5 prefix has been added to frameworks 2013-12-10 22:48:45 +01:00
Antonis Tsiapaliokas
1ebb352a76 Replace tab with spaces 2013-12-10 18:36:30 +02:00
Martin Gräßlin
718251466a Needs KGlobalAccel 2013-12-10 08:25:23 +01:00
l10n daemon script
0dab746e5c SVN_SILENT made messages (.desktop file) 2013-12-10 04:06:05 +00:00
Aleix Pol
d79162b6d9 Make sure that panels are properly placed upon resize
Recalculate position when screen has changed or when the location changes.
Recalculate position when the thickness changes, otherwise it grows outside
of the window when a bottom panel thickness changes (we change it through
setHeight).
2013-12-09 19:29:11 +01:00
Àlex Fiestas
a18b1ee448 Add a plasma-shell.desktop file to autostart
This basically makes KLauncher execute plasma-shell on startup.
2013-12-09 18:08:27 +01:00
Àlex Fiestas
9afa18b8a6 Use org.kde.kded5 instead of org.kde.kded 2013-12-09 18:08:27 +01:00
Aleix Pol
6c82a1ee86 Reduce compiler warnings
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Aleix Pol
51fa49f002 Properly place the panels in a multiscreen environment
Ues QScreen::geometry instead of QScreen::virtualGeometry. The virtual
geometry is, according to the documentation and empirical experience, the
geometry of all the virtualDesktop.

REVIEW: 114362
2013-12-09 16:41:19 +01:00
Sebastian Kügler
011fd24f57 Minor cleanup, add my copyright 2013-12-08 17:02:17 +01:00
Sebastian Kügler
7a4c678a92 This is roughly how we can port to qCDebug()
... and not lose information about the debug area.
2013-12-08 17:02:17 +01:00
Sebastian Kügler
ba1be673e1 Clean up command line options in plasma-shell 2013-12-08 17:02:17 +01:00
David Faure
d944a8f7fe Use GenericConfigLocation instead of ConfigLocation.
They do the same on Unix, but on Windows ConfigLocation is erroneously
pointing to an app-specific directory. Fixed in qtbase 44d48862c0 by
adding GenericConfigLocation for this purpose. Available in Qt 5.2.0 rc1.
2013-12-08 13:30:56 +01:00
Sebastian Kügler
73e3c4a6ed Don't crash
Apparently, q->rootObject() can be invalid here.
2013-12-08 05:50:50 +01:00
Martin Gräßlin
1d28b028b1 Use IconEffect for disabled state in QIconItem
Reason for this change: a QIcon might not contain the disabled pixmaps.
Using the icon effect allows to get also the disabled state for such
icons.

REVIEW: 114334
2013-12-06 16:24:41 +01:00
Aleix Pol
a6ee7bb8fe Remove warning 2013-12-05 19:35:43 +01:00
Aleix Pol
fd3fe7d5f5 Try having code only verbose when there are problems
Random output on random components doesn't really help.
2013-12-05 19:34:12 +01:00
Aleix Pol
1c22bb4033 Add more cmake porting rules 2013-12-05 19:32:35 +01:00
Aleix Pol
23eacffcb3 Add more information about interception warnings
It's good to know who is trying to be naughty
2013-12-05 19:32:14 +01:00
Aleix Pol
6d8d2fbde8 Remove unneeded check
it was already being done in setAlignment anyway
2013-12-05 19:31:46 +01:00
Andrea Scarpino
b8e34cffe2 Revert "Revert "QQmlAbstractUrlInterceptor is now public""
This reverts commit 4d38b136ad.
Sorry for the mess.
2013-12-04 12:38:38 +01:00
Andrea Scarpino
9a3f028599 This is not needed; also QQmlAbstractUrlInterceptor is public again https://codereview.qt-project.org/#change,73153 2013-12-04 12:36:30 +01:00
Andrea Scarpino
4d38b136ad Revert "QQmlAbstractUrlInterceptor is now public"
This reverts commit 5540fdeaa5.
2013-12-04 08:21:45 +01:00
Sebastian Kügler
ff40813454 Crash recovery for plasma-shell
We restart plasma-shell after crashes. When it crashes subsequently on startup,
and more than two times in a row, we give up in order to not endlessly loop.
Once the shell process stays alive for at least 15 seconds, we reset the crash
counter, so a later crash, at runtime rather than on startup will still be
recovered from.

This logic is very similar as to how kwin handles it.

DIGEST:
2013-12-04 04:15:24 +01:00
Àlex Fiestas
5540fdeaa5 QQmlAbstractUrlInterceptor is now public
https://codereview.qt-project.org/#change,65626
2013-12-02 15:59:47 +01:00
Andrea Scarpino
2495df8b01 Allow builds with Qt 5.2
REVIEW:114239
2013-12-02 12:27:34 +01:00
David Edmundson
9462866755 Set geometry to fill each screen correctly
DesktopView incorrectly filled the geometry of screen()
screen() will be the screen of the parent shell, not the correct
screen.

As we are using QScreen, shellcorona is ported to use that instead
of QDesktopWidget.

REVIEW: 114149
2013-11-28 14:46:18 +01:00
l10n daemon script
5f151c691d SVN_SILENT made messages (.desktop file) 2013-11-28 04:08:15 +00:00
David Edmundson
66094ef733 Remove X-Plasma-DefaultSize from applet service type 2013-11-27 17:04:17 +01:00
David Edmundson
52a86853a2 Remove unused default size property in example plasmoids 2013-11-27 17:02:35 +01:00
Martin Klapetek
13d1f5568f Remove KLocale bindings
KLocale is now kde4support and we have QLocale QML bindings. This patch
removes the KLocale bindings from plasma-framework (they are not used
anywhere anyway).

If we miss something from KLocale in QLocale, we should upstream it.

REVIEW: 114150
2013-11-27 16:28:46 +01:00
Martin Klapetek
c29773656e Make isToday compare actual dates
So we don't have to construct awkward strings everytime.
2013-11-27 00:23:41 +01:00
Martin Klapetek
6eea4da70d Use proper index validity checking 2013-11-27 00:22:57 +01:00
Martin Klapetek
cb4d7e8b4c Emit proper signals everywhere 2013-11-27 00:22:08 +01:00
Martin Klapetek
e80e2960c6 Shuffle the code around a bit
These methods are in the middle of other together-related methods, for
no reason. Looks like corn flakes in the middle of beer. Sure, you can
do that, but why would you. Actually I should try that.
2013-11-27 00:21:22 +01:00
Martin Klapetek
33f2670f07 Remove empty Q_SIGNALS & Q_SLOTS 2013-11-27 00:13:44 +01:00
Martin Klapetek
f9cca29bd1 Make MonthMenu items not hardcoded
That's just wrong.
2013-11-27 00:07:30 +01:00