[E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread The Rasterman
as for changes int he last 24hrs e17 no longer starts at all. nothing that uses
efreet and thus edbus works. we segv in edbus init (deep inside of dbus). i
spent a while in a text console (which i partly rescued to run terminology so
it was more useful) today rolling back my whole set of e17/efl/edje/etc. trees.
i ended up going back to 81802. something after this commit totally brought
the world down and i havent had time to bisect what it was.

so beware if you update...

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


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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread David Seikel
On Sat, 29 Dec 2012 19:48:39 +0900 Carsten Haitzler (The Rasterman)
ras...@rasterman.com wrote:

 as for changes int he last 24hrs e17 no longer starts at all. nothing
 that uses efreet and thus edbus works. we segv in edbus init (deep
 inside of dbus). i spent a while in a text console (which i partly
 rescued to run terminology so it was more useful) today rolling back
 my whole set of e17/efl/edje/etc. trees. i ended up going back to
 81802. something after this commit totally brought the world down and
 i havent had time to bisect what it was.
 
 so beware if you update...

Wow, the entire team of SVN borkers has been working overtime to catch
up with the end of the world.  Congratulations an a job well done.

Don't think Raster needs that cure for cancer after all, the heart
attack will get him first.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


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


Re: [E-devel] E SVN: raster trunk/e/src/bin

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 10:53:14 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 On Fri, 28 Dec 2012 19:20:53 + Michael Blumenkrantz
 michael.blumenkra...@gmail.com said:
 
  On Thu, 27 Dec 2012 19:28:25 -0800
  Enlightenment SVN no-re...@enlightenment.org wrote:
  
   Log:
   allow for primary toplevel menus  screen height (or width) and
 autoscroll them correctly. also raise the limits for menu sizes up to
 30k or 2x zone height for menu item cutoff...
 
 
   
   Author:   raster
   Date: 2012-12-27 19:28:25 -0800 (Thu, 27 Dec 2012)
   New Revision: 81778
   Trac: http://trac.enlightenment.org/e/changeset/81778
   
   Modified:
 trunk/e/src/bin/e_menu.c 
   
   Modified: trunk/e/src/bin/e_menu.c
   ===
   --- trunk/e/src/bin/e_menu.c  2012-12-28 03:24:07 UTC (rev 81777)
   +++ trunk/e/src/bin/e_menu.c  2012-12-28 03:28:25 UTC (rev 81778)
   @@ -1152,10 +1152,16 @@
   int x, y, w, h;

   e_zone_useful_geometry_get(m-zone, x, y, w, 
   h);
   -   if ((m-cur.x + m-cur.w)  (x + w))
   - m-cur.x = x + w - m-cur.w;
   -   if ((m-cur.y + m-cur.h)  (y + h))
   - m-cur.y = y + h - m-cur.h;
   +   if (m-cur.w = w)
   + {
   +if ((m-cur.x + m-cur.w)  (x + w))
   +  m-cur.x = x + w - m-cur.w;
   + }
   +   if (m-cur.h = h)
   + {
   +if ((m-cur.y + m-cur.h)  (y + h))
   +  m-cur.y = y + h - m-cur.h;
   + }
}
  m-prev.x = m-cur.x;
  m-prev.y = m-cur.y;
   @@ -1796,7 +1802,7 @@
   int min_submenu_w = 0, min_submenu_h = 0;
   int min_toggle_w = 0, min_toggle_h = 0;
   int min_w = 0, min_h = 0;
   -   int zh = 0, ms = 0;
   +   int zh = 0, ms = 0, maxh = 0;
   unsigned int cur_items = 0, max_items = -1;

   e_box_freeze(m-container_object);
   @@ -1867,11 +1873,14 @@
   if (min_h * eina_list_count(m-items) = (unsigned int)m-zone-h)
 {
e_zone_useful_geometry_get(m-zone, NULL, NULL, NULL, zh);
   -max_items = zh / min_h - 1;
   +maxh = zh * 2;
   +if (maxh  3) maxh = 3; // 32k x 32k mx coord limit for
   wins
   +max_items = (maxh / min_h) - 1;
 }
   EINA_LIST_FOREACH(m-items, l, mi)
 {
   -if ((cur_items = max_items) || (zh  ((ms + (2 * mh) = zh) ||
   (ms + (2 * mi-separator_h) = zh
   +if ((cur_items = max_items) ||
   +(maxh  ((ms + (2 * mh) = maxh) || (ms + (2 *
   mi-separator_h) = maxh {
 _e_menu_item_unrealize(mi);
 continue;
   
   
  
  
  fyi this commit 100% breaks the Move to menu for me. I'll be reverting it
  in a day or two if it isn't fixed
 
 then you're back to broken menus if item count exceeds screen height (which
 wasnt broken in original menu code i wrote). i'm staring at a move-to
 menu/submenu thats displaying just fine. if it displays offscreen to the right
 it scrolls in when u mouse to the edge as the menu scroll code intends.
 

it was your choice to clamp menu size to screen dimensions.

I have two monitors with 16 desktops each; the menu displays fine in e17 
release, it doesn't appear AT ALL after your commit. huge regression, 
regardless of your intentions

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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread Mike McCormack
On 12/29/2012 09:48 PM, Carsten Haitzler (The Rasterman) wrote:
 as for changes int he last 24hrs e17 no longer starts at all. nothing that 
 uses
 efreet and thus edbus works. we segv in edbus init (deep inside of dbus). i
 spent a while in a text console (which i partly rescued to run terminology so
 it was more useful) today rolling back my whole set of e17/efl/edje/etc. 
 trees.
 i ended up going back to 81802. something after this commit totally brought
 the world down and i havent had time to bisect what it was.

 so beware if you update...

E17 works for me (@81866, in Xephyr).

Mike



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


Re: [E-devel] backlight/screensaver config bug

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 11:52:27 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 On Fri, 28 Dec 2012 15:09:35 + Michael Blumenkrantz
 michael.blumenkra...@gmail.com said:
 
 hmm ok - i see - it'll have a different rounding applid basically... what 
 issue
 does this cause?
 
  this is mainly for raster since he last worked on this:
  
  both dpms and screensaver config apply and check backlight timer against
  screensaver timer. there's a slight discrepancy, however:
  
  e_int_config_screensaver.c:
  
  if ((e_config-backlight.idle_dim) 
  (e_config-backlight.timer  (e_config-screensaver_timeout)))
{
   e_config-screensaver_timeout = e_config-backlight.timer;
   e_config-dpms_standby_timeout = e_config-screensaver_timeout;
   e_config-dpms_suspend_timeout = e_config-screensaver_timeout;
   e_config-dpms_off_timeout = e_config-screensaver_timeout;
  }
  
  
  e_int_config_dpms.c:
  
  if ((e_config-backlight.idle_dim) 
  (e_config-backlight.timer  (e_config-screensaver_timeout)))
{
   e_config-screensaver_timeout = cfdata-backlight_timeout;
   e_config-dpms_standby_timeout = e_config-screensaver_timeout;
   e_config-dpms_suspend_timeout = e_config-screensaver_timeout;
   e_config-dpms_off_timeout = e_config-screensaver_timeout;
  }
  
  
  I'm guessing these should be identical, so when you get a chance this
  should be fixed

it caused the issue of me noticing it. thanks for the fix

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


Re: [E-devel] eo and efl

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 11:48:36 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 On Fri, 28 Dec 2012 22:31:18 + Michael Blumenkrantz
 michael.blumenkra...@gmail.com said:
 
  On Fri, 28 Dec 2012 20:17:14 -0200
  Lucas De Marchi lucas.demar...@profusion.mobi wrote:
  
   Hey!
   
   I'd like to start a discussion about eo and its usage in EFL. I got
   very frustrated on how it was merged regardless the opinion of the
   other EFL developers. IMO it could make some sense in elementary, but
   not in the core like ecore, evas, edje.
   
   Asking around I discovered I was not the only one rather the
   opposite - everyone I asked hates how it's done.  Recently I had to
   review some patches to elementary, adding the systray support. My eyes
   were bleeding. I will enlist here some reasons in no particular order.
   Surely there are more... others are welcome to fill them here.
   
- We replaced the function calls with eo_do(func()). Now, take an
   application and imagine all ecore_*, evas_*, elm_* functions replaced
   with eo_do(func()). This is not just ugly... it's impractical to use.
   
- eo_do() is the userspace incarnation of ioctl() - search on LKML to
   see how it's hated there.
  
  it does make me consider entering one of those code obfuscation contests...
  
   
- *every* function in a backtrace comes with the
   _eo_dov_internal()/_eo_op_internal() companion - besides polluting the
   bt, for sure they have a cost. And I saw no benchmarks on mailing list
   after the addition of eo.  One might think that since *I* am
   complaining, *I* should provide them, but I think it's exactly the
   opposite - people who added this thing should make sure it's now the
   same or better than it was before.
  
  backtraces with eo are the reason I don't see myself ever switching to the
  1.8 branch. as for benchmarks, I saw some supposed numbers thrown around
  during early eo development which claimed that it was slower, but not that
  much slower, and worth it for the gains
  
   
- If we really needed this level of OO in ecore, evas, edje, we'd be
   better off using C++ or inventing our own language to fit our needs
   instead of doing what we are doing now.
   
- why is it any better than the smart object we had all these years?
   Why not improve that instead of replacing with eo?
   
- run elementary_test with EINA_LOG_LEVELS=5 and see the
   construction/destruction party
  
  not to mention the spam just from running e
  
   
- Despite raster arguing this is not an API break, I strongly believe
   it is. It broke compilation of lots of c++ applications (I'll not
   repeat myself here... in the mailing list there are my other arguments
   why it is an api breakage)
   
   
   
   My opinion is to revert the whole thing, but I'm sure this would be a
   major task after the surgery to put it in was made.  I'd at least like
   the people responsible for it to answer the points above, and people
   who like me think this is all crap to step up and say so.
   
   
   
   Lucas De Marchi
   
  
  depressing though it may be to think about, I have to agree with your 
  points.
  I'm not saying it needs to be reverted, but I don't see any benefit to
  keeping it unless the goal was to reduce my commits to the afflicted areas 
  to
  near zero.
  
  while it's impressive that all of the eo stuff was added with relatively
  little breakage (as opposed to my expectations), the idea of having to learn
  what is essentially a different programming language in order to work on efl
  internals again in trunk is really demotivating. maybe I'll become the kwo 
  of
  the 1.7 branch?
 
 fair enough. it's a change. it's not a change i wanted. it's a change that was
 NEEDED. needed because once you go beyond the scope of us few efl devs, you 
 hit
 a wall of developers who can take our api - documented or not, with examples 
 or
 not, and then just fall over tehmselves and end up wasting our time by the
 bucket load in the process. you never experienced it so you never felt or sw
 the pain. you were insulated. this change is some of that insualtion not able
 to continue and something has to leak. it has to give. if this demotivates 
 you,
 then i guess, so be it. continuing as we were would have demotivated me to the
 point of giving up. it also *HAS* deotivated a dozen+ other people. so we lose
 either way.
 
 without eo peolpe doing bindings do them the hard way - forever. eo provides
 for introspection and documentation.
 
 without eo we have our 17 ways to a callback. maybe you don't get annoyed by
 this, but i do. i keep having to try remember ok, which prototype was that
 callback? i know its void *data... then what? what does it return?. eo tries
 to unify callbacks... AND document them at runtime even (for introspection
 purposes). this makes it insanely easier to build a gui builder and make
 language bindings.
 
 without eo we still have the danger that 

Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-12-29 Thread Michael Blumenkrantz
On Fri, 28 Dec 2012 18:52:49 -0800
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 ummm the problem must be elsehwere... as not calling the prent del
   means we leak smart members and clipper objects on termio smart
   shutdown. that'll be fun with  1 term in a window. :( could you bring
   up a valgrind trace etc. about this?
   
   
 
 Author:   raster
 Date: 2012-12-28 18:52:48 -0800 (Fri, 28 Dec 2012)
 New Revision: 81853
 Trac: http://trac.enlightenment.org/e/changeset/81853
 
 Modified:
   trunk/terminology/src/bin/termio.c 
 
 Modified: trunk/terminology/src/bin/termio.c
 ===
 --- trunk/terminology/src/bin/termio.c2012-12-29 02:46:39 UTC (rev 
 81852)
 +++ trunk/terminology/src/bin/termio.c2012-12-29 02:52:48 UTC (rev 
 81853)
 @@ -2346,7 +2346,7 @@
  
 termpty_shutdown();
  
 -   //_parent_sc.del(obj);
 +   _parent_sc.del(obj);
 evas_object_smart_data_set(obj, NULL);
 free(sd);
  }
 
 

on my machine it crashes every time I close a terminal without this change.

==26168== Invalid free() / delete / delete[] / realloc()
==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
==26168==by 0x41D7BF: _smart_del (termio.c:2351)
==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
==26168==by 0x40D4C9: main_term_free (main.c:638)
==26168==by 0x40C071: _cb_exited (main.c:162)
==26168==by 0x66502A4: evas_object_smart_callback_call 
(evas_object_smart.c:610)
==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal (ecore_main.c:1922)
==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
==26168==by 0x40EE6F: elm_main (main.c:1304)
==26168==by 0x40EF39: main (main.c:1326)
==26168==  Address 0xfdeee40 is 0 bytes inside a block of size 304 free'd
==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
==26168==by 0x6651E65: evas_object_smart_clipped_smart_del 
(evas_object_smart_clipped.c:81)
==26168==by 0x41D7A2: _smart_del (termio.c:2349)
==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
==26168==by 0x40D4C9: main_term_free (main.c:638)
==26168==by 0x40C071: _cb_exited (main.c:162)
==26168==by 0x66502A4: evas_object_smart_callback_call 
(evas_object_smart.c:610)
==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal (ecore_main.c:1922)
==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
==26168==by 0x40EE6F: elm_main (main.c:1304)
==26168==by 0x40EF39: main (main.c:1326)

also I get this on startup:

==26168== Invalid read of size 8
==26168==at 0x9CE3B81: FT_Load_Glyph (ftobjs.c:612)
==26168==by 0x66CC5B5: evas_common_font_int_cache_glyph_get 
(evas_font_main.c:410)
==26168==by 0x66E698F: _content_create_regular (evas_text_utils.c:458)
==26168==by 0x66E6C8D: evas_common_text_props_content_create 
(evas_text_utils.c:544)
==26168==by 0x6718F57: eng_font_text_props_info_create (evas_engine.c:1252)
==26168==by 0x667F526: evas_object_textgrid_font_set 
(evas_object_textgrid.c:1139)
==26168==by 0x41C721: _termio_config_set (termio.c:2028)
==26168==by 0x41DF0E: termio_add (termio.c:2533)
==26168==by 0x40D806: main_term_new (main.c:694)
==26168==by 0x40ED1D: elm_main (main.c:1277)
==26168==by 0x40EF39: main (main.c:1326)
==26168==  Address 0xfe00ea0 is not stack'd, malloc'd or (recently) free'd


using 1.7 branch, no edbus crashes :D

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


[E-devel] e17 udisks and udisks2

2012-12-29 Thread Michael Rutan
Hello,
I was wondering if e17 was planning on using udisks2 soon, a lot of my 
multimedia programs require it and when I have udisks and udisks2 both 
installed they conflict and cause my audio CD's not to load. It messes 
with all the multimedia programs that I install causing them to crash or 
become unusable. I hope this makes sense thanks.


mich04

here is a lonk to my post on arch linux fourms about the problems it 
might be causing Also sorry I was not sure how to contact anyone about 
issues with e17 it is a little confusing.

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


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-12-29 Thread Gustavo Sverzut Barbieri
On Sat, Dec 29, 2012 at 10:45 AM, Michael Blumenkrantz 
michael.blumenkra...@gmail.com wrote:

 On Fri, 28 Dec 2012 18:52:49 -0800
 Enlightenment SVN no-re...@enlightenment.org wrote:

  Log:
  ummm the problem must be elsehwere... as not calling the prent del
means we leak smart members and clipper objects on termio smart
shutdown. that'll be fun with  1 term in a window. :( could you bring
up a valgrind trace etc. about this?
 
 
 
  Author:   raster
  Date: 2012-12-28 18:52:48 -0800 (Fri, 28 Dec 2012)
  New Revision: 81853
  Trac: http://trac.enlightenment.org/e/changeset/81853
 
  Modified:
trunk/terminology/src/bin/termio.c
 
  Modified: trunk/terminology/src/bin/termio.c
  ===
  --- trunk/terminology/src/bin/termio.c2012-12-29 02:46:39 UTC
 (rev 81852)
  +++ trunk/terminology/src/bin/termio.c2012-12-29 02:52:48 UTC
 (rev 81853)
  @@ -2346,7 +2346,7 @@
 
  termpty_shutdown();
 
  -   //_parent_sc.del(obj);
  +   _parent_sc.del(obj);
  evas_object_smart_data_set(obj, NULL);
  free(sd);
   }
 
 

 on my machine it crashes every time I close a terminal without this change.

 ==26168== Invalid free() / delete / delete[] / realloc()
 ==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
 ==26168==by 0x41D7BF: _smart_del (termio.c:2351)
 ==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
 ==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
 ==26168==by 0x40D4C9: main_term_free (main.c:638)
 ==26168==by 0x40C071: _cb_exited (main.c:162)
 ==26168==by 0x66502A4: evas_object_smart_callback_call
 (evas_object_smart.c:610)
 ==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
 ==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
 ==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
 ==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
 ==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal
 (ecore_main.c:1922)
 ==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
 ==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
 ==26168==by 0x40EE6F: elm_main (main.c:1304)
 ==26168==by 0x40EF39: main (main.c:1326)
 ==26168==  Address 0xfdeee40 is 0 bytes inside a block of size 304 free'd
 ==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
 ==26168==by 0x6651E65: evas_object_smart_clipped_smart_del
 (evas_object_smart_clipped.c:81)
 ==26168==by 0x41D7A2: _smart_del (termio.c:2349)
 ==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
 ==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
 ==26168==by 0x40D4C9: main_term_free (main.c:638)
 ==26168==by 0x40C071: _cb_exited (main.c:162)
 ==26168==by 0x66502A4: evas_object_smart_callback_call
 (evas_object_smart.c:610)
 ==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
 ==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
 ==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
 ==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
 ==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal
 (ecore_main.c:1922)
 ==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
 ==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
 ==26168==by 0x40EE6F: elm_main (main.c:1304)
 ==26168==by 0x40EF39: main (main.c:1326)

 also I get this on startup:

 ==26168== Invalid read of size 8
 ==26168==at 0x9CE3B81: FT_Load_Glyph (ftobjs.c:612)
 ==26168==by 0x66CC5B5: evas_common_font_int_cache_glyph_get
 (evas_font_main.c:410)
 ==26168==by 0x66E698F: _content_create_regular (evas_text_utils.c:458)
 ==26168==by 0x66E6C8D: evas_common_text_props_content_create
 (evas_text_utils.c:544)
 ==26168==by 0x6718F57: eng_font_text_props_info_create
 (evas_engine.c:1252)
 ==26168==by 0x667F526: evas_object_textgrid_font_set
 (evas_object_textgrid.c:1139)
 ==26168==by 0x41C721: _termio_config_set (termio.c:2028)
 ==26168==by 0x41DF0E: termio_add (termio.c:2533)
 ==26168==by 0x40D806: main_term_new (main.c:694)
 ==26168==by 0x40ED1D: elm_main (main.c:1277)
 ==26168==by 0x40EF39: main (main.c:1326)
 ==26168==  Address 0xfe00ea0 is not stack'd, malloc'd or (recently) free'd


hi mike, I fixed this with r81869, the smart class usage was completely
bogus :-/ please see if it's fixed.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:

Re: [E-devel] E SVN: barbieri trunk/terminology/src/bin

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 05:45:39 -0800
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 terminology: fix termio's Evas_Smart_Class inheritance usage.
   
- _smart_add(): if you set the smart data before clipped smart object
  constructor, it will reuse that. No need to get, copy, free then reset.
   
- _smart_del(): clipped smart object will free(sd) already, no need
  to do it again (double free).
   
   
 
 Author:   barbieri
 Date: 2012-12-29 05:45:38 -0800 (Sat, 29 Dec 2012)
 New Revision: 81869
 Trac: http://trac.enlightenment.org/e/changeset/81869
 
 Modified:
   trunk/terminology/src/bin/termio.c 
 
 Modified: trunk/terminology/src/bin/termio.c
 ===
 --- trunk/terminology/src/bin/termio.c2012-12-29 13:45:17 UTC (rev 
 81868)
 +++ trunk/terminology/src/bin/termio.c2012-12-29 13:45:38 UTC (rev 
 81869)
 @@ -2150,19 +2150,15 @@
  _smart_add(Evas_Object *obj)
  {
 Termio *sd;
 -   Evas_Object_Smart_Clipped_Data *cd;
 Evas_Object *o;
 int i, j, k, l, n;
  
 -   _parent_sc.add(obj);
 -   cd = evas_object_smart_data_get(obj);
 -   if (!cd) return;
 sd = calloc(1, sizeof(Termio));
 -   if (!sd) return;
 -   sd-__clipped_data = *cd;
 -   free(cd);
 +   EINA_SAFETY_ON_NULL_RETURN(sd);
 evas_object_smart_data_set(obj, sd);
  
 +   _parent_sc.add(obj);
 +
 /* Terminal output widget */
 o = evas_object_textgrid_add(evas_object_evas_get(obj));
 evas_object_pass_events_set(o, EINA_TRUE);
 @@ -2347,8 +2343,6 @@
 termpty_shutdown();
  
 _parent_sc.del(obj);
 -   evas_object_smart_data_set(obj, NULL);
 -   free(sd);
  }
  
  static void
 

this fixes my crash

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


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 11:46:36 -0200
Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:

 On Sat, Dec 29, 2012 at 10:45 AM, Michael Blumenkrantz 
 michael.blumenkra...@gmail.com wrote:
 
  On Fri, 28 Dec 2012 18:52:49 -0800
  Enlightenment SVN no-re...@enlightenment.org wrote:
 
   Log:
   ummm the problem must be elsehwere... as not calling the prent del
 means we leak smart members and clipper objects on termio smart
 shutdown. that'll be fun with  1 term in a window. :( could you bring
 up a valgrind trace etc. about this?
  
  
  
   Author:   raster
   Date: 2012-12-28 18:52:48 -0800 (Fri, 28 Dec 2012)
   New Revision: 81853
   Trac: http://trac.enlightenment.org/e/changeset/81853
  
   Modified:
 trunk/terminology/src/bin/termio.c
  
   Modified: trunk/terminology/src/bin/termio.c
   ===
   --- trunk/terminology/src/bin/termio.c2012-12-29 02:46:39 UTC
  (rev 81852)
   +++ trunk/terminology/src/bin/termio.c2012-12-29 02:52:48 UTC
  (rev 81853)
   @@ -2346,7 +2346,7 @@
  
   termpty_shutdown();
  
   -   //_parent_sc.del(obj);
   +   _parent_sc.del(obj);
   evas_object_smart_data_set(obj, NULL);
   free(sd);
}
  
  
 
  on my machine it crashes every time I close a terminal without this change.
 
  ==26168== Invalid free() / delete / delete[] / realloc()
  ==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
  ==26168==by 0x41D7BF: _smart_del (termio.c:2351)
  ==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
  ==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
  ==26168==by 0x40D4C9: main_term_free (main.c:638)
  ==26168==by 0x40C071: _cb_exited (main.c:162)
  ==26168==by 0x66502A4: evas_object_smart_callback_call
  (evas_object_smart.c:610)
  ==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
  ==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
  ==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
  ==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
  ==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal
  (ecore_main.c:1922)
  ==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
  ==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
  ==26168==by 0x40EE6F: elm_main (main.c:1304)
  ==26168==by 0x40EF39: main (main.c:1326)
  ==26168==  Address 0xfdeee40 is 0 bytes inside a block of size 304 free'd
  ==26168==at 0x4C2B35C: free (vg_replace_malloc.c:446)
  ==26168==by 0x6651E65: evas_object_smart_clipped_smart_del
  (evas_object_smart_clipped.c:81)
  ==26168==by 0x41D7A2: _smart_del (termio.c:2349)
  ==26168==by 0x6651080: evas_object_smart_del (evas_object_smart.c:899)
  ==26168==by 0x6644635: evas_object_del (evas_object_main.c:470)
  ==26168==by 0x40D4C9: main_term_free (main.c:638)
  ==26168==by 0x40C071: _cb_exited (main.c:162)
  ==26168==by 0x66502A4: evas_object_smart_callback_call
  (evas_object_smart.c:610)
  ==26168==by 0x41DD4A: _smart_pty_exited (termio.c:2494)
  ==26168==by 0x42031F: _cb_exe_exit (termpty.c:166)
  ==26168==by 0x6B9A068: _ecore_call_handler_cb (ecore_private.h:321)
  ==26168==by 0x6B9B052: _ecore_event_call (ecore_events.c:559)
  ==26168==by 0x6BA2569: _ecore_main_loop_iterate_internal
  (ecore_main.c:1922)
  ==26168==by 0x6BA0899: ecore_main_loop_begin (ecore_main.c:956)
  ==26168==by 0x4F23DC9: elm_run (elm_main.c:849)
  ==26168==by 0x40EE6F: elm_main (main.c:1304)
  ==26168==by 0x40EF39: main (main.c:1326)
 
  also I get this on startup:
 
  ==26168== Invalid read of size 8
  ==26168==at 0x9CE3B81: FT_Load_Glyph (ftobjs.c:612)
  ==26168==by 0x66CC5B5: evas_common_font_int_cache_glyph_get
  (evas_font_main.c:410)
  ==26168==by 0x66E698F: _content_create_regular (evas_text_utils.c:458)
  ==26168==by 0x66E6C8D: evas_common_text_props_content_create
  (evas_text_utils.c:544)
  ==26168==by 0x6718F57: eng_font_text_props_info_create
  (evas_engine.c:1252)
  ==26168==by 0x667F526: evas_object_textgrid_font_set
  (evas_object_textgrid.c:1139)
  ==26168==by 0x41C721: _termio_config_set (termio.c:2028)
  ==26168==by 0x41DF0E: termio_add (termio.c:2533)
  ==26168==by 0x40D806: main_term_new (main.c:694)
  ==26168==by 0x40ED1D: elm_main (main.c:1277)
  ==26168==by 0x40EF39: main (main.c:1326)
  ==26168==  Address 0xfe00ea0 is not stack'd, malloc'd or (recently) free'd
 
 
 hi mike, I fixed this with r81869, the smart class usage was completely
 bogus :-/ please see if it's fixed.
 

confirmed fixed

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE 

Re: [E-devel] e17 udisks and udisks2

2012-12-29 Thread Gustavo Sverzut Barbieri
On Sat, Dec 29, 2012 at 11:19 AM, Michael Rutan rutansgar...@gmail.comwrote:

 Hello,
 I was wondering if e17 was planning on using udisks2 soon, a lot of my
 multimedia programs require it and when I have udisks and udisks2 both
 installed they conflict and cause my audio CD's not to load. It messes
 with all the multimedia programs that I install causing them to crash or
 become unusable. I hope this makes sense thanks.


I'd say so, but just for future e17+ as it will depend on edbus(v2) that
will come with efl-1.8

the udisks2 approach seems bit better.

meanwhile, try to use e17's eeze backend that talks directly to udev?


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] edje with ecore-audio

2012-12-29 Thread Gustavo Sverzut Barbieri
Those that have the edje with ecore-audio patch hanging around, could share
the status and if it can completely replace the existing implementation?

I'd like to merge edje into efl soon, but I rather do after the ecore-audio
is used as it will simplify the configure.ac

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] eo and efl

2012-12-29 Thread Henrique Dante
On Sat, Dec 29, 2012 at 12:48 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Fri, 28 Dec 2012 22:31:18 + Michael Blumenkrantz
 michael.blumenkra...@gmail.com said:

 On Fri, 28 Dec 2012 20:17:14 -0200
 Lucas De Marchi lucas.demar...@profusion.mobi wrote:

  Hey!
 
  I'd like to start a discussion about eo and its usage in EFL. I got
  very frustrated on how it was merged regardless the opinion of the
  other EFL developers. IMO it could make some sense in elementary, but
  not in the core like ecore, evas, edje.
 
  Asking around I discovered I was not the only one rather the
  opposite - everyone I asked hates how it's done.  Recently I had to
  review some patches to elementary, adding the systray support. My eyes
  were bleeding. I will enlist here some reasons in no particular order.
  Surely there are more... others are welcome to fill them here.
 
   - We replaced the function calls with eo_do(func()). Now, take an
  application and imagine all ecore_*, evas_*, elm_* functions replaced
  with eo_do(func()). This is not just ugly... it's impractical to use.
 
   - eo_do() is the userspace incarnation of ioctl() - search on LKML to
  see how it's hated there.

 it does make me consider entering one of those code obfuscation contests...

 
   - *every* function in a backtrace comes with the
  _eo_dov_internal()/_eo_op_internal() companion - besides polluting the
  bt, for sure they have a cost. And I saw no benchmarks on mailing list
  after the addition of eo.  One might think that since *I* am
  complaining, *I* should provide them, but I think it's exactly the
  opposite - people who added this thing should make sure it's now the
  same or better than it was before.

 backtraces with eo are the reason I don't see myself ever switching to the
 1.8 branch. as for benchmarks, I saw some supposed numbers thrown around
 during early eo development which claimed that it was slower, but not that
 much slower, and worth it for the gains

 
   - If we really needed this level of OO in ecore, evas, edje, we'd be
  better off using C++ or inventing our own language to fit our needs
  instead of doing what we are doing now.
 
   - why is it any better than the smart object we had all these years?
  Why not improve that instead of replacing with eo?
 
   - run elementary_test with EINA_LOG_LEVELS=5 and see the
  construction/destruction party

 not to mention the spam just from running e

 
   - Despite raster arguing this is not an API break, I strongly believe
  it is. It broke compilation of lots of c++ applications (I'll not
  repeat myself here... in the mailing list there are my other arguments
  why it is an api breakage)
 
 
 
  My opinion is to revert the whole thing, but I'm sure this would be a
  major task after the surgery to put it in was made.  I'd at least like
  the people responsible for it to answer the points above, and people
  who like me think this is all crap to step up and say so.
 
 
 
  Lucas De Marchi
 

 depressing though it may be to think about, I have to agree with your points.
 I'm not saying it needs to be reverted, but I don't see any benefit to
 keeping it unless the goal was to reduce my commits to the afflicted areas to
 near zero.

 while it's impressive that all of the eo stuff was added with relatively
 little breakage (as opposed to my expectations), the idea of having to learn
 what is essentially a different programming language in order to work on efl
 internals again in trunk is really demotivating. maybe I'll become the kwo of
 the 1.7 branch?

 fair enough. it's a change. it's not a change i wanted. it's a change that was
 NEEDED. needed because once you go beyond the scope of us few efl devs, you 
 hit
 a wall of developers who can take our api - documented or not, with examples 
 or

 Hello, from a new developer pespective, I think Eo is creating an
unwelcome encapsulation of the API, that's usually neither expected
nor wanted in C. It's replacing simple function calls with message
building with handles and varargs. The way I see it, new C application
developers from the community (as opposed to employees required to
work on EFL) which could potentially choose EFL as a toolkit, would
avoid it, not be attracted to it.

 While developing with Eo I also noticed that it breaks cscope usage.
Whenever I wanted to jump to the definition of some method call, I
reached a macro in the include file instead. Then I had to use the
method ID to do a new search, this time not by definition, but by
usage in class definitions. The other way doesn't work well either:
single stepping in gdb to find out the code path or looking at a
backtrace are both polluted with Eo calls. In general single stepping
on an efl method call should take 5 seconds, but with Eo it may take 5
minutes. Main negative conclusion about this is that there's no
trivial way to find out what an Eo call does, and this will discourage
new developers from reading code.

 not, and then just fall over 

[E-devel] [PATCH] eina-1.7: allow running the testsuite independantly of coverage support

2012-12-29 Thread Albin Tonnerre
It used to be possible to run the testsuite whether coverage was enabled
or not; this is very useful for eg. distros who want to automatically
run the testsuite without having to compile with coverage support.

Most other EFL in the stable branch already allow this (evas, ecore,
edje); update Eina to bring it in line with them.
---
 Makefile.am   |   29 -
 configure.ac  |   10 +++-
 m4/common/efl_coverage.m4 |   62 +
 m4/common/efl_tests.m4|   27 +++-
 4 files changed, 97 insertions(+), 31 deletions(-)
 create mode 100644 m4/common/efl_coverage.m4

diff --git a/Makefile.am b/Makefile.am
index 5ff1896..e67c183 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,7 +42,8 @@ m4/common/efl_attribute.m4 \
 m4/common/efl_benchmark.m4 \
 m4/common/efl_check_funcs.m4 \
 m4/common/efl_compiler_flag.m4 \
-m4/common/efl_cpu.m4 \
+m4/common/efl_coverage.m4 \
+m4/common/efl_cpu.m4\
 m4/common/efl_doxygen.m4 \
 m4/common/efl_examples.m4 \
 m4/common/efl_path_max.m4 \
@@ -68,6 +69,20 @@ install-doc:
 
 if EFL_ENABLE_TESTS
 
+check-local:
+   @./src/tests/eina_suite
+
+else
+
+check-local:
+   @echo reconfigure with --enable-tests
+
+endif
+
+# Coverage report
+
+if EFL_ENABLE_COVERAGE
+
 lcov-reset:
@rm -rf $(top_builddir)/coverage
@find $(top_builddir) -name *.gcda -delete
@@ -80,21 +95,21 @@ lcov-report:
genhtml -t $(PACKAGE_STRING) -o $(top_builddir)/coverage/html 
$(top_builddir)/coverage/coverage.cleaned.info
@echo Coverage Report at $(top_builddir)/coverage/html
 
-check-local:
+coverage:
@$(MAKE) lcov-reset
-   @./src/tests/eina_suite
+   @$(MAKE) check
@$(MAKE) lcov-report
 
 else
 
 lcov-reset:
-   @echo reconfigure with --enable-tests
+   @echo reconfigure with --enable-coverage
 
 lcov-report:
-   @echo reconfigure with --enable-tests
+   @echo reconfigure with --enable-coverage
 
-check-local:
-   @echo reconfigure with --enable-tests
+coverage:
+   @echo reconfigure with --enable-tests --enable-coverage
 
 endif
 
diff --git a/configure.ac b/configure.ac
index d132d15..1775f0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -553,6 +553,14 @@ EINA_CHECK_MODULE([one-big],[${enable_one_big}],   
   [one big])
 
 EFL_CHECK_TESTS([eina], [enable_tests=yes], [enable_tests=no])
 
+EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage=yes], 
[enable_coverage=no])
+EINA_CFLAGS=${EINA_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}
+EINA_LIBS=${EINA_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}
+if test x$enable_coverage = xyes ; then
+   EINA_CFLAGS=${EINA_CFLAGS} ${EFL_DEBUG_CFLAGS}
+fi
+
+
 EFL_CHECK_BENCHMARK([enable_benchmark=yes], [enable_benchmark=no])
 EINA_BENCH_MODULE([glib], [${enable_benchmark}], [glib-2.0], 
[enable_benchmark_glib=yes], [enable_benchmark_glib=no])
 if test -n $CXX  test x$enable_benchmark = xyes ; then
@@ -628,7 +636,7 @@ echo   Documentation: ${build_doc}
 if test x${build_doc} = xyes ; then
 echo Installation...: make install-doc
 fi
-echo   Tests: ${enable_tests} (Coverage: 
${efl_enable_coverage})
+echo   Tests: ${enable_tests} (Coverage: ${enable_coverage})
 echo   Examples.: ${enable_build_examples}
 echo   Tiler Example: ${build_tiler_example}
 echo   Examples installed...: ${enable_install_examples}
diff --git a/m4/common/efl_coverage.m4 b/m4/common/efl_coverage.m4
new file mode 100644
index 000..85d0321
--- /dev/null
+++ b/m4/common/efl_coverage.m4
@@ -0,0 +1,62 @@
+dnl Copyright (C) 2008 Vincent Torri vtorri at univ-evry dot fr
+dnl That code is public domain and can be freely used or copied.
+
+dnl Macro that check if coverage support is wanted and, if yes, if
+dnl lcov is available.
+
+dnl Usage: EFL_CHECK_COVERAGE(tests [, ACTION-IF-FOUND [, 
ACTION-IF-NOT-FOUND]])
+dnl The parameter 'tests' is used if a dependency is needed. If set to yes,
+dnl the dependency is available.
+dnl Defines EFL_COVERAGE_CFLAGS and EFL_COVERAGE_LIBS variables
+dnl Defines the automake conditionnal EFL_ENABLE_COVERAGE
+
+AC_DEFUN([EFL_CHECK_COVERAGE],
+[
+
+dnl configure option
+
+AC_ARG_ENABLE([coverage],
+   [AC_HELP_STRING([--enable-coverage], [enable coverage profiling 
instrumentation @:@default=disabled@:@])],
+   [
+if test x${enableval} = xyes ; then
+   _efl_enable_coverage=yes
+else
+   _efl_enable_coverage=no
+fi
+   ],
+   [_efl_enable_coverage=no])
+
+AC_MSG_CHECKING([whether to use profiling instrumentation])
+AC_MSG_RESULT([$_efl_enable_coverage])
+
+dnl lcov check
+
+if test x$_efl_enable_coverage = xyes  test ! x$1 = xyes ; then
+   AC_MSG_WARN([Coverage report requested but tests not being built, disable 
profiling instrumentation.])
+   AC_MSG_WARN([Run configure with --enable-tests])
+   _efl_enable_coverage=no
+fi
+
+if test x$_efl_enable_coverage = xyes ; then
+   

Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread Jérémy Zurcher
same here, I finally found it.
since edbus has been merged,

AC_C_VA_LIST_AS_ARRAY is missing within configure.ac
ops 

regards Jérémy

On Saturday 29 December 2012  19:48, Carsten Haitzler wrote :
 as for changes int he last 24hrs e17 no longer starts at all. nothing that 
 uses
 efreet and thus edbus works. we segv in edbus init (deep inside of dbus). i
 spent a while in a text console (which i partly rescued to run terminology so
 it was more useful) today rolling back my whole set of e17/efl/edje/etc. 
 trees.
 i ended up going back to 81802. something after this commit totally brought
 the world down and i havent had time to bisect what it was.
 
 so beware if you update...
 
 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

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

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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread David Seikel
On Sat, 29 Dec 2012 17:14:38 +0100 Jérémy Zurcher jer...@asynk.ch
wrote:

 same here, I finally found it.
 since edbus has been merged,
 
 AC_C_VA_LIST_AS_ARRAY is missing within configure.ac
 ops 
 
 regards Jérémy
 
 On Saturday 29 December 2012  19:48, Carsten Haitzler wrote :
  as for changes int he last 24hrs e17 no longer starts at all.
  nothing that uses efreet and thus edbus works. we segv in edbus
  init (deep inside of dbus). i spent a while in a text console
  (which i partly rescued to run terminology so it was more useful)
  today rolling back my whole set of e17/efl/edje/etc. trees. i ended
  up going back to 81802. something after this commit totally brought
  the world down and i havent had time to bisect what it was.
  
  so beware if you update...

Safe to get back in the water now?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread Jérémy Zurcher
someone has to add it to efl/configure.ac first,
no commit access on my side :)

On Sunday 30 December 2012  02:26, David Seikel wrote :
 On Sat, 29 Dec 2012 17:14:38 +0100 Jérémy Zurcher jer...@asynk.ch
 wrote:
 
  same here, I finally found it.
  since edbus has been merged,
  
  AC_C_VA_LIST_AS_ARRAY is missing within configure.ac
  ops 
  
  regards Jérémy
  
  On Saturday 29 December 2012  19:48, Carsten Haitzler wrote :
   as for changes int he last 24hrs e17 no longer starts at all.
   nothing that uses efreet and thus edbus works. we segv in edbus
   init (deep inside of dbus). i spent a while in a text console
   (which i partly rescued to run terminology so it was more useful)
   today rolling back my whole set of e17/efl/edje/etc. trees. i ended
   up going back to 81802. something after this commit totally brought
   the world down and i havent had time to bisect what it was.
   
   so beware if you update...
 
 Safe to get back in the water now?
 
 -- 
 A big old stinking pile of genius that no one wants
 coz there are too many silver coated monkeys in the world.



 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912

 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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


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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread David Seikel
On Sat, 29 Dec 2012 17:36:15 +0100 Jérémy Zurcher jer...@asynk.ch
wrote:

 someone has to add it to efl/configure.ac first,
 no commit access on my side :)

Thought I just saw Raster do that?

 On Sunday 30 December 2012  02:26, David Seikel wrote :
  On Sat, 29 Dec 2012 17:14:38 +0100 Jérémy Zurcher jer...@asynk.ch
  wrote:
  
   same here, I finally found it.
   since edbus has been merged,
   
   AC_C_VA_LIST_AS_ARRAY is missing within configure.ac
   ops 
   
   regards Jérémy
   
   On Saturday 29 December 2012  19:48, Carsten Haitzler wrote :
as for changes int he last 24hrs e17 no longer starts at all.
nothing that uses efreet and thus edbus works. we segv in edbus
init (deep inside of dbus). i spent a while in a text console
(which i partly rescued to run terminology so it was more
useful) today rolling back my whole set of e17/efl/edje/etc.
trees. i ended up going back to 81802. something after this
commit totally brought the world down and i havent had time to
bisect what it was.

so beware if you update...
  
  Safe to get back in the water now?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


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


[E-devel] [PATCH] e17: use #!/bin/bash for e_remote since it uses bash-specific features

2012-12-29 Thread Albin Tonnerre
enlightenment_remote uses at least variable substitution (${var%%.*})
and options (echo -e) that are not guaranteed to be available in
stricter (wrt. what's in POSIX) shell implementations, which may lead to
malfunction. Running the script using bash ensures things work as
intended.
---
 data/tools/enlightenment_remote |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
index 45295bb..a5e5d74 100644
--- a/data/tools/enlightenment_remote
+++ b/data/tools/enlightenment_remote
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # See the function show_help_new_tool in order to know more about this tool
 
-- 
1.7.10.4


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


Re: [E-devel] [PATCH] e17: use #!/bin/bash for e_remote since it uses bash-specific features

2012-12-29 Thread Brian 'morlenxus' Miculcy
Hm, i suggest to use

#!/usr/bin/env bash

then.

On 12/29/2012 06:26 PM, Albin Tonnerre wrote:
 enlightenment_remote uses at least variable substitution (${var%%.*})
 and options (echo -e) that are not guaranteed to be available in
 stricter (wrt. what's in POSIX) shell implementations, which may lead to
 malfunction. Running the script using bash ensures things work as
 intended.
 ---
   data/tools/enlightenment_remote |2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
 index 45295bb..a5e5d74 100644
 --- a/data/tools/enlightenment_remote
 +++ b/data/tools/enlightenment_remote
 @@ -1,4 +1,4 @@
 -#!/bin/sh
 +#!/bin/bash
   #
   # See the function show_help_new_tool in order to know more about this tool
   


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


Re: [E-devel] [PATCH] e17: use #!/bin/bash for e_remote since it uses bash-specific features

2012-12-29 Thread Albin Tonnerre
On Sat, Dec 29, 2012 at 6:30 PM, Brian 'morlenxus' Miculcy
morlen...@gmx.net wrote:
 Hm, i suggest to use

 #!/usr/bin/env bash

The common usage for shell scripts seems to be /bin/$SHELL (since
unlike perl or python there tends not be several competing versions of
a given shell interpreter), but feel free to use whatever you think is
appropriate :)

Cheers,
--
Albin

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


Re: [E-devel] [PATCH] e17: use #!/bin/bash for e_remote since it uses bash-specific features

2012-12-29 Thread Brian 'morlenxus' Miculcy
Absolutely, but as e17 is targeting different platforms, we should keep 
in mind that the bash can be on different places (e.g. if i remember 
correctly on OpenBSD in /usr/bin/bash).

On 12/29/2012 06:39 PM, Albin Tonnerre wrote:
 On Sat, Dec 29, 2012 at 6:30 PM, Brian 'morlenxus' Miculcy
 morlen...@gmx.net wrote:
 Hm, i suggest to use

 #!/usr/bin/env bash
 The common usage for shell scripts seems to be /bin/$SHELL (since
 unlike perl or python there tends not be several competing versions of
 a given shell interpreter), but feel free to use whatever you think is
 appropriate :)

 Cheers,
 --
 Albin


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


Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread Jérémy Zurcher
On Sunday 30 December 2012  02:39, David Seikel wrote :
 On Sat, 29 Dec 2012 17:36:15 +0100 Jérémy Zurcher jer...@asynk.ch
 wrote:
 
  someone has to add it to efl/configure.ac first,
  no commit access on my side :)
 
 Thought I just saw Raster do that?
indeed, I was late and not uptodate ;)


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


[E-devel] physics module compilation error

2012-12-29 Thread Jérémy Zurcher
I get this:
physics/e_mod_physics.c:4:22: fatal error: EPhysics.h: No such file or directory

this patch adds @EPHYSICS_CFLAGS@ to CFLAGS in Makefile_physics.am

regards
Jérémy
diff --git a/e/src/modules/Makefile_physics.am 
b/e/src/modules/Makefile_physics.am
index 9873442..350f3fb 100644
--- a/e/src/modules/Makefile_physics.am
+++ b/e/src/modules/Makefile_physics.am
@@ -7,6 +7,9 @@ EXTRA_DIST += $(physics_DATA)
 physicspkgdir = $(MDIR)/physics/$(MODULE_ARCH)
 physicspkg_LTLIBRARIES = physics/module.la
 
+physics_module_la_CFLAGS = $(AM_CFLAGS)
+physics_module_la_CFLAGS += @EPHYSICS_CFLAGS@
+
 physics_module_la_SOURCES = physics/e_mod_main.c \
physics/e_mod_main.h \
physics/e_mod_config.c \
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] physics module compilation error

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 21:56:49 +0100
Jérémy Zurcher jer...@asynk.ch wrote:

 I get this:
 physics/e_mod_physics.c:4:22: fatal error: EPhysics.h: No such file or 
 directory
 
 this patch adds @EPHYSICS_CFLAGS@ to CFLAGS in Makefile_physics.am
 
 regards
 Jérémy

in

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


[E-devel] EFL 1.7.4 for windows

2012-12-29 Thread Vincent Torri
hey

i've created an installer for the EFL 1.7.4 on Windows.

You can find it at one of the 2 addresses:

http://packages.enlightenment.org/windows/
http://dev.enlightenment.fr/~doursse/NSIS/

regards

Vincent

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


Re: [E-devel] E SVN: caro trunk/devs

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 14:24:24 -0800
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 dev--
   
 
 Author:   caro
 Date: 2012-12-29 14:24:23 -0800 (Sat, 29 Dec 2012)
 New Revision: 81888
 Trac: http://trac.enlightenment.org/e/changeset/81888
 
 Removed:
   trunk/devs/caro/ 
 
 

WHAT??

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


Re: [E-devel] EFL 1.7.4 for windows

2012-12-29 Thread Michael Blumenkrantz
On Sat, 29 Dec 2012 23:23:41 +0100
Vincent Torri vincent.to...@gmail.com wrote:

 hey
 
 i've created an installer for the EFL 1.7.4 on Windows.
 
 You can find it at one of the 2 addresses:
 
 http://packages.enlightenment.org/windows/
 http://dev.enlightenment.fr/~doursse/NSIS/
 
 regards
 
 Vincent

cool, now once we get some apps we'll be set for world domination

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


Re: [E-devel] E SVN: raster trunk/e/src/bin

2012-12-29 Thread The Rasterman
On Sat, 29 Dec 2012 12:34:50 + Michael Blumenkrantz
michael.blumenkra...@gmail.com said:

 On Sat, 29 Dec 2012 10:53:14 +0900
 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:
 
  On Fri, 28 Dec 2012 19:20:53 + Michael Blumenkrantz
  michael.blumenkra...@gmail.com said:
  
   On Thu, 27 Dec 2012 19:28:25 -0800
   Enlightenment SVN no-re...@enlightenment.org wrote:
   
Log:
allow for primary toplevel menus  screen height (or width) and
  autoscroll them correctly. also raise the limits for menu sizes up to
  30k or 2x zone height for menu item cutoff...
  
  

Author:   raster
Date: 2012-12-27 19:28:25 -0800 (Thu, 27 Dec 2012)
New Revision: 81778
Trac: http://trac.enlightenment.org/e/changeset/81778

Modified:
  trunk/e/src/bin/e_menu.c 

Modified: trunk/e/src/bin/e_menu.c
===
--- trunk/e/src/bin/e_menu.c2012-12-28 03:24:07 UTC (rev 81777)
+++ trunk/e/src/bin/e_menu.c2012-12-28 03:28:25 UTC (rev 81778)
@@ -1152,10 +1152,16 @@
int x, y, w, h;
 
e_zone_useful_geometry_get(m-zone, x, y, w,
h);
-   if ((m-cur.x + m-cur.w)  (x + w))
- m-cur.x = x + w - m-cur.w;
-   if ((m-cur.y + m-cur.h)  (y + h))
- m-cur.y = y + h - m-cur.h;
+   if (m-cur.w = w)
+ {
+if ((m-cur.x + m-cur.w)  (x + w))
+  m-cur.x = x + w - m-cur.w;
+ }
+   if (m-cur.h = h)
+ {
+if ((m-cur.y + m-cur.h)  (y + h))
+  m-cur.y = y + h - m-cur.h;
+ }
 }
   m-prev.x = m-cur.x;
   m-prev.y = m-cur.y;
@@ -1796,7 +1802,7 @@
int min_submenu_w = 0, min_submenu_h = 0;
int min_toggle_w = 0, min_toggle_h = 0;
int min_w = 0, min_h = 0;
-   int zh = 0, ms = 0;
+   int zh = 0, ms = 0, maxh = 0;
unsigned int cur_items = 0, max_items = -1;
 
e_box_freeze(m-container_object);
@@ -1867,11 +1873,14 @@
if (min_h * eina_list_count(m-items) = (unsigned int)m-zone-h)
  {
 e_zone_useful_geometry_get(m-zone, NULL, NULL, NULL, zh);
-max_items = zh / min_h - 1;
+maxh = zh * 2;
+if (maxh  3) maxh = 3; // 32k x 32k mx coord limit for
wins
+max_items = (maxh / min_h) - 1;
  }
