Re: [E-devel] Issues with edje message sets

2013-01-03 Thread The Rasterman
On Fri, 23 Nov 2012 19:33:28 -0200 Bruno Dilly bdi...@profusion.mobi said:

 Hey,
 
 I've added support to sending messages on edje player and a example
 sending / receiving messages for all types of message.
 But there is an issue.
 
 Running: edje_player -S -p messages_echo.edj
 and sending the cmd: message 1 INT_SET 4 1 2 3 4
 
 it will return the following items: 1 2 3 3
 
 Looks like it read the last-1 value for the last item.
 It doesn't happen with string sets.
 
 I would say that is more probably it's an error on embryo or edje
 instead of edje_player or echo example, but I'm not sure.
 
 Regards,

nup..it's not that. the moment it tries to get the last arg on the stack it
gets garbage... and i dont know why... .i'm digging in embryo now. edje is
doing all the right things.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Issues with edje message sets

2013-01-03 Thread The Rasterman
On Fri, 23 Nov 2012 19:33:28 -0200 Bruno Dilly bdi...@profusion.mobi said:

 Hey,
 
 I've added support to sending messages on edje player and a example
 sending / receiving messages for all types of message.
 But there is an issue.
 
 Running: edje_player -S -p messages_echo.edj
 and sending the cmd: message 1 INT_SET 4 1 2 3 4
 
 it will return the following items: 1 2 3 3
 
 Looks like it read the last-1 value for the last item.
 It doesn't happen with string sets.
 
 I would say that is more probably it's an error on embryo or edje
 instead of edje_player or echo example, but I'm not sure.
 
 Regards,

facinating. it's something to do with doing the 

send_message(MSG_INT, id, getarg(i));
or 
send_message(MSG_INT_SET, id, getarg(i));

if u do that before u have gotten all the args from the message() call... the
last param screws up when u try fetch it. its garbage actually - in fact
whatever is on the stack passed to the last fn call. argh.. this is a deep
issue somewhere. this could take ages to find. as long as u getarg() before
calling any more bindings calls - u're good... i looked at the embryo code and
its stack builder seems fine - i didnt see an obvious issue... :(

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Issues with edje message sets

2012-11-23 Thread Bruno Dilly
Hey,

I've added support to sending messages on edje player and a example
sending / receiving messages for all types of message.
But there is an issue.

Running: edje_player -S -p messages_echo.edj
and sending the cmd: message 1 INT_SET 4 1 2 3 4

it will return the following items: 1 2 3 3

Looks like it read the last-1 value for the last item.
It doesn't happen with string sets.

I would say that is more probably it's an error on embryo or edje
instead of edje_player or echo example, but I'm not sure.

Regards,

-- 
Bruno Dilly
Lead Developer
ProFUSION embedded systems
http://profusion.mobi

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel