[E-devel] [Edje/Ecore]SIGSEGV on BSD's

2012-11-17 Thread rustyBSD
Hi,
I have just created a ticket but I'm considered as a spammer
and I can't send backtrace.

So I post it here.

Thanks



 #1804: SIGSEGV on BSD's
 -+
   Reporter:  rustyBSD@…  |  Owner:  raster
   Type:  Bug | Status:  new
   Priority:  Critical|  Milestone:
  Component:  edje|   Keywords:  sigsegv edje ecore
 Blocked By:  |   Blocking:
 -+
  Hi,
  on BSD's, e17 is totally unusable.

  I just clicked on the keyboard icon-add language-french-ok, and it
  crashes.

  Here is OpenBSD's gdb output.


Program received signal SIGSEGV, Segmentation fault.
0x06207da91290 in _edje_block_break (ed=0x620814819a8) at edje_util.c:6251
6251   if (ed-block_break) return 1;
#0  0x06207da91290 in _edje_block_break (ed=0x620814819a8) at 
edje_util.c:6251
#1  0x06207da67519 in edje_match_callback_exec_check_finals 
(signal_ppat=0x6208147ca00, source_ppat=0x6208147cc00, 
signal_finals=0x6208147ca28, source_finals=0x6208147cc28, 
signal_states=0x62081482000, source_states=0x62083da1c80, sig=0x62076abe53c 
e,action,click, source=0x6207e47190a , callbacks=0x62083da38c0, 
ed=0x620814819a8, prop=0 '\0')
at edje_match.c:501
#2  0x06207da67af2 in edje_match_callback_exec (ppat_signal=0x6208147ca00, 
ppat_source=0x6208147cc00, sig=0x62076abe53c e,action,click, 
source=0x6207e47190a , 
callbacks=0x62083da38c0, ed=0x620814819a8, prop=0 '\0') at edje_match.c:658
#3  0x06207da6efae in _edje_emit_cb (ed=0x620814819a8, sig=0x62076abe53c 
e,action,click, src=0x6207e47190a , data=0x0, prop=0 '\0') at 
edje_program.c:1411
#4  0x06207da6ee4b in _edje_emit_handle (ed=0x620814819a8, 
sig=0x62076abe53c e,action,click, src=0x6207e47190a , sdata=0x0, prop=0 
'\0') at edje_program.c:1363
#5  0x06207da698ac in _edje_message_process (em=0x62076bc6880) at 
edje_message_queue.c:681
#6  0x06207da69ce7 in _edje_message_queue_process () at 
edje_message_queue.c:789
#7  0x06207da688fd in _edje_job (data=0x0) at edje_message_queue.c:185
#8  0x062078f1560b in _ecore_job_event_handler (data=0x0, type=10, 
ev=0x62099666390) at ecore_job.c:152
#9  0x062078f0f6fa in _ecore_call_handler_cb (func=0x62078f155de 
_ecore_job_event_handler, data=0x0, type=10, event=0x62099666390) at 
ecore_private.h:333
#10 0x062078f0f1dc in _ecore_event_call () at ecore_events.c:559
#11 0x062078f178b7 in _ecore_main_loop_iterate_internal (once_only=0) at 
ecore_main.c:1910
#12 0x062078f15d4e in ecore_main_loop_begin () at ecore_main.c:934
#13 0x061e75337599 in main (argc=1, argv=0x7f7f8dc0) at e_main.c:1061--
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


[E-devel] SlackE17 with enlightenment alpha2

2012-11-17 Thread Jérôme Pinot
Hi,

A message to announce that I released Slackware packages of
enlightenment DR17. It contains EFL 1.7.1 and enlightenment alpha2.
You will find too other software like terminology, eperiodique or
elemines.

You will need Slackware 14.0 (i486 or x86_64). You can install the
packages contained in the tarballs with pkgtools.

This release contains debug symbol to help with support. Please 
help making the final release bug free!

Website: http://slacke17.sourceforge.net/ 
Download:
http://sourceforge.net/projects/slacke17/files/slacke17/r78991/ 

I will try to update SlackE17 quickly to follow the different
alpha/beta, so expect a new release in a few days with alpha3.

May this enlighten your Slackware box!

-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
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


Re: [E-devel] default mobile profile doesn't look correct

2012-11-17 Thread Martin Jansa
On Sat, Nov 17, 2012 at 02:41:09AM +0200, Tom Hacohen wrote:
 On 17/11/12 00:58, Martin Jansa wrote:
  After upgrading E17 to alpha3 I got very weird look with our
  profile (based on mobile), so I've tried default mobile profile and
  it also look bad (see attachement) any idea what could be wrong?
  
  It's from OE build (my latest meta-efl layer 
  https://github.com/shr-distribution/meta-oe/tree/jansa/test) can
  someone try mobile profile on his desktop build?
 
 It seems that the new theme is causing issues for you. Could you try
 using the old default theme (black and white) or potentially another
 alternative theme?

With gry theme from SHR it looks almost the same.

Btw: theme:about with new default theme still shows blackwhite logo.

Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
--
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


