Commit Graph

456 Commits

Author SHA1 Message Date
Aaron Seigo
04854068fc finish merge conflicts 2011-12-04 14:34:06 +01:00
Aaron Seigo
71d807c353 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kfile/kfilemetadatareaderprocess.cpp
	plasma/CMakeLists.txt
	plasma/packagestructure.cpp
	plasma/private/packages.cpp
	threadweaver/Mainpage.dox
2011-12-04 14:25:38 +01:00
Aaron Seigo
27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +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
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
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
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
58bbbb5fe6 make kutils linking properly conditional, use proper libs vars for other libraries too 2011-11-03 11:06:54 +01:00
Aaron Seigo
ebbf1bbc32 profile controled use of libkutils 2011-11-02 17:22:36 +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
Stephen Kelly
94e661c307 Only build plasma if kdepimlibs is found.
Plasma uses gpgme++ from there, which will be split out eventually.
2011-09-15 17:16:43 +02:00
Romain Perier
13c87efb26 Move kauth to tier1/libkauth (reviewed by dfaure) 2011-09-09 19:08:47 +02:00
Stephen Kelly
3a7a425344 Remove the exports targets from libraries in frameworks.
If there is no kdelibs, there is no kdelibs exports. This fixes some
cmake errors resulting from making it possible to build itemmodels
standalone.
2011-09-04 21:45:19 +02:00
David Faure
f4f93336b6 include path fix (this will be simpler once fully separated...) 2011-08-31 18:17:11 +02:00
David Faure
4bb1ea7744 More include paths
Running grep would have been a good idea ;-)
2011-08-31 18:07:04 +02:00
Stephen Kelly
6860d7fbbf Remove usage of macro_optional_find_package.
It is obsolete with CMake 2.8.6 which provides options to disable finding packages.
2011-08-27 18:19:37 +02:00
Mario Bensi
a461ade68c Build fix 2011-08-14 19:02:25 +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
David Faure
1dad38f08c fix build 2011-08-11 01:35:19 +02:00
Mario Bensi
ad67c6ed92 Move KArchive in a library
Move the base class for the view state maintenance to the karchive
library.
2011-08-10 00:42: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
33cdfc7c77 fix install and introduce another profile-based footprint reduction opportunity 2011-07-21 14:39:55 +02:00
Aaron Seigo
8c354ba4c6 reintroducing PackageStructure as we need it for the virtuals. it is now a properly stateless clas, however, unlike in libplasma1 2011-07-19 21:36:29 +02:00
Aaron Seigo
d91fede662 merge packagestructure with package, make the commensurate change in the build 2011-07-15 12:57:46 +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
David Faure
b73cc24e99 Fix compilation in the mobile profile (PLASMA_NO_KIO) 2011-06-16 13:57:38 +02:00
Patrick von Reth
d905597069 defenition fix 2011-06-10 13:31:35 +02:00
Patrick von Reth
730127ec63 disabled libkdeclarative exports in libplasma 2011-06-10 09:34:29 +02:00
Aaron Seigo
86e6891b25 Merge branch 'plasmadialogshadows' into libplasma2
Conflicts:
	plasma/animations/pixmaptransition.cpp
	plasma/animations/rotation.cpp
2011-06-09 12:48:34 +02:00
Aaron Seigo
8f7b7cda31 shadows on dialogs 2011-06-09 12:46:25 +02:00
Marco Martin
97af96221e for 4.7 don't link to kdeclarative
since kdeclarative is experimental, for 4.7 build it directly into libplasma instead of dynamically linking to it
2011-06-08 15:41:20 +02:00
Marco Martin
135d63c0e9 no camelcase include 2011-05-31 01:26:09 +02:00
Marco Martin
aa3c316339 Merge branch 'libplasmawhatever' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
2011-05-31 01:16:44 +02:00
Marco Martin
68bc6b9a6a move some widgets in libplasmaqgv 2011-05-31 01:05:01 +02:00
Aaron Seigo
584b9b8ec1 bye-bye PackageMetadata 2011-05-31 01:04:33 +02:00
Aaron Seigo
cd32321b68 Merge branch 'libplasma2_signedpackages' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-30 23:41:53 +02:00
Aaron Seigo
2b3767a7b5 get rid of deprecate code in Animator
i wonder if we have any purpose for Animator at all in QML? perhaps
this moves out with the QGraphicsView stuff
2011-05-26 23:30:58 +02:00
Aaron Seigo
953cce2c7c remove Context class 2011-05-20 09:41:48 +02:00
Aaron Seigo
2aa942777e bye bye GLApplet 2011-05-12 22:37:40 +02:00
Aaron Seigo
4c2a859ea1 Merge remote-tracking branch 'origin/master' into libplasma2 2011-05-05 14:14:54 +02:00
Marco Martin
a6fa660809 bindings for dataengine in DeclarativeWidget 2011-04-30 12:43:29 +02:00
Kevin Ottens
ed014e6c91 Add description for the plasma protocol
We now support publicly plasma:// URLs, so add a protocol file which
calls the plasma-remote-helper application to deal with such URLs.
Particularly handy from the network:// ioslave which exposes Plasma
remote widgets.

REVIEW: 1515
2011-04-29 16:55:42 +02:00
Aaron Seigo
9cdbf422ff consolidate remoting files, add signing gsoc 2011-04-29 15:18:35 +02:00
Marco Martin
32dbc7335e template qthread that will do the actual storage 2011-04-29 11:17:29 +02:00
Marco Martin
00a7e73eb7 bump version 2011-04-26 22:53:32 +02:00
Marco Martin
256532e240 use libkdeclarative in Plasma::DeclarativeWidget 2011-04-04 23:05:23 +02:00
Jammy Zhou
c808222869 Remove direct OpenGL dependency for libplasma 2011-03-01 09:17:50 +08:00
Marco Martin
7df2e103c5 a new private class EffectWatcher, used to be signaled when a particular KWin effect is enabled/disabled.
in future could become public but only after has been proved is really correct

svn path=/trunk/KDE/kdelibs/; revision=1214633
2011-01-15 17:51:55 +00:00
Andriy Rysin
c56c74054f Allow kdelibs/kdebase compile without glu library (review 6213)
svn path=/trunk/KDE/kdelibs/; revision=1209642
2010-12-27 19:12:37 +00:00
David Faure
9c9499cfbb remove empty dir
svn path=/trunk/KDE/kdelibs/; revision=1204996
2010-12-09 23:17:59 +00:00
Kevin Ottens
c6d5218c34 Remove deprecated classes from the build.
svn path=/trunk/KDE/kdelibs/; revision=1192862
2010-11-04 08:06:31 +00:00
Marco Martin
69acb66426 register Services as service types
svn path=/trunk/KDE/kdelibs/; revision=1188966
2010-10-23 14:19:07 +00:00
Marco Martin
22d9baccef use KIO to access the remote imports
svn path=/trunk/KDE/kdelibs/; revision=1188124
2010-10-21 13:18:50 +00:00
Kevin Ottens
c0f66faad7 Allow to build libplasma without KIO. Only issue is that the
copying/moving/removal of folders is defunct (so is the package
install/uninstall).

svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Marco Martin
10404ad413 build the declarative widget
svn path=/trunk/KDE/kdelibs/; revision=1183888
2010-10-08 15:37:54 +00:00
Marco Martin
b0472dc212 port the kconfig based storage service to Sqlite
make save and restore methods of datasource private for now
pu this early so performance/disk usage etc can be tested

svn path=/trunk/KDE/kdelibs/; revision=1181650
2010-10-01 16:58:15 +00:00
Marco Martin
72a06cdd14 The Desktop ToolBox and the Panel ToolBox becomes plugins, shipped with
Plasma-Desktop (so shells have to implement their own plugins or pick
one already installed)

Unfortunately, 3 virtuals were needed in AbstractToolBox
void restore(const KConfigGroup &group);
void save(const KConfigGroup &group);
void reposition();

since this is not possible for obvious BC reasons, they are "faked" with
slots, not really nice butthe most painless way.

There shouldn't be significant regressions, but wise to keep an eye on
it in the immediate future

CCMAIL:plasma-devel@kde.org


svn path=/trunk/KDE/kdelibs/; revision=1157537
2010-07-31 13:02:07 +00:00
Andreas Holzammer
94a87ab2a3 - made kdelibs for wince static
svn path=/trunk/KDE/kdelibs/; revision=1157186
2010-07-30 12:31:39 +00:00
Marco Martin
457cfcb89a support load by plugin from AbstractToolBox
what stinks is the both support direct creation -and- plugin loading,
but has to be BC
could be the case to add it to PluginLoader? don't see big use cases
CCMAIL:plasma-devel@kde.org


svn path=/trunk/KDE/kdelibs/; revision=1157180
2010-07-30 12:12:31 +00:00
Alessandro Diaferia
fb56692aa8 phonon includes
svn path=/trunk/KDE/kdelibs/; revision=1156338
2010-07-28 22:40:53 +00:00
Christophe Giboudeaux
5f61cc03b8 -Wmissing-include-dirs
svn path=/trunk/KDE/kdelibs/; revision=1156073
2010-07-28 14:23:52 +00:00
Ryan James Rix
e00a7b2422 Adds ability for applications which embed plasma to specify a class which
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.

http://reviewboard.kde.org/r/4554/


svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00
Brian David Pritchett
53a227a43f This adds the first iteration of data caching for dataengines.
svn path=/trunk/KDE/kdelibs/; revision=1149185
2010-07-12 20:51:12 +00:00
Aaron J. Seigo
1d23580ea7 a binary slipped into kdelibs/plasma; move it to kdebase/runtime/
svn path=/trunk/KDE/kdelibs/; revision=1134613
2010-06-04 17:58:38 +00:00
Aaron J. Seigo
9d3ea73544 move the applet service .desktop file into its own dir; it isn't a servicetype
svn path=/trunk/KDE/kdelibs/; revision=1134608
2010-06-04 17:44:54 +00:00
Kevin Ottens
c06bea502c More prep work for a KIO-less libplasma.
svn path=/trunk/KDE/kdelibs/; revision=1125086
2010-05-10 16:50:15 +00:00
Aaron J. Seigo
f456c124aa easing curve support
svn path=/trunk/KDE/kdelibs/; revision=1120795
2010-04-30 00:13:44 +00:00
Aaron J. Seigo
a06b2bf70d access to easing curves
svn path=/trunk/KDE/kdelibs/; revision=1120770
2010-04-29 22:29:26 +00:00
Aaron J. Seigo
0aa0118e17 it's supposed to eventually be an optional dep
svn path=/trunk/KDE/kdelibs/; revision=1120687
2010-04-29 17:23:01 +00:00
Marco Martin
cd486b6b06 we need poor kio
svn path=/trunk/KDE/kdelibs/; revision=1120685
2010-04-29 17:11:21 +00:00
Kevin Ottens
6a3240b051 libplasma becomes our first lib with profiles support.
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +00:00
Aaron J. Seigo
56dedaf0e4 link
svn path=/trunk/KDE/kdelibs/; revision=1119250
2010-04-26 21:08:24 +00:00
Aaron J. Seigo
a0c104c19a add js anims to the build
svn path=/trunk/KDE/kdelibs/; revision=1119243
2010-04-26 20:56:28 +00:00
Bruno de Oliveira Abinader
51a9b1ac72 Added Plasma::Animator::easingCurve() pre-defined easing curves factory.
Using this, Plasma::PendulumCurve now longer needs to be public :-)

svn path=/trunk/KDE/kdelibs/; revision=1118090
2010-04-23 20:55:46 +00:00
Bruno de Oliveira Abinader
2375cd6ce8 Added Plasma::PendulumCurve class plus make it work with RotationAnimation
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
a8975d2e2d Initial WaterAnimation implementation
This water animation uses the RippleEffect class to simulate a cool water animation on the target widget

svn path=/trunk/KDE/kdelibs/; revision=1116474
2010-04-19 15:09:36 +00:00
Bruno de Oliveira Abinader
ea49b36874 Initial ripple effect implementation
This ripple effect will be used by the WaterAnimation to generate a cool simulation of water flowing inside a plasma widget :)

