On Sat, 22 Oct 2011 00:47:33 +0900 Daniel Juyung Seo <seojuyu...@gmail.com>
said:

> Spank spank raster!
> This introduces trailing whitespaces.

turn off your annoyance mode in your editor. fyi if u mean trailing white
spaces at the START of blank lines - thats actually HOW many editors work on
autoindent... because they are EXPECTING you to write some code there. it's
perfectly logical and all you are doing is bitching about something that is
actually a good thing because you insist on having an hyper-annoying editor
feature on.

> Daniel Juyung Seo (SeoZ)
> 
> On Fri, Oct 21, 2011 at 2:50 PM, Enlightenment SVN
> <no-re...@enlightenment.org> wrote:
> > Log:
> > nicer formatting of async events
> >
> >
> >
> > Author:       raster
> > Date:         2011-10-20 22:50:05 -0700 (Thu, 20 Oct 2011)
> > New Revision: 64240
> > Trac:         http://trac.enlightenment.org/e/changeset/64240
> >
> > Modified:
> >  trunk/evas/src/lib/canvas/evas_async_events.c
> >
> > Modified: trunk/evas/src/lib/canvas/evas_async_events.c
> > ===================================================================
> > --- trunk/evas/src/lib/canvas/evas_async_events.c       2011-10-21 05:40:59
> > UTC (rev 64239) +++ trunk/evas/src/lib/canvas/evas_async_events.c
> > 2011-10-21 05:50:05 UTC (rev 64240) @@ -82,28 +82,32 @@
> >
> >    if (_fd_read == -1) return 0;
> >
> > -   do {
> > +   do
> > +     {
> >        check = read(_fd_read, &ev, sizeof (Evas_Event_Async *));
> > -
> > +
> >        if (check == sizeof (Evas_Event_Async *))
> >          {
> >              if (ev->func) ev->func((void *)ev->target, ev->type,
> > ev->event_info); free(ev);
> >             count++;
> >          }
> > -   } while (check > 0);
> > +     }
> > +   while (check > 0);
> >
> >    evas_cache_image_wakeup();
> >
> >    if (check < 0)
> > -     switch (errno)
> > -       {
> > -       case EBADF:
> > -       case EINVAL:
> > -       case EIO:
> > -       case EISDIR:
> > -          _fd_read = -1;
> > -       }
> > +     {
> > +        switch (errno)
> > +          {
> > +           case EBADF:
> > +           case EINVAL:
> > +           case EIO:
> > +           case EISDIR:
> > +             _fd_read = -1;
> > +          }
> > +     }
> >
> >    return count;
> >  #else
> > @@ -130,23 +134,28 @@
> >    ev->type = type;
> >    ev->event_info = event_info;
> >
> > -   do {
> > -      check = write(_fd_write, &ev, sizeof (Evas_Event_Async*));
> > -   } while ((check != sizeof (Evas_Event_Async*)) && ((errno == EINTR) ||
> > (errno == EAGAIN)));
> > +   do
> > +     {
> > +        check = write(_fd_write, &ev, sizeof (Evas_Event_Async*));
> > +     }
> > +   while ((check != sizeof (Evas_Event_Async*)) &&
> > +          ((errno == EINTR) || (errno == EAGAIN)));
> >
> >    evas_cache_image_wakeup();
> >
> >    if (check == sizeof (Evas_Event_Async*))
> >      result = EINA_TRUE;
> >    else
> > -     switch (errno)
> > -       {
> > -       case EBADF:
> > -       case EINVAL:
> > -       case EIO:
> > -       case EPIPE:
> > -          _fd_write = -1;
> > -       }
> > +     {
> > +        switch (errno)
> > +          {
> > +           case EBADF:
> > +           case EINVAL:
> > +           case EIO:
> > +           case EPIPE:
> > +             _fd_write = -1;
> > +          }
> > +     }
> >
> >    return result;
> >  #else
> >
> >
> > ------------------------------------------------------------------------------
> > The demand for IT networking professionals continues to grow, and the
> > demand for specialized networking skills is growing even more rapidly.
> > Take a complimentary Learning@Cisco Self-Assessment and learn
> > about Cisco certifications, training, and career opportunities.
> > http://p.sf.net/sfu/cisco-dev2dev
> > _______________________________________________
> > enlightenment-svn mailing list
> > enlightenment-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
> 
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn 
> about Cisco certifications, training, and career opportunities. 
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> 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


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to