Re: [E-devel] default mobile profile doesn't look correct

2012-11-17 Thread Martin Jansa
On Sat, Nov 17, 2012 at 11:38:08AM +0900, Carsten Haitzler wrote:
 On Fri, 16 Nov 2012 23:58:20 +0100 Martin Jansa martin.ja...@gmail.com said:
 
  After upgrading E17 to alpha3 I got very weird look with our profile
  (based on mobile), so I've tried default mobile profile and it also look
  bad (see attachement) any idea what could be wrong?
  
  It's from OE build (my latest meta-efl layer
  https://github.com/shr-distribution/meta-oe/tree/jansa/test)
  can someone try mobile profile on his desktop build?
 
 i havent gotten to any of the illume stuff yet with the new theme.

And I guess old themes need to be updated too? because with our own
older theme it looks similar (can send screenshot if needed).

BTW: what license does apply to themes and can you add COPYING or
something like that to THEMES/*? It would make recipes for them in
meta-efl simplier.

Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
--
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


Re: [E-devel] default mobile profile doesn't look correct

2012-11-17 Thread The Rasterman
On Sat, 17 Nov 2012 11:20:00 +0100 Martin Jansa martin.ja...@gmail.com said:

 On Sat, Nov 17, 2012 at 11:38:08AM +0900, Carsten Haitzler wrote:
  On Fri, 16 Nov 2012 23:58:20 +0100 Martin Jansa martin.ja...@gmail.com
  said:
  
   After upgrading E17 to alpha3 I got very weird look with our profile
   (based on mobile), so I've tried default mobile profile and it also look
   bad (see attachement) any idea what could be wrong?
   
   It's from OE build (my latest meta-efl layer
   https://github.com/shr-distribution/meta-oe/tree/jansa/test)
   can someone try mobile profile on his desktop build?
  
  i havent gotten to any of the illume stuff yet with the new theme.
 
 And I guess old themes need to be updated too? because with our own
 older theme it looks similar (can send screenshot if needed).

they dont need any updating - i haven't changed anything code-wise in the illume
stuff at all.

 BTW: what license does apply to themes and can you add COPYING or
 something like that to THEMES/*? It would make recipes for them in
 meta-efl simplier.

thats up to the author of the theme. :)

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


--
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


Re: [E-devel] default mobile profile doesn't look correct

2012-11-17 Thread The Rasterman
On Sat, 17 Nov 2012 11:16:43 +0100 Martin Jansa martin.ja...@gmail.com said:

 On Sat, Nov 17, 2012 at 02:41:09AM +0200, Tom Hacohen wrote:
  On 17/11/12 00:58, Martin Jansa wrote:
   After upgrading E17 to alpha3 I got very weird look with our
   profile (based on mobile), so I've tried default mobile profile and
   it also look bad (see attachement) any idea what could be wrong?
   
   It's from OE build (my latest meta-efl layer 
   https://github.com/shr-distribution/meta-oe/tree/jansa/test) can
   someone try mobile profile on his desktop build?
  
  It seems that the new theme is causing issues for you. Could you try
  using the old default theme (black and white) or potentially another
  alternative theme?
 
 With gry theme from SHR it looks almost the same.
 
 Btw: theme:about with new default theme still shows blackwhite logo.

yes - because this has been copied in and not completed yet. :)

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


--
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


Re: [E-devel] default mobile profile doesn't look correct

2012-11-17 Thread Martin Jansa
On Sat, Nov 17, 2012 at 07:44:04PM +0900, Carsten Haitzler wrote:
 On Sat, 17 Nov 2012 11:20:00 +0100 Martin Jansa martin.ja...@gmail.com said:
 
  On Sat, Nov 17, 2012 at 11:38:08AM +0900, Carsten Haitzler wrote:
   On Fri, 16 Nov 2012 23:58:20 +0100 Martin Jansa martin.ja...@gmail.com
   said:
   
After upgrading E17 to alpha3 I got very weird look with our profile
(based on mobile), so I've tried default mobile profile and it also look
bad (see attachement) any idea what could be wrong?

It's from OE build (my latest meta-efl layer
https://github.com/shr-distribution/meta-oe/tree/jansa/test)
can someone try mobile profile on his desktop build?
   
   i havent gotten to any of the illume stuff yet with the new theme.
  
  And I guess old themes need to be updated too? because with our own
  older theme it looks similar (can send screenshot if needed).
 
 they dont need any updating - i haven't changed anything code-wise in the 
 illume
 stuff at all.

I was trying to add recipe for b_and_w and try it, but it fails to build
here:

/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/edje_cc  theme.edc 
b_and_w.edj
edje_cc: Error. theme.edc:46 unhandled keyword spectrum
edje_cc: Error. PARSE STACK:
spectra.spectrum
edje_cc: Error. PARAMS:
make: *** [b_and_w.edj] Error 255

maybe related to:
 * FIXME: this is bad. namespacing! FIXME!

  BTW: what license does apply to themes and can you add COPYING or
  something like that to THEMES/*? It would make recipes for them in
  meta-efl simplier.
 
 thats up to the author of the theme. :)

And that's who? git log shows discomfitor a lot but I haven't found
original b_and_w commit.

Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
--
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


[E-devel] efl SVG support?

2012-11-17 Thread Andreas Volz
Hello,

while compiling efl the esvg check was failing:

configure:30505: $PKG_CONFIG --exists --print-errors esvg =
${version_esvg} ender = ${version_ender} Package esvg was not found
in the pkg-config search path. Perhaps you should add the directory
containing `esvg.pc' to the PKG_CONFIG_PATH environment variable
No package 'esvg' found

I didn't find esvg in SVN. Could you tell me where to find it?

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
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


Re: [E-devel] efl SVG support?

2012-11-17 Thread Vincent Torri
On Sat, Nov 17, 2012 at 12:01 PM, Andreas Volz li...@brachttal.net wrote:
 Hello,

 while compiling efl the esvg check was failing:

 configure:30505: $PKG_CONFIG --exists --print-errors esvg =
 ${version_esvg} ender = ${version_ender} Package esvg was not found
 in the pkg-config search path. Perhaps you should add the directory
 containing `esvg.pc' to the PKG_CONFIG_PATH environment variable
 No package 'esvg' found

 I didn't find esvg in SVN. Could you tell me where to find it?

see old/README.evas file, please

Vincent


 regards
 Andreas

 --
 Technical Blog http://andreasvolz.wordpress.com/

 --
 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

--
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


Re: [E-devel] efl SVG support?

2012-11-17 Thread gpl4all

http://code.google.com/p/enesim

-Original Message-
From: Andreas Volz li...@brachttal.net
Date: Sat, 17 Nov 2012 12:01:26 
To: enlightenment-devel@lists.sourceforge.net
Reply-To: Enlightenment developer list
enlightenment-devel@lists.sourceforge.net
Subject: [E-devel] efl SVG support?

Hello,

while compiling efl the esvg check was failing:

configure:30505: $PKG_CONFIG --exists --print-errors esvg =
${version_esvg} ender = ${version_ender} Package esvg was not found
in the pkg-config search path. Perhaps you should add the directory
containing `esvg.pc' to the PKG_CONFIG_PATH environment variable
No package 'esvg' found

I didn't find esvg in SVN. Could you tell me where to find it?

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
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
--
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


Re: [E-devel] SlackE17 with enlightenment alpha2

2012-11-17 Thread Igor Murzov
On Sat, 17 Nov 2012 18:43:15 +0900
Jérôme Pinot ngc...@gmail.com wrote:

 Hi,
 
 A message to announce that I released Slackware packages of
 enlightenment DR17. It contains EFL 1.7.1 and enlightenment alpha2.
 You will find too other software like terminology, eperiodique or
 elemines.
 
 You will need Slackware 14.0 (i486 or x86_64). You can install the
 packages contained in the tarballs with pkgtools.

What about themes? Does your release contain extra themes?
Do you have any plans to update the package with themes from
Bodhi Linux?


-- Igor

 This release contains debug symbol to help with support. Please 
 help making the final release bug free!
 
 Website: http://slacke17.sourceforge.net/ 
 Download:
 http://sourceforge.net/projects/slacke17/files/slacke17/r78991/ 
 
 I will try to update SlackE17 quickly to follow the different
 alpha/beta, so expect a new release in a few days with alpha3.
 
 May this enlighten your Slackware box!
 
 -- 
 Jérôme Pinot
 http://ngc891.blogdns.net/

--
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


Re: [E-devel] SlackE17 with enlightenment alpha2

2012-11-17 Thread Jérôme Pinot
On 11/17/12 17:19, Igor Murzov wrote:
 On Sat, 17 Nov 2012 18:43:15 +0900
 Jérôme Pinot ngc...@gmail.com wrote:
 
  Hi,
  
  A message to announce that I released Slackware packages of
  enlightenment DR17. It contains EFL 1.7.1 and enlightenment alpha2.
  You will find too other software like terminology, eperiodique or
  elemines.
  
  You will need Slackware 14.0 (i486 or x86_64). You can install the
  packages contained in the tarballs with pkgtools.
 
 What about themes? Does your release contain extra themes?

No.

 Do you have any plans to update the package with themes from
 Bodhi Linux?

Why not. But it seems there is no update as seen on art.bodhilinux.com 
and even, I just checked and bodhi-theme-pack.bod link is broken.
Installing a theme is just a matter of copying a file in your $HOME
folder so it's not a big hassle anyway. But most of the themes around
are deprecated or not finished. You should not worry much about this
for now. Top priority is testing E17 with its default configuration.
Fun with themes can wait.

 
 -- Igor
 
  This release contains debug symbol to help with support. Please 
  help making the final release bug free!
  
  Website: http://slacke17.sourceforge.net/ 
  Download:
  http://sourceforge.net/projects/slacke17/files/slacke17/r78991/ 
  
  I will try to update SlackE17 quickly to follow the different
  alpha/beta, so expect a new release in a few days with alpha3.
  
  May this enlighten your Slackware box!
  
  -- 
  Jérôme Pinot
  http://ngc891.blogdns.net/

-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
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


[E-devel] Gentoo packages for trunk and 1.7 branch

2012-11-17 Thread Lionel Orry
Hi everyone,

Congrats for the e17-alpha3.

since Gustavo switched to Arch and Mike is definitely too busy to take
care of this right now, I wanted to know if someone was working on
upgrading the gentoo packaging overlay (e.org one and / or the
official overlay) to :

- use merged 'efl' instead of eina,eet,evas, and others merged in for
live ebuilds
- create alpha ebuilds for enlightenment and corresponding 1.7 ebuilds
(using the released tarballs) for the dependencies

since non of those seem to be available on the official enlightenment
overlay (maintained by vapier IIRC).

I am unfortunately not feeling at ease enough to create those ebuilds
myself, but I'd be happy to help with testing and fixing them.

Thank you,
Lionel

--
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


Re: [E-devel] Gentoo packages for trunk and 1.7 branch

2012-11-17 Thread Lionel Orry
My bad, I just noticed the alpha3 and 1.7 deps are already in the
official portage tree!

But a merged 'efl' ebuild could be interesting, still.

Cheers
Lionel

On Sat, Nov 17, 2012 at 2:51 PM, Lionel Orry lionel.o...@gmail.com wrote:
 Hi everyone,

 Congrats for the e17-alpha3.

 since Gustavo switched to Arch and Mike is definitely too busy to take
 care of this right now, I wanted to know if someone was working on
 upgrading the gentoo packaging overlay (e.org one and / or the
 official overlay) to :

 - use merged 'efl' instead of eina,eet,evas, and others merged in for
 live ebuilds
 - create alpha ebuilds for enlightenment and corresponding 1.7 ebuilds
 (using the released tarballs) for the dependencies

 since non of those seem to be available on the official enlightenment
 overlay (maintained by vapier IIRC).

 I am unfortunately not feeling at ease enough to create those ebuilds
 myself, but I'd be happy to help with testing and fixing them.

 Thank you,
 Lionel

--
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


[E-devel] Evas event handling - void *event_info?

2012-11-17 Thread Andreas Volz
Hello,

I've just some problem to understand that event_info parameter in Evas
callbacks. e.g.:

http://docs.enlightenment.org/auto/elementary/fileselector_example_c.html

...
/* 'selected' cb */
static void
_fs_selected(void*data,
 Evas_Object *obj,
 void*event_info)
{
   const char *selected = event_info;
   /* event_info contains the full path of the selected file */

   printf(There's been a selection: %s\n, selected);
}
...
 /* the 'done' cb is called when the user presses ok/cancel */
   evas_object_smart_callback_add(fs, done, _fs_done, win);
...

In this example the event_info* is casted in sime magic way to a char*.
My problem is that event_info* could always be anything and I don't
know it without looking into the sources (here e.g. elm_fileselector).
It's not written anywhere in the documentation that event_info* is a
char*. (Or I didn't find it...)

So is there any way to find out as API user the type of event_info*
which I should cast?

In my special case (Eflxx C++ wrapper) have the problem to design a
type safe interface. I've really no idea to do it. But even using the C
interface I don't like it. Or did I miss understood the API?

I would really prefer that event_info* would be some structure with a
data pointer and some magic identifiers. Then it would be possible to
find out the type of an event.

What do you think? Am I alone with this problem? Any ideas for a better
event_info interface?

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
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


Re: [E-devel] efl SVG support?

2012-11-17 Thread Andreas Volz
Am Sat, 17 Nov 2012 11:21:58 + schrieb gpl4all:

Interesting!

Does enesim stand in some sort of competition compared to part of EFL?
Or do they have another mission?
 
 http://code.google.com/p/enesim
 
 -Original Message-
 From: Andreas Volz li...@brachttal.net
 Date: Sat, 17 Nov 2012 12:01:26 
 To: enlightenment-devel@lists.sourceforge.net
 Reply-To: Enlightenment developer list
   enlightenment-devel@lists.sourceforge.net
 Subject: [E-devel] efl SVG support?
 
 Hello,
 
 while compiling efl the esvg check was failing:
 
 configure:30505: $PKG_CONFIG --exists --print-errors esvg =
 ${version_esvg} ender = ${version_ender} Package esvg was not found
 in the pkg-config search path. Perhaps you should add the directory
 containing `esvg.pc' to the PKG_CONFIG_PATH environment variable
 No package 'esvg' found
 
 I didn't find esvg in SVN. Could you tell me where to find it?
 
 regards
   Andreas
 
 -- 
 Technical Blog http://andreasvolz.wordpress.com/
 
 --
 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
 --
 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
 


-- 
Technical Blog http://andreasvolz.wordpress.com/

--
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


Re: [E-devel] [e-users] econnman and release

2012-11-17 Thread Lucas De Marchi
On Sat, Nov 17, 2012 at 10:30 AM, Massimo Maiurana maiur...@gmail.com wrote:
 Carsten Haitzler (The Rasterman), il 17/11/2012 03:34, ha scritto:

 9. It would be nice if the module icon would reflect the signal strength.

 Bruno is working (or will work, not sure) on it.

 yeah - i noticed the fixme in the module src. it's kind of weird that it 
 works
 in the ilist  popup but not the main module :)

 on my laptop the list of available networks in the gadget menu is populated at
 e startup and never updated anymore, if I want it to be updated I have to
 restart e (ctrl+alt+end).
 it is on an ubuntu 12.04 with connman 0.78

we only support connman 1.x


Lucas De Marchi

--
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


Re: [E-devel] efl SVG support?

2012-11-17 Thread Vincent Torri
On Sat, Nov 17, 2012 at 5:42 PM, Andreas Volz li...@brachttal.net wrote:
 Am Sat, 17 Nov 2012 11:21:58 + schrieb gpl4all:

 Interesting!

 Does enesim stand in some sort of competition compared to part of EFL?
 Or do they have another mission?

it's a vector-based rendering library, which could be in competition
more with cairo than with evas. But Enesim could be used as rendering
engine for evas, for example.

To be more accurate, Enesim is the name of the project. Its stack is
composed of several libraries
Enesim
Emage
Etex
Etch
Ender
Egueb
etc

See the wiki in the website for mor einformations.

Jorge (turran in IRC, #edevelop and #enesim) can answer with more details.

Vincent

--
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


Re: [E-devel] [e-users] econnman and release

2012-11-17 Thread Massimo Maiurana
Lucas De Marchi, il 17/11/2012 17:51, ha scritto:

 we only support connman 1.x

the problem is that even on ubuntu 13.04 there will be connman 0.78, so 1.0
will be shipped at least on october 2013 :(


-- 

  Massimo Maiurana   GPG keyID #7044D601

  La fede e' credere in cio' che sai non essere vero
[Mark Twain]



signature.asc
Description: OpenPGP digital signature
--
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


[E-devel] eina benchmark and eina_file patches

2012-11-17 Thread Jérémy Zurcher
Hi,

0002-_eina_file_escape-take-care-of.patch
  takes care of '/./' and breaks loop on '/..$'

0001-sanitize-eina-benchmark-compilation.patch
  cleans up and fixes 'make benchmark'
  saddly eina_bench stills segv and as I can't find any install target for
  it, and I'm not a kung-auto-foo warrior, I can't gdb it.
  could someone provide a benchmark-install target or point me to the
  direction I missed?

p.s.
  fucking \t !!

regards
Jérémy
From d70075b3461101a97a8ffdc1f31158a8fb9911d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= jer...@asynk.ch
Date: Sat, 17 Nov 2012 23:52:45 +0100
Subject: [PATCH 1/2] sanitize eina benchmark compilation

---
 efl/src/benchmarks/eina/Ecore_Data.h   |  2 +-
 efl/src/benchmarks/eina/ecore_strings.c|  9 ++---
 .../benchmarks/eina/eina_bench_stringshare_e17.c   | 23 +++---
 efl/src/benchmarks/eina/evas_mempool.c |  2 +-
 4 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/efl/src/benchmarks/eina/Ecore_Data.h 
b/efl/src/benchmarks/eina/Ecore_Data.h
index 50d42f1..415efc7 100644
--- a/efl/src/benchmarks/eina/Ecore_Data.h
+++ b/efl/src/benchmarks/eina/Ecore_Data.h
@@ -416,7 +416,7 @@ struct _ecore_string
 };
 
 EAPI int ecore_string_init();
-EAPI voidecore_string_shutdown();
+EAPI int ecore_string_shutdown();
 EAPI const char *ecore_string_instance(const char *string);
 EAPI voidecore_string_release(const char *string);
 
diff --git a/efl/src/benchmarks/eina/ecore_strings.c 
b/efl/src/benchmarks/eina/ecore_strings.c
index d76e4c5..15deae6 100644
--- a/efl/src/benchmarks/eina/ecore_strings.c
+++ b/efl/src/benchmarks/eina/ecore_strings.c
@@ -33,7 +33,7 @@ static int ecore_string_init_count = 0;
  * @return  Zero on failure, non-zero on successful initialization.
  */
 EAPI int
-ecore_string_init()
+ecore_string_init(void)
 {
/*
 * No strings have been loaded at this point, so create the hash
@@ -138,9 +138,11 @@ ecore_string_hash_dump_stats(void)
 
 /**
  * Shutdown the ecore string internal structures
+ * @return 0 when the module is completely shut down, 1 or
+ * greater otherwise.
  */
-EAPI void
-ecore_string_shutdown()
+EAPI int
+ecore_string_shutdown(void)
 {
--ecore_string_init_count;
if (!ecore_string_init_count)
@@ -148,6 +150,7 @@ ecore_string_shutdown()
 ecore_hash_destroy(ecore_strings);
 ecore_strings = NULL;
  }
+   return ecore_string_init_count;
 }
 
 static void
diff --git a/efl/src/benchmarks/eina/eina_bench_stringshare_e17.c 
b/efl/src/benchmarks/eina/eina_bench_stringshare_e17.c
index 6ab0a80..505374d 100644
--- a/efl/src/benchmarks/eina/eina_bench_stringshare_e17.c
+++ b/efl/src/benchmarks/eina/eina_bench_stringshare_e17.c
@@ -57,10 +57,10 @@ static Eina_Stringshare_Test eina_str = {
 
 static Eina_Stringshare_Test evas_str = {
evas,
-/*  evas_stringshare_init, */
+   NULL,
evas_stringshare_add,
-   evas_stringshare_del
-/*  evas_stringshare_shutdown */
+   evas_stringshare_del,
+   NULL
 };
 
 static Eina_Stringshare_Test ecore_str = {
@@ -71,7 +71,7 @@ static Eina_Stringshare_Test ecore_str = {
ecore_string_shutdown
 };
 
-static Eina_Stringshare_Test *str[] = {
+static Eina_Stringshare_Test *tests[] = {
eina_str,
evas_str,
ecore_str,
@@ -87,16 +87,17 @@ eina_bench_e17_stringshare(Eina_Stringshare_Test *str)
 
eina_counter_start(cnt);
 
-   str-init();
+   if (str-init)
+ str-init();
 
-#include strlog
+//#include strlog
 
-   str-shutdown();
+   if (str-shutdown)
+ str-shutdown();
 
eina_counter_stop(cnt, 1);
 
-   fprintf(stderr, For `%s`:\n, str-name);
-   eina_counter_dump(cnt);
+   fprintf(stderr, For `%s`:\n%s\n, str-name,eina_counter_dump(cnt));
 
eina_counter_free(cnt);
 }
@@ -110,8 +111,8 @@ eina_bench_e17(void)
 
eina_init();
 
-   for (i = 0; str[i]; ++i)
-  eina_bench_e17_stringshare(str[i]);
+   for (i = 0; tests[i]; ++i)
+  eina_bench_e17_stringshare(tests[i]);
 
eina_shutdown();
 #endif
diff --git a/efl/src/benchmarks/eina/evas_mempool.c 
b/efl/src/benchmarks/eina/evas_mempool.c
index 921b7df..fbc48fa 100644
--- a/efl/src/benchmarks/eina/evas_mempool.c
+++ b/efl/src/benchmarks/eina/evas_mempool.c
@@ -56,7 +56,7 @@ _evas_mp_pool_free(Pool *p)
 }
 
 void *
-evas_mempool_malloc(Evas_Mempool *pool, int size EINA_UNUSED)
+evas_mempool_malloc(Evas_Mempool *pool, int size)
 {
 #ifdef NOPOOL
return malloc(size);
-- 
1.8.0

From ea44ff6a4f1d37c92f311cbd3f8dc44a6ee3ee07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= jer...@asynk.ch
Date: Sun, 18 Nov 2012 00:09:53 +0100
Subject: [PATCH 2/2] _eina_file_escape take care of /./

---
 efl/src/lib/eina/eina_file.c | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/efl/src/lib/eina/eina_file.c b/efl/src/lib/eina/eina_file.c
index 1c0253b..663a474 100644
--- a/efl/src/lib/eina/eina_file.c
+++ b/efl/src/lib/eina/eina_file.c
@@ -551,8 

Re: [E-devel] [PATH] evas: add event source evas object

2012-11-17 Thread Leandro Dorileo
Hi Raster,

On Thu, Nov 15, 2012 at 02:25:38PM +0900, Carsten Haitzler wrote:
 On Tue, 13 Nov 2012 11:49:47 -0200 Leandro Dorileo dori...@profusion.mobi
 said:
 
 noo!
 
 this breaks abi.
 
 never ADD structure members in the middle of a structure - add them at the
 END... always! at least in public api's!


Ok, attached goes a version considering the ABI thing. Thank you for reviewing.


 
  Hi,
  
  Attached patch introduces fields to events Evas_Event_Mouse_* structures
  to hold the event source evas object in case of evas source events
  propagation.
  
  Regards
  


Regards


-- 
Leandro Dorileo
ProFUSION embedded systems
http://profusion.mobi
From ebc2826222a26354656a457338a829fe5fb664ef Mon Sep 17 00:00:00 2001
From: Leandro Dorileo dori...@profusion.mobi
Date: Tue, 13 Nov 2012 11:41:39 -0200
Subject: [PATCH] evas: add event source evas object

This patch introduces fields to event Evas_Event_Mouse_* structures
to hold the event source evas object in case of evas source events
propagation.
---
 src/lib/Evas.h   |  5 +
 src/lib/canvas/evas_events.c | 10 ++
 2 files changed, 15 insertions(+)

diff --git a/src/lib/Evas.h b/src/lib/Evas.h
index e964e75..297e364 100644
--- a/src/lib/Evas.h
+++ b/src/lib/Evas.h
@@ -1103,6 +1103,7 @@ struct _Evas_Event_Mouse_Down /** Mouse button press 
event */
unsigned int  timestamp;
Evas_Event_Flags  event_flags;
Evas_Device  *dev;
+   Evas_Object  *event_src; /** The Evas Object which actually triggered 
the event, used in cases of proxy event propagation */
 };
 
 struct _Evas_Event_Mouse_Up /** Mouse button release event */
@@ -1120,6 +1121,7 @@ struct _Evas_Event_Mouse_Up /** Mouse button release 
event */
unsigned int  timestamp;
Evas_Event_Flags  event_flags;
Evas_Device  *dev;
+   Evas_Object *event_src; /** The Evas Object which actually triggered 
the event, used in cases of proxy event propagation */
 };
 
 struct _Evas_Event_Mouse_In /** Mouse enter event */
@@ -1135,6 +1137,7 @@ struct _Evas_Event_Mouse_In /** Mouse enter event */
unsigned int timestamp;
Evas_Event_Flags event_flags;
Evas_Device *dev;
+   Evas_Object *event_src; /** The Evas Object which actually triggered 
the event, used in cases of proxy event propagation */
 };
 
 struct _Evas_Event_Mouse_Out /** Mouse leave event */
@@ -1150,6 +1153,7 @@ struct _Evas_Event_Mouse_Out /** Mouse leave event */
unsigned int timestamp;
Evas_Event_Flags event_flags;
Evas_Device *dev;
+   Evas_Object *event_src; /** The Evas Object which actually triggered 
the event, used in cases of proxy event propagation */
 };
 
 struct _Evas_Event_Mouse_Move /** Mouse move event */
@@ -1165,6 +1169,7 @@ struct _Evas_Event_Mouse_Move /** Mouse move event */
unsigned int timestamp;
Evas_Event_Flags event_flags;
Evas_Device *dev;
+   Evas_Object *event_src; /** The Evas Object which actually triggered 
the event, used in cases of proxy event propagation */
 };
 
 struct _Evas_Event_Mouse_Wheel /** Wheel event */
diff --git a/src/lib/canvas/evas_events.c b/src/lib/canvas/evas_events.c
index ba643b7..b43c1d6 100644
--- a/src/lib/canvas/evas_events.c
+++ b/src/lib/canvas/evas_events.c
@@ -200,6 +200,8 @@ _evas_event_source_mouse_down_events(Evas_Object *eo_obj, 
Evas *eo_e, Evas_Event
 
_transform_to_src_space(obj, src, ev-canvas.x, ev-canvas.y);
 
+   ev-event_src = eo_obj;
+
if (src-proxy.src_event_in)
  src-proxy.src_event_in = eina_list_free(src-proxy.src_event_in);
 
@@ -270,6 +272,8 @@ _evas_event_source_mouse_move_events(Evas_Object *eo_obj, 
Evas *eo_e, Evas_Event
 
_transform_to_src_space(obj, src, ev-cur.canvas.x, ev-cur.canvas.y);
 
+   ev-event_src = eo_obj;
+
//FIXME: transform previous coords also.
Eina_List *l;
Evas_Object *eo_child;
@@ -447,6 +451,8 @@ _evas_event_source_mouse_up_events(Evas_Object *eo_obj, 
Evas *eo_e, Evas_Event_M
 
   _transform_to_src_space(obj, src, ev-canvas.x, ev-canvas.y);
 
+  ev-event_src = eo_obj;
+
Eina_List *l;
Evas_Object *eo_child;
Evas_Object_Protected_Data *child;
@@ -771,6 +777,8 @@ _evas_event_source_mouse_in_events(Evas_Object *eo_obj, 
Evas *eo_e,  Evas_Event_
 
   _transform_to_src_space(obj, src, ev-canvas.x, ev-canvas.y);
 
+  ev-event_src = eo_obj;
+
Eina_List *ins = NULL;
if (src-is_smart)
  {
@@ -825,6 +833,8 @@ _evas_event_source_mouse_out_events(Evas_Object *eo_obj, 
Evas *eo_e, Evas_Event_
 
   _transform_to_src_space(obj, src, ev-canvas.x, ev-canvas.y);
 
+  ev-event_src = eo_obj;
+
Eina_List *l;
Evas_Object *eo_child;
Eina_List *copy = evas_event_list_copy(src-proxy.src_event_in);
-- 
1.8.0

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, 

Re: [E-devel] Evas event handling - void *event_info?

2012-11-17 Thread Leandro Dorileo
Hi,

On Sat, Nov 17, 2012 at 05:37:42PM +0100, Andreas Volz wrote:
 Hello,
 
 I've just some problem to understand that event_info parameter in Evas
 callbacks. e.g.:
 
 http://docs.enlightenment.org/auto/elementary/fileselector_example_c.html
 
 ...
 /* 'selected' cb */
 static void
 _fs_selected(void*data,
  Evas_Object *obj,
  void*event_info)
 {
const char *selected = event_info;
/* event_info contains the full path of the selected file */
 
printf(There's been a selection: %s\n, selected);
 }
 ...
  /* the 'done' cb is called when the user presses ok/cancel */
evas_object_smart_callback_add(fs, done, _fs_done, win);
 ...
 
 In this example the event_info* is casted in sime magic way to a char*.
 My problem is that event_info* could always be anything and I don't
 know it without looking into the sources (here e.g. elm_fileselector).
 It's not written anywhere in the documentation that event_info* is a
 char*. (Or I didn't find it...)
 


EFL documentation usually tells what event_info is deppending on the object
and the event you're registering a callback to. For the file selector you
can check the widget doc[1] in the detailed description section.


 So is there any way to find out as API user the type of event_info*
 which I should cast?
 
 In my special case (Eflxx C++ wrapper) have the problem to design a
 type safe interface. I've really no idea to do it. But even using the C
 interface I don't like it. Or did I miss understood the API?
 
 I would really prefer that event_info* would be some structure with a
 data pointer and some magic identifiers. Then it would be possible to
 find out the type of an event.
 
 What do you think? Am I alone with this problem? Any ideas for a better
 event_info interface?


Smart object events are extremelly arbitrary... you can have totally different
smart object with different objectives handling with different type of data and
event nature.

[1] - http://docs.enlightenment.org/auto/elementary/group__Fileselector.html


Regards

-- 
Leandro Dorileo
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


Re: [E-devel] Evas event handling - void *event_info?

2012-11-17 Thread Bluezery
2012년 11월 18일 일요일에 Andreas Volz님이 작성:

 Hello,

 I've just some problem to understand that event_info parameter in Evas
 callbacks. e.g.:

 http://docs.enlightenment.org/auto/elementary/fileselector_example_c.html

 ...
 /* 'selected' cb */
 static void
 _fs_selected(void*data,
  Evas_Object *obj,
  void*event_info)
 {
const char *selected = event_info;
/* event_info contains the full path of the selected file */

printf(There's been a selection: %s\n, selected);
 }
 ...
  /* the 'done' cb is called when the user presses ok/cancel */
evas_object_smart_callback_add(fs, done, _fs_done, win);
 ...

 In this example the event_info* is casted in sime magic way to a char*.
 My problem is that event_info* could always be anything and I don't
 know it without looking into the sources (here e.g. elm_fileselector).
 It's not written anywhere in the documentation that event_info* is a
 char*. (Or I didn't find it...)

 So is there any way to find out as API user the type of event_info*
 which I should cast?

 In my special case (Eflxx C++ wrapper) have the problem to design a
 type safe interface. I've really no idea to do it. But even using the C
 interface I don't like it. Or did I miss understood the API?

 I would really prefer that event_info* would be some structure with a
 data pointer and some magic identifiers. Then it would be possible to
 find out the type of an event.

 What do you think? Am I alone with this problem? Any ideas for a better
 event_info interface?


if event_info has a structure with magic number or type, magic number
could be conflicted after widget customization by end user if  widget
customization is allowed. but I don't know customization is allowed or not
now or for the future.








 regards
 Andreas

 --
 Technical Blog http://andreasvolz.wordpress.com/


 --
 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 javascript:;
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
BRs,
Kim.
--
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


Re: [E-devel] Evas event handling - void *event_info?

2012-11-17 Thread Daniel Juyung Seo
On Sun, Nov 18, 2012 at 10:02 AM, Leandro Dorileo dori...@profusion.mobiwrote:

 Hi,

 On Sat, Nov 17, 2012 at 05:37:42PM +0100, Andreas Volz wrote:
  Hello,
 
  I've just some problem to understand that event_info parameter in Evas
  callbacks. e.g.:
 
 
 http://docs.enlightenment.org/auto/elementary/fileselector_example_c.html
 
  ...
  /* 'selected' cb */
  static void
  _fs_selected(void*data,
   Evas_Object *obj,
   void*event_info)
  {
 const char *selected = event_info;
 /* event_info contains the full path of the selected file */
 
 printf(There's been a selection: %s\n, selected);
  }
  ...
   /* the 'done' cb is called when the user presses ok/cancel */
 evas_object_smart_callback_add(fs, done, _fs_done, win);
  ...
 
  In this example the event_info* is casted in sime magic way to a char*.
  My problem is that event_info* could always be anything and I don't
  know it without looking into the sources (here e.g. elm_fileselector).
  It's not written anywhere in the documentation that event_info* is a
  char*. (Or I didn't find it...)
 


 EFL documentation usually tells what event_info is deppending on the object
 and the event you're registering a callback to. For the file selector you
 can check the widget doc[1] in the detailed description section.


  So is there any way to find out as API user the type of event_info*
  which I should cast?
 
  In my special case (Eflxx C++ wrapper) have the problem to design a
  type safe interface. I've really no idea to do it. But even using the C
  interface I don't like it. Or did I miss understood the API?
 
  I would really prefer that event_info* would be some structure with a
  data pointer and some magic identifiers. Then it would be possible to
  find out the type of an event.
 
  What do you think? Am I alone with this problem? Any ideas for a better
  event_info interface?


 Smart object events are extremelly arbitrary... you can have totally
 different
 smart object with different objectives handling with different type of
 data and
 event nature.


Right. That's why event_info type is 'void *'.
Smart object is quite customizable so applications can write their own
smart objects with arbitrary event_info parameters to suit their tastes.

Daniel Juyung Seo (SeoZ)


 [1] -
 http://docs.enlightenment.org/auto/elementary/group__Fileselector.html


 Regards

 --
 Leandro Dorileo
 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

--
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