Commit Graph

984 Commits

Author SHA1 Message Date
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
Aaron Seigo
97743420a0 add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
23784d26bb less profanity 2011-10-30 01:58:11 +02:00
David Faure
108536cb93 Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
Marco Martin
044915b6cb RSIP_OnMouseClick as Oxygen style does 2011-10-04 16:47:04 +02:00
Marco Martin
ef069ab402 RSIP_OnMouseClick as Oxygen style does 2011-10-03 17:26:12 +02:00
David Faure
685bebaed9 Merge remote branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	kdecore/tests/kservicetest.cpp
	plasma/framesvg.cpp
2011-09-28 17:44:59 +02:00
Marco Martin
888a5753de export data property to make it work in QML 2011-09-24 15:54:44 +02:00
Aaron Seigo
f8d94a98b8 use a hash instead of a map: the sorting was irrelevant and the API that uses this was ported to hashes as well 2011-09-19 11:27:54 +02:00
David Faure
24bd3d69eb Merge remote branch 'origin/KDE/4.7' into origin-frameworks 2011-09-02 10:08:03 +02:00
Aaron Seigo
423ce0c356 don't emit addSource for a source being added in a sourceRequest event until the event is over 2011-09-01 19:07:22 +02:00
Marco Martin
37ac5105ab fix resolution of paths w/ only a packageRoot+name 2011-08-31 12:53:09 +02:00
Stephen Kelly
e23c2dfbd6 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	cmake/modules/FindNepomuk.cmake
	kdecore/tests/kstandarddirstest.cpp
	kdeui/util/kkeyserver.h
	kio/kio/accessmanagerreply_p.h
	kio/kio/hostinfo.cpp
	plasma/containment.cpp
	plasma/data/services/plasma.protocol
	plasma/popupapplet.cpp
	plasma/tooltipcontent.h
	plasma/widgets/videowidget.h
2011-08-25 19:43:08 +02:00
Aaron Seigo
79ad385f41 give applets with no qwidget or graphicswidget a chance to do something 2011-08-25 17:35:07 +02:00
Aaron Seigo
ca320eb0d4 clarity in variable naming 2011-08-17 13:12:45 +02:00
Marco Martin
33e9192346 Merge branch 'libplasma2' into frameworks
Conflicts:
	plasma/CMakeLists.txt
	plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Aaron Seigo
f285745318 make extender applets freel resize 2011-08-11 00:15:05 +02:00
Montel Laurent
9e314fde8d Pedantic 2011-08-07 00:50:21 +02:00
Aaron Seigo
ef6b65c2b1 simplify 2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5 --deprecatedUsage; 2011-08-07 00:50:20 +02:00
Dawit Alemayehu
10dcf8ffc0 Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-08-07 00:50:19 +02:00
Aaron Seigo
5484609cd3 consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:29 +02:00
Aaron Seigo
f5b91c58de consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:28 +02:00
Kevin Kofler
3435f9f1e6 Add an API (currently private) for installing missing Plasma engines.
Use it when a requested data or script engine is not found.

REVIEW: 102175
2011-08-03 10:21:39 +02:00
Aaron Seigo
7c8cf530e1 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/theme.cpp
2011-07-30 20:20:10 +02:00
Aaron Seigo
50cfd997e9 make extender applets freel resize 2011-07-30 18:27:32 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
fbde93c64f give package a cache for found items; make the dptr implicitly shared
this drops a 100k loop of copies from ~2700ms to ~37ms and a 100k loop
of copy-n-find from ~3900ms to ~40ms.

the cache addition is predicated on the idea that lookups of the same files will be frequent enough to warrant the small amount of extra memory usage for the cache. if that does not hold in practice (though it appears to) then this will not be a gain and in fact be a small net loss for memory footprint

the dptr change is predicated on the assumption that copies of Package will be frequent, and so must be low cost. this is known to be true. even if it wasn't, there is no down-side to this change. the upside are significant time and memory savings.
2011-07-22 17:24:40 +02:00
Aaron Seigo
bd10c7175e Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/containment.cpp
	plasma/package.cpp
	plasma/packagestructure.cpp
	plasma/private/package_p.h
	plasma/scripting/scriptengine.cpp
2011-07-21 15:31:07 +02:00
Aaron Seigo
f3a66f1f79 allow stripping out the name and mimetype data from the package info; only really useful for package introspection (e.g. in plasmate and other such tools) but a waste on mobile 2011-07-21 14:41:01 +02:00
Aaron Seigo
3d5fa3ca43 build, though wallpaper is still broken 2011-07-21 14:39:02 +02:00
Aaron Seigo
4a3ef536e6 private class changes to match the public class usage 2011-07-19 21:52:33 +02:00
Aaron Seigo
32f75b826c re-port back to PackageStructure 2011-07-19 21:36:57 +02:00
Aaron Seigo
722c77e7ce move the needed datastructures into Package 2011-07-15 13:03:56 +02:00
Aaron Seigo
abf1b8510f make the PackageStructures into Package subclasses 2011-07-15 13:03:46 +02:00
Aaron Seigo
889c9e7bd3 adapt to Package merge changes 2011-07-15 13:03:22 +02:00
Aaron Seigo
1dde80056b no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 13:02:15 +02:00
Aaron Seigo
5b2eaf4a7f PackageStructure is no more 2011-07-15 13:01:28 +02:00
Aaron Seigo
4b3b687088 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:59:51 +02:00
Marco Martin
14c3235a17 fix resolution of paths w/ only a packageRoot+name 2011-07-14 14:53:57 +02:00
Montel Laurent
ecc8692c33 Pedantic 2011-07-13 21:46:19 +02:00
Aaron Seigo
41bb1efb74 PackageStructure no longer does widget browser UI
too many problems with this: device appropriateness, not all packages are widgets, requires PackageStructure to be a QObject, etc..
2011-07-13 20:27:12 +02:00
Aaron Seigo
0633f2fd28 isPublished no longer required 2011-07-13 20:07:33 +02:00
Aaron Seigo
2f1c50c419 remove unpublish 2011-07-13 20:06:09 +02:00
Aaron Seigo
0fa24619d4 remove publish functionality 2011-07-13 20:05:07 +02:00
Aaron Seigo
e4be1cecf5 simplify down to one constructor and try harder to have all information at all times with clearer code 2011-07-13 20:03:00 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Aaron Seigo
b29c73f2e1 paint in parent coords, do events in local coords
this makes clicking on the window previews accurate (e.g. clicking at the top of them works)
also some code consistency when iterating over the collections and some cleanups
2011-07-11 21:48:56 +02:00
Aaron Seigo
6150c12907 prevent triggering a crash in Qt's text layouting
also simplifies code as a fun side effect.
2011-07-11 21:48:56 +02:00