Commit Graph

3465 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
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
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
Olivier Goffart
20f4e402d8 Backport 913616
svn path=/branches/KDE/4.2/kdelibs/; revision=913618
2009-01-19 16:04:03 +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
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
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
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
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
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
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
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
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
Chani Armitage
d33c5b5d75 backport of r908661:
apparently it's bad to compare to QSize()

svn path=/branches/KDE/4.2/kdelibs/; revision=908662
2009-01-10 04:19:35 +00:00
Chani Armitage
c11707b2ce apparently it's bad to compare to QSize()
svn path=/trunk/KDE/kdelibs/; revision=908661
2009-01-10 04:16:26 +00:00
Chani Armitage
5fc144ba9a backport of r908612:
a default size for scripted applets, because they aren't allowed to do anything themselves before init (and this is the one thing that *must* be done before init)

svn path=/branches/KDE/4.2/kdelibs/; revision=908618
2009-01-10 00:43:18 +00:00
Chani Armitage
ebfc550c11 a default size for scripted applets, because they aren't allowed to do anything themselves before init (and this is the one thing that *must* be done before init)
svn path=/trunk/KDE/kdelibs/; revision=908612
2009-01-10 00:33:38 +00:00
Alex Merry
faaa5b009c Backport of apidocs changes, so that the 4.2-branch apidocs are correct
svn path=/branches/KDE/4.2/kdelibs/; revision=908609
2009-01-10 00:22:56 +00:00
Aaron J. Seigo
e3745c680a plasmoids -> widgets in this case
svn path=/trunk/KDE/kdelibs/; revision=908605
2009-01-10 00:10:33 +00:00
Alex Merry
9c1570f13e apidocs fixes.
Remember to document ALL parameters to methods.  They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.

*waves stick of EBN-ness*


svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
32d2b4c4c9 small fixes for dragging; i don't think they warrant a backport, though
svn path=/trunk/KDE/kdelibs/; revision=908503
2009-01-09 20:45:28 +00:00
Aaron J. Seigo
c5e44c35d2 if the applet is already in another containment, don't re-animate it as if it were new
svn path=/trunk/KDE/kdelibs/; revision=908501
2009-01-09 20:44:53 +00:00
Rob Scheepmaker
daee98b062 Move the QGL resize hacks from extender to extenderapplet. The only applet atm for which this hack is necesarry is actually extenderapplet, in the future we will have better layouts, and it won't be necesarry at all, and for now it avoids breaking panel layouts when removing the last extenderitem from an extenderapplet.
svn path=/branches/KDE/4.2/kdelibs/; revision=908498
2009-01-09 20:41:24 +00:00
Alexis Ménard
49dc6e5bcd Backport 908392 from trunk
QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid.

svn path=/branches/KDE/4.2/kdelibs/; revision=908395
2009-01-09 16:53:50 +00:00
Alexis Ménard
4e6da919f3 QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid.
svn path=/trunk/KDE/kdelibs/; revision=908392
2009-01-09 16:50:27 +00:00
Rob Scheepmaker
aea9e0e6d8 Move the QGL resize hacks from extender to extenderapplet. The only applet atm for which this hack is necesarry is actually extenderapplet, in the future we will have better layouts, and it won't be necesarry at all, and for now it avoids breaking panel layouts when removing the last extenderitem from an extenderapplet.
svn path=/trunk/KDE/kdelibs/; revision=908195
2009-01-09 13:13:57 +00:00
Anne-Marie Mahfouf
60fad5ba0b fix test (fix .desktop install path and read() path)
svn path=/trunk/KDE/kdelibs/; revision=908084
2009-01-09 09:23:35 +00:00
Aaron J. Seigo
4e7e534103 * add actions in the order they are added, not alphabetically by name (?!)
* remove actions if they get deleted
CCBUG:30042

svn path=/trunk/KDE/kdelibs/; revision=907996
2009-01-09 02:15:23 +00:00
Aaron J. Seigo
4f16460715 * add actions in the order they are added, not alphabetically by name (?!)
* remove actions if they get deleted
BUG:30042

svn path=/branches/KDE/4.2/kdelibs/; revision=907995
2009-01-09 02:14:10 +00:00
Aaron J. Seigo
9f03caaa18 clear the current widget when an widget is unregistered; solves a crash where the task widget disconnects *all* signals to items before deleting them, thus preventing the destroyed(QObject*) signal from getting through. it was calling unregisterWidget, but that wasn't clearing the current widget -> POOF!
CCMAIL:faure@kde.org
CCBUG:179819

svn path=/branches/KDE/4.2/kdelibs/; revision=907982
2009-01-09 01:16:57 +00:00
Aaron J. Seigo
58420aae62 clear the current widget when an widget is unregistered; solves a crash where the task widget disconnects *all* signals to items before deleting them, thus preventing the destroyed(QObject*) signal from getting through. it was calling unregisterWidget, but that wasn't clearing the current widget -> POOF!
CCMAIL:faure@kde.org
BUG:179819

svn path=/trunk/KDE/kdelibs/; revision=907981
2009-01-09 01:15:39 +00:00
Script Kiddy
602ee72b5a SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=907662
2009-01-08 14:11:50 +00:00
Stephan Kulow
f9abcd96e4 anoter case of useless warnings
svn path=/trunk/KDE/kdelibs/; revision=907540
2009-01-08 11:32:55 +00:00
Stephan Kulow
744f3ef721 avoid tons of warnings for empty sizes
svn path=/trunk/KDE/kdelibs/; revision=907537
2009-01-08 11:28:58 +00:00
Stephan Kulow
6e8e615e73 don't create "QEventDispatcherUNIX::unregisterTimer: invalid argument"
svn path=/trunk/KDE/kdelibs/; revision=907536
2009-01-08 11:27:39 +00:00
Aaron J. Seigo
6156b46110 tell the config loader to write its config as well during calls to save()
svn path=/trunk/KDE/kdelibs/; revision=907296
2009-01-07 20:34:34 +00:00
Aaron J. Seigo
b5456b851c bump the minor version number for 4.3
svn path=/trunk/KDE/kdelibs/; revision=907268
2009-01-07 19:15:01 +00:00
Davide Bettio
08104d35ba Added Plasma::SpinBox.
svn path=/trunk/KDE/kdelibs/; revision=907258
2009-01-07 18:54:43 +00:00
Aaron J. Seigo
f353a0dadc protect access to toolBox pointer
CCBUG:179909

svn path=/branches/KDE/4.2/kdelibs/; revision=907207
2009-01-07 16:44:25 +00:00
Aaron J. Seigo
e009bc7382 protect access to toolbox, when used with containments that don't create one or turn theirs off
BUG:179909

svn path=/trunk/KDE/kdelibs/; revision=907205
2009-01-07 16:42:12 +00:00
Aaron J. Seigo
e4e0337c1a sync the IconWidget changes made in trunk to the branch; not critical for the RC, but needs to be in 4.2.0 final so that we have header continuity.
svn path=/branches/KDE/4.2/kdelibs/; revision=906900
2009-01-07 01:17:31 +00:00
Aaron J. Seigo
fe0acf8202 clean this up while we still can. not sure how this one slipped by us, but it's been on my list for a week; no actual logic changes, just cleans out the header of crud that doesn't belong.
svn path=/trunk/KDE/kdelibs/; revision=906780
2009-01-06 21:11:54 +00:00