Re: [E-devel] E SVN: raster trunk/ecore/src/lib/ecore_file

2011-01-28 Thread Vincent Torri


On Thu, 27 Jan 2011, Enlightenment SVN wrote:

 Log:
 fix documentation so vtorri can write a correct example :)



 Author:   raster
 Date: 2011-01-27 19:00:48 -0800 (Thu, 27 Jan 2011)
 New Revision: 56340
 Trac: http://trac.enlightenment.org/e/changeset/56340

 Modified:
  trunk/ecore/src/lib/ecore_file/ecore_file_download.c

 Modified: trunk/ecore/src/lib/ecore_file/ecore_file_download.c
 ===
 --- trunk/ecore/src/lib/ecore_file/ecore_file_download.c  2011-01-28 
 02:46:27 UTC (rev 56339)
 +++ trunk/ecore/src/lib/ecore_file/ecore_file_download.c  2011-01-28 
 03:00:48 UTC (rev 56340)
 @@ -104,12 +104,13 @@
  * will be filled with the status of the download (200, 404,...). The
  * @p progress_cb is called during the download operation, each time a
  * packet is received or when CURL wants. It can be used to display the
 - * percentage of the downloaded file. The only operations that can be
 - * aborted are those with protocol 'http' or 'ftp'. In that case @p job_ret
 - * can be filled. It can be used with ecore_file_download_abort() or
 - * ecore_file_download_abort_all() to respectively abort one or all
 - * download operations. This function returns EINA_TRUE if the
 - * download starts, EINA_FALSE otherwise.
 + * percentage of the downloaded file. Return 0 from this callback if provided
 + * to continue the operation or anything else to abort the download. The only
 + * operations that can be aborted are those with protocol 'http' or 'ftp'. In
 + * that case @p job_ret can be filled. It can be used with
 + * ecore_file_download_abort() or ecore_file_download_abort_all() to
 + * respectively abort one or all download operations. This function returns
 + * EINA_TRUE if the download starts, EINA_FALSE otherwise.

exactly, I didn't know what to do. But it's exactly the contrary to ecore 
events, where we return 1 to continue and 0 to stop.

Note that it would be nice to add that to the typedef documentation too.

Vincent

  */
 EAPI Eina_Bool
 ecore_file_download(const char *url,


 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/ecore/src/lib/ecore_file

2011-01-28 Thread Dave Andreoli
2011/1/28 Enlightenment SVN no-re...@enlightenment.org:
 Log:
 fix documentation so vtorri can write a correct example :)

I also made the example with the wrong return value, the reason
for the error is that this callback is not consistent with the rest of
the API, you should use the define:
ECORE_CALLBACK_RENEW = EINA_TRUE
ECORE_CALLBACK_CANCEL = EINA_FALSE

but they are wrong for this callback :(
maybe we should add 2 new define ??
ECORE_DOWNLOAD_CONTINUE = 0
ECORE_DOWNLOAD_ABORT = 1


Also  the doc say that the status param of the complete_cb
(that is an int) shoud contain the http error:

from the doc: status will be filled with the status of the download
(200, 404,...)

I never see the function return nothing different from 0 or 1, is
the doc wrong?

DaveMDS




 Author:       raster
 Date:         2011-01-27 19:00:48 -0800 (Thu, 27 Jan 2011)
 New Revision: 56340
 Trac:         http://trac.enlightenment.org/e/changeset/56340

 Modified:
  trunk/ecore/src/lib/ecore_file/ecore_file_download.c

 Modified: trunk/ecore/src/lib/ecore_file/ecore_file_download.c
 ===
 --- trunk/ecore/src/lib/ecore_file/ecore_file_download.c        2011-01-28 
 02:46:27 UTC (rev 56339)
 +++ trunk/ecore/src/lib/ecore_file/ecore_file_download.c        2011-01-28 
 03:00:48 UTC (rev 56340)
 @@ -104,12 +104,13 @@
  * will be filled with the status of the download (200, 404,...). The
  * @p progress_cb is called during the download operation, each time a
  * packet is received or when CURL wants. It can be used to display the
 - * percentage of the downloaded file. The only operations that can be
 - * aborted are those with protocol 'http' or 'ftp'. In that case @p job_ret
 - * can be filled. It can be used with ecore_file_download_abort() or
 - * ecore_file_download_abort_all() to respectively abort one or all
 - * download operations. This function returns EINA_TRUE if the
 - * download starts, EINA_FALSE otherwise.
 + * percentage of the downloaded file. Return 0 from this callback if provided
 + * to continue the operation or anything else to abort the download. The only
 + * operations that can be aborted are those with protocol 'http' or 'ftp'. In
 + * that case @p job_ret can be filled. It can be used with
 + * ecore_file_download_abort() or ecore_file_download_abort_all() to
 + * respectively abort one or all download operations. This function returns
 + * EINA_TRUE if the download starts, EINA_FALSE otherwise.
  */
  EAPI Eina_Bool
  ecore_file_download(const char *url,





 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread Vincent Torri


On Fri, 28 Jan 2011, Carsten Haitzler (The Rasterman) wrote:

 On Thu, 27 Jan 2011 20:14:04 +0100 (CET) Vincent Torri vto...@univ-evry.fr
 said:

 well first.. discomiftors patch/change did kill progress callbacks. i made 
 them
 work again now. and to add to that your example below is wrong. progress cb
 should return 0 if it wants to keep going - return != 0 to abort the download 
 :)

from your comment on irc about the progress callback:

raster in that it returns 1
raster which aborts the download

and from the doc:

The only operations that can be aborted are those with protocol 'http' or 
'ftp'. In that case @p job_ret can be filled. It can be used with 
ecore_file_download_abort() or ecore_file_download_abort_all() to 
respectively abort one or all download operations.

So which one is correct ? If returning 0 for a callback that is used to 
display *informations* aborts the download, then for me it's a design 
error.

Vincent

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] fix python-e* build issue with newer cython

2011-01-28 Thread Sachiel
2011/1/28 Mike Blumenkrantz m...@zentific.com:
 On Fri, 28 Jan 2011 13:34:01 +0800
 P Purkayastha ppu...@gmail.com wrote:

 On Fri, 28 Jan 2011 09:36:43 +0800, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:

  On Thursday, January 27, 2011, David Seikel onef...@gmail.com wrote:
  On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut ma...@mecka.net wrote:
 
  due to recent API changes in cython [0] the python-efl bindings won't
  build with the next cython release.
 
  The attached patches are fixing this issue. Please apply them to svn.
 
  My problem is that they wont compile under the long term stable
  ubuntu.  Simply coz the version of cython there is not bleeding edge
  enough.  long term stable is usually not bleeding edge, and should
  never be for good reasons.  I don't want blood on my computer.
 
  And you use efl from svn? ROTFL

 In my experience (as user), it is very safe to use efl from svn. Way safer
 than the stable releases of many other projects :)
 You must get lucky and not pull right after my commits.


That's called being subscribed to the commit mailing list, not luck.

 --
 Mike Blumenkrantz
 Zentific: NULL pointer dereferences now 50% off!

 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] editje installation

2011-01-28 Thread François Manchon
Hi Danny,

 

Many thanks for your suggestion.  I did this:



sudo ln –s /usr/local/include/python2.6/evas /usr/include/python2.6 

export pp=$PYTHONPATH:/usr/local/lib/python2.6/site-packages

sudo PYTHONPATH=$pp ./build-all.sh --prefix=/usr/local

 

Now the build process completes successfully for all python-e* modules :-)

 

When I try to run the editje-bin I get the following error:

 

  ImportError: libevas.so.1: cannot open shared object file: No such file 
or directory

 

I have /usr/local/lib/libevas.so installed and other evas applications work 
fine, so I am stuck again :-(

 

Any idea what’s wrong?

 

Sincerely,

 

François

 

 

 

De : Иван Сусанин [mailto:susa...@gmail.com] 
Envoyé : Thursday, January 27, 2011 10:42
À : fmanc...@web2tel.net
Cc : Daniel Juyung Seo; enlightenment-devel@lists.sourceforge.net
Objet : Re: [E-devel] editje installation

 

Hi,

actually, to make things simple, i installing whole E family into /opt/e17.
Then all libraries and related stuff going there. Look at this autogen 
invocation:

LD_LIBRARY_PATH=/opt/e17/lib:$LD_LIBRARY_PATH \
PYTHONPATH=$PYTHONPATH:/opt/e17/lib/python2.6/site-packages \
PATH=/opt/e17/bin:$PATH \
PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH \
./autogen.sh --prefix=/opt/e17

Now, in your situation, find where you installed e17 python* stuff, and set it 
in  PYTHONPATH variable before autogen script.

Hope that helps.

Thanks,
Danny

2011/1/27  mailto:fmanc...@web2tel.net fmanc...@web2tel.net

Иван Сусанин  mailto:susa...@gmail.com susa...@gmail.com a écrit :

 

only thing i'm found on my system related to python and distribute its
python-setuptools,
looks like you missing python-setuptools, try to install one :)

 

Good point Danny!  python-setuptools was missing.  I am now getting further 
into the build process. However, it still fails with lots of error messages.  
The one copied below happens several times.

Any other suggestion?

   François

::
/tmp/python-ecore.err
::
Error converting Pyrex file to C:
cimport evas.c_evas
 ^
include/ecore/evas/c_ecore_evas.pxd:18:8: 'evas.c_evas.pxd' not found



 

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Is it possible to make elm_scroller always show an item?

2011-01-28 Thread Brian Wang
Hello all,

The widgets are:
an elm_scroller contains an elm_box, which packs a list of elm_entry objects.

Loading a long list of elm_entries (100+) is somehow slow on my device
and the user may skip to the very end of the list.
Therefore, to improve responsiveness, when the user skips to a
particular entry, that entry is loaded immediately and the ones below
are loaded subsequently in an idler.
There is an entry populating idler that will later pack the remaining
elm_entries above the entry being viewed.  However, when the ones
above the currently viewed entry are getting packed into the elm_box,
the entry being viewed will be pushed down and go off screen.

Is there a way to maintain the viewport of the scroller, or fix the
viewport on a particular object?  Or there's a better way of handling
this?

Thanks in advance.


brian

