Commit Graph

12707 Commits

Author SHA1 Message Date
Sebastian Kügler
01d1509c7c Speed up cache lookups
Use constFind and an iterator to save one hash key lookup.

CCMAIL:aleixpol@kde.org
2014-02-21 16:03:03 +01:00
David Edmundson
9e5727d15c Force repainting a texture if the theme changes 2014-02-21 15:15:22 +01:00
David Edmundson
1eb0deb0df Move QSGTexture memory management into QSGSimpleTextureNode subclass 2014-02-21 15:15:21 +01:00
David Edmundson
d7b8ba265b Cleanup whitespace 2014-02-21 15:15:21 +01:00
David Edmundson
fd4bf875a7 Remove manual isDirty tracking in SvgItem 2014-02-21 15:15:21 +01:00
David Edmundson
9492340ba6 Always resize the node geometry on resizes 2014-02-21 15:15:21 +01:00
David Edmundson
f104d171da Update to paint to fill the size of the object, not the size of texture 2014-02-21 15:15:21 +01:00
David Edmundson
d0bc8b2a75 Fix leaking texture 2014-02-21 15:15:21 +01:00
David Edmundson
9459ed1f02 Add convenient QImage image() getter in SVG 2014-02-21 15:15:21 +01:00
David Edmundson
318560c8c2 Avoid repainting if node is not changed 2014-02-21 15:15:21 +01:00
David Edmundson
9851f8c789 Render SvgItem natively rather than going through QQuickPaintedItem 2014-02-21 15:15:21 +01:00
Marco Martin
1a55ac0c8c outside parent if the parent window ignores WM 2014-02-21 11:55:37 +01:00
Marco Martin
3fd81dbeb5 add a shadow in the panel controller 2014-02-21 11:36:54 +01:00
Marco Martin
e27a2512af make :screen() not crash if is child of an applet 2014-02-21 11:13:14 +01:00
Sebastian Kügler
13ec787302 Improved contrast for highlighted and today's delegate 2014-02-21 01:22:24 +01:00
Sebastian Kügler
29cf8e22d2 Faster theme changes
Don't wait too long after the file changed, makes theme changes be
picked up half a second faster -- noticeable for the user.
2014-02-21 01:20:27 +01:00
Sebastian Kügler
d8ea983d45 Slightly faster lookup of cached theme elements 2014-02-21 01:19:58 +01:00
Marco Martin
68496ed363 unbreak wallpaper config model 2014-02-20 13:35:11 +01:00
Marco Martin
a7c6d3a79e Merge branch 'mart/plasmaquickNamespace' 2014-02-20 12:36:44 +01:00
Marco Martin
aaf7fa328d export plugin name
not super nice but the simplest way to avoid code duplication in the image plugin
2014-02-20 12:33:31 +01:00
Marco Martin
5fb89a5ea9 add warning notices that is not public api 2014-02-20 11:19:50 +01:00
Marco Martin
e9580fc257 don't install headers of plasmaquick
don't commit to binary stability just yet
2014-02-20 11:16:46 +01:00
Marco Martin
90c608f863 complete porting 2014-02-19 20:00:29 +01:00
Marco Martin
d3253428dc plasmaquickview.h -> view.h 2014-02-19 19:40:40 +01:00
Marco Martin
5bb4761c73 use a namespace in libplasmaquick
right now only the library builds
2014-02-19 19:37:30 +01:00
Marco Martin
c9ac5ebefb make private what should be private 2014-02-19 18:30:24 +01:00
Marco Martin
2be97bdcdc realign the panel when size changes
inthe case the panel is centered or at right, it has to be moved as well
2014-02-19 16:20:48 +01:00
Martin Klapetek
bd0ccdebf7 Check the OSD path before trying to load it, Plasma crashes if empty
Review-by: David Edmundson
2014-02-19 14:39:21 +01:00
Martin Klapetek
d3d7a6fd63 Return early if we failed to load valid Wallpaper package
Reviewed-by: Marco Martin
2014-02-19 13:28:15 +01:00
Hrvoje Senjan
dde1da619e Use QStandardPaths for finding plasma shells instead of hardcoding to install prefix
Otherwise plasma shells are never found if plasma-framework and
kde-workspace are installed to different prefixes

REVIEW: 115871
BUG: 331063
2014-02-19 12:15:25 +01:00
Alex Merry
e83e3cf300 Fix build
If code uses KDBusService, it must link against KDBusAddons.
2014-02-19 11:05:28 +00:00
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Marco Martin
99e350bb34 take into account panel size while positioning
make the dialog look always inside the panel, to not have borders looking brutally cutted away
2014-02-18 18:16:17 +01:00
Marco Martin
ef2e4f46d4 correctly restore panelVisibilityMode 2014-02-18 17:41:48 +01:00
Marco Martin
208e485577 correct behaviors for panel modes
(just missing edge activation)
2014-02-18 17:26:32 +01:00
Marco Martin
456d919326 notify signal of visibilityMode property 2014-02-18 16:59:11 +01:00
Marco Martin
fa8ed3668b event compress restore after location change
now the panel position is correct after location change, and flickers less
2014-02-18 16:54:05 +01:00
Marco Martin
553055e6d3 adjust maximumWidth when adjusting offset, if needed 2014-02-18 13:42:14 +01:00
Marco Martin
ef0832787a restore the proper offset 2014-02-18 12:32:53 +01:00
l10n daemon script
592a0db2ab SVN_SILENT made messages (.desktop file) 2014-02-18 05:13:41 +00:00
Sebastian Kügler
bc7a54bb09 Compile-time connect in PlasmaComponents.Menu 2014-02-18 01:05:26 +01:00
Sebastian Kügler
21eb2d7ce5 Fix imports for testcomponents applet 2014-02-18 01:04:54 +01:00
Sebastian Kügler
61e4b3bbd3 Fix assignment type error 2014-02-18 00:20:20 +01:00
Marco Martin
08e3fcfe65 requestActivate() in this place caused 100% cpu
if more than one dialog is shown in a loop, causes requestActivate called to different windows too fast, this causes 100% cpu usage both in the application and in the windowmanager (not kwin specific)
2014-02-17 19:49:40 +01:00
Sebastian Kügler
7fcb1b7889 Merge branch 'sebas/themeswitch2'
Conflicts:
	src/shell/panelconfigview.cpp
2014-02-17 17:59:32 +01:00
Michael Palimaka
c9c4e6c3b2 Remove unused system dependencies.
- plasma_appletscript_declarative includes QtUiTools but doesn't use it
- QtPrintSupport is not used anywhere
- Xss, Xext, and SM are not used anywhere
- OpenSSL is not used anywhere

REVIEW: 115830
2014-02-18 03:12:12 +11:00
Marco Martin
11bdf0b5d3 repaint the svg icon when plasma theme changes 2014-02-17 15:45:20 +01:00
Marco Martin
317f19d658 event compression in icons generation
saves generation of useless qimages and speed improvement ruring manual resize: ludicrous
2014-02-17 15:39:01 +01:00
Marco Martin
1b21c1a5d9 call superclass in the proper place 2014-02-17 14:32:35 +01:00
Marco Martin
12a766795e return the correct immutability 2014-02-17 12:00:24 +01:00