Re: problem with dbus-scripts and Phone.SMS

2010-04-01 Thread Nelson Ferreira
On Wed, 2010-03-24 at 15:15 +0100, Nicolas Chuche wrote: > > But, maybe, in those cases dbus-scripts is the wrong tool > > and it would be better to create a custom daemon to do whatever is required. > > I really like the idea of dbus-scripts to handle all my dbus scripts. > I don't like the idea

Re: problem with dbus-scripts and Phone.SMS

2010-03-31 Thread Nicolas Chuche
Hello, > reinventing the wheel could be hard and dangerous so I was thinking > about something like yaml. On the plus side, it's easy to parse with > libraries. On the minus side, you need to have the library on n900. I've coded some kind of POC. It's not finished (my C is a bit rusted...) and ju

Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Nicolas Chuche
> I did not add arrays because I did not see the need for it, but since you > need it, there is no problem to add this. What format do you think might be > useful for passing an array of bytes as a parameter to a script? If I'm the only one to need that no need to rush :) Perhaps a dumb yaml dump

Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Nicolas Chuche
> I tend to favour either using a filespec (a file which dbus-scripts deletes > after the script has run) or using base64 (because there are probably > convenient libraries in many scripting languages). good ideas. I think I'd rather the filespec. > Of course, this doesn't allow for more complex

Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Graham Cobb
On Wednesday 24 March 2010 11:22:34 Matan Ziv-Av wrote: > I did not add arrays because I did not see the need for it, but since > you need it, there is no problem to add this. What format do you think > might be useful for passing an array of bytes as a parameter to a > script? I tend to favour ei

Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Matan Ziv-Av
On Tue, 23 Mar 2010, Nicolas Chuche wrote: Ok, found why in dbus-scripts.c. It's not yet implemented :) : #if 0 [...] case DBUS_TYPE_ARRAY: { int current_type; DBusMessageIter

Re: problem with dbus-scripts and Phone.SMS

2010-03-23 Thread Nicolas Chuche
Ok, found why in dbus-scripts.c. It's not yet implemented :) : #if 0 [...] case DBUS_TYPE_ARRAY: { int current_type; DBusMessageIter subiter; dbus