contrib/cloudeebus.git
11 years agoMerge pull request #23 from fpaut/agent_future
Luc Yriarte [Mon, 10 Jun 2013 12:56:01 +0000 (05:56 -0700)]
Merge pull request #23 from fpaut/agent_future

dbus service : Fix JSON encoding for allowing encoding of byte not utf-8

11 years agobump version 0.5.0
Luc Yriarte [Wed, 29 May 2013 16:46:44 +0000 (18:46 +0200)]
bump version 0.5.0

11 years agodbus service : Fix JSON encoding for allowing encoding of byte not utf-8
Frederic PAUT [Mon, 10 Jun 2013 12:40:50 +0000 (14:40 +0200)]
dbus service : Fix JSON encoding for allowing encoding of byte not utf-8
(and will be deliver in arguments for javascript functions)

11 years agoMerge branch 'future' into agent_future
Luc Yriarte [Mon, 3 Jun 2013 14:43:59 +0000 (16:43 +0200)]
Merge branch 'future' into agent_future

11 years agobump version 0.5.0
Luc Yriarte [Wed, 29 May 2013 16:46:44 +0000 (18:46 +0200)]
bump version 0.5.0

11 years agoMerge pull request #22 from fpaut/agent_future
Luc Yriarte [Tue, 28 May 2013 15:19:06 +0000 (08:19 -0700)]
Merge pull request #22 from fpaut/agent_future

Using 'Future' interface in service/agent creation

11 years agoMerge branch 'future' into agent_future
Frederic PAUT [Tue, 28 May 2013 13:37:39 +0000 (15:37 +0200)]
Merge branch 'future' into agent_future

11 years agoFuture : Server side, using 'Future' to create service and adding agents
Frederic PAUT [Tue, 28 May 2013 13:35:59 +0000 (15:35 +0200)]
Future : Server side, using 'Future' to create service and adding agents
In client side, using 'Future' to set callbacks

11 years agocorrecting Future static methods resolve, accept, reject: the spec doesn't mention...
Luc Yriarte [Fri, 24 May 2013 15:27:12 +0000 (17:27 +0200)]
correcting Future static methods resolve, accept, reject: the spec doesn't mention setting the synchronous flag

11 years agoadding Future static methods: any, every, some
Luc Yriarte [Fri, 24 May 2013 15:25:35 +0000 (17:25 +0200)]
adding Future static methods: any, every, some

11 years agoadding Future helper done method. Support undefined callbacks passed to Future.append...
Luc Yriarte [Fri, 24 May 2013 13:23:10 +0000 (15:23 +0200)]
adding Future helper done method. Support undefined callbacks passed to Future.appendWrappers

11 years agoadding Future helper catch method
Luc Yriarte [Fri, 24 May 2013 13:08:44 +0000 (15:08 +0200)]
adding Future helper catch method

11 years agoadding Future static methods: resolve, accept, reject
Luc Yriarte [Fri, 24 May 2013 12:49:12 +0000 (14:49 +0200)]
adding Future static methods: resolve, accept, reject

11 years agofix resolver's resolve method: accept callback calls resolve, not accept
Luc Yriarte [Thu, 23 May 2013 15:26:02 +0000 (17:26 +0200)]
fix resolver's resolve method: accept callback calls resolve, not accept

11 years agocall resolver's accept and reject synchronously in the callMethod async handlers
Luc Yriarte [Thu, 23 May 2013 14:52:11 +0000 (16:52 +0200)]
call resolver's accept and reject synchronously in the callMethod async handlers

11 years agoimplement FutureResolver.resolve
Luc Yriarte [Thu, 23 May 2013 14:45:14 +0000 (16:45 +0200)]
implement FutureResolver.resolve

11 years agoimplement basic DOM Future and FutureResolver mechanism
Luc Yriarte [Wed, 22 May 2013 15:01:56 +0000 (17:01 +0200)]
implement basic DOM Future and FutureResolver mechanism

11 years agoRequest.result is an object, not an array. If the DBus method returns several results,
Luc Yriarte [Thu, 16 May 2013 15:47:29 +0000 (17:47 +0200)]
Request.result is an object, not an array. If the DBus method returns several results,
only the first will be in Request.result, but all results are passed as parameters to the onsuccess handler anyway.

11 years agocloudeebus.Request implements DOMRequest as defined in
Luc Yriarte [Wed, 15 May 2013 14:54:06 +0000 (16:54 +0200)]
cloudeebus.Request implements DOMRequest as defined in
http://www.w3.org/2012/sysapps/runtime/#idl-def-DOMRequest

11 years agobump version 0.4.0
Luc Yriarte [Wed, 15 May 2013 08:04:26 +0000 (10:04 +0200)]
bump version 0.4.0

11 years agorequest onerror callback: args for apply is an array
Luc Yriarte [Tue, 23 Apr 2013 16:58:50 +0000 (18:58 +0200)]
request onerror callback: args for apply is an array

11 years agoeval method result in a try block
Luc Yriarte [Tue, 23 Apr 2013 15:45:26 +0000 (17:45 +0200)]
eval method result in a try block

11 years agorequest : adding 'signature' parameter
Frederic PAUT [Wed, 17 Apr 2013 12:31:11 +0000 (14:31 +0200)]
request : adding 'signature' parameter
(for nodejs compatibility and future use)

11 years agorequest : Bug fix
Frederic PAUT [Tue, 16 Apr 2013 15:31:54 +0000 (17:31 +0200)]
request : Bug fix

11 years agorequest : removing successCB, errorCB as parameters in callMethod
Frederic PAUT [Tue, 16 Apr 2013 08:56:08 +0000 (10:56 +0200)]
request : removing successCB, errorCB as parameters in callMethod
and using 'then' method instead
(allowing to standardize 'this' in callback)

11 years agouse request onerror handler on callback exceptions also
Luc Yriarte [Mon, 15 Apr 2013 16:03:48 +0000 (18:03 +0200)]
use request onerror handler on callback exceptions also

11 years agosyntax check
Luc Yriarte [Mon, 15 Apr 2013 16:00:49 +0000 (18:00 +0200)]
syntax check

11 years agoImplementing request interface
Frederic PAUT [Mon, 15 Apr 2013 14:21:15 +0000 (16:21 +0200)]
Implementing request interface
providing callbacks called when the operation completes,
as well as a reference to the operation's result.

11 years agofix resolver's resolve method: accept callback calls resolve, not accept
Luc Yriarte [Thu, 23 May 2013 15:26:02 +0000 (17:26 +0200)]
fix resolver's resolve method: accept callback calls resolve, not accept

11 years agocall resolver's accept and reject synchronously in the callMethod async handlers
Luc Yriarte [Thu, 23 May 2013 14:52:11 +0000 (16:52 +0200)]
call resolver's accept and reject synchronously in the callMethod async handlers

11 years agoimplement FutureResolver.resolve
Luc Yriarte [Thu, 23 May 2013 14:45:14 +0000 (16:45 +0200)]
implement FutureResolver.resolve

11 years agoimplement basic DOM Future and FutureResolver mechanism
Luc Yriarte [Wed, 22 May 2013 15:01:56 +0000 (17:01 +0200)]
implement basic DOM Future and FutureResolver mechanism

11 years agoRequest.result is an object, not an array. If the DBus method returns several results,
Luc Yriarte [Thu, 16 May 2013 15:47:29 +0000 (17:47 +0200)]
Request.result is an object, not an array. If the DBus method returns several results,
only the first will be in Request.result, but all results are passed as parameters to the onsuccess handler anyway.

11 years agoMerge pull request #20 from fpaut/agent
Luc Yriarte [Thu, 16 May 2013 15:17:31 +0000 (08:17 -0700)]
Merge pull request #20 from fpaut/agent

Add sample with variant (dictionary which is an array of string/variant)

11 years agoAdd sample with variant (dictionary which is an array of string/variant)
Frederic PAUT [Thu, 16 May 2013 15:12:57 +0000 (17:12 +0200)]
Add sample with variant (dictionary which is an array of string/variant)
note: for now, the variant could no be null nor an empty list

11 years agocloudeebus.Request implements DOMRequest as defined in
Luc Yriarte [Wed, 15 May 2013 14:54:06 +0000 (16:54 +0200)]
cloudeebus.Request implements DOMRequest as defined in
http://www.w3.org/2012/sysapps/runtime/#idl-def-DOMRequest

11 years agoNo JSON.parse for Javascript method results
Luc Yriarte [Wed, 15 May 2013 09:38:17 +0000 (11:38 +0200)]
No JSON.parse for Javascript method results

11 years agoreturn dbus error on javascript exception
Luc Yriarte [Wed, 15 May 2013 08:34:25 +0000 (10:34 +0200)]
return dbus error on javascript exception

