Re: [E-devel] E SVN: barbieri IN trunk/ecore: . src/lib/ecore_evas

2011-05-31 Thread Thomas Gstädtner
On Fri, May 27, 2011 at 21:31, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 Ecore_Evas: introduce ecore_evas_screen_geometry_get()

  This common interface allows engines to provide whole screen
  information to users.

  Right now just X is implemented and it queries the size of the default
  screen. I hope this is fine.



 Author:       barbieri
 Date:         2011-05-27 12:31:11 -0700 (Fri, 27 May 2011)
 New Revision: 59761
 Trac:         http://trac.enlightenment.org/e/changeset/59761

 Modified:
  trunk/ecore/ChangeLog trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 
 trunk/ecore/src/lib/ecore_evas/ecore_evas.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_private.h 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_sdl.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_win32.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_wince.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c

 Modified: trunk/ecore/ChangeLog
 ===
 --- trunk/ecore/ChangeLog       2011-05-27 19:17:04 UTC (rev 59760)
 +++ trunk/ecore/ChangeLog       2011-05-27 19:31:11 UTC (rev 59761)
 @@ -198,3 +198,7 @@
         (_ecore_main_loop_iterate_internal). This fixes fd handler pending
         issue when ecore_idler callback adds ecore_job/event.
         * Ecore ecore_main.c: Refactoring _ecore_main_loop_iterate_internal().
 +
 +2011-05-27 Gustavo Sverzut Barbieri (k-s)
 +
 +       * Ecore_Evas: introduce ecore_evas_screen_geometry_get()

 Modified: trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h
 ===
 --- trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 2011-05-27 19:17:04 UTC (rev 
 59760)
 +++ trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 2011-05-27 19:31:11 UTC (rev 
 59761)
 @@ -350,6 +350,8 @@

  EAPI Ecore_Window ecore_evas_window_get(const Ecore_Evas *ee);

 +EAPI void        ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int 
 *x, int *y, int *w, int *h);
 +
  EAPI Eina_Bool    ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object 
 *obj, Ecore_Evas_Object_Associate_Flags flags);
  EAPI Eina_Bool    ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object 
 *obj);
  EAPI Evas_Object *ecore_evas_object_associate_get(const Ecore_Evas *ee);

 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas.c 2011-05-27 19:17:04 UTC (rev 
 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas.c 2011-05-27 19:31:11 UTC (rev 
 59761)
 @@ -2675,6 +2675,35 @@
    return ee-prop.window;
  }

 +/**
 + * Get whole screen geometry associated with this Ecore_Evas.
 + *
 + * @param ee The Ecore_Evas whose window's to query container screen 
 geometry.
 + * @param x where to return the horizontal offset value. May be NULL.
 + * @param y where to return the vertical offset value. May be NULL.
 + * @param w where to return the width value. May be NULL.
 + * @param h where to return the height value. May be NULL.
 + *
 + * @since 1.1
 + */
 +EAPI void
 +ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, 
 int *h)
 +{
 +   if (x) *x = 0;
 +   if (y) *y = 0;
 +   if (w) *w = 0;
 +   if (h) *h = 0;
 +   if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
 +     {
 +        ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
 +                         ecore_evas_screen_geometry_get);
 +        return;
 +     }
 +
 +   IFC(ee, fn_screen_geometry_get) (ee, x, y, w, h);
 +   IFE;
 +}
 +
  /* fps debug calls - for debugging how much time your app actually spends */
  /* rendering graphics... :) */


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c  2011-05-27 19:17:04 
 UTC (rev 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c  2011-05-27 19:31:11 
 UTC (rev 59761)
 @@ -491,7 +491,8 @@
      NULL,
      NULL, //transparent

 -     NULL // render
 +     NULL, // render
 +     NULL  // screen_geometry_get
  };
  #endif


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c        2011-05-27 
 19:17:04 UTC (rev 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c        2011-05-27 
 19:31:11 UTC (rev 59761)
 @@ -486,7 +486,8 @@
      NULL,                              /* alpha */
      NULL, //transparent

 -     NULL // render
 +     NULL, // render
 +     NULL  // screen_geometry_get
  };
  #endif


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c    

Re: [E-devel] [RFC] ELM GLView

2011-05-31 Thread The Rasterman
On Thu, 19 May 2011 16:37:11 +0900 Sung W. Park sung...@gmail.com said:

ok - started looking at this :) ummm...

 3:58PM ~/elmglview  ELM_ENGINE=gl ./elmglviewgears
vertex shader info: 
fragment shader info: 
info: 
ERR28146:evas-gl_x11 evas_engine.c:2582 eng_gl_make_current() xxxMakeCurrent
() failed!

?

 Thanks for your comments.
 
 Ok, I've added a focus_hook so it now handles events properly.  Now
 the elmglviewgears
 handles key events and mouse events.  You can rotate it using
 Left,Right,Up,Down Arrows
 or use the mouse and drag it.  It doesn't actually have a real
 trackball feature
 implemented so you will notice it not rotating it properly if you
 rotate it too much.
 
 I've dropped the elm_glview_z_get function.  I didn't think it was
 necessary for now.
 maybe we can add it later.
 
 Also, the gl_func_call api was for internal testing purpose and it was
 commented out
 in the patch but i've removed them completely in this patch.
 
 Also, I've made some changes with the API.   It has been brought to my
 attention that there is a performance issue with the way the current APIs are
 implemented. Currently, the render function was registered using the
 
 evas_object_image_pixels_get_callback_set
 
 This is so that it doesn't trigger GL rendering when the image object
 isn't visible.
 Unfortunately, it causes and extra make_current to be called during
 the rendering
 life cycle of evas.
 
 Evas Render... - (context switch) - EvasGL Renders - (context_switch) -
 Evas Finishes rendering
 
 The context switch is quite expensive in the hw driver that i'm using
 so it actually
 lowers the performance quite a bit.
 
 SO, after discussing it with a few people, we've decided to give an
 option to the user
 to choose the rendering policy.  If you choose to have render function
 render all the time,
 it avoids one extra context switch.
 
 EvasGL Renders - (context_switch) - Evas Renders
 
 Hence the render policy of RENDER_POLICY_ON_DEMAND vs. RENDER_POLICY_ALWAYS.
 
 I've also changed the name elm_glview_display_func to
 elm_glview_render_func
 
 Here's the latest set of elm_glview APIs...
 __
 
 typedef enum _Elm_GLView_Resize_Policy
   {
  ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,
  ELM_GLVIEW_RESIZE_POLICY_SCALE= 2
   } Elm_GLView_Resize_Policy;
 
 typedef enum _Elm_GLView_Render_Policy
   {
  ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,
  ELM_GLVIEW_RENDER_POLICY_ALWAYS= 2
   } Elm_GLView_Render_Policy;
 
 
 Evas_Object*elm_glview_add(Evas_Object *parent);
 void elm_glview_size_set(Evas_Object *obj, Evas_Coord
 width, Evas_Coord height);
 void elm_glview_size_get(Evas_Object *obj, Evas_Coord
 *width, Evas_Coord *height);
 Evas_GL_API  *elm_glview_gl_api_get(Evas_Object *obj);
 Eina_Boolelm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode);
 Eina_Boolelm_glview_scale_policy_set(Evas_Object *obj,
 Elm_GLView_Resize_Policy policy);
 Eina_Boolelm_glview_render_policy_set(Evas_Object *obj,
 Elm_GLView_Render_Policy policy);
 void elm_glview_render_func(Evas_Object *obj, Elm_GLView_Func
 func); void elm_glview_changed_set(Evas_Object *obj);
 __
 
 I'm including the updated elm_glview patch/files and the updated
 elmglviewgears.
 
 Let me know if you have questions/comments.
 
 cheers,
 Sung
 
 
 On Wed, May 18, 2011 at 7:10 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
 
  On Fri, 13 May 2011 00:00:50 +0900 Sung W. Park sung...@gmail.com said:
 
  ok. missing the focus hook thing u'd need if u want key events to work...
  display_func - render_func_set() probably better. z_get probably can be
  skipped if really too much of a pita.
 
  whats the gl_func_call api for.. why pass the func - u already set it? could
  set it then call a manual render.. if that's needed. is it really needed?
  curious.  :)
 
   Hi all,
  
   As you all know, I've been working on adding GL rendering features to
   Evas and we now have an early working version of Evas_GL in the svn.
  
   Since then, there's been a request from people around me for an
   elementary widget that
   allows simple GL rendering.  Since Evas_GL can be seen as a low level API
   it made sense to have a user friendly layer that allows GL rendering.  I
   thought it
   went well with the EFL philosophy.  Take away some control but make it
   easy to use for the users as you go up the layers from Evas-Ecore-ELM-
   etc.
  
   So, I've decided to take a crack at elm_glview.  By the way, this is
   my first time writing
   an elementary widget so I KNOW I've missed a lot that i need to handle.
    Also, I'm aware of the fact thatI need to handle input events. I'll need
   to figure that out
   but I open to comments and suggestions.  However, before I get all the
   nitty gritty
   detail right, I wanted to start a discussion with the community on the
   APIs and ask for suggestions.
  
   So far, 

Re: [E-devel] [Patch] evas textblock numeric escape support

2011-05-31 Thread Raoul Hecky
Great!

Thanks !

Le dimanche 29 mai 2011 13:44:05, vous avez écrit :
 On Fri, 2011-05-27 at 18:20 +0200, Raoul Hecky wrote:
  Hi,
  
  This is a new version after talk with Tasn on irc.
  
  Thanks.
 
 Dear Raoul,
 
 I reviewed and applied the patch with a couple of changes:
 1. I removed the surrogate pair range handling, because we don't want to
 lose the content and textblock will mark it as invalid later anyway. By
 removing this the content will remain the same when returned to the user
 by text_get.
 2. I moved checking our known list of code names so it'll compare
 against those only if it's not a numeric code.
 3. I added safety checks for the size of the copy so I merged the base
 dec and hex code paths.
 
 In svn.
 
 Thanks a lot for the patch,
 Tom.

-- 

Raoul Hecky
Calaos

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [BUG REPORT] elm_diskselector : Bad text cutting with non-ASCII characters

2011-05-31 Thread Daniel Juyung Seo
Hmm interesting examples.
But it has ellipsis problem when the item is at the center.
It's ellipsised too much.

Daniel Juyung Seo (SeoZ)

On Tue, May 31, 2011 at 3:06 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Wed, 18 May 2011 09:05:50 +0800 Brian Wang brian.wang.0...@gmail.com 
 said:

 fixed in svn! i added test cases for chopping up chinese, japanese, korean,
 arabic and hebrew as well as basic ascii english and german (utf8 umlauts and
 special chars).

 Hello all,

 elm_diskselector seems to support only ASCII characters when cutting
 the text strings at the sides.
 _check_string/_check_letter() may be examined.

 Does evas has some handy exported functions to cut the text at proper
 UTF-8 character boundaries?

 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

 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today.
 http://p.sf.net/sfu/quest-sfdev2dev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [RFC] ELM GLView

2011-05-31 Thread The Rasterman
On Thu, 19 May 2011 16:37:11 +0900 Sung W. Park sung...@gmail.com said:

1. func_set for setting render func.. :) 
2. fixes for size set for setting native buffer resolution/size - changing obj
size by a resize is not the way to go.
3. changes in policies were not enacted always. now they are.
4. a DEFAULT 64x64 buffer size :) so you have something at least as opposed to
0x0 :)
5. some other things...