-- 
brian
--

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread The Rasterman
On Fri, 28 Jan 2011 09:11:14 +0100 (CET) Vincent Torri vto...@univ-evry.fr
said:

 
 
 On Fri, 28 Jan 2011, Carsten Haitzler (The Rasterman) wrote:
 
  On Thu, 27 Jan 2011 20:14:04 +0100 (CET) Vincent Torri vto...@univ-evry.fr
  said:
 
  well first.. discomiftors patch/change did kill progress callbacks. i made
  them work again now. and to add to that your example below is wrong.
  progress cb should return 0 if it wants to keep going - return != 0 to
  abort the download :)
 
 from your comment on irc about the progress callback:
 
 raster in that it returns 1
 raster which aborts the download
 
 and from the doc:
 
 The only operations that can be aborted are those with protocol 'http' or 
 'ftp'. In that case @p job_ret can be filled. It can be used with 
 ecore_file_download_abort() or ecore_file_download_abort_all() to 
 respectively abort one or all download operations.
 
 So which one is correct ? If returning 0 for a callback that is used to 
 display *informations* aborts the download, then for me it's a design 
 error.

the doc didnt even say what the return of the progress func does - that bit of
the doc refers to something unrelated. i fixed the docs to document the
return value.

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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread Vincent Torri

 the doc didnt even say what the return of the progress func does - that bit of
 the doc refers to something unrelated. i fixed the docs to document the
 return value.

you didn't answer my question. Again I paste the doc:


  * The
  * @p progress_cb is called during the download operation, each time a
  * packet is received or when CURL wants. It can be used to display the
  * percentage of the downloaded file. Return 0 from this callback if provided
  * to continue the operation or anything else to abort the download. The only
  * operations that can be aborted are those with protocol 'http' or 'ftp'. In
  * that case @p job_ret can be filled. It can be used with
  * ecore_file_download_abort() or ecore_file_download_abort_all() to
  * respectively abort one or all download operations

So it says:

1) if one returns 0 to the progress cb, one aborts the download
2) if we want to abort the download, we can use the job.

Questions:

a) which on is the correct way to abort a download ?

b) don't you think it's a design error to allow abortion for a callback 
that is used to get informations (the progress callback) ?

So, please, answer these questions precisely.

Vincent

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] editje installation

2011-01-28 Thread Иван Сусанин
Hi,

try same trick with PYTHONPATH before running editje :)

Thanks,
Danny


2011/1/28 François Manchon fmanc...@web2tel.net

 Hi Danny,



 Many thanks for your suggestion.  I did this:



 sudo ln –s /usr/local/include/python2.6/evas /usr/include/python2.6

 export pp=$PYTHONPATH:/usr/local/lib/python2.6/site-packages

 sudo PYTHONPATH=$pp ./build-all.sh --prefix=/usr/local



 Now the build process completes successfully for all python-e* modules :-)



 When I try to run the editje-bin I get the following error:



   ImportError: libevas.so.1: cannot open shared object file: No such
 file or directory



 I have /usr/local/lib/libevas.so installed and other evas applications work
 fine, so I am stuck again :-(



 Any idea what’s wrong?



 Sincerely,



 François







 *De :* Иван Сусанин [mailto:susa...@gmail.com]
 *Envoyé :* Thursday, January 27, 2011 10:42
 *À :* fmanc...@web2tel.net
 *Cc :* Daniel Juyung Seo; enlightenment-devel@lists.sourceforge.net
 *Objet :* Re: [E-devel] editje installation



 Hi,

 actually, to make things simple, i installing whole E family into /opt/e17.
 Then all libraries and related stuff going there. Look at this autogen
 invocation:

 LD_LIBRARY_PATH=/opt/e17/lib:$LD_LIBRARY_PATH \
 PYTHONPATH=$PYTHONPATH:/opt/e17/lib/python2.6/site-packages \
 PATH=/opt/e17/bin:$PATH \
 PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH
 \
 ./autogen.sh --prefix=/opt/e17

 Now, in your situation, find where you installed e17 python* stuff, and set
 it in  PYTHONPATH variable before autogen script.

 Hope that helps.

 Thanks,
 Danny

 2011/1/27 fmanc...@web2tel.net

 Иван Сусанин susa...@gmail.com a écrit :



 only thing i'm found on my system related to python and distribute its
 python-setuptools,
 looks like you missing python-setuptools, try to install one :)



 Good point Danny!  python-setuptools was missing.  I am now getting further
 into the build process. However, it still fails with lots of error messages.
  The one copied below happens several times.

 Any other suggestion?

François

 ::
 /tmp/python-ecore.err
 ::
 Error converting Pyrex file to C:
 cimport evas.c_evas
  ^
 include/ecore/evas/c_ecore_evas.pxd:18:8: 'evas.c_evas.pxd' not found



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] editje installation

2011-01-28 Thread Иван Сусанин
And don't forget to set LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
before editje invocation too

Thanks,
Danny