11 years agobump version 0.4.0
Luc Yriarte [Wed, 15 May 2013 08:04:26 +0000 (10:04 +0200)]
bump version 0.4.0

11 years agoarguments.callee is deprecated
Luc Yriarte [Tue, 14 May 2013 16:13:04 +0000 (18:13 +0200)]
arguments.callee is deprecated

11 years agocleanup misplaced comment
Luc Yriarte [Tue, 14 May 2013 16:12:39 +0000 (18:12 +0200)]
cleanup misplaced comment

11 years agosyntax fix
Luc Yriarte [Tue, 14 May 2013 15:48:14 +0000 (17:48 +0200)]
syntax fix

11 years agoMerge branch 'master' into agent
Luc Yriarte [Tue, 14 May 2013 15:23:17 +0000 (17:23 +0200)]
Merge branch 'master' into agent

11 years agoMerge pull request #19 from fpaut/agent
Luc Yriarte [Tue, 14 May 2013 15:07:51 +0000 (08:07 -0700)]
Merge pull request #19 from fpaut/agent

Bug fix of dbus dictionary (interpreted as block code by eval in javascript)

11 years agoBug fix of dbus dictionary (interpreted as block code by eval in javascript)
Frederic PAUT [Tue, 14 May 2013 14:58:04 +0000 (16:58 +0200)]
Bug fix of dbus dictionary (interpreted as block code by eval in javascript)
Adding div function as sample code using floating type

11 years agoMerge branch 'master' into request
Luc Yriarte [Mon, 13 May 2013 14:26:23 +0000 (16:26 +0200)]
Merge branch 'master' into request

11 years agofix case in authors name
Luc Yriarte [Mon, 13 May 2013 12:44:49 +0000 (14:44 +0200)]
fix case in authors name

11 years agoversion check: from 0.3.2 on, client checks for a min server version, instead of...
Luc Yriarte [Mon, 13 May 2013 12:33:11 +0000 (14:33 +0200)]
version check: from 0.3.2 on, client checks for a min server version, instead of strictly equals to its own.

11 years agoConservatively set the minimum version to the first one that actually works, 0.5.8
Luc Yriarte [Thu, 25 Apr 2013 15:37:36 +0000 (17:37 +0200)]
Conservatively set the minimum version to the first one that actually works, 0.5.8

11 years agobump version 0.3.2, setup requires first compatible Autobahn version available on...
Luc Yriarte [Thu, 25 Apr 2013 13:54:52 +0000 (15:54 +0200)]
bump version 0.3.2, setup requires first compatible Autobahn version available on PyPI

11 years agoFix compatibility with autobahn v0.6.0
Frederic PAUT [Thu, 25 Apr 2013 10:25:19 +0000 (12:25 +0200)]
Fix compatibility with autobahn v0.6.0

11 years agorequest onerror callback: args for apply is an array
Luc Yriarte [Tue, 23 Apr 2013 16:58:50 +0000 (18:58 +0200)]
request onerror callback: args for apply is an array

11 years agoeval method result in a try block
Luc Yriarte [Tue, 23 Apr 2013 15:45:26 +0000 (17:45 +0200)]
eval method result in a try block

11 years agoMerge pull request #16 from fpaut/agent
Luc Yriarte [Mon, 22 Apr 2013 08:21:28 +0000 (01:21 -0700)]
Merge pull request #16 from fpaut/agent

Rebasing master branch

11 years agoMerge pull request #15 from fpaut/request
Luc Yriarte [Mon, 22 Apr 2013 08:19:51 +0000 (01:19 -0700)]
Merge pull request #15 from fpaut/request

request : adding 'signature' parameter

11 years agoAdding me as author
Frederic PAUT [Thu, 14 Feb 2013 14:47:46 +0000 (15:47 +0100)]
Adding me as author

11 years agorequest : adding 'signature' parameter
Frederic PAUT [Wed, 17 Apr 2013 12:31:11 +0000 (14:31 +0200)]
request : adding 'signature' parameter
(for nodejs compatibility and future use)

11 years agoMerge pull request #14 from fpaut/request
Luc Yriarte [Tue, 16 Apr 2013 15:49:37 +0000 (08:49 -0700)]
Merge pull request #14 from fpaut/request

request : Bug fix

