Martin Gräßlin
015ebd7539
Disable XEvent filter in tabbox/declarative.(h|cpp)
...
Needs proper porting.
2013-07-24 09:58:41 +02:00
Martin Gräßlin
e32635fb2e
QMatrix4x4 does no longer wrap qreal
2013-07-24 09:58:41 +02:00
Martin Gräßlin
330d40f425
Fix no cast to/from ASCII intrduced issues
...
* "" needs to be wrapped in QStringLiteral
* QString::fromUtf8 needed for const char* and QByteArray
* QByteArray::constData() needed to get to the const char*
2013-07-24 09:58:33 +02:00
Martin Gräßlin
d45d900dc5
Fix includes in main.cpp
2013-07-24 09:47:04 +02:00
Martin Gräßlin
7bd76ca360
KAboutData -> K4AboutData for porting
2013-07-24 09:47:04 +02:00
Martin Gräßlin
ea5c23d530
Adjust methods in KWinSelectionOwner to changes in KF5
2013-07-24 09:47:03 +02:00
Martin Gräßlin
2b80b3b398
Disable detection of ksmserver in sessionmanagement for porting
2013-07-24 09:47:03 +02:00
Martin Gräßlin
0baeb39164
Port KXMessages to new ctor call
2013-07-24 09:47:03 +02:00
Martin Gräßlin
f210d42d14
Disable Shadow System for porting
...
Shadow system needs to change to not pass XPixmap handles around. That
was handy in Qt 4 but is difficult in both Widget Style and KWin in Qt5.
2013-07-24 09:47:03 +02:00
Martin Gräßlin
65321cf4e5
Drop qtBefore483() helper method
...
No longer needed with Qt 5.
2013-07-24 09:47:03 +02:00
Martin Gräßlin
4425fd3de9
insertCatalog() needs porting
2013-07-24 09:47:03 +02:00
Martin Gräßlin
c2afbcbd87
Disable the x11ErrorHandler for the porting
2013-07-24 09:47:03 +02:00
Martin Gräßlin
8dd61fdc53
Introduce a define to mark code areas which need porting
2013-07-24 09:47:02 +02:00
Martin Gräßlin
a516cf3c11
Drop KWinApplication::x11EventFilter(XEvent*)
...
Does no longer exist in Qt 5. Needs to be replaced.
2013-07-24 09:47:02 +02:00
Martin Gräßlin
11dd05425e
Plasma::Theme does no longer provide a global static theme
...
Need to hold a pointer instead.
2013-07-24 09:47:02 +02:00
Martin Gräßlin
6a91650fa8
Plasma::WindowEffects becomes KWindowEffects
...
We should still aks our own effect system instead of kdelibs...
2013-07-24 09:47:02 +02:00
Martin Gräßlin
1d2c2d5982
Use Q_SLOTS and Q_SIGNALS instead of slots and signals
...
Fixes compilation with Qt5/KF5 setup.
2013-07-24 09:46:54 +02:00
Martin Gräßlin
7d25f2a858
Drop Compositor::restartKWin
...
No longer needed as we don't need to switch the graphics system any more.
2013-07-24 09:46:54 +02:00
Martin Gräßlin
2f9ff5591c
Drop support for native graphics system
...
Qt 5 only supports raster which means our pixmaps are always non native,
so we don't need the Extension information any more and can drop all
special code handling for mapping a native QPixmap to an X11 pixmap.
2013-07-24 09:46:54 +02:00
Martin Gräßlin
e479cfb156
Enable C++11 globally
2013-07-24 09:46:54 +02:00
l10n daemon script
f433daf0cb
SVN_SILENT made messages (.desktop file)
2013-07-24 06:42:52 +00:00
l10n daemon script
25c88fca98
SVN_SILENT made messages (.desktop file)
2013-07-24 04:07:39 +00:00
Casian Andrei
54ee2bf564
Fix many color correction problems with OpenGL ES
...
On GLES, check for OES_texture_3D extension for color correction
Remove a block of ugly hack code that was supposedly needed to build
with OpenGL ES.
Convert the lookup texture data to uint8 on OpenGL ES before sending it
via glTexImage3D, because uint16 is not supported.
Check if the shaders have been reinitialized successfuly when trying to
activate color correction, prevent black screens when there are issues
with the shaders.
BUG: 315419
REVIEW: 111225
2013-07-23 19:48:47 +03:00
l10n daemon script
467b772a90
SVN_SILENT made messages (.desktop file)
2013-07-21 04:08:51 +00:00
Weng Xuetian
f876fe6a84
Merge branch 'KDE/4.11'
2013-07-20 07:57:12 -04:00
l10n daemon script
52461e5885
SVN_SILENT made messages (.desktop file)
2013-07-20 06:40:25 +00:00
Thomas Lübking
84b92a53d3
Merge branch 'KDE/4.11'
2013-07-19 22:20:16 +02:00
Thomas Lübking
04aa9e9531
rather omit lanczos than capping windows
...
capping shadows is seen as bug (and is ugly and
because of the non lanczos transition causes visual
flicker) so if the window+shadows extends the buffer,
lanczos is simply not possible.
BUG: 314838
FIXED-IN: 4.11
REVIEW: 111425
2013-07-19 22:18:49 +02:00
Thomas Lübking
674a1a051f
fix logout effect shaderfile locations
...
CCBUG: 322136
REVIEW: 111600
2013-07-19 22:18:14 +02:00
Thomas Lübking
141e57e725
Merge branch 'KDE/4.11'
2013-07-19 21:23:54 +02:00
Thomas Lübking
7f858da008
ignore unredirection configuration on intel
...
the only thing it does on these systems is cause users
trouble because usually when there's a client where
unredirection makes sense, that uses OpenGL - and then
things break in the driver.
CCBUG: 252817
REVIEW: 111476
2013-07-19 21:20:12 +02:00
Thomas Lübking
f97fa509ae
align initial slider and desscription
...
BUG: 322522
FIXED-IN: 4.11
REVIEW: 111565
2013-07-19 21:19:49 +02:00
Thomas Lübking
8406aebda8
trigger quick tiling on edges of maximize area
...
screen area can be inacecssible due to panels
BUG: 322493
FIXED-IN: 4.11
REVIEW: 111556
2013-07-19 21:19:26 +02:00
Thomas Lübking
d9b567699c
connect shortcut editor changed signal
...
BUG: 322441
FIXED-IN: 4.11
REVIEW: 111550
2013-07-19 21:19:02 +02:00
Thomas Lübking
55daad4d68
sanitize screenedge activation timer logics
...
The logics relied on a static timout to arm the timer:
when last successfull activation had been longer ago than 250ms.
We now cap the configured reactivation timeout at min 250m
guessing that this was somehow supposed as well by this.
BUG: 322057
FIXED-IN: 4.11
REVIEW: 111549
2013-07-19 21:17:33 +02:00
Thomas Lübking
b6c4f0a7fb
fake mouse move to unhover close window on hide
...
BUG: 322260
FIXED-IN: 4.11
REVIEW: 111538
2013-07-19 21:17:16 +02:00
Thomas Lübking
287acae1db
handle closebutton arm state inside effect only
...
the enabled/disabled change is a useless distraction
implicitly fixes
BUG: 321810
FIXED-IN: 4.11
REVIEW: 111538
2013-07-19 21:16:44 +02:00
Thomas Lübking
0f57c9407a
depend titlebar protection dir pref on cap dir
...
when visualPixels is not 0, this means the titlebar does
not touch an upper/lower border, thus moving that direction
is ok and protection should be sought horizontally
BUG: 322507
FIXED-IN: 4.11
REVIEW: 111573
2013-07-19 21:16:15 +02:00
Thomas Lübking
02ed20662d
prevent shrinking away titlebar f. bottom corners
...
it's the same condition as shriking away from plain edges
(one can resize exclusively in that direction as well)
REVIEW: 111573
2013-07-19 21:14:43 +02:00
Martin Gräßlin
93e2ce4bfd
Use QVector instead of QList for the list of active effects
...
We only append to the list, so the advantage of insertion into QList
does not matter.
Thanks to Milian Wolff to point this out in his Akademy talk [1] and for
pointing me to Marc Mutz blog post [2] discussing this topic and
recommending the usage of QVector over QList.
[1] http://milianw.de/files/apps-on-speed-akademy2013/index.html
[2] http://marcmutz.wordpress.com/effective-qt/containers/
REVIEW: 111597
2013-07-19 16:03:50 +02:00
Martin Gräßlin
13ad458cca
Use const_iterators for our Effect iterators
...
We never modify the list, so we don't need the mutuable iterator. This
ensures that the data doesn't get detached.
2013-07-19 16:03:50 +02:00
Jekyll Wu
b0029cf609
Merge branch 'KDE/4.11'
2013-07-19 15:18:38 +08:00
Martin Gräßlin
4ab0a6a223
Disable lanczos filter also for SandyBridge on Mesa 9.1
...
Debian gave me an update to 9.1 and I started feeling the pain...
Mesa 9.2 works fine on the same hardware.
REVIEW: 111558
2013-07-18 16:02:38 +02:00
Christophe Giboudeaux
8ae23e7d89
Merge remote-tracking branch 'origin/KDE/4.11'
2013-07-18 00:07:47 +02:00
l10n daemon script
2fc1ae684b
SVN_SILENT made messages (.desktop file)
2013-07-14 06:59:57 +00:00
l10n daemon script
7bd89eb6ee
SVN_SILENT made messages (.desktop file)
2013-07-14 04:16:47 +00:00
Sergio Martins
c1b93317fa
Merge branch 'KDE/4.11'
2013-07-13 15:43:30 +01:00
l10n daemon script
88e8e01ea7
SVN_SILENT made messages (.desktop file)
2013-07-13 06:44:24 +00:00
l10n daemon script
e02722e034
SVN_SILENT made messages (.desktop file)
2013-07-13 03:58:16 +00:00
Montel Laurent
185d9306d0
Fix order
2013-07-12 18:25:57 +02:00