Commit graph

4490 commits

Author SHA1 Message Date
Script Kiddy
44bd0185ec SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=749502
2007-12-17 09:08:13 +00:00
Aurélien Gâteau
35eff66c1f One less double margin.
svn path=/trunk/KDE/kdebase/workspace/; revision=749474
2007-12-17 08:26:19 +00:00
Rivo Laks
bb6d6bb9fe s/serialNumber/cacheKey/ (serialNumber() is obsolete)
svn path=/trunk/KDE/kdebase/workspace/; revision=749195
2007-12-16 19:40:00 +00:00
Rivo Laks
6827a0cc32 For some reason the icon caching doesn't work here so let's just disable it for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=749165
2007-12-16 18:31:33 +00:00
Rivo Laks
7515cc8e0e Repaint filter box area when filter is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=749110
2007-12-16 14:43:28 +00:00
Script Kiddy
072cfc7597 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=749000

The following changes were in SVN, but were removed from git:

M	wallpapers/plasma-default.png.desktop
2007-12-16 07:57:44 +00:00
Script Kiddy
18a41ac9f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=748723

The following changes were in SVN, but were removed from git:

M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/seaofconero.jpg.desktop
2007-12-15 08:25:51 +00:00
Luboš Luňák
5bc01ac817 Prevent transient loops also when caused by 'this' (which doesn't have
the new value set yet).
BUG: 153360


svn path=/trunk/KDE/kdebase/workspace/; revision=748511
2007-12-14 17:29:19 +00:00
Rivo Laks
213833fc7f Finally make the bloody blur effect work properly.
This fixes the artefacts appearing when only part of the screen is updated.
This version also brings ton of optimizations which might well increase performance
  2 or 3 times on slower cards:
- Windows are not drawn twice anymore. Now they're drawn only to render target and
  later changed parts of the render target are copied back onto screen.
- Shaders have been optimized. Some calculations moved from pixel shader to vertex shader.
- For ARGB windows, if window's opacity is 0 then it will stay transparent instead of being
  replaced by blurred background.
- Blur effect should now play nicer with other effects, e.g. shadows.

svn path=/trunk/KDE/kdebase/workspace/; revision=748502
2007-12-14 16:57:38 +00:00
Luboš Luňák
eba221d0a3 The effect is now in builtins.
BUG: 153280


svn path=/trunk/KDE/kdebase/workspace/; revision=748499
2007-12-14 16:55:02 +00:00
Script Kiddy
fb3dcab543 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=748324
2007-12-14 07:53:43 +00:00
Marijn Kruisselbrink
e185ec3c8b fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/; revision=748283
2007-12-14 01:38:32 +00:00
Script Kiddy
18ac3ed822 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=747533

The following changes were in SVN, but were removed from git:

M	wallpapers/kde_box.png.desktop
2007-12-12 09:03:36 +00:00
Script Kiddy
0c4db5b807 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=747146
2007-12-11 07:44:45 +00:00
Adriaan de Groot
9ff9f6ce22 Disambiguating ints and unsigned and float and double
svn path=/trunk/KDE/kdebase/workspace/; revision=747016
2007-12-10 20:43:13 +00:00
Thomas Zander
539275e0df BUG:153554
Make the checkbox a tri-state when not all items it represents were selected

svn path=/trunk/KDE/kdebase/workspace/; revision=746970
2007-12-10 19:04:21 +00:00
Script Kiddy
17f98d07ae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746783
2007-12-10 07:48:53 +00:00
Urs Wolfer
d55f9438c6 fix icon
svn path=/trunk/KDE/kdebase/workspace/; revision=746715
2007-12-09 23:08:18 +00:00
Script Kiddy
be95c017fb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746474

The following changes were in SVN, but were removed from git:

M	wallpapers/plasma-default.png.desktop
2007-12-09 07:38:20 +00:00
Luboš Luňák
0a59114c43 I suppose black looks better on places where there's nothing at all.
svn path=/trunk/KDE/kdebase/workspace/; revision=746328
2007-12-08 17:58:24 +00:00
Luboš Luňák
0b2a40e150 Act on KeyPress, not KeyRelease, the release may come
from the activating shortcut.


svn path=/trunk/KDE/kdebase/workspace/; revision=746327
2007-12-08 17:57:53 +00:00
Rivo Laks
864dea425e Reworked shadow effect which should bring nice speedup (especially on cards where fill
rate is expensive).
It optimizes shadow rendering a lot by eliminating tons of overdraw:
- Windows are not forced to be drawn bottom-to-top anymore.
- For opaque windows, shadows are drawn only to where they will actually be visible, not
  under the whole window.

svn path=/trunk/KDE/kdebase/workspace/; revision=746296
2007-12-08 16:24:48 +00:00
Laurent Montel
881fd48854 Don't add slot which doesn't exist
svn path=/trunk/KDE/kdebase/workspace/; revision=746266
2007-12-08 13:55:13 +00:00
Laurent Montel
9f993fa74a Wordwrap text
svn path=/trunk/KDE/kdebase/workspace/; revision=746263
2007-12-08 13:44:44 +00:00
Script Kiddy
2e0197548a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746193

The following changes were in SVN, but were removed from git:

M	wallpapers/plasma-default.png.desktop
2007-12-08 07:43:54 +00:00
Rivo Laks
bd19b6dc45 Add EffectWindow::shape()
svn path=/trunk/KDE/kdebase/workspace/; revision=746064
2007-12-07 18:03:24 +00:00
Rivo Laks
be3271c8e0 Fix problem with partial repaints when effect's prePaintWindow() expands paint region.
Also rework the code a bit to simplify it and make it more comprehensible (IMHO).