also added my simple test case (i patched mine into elementary_test thus why
its created in a callback)

 Thanks for your comments.
 
 Ok, I've added a focus_hook so it now handles events properly.  Now
 the elmglviewgears
 handles key events and mouse events.  You can rotate it using
 Left,Right,Up,Down Arrows
 or use the mouse and drag it.  It doesn't actually have a real
 trackball feature
 implemented so you will notice it not rotating it properly if you
 rotate it too much.
 
 I've dropped the elm_glview_z_get function.  I didn't think it was
 necessary for now.
 maybe we can add it later.
 
 Also, the gl_func_call api was for internal testing purpose and it was
 commented out
 in the patch but i've removed them completely in this patch.
 
 Also, I've made some changes with the API.   It has been brought to my
 attention that there is a performance issue with the way the current APIs are
 implemented. Currently, the render function was registered using the
 
 evas_object_image_pixels_get_callback_set
 
 This is so that it doesn't trigger GL rendering when the image object
 isn't visible.
 Unfortunately, it causes and extra make_current to be called during
 the rendering
 life cycle of evas.
 
 Evas Render... - (context switch) - EvasGL Renders - (context_switch) -
 Evas Finishes rendering
 
 The context switch is quite expensive in the hw driver that i'm using
 so it actually
 lowers the performance quite a bit.
 
 SO, after discussing it with a few people, we've decided to give an
 option to the user
 to choose the rendering policy.  If you choose to have render function
 render all the time,
 it avoids one extra context switch.
 
 EvasGL Renders - (context_switch) - Evas Renders
 
 Hence the render policy of RENDER_POLICY_ON_DEMAND vs. RENDER_POLICY_ALWAYS.
 
 I've also changed the name elm_glview_display_func to
 elm_glview_render_func
 
 Here's the latest set of elm_glview APIs...
 __
 
 typedef enum _Elm_GLView_Resize_Policy
   {
  ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,
  ELM_GLVIEW_RESIZE_POLICY_SCALE= 2
   } Elm_GLView_Resize_Policy;
 
 typedef enum _Elm_GLView_Render_Policy
   {
  ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,
  ELM_GLVIEW_RENDER_POLICY_ALWAYS= 2
   } Elm_GLView_Render_Policy;
 
 
 Evas_Object*elm_glview_add(Evas_Object *parent);
 void elm_glview_size_set(Evas_Object *obj, Evas_Coord
 width, Evas_Coord height);
 void elm_glview_size_get(Evas_Object *obj, Evas_Coord
 *width, Evas_Coord *height);
 Evas_GL_API  *elm_glview_gl_api_get(Evas_Object *obj);
 Eina_Boolelm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode);
 Eina_Boolelm_glview_scale_policy_set(Evas_Object *obj,
 Elm_GLView_Resize_Policy policy);
 Eina_Boolelm_glview_render_policy_set(Evas_Object *obj,
 Elm_GLView_Render_Policy policy);
 void elm_glview_render_func(Evas_Object *obj, Elm_GLView_Func
 func); void elm_glview_changed_set(Evas_Object *obj);
 __
 
 I'm including the updated elm_glview patch/files and the updated
 elmglviewgears.
 
 Let me know if you have questions/comments.
 
 cheers,
 Sung
 
 
 On Wed, May 18, 2011 at 7:10 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
 
  On Fri, 13 May 2011 00:00:50 +0900 Sung W. Park sung...@gmail.com said:
 
  ok. missing the focus hook thing u'd need if u want key events to work...
  display_func - render_func_set() probably better. z_get probably can be
  skipped if really too much of a pita.
 
  whats the gl_func_call api for.. why pass the func - u already set it? could
  set it then call a manual render.. if that's needed. is it really needed?
  curious.  :)
 
   Hi all,
  
   As you all know, I've been working on adding GL rendering features to
   Evas and we now have an early working version of Evas_GL in the svn.
  
   Since then, there's been a request from people around me for an
   elementary widget that
   allows simple GL rendering.  Since Evas_GL can be seen as a low level API
   it made sense to have a user friendly layer that allows GL rendering.  I
   thought it
   went well with the EFL philosophy.  Take away some control but make it
   easy to use for the users as you go up the layers from Evas-Ecore-ELM-
   etc.
  
   So, I've decided to take a crack at elm_glview.  By the way, this is
   my first time writing
   an elementary widget so I KNOW I've missed a lot that i need to handle.
    Also, I'm aware of the fact thatI need to handle input events. I'll need
   to figure that out
   but I 

Re: [E-devel] [BUG REPORT] elm_diskselector : Bad text cutting with non-ASCII characters

2011-05-31 Thread The Rasterman
On Tue, 31 May 2011 16:35:17 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

not here... works for me... but mind you.. when the text is too long it does
the ellipsis thing anyway at any stage - that wasnt a change i made to the
code. it did that anyway. i just fixed its chopping of text to be utf8
compliant.

 Hmm interesting examples.
 But it has ellipsis problem when the item is at the center.
 It's ellipsised too much.
 
 Daniel Juyung Seo (SeoZ)
 
 On Tue, May 31, 2011 at 3:06 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Wed, 18 May 2011 09:05:50 +0800 Brian Wang brian.wang.0...@gmail.com
  said:
 
  fixed in svn! i added test cases for chopping up chinese, japanese, korean,
  arabic and hebrew as well as basic ascii english and german (utf8 umlauts
  and special chars).
 
  Hello all,
 
  elm_diskselector seems to support only ASCII characters when cutting
  the text strings at the sides.
  _check_string/_check_letter() may be examined.
 
  Does evas has some handy exported functions to cut the text at proper
  UTF-8 character boundaries?
 
  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
 
  --
  What Every C/C++ and Fortran developer Should Know!
  Read this article and learn how Intel has extended the reach of its
  next-generation tools to help Windows* and Linux* C/C++ and Fortran
  developers boost performance applications - including clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  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
 
 
  --
  Simplify data backup and recovery for your virtual environment with vRanger.
  Installation's a snap, and flexible recovery options mean your data is safe,
  secure and there when you need it. Data protection magic?
  Nope - It's vRanger. Get your free trial download today.
  http://p.sf.net/sfu/quest-sfdev2dev
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 


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


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: barbieri IN trunk/ecore: . src/lib/ecore_evas

