Re: [E-devel] E SVN: raster trunk/evas

2011-04-26 Thread Vincent Torri


On Mon, 25 Apr 2011, Enlightenment SVN wrote:

 Log:
 use correct hdr in shm open check.



 Author:   raster
 Date: 2011-04-25 22:12:25 -0700 (Mon, 25 Apr 2011)
 New Revision: 58917
 Trac: http://trac.enlightenment.org/e/changeset/58917

 Modified:
  trunk/evas/configure.ac

 Modified: trunk/evas/configure.ac
 ===
 --- trunk/evas/configure.ac   2011-04-26 04:35:27 UTC (rev 58916)
 +++ trunk/evas/configure.ac   2011-04-26 05:12:25 UTC (rev 58917)
 @@ -484,7 +484,7 @@
 AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
   [[
 -#include sys/types.h
 +#include sys/stat.h
 #include sys/mman.h
 #include fcntl.h
   ]],

http://linux.die.net/man/3/shm_open

Vincent

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread Vincent Torri


On Tue, 26 Apr 2011, Enlightenment SVN wrote:

 Log:
 some readme fun



 Author:   raster
 Date: 2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
 New Revision: 58922
 Trac: http://trac.enlightenment.org/e/changeset/58922

 Modified:
  trunk/evas_generic_loaders/README

 Modified: trunk/evas_generic_loaders/README
 ===
 --- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev 58921)
 +++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev 58922)
 @@ -1,2 +1,27 @@
 Additional generic loaders for Evas that are stand-alone executables
 -evas may run from its generic loader module
 +evas may run from its generic loader module.
 +
 +Generic loaders currently provided:
 +
 +  XCF (.xcf .xcf.gz)
 +
 +Wanted:
 +
 +  RAW
 +(libopenraw1 ??)
 +  PDF
 +(use -key option to specific what page to get and load options for size
 + and use poppler and/or mupdf - look at epdf)
 +  PS
 +(use -key option to specific what page to get and load options for size
 + and use ghostscript (libgs) to render etc.)

what is the interest compared to eyesight/epdf/eps ?

Vincent

 +
 +Possible fun ones:
 +
 +  MPG/AVI/OGV/MOV/MKV/WMV etc.
 +(use gstreamer and/or libxine or libvlc and snap one frame from the
 + middle somewhere)
 +  PPT/PPTX
 +(beats me how u can render a page from these without a whole
 + office impl - but worth a try? libopenoffice/libllibreoffice if
 + it ever happens?)


 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread Cedric BAIL
On Tue, Apr 26, 2011 at 9:54 AM, Vincent Torri vto...@univ-evry.fr wrote:
 On Tue, 26 Apr 2011, Enlightenment SVN wrote:
 Log:
 some readme fun

 Author:       raster
 Date:         2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
 New Revision: 58922
 Trac:         http://trac.enlightenment.org/e/changeset/58922

 Modified:
  trunk/evas_generic_loaders/README

 Modified: trunk/evas_generic_loaders/README
 ===
 --- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev 58921)
 +++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev 58922)
 @@ -1,2 +1,27 @@
 Additional generic loaders for Evas that are stand-alone executables
 -evas may run from its generic loader module
 +evas may run from its generic loader module.
 +
 +Generic loaders currently provided:
 +
 +  XCF (.xcf .xcf.gz)
 +
 +Wanted:
 +
 +  RAW
 +    (libopenraw1 ??)
 +  PDF
 +    (use -key option to specific what page to get and load options for size
 +     and use poppler and/or mupdf - look at epdf)
 +  PS
 +    (use -key option to specific what page to get and load options for size
 +     and use ghostscript (libgs) to render etc.)

 what is the interest compared to eyesight/epdf/eps ?

Complete integration with evas cache and preload infrastructure.
Should be easier to maintain it.
-- 
Cedric BAIL

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread Vincent Torri



On Tue, 26 Apr 2011, Cedric BAIL wrote:


On Tue, Apr 26, 2011 at 9:54 AM, Vincent Torri vto...@univ-evry.fr wrote:

On Tue, 26 Apr 2011, Enlightenment SVN wrote:

Log:
some readme fun

Author:       raster
Date:         2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
New Revision: 58922
Trac:         http://trac.enlightenment.org/e/changeset/58922

Modified:
 trunk/evas_generic_loaders/README

Modified: trunk/evas_generic_loaders/README
===
--- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev 58921)
+++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev 58922)
@@ -1,2 +1,27 @@
Additional generic loaders for Evas that are stand-alone executables
-evas may run from its generic loader module
+evas may run from its generic loader module.
+
+Generic loaders currently provided:
+
+  XCF (.xcf .xcf.gz)
+
+Wanted:
+
+  RAW
+    (libopenraw1 ??)
+  PDF
+    (use -key option to specific what page to get and load options for size
+     and use poppler and/or mupdf - look at epdf)
+  PS
+    (use -key option to specific what page to get and load options for size
+     and use ghostscript (libgs) to render etc.)


what is the interest compared to eyesight/epdf/eps ?


Complete integration with evas cache and preload infrastructure.
Should be easier to maintain it.


so there is no interest to develop eyesight anymore

Vincent--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 09:54:53 +0200 (CEST) Vincent Torri vto...@univ-evry.fr
said:

 
 
 On Tue, 26 Apr 2011, Enlightenment SVN wrote:
 
  Log:
  some readme fun
 
 
 
  Author:   raster
  Date: 2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
  New Revision: 58922
  Trac: http://trac.enlightenment.org/e/changeset/58922
 
  Modified:
   trunk/evas_generic_loaders/README
 
  Modified: trunk/evas_generic_loaders/README
  ===
  --- trunk/evas_generic_loaders/README   2011-04-26 07:29:30 UTC (rev
  58921) +++ trunk/evas_generic_loaders/README2011-04-26 07:46:01 UTC
  (rev 58922) @@ -1,2 +1,27 @@
  Additional generic loaders for Evas that are stand-alone executables
  -evas may run from its generic loader module
  +evas may run from its generic loader module.
  +
  +Generic loaders currently provided:
  +
  +  XCF (.xcf .xcf.gz)
  +
  +Wanted:
  +
  +  RAW
  +(libopenraw1 ??)
  +  PDF
  +(use -key option to specific what page to get and load options for size
  + and use poppler and/or mupdf - look at epdf)
  +  PS
  +(use -key option to specific what page to get and load options for size
  + and use ghostscript (libgs) to render etc.)
 
 what is the interest compared to eyesight/epdf/eps ?

trivial thumbnailing. not intended for full ps/pdf control. also to avoid the
gpl issue in epdf. you could have a loader use evas itself and epdf etc. if u
wanted. it'd work. use buffer engine and render to memory. i'm not that fussed
really.

 Vincent
 
  +
  +Possible fun ones:
  +
  +  MPG/AVI/OGV/MOV/MKV/WMV etc.
  +(use gstreamer and/or libxine or libvlc and snap one frame from the
  + middle somewhere)
  +  PPT/PPTX
  +(beats me how u can render a page from these without a whole
  + office impl - but worth a try? libopenoffice/libllibreoffice if
  + it ever happens?)
 
 
  --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-svn mailing list
  enlightenment-...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 
 
 
 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network 
 management toolset available today.  Delivers lowest initial 
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 09:58:36 +0200 Cedric BAIL cedric.b...@free.fr said:

 On Tue, Apr 26, 2011 at 9:54 AM, Vincent Torri vto...@univ-evry.fr wrote:
  On Tue, 26 Apr 2011, Enlightenment SVN wrote:
  Log:
  some readme fun
 
  Author:       raster
  Date:         2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
  New Revision: 58922
  Trac:         http://trac.enlightenment.org/e/changeset/58922
 
  Modified:
   trunk/evas_generic_loaders/README
 
  Modified: trunk/evas_generic_loaders/README
  ===
  --- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev 58921)
  +++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev 58922)
  @@ -1,2 +1,27 @@
  Additional generic loaders for Evas that are stand-alone executables
  -evas may run from its generic loader module
  +evas may run from its generic loader module.
  +
  +Generic loaders currently provided:
  +
  +  XCF (.xcf .xcf.gz)
  +
  +Wanted:
  +
  +  RAW
  +    (libopenraw1 ??)
  +  PDF
  +    (use -key option to specific what page to get and load options for
  size
  +     and use poppler and/or mupdf - look at epdf)
  +  PS
  +    (use -key option to specific what page to get and load options for
  size
  +     and use ghostscript (libgs) to render etc.)
 
  what is the interest compared to eyesight/epdf/eps ?
 
 Complete integration with evas cache and preload infrastructure.
 Should be easier to maintain it.

