and I don't see the point in resetting the shape every time in paintEvent().
Partially fixes resizing problems with Qt4.4.
svn path=/trunk/KDE/kdebase/workspace/; revision=782673
qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header.
svn path=/trunk/KDE/kdebase/workspace/; revision=770116
This might solve a crash but since i couldn't confirm the crash in the
first place i cannot say for sure.
svn path=/trunk/KDE/kdebase/workspace/; revision=765464
svn path=/trunk/KDE/kdebase/workspace/; revision=755848
The following changes were in SVN, but were removed from git:
M wallpapers/Won-Ton-Soup-3.jpg.desktop
Last optimization has been done almost two years ago. There a lot of new files in trunk (e.g all Oxygen stuff).
It's not the correct time to do that again (before the release).
This run saves again around 10MB of diskspace without any restrictions.
svn path=/trunk/KDE/kdebase/workspace/; revision=755647
The following changes were in SVN, but were removed from git:
M wallpapers/plasma-default.png
svn path=/trunk/KDE/kdebase/workspace/; revision=755334
The following changes were in SVN, but were removed from git:
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/Totally-New-Product-1.jpg.desktop
M wallpapers/Won-Ton-Soup-3.jpg.desktop
M wallpapers/alta-badia.jpg.desktop
M wallpapers/andes-venezolanos.svgz.desktop
M wallpapers/aurora.svgz.desktop
M wallpapers/blue-bend.jpg.desktop
M wallpapers/celtic.svgz.desktop
M wallpapers/default_gears.jpg.desktop
M wallpapers/floating-leaves.jpg.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/konqui.svgz.desktop
M wallpapers/lineart.svgz.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/plasma-default.png.desktop
M wallpapers/seaofconero.jpg.desktop
M wallpapers/soft-green.jpg.desktop
M wallpapers/stelvio.jpg.desktop
M wallpapers/sunshine-after-the-rain.jpg.desktop
M wallpapers/triplegears.jpg.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=754155
The following changes were in SVN, but were removed from git:
M wallpapers/lineart.svgz.desktop
line of code left from his original skeleton, and the copyright only
requires the copyright to be maintained when substantial parts are
copied - which is no longer the case
svn path=/trunk/KDE/kdebase/workspace/; revision=753433
svn path=/trunk/KDE/kdebase/workspace/; revision=752700
The following changes were in SVN, but were removed from git:
M wallpapers/Chicken-Songs-2.jpg.desktop
M wallpapers/Time-For-Lunch-2.jpg.desktop
M wallpapers/Totally-New-Product-1.jpg.desktop
M wallpapers/default_blue.jpg.desktop
M wallpapers/default_gears.jpg.desktop
M wallpapers/floating-leaves.jpg.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/kde_box.png.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/plasma-default.png.desktop
M wallpapers/soft-green.jpg.desktop
M wallpapers/sunshine-after-the-rain.jpg.desktop
M wallpapers/triplegears.jpg.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=752330
The following changes were in SVN, but were removed from git:
M wallpapers/All-Good-People-1.jpg.desktop
M wallpapers/plasma-default.png.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=751145
The following changes were in SVN, but were removed from git:
M wallpapers/plasma-default.png.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=750401
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/Totally-New-Product-1.jpg.desktop
M wallpapers/Won-Ton-Soup-3.jpg.desktop
M wallpapers/alta-badia.jpg.desktop
M wallpapers/andes-venezolanos.svgz.desktop
M wallpapers/aurora.svgz.desktop
M wallpapers/blue-bend.jpg.desktop
M wallpapers/celtic.svgz.desktop
M wallpapers/default_blue.jpg.desktop
M wallpapers/default_gears.jpg.desktop
M wallpapers/floating-leaves.jpg.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/kde_box.png.desktop
M wallpapers/konqui.svgz.desktop
M wallpapers/lineart.svgz.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/seaofconero.jpg.desktop
M wallpapers/soft-green.jpg.desktop
M wallpapers/stelvio.jpg.desktop
M wallpapers/sunshine-after-the-rain.jpg.desktop
M wallpapers/triplegears.jpg.desktop
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
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
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
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
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
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
by not loading the support libraries and the complete kdelibs stack it depends
on. Gdb taking 0.5M and lousy handling of near-OOM in Linux kernel
can be a pretty bad combination :(.
svn path=/trunk/KDE/kdebase/workspace/; revision=741856
svn path=/trunk/KDE/kdebase/workspace/; revision=741240
The following changes were in SVN, but were removed from git:
M wallpapers/plasma-default.png.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=740393
The following changes were in SVN, but were removed from git:
M wallpapers/plasma-default.png.desktop
painting on a QImage instead of on a QPixmap. Qt bug?
- Disable custom drawbounds code for now, so that KWin can at least draw its
own.
svn path=/trunk/KDE/kdebase/workspace/; revision=739999
svn path=/trunk/KDE/kdebase/workspace/; revision=739529
The following changes were in SVN, but were removed from git:
M wallpapers/Totally-New-Product-1.jpg.desktop
M wallpapers/blue-bend.jpg.desktop
M wallpapers/celtic.svgz.desktop
M wallpapers/default_blue.jpg.desktop
M wallpapers/floating-leaves.jpg.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/kde_box.png.desktop
M wallpapers/lineart.svgz.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/plasma-default.png.desktop
M wallpapers/soft-green.jpg.desktop
M wallpapers/sunshine-after-the-rain.jpg.desktop
to support XOR painting only when XRender is available. Given that
outline should be mainly used with older systems, go for a DIY Xlib-based
solution. Needs changes in decorations using it.
BUG: 149997
svn path=/trunk/KDE/kdebase/workspace/; revision=739136
svn path=/trunk/KDE/kdebase/workspace/; revision=739007
The following changes were in SVN, but were removed from git:
M wallpapers/triplegears.jpg.desktop
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords
svn path=/trunk/KDE/kdebase/workspace/; revision=737278
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/Totally-New-Product-1.jpg.desktop
M wallpapers/Won-Ton-Soup-3.jpg.desktop
M wallpapers/alta-badia.jpg.desktop
M wallpapers/andes-venezolanos.svgz.desktop
M wallpapers/aurora.svgz.desktop
M wallpapers/blue-bend.jpg.desktop
M wallpapers/celtic.svgz.desktop
M wallpapers/default_blue.jpg.desktop
M wallpapers/default_gears.jpg.desktop
M wallpapers/floating-leaves.jpg.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/kde_box.png.desktop
M wallpapers/konqui.svgz.desktop
M wallpapers/lineart.svgz.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/plasma-default.png.desktop
M wallpapers/seaofconero.jpg.desktop
M wallpapers/soft-green.jpg.desktop
M wallpapers/stelvio.jpg.desktop
M wallpapers/sunshine-after-the-rain.jpg.desktop
M wallpapers/triplegears.jpg.desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=734544
The following changes were in SVN, but were removed from git:
M wallpapers/kde_box.png.desktop
M wallpapers/plasma-default.png.desktop
changing this signature in reimplementations, as -Woverloaded-virtual is
not in default flags :(.
svn path=/trunk/KDE/kdebase/workspace/; revision=731695
Fiddle with metrics of buttons ad text a bit
We are mostly done with win dec now - Only hover on buttons missing
svn path=/trunk/KDE/kdebase/workspace/; revision=726799
Prepare for caching of those colors - doesn't connect to actual KGS
signal yet - so are never invalidated
svn path=/trunk/KDE/kdebase/workspace/; revision=726729
As a side effect, the x now resizes to match the button size.
- Render the help "?" character slightly larger.
svn path=/trunk/KDE/kdebase/workspace/; revision=725374
drawText. This means the help button has better scalability, and it
actually draws correctly on composited displays.
Redone the button height calculation to better match the 3.x version.
TODO: the sticky and close buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=724399