Commit graph

3458 commits

Author SHA1 Message Date
David Faure
16c9f2f228 Patch by Roberto Raggi to replace show reimplementations with showEvent or setVisible, since show isn't virtual in Qt4.
svn path=/trunk/KDE/kdebase/workspace/; revision=646824
2007-03-26 18:51:43 +00:00
Oswald Buddenhagen
3ee016f50d KProcess -> K3Process
KShellProcess -> K3ShellProcess
KProcIO -> K3ProcIO
KProcessController -> K3ProcessController

not deprecating, as we don't have a replacement yet.
not moving yet, as kdelibs still has heavy dependencies on it.

agreed upon with dfaure.


svn path=/trunk/KDE/kdebase/workspace/; revision=646732
2007-03-26 15:07:10 +00:00
Andreas Hartmetz
de2b3a656f pointer out-parameters for functions in kdelibs/kdeui/util/kkeyserver_x11.cpp
svn path=/trunk/KDE/kdebase/workspace/; revision=646639
2007-03-26 11:30:18 +00:00
Luciano Montanaro
a69e5e6b5f Fix help and pindown rendering problem:
it was due to Qt misrendering bitmaps when they have a mask.
Changed code to remove use of kColorBitmaps(). Now kdefx should not be needed
to draw the decoration. 

svn path=/trunk/KDE/kdebase/workspace/; revision=646407
2007-03-25 16:33:59 +00:00
Luboš Luňák
8b5b40e4e8 Shadows. Right not it's only flat black rectangle, but otherwise
everything should work.


svn path=/branches/work/kwin_composite/; revision=646315
2007-03-25 10:48:07 +00:00
Luciano Montanaro
9da3b593ad Ported to QAbstractButton
svn path=/trunk/KDE/kdebase/workspace/; revision=645971
2007-03-24 01:51:55 +00:00
Script Kiddy
53d4ba68ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=645846

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/KDE34.png.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/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/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-03-23 18:33:20 +00:00
Luboš Luňák
082c4e95e3 Suspend updating of window-specific settings during shutdown,
so that KWin doesn't have to be killed as the first one during shutdown.


svn path=/trunk/KDE/kdebase/workspace/; revision=645397
2007-03-22 14:27:04 +00:00
Luboš Luňák
81fdcfd20b Beryl has moved to git.
svn path=/branches/work/kwin_composite/; revision=645292
2007-03-22 08:38:30 +00:00
Philip Falkner
aa6d8eabc5 Add GLTexture class. This is a convenient wrapper around managing an OpenGL texture, as well as loading an image into it. Includes support for loading from QImage, QPixmap, and a file. Defaults to a GL_TEXTURE_2D target, and will scale image if necessary.
Also add SceneOpenGL::Texture class, based on GLTexture.  Optimised for SceneOpenGL::Window, this adds support for loading from an X Pixmap, as well as taking advantage of texture_from_pixmap/shm when available.  Automatically detects what texture target should be used, so be sure to enableUnnormalizedTexCoords() before painting.

Make SceneOpenGL::Window, BoxSwitchEffect, and ExplosionEffect use the new classes.

svn path=/branches/work/kwin_composite/; revision=645125
2007-03-21 18:14:09 +00:00
Luboš Luňák
d09096a784 The window-burning-down effect (gee), except that there's no actual
flame, since I'm lame at graphics. Should be easy to add anyway.
Besides the apparent unusefulness this effect should be for testing
some new changes to the core.


svn path=/branches/work/kwin_composite/; revision=645111
2007-03-21 17:35:48 +00:00
Rivo Laks
d74c23ff17 Ctrl+F11 now does Expose effect with all window, including those on other desktops.
The downside is that sometimes it crashes when you want to activate a window in Expose mode. It seems
  to be some kind of memory problem, but I can't figure out what/where exactly, so I'd appreciate if
  someone took a look at it.

svn path=/branches/work/kwin_composite/; revision=645067
2007-03-21 16:24:28 +00:00
Rivo Laks
d72a9239b4 Add static bool fragmentShaderSupported() and vertexShaderSupported() methods to GLShader.
Make sure shaders are supported before trying to load them.

