Commit Graph

10318 Commits

Author SHA1 Message Date
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
Script Kiddy
607ca232a6 SVN_SILENT made messages (.desktop file) 2011-07-30 09:44:11 +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
Marco Martin
e8432fe351 don't reset the model if the source isn't ours 2011-07-25 19:11:36 +02:00
Daker Fernandes Pinheiro
90123fa75e Add gallery example for ProgressBar plasma component
Also refactored the busy indicator gallery code and
agregated it with the progress bar gallery.

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-25 00:20:16 -03:00
Daker Fernandes Pinheiro
1edb412e52 Add ProgressBar plasma component
The ProgressBar is defined in the Qt Components common API.
It has a orientation property, usign Qt.Horizontal or
Qt.Vertical to set the orientation of the component.

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-25 00:14:51 -03:00
Daker Fernandes Pinheiro
dd136c42bd Add gallery example for TextArea plasma component
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-22 16:13:26 -03:00
Daker Fernandes Pinheiro
decbcb0439 Add TextArea plasma component
The TextArea is defined in the Qt Components common API.

Some features were added as a plasma specific behaviour for this component:

- It emit the keys pressed and released signals
- Implements a focus policy
- The current implementation only covers the desktop use case.
    For mobile use, a flickable text area with scroll decorators
    would be more appropriate.
- Scroll bars appears only if the content is bigger than the content.
- The width of the the scroll bars can be setted through the scrollWidth
    property
- The size of the text content can also be setted. For this the properties
    contentMaxWidth and contentMaxHeight must be used. The default value
    is the dimensions of the TextArea.

The current state of the implemention lacks of:

- A behaviour for hover state, present in other components
- A errorHighlight usage
- Polish the visual alignment of the SVGs items
- Lacks of right mouse button interaction.
    Would be interesting to use it to cut & paste operations.

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-22 16:12:36 -03: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
Daker Fernandes Pinheiro
d318641dcf Fix ScrollBar plasma component incrementValue function
- The function was not bounding the value after incremented
    inside the flickable content size.

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-21 17:48:31 -03: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
Daker Fernandes Pinheiro
db7cd67033 Add gallery example for TextField plasma component
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-21 10:16:42 -03:00
Daker Fernandes Pinheiro
b37a2230b7 Add TextField plasma component
The TextField is defined in the Qt Components common API.

Some features were added as a plasma specific behaviour for this component:

- It emit the keys pressed and released signals.
- Implements a focus policy

The current state of the implemention lacks of:

- A behaviour for hover state, present in other components
- A errorHighlight usage

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-21 10:16:34 -03:00
Aaron Seigo
1ca9580149 call initPackage in the ctor 2011-07-21 15:04:56 +02:00
Aaron Seigo
678d5d81ef fix assignment and copy operators 2011-07-21 14:57:43 +02:00
Aaron Seigo
9701a7a2ad build 2011-07-21 14:48:12 +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
33cdfc7c77 fix install and introduce another profile-based footprint reduction opportunity 2011-07-21 14:39:55 +02:00
Aaron Seigo
3d5fa3ca43 build, though wallpaper is still broken 2011-07-21 14:39:02 +02:00
Aaron Seigo
a4187dc0a7 add missing impl 2011-07-21 14:38:44 +02:00
Script Kiddy
1f4182dba4 SVN_SILENT made messages (.desktop file) 2011-07-21 09:26:19 +02:00
Aaron Seigo
ca860417c9 PluginLoader API changes 2011-07-20 00:06:24 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
e40bb1bcdd adapt to changes in PackageStructure api 2011-07-19 21:53:03 +02:00
Aaron Seigo
240a7b1ebb and we're package to package-plasmastructure.desktop 2011-07-19 21:52:47 +02:00
Aaron Seigo
4a3ef536e6 private class changes to match the public class usage 2011-07-19 21:52:33 +02:00