Commit Graph

7168 Commits

Author SHA1 Message Date
Aaron Seigo
7498fe207a don't allocate 1k chunks of memory for a few longs here and there 2011-11-30 13:43:52 +01:00
Aaron Seigo
b31a05c41e get rid of the source limiting; wasn't used, only overhead 2011-11-30 12:58:20 +01:00
Aaron Seigo
fee7b32974 allow ui/main.qml to be the default for plasmoids, and code/main.js for plasmoids, dataengines, runners 2011-11-30 12:58:20 +01:00
Aaron Seigo
6cd33ae4a0 grab the source name before removing the iterator
the previous fix, which i accidentally reverted while cleaning up this code,
was actually wrong (so in a way i'm glad i caught it): the signal MUST be emitted
AFTER the item is removed from the collection otherwise any code that checks to
see if that source exists will see that it does still exist even though it was
just signaled as being removed. order sometimes really matters :)

CCMAIL:kde@rusu.info
BUG:287795
2011-11-30 09:23:03 +01:00
Marco Martin
58b6cc3e43 remove the iterator after accessing it 2011-11-29 15:53:17 +01:00
Aaron Seigo
5727ade508 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	kio/kfile/kfilemetadatareaderprocess.cpp
2011-11-28 11:00:27 +01:00
Aaron Seigo
e7ffcacf1f emit sourceRemoved when the container is deleted outside of removeSource 2011-11-28 10:42:40 +01:00
Aaron Seigo
e500cd4bd7 make removeAllSources match removeSource closer 2011-11-28 10:37:21 +01:00
Aaron Seigo
2f5d8e4e7f the graphics widget may not have been into a layout, or may be null
BUG:287548
2011-11-28 09:43:22 +01:00
Stephen Kelly
846426335f Move libkarchive to kdecore.
It still depends on kdecore, and too much stuff depends on it for
it to be commented out for now.
2011-11-23 11:32:18 +01:00
Stephen Kelly
6117d99a7b Make plasma build. 2011-11-22 22:56:29 +01:00
Script Kiddy
b71636fb5b SVN_SILENT made messages (.desktop file) 2011-11-22 21:19:16 +01:00
Aaron Seigo
685ae3b6c5 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/popupapplet.cpp
2011-11-22 13:58:50 +01:00
Aaron Seigo
7ed45afaaf if the graphicswidget isn't on a corona, use the applet's scene 2011-11-22 13:56:35 +01:00
Aaron Seigo
9775682bef use a QWeakPointer with the graphics widget handed in as we don't own it 2011-11-22 13:29:02 +01:00
Aaron Seigo
3c55a5489a Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/runnermanager.cpp
2011-11-22 12:56:16 +01:00
Aaron Seigo
d47a6bf33b constify 2011-11-22 12:20:14 +01:00
Aaron Seigo
f6f8d8b2ee when setAllowedRunners is called, call loadRunners, which now also allows for being called while a search is in progress
loadRunners intelligently only unloads those runners with are no longer to be loaded, so this is a performance win.
it now also checks to see if there are pending jobs for the runners to be deleted (if any) and if so it creates a delayed
deleter for them -> no crashes
2011-11-22 12:17:06 +01:00
Ben Cooksley
7f0e9fb3b2 Don't crash on exit.
BUG:284989
REVIEW:103202
2011-11-22 21:18:04 +13:00
Aaron Seigo
2bcc53419e don't count custom panel contaiments (e.g. the grouping desktop) the same as a desktop containment
from the "useful things missing from bug reports" and "wondering wtf is wrong with people
while trying to get the useful bits out of a bug report" files ...

BUG:260360
2011-11-20 18:56:06 +01:00
Aaron Seigo
4814dbf4db make these methods public for scripting purposes 2011-11-17 14:50:36 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Kevin Funk
5761d0f84b Make compile/link
Add missing link targets to plasma libs
Remove -pedantic from polkit translation unit

Ack'ed by dfaure.
2011-11-17 10:46:40 +01:00
David Faure
bdf1f5c2dc Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	tier1/libkcoreaddons/src/io/kdirwatch.cpp
2011-11-16 14:44:08 +01:00
Aaron Seigo
67651e12bb git rid of the shortcuts dialog on reduced functionality builds 2011-11-14 21:20:18 +01:00
Aaron Seigo
aad3d107b4 get rid of the big lock -> nothing uses it and it's just asking for a crash-due-to-deletion 2011-11-14 10:34:01 +01:00
Aaron Seigo
819fdf5f23 put the contents hash into a more sensibly named file 2011-11-09 13:12:41 +01:00
Valentin Rusu
da386deb15 Merge branch 'KDE/4.7' into ksecretsservice 2011-11-08 21:27:31 +01:00
Marco Martin
71ad31df23 add the import paths right into libkdeclarative 2011-11-08 17:19:47 +01:00
Marco Martin
a70c17bc59 fix drawing of focusindicator of spinbox and combobox
use the proper prefix for drawing the combobox focusindicator
2011-11-08 12:57:46 +01:00
Marco Martin
4fad696891 possibility to put the focus over the frame
fixes the wrong shading of the lineedits, but staying retrocompatible with the old themes designed to have an highlight outside
2011-11-07 23:22:11 +01:00
Valentin Rusu
36bb121f93 Merge branch 'KDE/4.7' into ksecretsservice 2011-11-06 12:35:55 +01:00
David Faure
e2d14f15d1 Merge remote branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	kdeui/kernel/kglobalsettings.cpp
	plasma/CMakeLists.txt
2011-11-03 20:40:26 +01:00
Jeremy Whiting
24ec77ede1 Add kcoreaddons to link where needed. 2011-11-03 10:46:25 -06:00
Aaron Seigo
f38425761a a missing include 2011-11-03 12:15:52 +01:00
Aaron Seigo
ee75cfc1c8 add the variable to the c++ env 2011-11-03 12:15:27 +01:00
Aaron Seigo
58bbbb5fe6 make kutils linking properly conditional, use proper libs vars for other libraries too 2011-11-03 11:06:54 +01:00
Valentin Rusu
f4d5df71f9 Merge branch 'KDE/4.7' into ksecretsservice 2011-11-02 22:23:01 +01:00
Aaron Seigo
9a4825380f improve loading of system kcms
* don't use libkutils on reduced footprint profile builds
* load the kcms even if there isn't a configLoader for the package
2011-11-02 17:24:25 +01:00
Aaron Seigo
ebbf1bbc32 profile controled use of libkutils 2011-11-02 17:22:36 +01:00
Marco Martin
02eeddf931 correct type dekstop->desktop
please test before committing ;)
CCMAIL:viranch.mehta@gmail.com
2011-11-01 20:33:13 +01:00
Aaron Seigo
53622d0214 add MimeType and URLs to matches
every single runner thus written knows this at the time of matching,
so more efficient to store it up-front than have to later resort to calling
(the inneficient but perfect for drag and drop) mimeDataForMatch method.
2011-11-01 18:15:01 +01:00
Christophe Giboudeaux
ec2df8a053 Compile
GIT_SILENT
2011-10-31 21:44:37 +01:00
Viranch Mehta
6c19c0b3c4 Aaron's patch for loading system KCMs in scripted plasmoids config dialog by specifying them in the plasmoid's .desktop file 2011-10-31 22:24:39 +05:30
Valentin Rusu
3caa6e8a6c Merge branch 'KDE/4.7' into ksecretsservice 2011-10-30 21:30:51 +01:00
Aaron Seigo
9612317115 checkUsage is in the private class now 2011-10-30 12:56:12 +01:00
Aaron Seigo
91178d1c2a Merge remote-tracking branch 'origin/KDE/4.7' into frameworks 2011-10-30 10:54:53 +01:00
Aaron Seigo
356e618364 stop the timers 2011-10-30 10:46:28 +01:00
Aaron Seigo
2c7751ccef Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kio/kfileitem.cpp
	plasma/datacontainer.cpp
	plasma/datacontainer.h
	plasma/private/wallpaper_p.h
	plasma/private/wallpaperrenderthread.cpp
2011-10-30 10:44:59 +01:00
Aaron Seigo
176d4b896b delay usage checks so quite disconnect/reconnects don't result in unecessary loss of data
(only to reload it again immediately thereafter...)
2011-10-30 10:35:29 +01:00