Commit Graph

28 Commits

Author SHA1 Message Date
Rob Scheepmaker
413f8da6b3 And port to the new api, and rename the copy.
svn path=/trunk/KDE/kdelibs/; revision=1023814
2009-09-15 11:12:45 +00:00
Rob Scheepmaker
baa782e764 Remove the old qtjolie fork, and copy in the current qtjolie, since that one now has all the features remote widgets require.
svn path=/trunk/KDE/kdelibs/; revision=1023804
2009-09-15 11:04:17 +00:00
Kevin Ottens
4f8e3e3333 Merging in relevant changes from the libplasma private fork. Porting
tests as required.

CCMAIL: r.scheepmaker@student.utwente.nl
CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/qtjolie/; revision=1020942
2009-09-07 17:01:03 +00:00
Kevin Ottens
775bbe63d9 Add a small control app for the Vision proof of concept provided with
JOLIE. Suitable for use on handhelds.

svn path=/branches/work/~ervin/qtjolie/; revision=990152
2009-07-01 20:36:01 +00:00
Kevin Ottens
f639993c8b Add a Yahoo! web service client example.
svn path=/branches/work/~ervin/qtjolie/; revision=989179
2009-06-29 17:00:33 +00:00
Kevin Ottens
09a0e07c39 addRedirection() now uses Values for the protocols parameters as advised
by fmontesi.

svn path=/branches/work/~ervin/qtjolie/; revision=989152
2009-06-29 15:31:25 +00:00
Kevin Ottens
c0228210c4 Forgot to adjust the unit tests.
svn path=/branches/work/~ervin/qtjolie/; revision=989150
2009-06-29 15:29:52 +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
4df21c1b83 Share some more test helpers.
svn path=/branches/work/~ervin/qtjolie/; revision=978070
2009-06-05 22:28:35 +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
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
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
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
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
Kevin Ottens
b4267d0689 Adapt to new metaservice behavior.
svn path=/branches/work/~ervin/sodep/; revision=923761
2009-02-09 11:48:52 +00:00
Kevin Ottens
3685f819cc Provide an async SodepClient class to send/receive a message.
svn path=/branches/work/~ervin/sodep/; revision=923534
2009-02-08 22:11:14 +00:00
Kevin Ottens
8a28c219b3 Turn on service embedding in metaservice, no need to open a new socket
for each service we embed (Location: "local").
Reuse the same socket accross the whole sodepmetaservicetest suite...
Interestingly it's now broken as Jolie insists in closing the socket
after each method call (fmontesi is kindly investigating this).

svn path=/branches/work/~ervin/sodep/; revision=923506
2009-02-08 21:12:45 +00:00
Kevin Ottens
01f11ad43b Make the reads blocking. We'll put those in a thread.
It'll be much easier to maintaining the upcoming code.

svn path=/branches/work/~ervin/sodep/; revision=923377
2009-02-08 17:31:13 +00:00
Kevin Ottens
6c5c5021d6 One step toward a proper API, remove writeTo and readFrom methods from
the Sodep classes. They're now all as global functions into the
sodephelpers_p.h header.

svn path=/branches/work/~ervin/sodep/; revision=923317
2009-02-08 15:35:56 +00:00
Kevin Ottens
54e28db2cd Provide a more complete automated test which basically does the
following:
 - starts metaservice
 - loads two services
 - call them and check the replies
 - unloads the services
 - stop metaservice

CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/sodep/; revision=922830
2009-02-07 16:30:58 +00:00
Kevin Ottens
c232abcc72 Provide a PrinterService which actually send a reply.
svn path=/branches/work/~ervin/sodep/; revision=922828
2009-02-07 16:27:59 +00:00
Kevin Ottens
819c88ebaa Also display the reply.
svn path=/branches/work/~ervin/sodep/; revision=922827
2009-02-07 16:27:29 +00:00
Kevin Ottens
82f10bbf0d Ok, let's provide a small Jolie script to go with the sodepprintertest
app.

svn path=/branches/work/~ervin/sodep/; revision=922138
2009-02-06 14:28:49 +00:00
Kevin Ottens
f29bbbab07 Comply to the new version of SODEP.
svn path=/branches/work/~ervin/sodep/; revision=880515
2008-11-05 18:48:16 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Kevin Ottens
d712c2d2c9 Qt implementation of SODEP.
svn path=/branches/work/~ervin/sodep/; revision=806026
2008-05-09 21:11:35 +00:00