Commit graph

5775 commits

Author SHA1 Message Date
Lucas Murray
71cdab755e Change motion dynamics algorithm and class structure. Animations are now
smoother and less "bouncy" than before and produce the same result at
any framerate. The Motion1D and Motion2D classes are now available and
replace the Motion<T> template for external use.

svn path=/trunk/KDE/kdebase/workspace/; revision=921104
2009-02-04 15:10:20 +00:00
Lucas Murray
9bb76644b7 Backport: Extracted mouse polling out of the composite timer to allow
effects to detect mouse movement and modifier key changes even when KWin
is idle. As the track mouse effect requires polling to always be active
disabling it by default to prevent wasting CPU usage in the default
install.

Although this is a feature it is required to remove a major performance
issue in 4.2 that was caused by a last-minute hack before tagging.

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=920966
2009-02-04 07:16:24 +00:00
Lucas Murray
cbea219964 Missing code from mouse polling commit. Stop polling when compositing is
disabled and increment the effect API version number.

svn path=/trunk/KDE/kdebase/workspace/; revision=920963
2009-02-04 07:09:47 +00:00
Lucas Murray
f0c91c7dea Backport: Prevent the fade effect from constantly issuing repaint
requests when it is not needed. Prevents desktop grid excessive CPU
usage.

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=920962
2009-02-04 06:51:33 +00:00
Lucas Murray
d0b6642abd Prevent the fade effect from constantly issuing repaint requests when it
is not needed. Prevents desktop grid excessive CPU usage.
CCBUG: 182997

svn path=/trunk/KDE/kdebase/workspace/; revision=920960
2009-02-04 06:48:25 +00:00
Friedrich W. H. Kossebau
9e9c18796f make const-to-be arrays (of pointers) const and non-variable
svn path=/trunk/KDE/kdebase/workspace/; revision=920918
2009-02-04 01:11:19 +00:00
Script Kiddy
4de600e9c1 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=920635
2009-02-03 14:52:58 +00:00
Lucas Murray
8c55ce79cf Remove the fade effect dependency from the highlight window effect by
implementing the fade internally. Fixes some fading bugs and will make
off-screen window highlighting easier to implement whenever I get around
to doing it.

svn path=/trunk/KDE/kdebase/workspace/; revision=920590
2009-02-03 10:51:36 +00:00
Lucas Murray
afa6071365 Backport: Use the opacity of the window that a taskbar thumbnail is
displayed on when displaying the thumbnail. This allows thumbnails to
fade in and out with the Plasma tooltip for example instead of always
being opaque.

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=920578
2009-02-03 09:47:06 +00:00
Lucas Murray
6763fd5728 Use the opacity of the window that a taskbar thumbnail is displayed on
when displaying the thumbnail. This allows thumbnails to fade in and out
with the Plasma tooltip for example instead of always being opaque.

svn path=/trunk/KDE/kdebase/workspace/; revision=920573
2009-02-03 09:39:48 +00:00
Script Kiddy
d12b115dbe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=920235
2009-02-02 15:35:50 +00:00
Script Kiddy
0db7dbdc03 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=920019

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

M	wallpapers/HighTide/metadata.desktop
2009-02-02 08:36:18 +00:00
Script Kiddy
a8e370fa34 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919783

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

M	wallpapers/HighTide/metadata.desktop
2009-02-01 16:24:40 +00:00
Lucas Murray
752d5fa642 Extracted mouse polling out of the composite timer to allow effects to
detect mouse movement and modifier key changes even when KWin is idle.
As the track mouse effect requires polling to always be active disabling
it by default to prevent wasting CPU usage in the default install.

svn path=/trunk/KDE/kdebase/workspace/; revision=919711
2009-02-01 15:16:52 +00:00
Script Kiddy
91cc82d2f1 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919504
2009-02-01 08:42:52 +00:00
Script Kiddy
0aa8cd610f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919234
2009-01-31 15:57:53 +00:00
Lucas Murray
d6a31bc921 Introducing the highlight window effect. When activated by the X atom
all windows are faded out except the one that is being highlighted.
It is nowhere near complete but committing it now so that the Plasma
developers can start playing around with it.

svn path=/trunk/KDE/kdebase/workspace/; revision=919159
2009-01-31 15:12:14 +00:00
Martin Gräßlin
7cb7f17a11 Abort effect if the current tab box window is deleted and the tabbox is empty afterwards. This hopefully resolves the crashes when a window is closed during active effect. At least I was not able to reproduce a crash anymore. If further testing shows that it resolves the problem the patch will be backported to branch and to other window switching effects showing the same problem.
CCBUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919075
2009-01-31 13:23:58 +00:00
Martin Gräßlin
da9b11aeb5 Revert commit 919009
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919070
2009-01-31 13:16:16 +00:00
Martin Gräßlin
139b8c8f41 Revert commit r919007
svn path=/trunk/KDE/kdebase/workspace/; revision=919068
2009-01-31 13:15:14 +00:00
Lucas Murray
9a31e8f3d9 Backport: Allow snow flakes to completely exit the screen before
removing them. Also create the flakes off-screen as well.
CCBUG: 182561

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919042
2009-01-31 11:53:07 +00:00
Lucas Murray
29484aa5fb Allow snow flakes to completely exit the screen before removing them.
Also create the flakes off-screen as well.
BUG: 182561

svn path=/trunk/KDE/kdebase/workspace/; revision=919039
2009-01-31 11:47:21 +00:00
Martin Gräßlin
7c1e1b758e Backport (rev 919007): Only clear QLists when they are empty. Prevents crashes.
CCBUG: 182358

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919009
2009-01-31 09:56:16 +00:00
Martin Gräßlin
a6fb2688cd Only clear QLists when they are empty. Prevents crashes.
BUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919007
2009-01-31 09:49:33 +00:00
Lucas Murray
01f6af00c9 Backport: When the user lowers the active window with a shortcut or a
mouse action automatically focus the next available window.
CCBUG: 182146

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919003
2009-01-31 09:38:56 +00:00
Lucas Murray
87d613a38a Backport: Fixed shadow color button signal not being picked up.
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=918999
2009-01-31 09:31:46 +00:00
Lucas Murray
e5bdb2e6c6 Correctly apply the shadow color when in OpenGL mode.
CCBUG: 180536

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=918998
2009-01-31 09:29:09 +00:00
Lucas Murray
e93f4306d9 Fixed shadow color button signal not being picked up.
svn path=/trunk/KDE/kdebase/workspace/; revision=918989
2009-01-31 09:13:23 +00:00
Lucas Murray
cea8e1a286 Correctly apply the shadow color when in OpenGL mode.
BUG: 180536

svn path=/trunk/KDE/kdebase/workspace/; revision=918987
2009-01-31 09:01:32 +00:00
Luboš Luňák
eb981a2240 Move the videorect effect out, as it reportedly doesn't work very well
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.


svn path=/branches/KDE/4.2/kdebase/workspace/; revision=918700
2009-01-30 14:46:11 +00:00
Luboš Luňák
1292a73314 Move the videorect effect out, as it reportedly doesn't work very well
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.


svn path=/trunk/KDE/kdebase/workspace/; revision=918699
2009-01-30 14:43:43 +00:00
Luboš Luňák
ed42331c2e Testapp to show all icons provided by a window.
svn path=/trunk/KDE/kdebase/workspace/; revision=918189
2009-01-29 15:11:17 +00:00
Script Kiddy
de4dca3940 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=917787

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-01-28 15:01:35 +00:00
Lucas Murray
2e42deec73 When the user lowers the active window with a mouse action also
automatically focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917649
2009-01-28 10:30:44 +00:00
Lucas Murray
f9f4d916e4 When the user lowers the active window with a shortcut automatically
focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917644
2009-01-28 10:03:37 +00:00
Script Kiddy
d0dd9d5e6c SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=916065
2009-01-24 13:13:22 +00:00
Script Kiddy
bf56b158ab SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=915638
2009-01-23 13:14:00 +00:00
Script Kiddy
da1c6ba4fd SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=915127
2009-01-22 13:50:56 +00:00
Script Kiddy
a5137d000d SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=914646

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

M	wallpapers/HighTide/metadata.desktop
2009-01-21 13:40:54 +00:00
Script Kiddy
b51f7a048f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=914108
2009-01-20 13:21:53 +00:00
Script Kiddy
9984fe99b6 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=913549

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-01-19 14:11:38 +00:00
Luboš Luňák
674da0ff27 Backport fix for buttons.
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=913431
2009-01-19 11:52:25 +00:00
Luboš Luňák
f760d36881 Fix buttons, patch by Knut Johansson <knutmj@online.no>.
svn path=/trunk/KDE/kdebase/workspace/; revision=913430
2009-01-19 11:51:46 +00:00
Luboš Luňák
5104de12e4 Backport, fix buttons.
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=913429
2009-01-19 11:44:21 +00:00
Luboš Luňák
42beacc8f1 Fix buttons, patch by Knut Johansson <knutmj@online.no>.
svn path=/trunk/KDE/kdebase/workspace/; revision=913425
2009-01-19 11:40:45 +00:00
Script Kiddy
1035ec042f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=912911

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

M	wallpapers/HighTide/metadata.desktop
2009-01-18 13:24:34 +00:00
Script Kiddy
a108548c76 SVN_SILENT made messages (.desktop file, second try)
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=911496
2009-01-15 14:02:55 +00:00
Luboš Luňák
27d39be5e8 Use new icons.
svn path=/branches/KDE/4.2/kdebase/workspace/; revision=911414
2009-01-15 12:56:35 +00:00
Luboš Luňák
50ebf9e099 Use new icons.
svn path=/trunk/KDE/kdebase/workspace/; revision=911411
2009-01-15 12:54:15 +00:00
Lucas Murray
117c719c7d Merge branch 'fadeeffect'
Conflicts:
	kcmkwin/kwincompositing/main.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=911326
2009-01-15 09:55:15 +00:00