2011/1/28 Иван Сусанин susa...@gmail.com

 Hi,

 try same trick with PYTHONPATH before running editje :)

 Thanks,
 Danny


 2011/1/28 François Manchon fmanc...@web2tel.net

 Hi Danny,



 Many thanks for your suggestion.  I did this:



 sudo ln –s /usr/local/include/python2.6/evas /usr/include/python2.6

 export pp=$PYTHONPATH:/usr/local/lib/python2.6/site-packages

 sudo PYTHONPATH=$pp ./build-all.sh --prefix=/usr/local



 Now the build process completes successfully for all python-e* modules :-)



 When I try to run the editje-bin I get the following error:



   ImportError: libevas.so.1: cannot open shared object file: No such
 file or directory



 I have /usr/local/lib/libevas.so installed and other evas applications
 work fine, so I am stuck again :-(



 Any idea what’s wrong?



 Sincerely,



 François







 *De :* Иван Сусанин [mailto:susa...@gmail.com]
 *Envoyé :* Thursday, January 27, 2011 10:42
 *À :* fmanc...@web2tel.net
 *Cc :* Daniel Juyung Seo; enlightenment-devel@lists.sourceforge.net
 *Objet :* Re: [E-devel] editje installation



 Hi,

 actually, to make things simple, i installing whole E family into
 /opt/e17.
 Then all libraries and related stuff going there. Look at this autogen
 invocation:

 LD_LIBRARY_PATH=/opt/e17/lib:$LD_LIBRARY_PATH \
 PYTHONPATH=$PYTHONPATH:/opt/e17/lib/python2.6/site-packages \
 PATH=/opt/e17/bin:$PATH \
 PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH
 \
 ./autogen.sh --prefix=/opt/e17

 Now, in your situation, find where you installed e17 python* stuff, and
 set it in  PYTHONPATH variable before autogen script.

 Hope that helps.

 Thanks,
 Danny

 2011/1/27 fmanc...@web2tel.net

 Иван Сусанин susa...@gmail.com a écrit :



 only thing i'm found on my system related to python and distribute its
 python-setuptools,
 looks like you missing python-setuptools, try to install one :)



 Good point Danny!  python-setuptools was missing.  I am now getting
 further into the build process. However, it still fails with lots of error
 messages.  The one copied below happens several times.

 Any other suggestion?

François

 ::
 /tmp/python-ecore.err
 ::
 Error converting Pyrex file to C:
 cimport evas.c_evas
  ^
 include/ecore/evas/c_ecore_evas.pxd:18:8: 'evas.c_evas.pxd' not found





--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] GSOC 2011

2011-01-28 Thread Hendrik Siedelmann
Hello everybody.

My name is Hendrik Siedelmann and I'm a student at the University of
Stuttgart in Germany currently in my fourth year. I have worked with
the efl in the past and always wanted to be more active but lacked
time/motivation. I now want to change this and would like to
paticipate in the GSoC. And I have an idea that went round in my head
for quite some time...


Image editing with the same efficiency as the rest of the efl.

There is no serious image editing in efl, only interaktive stuff.
However E17 is all about looks and performance and efficiency so I
think some scalable image filtering capabilities that have no
limitation on the image size and are usable from embedded to high end
workstations is really something that's missing.

There are several things wrong in how image editing is done in most
programs today.
As an example I'll take the following simple processing steps:
crop - denoise - adjust brightness/contrast - save
Most image processing programs will do the processing this way:
The image is decompressed from disk into memory is then filtered in
multiple steps and in the full resolution and finally saved.
On the way the user will try different values for each filter
(propably in some preview dialog) and propably do undo and redo
because for example after increasing the brightness he sees there is
noise remaining in the shadows or for whatever reason.
This approach has several problems:

Memory usage:
Memory usage will grow unlimited depending on the image size, the
number of undo-steps and the number of layers.
I have high resolution panoramas where memory usage in gimp exceeds
2GB with only three layers and one layer mask, undo-system completely
disabled.

Delays:
If the user decides on a filter and filtering parameters he will want
to continue but he has to wait for the filter to process the whole
image which might take some time.
Also if he decides that he has cropped wrong at the beginning but the
other filters are ok, he will have to undo everything, crop again and
then repeat all steps with all the time it takes for the filters to
process the image again.
Also for many filters the user will have to view the whole image (for
example to see the effects of a change of brightness or contrast). So
there will be huge delays to process the whole image.

Waste of cpu-time:
Whenever a filter is applied, all parts of the image that were
rendered with the final filter parameters in some preview will be
wasted. Also each undo has to throw away all processing done earlier,
which will therefore have been a waste of time.


There are two technics that can be utilized to solve all this problems:

Graph and chunk based on-demand rendering:
Every image operation is a node on a graph, which is connected to its
input image(s) and has one output.
There will always be one node which is connected to the global
(graph)-output. Loading an image would mean creating an input node and
connecting it's output to the global output.
If the user wants to do an operation its input will be connected to
the currently selected output and it's output will be the new
graph-output.
All operations on the graph will be basically instanteous, as the
nodes will only need to be connected, zero operations on actual image
data will be performed. The output will be created on-demand, and only
for a specified area. Therefor there will be no preview in the
above-mentioned sense, because it's always possible to just move to an
area and let it render, the whole image only needs to be rendered when
savíng.
This also gets rid of the overhead of undos because if the user
decides to to change a filter that is early in the filter chain he can
just do so and the output can then be rerendered accordingly.
While this will get rid of most useless processing this is only fast
if the area the user (or some frontend) requests is small. If one
wants to look at a big area (or the whole image) but at a lower scale
(because screens do not have such a high resolution), then there is
still the overhead of precessing the whole image for an output of much
smaller size (actual output window size).
Therefor the second step is:

Scaled filtering:
Instead of filtering at the whole scale all filters need to be able to
work on a scaled down version of the image and output the same image
as if applied to the full scale image and then scaling down (or a good
approximation).
This is trivial for some operation (like brightness contrast ...) easy
for others (like blur) and difficult for some, like tonemapping or
denoising.
The benefit is that with scaled filtering the processing time for a
specific filter graph depends only on the actual pixel count of the
requested area. Low scale requests for a big part of the image but
with the same actual pixel count will probably be even a bit faster
compared to a small full resolution request because area filters like
blur will be faster on lower scale.

Of course this should also include some intelligent caching 

Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread The Rasterman
On Fri, 28 Jan 2011 13:13:47 +0100 (CET) Vincent Torri vto...@univ-evry.fr
said:

 
  the doc didnt even say what the return of the progress func does - that bit
  of the doc refers to something unrelated. i fixed the docs to document the
  return value.
 
 you didn't answer my question. Again I paste the doc:
 
 
   * The
   * @p progress_cb is called during the download operation, each time a
   * packet is received or when CURL wants. It can be used to display the
   * percentage of the downloaded file. Return 0 from this callback if provided
   * to continue the operation or anything else to abort the download. The only
   * operations that can be aborted are those with protocol 'http' or 'ftp'. In
   * that case @p job_ret can be filled. It can be used with
   * ecore_file_download_abort() or ecore_file_download_abort_all() to
   * respectively abort one or all download operations
 
 So it says:
 
 1) if one returns 0 to the progress cb, one aborts the download
 2) if we want to abort the download, we can use the job.
 
 Questions:
 
 a) which on is the correct way to abort a download ?
 
 b) don't you think it's a design error to allow abortion for a callback 
 that is used to get informations (the progress callback) ?
 
 So, please, answer these questions precisely.

i didn't write the function. i have no answer for you. i simply documented its
current behavior. it's staying as-is because that's how it is, how it now
works, how code that depends on it now is expecting it to work. i see no reason
why the progress callback couldnt abort by return value - eg if download amount
is too big (maximum download limit). i'm not going to get into a debate on
minutiae of a callback right now before release. it stays as-is. too bad. too
late. if it mattered then this should have been brought up years ago when this
function was written.


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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread Dave Andreoli
2011/1/28 Carsten Haitzler ras...@rasterman.com:
 On Fri, 28 Jan 2011 13:13:47 +0100 (CET) Vincent Torri vto...@univ-evry.fr
 said:


  the doc didnt even say what the return of the progress func does - that bit
  of the doc refers to something unrelated. i fixed the docs to document the
  return value.

 you didn't answer my question. Again I paste the doc:


   * The
   * @p progress_cb is called during the download operation, each time a
   * packet is received or when CURL wants. It can be used to display the
   * percentage of the downloaded file. Return 0 from this callback if 
 provided
   * to continue the operation or anything else to abort the download. The 
 only
   * operations that can be aborted are those with protocol 'http' or 'ftp'. 
 In
   * that case @p job_ret can be filled. It can be used with
   * ecore_file_download_abort() or ecore_file_download_abort_all() to
   * respectively abort one or all download operations

what about at least add 2 define:
ECORE_DOWNLOAD_CONTINUE = 0
ECORE_DOWNLOAD_ABORT = 1

DaveMDS


 So it says:

 1) if one returns 0 to the progress cb, one aborts the download
 2) if we want to abort the download, we can use the job.

 Questions:

 a) which on is the correct way to abort a download ?

 b) don't you think it's a design error to allow abortion for a callback
 that is used to get informations (the progress callback) ?

 So, please, answer these questions precisely.

 i didn't write the function. i have no answer for you. i simply documented its
 current behavior. it's staying as-is because that's how it is, how it now
 works, how code that depends on it now is expecting it to work. i see no 
 reason
 why the progress callback couldnt abort by return value - eg if download 
 amount
 is too big (maximum download limit). i'm not going to get into a debate on
 minutiae of a callback right now before release. it stays as-is. too bad. too
 late. if it mattered then this should have been brought up years ago when this
 function was written.


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



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje animation bug

2011-01-28 Thread Eduardo Felipe
Hello,

I was trying to animate the position of a GROUP part of an Edje but no
matter what transition time I chose it just jumped to the final
description, without animating to it.

I talked to Cedric on #edevel and he also gets the same behavior. He
found out that the transition is not taken into account at all.

Here is an .edc that triggers the bug: http://pastebin.com/1cTA3CdN

I would appreciate any pointers as where to look and what to do.


Thanks in advance,

Eduardo Felipe.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] editje installation

2011-01-28 Thread François Manchon
try same trick with PYTHONPATH before running editje :)
And don't forget to set LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH 
before editje invocation too

Sure Danny, this is required but not quite enough.  I finally managed to start 
editje after the following trick:

cd /usr/local/lib 
ln -s libevas-ver-pre-svn-07.so.0.9.9 libevas.so.1 
ln -s libeina-ver-pre-svn-07.so.0.9.9 libeina.so.1

I think there is something *really* wrong in the editje config/build/install 
process.  Or maybe it is in python or in cython, or in Pyrex, or the EFL, or 
whatever. No time to sort it out. I just hope editje will be stable despite my 
ugly hacks.

Many thanks again for your support :-)

François

 

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enlightenment @ Cebit 2011