actually the generic loader right now is single stage - no preload vs data.
its all load at once, so this means that it's going to be useless for async
preload until i change some of it. i just got it working, so give me a
breather. :) i got the first external loader working. :)

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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread Cedric BAIL
On Tue, Apr 26, 2011 at 10:02 AM, Vincent Torri vto...@univ-evry.fr wrote:
 On Tue, 26 Apr 2011, Cedric BAIL wrote:
 On Tue, Apr 26, 2011 at 9:54 AM, Vincent Torri vto...@univ-evry.fr
 wrote:

 On Tue, 26 Apr 2011, Enlightenment SVN wrote:

 Log:
 some readme fun

 Author:       raster
 Date:         2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
 New Revision: 58922
 Trac:         http://trac.enlightenment.org/e/changeset/58922

 Modified:
  trunk/evas_generic_loaders/README

 Modified: trunk/evas_generic_loaders/README
 ===
 --- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev
 58921)
 +++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev
 58922)
 @@ -1,2 +1,27 @@
 Additional generic loaders for Evas that are stand-alone executables
 -evas may run from its generic loader module
 +evas may run from its generic loader module.
 +
 +Generic loaders currently provided:
 +
 +  XCF (.xcf .xcf.gz)
 +
 +Wanted:
 +
 +  RAW
 +    (libopenraw1 ??)
 +  PDF
 +    (use -key option to specific what page to get and load options for
 size
 +     and use poppler and/or mupdf - look at epdf)
 +  PS
 +    (use -key option to specific what page to get and load options for
 size
 +     and use ghostscript (libgs) to render etc.)

 what is the interest compared to eyesight/epdf/eps ?

 Complete integration with evas cache and preload infrastructure.
 Should be easier to maintain it.

 so there is no interest to develop eyesight anymore

I may be wrong, but it would not be possible to expose all the
chapter, link, page, and other contextual information that a pdf/ps do
have. That why we still need eyesight (it would also provide the
binary that would load the pdf/ps stuff). It's a source of
simplification in my opinion, not a replacement.
-- 
Cedric BAIL

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas_generic_loaders

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 10:20:53 +0200 Cedric BAIL cedric.b...@free.fr said:

 On Tue, Apr 26, 2011 at 10:02 AM, Vincent Torri vto...@univ-evry.fr wrote:
  On Tue, 26 Apr 2011, Cedric BAIL wrote:
  On Tue, Apr 26, 2011 at 9:54 AM, Vincent Torri vto...@univ-evry.fr
  wrote:
 
  On Tue, 26 Apr 2011, Enlightenment SVN wrote:
 
  Log:
  some readme fun
 
  Author:       raster
  Date:         2011-04-26 00:46:01 -0700 (Tue, 26 Apr 2011)
  New Revision: 58922
  Trac:         http://trac.enlightenment.org/e/changeset/58922
 
  Modified:
   trunk/evas_generic_loaders/README
 
  Modified: trunk/evas_generic_loaders/README
  ===
  --- trunk/evas_generic_loaders/README 2011-04-26 07:29:30 UTC (rev
  58921)
  +++ trunk/evas_generic_loaders/README 2011-04-26 07:46:01 UTC (rev
  58922)
  @@ -1,2 +1,27 @@
  Additional generic loaders for Evas that are stand-alone executables
  -evas may run from its generic loader module
  +evas may run from its generic loader module.
  +
  +Generic loaders currently provided:
  +
  +  XCF (.xcf .xcf.gz)
  +
  +Wanted:
  +
  +  RAW
  +    (libopenraw1 ??)
  +  PDF
  +    (use -key option to specific what page to get and load options for
  size
  +     and use poppler and/or mupdf - look at epdf)
  +  PS
  +    (use -key option to specific what page to get and load options for
  size
  +     and use ghostscript (libgs) to render etc.)
 
  what is the interest compared to eyesight/epdf/eps ?
 
  Complete integration with evas cache and preload infrastructure.
  Should be easier to maintain it.
 
  so there is no interest to develop eyesight anymore
 
 I may be wrong, but it would not be possible to expose all the
 chapter, link, page, and other contextual information that a pdf/ps do
 have. That why we still need eyesight (it would also provide the
 binary that would load the pdf/ps stuff). It's a source of
 simplification in my opinion, not a replacement.

correct. the generic loader mechanism is not a replacement. it's a i want to
just load page x in the pdf and i am uninterested in yet another library and an
api to deal with as i need none of those features for just rendering a
THUMBNAIL of the pdf. for example. for doing a real  pdf viewer u need all the
info. bu no means meant to kill off or replace epdf and friends. BUT... people
need the ability to load a pdf as an image, and not make their generic i
display images app gpl because of it. they lose functionality (chapters,
links, references and other things) but gain simplistic functionality.

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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] composite problem

2011-04-26 Thread Mathieu Taillefumier

Hello,



have u tried gdb attaching to e - did it segv?
http://trac.enlightenment.org/e/wiki/Debugging


I might be able to help on this one. I also have right now a frozen 
desktop on my laptop while minimizing the firefox window (I am not sure 
that firefox is the guilty program here). Anyway, I did some preliminary 
backtrace (see the log file) and it seems that enlightenment is stuck 
because of a thread. I do not know if the problem comes from e or glibc 
though. For information, I am running with the composite extension and 
hardware acceleration on.


The lock is pretty random and I did not find any simple way to reproduce 
it so it will be difficult to track.


Cheers

Mathieu



hello developers

i discovered something wich is weird about that problem

you see ... when i opened the preferences in firefox , opera ,
chromium-browser

the problem appeared in that time



so i decided to tried to do the same things at the other applications

so

first i tried to do that on KDE App's and there is no problem

so I go to the GNOME App's and there is no problem

after that i decided to do it at E17 App's so I opened background manager
and when i changed the background

the problem appeared



its really an odd ISSUE

but i think our developers will not disappoint thier environment's users

sorry if i bothered them



best wishes to all of you
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel






#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x7f934d9625f2 in evas_cache_image_load_data (im=0x2b11db0) at 
evas_cache_image.c:1148
#2  0x7f934d98b14e in evas_common_rgba_image_scalecache_do (ie=0x2b11db0, 
dst=0x1732ca0, dc=0x2c28db0, smooth=1, src_region_x=0, src_region_y=0, 
src_region_w=128, src_region_h=128, dst_region_x=1, dst_region_y=8, 
dst_region_w=31, dst_region_h=31) at evas_image_scalecache.c:755
#3  0x7f933ddd09bd in eng_image_draw (data=value optimized out, 
context=0x2c28db0, surface=0x1732ca0, image=0x2b11db0, src_x=0, src_y=0, 
src_w=128, 
src_h=128, dst_x=1, dst_y=8, dst_w=31, dst_h=31, smooth=1) at 
evas_engine.c:535
#4  0x7f934d924881 in evas_object_image_render (obj=0x18ba340, 
output=0x2c28bc0, context=0x2c28db0, surface=0x1732ca0, x=-448, y=-240)
at evas_object_image.c:2590
#5  0x7f934d95634d in evas_render_mapped (e=0x2c28950, obj=0x18ba340, 
context=0x2c28db0, surface=0x1732ca0, off_x=-448, off_y=-240, mapped=0, ecx=0, 
ecy=0, ecw=382, ech=10) at evas_render.c:1039
#6  0x7f934d95a3d9 in evas_render_updates_internal (e=value optimized 
out, make_updates=1 '\001', do_draw=1 '\001') at evas_render.c:1356
#7  0x7f934d27fdf4 in _ecore_evas_x_render (ee=0x24cdd80) at 
ecore_evas_x.c:431
#8  0x7f934d27baa1 in _ecore_evas_idle_enter (data=value optimized out) 
at ecore_evas.c:47
#9  0x7f934d6d413b in _ecore_idle_enterer_call () at 
ecore_idle_enterer.c:146
#10 0x7f934d6d5605 in _ecore_main_loop_iterate_internal (once_only=0) at 
ecore_main.c:1414
#11 0x7f934d6d583f in ecore_main_loop_begin () at ecore_main.c:690
#12 0x0042f429 in main (argc=value optimized out, argv=value 
optimized out) at e_main.c:1134
#1  0x7f934d9625f2 in evas_cache_image_load_data (im=0x2b11db0) at 
evas_cache_image.c:1148
1148 pthread_cond_wait(cond_wakeup, wakeup);
$3 = {__data = {__lock = 0, __futex = 1, __total_seq = 1, __wakeup_seq = 0, 
__woken_seq = 0, __mutex = 0x7f934dbbc7c0, __nwaiters = 2, __broadcast_seq = 
0}, 
  __size = \000\000\000\000\001\000\000\000\001, '\000' repeats 22 
times\300, Ç»\223\177\000\000\002\000\000\000\000\000\000, __align = 
4294967296}
$4 = (pthread_cond_t *) 0x7f934dbbc740
$5 = (Eina_Lock *) 0x7f934dbbc7c0
$6 = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, 
__spins = 0, __list = {__prev = 0x0, __next = 0x0}}, 
  __size = '\000' repeats 39 times, __align = 0}
$7 = {__data = {__lock = 0, __futex = 1, __total_seq = 1, __wakeup_seq = 0, 
__woken_seq = 0, __mutex = 0x7f934dbbc7c0, __nwaiters = 2, __broadcast_seq = 
0}, 
  __size = \000\000\000\000\001\000\000\000\001, '\000' repeats 22 
times\300, Ç»\223\177\000\000\002\000\000\000\000\000\000, __align = 
4294967296}
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162 62: movl(%rsp), %edi
#1  0x7f934d9625f2 in evas_cache_image_load_data (im=0x2b11db0) at 
evas_cache_image.c:1148
1148

Re: [E-devel] enlightenment-devel Digest, Vol 60, Issue 110

2011-04-26 Thread المسالم المسالمة
 tried installing aclocal? :)



and how am i supposed to do that

if the web didn't has that package
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] composite problem

2011-04-26 Thread hannes.janet...@gmail.com
-- Forwarded message --
From: hannes.janet...@gmail.com hannes.janet...@googlemail.com
Date: 2011/4/26
Subject: Re: [E-devel] enlightenment-devel Digest, Vol 60, Issue 110
To: المسالم المسالمة almusalimalmusali...@gmail.com


2011/4/26 المسالم المسالمة almusalimalmusali...@gmail.com:
 tried installing aclocal? :)



 and how am i supposed to do that

 if the web didn't has that package

aclocal is part of automake. for building e17 see:
http://trac.enlightenment.org/e/wiki/Installation

BR

 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Jérémy Zurcher
Hi,
working on ffi-efl (https://github.com/jeremyz/ffi-efl),
regarding to what I seen in other evas engines,
Evas_Engine_buffer struct should be updated like this


--- src/modules/engines/buffer/Evas_Engine_Buffer.h.orig2011-04-26 
13:45:19.060124298 +0200
+++ src/modules/engines/buffer/Evas_Engine_Buffer.h 2011-04-26 
13:44:16.013799291 +0200
@@ -26,11 +26,11 @@
   int   color_key_r;
   int   color_key_g;
   int   color_key_b;
-  struct {
+   } info;
+   struct {
 void * (*new_update_region) (int x, int y, int w, int h, int 
*row_bytes);
 void   (*free_update_region) (int x, int y, int w, int h, void *data);
-  } func;
-   } info;
+   } func;
 
/* non-blocking or blocking mode */
Evas_Engine_Render_Mode render_mode;


--- src/modules/engines/buffer/evas_engine.c.orig   2011-04-26 
13:45:19.076790859 +0200
+++ src/modules/engines/buffer/evas_engine.c2011-04-26 13:44:10.613828629 
+0200
@@ -155,8 +155,8 @@
  info-info.color_key_r,
  info-info.color_key_g,
  info-info.color_key_b,
- info-info.func.new_update_region,
- info-info.func.free_update_region);
+ info-func.new_update_region,
+ info-func.free_update_region);
if (e-engine.data.output)
  eng_output_free(e-engine.data.output);
e-engine.data.output = re;

regards
Jérémy

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread RAJEEV RANJAN

   Hi All,

  I am planning to use elm_notify which provides a nice functionality for
   showing  alert message/important information on the screen.

   In addition to the existing functionalities, we need to have title support
   so that we can show the  title to the notify if needed.


   For this I am proposing following changes in the content part of Notify.

   Content == Title(optional) + Content + Action-area(optional)


   Action-area can hold button item(s) in the current content region of notify
   and on clicking on these, user will be notified

   and can handle the event in the callback, say hiding of the notify and/or
   doing some logic operations . This will enable to handle the action not only
   on blocked event area but to action area as well.

   User should be able to set new button items to action-area through API like
   [Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
   Evas_Object*button)].

   Please let me know about your valuable opinion on this as whether extending
   elm_notify for this functionality is a good idea.

   Thanks.

   Regards,

   Rajeev



   [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Atton Jonathan
hum.

Maybe you should create a new widget which use elm_notify ?

2011/4/26 RAJEEV RANJAN rajee...@samsung.com


   Hi All,

  I am planning to use elm_notify which provides a nice functionality
 for
   showing  alert message/important information on the screen.

   In addition to the existing functionalities, we need to have title
 support
   so that we can show the  title to the notify if needed.


   For this I am proposing following changes in the content part of Notify.

   Content == Title(optional) + Content + Action-area(optional)


   Action-area can hold button item(s) in the current content region of
 notify
   and on clicking on these, user will be notified

   and can handle the event in the callback, say hiding of the notify and/or
   doing some logic operations . This will enable to handle the action not
 only
   on blocked event area but to action area as well.

   User should be able to set new button items to action-area through API
 like
   [Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
   Evas_Object*button)].

   Please let me know about your valuable opinion on this as whether
 extending
   elm_notify for this functionality is a good idea.

   Thanks.

   Regards,

   Rajeev




 [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d

 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]

 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Regards.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Jérémy Zurcher
Second time that I respond to the author, not the mailinglist ... shame on me.

efl api directly exported to ruby ? yes, it's direct access to C external 
functions through ruby module functions

thanks to efl headers quality and consistency, efl function prototypes, 
structs, ...
are automaticaly extracted using a sed scripts collections ( pretty easy 
maintenance )

about the callbacks : ruby blocks or methods can be used as callbacks
- ecore_event specs  : 
https://github.com/jeremyz/ffi-efl/blob/master/spec/ecore_spec.rb
- smart_callback_add : 
https://github.com/jeremyz/ffi-efl/blob/master/test/test_elm_win_class.rb

about structs : everything seems to be possible as soon as you map the struct
- ecore_getopt structs mapping : 
https://github.com/jeremyz/ffi-efl/blob/master/lib/efl/ecore_getopt.rb
- ecore_getopt specs   : 
https://github.com/jeremyz/ffi-efl/blob/master/spec/ecore_getopt_spec.rb

as I discover ruby-ffi while coding, I can't say more about feeding a
struct with function pointers, but it doesn't look far from callback 
registration which works.

