Commit Graph

415 Commits

Author SHA1 Message Date
Aaron J. Seigo
1e4a7ee457 sort these out so we can look at them later for possible streamlining
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
5cbc9e157d build
svn path=/trunk/KDE/kdelibs/; revision=979903
2009-06-10 18:18:10 +00:00
Rob Scheepmaker
6cb4ade6d6 Add .prf for the win32 users out there.
svn path=/branches/work/~ervin/qtjolie/; revision=978898
2009-06-08 13:34:54 +00:00
Rob Scheepmaker
da489685b0 Add and install .pc file for QtJolie.
svn path=/branches/work/~ervin/qtjolie/; revision=978884
2009-06-08 12:49:17 +00:00
Kevin Ottens
d99e623ae9 Allow to export services thanks to the Server and AbstractAdaptor
classes. Also introduce a small calculatorservice example showing that,
with a quick client written using jolie.

svn path=/branches/work/~ervin/qtjolie/; revision=978075
2009-06-05 22:51:08 +00:00
Kevin Ottens
3f553aafe3 Try to correctly convert back to ints or floats when the protocol was
purely string based and killed the typing (like SOAP).

svn path=/branches/work/~ervin/qtjolie/; revision=978073
2009-06-05 22:44:43 +00:00
Kevin Ottens
4df21c1b83 Share some more test helpers.
svn path=/branches/work/~ervin/qtjolie/; revision=978070
2009-06-05 22:28:35 +00:00
Kevin Ottens
266376639d Expose the addRedirection method.
svn path=/branches/work/~ervin/qtjolie/; revision=977871
2009-06-05 15:05:39 +00:00
Kevin Ottens
c379e586bb Declare the meta types in the library itself.
svn path=/branches/work/~ervin/qtjolie/; revision=977803
2009-06-05 14:11:02 +00:00
Kevin Ottens
d3a90c5fee Introduce a separate PendingReply class.
svn path=/branches/work/~ervin/qtjolie/; revision=976863
2009-06-02 20:52:56 +00:00
Kevin Ottens
c106afee83 Split PendingCall into PendingCall and PendingCallWatcher.
svn path=/branches/work/~ervin/qtjolie/; revision=976816
2009-06-02 18:02:06 +00:00
Aaron J. Seigo
9e50b9b61e * use the to-disk-cache-delay in Theme rather than do it per-FrameSvg object
* be a bit more careful to use value() instead of [] in places as we sometimes check the hash for existence of an entry, and [] creates an entry while value() is more kind in that way

svn path=/trunk/KDE/kdelibs/; revision=975773
2009-05-31 05:38:42 +00:00
Kevin Ottens
177be5f6af I really wonder what I had in mind when I put QStrings everywhere...
Of course SODEP says nothing about encoding so it's really byte arrays
that we send/receive.

MetaService being higher level I'll assume UTF8 encoding though (it's
apparently what it's using.


svn path=/branches/work/~ervin/qtjolie/; revision=975435
2009-05-30 08:44:34 +00:00
Aaron J. Seigo
d2dbbdae33 reset the content root when it's a dir in case we go from single file to a directory package
svn path=/trunk/KDE/kdelibs/; revision=974597
2009-05-29 16:53:48 +00:00
Aaron J. Seigo
af991b4d3d text/plain is good enough
svn path=/trunk/KDE/kdelibs/; revision=969455
2009-05-18 12:16:21 +00:00
Aaron J. Seigo
09e4b24817 make it possible to add custom (e.g. application specific) applet categories
CCMAIL:oszkar.ambrus@deri.org

svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Aaron J. Seigo
0b8924ce20 make the add widgets dialog non-modal
svn path=/trunk/KDE/kdelibs/; revision=969419
2009-05-18 10:40:30 +00:00
Aaron J. Seigo
13de4f22d5 require the images directory
svn path=/trunk/KDE/kdelibs/; revision=967216
2009-05-12 22:09:12 +00:00
Aaron J. Seigo
6755a8f309 now that we use plasmapkg via knewstuff to do the installation, we shouldn't try and repeat the trick ourselves afterwards. it gives the illusion that packages aren't installed when they really are.
BUG:187436