2011-01-28 Thread Andreas Volz
Am Thu, 27 Jan 2011 13:09:26 +0900 schrieb Carsten Haitzler (The
Rasterman):

 Just thought I'd pipe up here. Getting organised.
 
 Thanks to linux-magazin E gets some booth space @ Cebit 2011. Who
 wants to join in? By this i mean - who wants to help hang out at
 the booth? It's held march 1-5 in Hannover in germany. It's a pretty
 big show and will be busy. I'll end up there all week - anyone
 interested in coming... speak up! :)

I'm from germany (300 km distance) and thought about joining. Car
traveling costs aren't relevant for me, but I'm interested about other
expenses. I looked for a hotel booking around this time in hannover and
it costs ~100-200€/night. Do you've any idea about Cebit ticket costs?

regards
Andreas

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_file_download() seems broken here

2011-01-28 Thread The Rasterman
On Fri, 28 Jan 2011 16:02:26 +0100 Dave Andreoli d...@gurumeditation.it said:

 2011/1/28 Carsten Haitzler ras...@rasterman.com:
  On Fri, 28 Jan 2011 13:13:47 +0100 (CET) Vincent Torri vto...@univ-evry.fr
  said:
 
 
   the doc didnt even say what the return of the progress func does - that
   bit of the doc refers to something unrelated. i fixed the docs to
   document the return value.
 
  you didn't answer my question. Again I paste the doc:
 
 
    * The
    * @p progress_cb is called during the download operation, each time a
    * packet is received or when CURL wants. It can be used to display the
    * percentage of the downloaded file. Return 0 from this callback if
  provided
    * to continue the operation or anything else to abort the download. The
  only
    * operations that can be aborted are those with protocol 'http' or
  'ftp'. In
    * that case @p job_ret can be filled. It can be used with
    * ecore_file_download_abort() or ecore_file_download_abort_all() to
    * respectively abort one or all download operations
 
 what about at least add 2 define:
 ECORE_DOWNLOAD_CONTINUE = 0
 ECORE_DOWNLOAD_ABORT = 1
 
 DaveMDS

i don't have a problem with that - though it doesn't really change anything.
you will still need to read the manual and know to return one of these.

 
  So it says:
 
  1) if one returns 0 to the progress cb, one aborts the download
  2) if we want to abort the download, we can use the job.
 
  Questions:
 
  a) which on is the correct way to abort a download ?
 
  b) don't you think it's a design error to allow abortion for a callback
  that is used to get informations (the progress callback) ?
 
  So, please, answer these questions precisely.
 
  i didn't write the function. i have no answer for you. i simply documented
  its current behavior. it's staying as-is because that's how it is, how it
  now works, how code that depends on it now is expecting it to work. i see
  no reason why the progress callback couldnt abort by return value - eg if
  download amount is too big (maximum download limit). i'm not going to get
  into a debate on minutiae of a callback right now before release. it stays
  as-is. too bad. too late. if it mattered then this should have been brought
  up years ago when this function was written.
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)    ras...@rasterman.com
 
 
 
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
 February 28th, so secure your free ArcSight Logger TODAY! 
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] 1.0 Release of core EFL

2011-01-28 Thread The Rasterman
Finally after a lkong time coming, we are pleased to announce the 1.0 release
of the core EFL libraries (With the exception of Eet at 1.4). This has been
many years coming. The following libraries have been released:

* Eina - 1.0.0
* Eet - 1.4.0
* Evas - 1.0.0
* Ecore - 1.0.0
* Embryo - 1.0.0
* Edje - 1.0.0
* E_Dbus - 1.0.0
* Efreet - 1.0.0
* Eeze - 1.0.0

You can download the respective libraries from our Download Page:

http://www.enlightenment.org/p.php?p=downloadl=en

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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] branches tags and release

2011-01-28 Thread The Rasterman
OK. EFL 1.0 is out. from now on each lib will release on its own schedule
(anything post 1.0) as of now we have to keep Changelogs up to date. trunk has
moved to 1.0.999 version (and added svnrev back at the end) so svn builds will
always have a newer version that bugfix releases of 1.0 (unless we get to 999
of them.. i hope we dont). :)

we have 1.0.0 tags and branches. bugfixes we make to trunk should go into the
1.0 branches too. we will release bugfix updates from these branches (and 1.1,
1.2 will make new branches etc. from trunk). each release gets a tag in tags/
too so we  have a revision stored copy of whatever we release.

so... we're done with that release. development now can move on. pending
patches can go into trunk now. let the breakage begin (spanking rules still
apply :)).

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


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Add simple block game

2011-01-28 Thread Mike Blumenkrantz
On Tue, 18 Jan 2011 15:08:13 +0900
Mike McCormack mj.mccorm...@samsung.com wrote:

 From: Mike McCormack mj.mccorm...@samsung.com
 To: enlightenment-devel@lists.sourceforge.net
 Subject: [E-devel] [PATCH] Add simple block game
 Date: Tue, 18 Jan 2011 15:08:13 +0900
 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15)
 Gecko/20101027 Thunderbird/3.0.10
 
 
 Hi All,
 
 This is a port of a simple game that I've used for testing in other projects
 before.
 
 thanks,
 
 Mike
in

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] ecore main loop fd_handlers_to_call list optimization