svn path=/trunk/KDE/kdelibs/; revision=1116473
2010-04-19 15:03:02 +00:00
Bruno de Oliveira Abinader
daffafb9fe s/pulsershadow/widgetsnapshot
svn path=/trunk/KDE/kdelibs/; revision=1115254
2010-04-15 18:51:26 +00:00
Aaron J. Seigo
892d8ae1c0 use the easing curve in all of our animations
svn path=/trunk/KDE/kdelibs/; revision=1112612
2010-04-08 17:07:33 +00:00
Marco Martin
2466bbd960 AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Davide Bettio
d982f20609 Plasma::WebView has been ported to KGraphicsWebView. http://reviewboard.kde.org/r/2990/
svn path=/trunk/KDE/kdelibs/; revision=1091982
2010-02-17 23:59:14 +00:00
Davide Bettio
12300374db Plasma::WebView has KDE integration since now (using KWebKit)
svn path=/trunk/KDE/kdelibs/; revision=1090803
2010-02-16 02:41:14 +00:00
Aaron J. Seigo
ead4cc9d62 use khns3 dialog; look ma, no more memory leaks as a bonus!
svn path=/trunk/KDE/kdelibs/; revision=1084570
2010-02-03 10:27:44 +00:00
Friedrich W. H. Kossebau
f8e3b015f6 fixed: animations/pixmaptransition.cpp was 2x listed
svn path=/trunk/KDE/kdelibs/; revision=1080143
2010-01-25 18:16:04 +00:00
Marco Martin
b5aa2f6169 include missing file
svn path=/trunk/KDE/kdelibs/; revision=1078271
2010-01-21 22:31:20 +00:00
Anne-Marie Mahfouf
35599c36e5 fix build
svn path=/trunk/KDE/kdelibs/; revision=1078064
2010-01-21 11:51:25 +00:00
Igor Trindade Oliveira
e2cf011103 plasma animations: removing custom animation. the animations done by custom can be done adding a property and using qpropertyanimation
svn path=/trunk/KDE/kdelibs/; revision=1073191
2010-01-11 20:06:14 +00:00
Igor Trindade Oliveira
a51ab88ce0 Add support to custom animations
svn path=/trunk/KDE/kdelibs/; revision=1073131
2010-01-11 17:26:36 +00:00
Aaron J. Seigo
4a1849b4cd PulserShadow belongs in the animations directory
svn path=/trunk/KDE/kdelibs/; revision=1069848
2010-01-04 10:21:48 +00:00
Luboš Luňák
8746bf62cc fix enable-final compile
svn path=/trunk/KDE/kdelibs/; revision=1065500
2009-12-23 12:27:31 +00:00
Aaron J. Seigo
bc7ac9cd23 geo -> geometry (let's not be lazy :)
svn path=/trunk/KDE/kdelibs/; revision=1060136
2009-12-08 09:22:51 +00:00
Adenilson Cavalcanti Da Silva
253fad3389 Rotationstacked header should not be installed.
svn path=/trunk/KDE/kdelibs/; revision=1060035
2009-12-07 22:44:23 +00:00
Aaron J. Seigo
9d8e2eec4d don't need our own anim group anymore
svn path=/trunk/KDE/kdelibs/; revision=1059422
2009-12-06 15:42:41 +00:00
Igor Trindade Oliveira
6cc357bb94 add zoom animation to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1059117
2009-12-05 20:23:13 +00:00
Igor Trindade Oliveira
49e27b8396 add GeoAnimation to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1059087
2009-12-05 19:54:27 +00:00
Aaron J. Seigo
358a456a9d no need for pause now that Plasma::Animator isn't a factory for QAbAnim but IsA QAbAnim (with Plasma::Animator being the only factory)
svn path=/trunk/KDE/kdelibs/; revision=1058597
2009-12-04 19:16:46 +00:00
Adenilson Cavalcanti Da Silva
818e93a576 Amazon sized patch... So many changes that I can hardly remember what they are,
but this is the list from what I can recall:
- removing expand animation (it is a case of grow animation)
- removing AbstractAnimation and using QAbstractAnimation as the common base
- animations are non longer factories, but real animation (so it is just no
issue to mesh then with user created animations)
- animation group will correctly revert the direction of all subanimations
(useful for rewinding an animation)
- fixed opacity effect in pulse animation (now it works correctly)
- there is not 'forward' property, but animation 'direction' (this is how
rewinding an animation must be done)
- direction now is movementDirection property (used in SlideAnimation and RotationStacked)
- the weakpointer for the actual animaiton is non longer in AnimationPrivate but
in each specialized animation class
- hide property is being removed (in progress) since it really is a case of Fade

I guess this is it, now is just a matter of iron out the remaining bugs and polish
the public API.



svn path=/trunk/KDE/kdelibs/; revision=1057993
2009-12-03 19:30:02 +00:00