Commit graph

3727 commits

Author SHA1 Message Date
Luboš Luňák
b2eabf7b36 Merging from old trunk:
r602118 | neundorf | 2006-11-05 13:24:44 +0100 (Sun, 05 Nov 2006) | 5 lines

-remove kde4_install_libtool_file(), not necessary anymore since we switched away from libltdl

Alex


svn path=/trunk/KDE/kdebase/workspace/; revision=659301
2007-04-29 22:32:46 +00:00
Luboš Luňák
bcf8544a27 Merging from old trunk:
r601570 | mlaurent | 2006-11-03 17:58:18 +0100 (Fri, 03 Nov 2006) | 2 lines

Port to uic4


svn path=/trunk/KDE/kdebase/workspace/; revision=659299
2007-04-29 22:31:09 +00:00
Luboš Luňák
9faad7bc5e Merging from old trunk:
r601561 | mlaurent | 2006-11-03 17:35:38 +0100 (Fri, 03 Nov 2006) | 2 lines

Port to uic4


svn path=/trunk/KDE/kdebase/workspace/; revision=659298
2007-04-29 22:30:07 +00:00
Luboš Luňák
2c539daa5d Merging from old trunk:
r598290 | mlaurent | 2006-10-23 08:53:27 +0200 (Mon, 23 Oct 2006) | 5 lines

Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro


svn path=/trunk/KDE/kdebase/workspace/; revision=659295
2007-04-29 22:04:13 +00:00
Luboš Luňák
80e6a05440 Merging from old trunk:
r595998 | lunakl | 2006-10-16 14:41:38 +0200 (Mon, 16 Oct 2006) | 3 lines

Fix two same argument names.


svn path=/trunk/KDE/kdebase/workspace/; revision=659293
2007-04-29 22:01:59 +00:00
Luboš Luňák
50a788d633 Merging from old trunk:
r594160 | lunakl | 2006-10-10 12:28:32 +0200 (Tue, 10 Oct 2006) | 6 lines

Build the input shape on a helper window instead of directly,
this avoids having a hole in the shape temporarily. This seems
to break non-click-to-focus mouse policies on some systems
(works fine here though).


svn path=/trunk/KDE/kdebase/workspace/; revision=659292
2007-04-29 21:59:40 +00:00
Luboš Luňák
310de2bde5 Merging from old trunk:
r588719 | lunakl | 2006-09-26 19:30:21 +0200 (Tue, 26 Sep 2006) | 3 lines

Some links to X docs.


svn path=/trunk/KDE/kdebase/workspace/; revision=659291
2007-04-29 21:58:34 +00:00
Luboš Luňák
d0a5af275b Merging from old trunk:
r583878 | mlaurent | 2006-09-13 20:09:22 +0200 (Wed, 13 Sep 2006) | 2 lines

Fix signal/slot


svn path=/trunk/KDE/kdebase/workspace/; revision=659290
2007-04-29 21:57:32 +00:00
Luboš Luňák
f5daa61abc Merging from old trunk:
r580071 | mlaurent | 2006-09-02 16:59:11 +0200 (Sat, 02 Sep 2006) | 2 lines

Add const


svn path=/trunk/KDE/kdebase/workspace/; revision=659289
2007-04-29 21:54:40 +00:00
Luboš Luňák
3dad48bfe2 Merging from old trunk:
r580068 | mlaurent | 2006-09-02 16:47:24 +0200 (Sat, 02 Sep 2006) | 2 lines

Not necessary to test it


svn path=/trunk/KDE/kdebase/workspace/; revision=659288
2007-04-29 21:54:14 +00:00
Luboš Luňák
93dab3f3f2 Merging from old trunk:
r578790 | mlaurent | 2006-08-30 10:53:33 +0200 (Wed, 30 Aug 2006) | 2 lines

Not necessary


svn path=/trunk/KDE/kdebase/workspace/; revision=659287
2007-04-29 21:53:47 +00:00
Luboš Luňák
30a119982a Merging from old trunk:
r578784 | mlaurent | 2006-08-30 10:33:11 +0200 (Wed, 30 Aug 2006) | 4 lines

Clean up
Use cmake macro
Remove not necessary files


svn path=/trunk/KDE/kdebase/workspace/; revision=659286
2007-04-29 21:52:25 +00:00
Luboš Luňák
53647ffef0 Merging from old trunk:
r574292 | lunakl | 2006-08-18 18:26:28 +0200 (Fri, 18 Aug 2006) | 3 lines

Small fix.


svn path=/trunk/KDE/kdebase/workspace/; revision=659283
2007-04-29 21:41:03 +00:00
Luboš Luňák
ca316fbefe Merging from old trunk:
r574280 | lunakl | 2006-08-18 18:02:56 +0200 (Fri, 18 Aug 2006) | 3 lines

Add a HOWTO for preconfiguring window-specific settings.


svn path=/trunk/KDE/kdebase/workspace/; revision=659282
2007-04-29 21:40:29 +00:00
Luboš Luňák
b99dee8cf7 Merging from old trunk:
r574237 | lunakl | 2006-08-18 15:45:50 +0200 (Fri, 18 Aug 2006) | 5 lines

Differentiate properly between shape set by the window itself
(which forces it to be a non-decorated window) and mask set
by the decoration.


svn path=/trunk/KDE/kdebase/workspace/; revision=659281
2007-04-29 21:39:58 +00:00
Luboš Luňák
04d5294afa Merging from old trunk:
r573246 | lunakl | 2006-08-15 14:48:37 +0200 (Tue, 15 Aug 2006) | 3 lines

Fix compilation with older XShape (#132310).


svn path=/trunk/KDE/kdebase/workspace/; revision=659279
2007-04-29 21:38:44 +00:00
Luboš Luňák
638de5e338 Build.
svn path=/trunk/KDE/kdebase/workspace/; revision=659276
2007-04-29 21:28:06 +00:00
Philip Falkner
630f5793dc Update SHM mode.
For 16bpp pixmaps, we use GL_RGB and GL_UNSIGNED_SHORT_5_6_5 with
glTex(Sub)Image2D, which means that SHM mode works with 16bpp X
servers.

Also, only create one XShmPixmap per damaged pixmap, instead of one
per (optimised) damage rectangle.  Now we can use GL_RGB textures for
24bpp pixmaps, just like fallback mode does and tfp mode can.


svn path=/trunk/KDE/kdebase/workspace/; revision=659274
2007-04-29 21:22:49 +00:00
Luboš Luňák
5feb577369 Merging from old trunk:
r571712 | lunakl | 2006-08-10 15:15:16 +0200 (Thu, 10 Aug 2006) | 3 lines

Support for input shape from XShape1.1 (#122425).


svn path=/trunk/KDE/kdebase/workspace/; revision=659272
2007-04-29 21:19:29 +00:00
Luboš Luňák
12d97dbd49 Merging from old trunk:
r569382 | lunakl | 2006-08-03 19:32:36 +0200 (Thu, 03 Aug 2006) | 4 lines

Be explicit about the screenshots being in clipboard
(CCBUG: 131789)


svn path=/trunk/KDE/kdebase/workspace/; revision=659270
2007-04-29 21:04:53 +00:00
Luboš Luňák
17182b9ccb Merging from old trunk:
r568991 | lunakl | 2006-08-02 18:27:34 +0200 (Wed, 02 Aug 2006) | 4 lines

Argh, order the checks properly, it wasn't detecting
correctly some cases when windows should belong together.


svn path=/trunk/KDE/kdebase/workspace/; revision=659268
2007-04-29 21:04:13 +00:00
Luboš Luňák
3dbb6fba21 Merging from old trunk:
r568105 | lunakl | 2006-07-31 07:06:00 +0200 (Mon, 31 Jul 2006) | 3 lines

I really don't like playing hide and seek with {}'s.


svn path=/trunk/KDE/kdebase/workspace/; revision=659265
2007-04-29 21:00:59 +00:00
Luboš Luňák
c224ad6118 Merging from old trunk:
r566160 | mlaurent | 2006-07-25 17:20:44 +0200 (Tue, 25 Jul 2006) | 2 lines

Clean up


svn path=/trunk/KDE/kdebase/workspace/; revision=659263
2007-04-29 20:58:02 +00:00
Luboš Luňák
ea07e100b4 Merging from old trunk:
r565957 | winterz | 2006-07-25 00:17:55 +0200 (Tue, 25 Jul 2006) | 3 lines

install_files() -> install(FILES..)
also use variables in a few more places


svn path=/trunk/KDE/kdebase/workspace/; revision=659262
2007-04-29 20:56:31 +00:00
Luboš Luňák
73ce957bad Merging from old trunk:
r565833 | winterz | 2006-07-24 18:02:07 +0200 (Mon, 24 Jul 2006) | 2 lines

use library variables, where possible.


svn path=/trunk/KDE/kdebase/workspace/; revision=659261
2007-04-29 20:55:58 +00:00
Luboš Luňák
25adb0541d Merging from old trunk:
r564551 | mkretz | 2006-07-20 15:12:03 +0200 (Thu, 20 Jul 2006) | 2 lines

that include is not needed


svn path=/trunk/KDE/kdebase/workspace/; revision=659259
2007-04-29 20:48:51 +00:00
Luboš Luňák
bb867a2213 Merging from old trunk:
r564550 | mkretz | 2006-07-20 15:11:46 +0200 (Thu, 20 Jul 2006) | 3 lines

toAscii() only returns a temporary QByteArray, the QPixmap ctor would crash for
me: keep the QByteArray until all three pixmaps are created


svn path=/trunk/KDE/kdebase/workspace/; revision=659258
2007-04-29 20:47:53 +00:00
Luboš Luňák
d8439e8543 Merging from old trunk:
r564549 | mlaurent | 2006-07-20 15:08:26 +0200 (Thu, 20 Jul 2006) | 2 lines

Replace all bin by ${BIN_INSTALL_DIR}


svn path=/trunk/KDE/kdebase/workspace/; revision=659256
2007-04-29 20:46:45 +00:00
Luboš Luňák
6ae86ca391 Merging from old trunk:
r564035 | coolo | 2006-07-19 08:49:37 +0200 (Wed, 19 Jul 2006) | 2 lines

replace deprecated functions


svn path=/trunk/KDE/kdebase/workspace/; revision=659254
2007-04-29 20:43:58 +00:00
Pino Toscano
14d0ee83a4 extra ';'
svn path=/trunk/KDE/kdebase/workspace/; revision=659235
2007-04-29 19:03:40 +00:00
Luboš Luňák
3dfd260b8a Merging from old trunk:
r560573 | lunakl | 2006-07-10 19:07:29 +0200 (Mon, 10 Jul 2006) | 3 lines

Not needed later after all.


svn path=/trunk/KDE/kdebase/workspace/; revision=659222
2007-04-29 18:21:39 +00:00
Luboš Luňák
b201ca13e8 Merging from old trunk:
r559171 | bmeyer | 2006-07-06 20:08:14 +0200 (Thu, 06 Jul 2006) | 1 line

remove line that wasn't suppost to be there.


svn path=/trunk/KDE/kdebase/workspace/; revision=659221
2007-04-29 18:18:48 +00:00
Luboš Luňák
afb0e7f5eb Merging from old trunk:
r559169 | bmeyer | 2006-07-06 20:01:52 +0200 (Thu, 06 Jul 2006) | 1 line

fix link opening


svn path=/trunk/KDE/kdebase/workspace/; revision=659220
2007-04-29 18:18:08 +00:00
Luboš Luňák
f82685de38 Merging from old trunk:
r558891 | dfaure | 2006-07-06 11:15:57 +0200 (Thu, 06 Jul 2006) | 3 lines
Register as org.kde.kwin   (in addition to kapplication registering us as kwin_$PID)
Not sure why this isn't a kuniqueapplication though (but klauncher is in the same situation anyway)


svn path=/trunk/KDE/kdebase/workspace/; revision=659219
2007-04-29 18:16:15 +00:00
Luboš Luňák
3134929db3 merge from old trunk:
r558694 | bmeyer
port from KActiveLabel -> QLabel


svn path=/trunk/KDE/kdebase/workspace/; revision=659215
2007-04-29 18:11:44 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
b52cf90c6a Post calls may not be necessary anymore.
svn path=/branches/work/kwin_composite/; revision=659195
2007-04-29 17:17:26 +00:00
Rivo Laks
91f795922d Make Liquid effect work without NPOT textures as well.
svn path=/branches/work/kwin_composite/; revision=659161
2007-04-29 15:53:56 +00:00
Rivo Laks
49a56dc905 Make blur effect work even when NPOT textures are not supported by using a larger power-of-two
texture. It wastes some memory but at least it works.

svn path=/branches/work/kwin_composite/; revision=659159
2007-04-29 15:42:19 +00:00
Rivo Laks
a94aa904b0 Well, actually GLRenderTarget doesn't require NPOT textures (it works with rectangle textures as well).
That also means that those effects which do require NPOT have to check for it themselves.

svn path=/branches/work/kwin_composite/; revision=659155
2007-04-29 15:39:33 +00:00
Rivo Laks
17ae1620ac Little clarifying API doc for nearestPowerOfTwo().
svn path=/branches/work/kwin_composite/; revision=659150
2007-04-29 15:31:57 +00:00
Rivo Laks
72f2d412c1 Add blur effect.
Blur effects blurs out background of translucent windows, thus improving e.g. readability of text in
  such windows.
I'll send a mail with couple of screenshots and more details to kwin list soon.

svn path=/branches/work/kwin_composite/; revision=658817
2007-04-28 15:13:28 +00:00
Rivo Laks
f00d1745ed Add static GLRenderTarget::supported() and make effects use it instead of checking for FBO extension
themselves.
Fix memory leak in Test_FBO effect.

svn path=/branches/work/kwin_composite/; revision=658804
2007-04-28 14:38:06 +00:00
Rivo Laks
24c8663923 Add GLShader dtor (fixes memory leak).
Also fix multiple memory leaks in effects.

svn path=/branches/work/kwin_composite/; revision=658761
2007-04-28 13:19:36 +00:00
Rivo Laks
e85930ce1e prePaintWindow() calls of effects are now all done before anything is rendered. This is necessary e.g. for
upcoming blur effect.
Also postPaintScreen() is now called after postPaintWindow() calls.

svn path=/branches/work/kwin_composite/; revision=658757
2007-04-28 13:02:51 +00:00
Rivo Laks
6e62dcb922 Add GLTexture::setWrapMode() call to set texture's OpenGL wrap mode.
Liquid demo effect now sets wrap mode to CLAMP to ensure that the texture won't wrap at edges
  of the screen, which would make other side of the screen visible there.

svn path=/branches/work/kwin_composite/; revision=658748
2007-04-28 12:25:54 +00:00
Rivo Laks
9342f6902c Add EffectWindow::isPaintingEnabled() to check whether painting of that window is enabled (surprise!)
svn path=/branches/work/kwin_composite/; revision=658747
2007-04-28 12:21:14 +00:00
Luboš Luňák
118a15c3d7 Remove exceptions for Mozilla apps and OOo - they can handle
focus stealing prevention somewhat better.


svn path=/trunk/KDE/kdebase/workspace/; revision=658520
2007-04-27 15:10:23 +00:00
Dirk Mueller
e218e7e01d move the "To Desktop" menu to the right place again
instead of just appending it

svn path=/trunk/KDE/kdebase/workspace/; revision=657251
2007-04-23 16:49:41 +00:00