2011-01-28 Thread Mike Blumenkrantz
On Thu, 02 Dec 2010 15:22:13 +0900
Mike McCormack mj.mccorm...@samsung.com wrote:

 From: Mike McCormack mj.mccorm...@samsung.com
 To: enlightenment-devel@lists.sourceforge.net
 Subject: [E-devel] [PATCH] ecore main loop fd_handlers_to_call list
 optimization Date: Thu, 02 Dec 2010 15:22:13 +0900
 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15)
 Gecko/20101027 Thunderbird/3.0.10
 
 Hi All,
 
 Rather than using malloc'ed list entries in the mail loop, use a single
 linked in-place list.
 
 This avoid lots of mallocs and frees as the main loop iterates.
 
 thanks,
 
 Mike
in

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] 1.0 Release of core EFL

2011-01-28 Thread Ralph Sennhauser
On Sat, 29 Jan 2011 12:43:25 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 Finally after a lkong time coming, we are pleased to announce the 1.0
 release of the core EFL libraries (With the exception of Eet at 1.4).
 This has been many years coming. The following libraries have been
 released:
 
 * Eina - 1.0.0
 * Eet - 1.4.0
 * Evas - 1.0.0
 * Ecore - 1.0.0
 * Embryo - 1.0.0
 * Edje - 1.0.0
 * E_Dbus - 1.0.0
 * Efreet - 1.0.0
 * Eeze - 1.0.0
 
 You can download the respective libraries from our Download Page:
 
 http://www.enlightenment.org/p.php?p=downloadl=en
 

A long awaited moment. Congratulations to the whole team.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor trunk/ecore/src/lib/ecore

2011-01-28 Thread Vincent Torri

ChangeLog...

On Fri, 28 Jan 2011, Enlightenment SVN wrote:

 Log:
 From: Mike McCormack mj.mccorm...@samsung.com
  Subject: [E-devel] [PATCH] ecore main loop fd_handlers_to_call list 
 optimization
  Date: Thu, 02 Dec 2010 15:22:13 +0900

  Hi All,

  Rather than using malloc'ed list entries in the mail loop, use a single 
 linked in-place list.

  This avoid lots of mallocs and frees as the main loop iterates.

  thanks,

  Mike


 Author:   discomfitor
 Date: 2011-01-28 21:34:00 -0800 (Fri, 28 Jan 2011)
 New Revision: 56368
 Trac: http://trac.enlightenment.org/e/changeset/56368

 Modified:
  trunk/ecore/src/lib/ecore/ecore_main.c

 Modified: trunk/ecore/src/lib/ecore/ecore_main.c
 ===
 --- trunk/ecore/src/lib/ecore/ecore_main.c2011-01-29 05:25:42 UTC (rev 
 56367)
 +++ trunk/ecore/src/lib/ecore/ecore_main.c2011-01-29 05:34:00 UTC (rev 
 56368)
 @@ -61,6 +61,7 @@
 {
EINA_INLIST;
ECORE_MAGIC;
 +   Ecore_Fd_Handler*next_ready;
int  fd;
Ecore_Fd_Handler_Flags   flags;
Ecore_Fd_Cb  func;
 @@ -119,9 +120,9 @@
 static Eina_List*fd_handlers_with_buffer = NULL;
 static Eina_List*fd_handlers_to_delete = NULL;

 -static Eina_List*fd_handlers_to_call = NULL;
 -static Eina_List*fd_handlers_to_call_current;
 -static Eina_List*fd_handlers_to_call_current_next;
 +/* single linked list of ready fdhs, terminated by loop to self */
 +static Ecore_Fd_Handler*fd_handlers_to_call;
 +static Ecore_Fd_Handler*fd_handlers_to_call_current;

 #ifdef _WIN32
 static Ecore_Win32_Handler *win32_handlers = NULL;
 @@ -166,6 +167,24 @@
 #endif
 }

 +static inline void
 +_ecore_try_add_to_call_list(Ecore_Fd_Handler *fdh)
 +{
 +   /* check if this fdh is already in the list */
 +   if (fdh-next_ready)
 + return;
 +   if (fdh-read_active || fdh-write_active || fdh-error_active)
 + {
 +/*
 + * make sure next_ready is non-null by pointing to ourselves
 + * use that to indicate this fdh is in the ready list
 + * insert at the head of the list to avoid trouble
 + */
 +fdh-next_ready = fd_handlers_to_call ? fd_handlers_to_call : fdh;
 +fd_handlers_to_call = fdh;
 + }
 +}
 +
 #ifdef HAVE_EPOLL
 static inline int
 _ecore_get_epoll_fd(void)
 @@ -332,7 +351,6 @@
for (i = 0; i  ret; i++)
  {
 Ecore_Fd_Handler *fdh;
 -Eina_Bool pst, st;

 fdh = ev[i].data.ptr;
 if (!ECORE_MAGIC_CHECK(fdh, ECORE_MAGIC_FD_HANDLER))
 @@ -346,15 +364,15 @@
  ERR(deleted fd in epoll);
  continue;
   }
 -pst = st = fdh-read_active | fdh-write_active | fdh-error_active;
 -if ((ev[i].events  EPOLLIN)  (!fdh-read_active))
 - st = fdh-read_active = EINA_TRUE;
 -if ((ev[i].events  EPOLLOUT)  (!fdh-write_active))
 - st = fdh-write_active = EINA_TRUE;
 -if ((ev[i].events  EPOLLERR)  (!fdh-error_active))
 - st = fdh-error_active = EINA_TRUE;
 -if (pst != st)
 -  fd_handlers_to_call = eina_list_append(fd_handlers_to_call, fdh);
 +
 +if (ev[i].events  EPOLLIN)
 +  fdh-read_active = EINA_TRUE;
 +if (ev[i].events  EPOLLOUT)
 +  fdh-write_active = EINA_TRUE;
 +if (ev[i].events  EPOLLERR)
 +  fdh-error_active = EINA_TRUE;
 +
 +_ecore_try_add_to_call_list(fdh);
  }