regards

On Monday 25 April 2011  14:35, Carsten Haitzler wrote :
 On Wed, 20 Apr 2011 16:21:52 +0200 Jérémy Zurcher jer...@asynk.ch said:
 
 hmm interesting. that looks pretty much like the efl api directly exported to
 ruby. callbacks work? what abotu some weird funcs that require u pass in a
 struct and fill it with content like func ptrs etc?
 
  Sorry I answered to Thomas but not to this list;
  
  about FFI : https://github.com/ffi/ffi
  
  DESRIPTION
  Ruby-FFI is a ruby extension for programmatically loading dynamic
  libraries, binding functions within them, and calling those functions
  from Ruby code.
  
  ffi-e17 has just been rename ffi-efl, so the links are
  
  http://cgit.asynk.ch/cgi-bin/cgit/ffi-efl/
  https://github.com/jeremyz/ffi-efl
  https://gitorious.org/ffi-efl
  rubyforge is not up yet
  
  --
  Benefiting from Server Virtualization: Beyond Initial Workload 
  Consolidation -- Increasing the use of server virtualization is a top
  priority.Virtualization can reduce costs, simplify management, and improve 
  application availability and disaster protection. Learn more about boosting 
  the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com
 

-- 
Jérémy Zurcher
av General Guisan 49
1400 Yverdon-les-bains
+41 (0) 79 599 84 27

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Daniel Juyung Seo
Something like elc_popup.c ?
I like that!

Thanks.
Daniel Juyung Seo (SeoZ)

On Tue, Apr 26, 2011 at 9:47 PM, Atton Jonathan jonathan.at...@gmail.comwrote:

 hum.

 Maybe you should create a new widget which use elm_notify ?

 2011/4/26 RAJEEV RANJAN rajee...@samsung.com

 
Hi All,
 
   I am planning to use elm_notify which provides a nice functionality
  for
showing  alert message/important information on the screen.
 
In addition to the existing functionalities, we need to have title
  support
so that we can show the  title to the notify if needed.
 
 
For this I am proposing following changes in the content part of
 Notify.
 
Content == Title(optional) + Content + Action-area(optional)
 
 
Action-area can hold button item(s) in the current content region of
  notify
and on clicking on these, user will be notified
 
and can handle the event in the callback, say hiding of the notify
 and/or
doing some logic operations . This will enable to handle the action not
  only
on blocked event area but to action area as well.
 
User should be able to set new button items to action-area through API
  like
[Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
Evas_Object*button)].
 
Please let me know about your valuable opinion on this as whether
  extending
elm_notify for this functionality is a good idea.
 
Thanks.
 
Regards,
 
Rajeev
 
 
 
 
 
 [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
 
 
 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
 
 
 --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 



 --
 Regards.

 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Atton Jonathan
yes or elc_dialog ?


2011/4/26 Daniel Juyung Seo seojuyu...@gmail.com

 Something like elc_popup.c ?
 I like that!

 Thanks.
 Daniel Juyung Seo (SeoZ)


 On Tue, Apr 26, 2011 at 9:47 PM, Atton Jonathan 
 jonathan.at...@gmail.comwrote:

 hum.

 Maybe you should create a new widget which use elm_notify ?

 2011/4/26 RAJEEV RANJAN rajee...@samsung.com

 
Hi All,
 
   I am planning to use elm_notify which provides a nice functionality
  for
showing  alert message/important information on the screen.
 
In addition to the existing functionalities, we need to have title
  support
so that we can show the  title to the notify if needed.
 
 
For this I am proposing following changes in the content part of
 Notify.
 
Content == Title(optional) + Content + Action-area(optional)
 
 
Action-area can hold button item(s) in the current content region of
  notify
and on clicking on these, user will be notified
 
and can handle the event in the callback, say hiding of the notify
 and/or
doing some logic operations . This will enable to handle the action
 not
  only
on blocked event area but to action area as well.
 
User should be able to set new button items to action-area through API
  like
[Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
Evas_Object*button)].
 
Please let me know about your valuable opinion on this as whether
  extending
elm_notify for this functionality is a good idea.
 
Thanks.
 
Regards,
 
Rajeev
 
 
 
 
 
 [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
 
 
 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
 
 
 --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 



 --
 Regards.

 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel





-- 
Regards.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Tom Hacohen
I don't think a new widget just for that is a good idea, why not just
create a different theme?

--
Tom.

On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote:
 hum.
 
 Maybe you should create a new widget which use elm_notify ?
 
 2011/4/26 RAJEEV RANJAN rajee...@samsung.com
 
 
Hi All,
 
   I am planning to use elm_notify which provides a nice functionality
  for
showing  alert message/important information on the screen.
 
In addition to the existing functionalities, we need to have title
  support
so that we can show the  title to the notify if needed.
 
 
For this I am proposing following changes in the content part of Notify.
 
Content == Title(optional) + Content + Action-area(optional)
 
 
Action-area can hold button item(s) in the current content region of
  notify
and on clicking on these, user will be notified
 
and can handle the event in the callback, say hiding of the notify and/or
doing some logic operations . This will enable to handle the action not
  only
on blocked event area but to action area as well.
 
User should be able to set new button items to action-area through API
  like
[Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
Evas_Object*button)].
 
Please let me know about your valuable opinion on this as whether
  extending
elm_notify for this functionality is a good idea.
 
Thanks.
 
Regards,
 
Rajeev
 
 
 
 
  [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
 
  123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
 
  --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Nicolas Aguirre
2011/4/26 Daniel Juyung Seo seojuyu...@gmail.com

 Something like elc_popup.c ?
 I like that!

 Thanks.
 Daniel Juyung Seo (SeoZ)



It would be usefull to have the popup/notify who displayed in his own window
whith an extra API. What do you think about it ?

IMO, ELM_Notify is the right place for it.


-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Atton Jonathan
no new windows :o I do no like it !

elm_notify can be use to do more than displaying a dialog windows, that's
why I think we should do it in a new widget.

2011/4/26 Nicolas Aguirre aguirre.nico...@gmail.com



 2011/4/26 Daniel Juyung Seo seojuyu...@gmail.com

 Something like elc_popup.c ?
 I like that!

 Thanks.
 Daniel Juyung Seo (SeoZ)



 It would be usefull to have the popup/notify who displayed in his own
 window whith an extra API. What do you think about it ?

 IMO, ELM_Notify is the right place for it.


 --
 Nicolas Aguirre
 Mail: aguirre.nico...@gmail.com
 Web: http://enna.geexbox.org
 Blog: http://dev.enlightenment.fr/~captainigloo/




-- 
Regards.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] enlightenment-devel Digest, Vol 60, Issue 110

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 14:09:35 +0300 المسالم المسالمة
almusalimalmusali...@gmail.com said:

  tried installing aclocal? :)
 
 
 
 and how am i supposed to do that
 
 if the web didn't has that package

it comes with automake :)

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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 14:50:28 +0200 Jérémy Zurcher jer...@asynk.ch said:

 Second time that I respond to the author, not the mailinglist ... shame on me.
 
 efl api directly exported to ruby ? yes, it's direct access to C external
 functions through ruby module functions
 
 thanks to efl headers quality and consistency, efl function prototypes,
 structs, ... are automaticaly extracted using a sed scripts collections
 ( pretty easy maintenance )

actually i'm glad to hear that. that we have some good level of consistency and
quality so this kind of thing is easy. it's taken years, but we're pretty much
there. i hope over the years to come EFL just gets better with more features,
better performance, safety, tools, documentation and more.

 about the callbacks : ruby blocks or methods can be used as callbacks
 - ecore_event specs  :
 https://github.com/jeremyz/ffi-efl/blob/master/spec/ecore_spec.rb
 - smart_callback_add :
 https://github.com/jeremyz/ffi-efl/blob/master/test/test_elm_win_class.rb
 
 about structs : everything seems to be possible as soon as you map the struct
 - ecore_getopt structs mapping :
 https://github.com/jeremyz/ffi-efl/blob/master/lib/efl/ecore_getopt.rb
 - ecore_getopt specs   :
 https://github.com/jeremyz/ffi-efl/blob/master/spec/ecore_getopt_spec.rb
 
 as I discover ruby-ffi while coding, I can't say more about feeding a
 struct with function pointers, but it doesn't look far from callback
 registration which works.