svn path=/trunk/KDE/kdebase/workspace/; revision=746050
2007-12-07 17:03:59 +00:00
Luboš Luňák
3b2b091c34 Make a clear distinction between types we support only for compositing
and types that are actually supported when managing windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=746036
2007-12-07 15:53:43 +00:00
Urs Wolfer
1df5accf3e warnings--
svn path=/trunk/KDE/kdebase/workspace/; revision=745676
2007-12-06 19:46:09 +00:00
Luboš Luňák
f751d02384 Enable buttons correctly at startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=745636
2007-12-06 17:23:13 +00:00
Matthew Woehlke
e21a0778fd Three changes; fix two bugs, migrate plastik.cpp to KColorUtils/KColorScheme way of handling colors (and away from misc.cpp)
bug - add +2 to titleBarTileHeight in PlastikHandler::pixmap, this fixes the pixmap not being tall enough (it seems between 3.5 and 4.0 the titlebar is being drawn two pixels taller; this fixes the symptom, not the cause, which I didn't find)

bug - porting error on my part had an extra stop in the titlebar gradient, changing the appearance; remove the extra stop

TODO: find and correct the real cause?
TODO: port other code away from misc.cpp and then kill misc.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=745163
2007-12-05 16:05:04 +00:00
Script Kiddy
78bbe3d833 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=745035

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
2007-12-05 07:44:57 +00:00
Casper Boemann
b09357e1b0 Don't draw resize handles on windows that aren't resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=744065
2007-12-02 16:38:38 +00:00
Script Kiddy
be1ae53757 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743871

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-12-02 08:04:51 +00:00
Rivo Laks
6ac0b970ad Add to Systemsettings, to Look&Feel->Desktop category
svn path=/trunk/KDE/kdebase/workspace/; revision=743604
2007-12-01 13:04:53 +00:00
Script Kiddy
ec0d6d0ef2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743500

The following changes were in SVN, but were removed from git:

M	wallpapers/plasma-default.png.desktop
2007-12-01 07:41:49 +00:00
Script Kiddy
962b966230 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743229
2007-11-30 07:55:45 +00:00
Luboš Luňák
daf1fbd23e Add spacers before the close button to make it stand alone,
but don't alter the layout otherwise.


svn path=/trunk/KDE/kdebase/workspace/; revision=743055
2007-11-29 19:28:07 +00:00
Luboš Luňák
cefbf62136 I'm quite sure these in fact do support spacers.
svn path=/trunk/KDE/kdebase/workspace/; revision=743036
2007-11-29 18:41:23 +00:00
Luboš Luňák
59e845e4e6 Make width of titlebar spacers default to half width of normal buttons,
not some random tiny sizes or even zero. Maybe could need small tweaking
here or there, but a spacer is supposed to make at least some space.


svn path=/trunk/KDE/kdebase/workspace/; revision=743034
2007-11-29 18:37:52 +00:00
Matthew Woehlke
3efc18c3b9 use new AbilityColor* in all kdebase windecos (except kwmtheme which doesn't seem to have a supports() even, and reportedly is not built)
svn path=/trunk/KDE/kdebase/workspace/; revision=743029
2007-11-29 18:02:20 +00:00
Matthew Woehlke
36850bd14a use new AbilityAnnounceColor
svn path=/trunk/KDE/kdebase/workspace/; revision=743016
2007-11-29 17:14:26 +00:00
Matthew Woehlke
529611c662 Add AbilityAnnounceColors and AbilityColor* abilities to kwin decorations; this way clients can say what colors they support for the benifit of the color kcm (and anyone else that might need to know?)
svn path=/trunk/KDE/kdebase/workspace/; revision=743015
2007-11-29 17:13:15 +00:00
Matthew Woehlke
21433fbb26 NUM_COLORS is internal and might be changed, document it thusly
svn path=/trunk/KDE/kdebase/workspace/; revision=743012
2007-11-29 17:01:14 +00:00
Matthew Woehlke
e3c96063ca SVN_SILENT: --trailing whitespace (so no fighting with kate, or gunk in my next commits)
svn path=/trunk/KDE/kdebase/workspace/; revision=743010
2007-11-29 17:00:27 +00:00
Luboš Luňák
fc23037d3a Add missing license headers. Some files mentioned only copyright
but not explicitly the license, there I assumed they're licensed
under the same license as the rest of KWin, which is GPLv2+ as of now.
CC-ing all people mentioned as copyright holders just in case
somebody wants some other license, e.g. the X11 license KWin used
to be licensed under until KDE3.2. Please check with other relevant
contributors and change accordingly in such case.
CCMAIL: Karol Szwed <gallium@kde.org>
CCMAIL: Luciano Montanaro <mikelima@cirulla.net>
CCMAIL: Sandro Giessl <sandro@giessl.com>
CCMAIL: Daniel M. Duley <mosfet@kde.org>
CCMAIL: Chris Lee <clee@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742990
2007-11-29 15:32:50 +00:00
Luboš Luňák
9621df24f5 Add missing license headers.
CCMAIL:Casper Boemann <cbr@boemann.dk>
CCMAIL:Riccardo Iaconelli <riccardo@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742988
2007-11-29 15:22:10 +00:00
Luboš Luňák
60e904fb04 Don't refuse explicit window activation request just because the window
is not on the current desktop.


svn path=/trunk/KDE/kdebase/workspace/; revision=742984
2007-11-29 15:01:30 +00:00
Luboš Luňák
9cae215d63 Maybe later, if somebody will feel like it, too late for KDE4 I think.
svn path=/trunk/KDE/kdebase/workspace/; revision=742977
2007-11-29 14:13:02 +00:00
Luboš Luňák
0170623a9c Separate KCommonDecoration from KDecoration, in order to allow
greater possibilities in extending KDecoration. KCommonDecoration
now does not inherit KDecoration, only wraps it (i.e. it's source
compatible). Added comments on how to extend KDecoration
in the future by subclassing to KDecoration2, added PORTING
document with all API changes in KDE4.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742976
2007-11-29 14:11:02 +00:00