svn path=/branches/work/kwin_composite/; revision=645060
2007-03-21 16:17:19 +00:00
Luboš Luňák
da02ba11ca Scene*::Window classes are now too complex to be value-based,
allocate them dynamically.


svn path=/branches/work/kwin_composite/; revision=645046
2007-03-21 15:52:42 +00:00
Luboš Luňák
ff643184cf cursorPos() needs fixing
svn path=/branches/work/kwin_composite/; revision=645024
2007-03-21 15:06:31 +00:00
Luboš Luňák
61f99cf2f0 Ok, I couldn't resist - make the fragments also spin.
svn path=/branches/work/kwin_composite/; revision=644987
2007-03-21 13:28:35 +00:00
Luboš Luňák
b75f3dfeb0 Make the effect look better by adding certain randomness.
svn path=/branches/work/kwin_composite/; revision=644640
2007-03-20 16:28:23 +00:00
Dirk Mueller
85677f205f pedantic--
svn path=/trunk/KDE/kdebase/workspace/; revision=644597
2007-03-20 14:21:56 +00:00
Luciano Montanaro
4702a2fde2 - Use QGradient instead of KPixmapEffect
- Fixed many off-by-one rendering errors
- Added support for (slighly) larger border sizes

svn path=/trunk/KDE/kdebase/workspace/; revision=643655
2007-03-18 02:39:45 +00:00
Luboš Luňák
a47a8a3cf1 Redo ksplash states.
svn path=/trunk/KDE/kdebase/workspace/; revision=643171
2007-03-16 14:04:00 +00:00
Rivo Laks
aae967c5f9 Make your windows explode!
Add ExplosionEffect which makes the windows blow up into small pieces when they're closed.
  In the future this could be used only when user kills (an unresponsive) window.

svn path=/branches/work/kwin_composite/; revision=643135
2007-03-16 13:02:47 +00:00
Rivo Laks
19e7ebe1d8 Add shader support.
Effects can use setShader() method to set a custom shader for window rendering.

svn path=/branches/work/kwin_composite/; revision=643131
2007-03-16 13:00:01 +00:00
Luboš Luňák
d4fbab83d1 No splash dbus interface.
svn path=/trunk/KDE/kdebase/workspace/; revision=643112
2007-03-16 12:11:19 +00:00
Luboš Luňák
5cabf743ae The official excuse for this effect is that I wanted to try
drawing a window several times.


svn path=/branches/work/kwin_composite/; revision=642577
2007-03-14 18:21:11 +00:00
Laurent Montel
a0133cb048 Now we don't install libtool file
svn path=/branches/work/kwin_composite/; revision=642555
2007-03-14 17:26:32 +00:00
Luboš Luňák
d4a58f4152 QMap -> QHash
svn path=/branches/work/kwin_composite/; revision=642532
2007-03-14 16:50:19 +00:00
Luboš Luňák
5d4178c40c QMap -> QHash
svn path=/trunk/KDE/kdebase/workspace/; revision=642528
2007-03-14 16:39:50 +00:00
Luboš Luňák
de8f39accf Hmm, I think I now understand this vertices stuff. Added a silly
effect that destroys a window by spliting it into many small pieces.


svn path=/branches/work/kwin_composite/; revision=642152
2007-03-13 13:42:01 +00:00
Luboš Luňák
52afddcaeb Don't unref a deleted window more than once.
svn path=/branches/work/kwin_composite/; revision=642067
2007-03-13 09:49:44 +00:00
Luboš Luňák
13962741e8 Update.
svn path=/branches/work/kwin_composite/; revision=641705
2007-03-12 10:35:46 +00:00
Philip Falkner
1dc9715e45 Show effect even when only one option is available, like the default tabbox does.
svn path=/branches/work/kwin_composite/; revision=641579
2007-03-11 21:19:44 +00:00
Script Kiddy
8e5873c49a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=640788

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

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2007-03-09 08:06:27 +00:00
Philip Falkner
04e488b0a7 Add XRender support to BoxSwitch.
This includes icon support for XRender.