cool. :) glad that you can provide efl to ruby devs :)

 regards
 
 On Monday 25 April 2011  14:35, Carsten Haitzler wrote :
  On Wed, 20 Apr 2011 16:21:52 +0200 Jérémy Zurcher jer...@asynk.ch said:
  
  hmm interesting. that looks pretty much like the efl api directly exported
  to ruby. callbacks work? what abotu some weird funcs that require u pass in
  a struct and fill it with content like func ptrs etc?
  
   Sorry I answered to Thomas but not to this list;
   
   about FFI : https://github.com/ffi/ffi
   
   DESRIPTION
   Ruby-FFI is a ruby extension for programmatically loading dynamic
   libraries, binding functions within them, and calling those functions
   from Ruby code.
   
   ffi-e17 has just been rename ffi-efl, so the links are
   
   http://cgit.asynk.ch/cgi-bin/cgit/ffi-efl/
   https://github.com/jeremyz/ffi-efl
   https://gitorious.org/ffi-efl
   rubyforge is not up yet
   
   --
   Benefiting from Server Virtualization: Beyond Initial Workload 
   Consolidation -- Increasing the use of server virtualization is a top
   priority.Virtualization can reduce costs, simplify management, and
   improve application availability and disaster protection. Learn more
   about boosting the value of server virtualization.
   http://p.sf.net/sfu/vmware-sfdev2dev
   ___ enlightenment-devel
   mailing list enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
  
  
  -- 
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
  
 
 -- 
 Jérémy Zurcher
 av General Guisan 49
 1400 Yverdon-les-bains
 +41 (0) 79 599 84 27
 
 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network 
 management toolset available today.  Delivers lowest initial 
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 14:24:19 +0200 Jérémy Zurcher jer...@asynk.ch said:

though we value your patch and we always say send patches... we can't accept
that patch as it breaks api. we basically cannot break our api now we are 1.0 -
not until a 2.0 and we're not jumping right on that any time soon. it's
evolution for now, not revolution :)

 Hi,
 working on ffi-efl (https://github.com/jeremyz/ffi-efl),
 regarding to what I seen in other evas engines,
 Evas_Engine_buffer struct should be updated like this
 
 
 --- src/modules/engines/buffer/Evas_Engine_Buffer.h.orig  2011-04-26
 13:45:19.060124298 +0200 +++
 src/modules/engines/buffer/Evas_Engine_Buffer.h   2011-04-26
 13:44:16.013799291 +0200 @@ -26,11 +26,11 @@ int   color_key_r;
int   color_key_g;
int   color_key_b;
 -  struct {
 +   } info;
 +   struct {
void * (*new_update_region) (int x, int y, int w, int h, int
 *row_bytes); void   (*free_update_region) (int x, int y, int w, int h, void
 *data);
 -  } func;
 -   } info;
 +   } func;
  
 /* non-blocking or blocking mode */
 Evas_Engine_Render_Mode render_mode;
 
 
 --- src/modules/engines/buffer/evas_engine.c.orig 2011-04-26
 13:45:19.076790859 +0200 +++ src/modules/engines/buffer/evas_engine.c
 2011-04-26 13:44:10.613828629 +0200 @@ -155,8 +155,8 @@
 info-info.color_key_r,
 info-info.color_key_g,
 info-info.color_key_b,
 -   info-info.func.new_update_region,
 -   info-info.func.free_update_region);
 +   info-func.new_update_region,
 +   info-func.free_update_region);
 if (e-engine.data.output)
   eng_output_free(e-engine.data.output);
 e-engine.data.output = re;
 
 regards
 Jérémy
 
 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network 
 management toolset available today.  Delivers lowest initial 
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] composite problem

2011-04-26 Thread المسالم المسالمة
=

aclocal is part of automake. for building e17 see:
http://trac.enlightenment.org/e/wiki/Installation

=

will thank you

but the real problem here is

when i type ./autogen.sh

i got

=

Running aclocal...
./autogen.sh: line 6: aclocal: command not found

=

so how can i install aclocal
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Gustavo Sverzut Barbieri
On Tue, Apr 26, 2011 at 10:23 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Tue, 26 Apr 2011 14:24:19 +0200 Jérémy Zurcher jer...@asynk.ch said:

 though we value your patch and we always say send patches... we can't accept
 that patch as it breaks api. we basically cannot break our api now we are 1.0 
 -
 not until a 2.0 and we're not jumping right on that any time soon. it's
 evolution for now, not revolution :)

It's useless to expose such details, as we don't even write C code
that uses it. Just bind ecore_evas and you'll be fine.

Moreover, bindings should try to integrate nicely with environment,
not blindly write code. For example, never expose eina_list, use
Ruby's builtin list instead. Same for hash, stringshares and all.

Jérémy even mentioned Ecore_Getopt, which is a bad example given that
most high level languages have such thing nicely exposed... at least
it is the case with Python (that I used optparse as base to create
Ecore_Getopt).


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] composite problem

2011-04-26 Thread Cedric BAIL
2011/4/26 المسالم المسالمة almusalimalmusali...@gmail.com:
 =

 aclocal is part of automake. for building e17 see:
 http://trac.enlightenment.org/e/wiki/Installation

 =

 will thank you

 but the real problem here is

 when i type ./autogen.sh

 i got

 =

 Running aclocal...
 ./autogen.sh: line 6: aclocal: command not found

 =

 so how can i install aclocal

It's normaly provided by your linux distribution. Take a look at the
package list. apt-get install automake should do it on ubuntu for
example.
-- 
Cedric BAIL

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas

2011-04-26 Thread The Rasterman
On Tue, 26 Apr 2011 08:17:27 +0200 (CEST) Vincent Torri vto...@univ-evry.fr
said:

not my actual manual pages on a linux machine:

SHM_OPEN(3)Linux Programmer's Manual   SHM_OPEN(3)

NAME
   shm_open,  shm_unlink  -  Create/open  or  unlink  POSIX  shared memory
   objects

SYNOPSIS
   #include sys/mman.h
   #include sys/stat.h/* For mode constants */
   #include fcntl.h   /* For O_* constants */

   int shm_open(const char *name, int oflag, mode_t mode);

   int shm_unlink(const char *name);

   Link with -lrt.