svn path=/trunk/KDE/kdelibs/; revision=966843
2009-05-11 23:52:25 +00:00
Aaron J. Seigo
230a162b94 make all calls to scheduleSourcesUpdate async so engines that use that internally don't incure a time penalty for doing so
svn path=/trunk/KDE/kdelibs/; revision=965473
2009-05-09 00:32:45 +00:00
Kevin Ottens
a9fe9d1c47 Provide a MetaService convenience class to control jolie's metaservice.
svn path=/branches/work/~ervin/qtjolie/; revision=965146
2009-05-08 08:23:59 +00:00
Kevin Ottens
e17822d5c2 Completely get rid of the race condition in ClientThread initialization
by posting events directly to the object using invokeMethod (so that
later when exec() creates the event loop it's processed, otherwise with
QTimer it's lost).

svn path=/branches/work/~ervin/qtjolie/; revision=965144
2009-05-08 08:22:45 +00:00
Aaron J. Seigo
cd3a265b5a no longer exits
svn path=/trunk/KDE/kdelibs/; revision=964501
2009-05-06 19:11:26 +00:00
Aaron J. Seigo
ff97539a2e moved to public api
svn path=/trunk/KDE/kdelibs/; revision=964313
2009-05-06 14:21:37 +00:00
Chani Armitage
571367cec2 middle-click pastes data onto containments now :)
svn path=/trunk/KDE/kdelibs/; revision=963659
2009-05-05 05:19:35 +00:00
Chani Armitage
c756fd29c4 configurable keyboard shortcuts
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Marco Martin
22ba437095 unbreak scrollbar
svn path=/trunk/KDE/kdelibs/; revision=962221
2009-05-01 19:19:06 +00:00
Aaron J. Seigo
20f309487d add generic script package support for included translations
svn path=/trunk/KDE/kdelibs/; revision=962208
2009-05-01 18:31:14 +00:00
Aaron J. Seigo
b8e1aab84d use the Categories again, but mark the known ones for translation. all unknown categories will get relegated into the misc category
svn path=/trunk/KDE/kdelibs/; revision=962198
2009-05-01 18:03:13 +00:00
Marco Martin
7de98d0048 vertically (or horizontally) center sliders
svn path=/trunk/KDE/kdelibs/; revision=962180
2009-05-01 17:08:31 +00:00
Aaron J. Seigo
03ee0a6839 revert these changes as they go violate a number of design principles; this has been patiently explained a number of times now.
svn path=/trunk/KDE/kdelibs/; revision=962172
2009-05-01 16:28:10 +00:00
David Nolden
42172d0178 Achieve the additional background painting without adding any public API
svn path=/trunk/KDE/kdelibs/; revision=962014
2009-05-01 12:17:04 +00:00
David Nolden
347c0caac4 - Allow painting a background color, or a background pattern behind freely floating elements of the theme, to provide a better fallback mechanism for transparent themes when composition is not available.
The color/pattern is given through the configuration file, and updating due to changes of the configuration file works perfectly. A simple user-interface to use this will be added to the panel configuration.
If you want to try this out, put into the [Theme] section of your plasmarc file:
frameBackgroundColor=#aacc00 (Your picked color)
frameBackgroundColorAlpha=120 (Alpha value for the color, between 0 and 255, 0=invisible, 255=opaque)
frameBackgroundPattern=/path/to/image
frameBackgroundPatternAlpha=255 (Alpha value for the pattern, as above)

The color is painted first, then the pattern. They are painted into the mask defined by the theme, so this only works nicely with themes that supply proper masks.


svn path=/trunk/KDE/kdelibs/; revision=961915
2009-05-01 00:41:41 +00:00
Rob Scheepmaker
6bb7eb1dee Fix memory leak on theme changes.
svn path=/trunk/KDE/kdelibs/; revision=961369
2009-04-30 00:46:57 +00:00
Rob Scheepmaker
af3c1f881d Set margins for spacer and empty extender label based on the extender-background margins, and also consider the extender empty if there are only empty groups in it.
BUG: 189451


svn path=/trunk/KDE/kdelibs/; revision=961366
2009-04-30 00:34:49 +00:00
Marco Martin
7e98d25210 put a border for each window
svn path=/trunk/KDE/kdelibs/; revision=960046
2009-04-27 20:16:22 +00:00
Aaron J. Seigo
d4c7994472 allow loading applets from packages directly
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Kevin Ottens
1ceabde6ea Add forward headers and use them in the tests.
svn path=/branches/work/~ervin/qtjolie/; revision=959038
2009-04-25 14:06:25 +00:00
Kevin Ottens
e3a59c40e2 Kill the public Sodep class prefix. Now use a Jolie namespace.
svn path=/branches/work/~ervin/qtjolie/; revision=959030
2009-04-25 13:50:35 +00:00
Kevin Ottens
cac82a3792 First round at renaming to QtJolie and namespacing (also for headers).
svn path=/branches/work/~ervin/qtjolie/; revision=959005
2009-04-25 12:26:01 +00:00
Aaron J. Seigo
fc1c740837 get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :)
svn path=/trunk/KDE/kdelibs/; revision=958825
2009-04-24 19:29:16 +00:00
Aaron J. Seigo
043a67fb78 SVN_SILENT: minor ws fix
svn path=/trunk/KDE/kdelibs/; revision=958824
2009-04-24 19:28:37 +00:00
Aaron J. Seigo
447ade0a4f Toolbox -> ToolBox
svn path=/trunk/KDE/kdelibs/; revision=958823
2009-04-24 19:28:17 +00:00
Aaron J. Seigo
b5f306b91b licensing and what not
svn path=/trunk/KDE/kdelibs/; revision=958533
2009-04-24 08:55:31 +00:00
Aaron J. Seigo
4171786f21 add the template interface
svn path=/trunk/KDE/kdelibs/; revision=958529
2009-04-24 08:44:06 +00:00
Aaron J. Seigo
977464bb65 don't keep threads around forever, let them finish
svn path=/trunk/KDE/kdelibs/; revision=958272
2009-04-23 16:40:18 +00:00
Aaron J. Seigo
44502959b8 remove some unecessary code
svn path=/trunk/KDE/kdelibs/; revision=958271
2009-04-23 16:38:38 +00:00
Jacopo De Simoi
55169a2fda Style correction - thanks Dan
svn path=/trunk/KDE/kdelibs/; revision=957856
2009-04-23 02:13:54 +00:00
Jacopo De Simoi
745eeeb79a Optimization: don't bother running the performMatch if the context is already invalid.
svn path=/trunk/KDE/kdelibs/; revision=957814
2009-04-22 22:53:48 +00:00
Rob Scheepmaker
70dc8b1c76 Replace hideIfEmpty with autoHide: don't show the group widget unless there are multiple items in that group. With one item we can just display that item.
svn path=/trunk/KDE/kdelibs/; revision=955463
2009-04-17 17:58:49 +00:00
Marco Martin
d625d40ecc gah, no more necessary those two vars
svn path=/trunk/KDE/kdelibs/; revision=955450
2009-04-17 16:57:16 +00:00
Marco Martin
3075eb4bd6 fix for the billionth time the tooltip positioning borkage, hopefully
this way is a bit more robust

svn path=/trunk/KDE/kdelibs/; revision=955449
2009-04-17 16:55:42 +00:00
Aurélien Gâteau
7ff77020cc Do not let plasma popup appear over screensaver.
BUG: 179924

svn path=/trunk/KDE/kdelibs/; revision=955241
2009-04-17 08:45:46 +00:00
Marco Martin
43af4a45b4 signal void toolBoxVisibilityChanged(bool); that notifies when the
toolbox gets open/closed

svn path=/trunk/KDE/kdelibs/; revision=953372
2009-04-13 20:26:17 +00:00
Kevin Ottens
a8068361b0 Big API refactoring in the SODEP binding. Now you can place call
(synchronous or asynchronous) like you would do with QtDBUS for
instance.

svn path=/branches/work/~ervin/sodep/; revision=953134
2009-04-13 12:39:26 +00:00
Aaron J. Seigo
83e4844d52 don't bother with the text lozenge here
svn path=/trunk/KDE/kdelibs/; revision=952094
2009-04-10 21:56:12 +00:00
Aaron J. Seigo
9f7edec998 expose the caching for wallpapers that don't use render() to use
svn path=/trunk/KDE/kdelibs/; revision=952060
2009-04-10 19:49:33 +00:00
Aaron J. Seigo
507a0eb677 clicking on the tabs in the weather widget felt normal. scroll wheeling == nice. but i kept trying to grab the tab thumb and move it around! now i can :)
svn path=/trunk/KDE/kdelibs/; revision=951391
2009-04-09 06:41:37 +00:00
Aaron J. Seigo
8620a462f4 moc it up
svn path=/trunk/KDE/kdelibs/; revision=951385
2009-04-09 06:07:33 +00:00
Aaron J. Seigo
43e5ee5d15 correct slots
svn path=/trunk/KDE/kdelibs/; revision=951381
2009-04-09 05:57:57 +00:00
Aaron J. Seigo
59a6afb815 use a QSet instead of a list since we're doing random access and don't care about order
svn path=/trunk/KDE/kdelibs/; revision=950827
2009-04-07 20:57:19 +00:00
Aaron J. Seigo
260973cd9d SVN_SILENT: don't really need that debug
svn path=/trunk/KDE/kdelibs/; revision=950435
2009-04-07 07:31:42 +00:00
Aaron J. Seigo
affc3e90aa allow setting of rendering hints, follow them in the package
svn path=/trunk/KDE/kdelibs/; revision=950429
2009-04-07 07:18:58 +00:00
Aaron J. Seigo
8a527b7b09 * move Wallpaper::Private to its own class
* introduce a default ctor for Wallpaper
* allow associating a Wallpaper PackageStructure with a Wallpaper object so that the structure can pull info from the paper

svn path=/trunk/KDE/kdelibs/; revision=950410
2009-04-07 05:45:20 +00:00
Aaron J. Seigo
fa846c54ba make the wallpaper packages a bit smarter
svn path=/trunk/KDE/kdelibs/; revision=950409
2009-04-07 05:43:44 +00:00
Fredrik Höglund
4f0a9c1b2f Don't start the fade out animation if the applet handle is still under the mouse.
svn path=/trunk/KDE/kdelibs/; revision=948317
2009-04-02 19:08:22 +00:00
Aaron J. Seigo
bb5a57bc26 we can't queue signals with our own enum type, but since this is all internal to the lib and doesn't ever escape into the public API, just pass it around as an int.
svn path=/trunk/KDE/kdelibs/; revision=948269
2009-04-02 17:21:42 +00:00
Marco Martin
dbc4852624 if a qmenu is open the handle doesn't disappear, make it disappear as
soon as the menu closes, this way it doesn't steal anymore the focus to
the applet
BUG:180752

svn path=/trunk/KDE/kdelibs/; revision=948256
2009-04-02 16:43:41 +00:00
Rob Scheepmaker
94dcdc31a4 Expand/collapse group icon responds to theme changes.
svn path=/trunk/KDE/kdelibs/; revision=948255
2009-04-02 16:40:28 +00:00
Aaron J. Seigo
1c62ca5b79 introduce wallpaper image rendering into libplasma so it can be shared amongst all wallpaper plugins; most of the plugins are duplicating this code which can't be good. :)
next up is to port the Image wallpaper plugin to this and make sure it all still works and then look at bringing the wallpaper listing model/view somewhere all the plugins can share it for their configuration needs

svn path=/trunk/KDE/kdelibs/; revision=948064
2009-04-02 06:31:37 +00:00
Aaron J. Seigo
e309bf2da3 add a wallpaper package definition
svn path=/trunk/KDE/kdelibs/; revision=948063
2009-04-02 06:29:46 +00:00
Aaron J. Seigo
de4602c113 pull over render thread in the lib so it can be shared
svn path=/trunk/KDE/kdelibs/; revision=948059
2009-04-02 05:43:20 +00:00
Aaron J. Seigo
593b2f111f pull render thread into the library so it can be share
svn path=/trunk/KDE/kdelibs/; revision=948058
2009-04-02 05:42:52 +00:00
Aaron J. Seigo
89b70374c3 abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Aaron J. Seigo
183d79adb2 SVN_SILENT: conform to naming conventions
svn path=/trunk/KDE/kdelibs/; revision=946697
2009-03-30 03:45:30 +00:00
Kevin Ottens
113d703984 Auto-allocate ids.
svn path=/branches/work/~ervin/sodep/; revision=945432
2009-03-27 13:49:17 +00:00
Aaron J. Seigo
d2d756f3fd avoid putting empty text or unhelpful html elements in the tip text
svn path=/trunk/KDE/kdelibs/; revision=945121
2009-03-26 22:08:36 +00:00
Aaron J. Seigo
599fcdd138 ignore timer id's that aren't ours
svn path=/trunk/KDE/kdelibs/; revision=944581
2009-03-25 19:10:02 +00:00
Rob Scheepmaker
0bfbed06ae Move ExtenderGroupPrivate to a seperate header file, so we can call addItemToGroup in setGroup.
svn path=/trunk/KDE/kdelibs/; revision=944336
2009-03-25 13:03:04 +00:00
Marco Martin
4f20cfe5a6 try again to show the toolbox as a circle in the corners, but more
important fix the dragging quirkiness (by not changing the
boundingRect(), only paint it as if it had a different geometry)

svn path=/trunk/KDE/kdelibs/; revision=944004
2009-03-24 20:37:28 +00:00
Marco Martin
1427ff946c leak--
svn path=/trunk/KDE/kdelibs/; revision=943740
2009-03-24 11:45:53 +00:00
Rob Scheepmaker
c47d34bcba Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
André Wöbbeking
7479e79f40 -pedantic
CCMAIL:notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=941672
2009-03-20 10:27:31 +00:00
Chani Armitage
73073b7a54 deleteLater is safer. doh.
svn path=/trunk/KDE/kdelibs/; revision=941579
2009-03-20 00:23:21 +00:00
Marco Martin
13ddc52057 support for multiple windows thumbnails in a tooltip
svn path=/trunk/KDE/kdelibs/; revision=941541
2009-03-19 22:15:29 +00:00
Aaron J. Seigo
a96782cd4b if we have no more jobs, delete ourselves later
svn path=/trunk/KDE/kdelibs/; revision=938755
2009-03-12 22:02:31 +00:00
Aaron J. Seigo
8c30031635 * let the weaver own the jobs, so we can cean up successfully without crashing when the manager is deleted
* listen to jobDone's in the clean up class

svn path=/trunk/KDE/kdelibs/; revision=938752
2009-03-12 22:01:22 +00:00
Aaron J. Seigo
3ecfa9f6d5 if the RunnerManager is deleted but jobs are still processing, create a helper object to wait it out and clean them up when possible
svn path=/trunk/KDE/kdelibs/; revision=938728
2009-03-12 20:25:52 +00:00
Aaron J. Seigo
592ddc4e6e * emit a signal when our jobs are done but we have no matches
* use QSets instead of QLists where we are doing lots of random access and no sequential
* get rid of the stale marking as all items in the oldMatches list are, by definition, stale

svn path=/trunk/KDE/kdelibs/; revision=938708
2009-03-12 18:53:22 +00:00
Jacopo De Simoi
25a80b322c Create local copy of runnerContext in the runnerjob ctor
svn path=/trunk/KDE/kdelibs/; revision=938690
2009-03-12 17:25:13 +00:00
Marco Martin
ddc3a4b978 snap in the center of the screen
svn path=/trunk/KDE/kdelibs/; revision=938474
2009-03-11 22:33:46 +00:00
Marco Martin
2236b76ee4 ability to have different vertical and horizontal background
svn path=/trunk/KDE/kdelibs/; revision=938426
2009-03-11 21:03:50 +00:00
Marco Martin
893093b85c initialize a value
svn path=/trunk/KDE/kdelibs/; revision=937990
2009-03-10 22:44:46 +00:00
Chani Armitage
aa34398a80 give corona its own action collection.
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)

svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Marco Martin
919796da14 0 opacity with the busywidget
busywidget always on the icon rather in the popup

svn path=/trunk/KDE/kdelibs/; revision=936025
2009-03-06 18:21:59 +00:00
Marco Martin
61a1ba4c92 add a bit of extra space
svn path=/trunk/KDE/kdelibs/; revision=935859
2009-03-06 12:52:21 +00:00
Marco Martin
8fd655c54b desktop toolbox is more tiny and shows the activity name if any is set
an experiment, let's see how it goes

svn path=/trunk/KDE/kdelibs/; revision=935674
2009-03-05 22:15:06 +00:00
Marco Martin
754b8d34c3 paint the busy widget always square
use overlay widget to show the busy widget, duplication--

svn path=/trunk/KDE/kdelibs/; revision=935520
2009-03-05 13:05:12 +00:00
Jacopo De Simoi
0d12d6b3b8 Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Jacopo De Simoi
8aa4045953 "...and they lived happily ever after with no more duplicate matches =)"
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr 

svn path=/trunk/KDE/kdelibs/; revision=935342
2009-03-04 21:03:33 +00:00