Commit Graph

12556 Commits

Author SHA1 Message Date
Alex Merry
eb4e11614a Add COPYING and COPYING.LIB files
The library code is LGPL 2.1+ (most files are actually 2+), and some
examples are GPL 2+, so both these files need to be present.
2013-12-23 18:39:10 +00:00
Marco Martin
21fde267fb activityName available again 2013-12-23 17:00:15 +01:00
Marco Martin
3b24340cc8 manage the case loading is not immediate 2013-12-23 16:00:40 +01:00
Marco Martin
fba45d9360 remove dead code 2013-12-23 14:27:22 +01:00
Aurélien Gâteau
a3a9dff4a2 README.md: fix link to wiki 2013-12-20 20:36:21 +01:00
Aurélien Gâteau
e84ae95f8a Add README.md and yaml files 2013-12-20 20:11:24 +01:00
l10n daemon script
f08e427835 SVN_SILENT made messages (.desktop file) 2013-12-20 04:28:29 +00:00
Aleix Pol
d2992acfa7 Fix QObject::connect() warnings
Adapt to changes in Plasma::Corona
2013-12-19 17:31:28 +01:00
Christophe Giboudeaux
09ccb8712b Forgot to remove the line
GIT_SILENT
2013-12-19 15:39:25 +01:00
Christophe Giboudeaux
26948d0cea Fix includes 2013-12-19 15:23:02 +01:00
Christophe Giboudeaux
d71f581115 Remove unneeded includes 2013-12-19 15:23:02 +01:00
Bhushan Shah
dd6c0f6240 Remove last traces of org.kde.locale
In docs and script
2013-12-19 17:56:12 +05:30
Martin Klapetek
3e659dd29e Simply subtract the width from the edge 2013-12-19 12:53:37 +01:00
Bhushan Shah
c244f181af Fix typo 2013-12-19 17:14:27 +05:30
Àlex Fiestas
094303ee3f [popup] Use QWindow::width instead of item.boundingRect to fix X
Since we are checking if the width() is out of bounds we should also use
width() to correct the position.

Other cases might need change as well, but I think we better go in a case
by case bases to fix all possible issues.
2013-12-19 12:20:22 +01:00
l10n daemon script
1ef1693749 SVN_SILENT made messages (.desktop file) 2013-12-19 04:15:07 +00:00
Àlex Fiestas
47fe1f7497 We shouldn't take "lock widgets" from corona, but only from containment
It is up to the Containment to decide if the user is allowed or not
to lock/unluck the widgets, so corona should not add one when there is none
(user is not allow) and it shouldn't add another one when there is already
one.

Fixes duplicated action in toolbox.
2013-12-18 21:58:55 +01:00
Àlex Fiestas
cddee3cbf2 Use KActionCollection::addAction instead of add<T>
I'm not sure for what reason this was changed but it is clearly wrong,
we don't want to create a new action but rather re-add (as the hack says)
the action we took before.

Fixes "Empty action" in toolbox.
2013-12-18 21:36:28 +01:00
Aleix Pol
1e9322500f Define DNSSD as a dependency 2013-12-18 18:30:54 +01:00
Aleix Pol
32868d73d2 Revert "KDNSSD framework was renamed to DNSSD"
This reverts commit 493d19f362.

My bad, sorry guys
2013-12-18 18:26:00 +01:00
Aleix Pol
493d19f362 KDNSSD framework was renamed to DNSSD
Adapt to the change
2013-12-18 18:18:10 +01:00
l10n daemon script
c9670320ce SVN_SILENT made messages (.desktop file) 2013-12-18 04:03:19 +00:00
Sebastian Kügler
1c0f221ac5 One pixel offset needed for Fitt
The panel would be one pixel above the bottom edge, which prevents us
from using the invisible space beyond the panel. This makes the panel
flush with the bottom edge.
2013-12-18 01:38:21 +01:00
Aleix Pol
e5b435f53d Use the availableGeometry to calculate the struts
The virtualGeometry comprises all the screens and it's not what we're aiming
for in this case.
2013-12-18 01:11:30 +01:00
Aleix Pol
653d044292 Consistency
Use the thickness() method to query the thickness instead of querying
KConfig directly
2013-12-18 01:11:30 +01:00
Aleix Pol
d988b6f5da Consistency change
Deal with length like we deal with thickness
2013-12-18 01:11:30 +01:00
Alex Merry
de868b6047 Fix build now DNSSD is KDNSSD 2013-12-18 00:05:04 +00:00
Sebastian Kügler
79b7a3b271 Fix borders in dialog depending on location
- We would only check for the available screen, but not for the location
  when applying borders. Fix that.