return ret;
 @@ -365,7 +383,6 @@
 static inline int _ecore_main_fdh_poll_mark_active(void)
 {
Ecore_Fd_Handler *fdh;
 -   Eina_Bool pst, st;
int ret = 0;

/* call the prepare callback for all handlers */
 @@ -374,15 +391,15 @@
 if (fdh-delete_me)
continue;

 -pst = st = fdh-read_active | fdh-write_active | fdh-error_active;
 -if ((fdh-gfd.revents  G_IO_IN)  (!fdh-read_active))
 - st = fdh-read_active = EINA_TRUE;
 -if ((fdh-gfd.revents  G_IO_OUT)  (!fdh-write_active))
 - st = fdh-write_active = EINA_TRUE;
 -if ((fdh-gfd.revents  G_IO_ERR)  (!fdh-error_active))
 - st = fdh-error_active = EINA_TRUE;
 -if (pst != st)
 -  fd_handlers_to_call = eina_list_append(fd_handlers_to_call, fdh);
 +if (fdh-gfd.revents  G_IO_IN)
 +   fdh-read_active = EINA_TRUE;
 +if (fdh-gfd.revents  G_IO_OUT)
 +   fdh-write_active = EINA_TRUE;
 +if (fdh-gfd.revents  G_IO_ERR)
 +   fdh-error_active = EINA_TRUE;
 +
 +_ecore_try_add_to_call_list(fdh);
 +
 if (fdh-gfd.revents  (G_IO_IN|G_IO_OUT|G_IO_ERR)) ret++;
  }

 @@ -763,6 +780,7 @@
fdh = calloc(1, sizeof(Ecore_Fd_Handler));
if (!fdh) return NULL;
ECORE_MAGIC_SET(fdh, ECORE_MAGIC_FD_HANDLER);
 +   fdh-next_ready = NULL;
fdh-fd = fd;
fdh-flags = flags;
if (_ecore_main_fdh_poll_add(fdh)  0)
 @@ -999,9 +1017,8 @@
  fd_handlers_with_prep = 

Re: [E-devel] 1.0 Release of core EFL

2011-01-28 Thread Vincent Torri

Hey

now that the EFL are release, maybe we should apply the patches ONLY if 
the ChangeLog is updated (if needed). Otherwise the patch is reverted. Do 
you agree ?

Vincent

On Sat, 29 Jan 2011, Ralph Sennhauser wrote:

 On Sat, 29 Jan 2011 12:43:25 +0900
 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 Finally after a lkong time coming, we are pleased to announce the 1.0
 release of the core EFL libraries (With the exception of Eet at 1.4).
 This has been many years coming. The following libraries have been
 released:

 * Eina - 1.0.0
 * Eet - 1.4.0
 * Evas - 1.0.0
 * Ecore - 1.0.0
 * Embryo - 1.0.0
 * Edje - 1.0.0
 * E_Dbus - 1.0.0
 * Efreet - 1.0.0
 * Eeze - 1.0.0

 You can download the respective libraries from our Download Page:

 http://www.enlightenment.org/p.php?p=downloadl=en


 A long awaited moment. Congratulations to the whole team.

 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] 1.0 Release of core EFL

2011-01-28 Thread Sachiel
2011/1/29 Vincent Torri vto...@univ-evry.fr:

 Hey

 now that the EFL are release, maybe we should apply the patches ONLY if
 the ChangeLog is updated (if needed). Otherwise the patch is reverted. Do
 you agree ?


s/reverted/rejected/ since I think SVN can actually do that.
It's probably a good idea, otherwise we'll keep thinking damn this
annoying vtorri guy and his changelogs every two and a half hours.

 Vincent

 On Sat, 29 Jan 2011, Ralph Sennhauser wrote:

 On Sat, 29 Jan 2011 12:43:25 +0900
 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 Finally after a lkong time coming, we are pleased to announce the 1.0
 release of the core EFL libraries (With the exception of Eet at 1.4).
 This has been many years coming. The following libraries have been
 released:

     * Eina - 1.0.0
     * Eet - 1.4.0
     * Evas - 1.0.0
     * Ecore - 1.0.0
     * Embryo - 1.0.0
     * Edje - 1.0.0
     * E_Dbus - 1.0.0
     * Efreet - 1.0.0
     * Eeze - 1.0.0

 You can download the respective libraries from our Download Page:

 http://www.enlightenment.org/p.php?p=downloadl=en


 A long awaited moment. Congratulations to the whole team.

 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor trunk/ecore/src/lib/ecore

2011-01-28 Thread Mike Blumenkrantz
On Sat, 29 Jan 2011 08:43:42 +0100 (CET)
Vincent Torri vto...@univ-evry.fr wrote:

 
 ChangeLog...
 
 On Fri, 28 Jan 2011, Enlightenment SVN wrote:

forgot

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel