256 Commits (d920b323bd66bc5bde3c4b9e6dca8b289bb35058)

Author SHA1 Message Date
Vlad Zagorodniy b06c1ea5a4 Move icons to data dir
Summary: We don't need them in the toplevel directory.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18771
6 years ago
David Edmundson f3060723e1 [kcmkwin/kwinrules] Don't include kdeglobals in rules config
Summary:
There's nothing relevant in kdeglobals and loading it can lead to noise
when deleting groups that override a system default.

We still cascade which will allow kiosk keys to work as well as relevant
system defaults.

Import/Export is unchanged as that already uses SimpleConfig which
includes this flag.

I don't know if it will fix the relevant issue in the bug or just
reduce noise.

CCBUG: 402139

Test Plan: Compiled.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17645
6 years ago
Bhushan Shah 533f43ad02 Make it easier to debug the virtualkeyboard
Summary:
Provide the important debug messages which can be used to debug why
virtualkeyboard is not starting.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17454
6 years ago
Laurent Montel 24f57310ba Use new syntax 6 years ago
David Edmundson a3cff85e7a Remove Qt module declarations in includes
Summary:
Test Plan: Compiles

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13359
6 years ago
Martin Flöser 8ae37c420b Move SceneOpenGL into a dedicated plugin
Summary:
Unfortunately a rather large change which required more refactoring than
initially expected. The main problem was that some parts needed to go
into platformsupport so that the platform plugins can link them. Due to
the rather monolithic nature of scene_opengl.h a few changes were
required:
* SceneOpenGL::Texture -> SceneOpenGLTexture
* SceneOpenGL::TexturePrivate -> SceneOpenGLTexturePrivate
* texture based code into dedicated files
* SwapProfiler code into dedicated files
* SwapProfiler only used in x11 variants
* Safety checks for OpenGL scene moved into the new plugin
* signal declared in SceneOpenGL moved to Scene, so that we don't need
to include SceneOpenGL in composite

Test Plan: Nested OpenGL compositor works

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7740
7 years ago
Martin Flöser 535b107969 Move QPainter compositor into plugin
This change is similar to D7232 and moves the scene_qpainter into a
dedicated plugin. Compared to the XRender case it's more complicated as
the platform plugins need to implement a platform specific backend.

The base implementation for this part used to be in scene_qpainter. As
the idea is to completly move it away from KWin core it would be point
less to still have the backend definition in KWin core, but it cannot
be in the scene plugin as otherwise all platforms need to link the
plugin.

To solve this a new platformsupport subdirectory is added which contains
the scene platform backend as a static library. For the OpenGL scene such
a static library will also be required.

Test Plan: SceneQPainter test still passes, nested compositor still works

Reviewers: #kwin, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7259
7 years ago
Martin Flöser 054d923411 Move SceneXRender into a plugin
Summary:
First step for loading the compositor Scenes through plugins. The general
idea is that we currently needlessly pull in all the Scenes although only
one will be used.

E.g. on X11 we pull in QPainter, although they are not compatible. On
Wayland we pull in XRender although they are not compatible.

Furthermore our current Scene creation strategy is not really fault
tolerant and can create situations where we don't get a compositor. E.g
on fbdev backend the default settings won't work as it does not support
OpenGL.

Long term I want to tackle those conceptional problems together:
we try to load all plugins supported by the current platform till we have
a scene which works. Thus on Wayland we don't end up in a situation where
we don't have a working compositor because the configuration is bad.

To make this possible the switch statement in the Scene needs to go and
needs to be replaced by a for loop iterating over all the available
scenes on the platform. If we go there it makes sense to replace it
directly with a plugin based approach.

So this is a change which tackles the problem by first introducing the
plugin loading. The xrender based scene (as it's the most simple one)
is moved into a plugin. It is first tried to find a scene plugin and only
if there is none the existing code is used.

Test Plan: Tested all scenes

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7232
7 years ago
Martin Flöser ddf3536f19 Drop Client::cap_deco as it's nowhere used
Summary:
cap_deco was only used in the caption with stripped arg case which was
unused and thus removed. Now cap_deco is completely unused.

Due to that we can also remove the stripped client script which only
manipulated the cap_deco.

Test Plan: Compiles

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7077
7 years ago
Martin Gräßlin dce3ea6a20 [plugins/qpa] Add debug output for the KWin internal QPA plugin
Reviewed-By: bshah
8 years ago
Martin Gräßlin e5648dcf4c [plugins/platforms] Dedicated logging category for X11 standalone platform 9 years ago
Martin Gräßlin 2205c98ec2 Introduce dedicated debug category for everything xkbcommon related 9 years ago
Martin Gräßlin bffbbce172 [scripting] Add dedicated logging category 9 years ago
Martin Gräßlin 09880d1267 [decorations] Introduce logging category for decorations 9 years ago
Martin Gräßlin 910c49959a [tabbox] Add dedicated logging category for TabBox 9 years ago
Martin Gräßlin fe28ca1d8a [libinput] Add dedicated logging category for libinput 9 years ago
Martin Gräßlin 57c521c214 [libkwineffects] Introduce logging categories for libkwineffects 9 years ago
Martin Gräßlin f7d317601e Install a categories file for kdebugsettings
Instead of setting our own filter rules we install a categories file
to allow to configure them. This seems to still have them enabled by
default, but should at least give distributions the possibility to
disable logging by default.
9 years ago
Martin Gräßlin c9c81267d2 [data] Rename kwin_update_default_rules to kwin5_update_default_rules
Rename is for better coinstallability. It makes sense to support both
versions as kwin4 and kwin5 use different config file paths.
11 years ago
Martin Gräßlin 3f2da48925 [data] Drop pop.wav
Not referenced from anywhere in the code base.

Run git grep -i pop.wav without any result.
11 years ago
Martin Gräßlin 4a79cec8a6 Drop hacks and default rule for XV
Apparently it's not about mplayer but about XV [1], not really a relevant
application nowadays which would be important enough for having hacks.

REVIEW: 117479

[1] https://en.wikipedia.org/wiki/Xv
11 years ago
l10n daemon script e6db000065 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script eef56c98b2 SVN_SILENT made messages (.desktop file) 11 years ago
Bhushan Shah bdb6854a57 kde4support--
REVIEW: 115150
11 years ago
l10n daemon script 22a5e1109f SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin b7f3f582e3 [kwin] Re-enable build of kwin_update_default_rules
Currently using KDE4Support, needs more proper porting. Tool works,
installs the kwin rule.
11 years ago
Martin Gräßlin 8c0fe2ad41 [kwin] Clean up data directory
We do not provide a config update path from anything older than
4.11 to 5.0. This means we can remove all the kconfig update tools
leading to 4.11.
11 years ago
Laurent Navet 88fc43beeb kwin : replace Q_FOREACH with for(a:b)
replace Q_FOREACH loops with newer for (a:b) notation

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>

REVIEW: 114222
11 years ago
Aleix Pol 7b110f0671 Improve CMake usage
It's basically a run of the port-cmake.sh script in here, mostly the changes
are the following:
- Using KF5::* targets
- Using the proper macros, following recent developments in frameworks
11 years ago
l10n daemon script 0796a306c9 SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin 57905c0cc2 And we got rid of KDebug
Usages of kBacktrace got dropped.
11 years ago
Anselmo L. S. Melo c9b079e628 Porting kwin main, data and compositingprefs to Qt5/KF5: QStandardPaths
REVIEW: 111971
11 years ago
Thomas Lübking 93ef0226ba add configRequest rule update
REVIEW: 111193
11 years ago
l10n daemon script 622a3de04c SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin 98a04893a6 Use mgraesslin@kde.org for my mail address in Copyright and AboutData 12 years ago
Martin Gräßlin 3809f58dbb Store multiple shortcuts separated by " - " instead of space
Space is a valid shortcut part. E.g. "Volume Up".

KConfig update script for 4.11 is added to migrate existing and erroneous
rules taking into account that space is a valid key.

BUG: 305434
FIXED-IN: 4.11
REVIEW: 108942
12 years ago
Script Kiddy 9af0232217 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 1338bc83b2 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy dad894d830 SVN_SILENT made messages (.desktop file) 12 years ago
Thomas Lübking e2db836def Merge branch 'KDE/4.10'
Conflicts:
	kwin/client.cpp
12 years ago
Thomas Lübking a7066aa3e2 do not remove leading special chars
According to Mozilla docu only [^A-Za-z0-9_] is considered
a Word character - yeah :-(
12 years ago
Thomas Lübking e642c5cb9d Use the NULL Uuid instead of "ALL"
to indicate "on all activities"

REVIEW: 107855
12 years ago
Script Kiddy 3cddfdecff SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy a2c44c29f4 SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy 12f341712c SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy d7316b9fcb SVN_SILENT made messages (.desktop file) 12 years ago
Script Kiddy ef0cae8dab SVN_SILENT made messages (.desktop file) 12 years ago
Martin Gräßlin e66eb08140 Migration for Translucency Settigns
Translucency configuration values changed from [0.0,1.0] to [0,100].
12 years ago
Thomas Lübking 03d782fa73 scripted title manipulation / stripping
REVIEW: 106896
BUG: 308995
12 years ago
Martin Gräßlin 18acfc4436 Plastik theme for Aurorae replaces the classic Plastik
* Update script to migrate Plastik users to Aurorae
* Plastik QML renamed to Plastik
* Old Plastik is dropped
12 years ago