2011-05-31 Thread Thomas Gstädtner
On Tue, May 31, 2011 at 08:34, Thomas Gstädtner tho...@gstaedtner.net wrote:
 On Fri, May 27, 2011 at 21:31, Enlightenment SVN
 no-re...@enlightenment.org wrote:
 Log:
 Ecore_Evas: introduce ecore_evas_screen_geometry_get()

  This common interface allows engines to provide whole screen
  information to users.

  Right now just X is implemented and it queries the size of the default
  screen. I hope this is fine.



 Author:       barbieri
 Date:         2011-05-27 12:31:11 -0700 (Fri, 27 May 2011)
 New Revision: 59761
 Trac:         http://trac.enlightenment.org/e/changeset/59761

 Modified:
  trunk/ecore/ChangeLog trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 
 trunk/ecore/src/lib/ecore_evas/ecore_evas.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_private.h 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_sdl.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_win32.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_wince.c 
 trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c

 Modified: trunk/ecore/ChangeLog
 ===
 --- trunk/ecore/ChangeLog       2011-05-27 19:17:04 UTC (rev 59760)
 +++ trunk/ecore/ChangeLog       2011-05-27 19:31:11 UTC (rev 59761)
 @@ -198,3 +198,7 @@
         (_ecore_main_loop_iterate_internal). This fixes fd handler pending
         issue when ecore_idler callback adds ecore_job/event.
         * Ecore ecore_main.c: Refactoring 
 _ecore_main_loop_iterate_internal().
 +
 +2011-05-27 Gustavo Sverzut Barbieri (k-s)
 +
 +       * Ecore_Evas: introduce ecore_evas_screen_geometry_get()

 Modified: trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h
 ===
 --- trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 2011-05-27 19:17:04 UTC (rev 
 59760)
 +++ trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 2011-05-27 19:31:11 UTC (rev 
 59761)
 @@ -350,6 +350,8 @@

  EAPI Ecore_Window ecore_evas_window_get(const Ecore_Evas *ee);

 +EAPI void        ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int 
 *x, int *y, int *w, int *h);
 +
  EAPI Eina_Bool    ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object 
 *obj, Ecore_Evas_Object_Associate_Flags flags);
  EAPI Eina_Bool    ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object 
 *obj);
  EAPI Evas_Object *ecore_evas_object_associate_get(const Ecore_Evas *ee);

 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas.c 2011-05-27 19:17:04 UTC (rev 
 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas.c 2011-05-27 19:31:11 UTC (rev 
 59761)
 @@ -2675,6 +2675,35 @@
    return ee-prop.window;
  }

 +/**
 + * Get whole screen geometry associated with this Ecore_Evas.
 + *
 + * @param ee The Ecore_Evas whose window's to query container screen 
 geometry.
 + * @param x where to return the horizontal offset value. May be NULL.
 + * @param y where to return the vertical offset value. May be NULL.
 + * @param w where to return the width value. May be NULL.
 + * @param h where to return the height value. May be NULL.
 + *
 + * @since 1.1
 + */
 +EAPI void
 +ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int 
 *w, int *h)
 +{
 +   if (x) *x = 0;
 +   if (y) *y = 0;
 +   if (w) *w = 0;
 +   if (h) *h = 0;
 +   if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
 +     {
 +        ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
 +                         ecore_evas_screen_geometry_get);
 +        return;
 +     }
 +
 +   IFC(ee, fn_screen_geometry_get) (ee, x, y, w, h);
 +   IFE;
 +}
 +
  /* fps debug calls - for debugging how much time your app actually spends */
  /* rendering graphics... :) */


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c  2011-05-27 19:17:04 
 UTC (rev 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_buffer.c  2011-05-27 19:31:11 
 UTC (rev 59761)
 @@ -491,7 +491,8 @@
      NULL,
      NULL, //transparent

 -     NULL // render
 +     NULL, // render
 +     NULL  // screen_geometry_get
  };
  #endif


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
 ===
 --- trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c        2011-05-27 
 19:17:04 UTC (rev 59760)
 +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_directfb.c        2011-05-27 
 19:31:11 UTC (rev 59761)
 @@ -486,7 +486,8 @@
      NULL,                              /* alpha */
      NULL, //transparent

 -     NULL // render
 +     NULL, // render
 +     NULL  // screen_geometry_get
  };
  #endif


 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c
 

[E-devel] Question about edje_cc error

2011-05-31 Thread WooHyun Jung
Hello. All. 

I encountered one edje_cc error, and tried to resolve.. but hard : (

This error is shown when Macro is used. 

I attached a patch file for making problem situation.

After adapting patch, you can see the following error message. 

 

ERR18498:edje_cc edje_cc_parse.c:1376 _funcf() /usr/local/bin/edje_cc:
Error. ../../data/themes/default.edc:1973 unexpected character at @0)/8)

 

Does anybody have a idea about this? 


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Question about edje_cc error

2011-05-31 Thread WooHyun Jung
Missed file ~ Sorry 




problem_edc.patch
Description: Binary data
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Question about edje_cc error

2011-05-31 Thread WooHyun Jung
Missed file Sorry T _ T

 

From: WooHyun Jung [mailto:wh0705.j...@samsung.com] 
Sent: Tuesday, May 31, 2011 9:34 PM
To: 'enlightenment-devel@lists.sourceforge.net'
Subject: Question about edje_cc error 

 

Hello. All. 

I encountered one edje_cc error, and tried to resolve.. but hard : (

This error is shown when Macro is used. 

I attached a patch file for making problem situation.

After adapting patch, you can see the following error message. 

 

ERR18498:edje_cc edje_cc_parse.c:1376 _funcf() /usr/local/bin/edje_cc:
Error. ../../data/themes/default.edc:1973 unexpected character at @0)/8)

 

Does anybody have a idea about this? 




problem_edc.patch
Description: Binary data
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] edje_cc error on Windows

2011-05-31 Thread Vincent Torri


Hey,

Here are the error I get since I updated the repo:

'evas_image_loader.edj' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ERR:edje edje_calc.c:1880 _edje_image_recalc_apply() Error loading image collection 
edje/images/154 from file 
C:\MinGW\msys\1.0\efl\share\elementary/themes/default.edj. Missing EET Evas loader 
module?
ERR:edje edje_calc.c:1899 _edje_image_recalc_apply() Error type: 
EVAS_LOAD_ERROR_UNKNOWN_FORMAT

it seems it fails at loading edje/images/154 155 and 156 only. I don't 
know what those 3 images are (is there a way to know ?).


eet is correctly installed, the loader exists (i tested it with a test 
program). I seems that edje_cc fails at using the eet loader and try the 
generic evas_image_loader.edj instead (which of course does not exist).


So does someone see where I can start digging in the edje_cc code ?

thank you

Vincent--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc error on Windows

2011-05-31 Thread Cedric BAIL
On Tue, May 31, 2011 at 5:14 PM, Vincent Torri vto...@univ-evry.fr wrote:
 Here are the error I get since I updated the repo:

 'evas_image_loader.edj' n'est pas reconnu en tant que commande interne
 ou externe, un programme exécutable ou un fichier de commandes.
 ERR:edje edje_calc.c:1880 _edje_image_recalc_apply() Error loading image
 collection edje/images/154 from file
 C:\MinGW\msys\1.0\efl\share\elementary/themes/default.edj. Missing EET
 Evas loader module?
 ERR:edje edje_calc.c:1899 _edje_image_recalc_apply() Error type:
 EVAS_LOAD_ERROR_UNKNOWN_FORMAT

 it seems it fails at loading edje/images/154 155 and 156 only. I don't know
 what those 3 images are (is there a way to know ?).

 eet is correctly installed, the loader exists (i tested it with a test
 program). I seems that edje_cc fails at using the eet loader and try the
 generic evas_image_loader.edj instead (which of course does not exist).

 So does someone see where I can start digging in the edje_cc code ?

