Commit graph

19062 commits

Author SHA1 Message Date
Urs Wolfer
1df5accf3e warnings--
svn path=/trunk/KDE/kdebase/workspace/; revision=745676
2007-12-06 19:46:09 +00:00
Luboš Luňák
f751d02384 Enable buttons correctly at startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=745636
2007-12-06 17:23:13 +00:00
Matthew Woehlke
e21a0778fd Three changes; fix two bugs, migrate plastik.cpp to KColorUtils/KColorScheme way of handling colors (and away from misc.cpp)
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
2007-12-05 16:05:04 +00:00
Script Kiddy
78bbe3d833 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=745035

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/aurora.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
2007-12-05 07:44:57 +00:00
Casper Boemann
b09357e1b0 Don't draw resize handles on windows that aren't resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=744065
2007-12-02 16:38:38 +00:00
Script Kiddy
be1ae53757 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743871

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/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-12-02 08:04:51 +00:00
Rivo Laks
6ac0b970ad Add to Systemsettings, to Look&Feel->Desktop category
svn path=/trunk/KDE/kdebase/workspace/; revision=743604
2007-12-01 13:04:53 +00:00
Script Kiddy
ec0d6d0ef2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743500

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

M	wallpapers/plasma-default.png.desktop
2007-12-01 07:41:49 +00:00
Script Kiddy
962b966230 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743229
2007-11-30 07:55:45 +00:00
Luboš Luňák
daf1fbd23e Add spacers before the close button to make it stand alone,
but don't alter the layout otherwise.


svn path=/trunk/KDE/kdebase/workspace/; revision=743055
2007-11-29 19:28:07 +00:00
Luboš Luňák
cefbf62136 I'm quite sure these in fact do support spacers.
svn path=/trunk/KDE/kdebase/workspace/; revision=743036
2007-11-29 18:41:23 +00:00
Luboš Luňák
59e845e4e6 Make width of titlebar spacers default to half width of normal buttons,
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
2007-11-29 18:37:52 +00:00
Matthew Woehlke
3efc18c3b9 use new AbilityColor* in all kdebase windecos (except kwmtheme which doesn't seem to have a supports() even, and reportedly is not built)
svn path=/trunk/KDE/kdebase/workspace/; revision=743029
2007-11-29 18:02:20 +00:00
Matthew Woehlke
36850bd14a use new AbilityAnnounceColor
svn path=/trunk/KDE/kdebase/workspace/; revision=743016
2007-11-29 17:14:26 +00:00
Matthew Woehlke
529611c662 Add AbilityAnnounceColors and AbilityColor* abilities to kwin decorations; this way clients can say what colors they support for the benifit of the color kcm (and anyone else that might need to know?)
svn path=/trunk/KDE/kdebase/workspace/; revision=743015
2007-11-29 17:13:15 +00:00
Matthew Woehlke
21433fbb26 NUM_COLORS is internal and might be changed, document it thusly
svn path=/trunk/KDE/kdebase/workspace/; revision=743012
2007-11-29 17:01:14 +00:00
Matthew Woehlke
e3c96063ca SVN_SILENT: --trailing whitespace (so no fighting with kate, or gunk in my next commits)
svn path=/trunk/KDE/kdebase/workspace/; revision=743010
2007-11-29 17:00:27 +00:00
Luboš Luňák
fc23037d3a Add missing license headers. Some files mentioned only copyright
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
2007-11-29 15:32:50 +00:00
Luboš Luňák
9621df24f5 Add missing license headers.
CCMAIL:Casper Boemann <cbr@boemann.dk>
CCMAIL:Riccardo Iaconelli <riccardo@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742988
2007-11-29 15:22:10 +00:00
Luboš Luňák
60e904fb04 Don't refuse explicit window activation request just because the window
is not on the current desktop.


svn path=/trunk/KDE/kdebase/workspace/; revision=742984
2007-11-29 15:01:30 +00:00
Luboš Luňák
9cae215d63 Maybe later, if somebody will feel like it, too late for KDE4 I think.
svn path=/trunk/KDE/kdebase/workspace/; revision=742977
2007-11-29 14:13:02 +00:00
Luboš Luňák
0170623a9c Separate KCommonDecoration from KDecoration, in order to allow
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
2007-11-29 14:11:02 +00:00
Script Kiddy
fe90101935 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=742893
2007-11-29 07:55:28 +00:00
Luboš Luňák
add35c0095 Don't restart in a never-ending loop, just exit on cancel.
svn path=/trunk/KDE/kdebase/workspace/; revision=742729
2007-11-28 19:34:22 +00:00
Luboš Luňák
24b3a9b829 No tabs.
svn path=/trunk/KDE/kdebase/workspace/; revision=742694
2007-11-28 16:05:13 +00:00
Rivo Laks
652713eac9 Sync tabs before saving.
Prevents settings of one tab from overwriting those of another one.

svn path=/trunk/KDE/kdebase/workspace/; revision=742683
2007-11-28 15:42:40 +00:00
Rivo Laks
e12e7ac6de I don't think this is necessary anymore
svn path=/trunk/KDE/kdebase/workspace/; revision=742682
2007-11-28 15:40:59 +00:00
Rivo Laks
491445fb65 Add repaint for the new position of the window as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=742661
2007-11-28 15:02:29 +00:00
Luboš Luňák
2de13954d1 Ensure forced position really takes place.
svn path=/trunk/KDE/kdebase/workspace/; revision=742658
2007-11-28 14:44:53 +00:00
Luboš Luňák
4dc72ace64 Detect when enforcing position fails.
svn path=/trunk/KDE/kdebase/workspace/; revision=742656
2007-11-28 14:33:35 +00:00
Script Kiddy
42ab4a8b27 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=742556
2007-11-28 07:45:50 +00:00
Matthew Woehlke
650f963bb0 --hardcoded colors in oxygen windeco, now the 'faux-shadow' border is actually darker than the window instead of hard-coded medium gray (which made it appear bright in e.g. Wonton Soup). Also add some 'if (0)' code for a different color choice that can hopefully be made available as an option in the future (I like it better anyway, but for now use boemann's gray).
svn path=/trunk/KDE/kdebase/workspace/; revision=742324
2007-11-27 20:49:03 +00:00
Luboš Luňák
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
ac8ecc61ad This must be very obsolete by now.
svn path=/trunk/KDE/kdebase/workspace/; revision=742288
2007-11-27 19:07:13 +00:00
Script Kiddy
4d62608949 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=742119

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

M	wallpapers/plasma-default.png.desktop
2007-11-27 07:46:00 +00:00
Matthew Woehlke
9c6358396e SVN_SILENT: '.color()' -> get QColor not QBrush (Qt seems to do this implicitly, but let's be explicit), also use stored color instead of doing palette.window().color() many times, especially as we already stored it
svn path=/trunk/KDE/kdebase/workspace/; revision=742003
2007-11-26 22:06:07 +00:00
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