- Cache dialog geometry when going fullscreen, so we can restore it when
  we're not fullscreen anymore.
- Remove temporary var l, we have m_location for that.
2013-12-18 00:47:09 +01:00
Sebastian Kügler
c0624d27e7 constness++ 2013-12-17 23:31:49 +01:00
Àlex Fiestas
dfcfad1182 [plasma-shell] Mute all debug output when started from autostart
This enables other developers to use journalctl/~.xsession-errors and
do not drown on warnings.

CCMAIL: plasma-devel@kde.org
2013-12-17 19:44:47 +01:00
Àlex Fiestas
c047dd5f68 [plasma-shell] Add an option to suppress any output (--shut-up)
The amount of warnings that plasma-shell has, makes it super hard to
make use of tools like journalctl or to grep ~/.xsession-errors.

We need these tools to diagnose possible bugs in the session start or
any other software that redirects stderr or those places.

We can remove this option once all the Warnings are fixed, specially
the one in Qt: https://codereview.qt-project.org/#change,73943

CCMAIL: plasma-devel@kde.org
2013-12-17 19:41:16 +01:00
Aleix Pol
8c80c1f96c Make sure we're not quitting when all screens are closed 2013-12-17 17:54:20 +01:00
David Edmundson
8c8bdbdca5 Remove debug 2013-12-17 16:54:27 +01:00
David Edmundson
a36c2787b9 Merge branch 'davidedmundson/containmentcleanup2' 2013-12-17 16:44:54 +01:00
David Edmundson
6fface8cd0 Move panels and containments to the relevant screen on screen add/remove 2013-12-17 16:43:52 +01:00
David Edmundson
68d36e4e8c Don't pernamently block signals if creating applet fails 2013-12-17 16:43:01 +01:00
David Edmundson
37840b1490 Add default screenForContainment implementation 2013-12-17 15:46:57 +01:00
Àlex Fiestas
bdbab34e21 [plasma-shell] Set plasma-shell as a Unique kind of app.
Mostly makes KLauncher not to execute a new instance if one
is already running
2013-12-17 13:00:33 +01:00
Àlex Fiestas
a9adcd8c6f [plasma-shell] Register org.kde.plasma_shell in the bus
This is needed to let KLauncher know that Plasma Shell has been
executed.
We are using plasma_shell because there is a bug in KDBusService
that prevents us from using plasma-shell. Fix is already done
but repositoiries at this very moment are frozen.
2013-12-17 13:00:33 +01:00
Sebastian Kügler
5c96de0c57 Minor cleanups in dialog.cpp 2013-12-17 05:11:50 +01:00
Sebastian Kügler
5ff0605529 Compile-time connection for dialog sizing 2013-12-17 03:54:37 +01:00
Sebastian Kügler
e352eb9157 Remove activeWindow property
This shadows and QWindow.active, so use that.
2013-12-17 03:37:32 +01:00
Sebastian Kügler
462cfdcdc7 Port from activateWindow to requestActivate 2013-12-17 03:05:16 +01:00
Sebastian Kügler
2edebc57c3 Remove windowFlags property
This is a needless duplication of the property, and it causes bugs.

Removing it, and porting all users to the flags property from QWindow
magically makes layering and resizability bugs vanish.

One problem is left: the dialog dismisses too easily, it should not
dismiss when being resized, moved or when a child dialog or QMenu opens
from it.
2013-12-17 02:39:26 +01:00
Sebastian Kügler
4c17887657 Remove hack, it does more harm than good. :/
CCMAIL:mgraesslin@kde.org
2013-12-17 02:39:10 +01:00
Sebastian Kügler
04fd5d719a Use visible property from QQuickWindow
Don't override it anymore, but react to the changed signal to do our
magic.
2013-12-17 01:21:59 +01:00
Sebastian Kügler
714042904f Abuse flags
Interestingly, this hack yields the correct behaviour in my system. We
quickly set the always on top hint once we're supposed to hide, so the
window stays on top for the duration of the animation -- without
apparent side effects on the positioning and resizability.

CCMAIL:mgraesslin@kde.org
2013-12-17 01:10:58 +01:00
David Edmundson
36e4a45377 Set the panel config to the same screen as the panel 2013-12-16 19:17:32 +01:00
David Edmundson
4336262d31 Connect to the right geometrychanged signal 2013-12-16 16:52:46 +01:00
David Edmundson
5baf0c8554 Use convenience method insertContainment in ShellCorona 2013-12-16 16:51:02 +01:00