11 years agorequest : Bug fix
Frederic PAUT [Tue, 16 Apr 2013 15:31:54 +0000 (17:31 +0200)]
request : Bug fix

11 years agoMerge pull request #13 from fpaut/request
Luc Yriarte [Tue, 16 Apr 2013 09:57:07 +0000 (02:57 -0700)]
Merge pull request #13 from fpaut/request

request : removing successCB, errorCB as parameters in callMethod

11 years agorequest : removing successCB, errorCB as parameters in callMethod
Frederic PAUT [Tue, 16 Apr 2013 08:56:08 +0000 (10:56 +0200)]
request : removing successCB, errorCB as parameters in callMethod
and using 'then' method instead
(allowing to standardize 'this' in callback)

11 years agouse request onerror handler on callback exceptions also
Luc Yriarte [Mon, 15 Apr 2013 16:03:48 +0000 (18:03 +0200)]
use request onerror handler on callback exceptions also

11 years agosyntax check
Luc Yriarte [Mon, 15 Apr 2013 16:00:49 +0000 (18:00 +0200)]
syntax check

11 years agoImplementing request interface
Frederic PAUT [Mon, 15 Apr 2013 14:21:15 +0000 (16:21 +0200)]
Implementing request interface
providing callbacks called when the operation completes,
as well as a reference to the operation's result.

11 years agoMerge branch 'agent' of https://github.com/01org/cloudeebus into agent
Frederic PAUT [Mon, 15 Apr 2013 14:09:46 +0000 (16:09 +0200)]
Merge branch 'agent' of https://github.com/01org/cloudeebus into agent

11 years agobump version 0.3.1 with network-based access control
Luc Yriarte [Wed, 10 Apr 2013 08:39:23 +0000 (10:39 +0200)]
bump version 0.3.1 with network-based access control

11 years agoMerge pull request #11 from fpaut/agent_ObjJS
Luc Yriarte [Tue, 9 Apr 2013 15:28:05 +0000 (08:28 -0700)]
Merge pull request #11 from fpaut/agent_ObjJS

dbus-service : Map JS object method with DBus agent

11 years agodbus service : (re)remove debug file generation with agent source code
Frederic PAUT [Mon, 8 Apr 2013 13:57:32 +0000 (15:57 +0200)]
dbus service : (re)remove debug file generation with agent source code
sorry...

11 years agodbus service : Bug fix on method mapping when using multiple object
Frederic PAUT [Mon, 8 Apr 2013 13:52:56 +0000 (15:52 +0200)]
dbus service : Bug fix on method mapping when using multiple object

11 years agodbus-service : Map JS object method with DBus agent
Frederic PAUT [Thu, 4 Apr 2013 14:48:17 +0000 (16:48 +0200)]
dbus-service : Map JS object method with DBus agent

11 years agoMerge pull request #10 from fpaut/agent
Luc Yriarte [Wed, 3 Apr 2013 12:49:50 +0000 (05:49 -0700)]
Merge pull request #10 from fpaut/agent

dbus service : Adding interface in methodID

11 years agoWIP
Frederic PAUT [Wed, 3 Apr 2013 12:42:37 +0000 (14:42 +0200)]
WIP

11 years agodbus service : Adding interface in methodID
Frederic PAUT [Wed, 3 Apr 2013 12:03:02 +0000 (14:03 +0200)]
dbus service : Adding interface in methodID

11 years agoMerge pull request #9 from fpaut/agent
Luc Yriarte [Wed, 3 Apr 2013 10:14:08 +0000 (03:14 -0700)]
Merge pull request #9 from fpaut/agent

dbus service : in callback serviceAdded(), pass object instead of name

11 years agodbus service : minor code cleaning
Frederic PAUT [Tue, 2 Apr 2013 10:38:22 +0000 (12:38 +0200)]
dbus service : minor code cleaning

11 years agodbus service : in callback serviceAdded(), return object instead of name
Frederic PAUT [Tue, 2 Apr 2013 10:01:41 +0000 (12:01 +0200)]
dbus service : in callback serviceAdded(), return object instead of name
some code cleaning in server.html

11 years agoagent not yet integrated in this branch
Luc Yriarte [Thu, 28 Mar 2013 14:42:51 +0000 (15:42 +0100)]
agent not yet integrated in this branch

11 years agoupdate authors and todo list
Luc Yriarte [Tue, 19 Mar 2013 09:39:55 +0000 (10:39 +0100)]
update authors and todo list

11 years agoAdding me as author
Frederic PAUT [Thu, 14 Feb 2013 14:47:46 +0000 (15:47 +0100)]
Adding me as author

11 years agoadd Fred in the python files authors list
Luc Yriarte [Thu, 28 Mar 2013 14:35:00 +0000 (15:35 +0100)]
add Fred in the python files authors list

11 years agocosmetics
Luc Yriarte [Thu, 28 Mar 2013 14:30:25 +0000 (15:30 +0100)]
cosmetics

11 years agocustomize netmask error messages, factorize code
Luc Yriarte [Thu, 28 Mar 2013 14:21:23 +0000 (15:21 +0100)]
customize netmask error messages, factorize code

11 years agoMerge pull request #8 from fpaut/agent_signal
Luc Yriarte [Thu, 28 Mar 2013 13:38:20 +0000 (06:38 -0700)]
Merge pull request #8 from fpaut/agent_signal

adding signal emission

11 years agoadding signal emission
Frederic PAUT [Thu, 28 Mar 2013 11:57:30 +0000 (12:57 +0100)]
adding signal emission

11 years agoMerge pull request #7 from fpaut/netfilter
Luc Yriarte [Thu, 28 Mar 2013 11:00:52 +0000 (04:00 -0700)]
Merge pull request #7 from fpaut/netfilter

netfilter: Bug fix and code cleaning

11 years agonetfilter: Bug fix and code cleaning
Frederic PAUT [Thu, 28 Mar 2013 10:57:48 +0000 (11:57 +0100)]
netfilter: Bug fix and code cleaning

11 years agoMerge pull request #6 from fpaut/netfilter
Luc Yriarte [Wed, 27 Mar 2013 11:00:34 +0000 (04:00 -0700)]
Merge pull request #6 from fpaut/netfilter

netfilter: adding host IP filtering

11 years agonetfilter: adding host IP filtering
Frederic PAUT [Wed, 27 Mar 2013 10:35:11 +0000 (11:35 +0100)]
netfilter: adding host IP filtering

11 years agoserialize multiple calls to a javascript agent method
Luc Yriarte [Tue, 26 Mar 2013 15:30:12 +0000 (16:30 +0100)]
serialize multiple calls to a javascript agent method

11 years agoremove service pending call from dict instead of nullifying the entry
Luc Yriarte [Tue, 26 Mar 2013 10:47:30 +0000 (11:47 +0100)]
remove service pending call from dict instead of nullifying the entry

11 years agolet javascript deal with unknown dbus types
Luc Yriarte [Mon, 25 Mar 2013 14:54:57 +0000 (15:54 +0100)]
let javascript deal with unknown dbus types

11 years agouse CamelCase for class names
Luc Yriarte [Mon, 25 Mar 2013 17:34:45 +0000 (18:34 +0100)]
use CamelCase for class names

11 years agohandle replies to unexisting methods with an exception
Luc Yriarte [Mon, 25 Mar 2013 15:13:39 +0000 (16:13 +0100)]
handle replies to unexisting methods with an exception

11 years agoremove debug trace in generated code
Luc Yriarte [Mon, 25 Mar 2013 14:46:37 +0000 (15:46 +0100)]
remove debug trace in generated code

11 years agoremove debug statements in generated code
Luc Yriarte [Mon, 25 Mar 2013 14:31:06 +0000 (15:31 +0100)]
remove debug statements in generated code

11 years agoremove debug pretty print functions
Luc Yriarte [Mon, 25 Mar 2013 14:24:15 +0000 (15:24 +0100)]
remove debug pretty print functions

11 years agoremove debug file generation with agent source code
Luc Yriarte [Mon, 25 Mar 2013 14:17:49 +0000 (15:17 +0100)]
remove debug file generation with agent source code

11 years agocleanup commented out code
Luc Yriarte [Mon, 25 Mar 2013 13:12:37 +0000 (14:12 +0100)]
cleanup commented out code

11 years agoagent client/server doc: adder function to test parameters / return values
Luc Yriarte [Thu, 21 Mar 2013 17:11:39 +0000 (18:11 +0100)]
agent client/server doc: adder function to test parameters / return values

11 years agoMerge pull request #5 from fpaut/agent
Luc Yriarte [Thu, 21 Mar 2013 13:43:28 +0000 (06:43 -0700)]
Merge pull request #5 from fpaut/agent

dbus service: Fix an exception in trace