Commit graph

4426 commits

Author SHA1 Message Date
Luboš Luňák
aba180b466 kdebug no longer relies on NDEBUG
svn path=/trunk/KDE/kdebase/workspace/; revision=741888
2007-11-26 17:17:45 +00:00
Luboš Luňák
74b89e491d Revert r741298 - this time the right fix for -Woverloaded-virtual is fixing
the base class.
CCMAIL: montel@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=741860
2007-11-26 16:00:21 +00:00
Luboš Luňák
a683143148 Binding windows after virtual desktop switch can make things slow.
svn path=/trunk/KDE/kdebase/workspace/; revision=741858
2007-11-26 15:53:58 +00:00
Luboš Luňák
d6b7ef180d No kde3/qt3 support in kwin core. Saves about 150M of memory in gdb
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
2007-11-26 15:42:44 +00:00
Script Kiddy
e33d25bb77 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=741702

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

M	wallpapers/lineart.svgz.desktop
M	wallpapers/plasma-default.png.desktop
2007-11-26 08:05:24 +00:00
Laurent Montel
d663800ddd defaultButtonsLeft and defaultButtonsRight is not const now.
I think that it will not create problem, but it fixes warning

svn path=/trunk/KDE/kdebase/workspace/; revision=741298
2007-11-25 11:24:28 +00:00
Laurent Montel
e7aa0b3a7e Remove not necessary kdeversion.h
svn path=/trunk/KDE/kdebase/workspace/; revision=741293
2007-11-25 11:12:05 +00:00
Script Kiddy
35efdf2ba2 SVN_SILENT made messages (.desktop file)
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
2007-11-25 07:47:58 +00:00
Rivo Laks
85e31c0010 Reserve 80 items instead of creating them.
svn path=/trunk/KDE/kdebase/workspace/; revision=741041
2007-11-24 16:51:48 +00:00
Rivo Laks
e0c50df7e3 Preallocate those vectors as well, just like mattr did with the ones in the shadow effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=741018
2007-11-24 16:03:19 +00:00
Matt Rogers
462f588b25 Preallocate the size for the vectors based on the number of entries
that go into them. Saves quite a few memory reallocations in QVector.

Found by valgrind (via callgrind)


svn path=/trunk/KDE/kdebase/workspace/; revision=740992
2007-11-24 15:14:43 +00:00
Rivo Laks
7b3bdb5be7 - Use KColorCombo for choosing colors.
- Color config is now properly loaded/saved/used

svn path=/trunk/KDE/kdebase/workspace/; revision=740985
2007-11-24 14:55:46 +00:00
Rivo Laks
eb02256303 - Load & use line width from config file.
- Correct some mistakes in config module.
- Sync i18n string to the one in config module.
- Use correct repaint area.

svn path=/trunk/KDE/kdebase/workspace/; revision=740973
2007-11-24 14:23:04 +00:00
Rivo Laks
b9275d2b1a - Use radius from the config file.
- Increase maximum radius a bit.

svn path=/trunk/KDE/kdebase/workspace/; revision=740962
2007-11-24 13:51:02 +00:00
Rivo Laks
c28daf0c9a Use KWin::GlobalShortcutsEditor instead of KShortcutsEditor
svn path=/trunk/KDE/kdebase/workspace/; revision=740960
2007-11-24 13:47:58 +00:00
Rivo Laks
85961ce0a3 Add KWin::GlobalShortcutsEditor which is a KShortcutsEditor that only edits global shortcuts.
This allows shortcut editor widgets to be added in Designer (for 4.1 KShortcutsEditor should
  probably get setActionTypes() method so that it needn't be set in it's ctor).

  libkwineffects also links to kdeui now, I hope it's ok since it linked to QtGUI and kdecore already anyway.

svn path=/trunk/KDE/kdebase/workspace/; revision=740954
2007-11-24 13:43:52 +00:00
Rivo Laks
02a46d9e5a Fix compilation with gcc 3.3
svn path=/trunk/KDE/kdebase/workspace/; revision=740919
2007-11-24 12:12:10 +00:00
Rivo Laks
e78470b8b2 Dim only normal windows and dialogs (and optionally docks), not e.g. menus or desktop
(not sure about desktop though).

svn path=/trunk/KDE/kdebase/workspace/; revision=740917
2007-11-24 12:10:27 +00:00
Script Kiddy
896dcc9a9c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=740847
2007-11-24 07:32:55 +00:00
Casper Boemann
2f0c893194 Add a more distinctive outline to windows, making it easier to tell two
overlaping windows apart.

svn path=/trunk/KDE/kdebase/workspace/; revision=740761
2007-11-24 03:49:12 +00:00
Luboš Luňák
8f72ffe9c0 ARGB visuals work with nvidia only with depth 24.
svn path=/trunk/KDE/kdebase/workspace/; revision=740489
2007-11-23 11:48:28 +00:00
Script Kiddy
89171c37cd SVN_SILENT made messages (.desktop file)
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
2007-11-23 07:39:04 +00:00
Dirk Mueller
e37fe7d2fb embedding #ifdef's within macros is not portable
svn path=/trunk/KDE/kdebase/workspace/; revision=740309
2007-11-22 23:28:34 +00:00
Luciano Montanaro
97d274b7c3 - Fix the titlebar height for the rest of the shipped decorations.
- Fix the "sticky" button rendering in the quartz decoration.

svn path=/trunk/KDE/kdebase/workspace/; revision=740254
2007-11-22 21:18:09 +00:00
Luciano Montanaro
a951008c1e - Fix titlebar too tall problem
- Fix sticky button painting

svn path=/trunk/KDE/kdebase/workspace/; revision=740026
2007-11-22 11:17:05 +00:00
Luciano Montanaro
f30d4c31af - Fix the sticky button look like it was intended to look. This required
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
2007-11-22 09:36:14 +00:00
Luboš Luňák
db06887076 Fix xinerama.
BUG: 152370 


svn path=/trunk/KDE/kdebase/workspace/; revision=739736
2007-11-21 18:50:38 +00:00
Luboš Luňák
eb0d793157 Default to SeparateScreenFocus being false, to be consistent with KDE3.
(and e.g. #141997).


svn path=/trunk/KDE/kdebase/workspace/; revision=739693
2007-11-21 15:54:06 +00:00
Luboš Luňák
5c9fd52311 Make debug output say that compositing is not available also
if opengl/xrender weren't found at compile time.


svn path=/trunk/KDE/kdebase/workspace/; revision=739692
2007-11-21 15:46:58 +00:00
Rivo Laks
dea2e71d4c Paint minimized windows as well when the effect is active
svn path=/trunk/KDE/kdebase/workspace/; revision=739688
2007-11-21 15:20:47 +00:00
Rivo Laks
f4600f4b3f Properly initialize Scene::Window pointers in EffectWindow objects.
svn path=/trunk/KDE/kdebase/workspace/; revision=739644
2007-11-21 13:36:58 +00:00
Luboš Luňák
373f6e552a Useful keyboard navigation also for PresentWindows.
svn path=/trunk/KDE/kdebase/workspace/; revision=739606
2007-11-21 11:57:09 +00:00
Luboš Luňák
b33b7210fb Intel seems to have problems with multiple X running.
svn path=/trunk/KDE/kdebase/workspace/; revision=739604
2007-11-21 11:49:55 +00:00
Script Kiddy
f0fb54200f SVN_SILENT made messages (.desktop file)
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
2007-11-21 07:59:36 +00:00
Luboš Luňák
464145428c Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739331
2007-11-20 21:38:29 +00:00
Luboš Luňák
157d885893 Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739262
2007-11-20 19:05:04 +00:00
Luboš Luňák
ff2d52e933 Given that Plasma and KRunner now (again, and maybe again not ultimately,
but whatever) default to ARGB visual if available, it's better to turn off
compositing if no GLX visual is found for depth 32.
CCBUG: 152595


svn path=/trunk/KDE/kdebase/workspace/; revision=739261
2007-11-20 19:04:08 +00:00
Luboš Luňák
c1ed1edb52 Proper support for active xinerama screen in effects.
BUG: 152552 


svn path=/trunk/KDE/kdebase/workspace/; revision=739248
2007-11-20 18:58:30 +00:00
Jonathan Riddell
7dae3e8067 remove crystal, remove with mono icons until oxygen icons get made
svn path=/trunk/KDE/kdebase/workspace/; revision=739161
2007-11-20 16:47:36 +00:00
Luboš Luňák
ceb07f1c5c -Woverloaded-virtual
svn path=/trunk/KDE/kdebase/workspace/; revision=739149
2007-11-20 16:19:06 +00:00
Luboš Luňák
d18e4933a0 Make DesktopGrid useful also from keyboard.
svn path=/trunk/KDE/kdebase/workspace/; revision=739147
2007-11-20 16:17:08 +00:00
Luboš Luňák
c83210c60a Remove all code for non-composited animations - they don't work anyway.
svn path=/trunk/KDE/kdebase/workspace/; revision=739143
2007-11-20 16:07:20 +00:00
Luboš Luňák
7bfa13af32 Remove old 3.1->3.2 porting guide.
svn path=/trunk/KDE/kdebase/workspace/; revision=739139
2007-11-20 16:03:27 +00:00
Luboš Luňák
ab70575d1f Make the outline for moving/resizing work with Qt4, which bothers
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
2007-11-20 16:00:58 +00:00
Luboš Luňák
6cf0a9599e Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=739098
2007-11-20 14:12:17 +00:00
Script Kiddy
1aa9a0c3f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=739007

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

M	wallpapers/triplegears.jpg.desktop
2007-11-20 07:43:10 +00:00
Script Kiddy
42f8dfd773 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=738563
2007-11-19 07:52:55 +00:00
Laurent Montel
6abd8dc8ad Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=738279
2007-11-18 14:28:56 +00:00
Script Kiddy
4c281b2ed0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=738178

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/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
2007-11-18 07:51:51 +00:00
Rivo Laks
0ac3b393b1 Add some apidocs.
Lots more are still needed but it's a start.

svn path=/trunk/KDE/kdebase/workspace/; revision=737896
2007-11-17 10:20:19 +00:00