EINA_LIST_FOREACH(m-items, l, mi)
  {
-if ((cur_items = max_items) || (zh  ((ms + (2 * mh) = zh)
|| (ms + (2 * mi-separator_h) = zh
+if ((cur_items = max_items) ||
+(maxh  ((ms + (2 * mh) = maxh) || (ms + (2 *
mi-separator_h) = maxh {
  _e_menu_item_unrealize(mi);
  continue;


   
   
   fyi this commit 100% breaks the Move to menu for me. I'll be reverting
   it in a day or two if it isn't fixed
  
  then you're back to broken menus if item count exceeds screen height (which
  wasnt broken in original menu code i wrote). i'm staring at a move-to
  menu/submenu thats displaying just fine. if it displays offscreen to the
  right it scrolls in when u mouse to the edge as the menu scroll code
  intends.
  
 
 it was your choice to clamp menu size to screen dimensions.
 
 I have two monitors with 16 desktops each; the menu displays fine in e17
 release, it doesn't appear AT ALL after your commit. huge regression,
 regardless of your intentions

wtf? ok - well i can look at that, but it's going to have to wait until tonight.


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


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


Re: [E-devel] eo and efl

2012-12-29 Thread The Rasterman
On Sat, 29 Dec 2012 13:06:25 -0200 Henrique Dante hda...@profusion.mobi said:

 On Sat, Dec 29, 2012 at 12:48 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Fri, 28 Dec 2012 22:31:18 + Michael Blumenkrantz
  michael.blumenkra...@gmail.com said:
 
  On Fri, 28 Dec 2012 20:17:14 -0200
  Lucas De Marchi lucas.demar...@profusion.mobi wrote:
 
   Hey!
  
   I'd like to start a discussion about eo and its usage in EFL. I got
   very frustrated on how it was merged regardless the opinion of the
   other EFL developers. IMO it could make some sense in elementary, but
   not in the core like ecore, evas, edje.
  
   Asking around I discovered I was not the only one rather the
   opposite - everyone I asked hates how it's done.  Recently I had to
   review some patches to elementary, adding the systray support. My eyes
   were bleeding. I will enlist here some reasons in no particular order.
   Surely there are more... others are welcome to fill them here.
  
- We replaced the function calls with eo_do(func()). Now, take an
   application and imagine all ecore_*, evas_*, elm_* functions replaced
   with eo_do(func()). This is not just ugly... it's impractical to use.
  
- eo_do() is the userspace incarnation of ioctl() - search on LKML to
   see how it's hated there.
 
  it does make me consider entering one of those code obfuscation contests...
 
  
- *every* function in a backtrace comes with the
   _eo_dov_internal()/_eo_op_internal() companion - besides polluting the
   bt, for sure they have a cost. And I saw no benchmarks on mailing list
   after the addition of eo.  One might think that since *I* am
   complaining, *I* should provide them, but I think it's exactly the
   opposite - people who added this thing should make sure it's now the
   same or better than it was before.
 
  backtraces with eo are the reason I don't see myself ever switching to the
  1.8 branch. as for benchmarks, I saw some supposed numbers thrown around
  during early eo development which claimed that it was slower, but not that
  much slower, and worth it for the gains
 
  
- If we really needed this level of OO in ecore, evas, edje, we'd be
   better off using C++ or inventing our own language to fit our needs
   instead of doing what we are doing now.
  
- why is it any better than the smart object we had all these years?
   Why not improve that instead of replacing with eo?
  
- run elementary_test with EINA_LOG_LEVELS=5 and see the
   construction/destruction party
 
  not to mention the spam just from running e
 
  
- Despite raster arguing this is not an API break, I strongly believe
   it is. It broke compilation of lots of c++ applications (I'll not
   repeat myself here... in the mailing list there are my other arguments
   why it is an api breakage)
  
  
  
   My opinion is to revert the whole thing, but I'm sure this would be a
   major task after the surgery to put it in was made.  I'd at least like
   the people responsible for it to answer the points above, and people
   who like me think this is all crap to step up and say so.
  
  
  
   Lucas De Marchi
  
 
  depressing though it may be to think about, I have to agree with your
  points. I'm not saying it needs to be reverted, but I don't see any
  benefit to keeping it unless the goal was to reduce my commits to the
  afflicted areas to near zero.
 
  while it's impressive that all of the eo stuff was added with relatively
  little breakage (as opposed to my expectations), the idea of having to
  learn what is essentially a different programming language in order to
  work on efl internals again in trunk is really demotivating. maybe I'll
  become the kwo of the 1.7 branch?
 
  fair enough. it's a change. it's not a change i wanted. it's a change that
  was NEEDED. needed because once you go beyond the scope of us few efl devs,
  you hit a wall of developers who can take our api - documented or not, with
  examples or
 
  Hello, from a new developer pespective, I think Eo is creating an
 unwelcome encapsulation of the API, that's usually neither expected
 nor wanted in C. It's replacing simple function calls with message
 building with handles and varargs. The way I see it, new C application
 developers from the community (as opposed to employees required to
 work on EFL) which could potentially choose EFL as a toolkit, would
 avoid it, not be attracted to it.
 
  While developing with Eo I also noticed that it breaks cscope usage.
 Whenever I wanted to jump to the definition of some method call, I
 reached a macro in the include file instead. Then I had to use the
 method ID to do a new search, this time not by definition, but by
 usage in class definitions. The other way doesn't work well either:
 single stepping in gdb to find out the code path or looking at a
 backtrace are both polluted with Eo calls. In general single stepping
 on an efl method call should take 5 seconds, but with Eo it may take 5
 minutes. Main 

Re: [E-devel] e17 (and anything using efreet... and edbus) totally broken for now

2012-12-29 Thread The Rasterman
On Sat, 29 Dec 2012 23:35:22 +1100 Mike McCormack mi...@ring3k.org said:

 On 12/29/2012 09:48 PM, Carsten Haitzler (The Rasterman) wrote:
  as for changes int he last 24hrs e17 no longer starts at all. nothing that
  uses efreet and thus edbus works. we segv in edbus init (deep inside of
  dbus). i spent a while in a text console (which i partly rescued to run
  terminology so it was more useful) today rolling back my whole set of
  e17/efl/edje/etc. trees. i ended up going back to 81802. something after
  this commit totally brought the world down and i havent had time to bisect
  what it was.
 
  so beware if you update...
 
 E17 works for me (@81866, in Xephyr).

i just comited a fix. and it was a 64bit issue - didnt show on 32bit.

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


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


[E-devel] Fun with 0.17.0

2012-12-29 Thread Michael Hughes
All

I am building 1.7.4 and 0.17.0 from the source snapshots on Fedora 17.  
EFL went through without a hitch but E17 would not compile.

   CCLD temperature/tempget
make[4]: *** No rule to make target 
`illume-keyboard/e-module-illume-keyboard.edj', needed by `all-am'. Stop.

I ran it with --disable-illume2 which made it go through.  I don't 
know what I lost with that.

Once installed it would not run.  ~/.xsession-errors showed that it 
could not find libelementary.so.1 even though the file was present.  
Apparently it is looking in /usr/local/lib for this particular file 
even though it is configured with --libdir=/usr/local/lib64.  The 
other libraries are fine.  I had to put in some links to make it run.

Now I could go through the initial setup program.  I allowed the default 
values for the video features to see what would happen but what happened 
is that it produced a message saying that another compositor was running 
and then locked up hard.  I had to use Ctrl-Alt-Backspace to get out of 
it and that was all I could get when I restarted it.  I restored the old 
configuration which let me start over and turn all of the video features 
off.

Now the desktop came up along with a message informing me that my old 
configuration could not be used and had been wiped.  Of course, I had 
put a lot of time and effort into that configuration.  At this point I 
was getting a little frustrated so I restored the older version.  I will 
try this one again when I have the time and energy to build a new 
desktop from scratch.  It is probably just as well to see what I can do 
with the new features.

Mike


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


Re: [E-devel] E SVN: raster trunk/e/src/bin

2012-12-29 Thread Michael Blumenkrantz
On Sun, 30 Dec 2012 09:22:22 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 On Sat, 29 Dec 2012 12:34:50 + Michael Blumenkrantz
 michael.blumenkra...@gmail.com said:
 
  On Sat, 29 Dec 2012 10:53:14 +0900
  Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:
  
   On Fri, 28 Dec 2012 19:20:53 + Michael Blumenkrantz
   michael.blumenkra...@gmail.com said:
   
On Thu, 27 Dec 2012 19:28:25 -0800
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 allow for primary toplevel menus  screen height (or width) and
   autoscroll them correctly. also raise the limits for menu sizes up 
 to
   30k or 2x zone height for menu item cutoff...
   
   
 
 Author:   raster
 Date: 2012-12-27 19:28:25 -0800 (Thu, 27 Dec 2012)
 New Revision: 81778
 Trac: http://trac.enlightenment.org/e/changeset/81778
 
 Modified:
   trunk/e/src/bin/e_menu.c 
 
 Modified: trunk/e/src/bin/e_menu.c
 ===
 --- trunk/e/src/bin/e_menu.c  2012-12-28 03:24:07 UTC (rev 81777)
 +++ trunk/e/src/bin/e_menu.c  2012-12-28 03:28:25 UTC (rev 81778)
 @@ -1152,10 +1152,16 @@
 int x, y, w, h;
  
 e_zone_useful_geometry_get(m-zone, x, y, 
 w,
 h);
 -   if ((m-cur.x + m-cur.w)  (x + w))
 - m-cur.x = x + w - m-cur.w;
 -   if ((m-cur.y + m-cur.h)  (y + h))
 - m-cur.y = y + h - m-cur.h;
 +   if (m-cur.w = w)
 + {
 +if ((m-cur.x + m-cur.w)  (x + w))
 +  m-cur.x = x + w - m-cur.w;
 + }
 +   if (m-cur.h = h)
 + {
 +if ((m-cur.y + m-cur.h)  (y + h))
 +  m-cur.y = y + h - m-cur.h;
 + }
  }
m-prev.x = m-cur.x;
m-prev.y = m-cur.y;
 @@ -1796,7 +1802,7 @@
 int min_submenu_w = 0, min_submenu_h = 0;
 int min_toggle_w = 0, min_toggle_h = 0;
 int min_w = 0, min_h = 0;
 -   int zh = 0, ms = 0;
 +   int zh = 0, ms = 0, maxh = 0;
 unsigned int cur_items = 0, max_items = -1;
  
 e_box_freeze(m-container_object);
 @@ -1867,11 +1873,14 @@
 if (min_h * eina_list_count(m-items) = (unsigned int)m-zone-h)
   {
  e_zone_useful_geometry_get(m-zone, NULL, NULL, NULL, zh);
 -max_items = zh / min_h - 1;
 +maxh = zh * 2;
 +if (maxh  3) maxh = 3; // 32k x 32k mx coord limit 
 for
 wins
 +max_items = (maxh / min_h) - 1;
   }
 EINA_LIST_FOREACH(m-items, l, mi)
   {
 -if ((cur_items = max_items) || (zh  ((ms + (2 * mh) = zh)
 || (ms + (2 * mi-separator_h) = zh
 +if ((cur_items = max_items) ||
 +(maxh  ((ms + (2 * mh) = maxh) || (ms + (2 *
 mi-separator_h) = maxh {
   _e_menu_item_unrealize(mi);
   continue;
 
 


fyi this commit 100% breaks the Move to menu for me. I'll be reverting
it in a day or two if it isn't fixed
   
   then you're back to broken menus if item count exceeds screen height 
   (which
   wasnt broken in original menu code i wrote). i'm staring at a move-to
   menu/submenu thats displaying just fine. if it displays offscreen to the
   right it scrolls in when u mouse to the edge as the menu scroll code
   intends.
   
  
  it was your choice to clamp menu size to screen dimensions.
  
  I have two monitors with 16 desktops each; the menu displays fine in e17
  release, it doesn't appear AT ALL after your commit. huge regression,
  regardless of your intentions
 
 wtf? ok - well i can look at that, but it's going to have to wait until 
 tonight.
 
 

no rush, I've just been reverting it locally when I rebuild

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


Re: [E-devel] eo and efl

2012-12-29 Thread Vinícius dos Santos Oliveira
2012/12/29 Carsten Haitzler ras...@rasterman.com

 reality is day in and
 out people turn up looking at efl as a single unit.


When will EFL be a single unit? What release?

I think I'll have free time to help with the C++ binding in a few months.

-- 
Vinícius dos Santos Oliveira
https://plus.google.com/118295250366112843114
http://vinipsmaker.wordpress.com/

Linux user #481186

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


Re: [E-devel] eo and efl

2012-12-29 Thread The Rasterman
On Sat, 29 Dec 2012 21:39:13 -0300 Vinícius dos Santos Oliveira
vini.ipsma...@gmail.com said:

 2012/12/29 Carsten Haitzler ras...@rasterman.com
 
  reality is day in and
  out people turn up looking at efl as a single unit.
 
 
 When will EFL be a single unit? What release?
 
 I think I'll have free time to help with the C++ binding in a few months.

well we're already well on the way to having a single src tree. this may be
many releases down the road until we build single libefl.so's - it's still
debatable if we make 1 or to eg libeflcore.so libeflui.so etc. to split things
involved in ui from core back-end thigs that are useful for non-ui stuff like
servers etc. - but the first step is a single tree.

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


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


Re: [E-devel] [PATCH] e17: use #!/bin/bash for e_remote since it uses bash-specific features

2012-12-29 Thread P Purkayastha
On 12/30/2012 01:26 AM, Albin Tonnerre wrote:
 enlightenment_remote uses at least variable substitution (${var%%.*})
 and options (echo -e) that are not guaranteed to be available in
 stricter (wrt. what's in POSIX) shell implementations, which may lead to
 malfunction. Running the script using bash ensures things work as
 intended.
 ---
   data/tools/enlightenment_remote |2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
 index 45295bb..a5e5d74 100644
 --- a/data/tools/enlightenment_remote
 +++ b/data/tools/enlightenment_remote
 @@ -1,4 +1,4 @@
 -#!/bin/sh
 +#!/bin/bash
   #
   # See the function show_help_new_tool in order to know more about this tool



Are you sure variable substitution (using #, %, etc) is not POSIX? As 
far I could remember, it is POSIX. I also found it mentioned here, and a 
couple of other places on Google search:

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/korn_shell_parmsub1.htm

There are only two lines in enlightenment_remote which use echo -e and 
I think in both the lines they are unnecessary.


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


Re: [E-devel] E SVN: caro trunk/devs

2012-12-29 Thread David Seikel
On Sat, 29 Dec 2012 22:26:30 + Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:

 On Sat, 29 Dec 2012 14:24:24 -0800
 Enlightenment SVN no-re...@enlightenment.org wrote:
 
  Log:
  dev--

  
  Author:   caro
  Date: 2012-12-29 14:24:23 -0800 (Sat, 29 Dec 2012)
  New Revision: 81888
  Trac: http://trac.enlightenment.org/e/changeset/81888
  
  Removed:
trunk/devs/caro/ 
  
  
 
 WHAT??

I was wondering that to.  B-(

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


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


[E-devel] [PATCH] [Elementary] Patch to fix elementary list with separator

2012-12-29 Thread Thiep Ha
Hi all,

I sent this patch before, but there is no reply.
So, I resend it.
Since separators in list are not correctly applied (always have same size
with other items),
this patch is sent to fix that.
Could someone review it?

Thanks,
Thiep



From: thiep ha thiep...@samsung.com
 Date: Sun, Dec 9, 2012 at 11:11 AM
 Subject: [E-devel] [Patch] [Elementary] Patch to fix elementary list with
 separator
 To: enlightenment-devel@lists.sourceforge.net 
 enlightenment-devel@lists.sourceforge.net


 Dear All,

 In elementary list, the separator is not correctly set.
 I would like to send a patch to correct the list with separator.
 I also add an example named List Separator to test it.

 Please review this patch.

 Best Regards,
 Thiep Ha




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