Commit Graph

7288 Commits

Author SHA1 Message Date
Aaron Seigo
7ad3838c5e allow popups to be freely resized when they aren't the applet 2011-08-08 14:46:41 +02:00
Aaron Seigo
f0d247f9c6 remove an unused variable 2011-08-07 01:07:15 +02:00
Aaron Seigo
575057e878 don't bother hiding if we're not visible 2011-08-07 01:02:11 +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
Aaron Seigo
0a64cca51f mark the methods deprecated as they should be 2011-08-07 00:50:20 +02:00
Aaron Seigo
fb128ee26b shush the compiler 2011-08-07 00:50:19 +02:00
Dawit Alemayehu
10dcf8ffc0 Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-08-07 00:50:19 +02:00
David Faure
c21fc57968 Fix @since tag to reflect backport 2011-08-07 00:46:27 +02:00
Marco Martin
15fbd34fae bind tickInterval property 2011-08-06 19:34:12 +02:00
Marco Martin
c21910e833 check the properties are really changed 2011-08-06 19:34:12 +02:00
Nicolás Alvarez
8002f8754f Fix typo in plasma apidox. 2011-08-06 19:20:45 +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
Aaron Seigo
cc6c04b5ba don't bother hiding if we're not visible 2011-08-03 16:45:28 +02:00
Aaron Seigo
eb87458163 remove an unused variable 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
Matthias Fuchs
0b9f5d68d2 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:256835
FIXED-IN:4.7.1
(cherry picked from commit c50f180f29a5d46093e0172baf71f6dcf9f23281)
2011-07-31 13:10:00 +02:00
Matthias Fuchs
d2c63bfdcd Use a qobject_cast instead of a dynamic_cast.
(cherry picked from commit f93aa997b1de14f76b6e1c8862992d590b77e776)
2011-07-31 13:09:48 +02:00
Matthias Fuchs
a18379e5d0 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:276336
FIXED-IN:4.7.1
2011-07-31 13:04:00 +02:00
Matthias Fuchs
db3b17abf2 Use a qobject_cast instead of a dynamic_cast. 2011-07-31 13:03:49 +02:00
Christoph Feck
25869b4e9d Fix accessing pixmapCache after it is deleted
BUG: 275570
FIXED-IN: 4.7.1
(cherry picked from commit f5b095fdaaae164ef04dd46dfb4fb97a8aa87768)
2011-07-30 21:21:31 +02:00
Christoph Feck
d5d5ba688f Fix accessing pixmapCache after it is deleted
BUG: 275570
FIXED-IN: 4.7.1
2011-07-30 21:18:38 +02:00
Aaron Seigo
011f79bca8 get rid of vestigal m_corona now 2011-07-30 20:21:15 +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
ec464cf19a get the corona from the item itself
BUG:277135
2011-07-30 20:18:41 +02:00
Aaron Seigo
44815f6ae0 get the corona from the item itself
BUG:277135
2011-07-30 20:18:27 +02:00
Aaron Seigo
296951ada0 revert change to tooltipmanager 2011-07-30 20:06:50 +02:00
Aaron Seigo
a665c17a6c remove some api duplication 2011-07-30 20:05:46 +02:00
Aaron Seigo
c872553117 poke syscoca immediately 2011-07-30 18:31:22 +02:00
Aaron Seigo
50cfd997e9 make extender applets freel resize 2011-07-30 18:27:32 +02:00
Till Adam
9a9d2bd419 EffectWatcher only exists on X11. (cherry-picked from 826a1eb) 2011-07-30 13:37:14 +02:00
Till Adam
ece6aae05d EffectWatcher only exists on X11. 2011-07-30 13:25:32 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Script Kiddy
232c0a20bb SVN_SILENT made messages (.desktop file) 2011-07-29 09:37:29 +02:00
Fredrik Höglund
d43d4315aa plasma: Use the new KWindowSystem::compositingChanged() signal
(cherry picked from commit b7b4358542e205c027ccd2718f43052851ff7152)
2011-07-28 23:41:56 +02:00
Fredrik Höglund
836b53ff56 plasma: Use the new KWindowSystem::compositingChanged() signal 2011-07-28 23:37:17 +02:00
Script Kiddy
dcce68643c SVN_SILENT made messages (.desktop file) 2011-07-28 17:29:57 +02:00
Aaron Seigo
e525c88cb2 discard discoveries only when the svg elements also go away; we don't care about colors 2011-07-22 18:06:35 +02:00
Aaron Seigo
a34e41b546 put a found-paths cache in Theme 2011-07-22 18:06:23 +02:00
Aaron Seigo
2bf802765d discard discoveries only when the svg elements also go away; we don't care about colors 2011-07-22 17:56:21 +02:00
Aaron Seigo
763fb8927c discard discoveries only when the svg elements also go away; we don't care about colors 2011-07-22 17:55:57 +02:00
Aaron Seigo
c707923086 put a found-paths cache in Theme 2011-07-22 17:37:10 +02:00
Aaron Seigo
69a6558a00 put a found-paths cache in Theme 2011-07-22 17:34:46 +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
c0a60951a5 add a test for copy-n-fetch performance; make list based checks list order independant 2011-07-22 17:24:10 +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
e0d8147e54 fix up test 2011-07-21 15:18:54 +02:00
Aaron Seigo
5b4f61a10a hashing value changed on package 2011-07-21 15:18:45 +02:00