Commit Graph

3544 Commits

Author SHA1 Message Date
Andreas Hartmetz
cf8520487b Backport HTTP authentication changes from trunk; they seem to fix more problems than they cause (none known at the moment). Revisions 910563, 913039, 914385 from trunk.
svn path=/branches/KDE/4.2/kdelibs/; revision=914548
2009-01-21 12:47:49 +00:00
Aaron J. Seigo
72d8113c75 need to do this before 4.2.0 so it can be public
svn path=/branches/KDE/4.2/kdelibs/; revision=914447
2009-01-21 06:19:33 +00:00
Aaron J. Seigo
e817ea81f5 woah, can't believe i didn't catch this one... another day later and it would've been ABI disaster! ;)
svn path=/trunk/KDE/kdelibs/; revision=914446
2009-01-21 06:17:23 +00:00
Aaron J. Seigo
fb8af31791 some missing API bits
svn path=/trunk/KDE/kdelibs/; revision=914441
2009-01-21 05:59:33 +00:00
Chani Armitage
0f3f06f024 all plasma shortcuts are emacs-style now, starting with alt-d, to avoid conflicts.
svn path=/trunk/KDE/kdelibs/; revision=914295
2009-01-20 19:38:45 +00:00
Script Kiddy
4f1ab996c2 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=914107
2009-01-20 13:20:56 +00:00
Aaron J. Seigo
ce8a3e3ed7 the true default to setHasConfigurationInterface actually needs to call the setter method as that sets up the action
svn path=/trunk/KDE/kdelibs/; revision=913908
2009-01-20 03:12:08 +00:00
Aaron J. Seigo
35cd88ab4e update() on icon config changes
BUG:181298

svn path=/branches/KDE/4.2/kdelibs/; revision=913905
2009-01-20 02:39:27 +00:00
Aaron J. Seigo
9d262c3619 update() on icon config changes
BUG:181298

svn path=/trunk/KDE/kdelibs/; revision=913904
2009-01-20 02:37:52 +00:00
Aaron J. Seigo
65268e77d4 by default, applet scripts get the generic config dialog
svn path=/trunk/KDE/kdelibs/; revision=913900
2009-01-20 02:11:01 +00:00
Aaron J. Seigo
e5d42d17b7 move the default value of setHasConfigurationInterface to the ctor now that i have time to comb through all our widgets
svn path=/trunk/KDE/kdelibs/; revision=913792
2009-01-19 21:24:55 +00:00
Marco Martin
e2e814e9bf IconWidget background looked freaking old, now uses the svg backgrond from
the folderview icons (and as a bonus it's even less code :D)

svn path=/trunk/KDE/kdelibs/; revision=913758
2009-01-19 20:41:45 +00:00
Olivier Goffart
20f4e402d8 Backport 913616
svn path=/branches/KDE/4.2/kdelibs/; revision=913618
2009-01-19 16:04:03 +00:00
Olivier Goffart
7bd898f55e Fix crash at plasma startup.
The toolbox has to be initialized before any call to setCollapsed. (because the resize event uses it)


svn path=/trunk/KDE/kdelibs/; revision=913616
2009-01-19 16:03:20 +00:00
Script Kiddy
e714099989 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=913548
2009-01-19 14:10:42 +00:00
Aaron J. Seigo
307f5760c3 * do the input sanitization first
* use newScreen and newDesktop to make the code more understandable; someone already tripped up on d->screen vs screen in a bug report. d->screen vs newScreen should be harder to miss.

svn path=/trunk/KDE/kdelibs/; revision=913111
2009-01-18 19:52:09 +00:00
Aaron J. Seigo
5e41fb8132 don't lose the desktop in the process of swaping contaiment assignments; include desktop assignment in the debug
CCBUG:175697

svn path=/trunk/KDE/kdelibs/; revision=913049
2009-01-18 17:56:06 +00:00
Marco Martin
88abeaf783 icon() and setIcon() in the api, pretty foundamental in a tool button...
svn path=/trunk/KDE/kdelibs/; revision=913027
2009-01-18 17:28:04 +00:00
Marco Martin
53658a106e style with FrameSvg all the lineedits, spinboxes and comboboxes, use
Plasma::Style to achieve that, since it's a kinda repetitive thing and
comboboxes and spinboxes are complex controls
the svg used will probably change

svn path=/trunk/KDE/kdelibs/; revision=912567
2009-01-17 18:00:33 +00:00
Marco Martin
e87fe2244c backport the last chunks of svg fixes, namely now resize() and size()
always behave as expected and the natural svg size is cached on disk

svn path=/branches/KDE/4.2/kdelibs/; revision=912162
2009-01-16 20:14:05 +00:00
Marco Martin
22b6670f00 cache on disk the natural svg size
svn path=/trunk/KDE/kdelibs/; revision=912132
2009-01-16 19:14:38 +00:00
Rob Scheepmaker
bfb771ddd8 Make all items persistent by default, even if still attached. This allows us to restore their position and their collapsed state.
svn path=/trunk/KDE/kdelibs/; revision=912127
2009-01-16 18:49:54 +00:00
Marco Martin
8a0159e10e ensure that size() always return the real size
svn path=/trunk/KDE/kdelibs/; revision=912123
2009-01-16 18:43:26 +00:00
Marco Martin
ab3501872d ensure that resize() resize always to the natural size (cached, so we
don't create unnecessary renderers)

svn path=/trunk/KDE/kdelibs/; revision=912093
2009-01-16 17:41:49 +00:00
Aaron J. Seigo
3e1acc8e02 delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp fil
es.
CCBBUG:180966

svn path=/branches/KDE/4.2/kdelibs/; revision=912083
2009-01-16 17:21:48 +00:00
Aaron J. Seigo
f5c70115db delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp files.
svn path=/trunk/KDE/kdelibs/; revision=912076
2009-01-16 17:16:10 +00:00
Script Kiddy
2727196130 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=911978
2009-01-16 13:30:09 +00:00
Aaron J. Seigo
512bcd03a9 insert into the local cache
svn path=/trunk/KDE/kdelibs/; revision=911758
2009-01-16 02:46:33 +00:00
Aaron J. Seigo
023ae75d69 allow package structures to say that external paths are ok. defaults to false, though some packagestructures that do not have executable code capabilities (e.g. wallpaper image sets) may wish to take advantage of this
CCBUG:180716

svn path=/trunk/KDE/kdelibs/; revision=911736
2009-01-16 01:02:35 +00:00
Aaron J. Seigo
c79e301e5c neat bug: changing Activity type while widgets are locked caused Appearances settings to be permahidden. chased out a few other ways to trigger this once tha
t one was fixed, works nicely now.
CCBUG:180887

svn path=/branches/KDE/4.2/kdelibs/; revision=911730
2009-01-16 00:43:16 +00:00
Aaron J. Seigo
4bc508411a neat bug: changing Activity type while widgets are locked caused Appearances settings to be permahidden. chased out a few other ways to trigger this once that one was fixed, works nicely now.
BUG:180887

svn path=/trunk/KDE/kdelibs/; revision=911727
2009-01-16 00:39:07 +00:00
Aaron J. Seigo
8056505aa0 more verbosity is helpful in debugging these things
svn path=/trunk/KDE/kdelibs/; revision=911726
2009-01-16 00:32:58 +00:00
Aaron J. Seigo
2b579e6d48 also support listing info (this one won't be backported because it is a BC addition)
svn path=/trunk/KDE/kdelibs/; revision=911625
2009-01-15 19:41:11 +00:00
Aaron J. Seigo
2be355b79d bring into line with Applet::list*; source compat, binary incompat. few users of this, though, and only applications, so impact is nominal. could do it in a BC way by poluting the API with another method that just takes a QString, but we stil have that sliver of a window open before 4.2.0, so use it to keep the API pristine. we can make it ugly after ;)
svn path=/branches/KDE/4.2/kdelibs/; revision=911556
2009-01-15 16:41:04 +00:00
Aaron J. Seigo
ced5cec1a2 bring into line with Applet::list*; source compat, binary incompat. few users of this, though, and only applications, so impact is nominal. could do it in a BC way by poluting the API with another method that just takes a QString, but we stil have that sliver of a window open before 4.2.0, so use it to keep the API pristine. we can make it ugly after ;)
svn path=/trunk/KDE/kdelibs/; revision=911552
2009-01-15 16:31:23 +00:00
Aaron J. Seigo
bddaa1125d get sizing right when setContent is called and the tip is already visible
CCBUG:180423

svn path=/branches/KDE/4.2/kdelibs/; revision=911228
2009-01-15 06:02:20 +00:00
Aaron J. Seigo
6c041a4232 get sizing right when setContent is called and the tip is already visible
BUG:180423

svn path=/trunk/KDE/kdelibs/; revision=911227
2009-01-15 05:59:07 +00:00
Script Kiddy
d920300656 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=910955
2009-01-14 14:17:01 +00:00
Marco Martin
831f2564d8 quite mega-patch:
add a new function FrameSvg::alphaMask() that lets define an alpha-layer
for the frame, that can be the frame itself or a mask- prefix
allow for overlay elements on frames that can do a nice
filigrane-effect, they can either be:
-fixed position at 0,0
-random position consistent across plasma runs (only supported for applet
backgrounds)
-tiled
-scaled

svn path=/trunk/KDE/kdelibs/; revision=910655
2009-01-13 21:46:07 +00:00
Aaron J. Seigo
22179dffbb prevent unnecessary multiple calls to pathChanged, which can be more or less expensive but usually results in hitting disk
svn path=/trunk/KDE/kdelibs/; revision=910610
2009-01-13 19:50:01 +00:00
Aaron J. Seigo
0655ae2e03 slightly more useful debug output
svn path=/trunk/KDE/kdelibs/; revision=910609
2009-01-13 19:49:36 +00:00
Aaron J. Seigo
dd99751e2b SVN_SILENT: coding style!
svn path=/trunk/KDE/kdelibs/; revision=910608
2009-01-13 19:49:19 +00:00
Beat Wolf
5f71a0228b Backport
BUG:180272

svn path=/branches/KDE/4.2/kdelibs/; revision=910419
2009-01-13 11:28:56 +00:00
Beat Wolf
ad56e279e2 Don't create submenu for "unlock widgets" if there is only one action in the submenu
svn path=/trunk/KDE/kdelibs/; revision=910410
2009-01-13 11:03:48 +00:00
Script Kiddy
e4171154f9 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=909994
2009-01-12 14:40:10 +00:00
Aaron J. Seigo
fbd38ee3d9 some hopefully useful debug output
svn path=/trunk/KDE/kdelibs/; revision=909629
2009-01-11 22:35:51 +00:00
Alex Merry
7effda48d7 Backport r909140: fix a crash (appearing in KSMServer) which is partly a Qt bug and partly an odd SVG.
Basically, don't try creating and drawing on a pixmap if we know it will be null in advance.

CCBUG: 179978


svn path=/branches/KDE/4.2/kdelibs/; revision=909478
2009-01-11 17:31:47 +00:00
Alex Merry
13116aaea9 Don't crash on weirdly invalid SVGs.
The particular problem I was having was that frame->leftWidth was 0 and leftHeight was 0, but
frame->rightWidth was > 0.  And, while trying to paint a 0x0 pixmap is apparently fine
(because QPixmap::isNull() is just (QPixmap::width() == 0)),
QPainter::drawTiledPixmap() tries to do 0 % 0 if you pass it an 8x0 pixmap (which is an
arithmetic error).

And this was happening in KSMServer when displaying the shutdown dialog.
Cue weird behaviour when trying to log out or shut down.


svn path=/trunk/KDE/kdelibs/; revision=909140
2009-01-11 03:48:29 +00:00
Marco Martin
eb7588ae9a forward also editingFinished
patch by Dario Andres
BUG: 180261

svn path=/trunk/KDE/kdelibs/; revision=909009
2009-01-10 19:35:29 +00:00
Script Kiddy
ef71fa06f4 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=908904
2009-01-10 16:05:52 +00:00