Commit Graph

50 Commits

Author SHA1 Message Date
Dawit Alemayehu
c25f3e4cab Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-07-11 12:45:50 -04:00
David Faure
eb9af2fdf3 prefix the last unittests (that use a macro, at least)
svn path=/trunk/KDE/kdelibs/; revision=1182756
2010-10-05 14:47:38 +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
Aaron J. Seigo
58ae4b444f don't show private classes
svn path=/trunk/KDE/kdelibs/; revision=1128260
2010-05-18 20:13:26 +00:00
Laurent Montel
b37aeeeaa8 not necessary
svn path=/trunk/KDE/kdelibs/; revision=1023837
2009-09-15 11:36:39 +00:00
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
Laurent Montel
083c419616 install as component devel
svn path=/branches/work/~ervin/qtjolie/; revision=1018785
2009-09-02 07:50:40 +00:00
Laurent Montel
677240d7b4 Backport:
fix mem leak

svn path=/branches/work/~ervin/qtjolie/; revision=1018784
2009-09-02 07:49:47 +00:00
Laurent Montel
a5f8b8b6b5 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1018782
2009-09-02 07:44:26 +00:00
Laurent Montel
117ed60de6 Remove it
svn path=/trunk/KDE/kdelibs/; revision=1018762
2009-09-02 06:33:34 +00:00
Laurent Montel
9d3b20b0e5 Pedantic
svn path=/trunk/KDE/kdelibs/; revision=1018746
2009-09-02 06:04:55 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +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
32a979e7de Add missing meta type.
svn path=/branches/work/~ervin/qtjolie/; revision=990150
2009-07-01 20:35:19 +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
379085039b Provide Jolie::Value::List typedef.
svn path=/branches/work/~ervin/qtjolie/; revision=989177
2009-06-29 16:57:58 +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
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
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
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
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
113d703984 Auto-allocate ids.
svn path=/branches/work/~ervin/sodep/; revision=945432
2009-03-27 13:49:17 +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
dab7dc3f1c Improve readability.
svn path=/branches/work/~ervin/sodep/; revision=923759
2009-02-09 11:28:34 +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