DESCRIPTION
   shm_open() creates and opens a new, or opens an existing, POSIX  shared
   memory  object.   A  POSIX  shared  memory object is in effect a handle
   which can be used by unrelated processes to mmap(2) the same region  of
   shared  memory.  The shm_unlink() function performs the converse opera‐
   tion, removing an object previously created by shm_open().


 
 
 On Mon, 25 Apr 2011, Enlightenment SVN wrote:
 
  Log:
  use correct hdr in shm open check.
 
 
 
  Author:   raster
  Date: 2011-04-25 22:12:25 -0700 (Mon, 25 Apr 2011)
  New Revision: 58917
  Trac: http://trac.enlightenment.org/e/changeset/58917
 
  Modified:
   trunk/evas/configure.ac
 
  Modified: trunk/evas/configure.ac
  ===
  --- trunk/evas/configure.ac 2011-04-26 04:35:27 UTC (rev 58916)
  +++ trunk/evas/configure.ac 2011-04-26 05:12:25 UTC (rev 58917)
  @@ -484,7 +484,7 @@
  AC_LINK_IFELSE(
 [AC_LANG_PROGRAM(
[[
  -#include sys/types.h
  +#include sys/stat.h
  #include sys/mman.h
  #include fcntl.h
]],
 
 http://linux.die.net/man/3/shm_open
 
 Vincent
 
 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network 
 management toolset available today.  Delivers lowest initial 
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


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


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Tom Hacohen
That's even better.

On Tue, 2011-04-26 at 11:03 -0300, Bruno Dilly wrote:
 On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
 tom.haco...@partner.samsung.com wrote:
  I don't think a new widget just for that is a good idea, why not just
  create a different theme?
 
 Maybe it's not required. It will depends what is intended.
 
 Right now notify is designed the more generic way as possible: content
 is a swallow. So you can set any evas object you want, you can set a
 box with a title label, a description label, and how many buttons you
 want, or even better, you can set a elm_layout as content, and use a
 design more interesting than a box. Sure, you'll need a group for
 that, but it's up to your application.
 
 If you want to add these new parts to the widget theme, it can be
 done, but it will add complexity to all elementary themes and to the
 code that will need to be maintained. So before adding anything to the
 libs you should analyze if it's generic enough to be relevant.
 
 My 2 cents.
 
 
  --
  Tom.
 
  On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote:
  hum.
 
  Maybe you should create a new widget which use elm_notify ?
 
  2011/4/26 RAJEEV RANJAN rajee...@samsung.com
 
  
 Hi All,
  
I am planning to use elm_notify which provides a nice functionality
   for
 showing  alert message/important information on the screen.
  
 In addition to the existing functionalities, we need to have title
   support
 so that we can show the  title to the notify if needed.
  
  
 For this I am proposing following changes in the content part of 
   Notify.
  
 Content == Title(optional) + Content + Action-area(optional)
  
  
 Action-area can hold button item(s) in the current content region of
   notify
 and on clicking on these, user will be notified
  
 and can handle the event in the callback, say hiding of the notify 
   and/or
 doing some logic operations . This will enable to handle the action not
   only
 on blocked event area but to action area as well.
  
 User should be able to set new button items to action-area through API
   like
 [Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
 Evas_Object*button)].
  
 Please let me know about your valuable opinion on this as whether
   extending
 elm_notify for this functionality is a good idea.
  
 Thanks.
  
 Regards,
  
 Rajeev
  
  
  
  
   [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
  
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
 cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
  
   --
   WhatsUp Gold - Download Free Network Management Software
   The most intuitive, comprehensive, and cost-effective network
   management toolset available today.  Delivers lowest initial
   acquisition cost and overall TCO of any competing solution.
   http://p.sf.net/sfu/whatsupgold-sd
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 
 
 
 
  --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Bruno Dilly
On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
tom.haco...@partner.samsung.com wrote:
 I don't think a new widget just for that is a good idea, why not just
 create a different theme?

Maybe it's not required. It will depends what is intended.

Right now notify is designed the more generic way as possible: content
is a swallow. So you can set any evas object you want, you can set a
box with a title label, a description label, and how many buttons you
want, or even better, you can set a elm_layout as content, and use a
design more interesting than a box. Sure, you'll need a group for
that, but it's up to your application.

If you want to add these new parts to the widget theme, it can be
done, but it will add complexity to all elementary themes and to the
code that will need to be maintained. So before adding anything to the
libs you should analyze if it's generic enough to be relevant.

My 2 cents.


 --
 Tom.

 On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote:
 hum.

 Maybe you should create a new widget which use elm_notify ?

 2011/4/26 RAJEEV RANJAN rajee...@samsung.com

 
    Hi All,
 
       I am planning to use elm_notify which provides a nice functionality
  for
    showing  alert message/important information on the screen.
 
    In addition to the existing functionalities, we need to have title
  support
    so that we can show the  title to the notify if needed.
 
 
    For this I am proposing following changes in the content part of Notify.
 
    Content == Title(optional) + Content + Action-area(optional)
 
 
    Action-area can hold button item(s) in the current content region of
  notify
    and on clicking on these, user will be notified
 
    and can handle the event in the callback, say hiding of the notify and/or
    doing some logic operations . This will enable to handle the action not
  only
    on blocked event area but to action area as well.
 
    User should be able to set new button items to action-area through API
  like
    [Evas_Object *elm_notify_action_area_button_add(Evas_Object* notify,
    Evas_Object*button)].
 
    Please let me know about your valuable opinion on this as whether
  extending
    elm_notify for this functionality is a good idea.
 
    Thanks.
 
    Regards,
 
    Rajeev
 
 
 
 
  [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
 
  123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
    cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
 
  --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Nicolas Aguirre
2011/4/26 Bruno Dilly bdi...@profusion.mobi

 On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
 tom.haco...@partner.samsung.com wrote:
  I don't think a new widget just for that is a good idea, why not just
  create a different theme?

 Maybe it's not required. It will depends what is intended.

 Right now notify is designed the more generic way as possible: content
 is a swallow. So you can set any evas object you want, you can set a
 box with a title label, a description label, and how many buttons you
 want, or even better, you can set a elm_layout as content, and use a
 design more interesting than a box. Sure, you'll need a group for
 that, but it's up to your application.

 If you want to add these new parts to the widget theme, it can be
 done, but it will add complexity to all elementary themes and to the
 code that will need to be maintained. So before adding anything to the
 libs you should analyze if it's generic enough to be relevant.

 My 2 cents.



I agree with Bruno !
And what I propose earlier is a non sense, if we want external popup outside
the current window, it's just a matter of use e_dbus_notify to send the
notification via dbus.


-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread ChunEon Park
 
it could be done with elc_popup(or elc_dialogue) anyway. 
But we will have to maintain one more widget
and there will be similar API set in Elementary.h.in, 
 
So, I prefer to extend elm_notify if those requirements are really basic/normal 
case. 
 
Thanks. 
 
---
Let's run together for the best moment!
-Regards, Hermet-
 
-Original Message-
From: Nicolas Aguirrelt;aguirre.nico...@gmail.comgt; 
To: Bruno Dillylt;bdi...@profusion.mobigt;
Cc: 
enlightenment-devel@lists.sourceforge.netlt;enlightenment-devel@lists.sourceforge.netgt;;
 rajee...@samsung.com
Sent: 11-04-26(화) 23:17:33
Subject: Re: [E-devel] Proposal on extending elm_notify functionalities for 
having title support2011/4/26 Bruno Dilly lt;bdi...@profusion.mobigt;
 On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
 lt;tom.haco...@partner.samsung.comgt; wrote:
  I don't think a new widget just for that is a good idea, why not just
  create a different theme?

 Maybe it's not required. It will depends what is intended.

 Right now notify is designed the more generic way as possible: content
 is a swallow. So you can set any evas object you want, you can set a
 box with a title label, a description label, and how many buttons you
 want, or even better, you can set a elm_layout as content, and use a
 design more interesting than a box. Sure, you'll need a group for
 that, but it's up to your application.

 If you want to add these new parts to the widget theme, it can be
 done, but it will add complexity to all elementary themes and to the
 code that will need to be maintained. So before adding anything to the
 libs you should analyze if it's generic enough to be relevant.

 My 2 cents.



I agree with Bruno !
And what I propose earlier is a non sense, if we want external popup outside
the current window, it's just a matter of use e_dbus_notify to send the
notification via dbus.
-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today. Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread Daniel Juyung Seo
 adding anything to the libs you should analyze if it's generic enough to
be relevant.

Very important!
2 cents are not enough for this :)
Don't know this joke is working :)

Daniel Juyung Seo (SeoZ)


On Tue, Apr 26, 2011 at 11:03 PM, Bruno Dilly bdi...@profusion.mobi wrote:

 On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
 tom.haco...@partner.samsung.com wrote:
  I don't think a new widget just for that is a good idea, why not just
  create a different theme?

 Maybe it's not required. It will depends what is intended.

 Right now notify is designed the more generic way as possible: content
 is a swallow. So you can set any evas object you want, you can set a
 box with a title label, a description label, and how many buttons you
 want, or even better, you can set a elm_layout as content, and use a
 design more interesting than a box. Sure, you'll need a group for
 that, but it's up to your application.

 If you want to add these new parts to the widget theme, it can be
 done, but it will add complexity to all elementary themes and to the
 code that will need to be maintained. So before adding anything to the
 libs you should analyze if it's generic enough to be relevant.

 My 2 cents.

 
  --
  Tom.
 
  On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote:
  hum.
 
  Maybe you should create a new widget which use elm_notify ?
 
  2011/4/26 RAJEEV RANJAN rajee...@samsung.com
 
  
 Hi All,
  
I am planning to use elm_notify which provides a nice
 functionality
   for
 showing  alert message/important information on the screen.
  
 In addition to the existing functionalities, we need to have title
   support
 so that we can show the  title to the notify if needed.
  
  
 For this I am proposing following changes in the content part of
 Notify.
  
 Content == Title(optional) + Content + Action-area(optional)
  
  
 Action-area can hold button item(s) in the current content region of
   notify
 and on clicking on these, user will be notified
  
 and can handle the event in the callback, say hiding of the notify
 and/or
 doing some logic operations . This will enable to handle the action
 not
   only
 on blocked event area but to action area as well.
  
 User should be able to set new button items to action-area through
 API
   like
 [Evas_Object *elm_notify_action_area_button_add(Evas_Object*
 notify,
 Evas_Object*button)].
  
 Please let me know about your valuable opinion on this as whether
   extending
 elm_notify for this functionality is a good idea.
  
 Thanks.
  
 Regards,
  
 Rajeev
  
  
  
  
  
 [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
  
  
 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
 cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
  
  
 --
   WhatsUp Gold - Download Free Network Management Software
   The most intuitive, comprehensive, and cost-effective network
   management toolset available today.  Delivers lowest initial
   acquisition cost and overall TCO of any competing solution.
   http://p.sf.net/sfu/whatsupgold-sd
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 
 
 
 
 
 --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network
  management toolset available today.  Delivers lowest initial
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list

[E-devel] e16-1.0.8

2011-04-26 Thread Kim Woelders
e16-1.0.8 is available for download:
http://sourceforge.net/projects/enlightenment/files/

e16-1.0.8:
- Fix missing synthetic ConfigureNotify when doing simultaneous
   move and resize.
- Update _NET_WORKAREA when screen size changes.
- Reset maximised state on move as well as on resize.
- Add command (desk back) to go back to previous active desktop.
- Fix trouble around initially iconified windows and manual placement.
- Add options to ignore struts when maximising/fullscreening.
- Improve window maximisation (independent horizontal/vertical
   size control).
- Fix windows sometimes not being placed in unoccupied areas.
- Fix selection of next focus window when iconifying a window.
- Translation updates: pt.

/Kim

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Jérémy Zurcher
Hi Gustavo

On Tuesday 26 April 2011  10:37, Gustavo Sverzut Barbieri wrote :
 
 It's useless to expose such details, as we don't even write C code
 that uses it. Just bind ecore_evas and you'll be fine.
yeah right, please don't be reductive
enlightenment.org says Evas is a canvas display library, state aware ...
I'm sure you know what we are talking about.
assume I want to write a game, or an animated graph library,
can I code and ruby and chose my tools ?
 
 Moreover, bindings should try to integrate nicely with environment,
 not blindly write code. For example, never expose eina_list, use
 Ruby's builtin list instead. Same for hash, stringshares and all.
integrate nicely is the goal, wait a little bit more it's 0.0.2 now.
blindly write code ... Hallelujah I see again !
FFI philosophy is to access C API AS IS and to access it
through ruby code, so it is portable between ruby VM implementations
(MRI,JRuby,rubinius,...) if you want to use ruby array instead of
eina_list you'll have to write C code to glue them together which is
another type of project.
 
 Jérémy even mentioned Ecore_Getopt, which is a bad example given that
 most high level languages have such thing nicely exposed... at least
 it is the case with Python (that I used optparse as base to create
 Ecore_Getopt).
once again use what you want, some might even prefer getopt(3) than Evas_Getopt 
?!?!
btw Evas_Getopt was an exercice for me as it's the first time I use ruby-ffi
and it was an excellent one to test struct mapping!

so shall I continue to expose the whole efl stack so people can access efl full 
power
or must I only expose the elementary top level widgets so one can write
GUI for it's mobile phone ??

regards

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] els_scroller default wheel control

2011-04-26 Thread sangho park
Dear all,

this patch is for enable / disable the default els_scroller's wheel control.

when I use elm_map, map's default wheel control means zoom in / out.
so enable / disable els_scroller's default wheel control feature is needed.

map is also needed enable / disable default wheel control.
if you review this patch, I'll apply elm_map at next time.

Thanks.
BR.
Index: elementary/src/lib/els_scroller.h
===
--- elementary/src/lib/els_scroller.h	(리비전 58940)
+++ elementary/src/lib/els_scroller.h	(작업 사본)
@@ -38,3 +38,5 @@ Eina_Bool elm_smart_scroller_momentum_animator_dis
 void elm_smart_scroller_momentum_animator_disabled_set (Evas_Object *obj, Eina_Bool disabled);
 void elm_smart_scroller_bounce_animator_disabled_set   (Evas_Object *obj, Eina_Bool disabled);
 Eina_Bool elm_smart_scroller_bounce_animator_disabled_get (Evas_Object *obj);
+void elm_smart_scroller_wheel_disabled_set  (Evas_Object *obj, Eina_Bool disabled);
+Eina_Bool elm_smart_scroller_wheel_disabled_get (const Evas_Object *obj);
Index: elementary/src/lib/els_scroller.c
===
--- elementary/src/lib/els_scroller.c	(리비전 58940)
+++ elementary/src/lib/els_scroller.c	(작업 사본)
@@ -104,6 +104,7 @@ struct _Smart_Data
unsigned char bounce_vert : 1;
unsigned char momentum_animator_disabled :1;
unsigned char bounce_animator_disabled :1;
+   unsigned char wheel_disabled : 1;
Eina_Bool is_mirrored : 1;
 };
 
@@ -335,6 +336,24 @@ elm_smart_scroller_bounce_animator_disabled_get(Ev
 }
 
 void
+elm_smart_scroller_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+{
+   API_ENTRY return;
+   if ((!sd-wheel_disabled)  (disabled))
+ evas_object_event_callback_del_full(sd-event_obj, EVAS_CALLBACK_MOUSE_WHEEL, _smart_event_wheel, sd);
+   else if ((sd-wheel_disabled)  (!disabled))
+ evas_object_event_callback_add(sd-event_obj, EVAS_CALLBACK_MOUSE_WHEEL, _smart_event_wheel, sd);
+   sd-wheel_disabled = disabled;
+}
+
+Eina_Bool
+elm_smart_scroller_wheel_disabled_get(const Evas_Object *obj)
+{
+   API_ENTRY return EINA_FALSE;
+   return sd-wheel_disabled;
+}
+
+void
 elm_smart_scroller_bounce_animator_disabled_set(Evas_Object *obj, Eina_Bool disabled)
 {
API_ENTRY return;
@@ -2551,6 +2570,7 @@ _smart_add(Evas_Object *obj)
sd-one_dir_at_a_time = 1;
sd-momentum_animator_disabled = 0;
sd-bounce_animator_disabled = 0;
+   sd-wheel_disabled = 0;
 
o = edje_object_add(evas_object_evas_get(obj));
evas_object_propagate_events_set(o, 0);
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Gustavo Sverzut Barbieri
On Tue, Apr 26, 2011 at 8:09 PM, Jérémy Zurcher jer...@asynk.ch wrote:
 Hi Gustavo

 On Tuesday 26 April 2011  10:37, Gustavo Sverzut Barbieri wrote :

 It's useless to expose such details, as we don't even write C code
 that uses it. Just bind ecore_evas and you'll be fine.
 yeah right, please don't be reductive
 enlightenment.org says Evas is a canvas display library, state aware ...
 I'm sure you know what we are talking about.
 assume I want to write a game, or an animated graph library,
 can I code and ruby and chose my tools ?

In very rare cases you'll create the Evas* with evas itself. Often
what you use is ecore_evas_new() then get the Evas* with
ecore_evas_get(). The functions you and raster mentioned are useless
for 99.% of the code, as it's already done inside Ecore_Evas
itself.


 Moreover, bindings should try to integrate nicely with environment,
 not blindly write code. For example, never expose eina_list, use
 Ruby's builtin list instead. Same for hash, stringshares and all.
 integrate nicely is the goal, wait a little bit more it's 0.0.2 now.
 blindly write code ... Hallelujah I see again !
 FFI philosophy is to access C API AS IS and to access it
 through ruby code, so it is portable between ruby VM implementations
 (MRI,JRuby,rubinius,...) if you want to use ruby array instead of
 eina_list you'll have to write C code to glue them together which is
 another type of project.

Do it. It is really, really annoying to get Eina_List from a language
that have builtin list types, such as JavaScript, Python or Ruby.


 Jérémy even mentioned Ecore_Getopt, which is a bad example given that
 most high level languages have such thing nicely exposed... at least
 it is the case with Python (that I used optparse as base to create
 Ecore_Getopt).
 once again use what you want, some might even prefer getopt(3) than 
 Evas_Getopt ?!?!
 btw Evas_Getopt was an exercice for me as it's the first time I use ruby-ffi
 and it was an excellent one to test struct mapping!

Forget about it and do something more useful, Elementary is a good start.

Ecore_Getopt is more powerful than regular getopt as it will do type
parsing (bool, int, string, lists) as well as generate help output.
But most highlevel languages provide something like this. I don't know
about Ruby, but it may have something equivalent to Python's optparse
(again, I translated Python's optparse to C and it's Ecore_Getopt).


 so shall I continue to expose the whole efl stack so people can access efl 
 full power
 or must I only expose the elementary top level widgets so one can write
 GUI for it's mobile phone ??

The level should be Elementary - Evas - Ecore - Edje. But be
selective about evas, you first need basic Evas_Object* manipulation,
like 
evas_object_{move,resize,del,show,hide,clip_set,clip_unset,color_set,color_get,geometry_get,visible_get...}.
Then some very-often used objects like (in order) rectangle, image,
text... you likely will never use textblock from Ruby, as it's so
complex it's better to use it from Edje/Elementary.  Ecore you first
need some main loop operations like ecore_timer_*, ecore_animator_*,
ecore_idler_*...  Then some ecore_evas (but most of it is handled
inside elm_win_add()). Edje is simple and useful, but many functions
are already covered by elementary wrappers in elm_layout.

Also, note that some functions are not actually functions but
static-inline or macros, you should expose those as well.

And last but not least, try to provide common Ruby constructions with
EFL, so Ruby developers will feel comfortable. In Python we did a
C-like version (obj.color_set(r, g, b, a)) and a Pythonic version
(obj.color = (r, g, b, a)), as well as helpers like obj.center and
similar.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ruby ffi binding

2011-04-26 Thread Jérémy Zurcher
On Tuesday 26 April 2011  21:55, Gustavo Sverzut Barbieri wrote :
 On Tue, Apr 26, 2011 at 8:09 PM, Jérémy Zurcher jer...@asynk.ch wrote:
  Hi Gustavo
 
  On Tuesday 26 April 2011  10:37, Gustavo Sverzut Barbieri wrote :
 
  It's useless to expose such details, as we don't even write C code
  that uses it. Just bind ecore_evas and you'll be fine.
  yeah right, please don't be reductive
  enlightenment.org says Evas is a canvas display library, state aware ...
  I'm sure you know what we are talking about.
  assume I want to write a game, or an animated graph library,
  can I code and ruby and chose my tools ?
 
 In very rare cases you'll create the Evas* with evas itself. Often
 what you use is ecore_evas_new() then get the Evas* with
 ecore_evas_get(). The functions you and raster mentioned are useless
 for 99.% of the code, as it's already done inside Ecore_Evas
 itself.
rare cases exists, as long as the code is working and easy to maintain,
what's so wrong ?? btw as syntax trial, I wanted to rewrite the example
http://docs.enlightenment.org/auto/evas/ so I needed an Evas_Engine_Buffer_Info
mapping, end of the story.
 
 
  Moreover, bindings should try to integrate nicely with environment,
  not blindly write code. For example, never expose eina_list, use
  Ruby's builtin list instead. Same for hash, stringshares and all.
  integrate nicely is the goal, wait a little bit more it's 0.0.2 now.
  blindly write code ... Hallelujah I see again !
  FFI philosophy is to access C API AS IS and to access it
  through ruby code, so it is portable between ruby VM implementations
  (MRI,JRuby,rubinius,...) if you want to use ruby array instead of
  eina_list you'll have to write C code to glue them together which is
  another type of project.
 
 Do it. It is really, really annoying to get Eina_List from a language
 that have builtin list types, such as JavaScript, Python or Ruby.
have you seen any implementation of Eina_List, Eina_Hash or something in
ffi-efl, wait till there's something wrong, then you'll be able to say
whatever you want and I'll carefully listen.
 
 
  Jérémy even mentioned Ecore_Getopt, which is a bad example given that
  most high level languages have such thing nicely exposed... at least
  it is the case with Python (that I used optparse as base to create
  Ecore_Getopt).
  once again use what you want, some might even prefer getopt(3) than 
  Evas_Getopt ?!?!
  btw Evas_Getopt was an exercice for me as it's the first time I use ruby-ffi
  and it was an excellent one to test struct mapping!
 
 Forget about it and do something more useful, Elementary is a good start.
learning is never a waste of time.
and as I see it now, ffi-efl won't need Elm_* struct mapping soon.
 
 Ecore_Getopt is more powerful than regular getopt as it will do type
 parsing (bool, int, string, lists) as well as generate help output.
 But most highlevel languages provide something like this. I don't know
 about Ruby, but it may have something equivalent to Python's optparse
 (again, I translated Python's optparse to C and it's Ecore_Getopt).
I known about python, ruby and more, thanks. once again it's
working in a rubiish way, and is mainly for test purpose, so what's all that 
about ?
 
  so shall I continue to expose the whole efl stack so people can access efl 
  full power
  or must I only expose the elementary top level widgets so one can write
  GUI for it's mobile phone ??

 The level should be Elementary - Evas - Ecore - Edje. But be
 selective about evas, you first need basic Evas_Object* manipulation,
 like 
 evas_object_{move,resize,del,show,hide,clip_set,clip_unset,color_set,color_get,geometry_get,visible_get...}.
already done in 0.0.2, did you looked at
https://github.com/jeremyz/ffi-efl/blob/master/test/test_elm_win_class.rb
did you read and understand the method_missing in
https://github.com/jeremyz/ffi-efl/blob/master/lib/efl/ffi.rb
 Then some very-often used objects like (in order) rectangle, image,
 text... you likely will never use textblock from Ruby, as it's so
created with Evas_Object *(evas_object_(rectangle|image|text)_add(Evas *e)
so I first wrote classes for the common parts : Evas and Evas_Object
 complex it's better to use it from Edje/Elementary.  Ecore you first
 need some main loop operations like ecore_timer_*, ecore_animator_*,
 ecore_idler_*...  Then some ecore_evas (but most of it is handled
 inside elm_win_add()). Edje is simple and useful, but many functions
 are already covered by elementary wrappers in elm_layout.
what you use or not, what you like or dislike ( I quit python years
ago because I thought that amongs other using indentation as syntax
structuration was very wrong ... people still use it )
 
 Also, note that some functions are not actually functions but
 static-inline or macros, you should expose those as well.
... thanks a lot ??? note that it's ffi-efl 0.0.2
 
 And last but not least, try to provide common Ruby constructions with
 EFL, so Ruby developers will