svn path=/branches/work/kwin_composite/; revision=640729
2007-03-08 22:12:41 +00:00
Tim Beaulen
04d80e9d05 Build
The error I got:
[ 43%] Building CXX object workspace/kwin/lib/CMakeFiles/kdecorations.dir/kcommondecoration.o
/home/kde4-devel/qt-copy/include/QtGui/../../src/gui/widgets/qabstractbutton.h: In member function 'void QAbstractButton::qt_check_for_QOBJECT_macro(const T&) const 
[with T = KCommonDecorationButton]':
/home/kde4-devel/qt-copy/include/QtCore/../../src/corelib/kernel/qobject.h:411:   instantiated from 'T qobject_cast(QObject*) [with T = KCommonDecorationButton*]'
/home/kde4-devel/kde/src/kdebase/workspace/kwin/lib/kcommondecoration.cpp:203:   instantiated from here
/home/kde4-devel/qt-copy/include/QtGui/../../src/gui/widgets/qabstractbutton.h:40: error: void value not ignored as it ought to be
make[2]: *** [workspace/kwin/lib/CMakeFiles/kdecorations.dir/kcommondecoration.o] Error 1
make[1]: *** [workspace/kwin/lib/CMakeFiles/kdecorations.dir/all] Error 2


svn path=/branches/work/kwin_composite/; revision=640708
2007-03-08 21:37:13 +00:00
Aaron J. Seigo
16c7e13c8a oxygen icon naming fixes from Luca Gugelmann
svn path=/trunk/KDE/kdebase/workspace/; revision=640669
2007-03-08 19:32:19 +00:00
Philip Falkner
6af1c36304 Actually add BoxSwitch effect.
svn path=/branches/work/kwin_composite/; revision=640631
2007-03-08 16:54:50 +00:00
Philip Falkner
6f122ecd3e Add BoxSwitch effect: a tabbox replacement. It's still rough, but works reasonably well.
svn path=/branches/work/kwin_composite/; revision=640630
2007-03-08 16:52:09 +00:00
Philip Falkner
ce89ed0716 Allow effects to replace the tabbox.
svn path=/branches/work/kwin_composite/; revision=640628
2007-03-08 16:49:44 +00:00
Philip Falkner
db53353349 Make the tabbox update if windows are added/removed while the tabbox is active.
svn path=/branches/work/kwin_composite/; revision=640626
2007-03-08 16:48:48 +00:00
Philip Falkner
908a3e708e Port tabbox from QFrame to Q3Frame.
svn path=/branches/work/kwin_composite/; revision=640446
2007-03-08 04:44:06 +00:00
Luboš Luňák
1300c934e8 Note about vertices list currently breaking drawWindow().
svn path=/branches/work/kwin_composite/; revision=640346
2007-03-07 17:55:06 +00:00
Luboš Luňák
f6ad1881e1 Support for window thumbnails.
svn path=/branches/work/kwin_composite/; revision=640344
2007-03-07 17:50:33 +00:00
Luboš Luňák
3da3488448 Fadein/Fadeout have already been merged.
svn path=/branches/work/kwin_composite/; revision=640343
2007-03-07 17:49:08 +00:00
Script Kiddy
3ae271ef3e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=639986

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/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
2007-03-06 13:53:59 +00:00
Laurent Montel
ee2db61df1 Fix port
svn path=/trunk/KDE/kdebase/workspace/; revision=637745
2007-02-27 16:30:25 +00:00
Luboš Luňák
e61ecff9b9 Check that getting compositing pixmap of a window succeeded.
It may fail (or "fail") if the window is not mapped or if the geometry
doesn't match, both of which may happen due to the asynchronous
nature of X.


svn path=/branches/work/kwin_composite/; revision=637741
2007-02-27 16:13:34 +00:00
Luboš Luňák
e81db7c1b5 Updates.
svn path=/branches/work/kwin_composite/; revision=637704
2007-02-27 13:46:22 +00:00
Dirk Mueller
5cd482868b header cleanness++
svn path=/trunk/KDE/kdebase/workspace/; revision=637475
2007-02-26 15:46:23 +00:00
Dirk Mueller
28697de826 header cleanness++
svn path=/trunk/KDE/kdebase/workspace/; revision=637366
2007-02-26 07:44:18 +00:00
Luboš Luňák
29f9714a7e Capseo has moved.
svn path=/branches/work/kwin_composite/; revision=636916
2007-02-24 17:36:37 +00:00