Sounds like an issue in evas or below. edje_cc doesn't start the
generic loader, evas try it when it fail to open with all the other
possibility. For an unknow reason eet loader doesn't work. Maybe add
some printf in eet loader, then inside eet itself. How did you
generate your edj ?
-- 
Cedric BAIL

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc error on Windows

2011-05-31 Thread Vincent Torri



On Tue, 31 May 2011, Cedric BAIL wrote:


On Tue, May 31, 2011 at 5:14 PM, Vincent Torri vto...@univ-evry.fr wrote:

Here are the error I get since I updated the repo:

'evas_image_loader.edj' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ERR:edje edje_calc.c:1880 _edje_image_recalc_apply() Error loading image
collection edje/images/154 from file
C:\MinGW\msys\1.0\efl\share\elementary/themes/default.edj. Missing EET
Evas loader module?
ERR:edje edje_calc.c:1899 _edje_image_recalc_apply() Error type:
EVAS_LOAD_ERROR_UNKNOWN_FORMAT

it seems it fails at loading edje/images/154 155 and 156 only. I don't know
what those 3 images are (is there a way to know ?).

eet is correctly installed, the loader exists (i tested it with a test
program). I seems that edje_cc fails at using the eet loader and try the
generic evas_image_loader.edj instead (which of course does not exist).

So does someone see where I can start digging in the edje_cc code ?


Sounds like an issue in evas or below. edje_cc doesn't start the
generic loader, evas try it when it fail to open with all the other
possibility. For an unknow reason eet loader doesn't work. Maybe add
some printf in eet loader, then inside eet itself. How did you
generate your edj ?


edje_cc, it's the elementary theme.

Vincent--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc error on Windows

2011-05-31 Thread Vincent Torri



On Tue, 31 May 2011, Vincent Torri wrote:




On Tue, 31 May 2011, Cedric BAIL wrote:


On Tue, May 31, 2011 at 5:14 PM, Vincent Torri vto...@univ-evry.fr wrote:

Here are the error I get since I updated the repo:

'evas_image_loader.edj' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ERR:edje edje_calc.c:1880 _edje_image_recalc_apply() Error loading image
collection edje/images/154 from file
C:\MinGW\msys\1.0\efl\share\elementary/themes/default.edj. Missing EET
Evas loader module?
ERR:edje edje_calc.c:1899 _edje_image_recalc_apply() Error type:
EVAS_LOAD_ERROR_UNKNOWN_FORMAT

it seems it fails at loading edje/images/154 155 and 156 only. I don't 
know

what those 3 images are (is there a way to know ?).

eet is correctly installed, the loader exists (i tested it with a test
program). I seems that edje_cc fails at using the eet loader and try the
generic evas_image_loader.edj instead (which of course does not exist).

So does someone see where I can start digging in the edje_cc code ?


Sounds like an issue in evas or below. edje_cc doesn't start the
generic loader, evas try it when it fail to open with all the other
possibility. For an unknow reason eet loader doesn't work. Maybe add
some printf in eet loader, then inside eet itself. How did you
generate your edj ?


edje_cc, it's the elementary theme.


I copied the default.edj theme from linux to Windows, and I have the same 
problem, so there are good chances that there is no problem with the 
creation of the theme.


I'll check the eet loader, then eet itself

thanks

Vincent--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-05-31 Thread David Seikel
On Fri, 27 May 2011 22:57:20 +0900 Carsten Haitzler (The Rasterman)
ras...@rasterman.com wrote:

 On Fri, 27 May 2011 23:38:43 +1000 David Seikel onef...@gmail.com
 said:
 
  On Fri, 27 May 2011 10:16:28 -0300 Iván Briano (Sachiel)
  sachi...@gmail.com wrote:
  
   2011/5/27 David Seikel onef...@gmail.com:
On Fri, 27 May 2011 19:47:52 +1000 David Seikel
onef...@gmail.com wrote:
   
I'm looking at ecore_fb_kbd.c, and I can't see any place where
the keyboard fd (_ecore_fb_kdb_fd) is set to anything other
than -1. Unless it's hiding under a macro somewhere.
   
Never mind about that file, seems it's deprecated, and not even
compiled.
   
Leaves me still searching for where framebuffer keyboard input
is handled, if it is handled at all.  If not, I can write it
myself.
   
   
   Just guessing here, but look around the ecore_input stuff.
  
  Grepping through the source did not find anything in ecore or evas
  that's using stdin.  I think it's all X input and IMF.
  
  Is / was anyone working on that?
 
 ecore_fb_input_device_open() oipens A linux input device - based on
 querying properties.. it handles it appropriately.
 
 _ecore_evas_fb_init() rummages around opening every input device it
 can :)

Hmmm, way past me bed time, but sleep is for the weak.

Looks like when using the above, and a USB keyboard is unplugged, the
kernel panics.  I'll investigate more after I've had some sleep.

-- 
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
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: acidx trunk/edje/src/lib

2011-05-31 Thread Vincent Torri


On Tue, 31 May 2011, Enlightenment SVN wrote:

 Log:
 [Edje] Make sure ed-members isn't NULL when freeing an Edje object.



 Author:   acidx
 Date: 2011-05-31 11:27:28 -0700 (Tue, 31 May 2011)
 New Revision: 59853
 Trac: http://trac.enlightenment.org/e/changeset/59853

 Modified:
  trunk/edje/src/lib/edje_main.c

 Modified: trunk/edje/src/lib/edje_main.c
 ===
 --- trunk/edje/src/lib/edje_main.c2011-05-31 18:05:31 UTC (rev 59852)
 +++ trunk/edje/src/lib/edje_main.c2011-05-31 18:27:28 UTC (rev 59853)
 @@ -201,7 +201,7 @@
 free(cb);
  }

 -   eina_hash_free(ed-members);
 +   if (ed-members) eina_hash_free(ed-members);

eina_hash_free has a check :

EINA_MAGIC_CHECK_HASH(hash);
EINA_SAFETY_ON_NULL_RETURN(hash);

so is it really needed ?

Vincent

free(ed);
 }



 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Data protection magic?
 Nope - It's vRanger. Get your free trial download today.
 http://p.sf.net/sfu/quest-sfdev2dev
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-05-31 Thread Mark-Willem Jansen

It would also be nice to debianize the packages which are in 
the snapshot directory. These are probably stable enough to go into 
the main debian repo. Lutin can upload them into the debian unstable repo. 
That way more achitects will be supported and more e17 related packages will 
get into debian based distributions.
--Mark-Willem Jansen

 Date: Fri, 27 May 2011 09:29:29 +0900
 From: ras...@rasterman.com
 To: michael.bouch...@gmail.com
 CC: enlightenment-devel@lists.sourceforge.net
 Subject: Re: [E-devel] about packaging/debian directories

 On Fri, 27 May 2011 02:17:06 +0200 michael bouchaud
  said:

 sleep? SLEEP? how dare you sleep! :) back to work!

 /me crack the whip

 MWHAHAHAHAHHAHAHAHAHA

 ok - just kidding. no big hurry, but if you get to it, putting the updated pkg
 stuff in svn will be good. if we have an automated script to build pkg's for
 deb/ubuntu etc. then it will get tested and updated and we can easily support 
 a
 ppa for efl etc.

  Yes my dear friends, I've planned to do it today but I have to sleep
 
  2011/5/26 Carsten Haitzler 
 
   On Thu, 19 May 2011 22:10:35 +0200 michael bouchaud
said:
  
   does someone want to merge/steal lutin's stuff? if someone starts and
   steals
   it.. i'll try set up a daily package build and get it up on e.org.
  
Lutin made a very good packaging on debian
http://packages.qa.debian.org/e/eina.html. Maybee it will be a good
   things
to merge this work. The stuff in svn are very old and incomplete. Me too
   I
managed my own debian package but I use the work of Lutin to made the 
new
package.
   
   
2011/5/19 Gustavo Sverzut Barbieri 
   
 Yes, they must be updated or removed. We're doing that with gentoo: we
   have
 testing packages in enlightenment's svn until they are merged by
   upstream.

 On May 19, 2011 3:05 PM, PaulTT  wrote:

 i compile my own debian packages since long ago
 and i'm happy with that, so i can control the revision i compile and
 be stable for a while or try new releases or go back to previous state

 anyway, i also use 'my' debian directories to biuld the packages, i
 noticed that in packaging/debian, there are the skeletons of those
 dirs, but they're not the ones used by debian developpers
 (they are located something around
 here:git://git.debian.org/pkg-e/libs/ , so apt-get source says)

 why is that?

 is there a need to update the ones under packaging? i can do that, if
 it's necessary

 by, thanx, PaulTT



   --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


   --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

   
   
   
--
Michaël Bouchaud
   
   --
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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
  
  
 
 
  --
  Michaël Bouchaud
  --
  vRanger cuts backup time in half-while increasing security.
  With the market-leading solution for virtual backup and recovery,
  you get blazing-fast, flexible, and affordable data protection.
  Download your free trial now.
  

Re: [E-devel] E SVN: acidx trunk/edje/src/lib

2011-05-31 Thread Lucas De Marchi
On Tue, May 31, 2011 at 5:56 PM, Vincent Torri vto...@univ-evry.fr wrote:


 On Tue, 31 May 2011, Enlightenment SVN wrote:

 Log:
 [Edje] Make sure ed-members isn't NULL when freeing an Edje object.



 Author:       acidx
 Date:         2011-05-31 11:27:28 -0700 (Tue, 31 May 2011)
 New Revision: 59853
 Trac:         http://trac.enlightenment.org/e/changeset/59853

 Modified:
  trunk/edje/src/lib/edje_main.c

 Modified: trunk/edje/src/lib/edje_main.c
 ===
 --- trunk/edje/src/lib/edje_main.c    2011-05-31 18:05:31 UTC (rev 59852)
 +++ trunk/edje/src/lib/edje_main.c    2011-05-31 18:27:28 UTC (rev 59853)
 @@ -201,7 +201,7 @@
         free(cb);
      }

 -   eina_hash_free(ed-members);
 +   if (ed-members) eina_hash_free(ed-members);

 eina_hash_free has a check :

    EINA_MAGIC_CHECK_HASH(hash);
    EINA_SAFETY_ON_NULL_RETURN(hash);

EINA_SAFETY_* will just protect of program taking a wrong path, which
will be properly logged so user sees there's something wrong.


If it's ok to have ed-members as NULL at that place, then yes, the
coded added is needed.




Lucas De Marchi

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_cc error on Windows

2011-05-31 Thread rob
On 31/05/11 17:26, Vincent Torri wrote:


 On Tue, 31 May 2011, Vincent Torri wrote:



 On Tue, 31 May 2011, Cedric BAIL wrote:

 On Tue, May 31, 2011 at 5:14 PM, Vincent Torri vto...@univ-evry.fr
 wrote:
 Here are the error I get since I updated the repo:

 'evas_image_loader.edj' n'est pas reconnu en tant que commande interne
 ou externe, un programme exécutable ou un fichier de commandes.
 ERR:edje edje_calc.c:1880 _edje_image_recalc_apply() Error loading
 image
 collection edje/images/154 from file
 C:\MinGW\msys\1.0\efl\share\elementary/themes/default.edj. Missing
 EET
 Evas loader module?
 ERR:edje edje_calc.c:1899 _edje_image_recalc_apply() Error type:
 EVAS_LOAD_ERROR_UNKNOWN_FORMAT

 it seems it fails at loading edje/images/154 155 and 156 only. I
 don't know
 what those 3 images are (is there a way to know ?).

 eet is correctly installed, the loader exists (i tested it with a test
 program). I seems that edje_cc fails at using the eet loader and try
 the
 generic evas_image_loader.edj instead (which of course does not exist).

 So does someone see where I can start digging in the edje_cc code ?

 Sounds like an issue in evas or below. edje_cc doesn't start the
 generic loader, evas try it when it fail to open with all the other
 possibility. For an unknow reason eet loader doesn't work. Maybe add
 some printf in eet loader, then inside eet itself. How did you
 generate your edj ?

 edje_cc, it's the elementary theme.

 I copied the default.edj theme from linux to Windows, and I have the
 same problem, so there are good chances that there is no problem with
 the creation of the theme.

 I'll check the eet loader, then eet itself

 thanks

 Vincent


Is the wallpaper ?module? affected? Going to Picture, then selecting 
picture to have as wallpaper get:

  Enlightenment was unable to import picture due to conversion errors

Following shows up on console:

sh: evas_image_loader.thm: not found
sh: evas_image_loader.thm: not found
sh: evas_image_loader.thm: not found
sh: evas_image_loader.thm: not found
sh: evas_image_loader.thm: not found
sh: evas_image_loader.thm: not found
ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER
ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER
edje_cc: Wrote   152 bytes (   0Kb) for edje_file header
edje_cc: Error. Unable to load image pict0646-3310511edt.png used by 
file /home/rat/.e/e/backgrounds/pict0646-3310511edt.edj: File (or file 
path) does not exist. Check if path to file pict0646-3310511edt.png is 
correct (both directory and file name).
ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER
ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER




rob

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-05-31 Thread The Rasterman
On Wed, 1 Jun 2011 06:39:23 +1000 David Seikel onef...@gmail.com said:

 On Fri, 27 May 2011 22:57:20 +0900 Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:
 
  On Fri, 27 May 2011 23:38:43 +1000 David Seikel onef...@gmail.com
  said:
  
   On Fri, 27 May 2011 10:16:28 -0300 Iván Briano (Sachiel)
   sachi...@gmail.com wrote:
   
2011/5/27 David Seikel onef...@gmail.com:
 On Fri, 27 May 2011 19:47:52 +1000 David Seikel
 onef...@gmail.com wrote:

 I'm looking at ecore_fb_kbd.c, and I can't see any place where
 the keyboard fd (_ecore_fb_kdb_fd) is set to anything other
 than -1. Unless it's hiding under a macro somewhere.

 Never mind about that file, seems it's deprecated, and not even
 compiled.

 Leaves me still searching for where framebuffer keyboard input
 is handled, if it is handled at all.  If not, I can write it
 myself.


Just guessing here, but look around the ecore_input stuff.
   
   Grepping through the source did not find anything in ecore or evas
   that's using stdin.  I think it's all X input and IMF.
   
   Is / was anyone working on that?
  
  ecore_fb_input_device_open() oipens A linux input device - based on
  querying properties.. it handles it appropriately.
  
  _ecore_evas_fb_init() rummages around opening every input device it
  can :)
 
 Hmmm, way past me bed time, but sleep is for the weak.
 
 Looks like when using the above, and a USB keyboard is unplugged, the
 kernel panics.  I'll investigate more after I've had some sleep.

a kernel panic... is definitely a kernel problem. just unplugging some usb
device being used for sure! dont know if ecore_fb handles teh vanishing of the
device properly (and then dynamic plugging in again later).

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


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Windows installer

2011-05-31 Thread The Rasterman
On Wed, 1 Jun 2011 10:13:24 +0900 Daniel Juyung Seo seojuyu...@gmail.com said:

it'd work. windows has backwards compatibility to pretty much all the way back
to windows 3.1... so i see no reason it wouldnt work.

 Is there any support for Windows 7?
 
 Daniel Juyung Seo (SeoZ)
 
 On Wed, May 11, 2011 at 6:23 PM, Vincent Torri vto...@univ-evry.fr wrote:
 
 
  On Wed, 11 May 2011, Cedric BAIL wrote:
 
  On Wed, May 11, 2011 at 10:26 AM, Vincent Torri vto...@univ-evry.fr
  wrote:
 
  On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote:
 
  On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri
  vto...@univ-evry.fr
  said:
 
  On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote:
 
  On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri
  vto...@univ-evry.fr
  said:
 
  got a q... whats the status of elm on windows? does it work? (i guess
  in
  theory it should)
 
  elementary_test works for a lot of tests. Some images have a hard coded
  path, so for the tests that use those images, it's not working.
 
  aaah sure. thats an elm test issue. i added proper prefix support to
  eina and
  elm now so i CAN make it relocatable properly. but elm itself works.
  cool.
 
  for the optional features:
 
    * efreet : efreet can be used to load some fdo icons (like the Tango
      ones)
 
  ok. so it works?
 
  not sure right now. I was focused on eina/ecore the past few months, so i
  can't say for sure that it's still working.
 
    * edbus/ethumb: i can't manage to make dbus working on Windows and
  the
      dbus dev don't help me.
 
  no problem. thus its an optional feature :)
 
    * weather : never tried to compile libeweather on Windows
 
  don;'t worry about that. :)
 
    * quick launch : i don't know if it's possible to have something
      similar on Windows devices.
 
  don't worry about that either :)
 
  Why, btw ? :-)
 
  someone asked what the status is. :) since i have no windows box on or
  windows
  dev env up... i have no clue but to ask the king of windows efl fun -
  you. :)
 
  VirtualBox can help you :-)
 
  That's a good idea, how difficult is it to use the windows dev
  environnement. Is it possible to just run a Makefile easily ? Just
  wondering how difficult it is for me to do a daily build of the
  windows port.
 
  If you have a Windows box or Windows inside, the installation is easy and
  not complicated at all:
 
  http://trac.enlightenment.org/e/wiki/EFLWindowsXP#InstallationandconfigurationofMSYSMinGW
 
  basically, you download the mingw installer, execute it, select some
  options, et voila.
 
  The next step is the configuration, which is not complicated too. All the
  steps are described in the wiki above.
 
  For a dayly build, I use a script which upgrade from svn, compile (debug and
  realase mode), package it, and and NSIS script to create the installer. It's
  as easy as the e17 script.
 
  Vincent
 
  Once ecore_con is finished and eina is updated (with the last eina_lock
  stuff), I plan to release another installer as I greatly improved the
  rendering of the windows (the resize and move is sooo smooth compared to
  what it is in this installer :-) )
 
  Yeah ! You rock master of all evilness ! :-)
  --
  Cedric BAIL
 
 
  --
  Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  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


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] DesktopSummit 2011 in Berlin

2011-05-31 Thread The Rasterman
On Thu, 26 May 2011 13:20:30 +0200 Brian 'morlenxus' Miculcy
morlen...@gmx.net said:

 I received the attached mail about the Desktop Summit 2011 in Berlin.
 Is someone willing and able to represent enlightenment?
 As i'm already in Berlin i probably will have some time for this event...

no idea. no way i can know this far in advance

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


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] language site

2011-05-31 Thread The Rasterman
On Sat, 28 May 2011 04:07:52 +0300 المسالم المسالمة
almusalimalmusali...@gmail.com said:

well problem is something to do with fastcgi. i don't know what's up here.
whoever set up l10n could you please look into it? no idea what's up and tbh
it's unlikely to get fixed any time soon.

as per usual someone goes and uses some web scms infra thing sets it up then
vanishes and everyone else is left with some lump of stuff to figure out.

me - i call the site dead unless someone maintains it. sorry. just don't have
the time to go maintain it or manage it or learn yet another web infra thing.

 hello every one
 
 i had tried so many times to enter
 
 http://l10n.enlightenment.org/
 
 before more than 2 weeks
 
 but i cant
 
 all what i got there when the page is copletly loaded is this message
 
 ===
 
 Internal Server Error
 
 The server encountered an internal error or misconfiguration and was unable
 to complete your request.
 
 Please contact the server administrator, [no address given] and inform them
 of the time the error occurred, and anything you might have done that may
 have caused the error.
 
 More information about this error may be available in the server error log.
 --
 Apache/2.2.17 (Debian) Server at l10n.enlightenment.org Port 80
 
 ===
 
 so is there any suggestion here
 
 please help i need it to update the languages packages
 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery, 
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now. 
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 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


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-05-31 Thread David Seikel
On Wed, 1 Jun 2011 08:47:50 +0900 Carsten Haitzler (The Rasterman)
ras...@rasterman.com wrote:

 On Wed, 1 Jun 2011 06:39:23 +1000 David Seikel onef...@gmail.com
 said:
 
  On Fri, 27 May 2011 22:57:20 +0900 Carsten Haitzler (The Rasterman)
  ras...@rasterman.com wrote:
  
   On Fri, 27 May 2011 23:38:43 +1000 David Seikel
   onef...@gmail.com said:
   
On Fri, 27 May 2011 10:16:28 -0300 Iván Briano (Sachiel)
sachi...@gmail.com wrote:

 2011/5/27 David Seikel onef...@gmail.com:
  On Fri, 27 May 2011 19:47:52 +1000 David Seikel
  onef...@gmail.com wrote:
 
  I'm looking at ecore_fb_kbd.c, and I can't see any place
  where the keyboard fd (_ecore_fb_kdb_fd) is set to
  anything other than -1. Unless it's hiding under a macro
  somewhere.
 
  Never mind about that file, seems it's deprecated, and not
  even compiled.
 
  Leaves me still searching for where framebuffer keyboard
  input is handled, if it is handled at all.  If not, I can
  write it myself.
 
 
 Just guessing here, but look around the ecore_input stuff.

Grepping through the source did not find anything in ecore or
evas that's using stdin.  I think it's all X input and IMF.

Is / was anyone working on that?
   
   ecore_fb_input_device_open() oipens A linux input device - based
   on querying properties.. it handles it appropriately.
   
   _ecore_evas_fb_init() rummages around opening every input device
   it can :)
  
  Hmmm, way past me bed time, but sleep is for the weak.
  
  Looks like when using the above, and a USB keyboard is unplugged,
  the kernel panics.  I'll investigate more after I've had some sleep.
 
 a kernel panic... is definitely a kernel problem. just unplugging
 some usb device being used for sure! dont know if ecore_fb handles
 teh vanishing of the device properly (and then dynamic plugging in
 again later).

Well no.  It only panics when elementary_test is running.  If it's just
sitting at the shell prompt, no problem, things just keep running fine.
And no idea about if I plug it back in again, since I don't get a
chance to before the panic.

On the other hand, I don't KNOW for sure if it's a kernel panic, since
elementary_test has taken over the screen at that point, there is no
visible console to see any messages.  The system just reboots.

I think that classifies as ecore_fb not handling the vanishing of the
device properly though.

This linux system is one I'm building from scratch, just enough so far
to let me run elementary_test in fb mode.  Plumbing in debugging stuff
so I can see what goes on is still a TODO item.  I just got to the point
where elementary_test is reacting to the keyboard last night, next step
is supposed to be writing a simple elementary app to start testing with.

If it helps - during development there are usualy two USB keyboards
plugged in.  Makes no difference to this problem which one is plugged
in to start with, or which one is unplugged, or even whether both are
plugged in to start with.  The end result of this project will have to
be able to deal with one being plugged in all the time, the other only
being plugged in sometimes while the system is running.

-- 
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
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Windows installer

2011-05-31 Thread Vincent Torri



On Wed, 1 Jun 2011, Daniel Juyung Seo wrote:


Is there any support for Windows 7?


I have no Windows 7, but i remember that someone tried and it worked, but 
he had to force some compatibility mode with XP.


Vincent


Daniel Juyung Seo (SeoZ)

On Wed, May 11, 2011 at 6:23 PM, Vincent Torri vto...@univ-evry.fr wrote:



On Wed, 11 May 2011, Cedric BAIL wrote:


On Wed, May 11, 2011 at 10:26 AM, Vincent Torri vto...@univ-evry.fr
wrote:


On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote:


On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri
vto...@univ-evry.fr
said:


On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote:


On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri
vto...@univ-evry.fr
said:

got a q... whats the status of elm on windows? does it work? (i guess
in
theory it should)


elementary_test works for a lot of tests. Some images have a hard coded
path, so for the tests that use those images, it's not working.


aaah sure. thats an elm test issue. i added proper prefix support to
eina and
elm now so i CAN make it relocatable properly. but elm itself works.
cool.


for the optional features:

  * efreet : efreet can be used to load some fdo icons (like the Tango
    ones)


ok. so it works?


not sure right now. I was focused on eina/ecore the past few months, so i
can't say for sure that it's still working.


  * edbus/ethumb: i can't manage to make dbus working on Windows and
the
    dbus dev don't help me.


no problem. thus its an optional feature :)


  * weather : never tried to compile libeweather on Windows


don;'t worry about that. :)


  * quick launch : i don't know if it's possible to have something
    similar on Windows devices.


don't worry about that either :)


Why, btw ? :-)


someone asked what the status is. :) since i have no windows box on or
windows
dev env up... i have no clue but to ask the king of windows efl fun -
you. :)


VirtualBox can help you :-)


That's a good idea, how difficult is it to use the windows dev
environnement. Is it possible to just run a Makefile easily ? Just
wondering how difficult it is for me to do a daily build of the
windows port.


If you have a Windows box or Windows inside, the installation is easy and
not complicated at all:

http://trac.enlightenment.org/e/wiki/EFLWindowsXP#InstallationandconfigurationofMSYSMinGW

basically, you download the mingw installer, execute it, select some
options, et voila.

The next step is the configuration, which is not complicated too. All the
steps are described in the wiki above.

For a dayly build, I use a script which upgrade from svn, compile (debug and
realase mode), package it, and and NSIS script to create the installer. It's
as easy as the e17 script.

Vincent


Once ecore_con is finished and eina is updated (with the last eina_lock
stuff), I plan to release another installer as I greatly improved the
rendering of the windows (the resize and move is sooo smooth compared to
what it is in this installer :-) )


Yeah ! You rock master of all evilness ! :-)
--
Cedric BAIL



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel