[E-devel] [Patch][elementary] elm_menu, fix improper indentation.

2012-05-04 Thread cnook
Hi!

I have just modified the elm_menu.c because there are some improper
indentation.
That's it... Thanks.

Sincerely,
Shinwoo Kim.


elm.menu.indentation.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor IN trunk/PROTO/efx: data src/bin src/lib

2012-05-04 Thread Daniel Juyung Seo
Yay zmike is back!!!

Daniel Juyung Seo (SeoZ)

On Fri, May 4, 2012 at 4:52 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 pan effect with artifacts

 Author:       discomfitor
 Date:         2012-05-04 00:52:42 -0700 (Fri, 04 May 2012)
 New Revision: 70755
 Trac:         http://trac.enlightenment.org/e/changeset/70755

 Added:
  trunk/PROTO/efx/data/ss.png trunk/PROTO/efx/src/bin/test_pan.c 
 trunk/PROTO/efx/src/lib/efx_pan.c
 Modified:
  trunk/PROTO/efx/data/Makefile.am trunk/PROTO/efx/src/bin/Makefile.am 
 trunk/PROTO/efx/src/lib/Efx.h trunk/PROTO/efx/src/lib/Makefile.am 
 trunk/PROTO/efx/src/lib/efx.c trunk/PROTO/efx/src/lib/efx_private.h 
 trunk/PROTO/efx/src/lib/efx_util.c

 Modified: trunk/PROTO/efx/data/Makefile.am
 ===
 --- trunk/PROTO/efx/data/Makefile.am    2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/data/Makefile.am    2012-05-04 07:52:42 UTC (rev 70755)
 @@ -1,4 +1,4 @@
  MAINTAINERCLEANFILES = Makefile.in

  imagedir = $(datadir)/efx
 -dist_image_DATA = mur.jpg
 +dist_image_DATA = mur.jpg ss.png

 Modified: trunk/PROTO/efx/src/bin/Makefile.am
 ===
 --- trunk/PROTO/efx/src/bin/Makefile.am 2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/src/bin/Makefile.am 2012-05-04 07:52:42 UTC (rev 70755)
 @@ -20,6 +20,7 @@
  test_follow \
  test_move \
  test_move_circle \
 +test_pan \
  test_path \
  test_bumpmap

 @@ -41,6 +42,7 @@
  test_move_SOURCES = test_move.c
  test_move_circle_SOURCES = test_move_circle.c
  test_path_SOURCES = test_path.c
 +test_pan_SOURCES = test_pan.c
  test_bumpmap_SOURCES = test_bumpmap.c

  endif

 Modified: trunk/PROTO/efx/src/lib/Efx.h
 ===
 --- trunk/PROTO/efx/src/lib/Efx.h       2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/src/lib/Efx.h       2012-05-04 07:52:42 UTC (rev 70755)
 @@ -54,7 +54,8 @@
    Evas_Point *rotate_center; /** The current rotation center for the object 
 */
    double zoom; /** The current zoom amount of an object */
    Evas_Point *zoom_center; /** The current zoom center for the object */
 -   Evas_Point *move_center; /** The current move center for the object */
 +   Evas_Point *move_center; /** The current move vertex for the object */
 +   Evas_Point *pan_center; /** The current pan vertex for the object */
  };

  /**
 @@ -234,6 +235,8 @@

  EAPI Eina_Bool efx_bumpmap(Evas_Object *obj, Evas_Coord x, Evas_Coord y);

 +EAPI Eina_Bool efx_pan_init(Evas_Object *obj);
 +EAPI Eina_Bool efx_pan(Evas_Object *obj, Efx_Effect_Speed speed, Evas_Point 
 *distance, double total_time, Efx_End_Cb cb, const void *data);
  #ifdef __cplusplus
  }
  #endif

 Modified: trunk/PROTO/efx/src/lib/Makefile.am
 ===
 --- trunk/PROTO/efx/src/lib/Makefile.am 2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/src/lib/Makefile.am 2012-05-04 07:52:42 UTC (rev 70755)
 @@ -8,13 +8,14 @@
  lib_LTLIBRARIES = libefx.la
  libefx_la_SOURCES = \
  efx.c \
 +efx_bumpmapping.c \
  efx_helpers.c \
  efx_move.c \
 +efx_pan.c \
  efx_rotate.c \
  efx_spin.c \
  efx_util.c \
 -efx_zoom.c \
 -efx_bumpmapping.c
 +efx_zoom.c

  libefx_la_LIBADD = @EFX_DEPS_LIBS@ -lm
  libefx_la_LDFLAGS = -no-undefined

 Modified: trunk/PROTO/efx/src/lib/efx.c
 ===
 --- trunk/PROTO/efx/src/lib/efx.c       2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/src/lib/efx.c       2012-05-04 07:52:42 UTC (rev 70755)
 @@ -64,7 +64,8 @@
    EINA_SAFETY_ON_NULL_RETURN_VAL(follower, EINA_FALSE);

    e = evas_object_data_get(obj, efx-data);
 -   if (!e) return EINA_FALSE;
 +   if (!e) e = efx_new(obj);
 +   EINA_SAFETY_ON_NULL_RETURN_VAL(e, EINA_FALSE);
    while (e-owner) e = e-owner;

    ef = evas_object_data_get(follower, efx-data);

 Modified: trunk/PROTO/efx/src/lib/efx_private.h
 ===
 --- trunk/PROTO/efx/src/lib/efx_private.h       2012-05-04 07:52:36 UTC (rev 
 70754)
 +++ trunk/PROTO/efx/src/lib/efx_private.h       2012-05-04 07:52:42 UTC (rev 
 70755)
 @@ -34,6 +34,7 @@
    void *zoom_data;
    void *move_data;
    void *bumpmap_data;
 +   void *pan_data;
    Efx_Map_Data map_data;
    Eina_List *followers;
  };
 @@ -63,7 +64,9 @@
  {
    Evas_Coord x, y, w, h;
    evas_object_geometry_get(obj, x, y, w, h);
 -   DBG(%p: x=%d,y=%d,w=%d,h=%d, obj, x, y, w, h);
 +   DBG(%s %p: x=%d,y=%d,w=%d,h=%d, evas_object_visible_get(obj) ? vis : 
 hid, obj, x, y, w, h);
  }

 +#define HIT DBG(HIT)
 +
  #endif

 Modified: trunk/PROTO/efx/src/lib/efx_util.c
 ===
 --- trunk/PROTO/efx/src/lib/efx_util.c  2012-05-04 07:52:36 UTC (rev 70754)
 +++ trunk/PROTO/efx/src/lib/efx_util.c  2012-05-04 07:52:42 UTC (rev 70755)
 @@ -1,20 +1,5 

Re: [E-devel] [Elementary]: Test case fail fixes. - hover, flipselector, genlist, multibuttonentry

2012-05-04 Thread ChunEon Park
hmm your patch is not acceptable because elm is changed totally.  :(


-Original Message-
From: SHILPA ONKAR SINGHlt;shilpa.si...@samsung.comgt; 
To: lt;enlightenment-devel@lists.sourceforge.netgt;; 
Cc: csm...@samsung.comlt;csm...@samsung.comgt;; 
sreena...@samsung.comlt;sreena...@samsung.comgt;; 
Sent: 2012-05-03 (목) 15:01:21
Subject: [E-devel] [Elementary]: Test case fail fixes. - hover, flipselector, 
genlist, multibuttonentry

Hi All,

 

Please check the attached patch for elementary test case fail fixes.



Genlist - crash fix (if itc parameter is passed as NULL )



Hover -gt; crash fix (when swallow part is passed as NULL in content_set_hook, 
here smart is assumed as default ).



Multibuttonentry, flipselector -gt; item text set fail on NULL parameter. 

i.e, When elm_object_item_part_text_set(it, NULL, NULL); is called and then 
elm_object_item_part_text_get(it, NULL) is called.

We should get return as NULL instead we get previously set text. 



Change description: Test case fail fixes. - hover,flipselector,genlist, 
multibuttonentry.



Signed-off by: Shilpa Singh

  

Thanks amp; Regards

Shilpa 
Singh--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elementary] elm_menu, fix improper indentation.

2012-05-04 Thread ChunEon Park

OK, in svn. thank you.




-Regards, Hermet-



-Original Message-
From: cnooklt;kimci...@gmail.comgt; 
To: EFLlt;enlightenment-devel@lists.sourceforge.netgt;; 
Cc: 
Sent: 2012-05-04 (금) 15:58:38
Subject: [E-devel] [Patch][elementary] elm_menu, fix improper indentation.

Hi!

I have just modified the elm_menu.c because there are some improper
indentation.
That's it... Thanks.

Sincerely,
Shinwoo Kim.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Patch to enable WindowMaker-like click to focus subtleties

2012-05-04 Thread e
Hello,

This patch is against debian testing e17 0.16.999.55115-1.  I was just
trying to see if I could get e17 to behave like the WindowMaker I have
used daily for over a decade, there's just this specific behavior I was
unable to reproduce in settings alone without hacking the code.

In WindowMaker you can focus and resize windows without raising them,
you can also click and interact with an obscured window that is focused
without raising it.  You do this with alt-right-click on an obscured
window.  If you hold the click and motion, you focus and resize the window
without raising it.  If you simply release instead of hold and motion, you
focus without raising the window and no resize occurs.

I use this very often, as it's convenient for interacting with obscured
debugger consoles and xterms while I have the interesting windows
containing program output raised and occupying most of my display.

This is a quick and dirty hack, it uses knowledge of RESIZE_NONE being
defined to 11 which appears intended to be private to e_border.c
currently.  I'm just putting this out there in case anyone else would
appreciate this behavior.  I think it would be nice to get a toggle in
e17 to activate this mode, it's one of the best things about
WindowMaker's click to focus implementation and a big part of why I've
used it exclusively for so long.

No testing has been done to see if this change interacts badly with
modes other than click to focus.  It reproduces exactly the WindowMaker
behavior in my limited testing, without any observed ill effects.

Regards,
Vito Caputo


--- e_focus.c.orig  2012-05-04 06:09:40.0 -0500
+++ e_focus.c   2012-05-04 06:48:57.0 -0500
@@ -85,16 +85,16 @@
 {
if (e_config-focus_policy == E_FOCUS_CLICK)
  {
+   if (!bd-lock_user_stacking)
+ {
+if (e_config-border_raise_on_focus  bd-resize_mode == 11  
!bd-focused)
+  e_border_raise(bd);
+ }
if (!bd-lock_focus_out)
   {
  if (!bd-focused)
e_border_focus_set(bd, 1, 1);
   }
-   if (!bd-lock_user_stacking)
- {
-if (e_config-border_raise_on_focus)
-  e_border_raise(bd);
- }
  }
else if (e_config-always_click_to_raise)
  {

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch to enable WindowMaker-like click to focus subtleties

2012-05-04 Thread e
On Fri, May 04, 2012 at 07:11:20AM -0500, e...@pengaru.com wrote:
 Hello,
 
 This patch is against debian testing e17 0.16.999.55115-1.  I was just
 trying to see if I could get e17 to behave like the WindowMaker I have
 used daily for over a decade, there's just this specific behavior I was
 unable to reproduce in settings alone without hacking the code.
 
 In WindowMaker you can focus and resize windows without raising them,
 you can also click and interact with an obscured window that is focused
 without raising it.  You do this with alt-right-click on an obscured
 window.  If you hold the click and motion, you focus and resize the window
 without raising it.  If you simply release instead of hold and motion, you
 focus without raising the window and no resize occurs.
 
 I use this very often, as it's convenient for interacting with obscured
 debugger consoles and xterms while I have the interesting windows
 containing program output raised and occupying most of my display.
 
 This is a quick and dirty hack, it uses knowledge of RESIZE_NONE being
 defined to 11 which appears intended to be private to e_border.c
 currently.  I'm just putting this out there in case anyone else would
 appreciate this behavior.  I think it would be nice to get a toggle in
 e17 to activate this mode, it's one of the best things about
 WindowMaker's click to focus implementation and a big part of why I've
 used it exclusively for so long.
 
 No testing has been done to see if this change interacts badly with
 modes other than click to focus.  It reproduces exactly the WindowMaker
 behavior in my limited testing, without any observed ill effects.


I spoke to soon here, there's a remaining thing to fix which is raising
on window move or clicking on the title bar or window border.  In
WindowMaker after an alt-right-click to focus without raising an
obscured window, you can then alt-left-click to raise that window
(and move it if you hold and motion).  With my patch, once the window is
focused while obscured you can't make it raise by clicking the title bar,
window border, or grabbing the window with alt-left-click (which I have
bound to move in enlightenment).

Bummer, it's almost there.

Regards,
Vito Caputo

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCHES] Some random warning fixes for our beloved buildbot as well as a DSO fix

2012-05-04 Thread ChunEon Park
Hi stefan, this is Hermet :)


 I reviewed your patch but just submitted 2 patches, 0002, 0004


I didn't understand why is 0001_patch needed. could you explain to me?


and 0003 looks it has incorrect indentations. You might know about that.



Anyway thank you.


 
-Regards, Hermet-


-Original Message-
From: Stefan Schmidtlt;ste...@datenfreihafen.orggt; 
To: lt;enlightenment-devel@lists.sourceforge.netgt;; 
Cc: 
Sent: 2012-05-04 (금) 02:17:37
Subject: [E-devel] [PATCHES] Some random warning fixes for our beloved buildbot 
as well as a DSO fix

Hello.

Just 3 small fixes to get our warning count down. The tempget one
should actually save us against wrong reads.

Also a small DSO fix reported and confirmed in IRC.

Please review and apply.

regards
Stefan Schmidt
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCHES] Some random warning fixes for our beloved buildbot as well as a DSO fix

2012-05-04 Thread Stefan Schmidt
Hello.

 From: ChunEon Park [mailto:her...@naver.com] 

 Hi stefan, this is Hermet :)

Hi hermet :)

 I reviewed your patch but just submitted 2 patches, 0002, 0004

Thanks for this!

 I didn't understand why is 0001_patch needed. could you explain to me?

It shadows another variable name
ecore/src/modules/immodules/xim/ecore_imf_xim.c:116: warning: declaration of 
'index' shadows a global declaration
/usr/include/string.h:487: warning: shadowed declaration is here

Not a big deal as we should still handle it correctly but to avoid the warning 
I just renamed the variable.

 and 0003 looks it has incorrect indentations. You might know about that.

Thanks for letting me know. Need to fix this and resubmit later today or at the 
weekend.

Regards
Stefan Schmidt


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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

2012-05-04 Thread Joerg Sonnenberger
On Fri, May 04, 2012 at 10:17:29AM +0900, Cedric BAIL wrote:
 On Thu, May 3, 2012 at 8:57 PM, Vincent Torri vincent.to...@gmail.com wrote:
  is it normal that no check is done when calloc is called ?
 
 It's a good question. In E17, there isn't much handling of this
 situation. I am wrong in assuming that on all unix supported by E17,
 when it start returning NULL, it would be way to late ?
 
 Should we handle it ?

You should check for it and fail deterministically at least. Doing
something like fprintf(stderr, oops\n), exit(1); is perfectly valid.
When malloc and friends fail depends somewhat on the setup. Memory
overcommit makes the returned error unreliable in the sense that you can
later get killed by OOM. Using resource limits (ulimit -d / -v etc) can
result in malloc errors much earlier, but whether you can do something
sane from that depends on the circumstances. E.g. if the user wants to
open an image and you can't allocate a buffer, it makes sense to report
an error for that as the image and therefore the buffer can be huge.

Joerg

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Emotion problem

2012-05-04 Thread Flávio Ceolin
Hi,

On Thu, May 3, 2012 at 9:04 PM, Cedric BAIL cedric.b...@free.fr wrote:
 Hi,

 On Fri, May 4, 2012 at 1:44 AM, Flávio Ceolin
 flavio.ceo...@profusion.mobi wrote:
 On Thu, May 3, 2012 at 11:49 AM, Flavio Ceolin
 flavio.ceo...@profusion.mobi wrote:
 Hi folks,

 I've got a problem when using emotion. The signal playback_started is
 never called. I also have checked the emotion examples and the same
 happens. The others signals like playback_finished and open_done are
 working as expected. Bellow is my example:

 #include Ecore.h
 #include Ecore_Evas.h
 #include Evas.h
 #include Emotion.h
 #include stdio.h

 static void
 _playback_started_cb(void *data, Evas_Object *o, void *event_info)
 {
    printf(Emotion object started playback.\n);
 }

 static Evas_Object *
 _create_emotion_object(Evas *e)
 {
   Evas_Object *em = emotion_object_add(e);

   emotion_object_init(em, generic);

   evas_object_smart_callback_add(
       em, playback_started, _playback_started_cb, NULL);

   return em;
 }

 int
 main(int argc, const char *argv[])
 {
   Ecore_Evas *ee;
   Evas *e;
   Evas_Object *bg, *em;

   if (argc != 2)
     {
        printf(Usage: %s filenames\n, argv[0]);
        return -1;
     }

   eina_init();

   if (!ecore_evas_init())
     return EXIT_FAILURE;

   ee = ecore_evas_new(NULL, 80, 80, 640, 480, NULL);
   if (!ee)
     goto error;

   ecore_evas_show(ee);

   e = ecore_evas_get(ee);

   bg = evas_object_rectangle_add(e);
   evas_object_name_set(bg, argv[1]);
   evas_object_color_set(bg, 255, 255, 255, 255);
   evas_object_move(bg, 0, 0);
   evas_object_resize(bg, 640, 480);
   evas_object_show(bg);

   em = _create_emotion_object(e);
   emotion_object_file_set(em, argv[1]);
   evas_object_move(em, 0, 0);
   evas_object_resize(em, 640, 480);
   evas_object_show(em);

   evas_object_focus_set(bg, EINA_TRUE);

   emotion_object_play_set(em, EINA_TRUE);

   ecore_main_loop_begin();

   ecore_evas_free(ee);
   ecore_evas_shutdown();
   return 0;

 error:

   ecore_evas_shutdown();
   eina_shutdown();
   return -1;
 }


 Regards,

 Flavio Ceolin
 ProFUSION embedded systems
 http://profusion.mobi

 Hi folks,

 I bring bad news, I've found other problems with emotion. They are:

 1) position_set when the emotion is paused
   If you do a position_set with the emotion paused and then do
 position_get it'll
   return the old position.

 2) pause the video before the open_done or length_change is not working.

 What engine are you using ? Generic VLC or Gstreamer ?

 Regards,
 --
 Cedric BAIL

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I've tried with generic vlc.

Regards,

Flavio Ceolin
ProFUSION embedded systems
http://profusion.mobi

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: woohyun IN trunk/elementary: . src/bin src/lib

2012-05-04 Thread Gustavo Chaves
On Thu, May 3, 2012 at 9:42 PM, woohyun woo_hyun0...@naver.com wrote:

 Hello. Gustavo ~
 Because of time diff ~ I checked this email some minutes ago.


 I've checked glima did some changes about removing hooks from some widgets.
 (That job also included removing my focus_direction_hook.)
 Did you mean this job should be done for my patch ~ or Should I do
 something else ?
 If you only meant the job which was executed by glima ~ then I'll just
 follow that.
 Or if there is something to do additionally ~ please inform me.


Hi, Woohyun. That specific patch of yours was integrated on the new schema
by me, already, since there was that revert before your commit. From now on
you'll have to follow that schema, though. Any questions on that, just ask.


 Thanks for your email.


 Best Regards,-- WooHyun


BR,

-- 
Gustavo Lima Chaves
Senior Developer

ProFUSION embedded systems

http://profusion.mobi
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Only build evas-cserve2 on Linux

2012-05-04 Thread Raphael Kubo da Costa
I was trying to build Evas earlier today, and it failed because cserve2
(which uses Linux-only stuff for now) was being built.

The attached patch checks for the presence of a few Linux-only headers
and disables the cserve2 build if they are not found. I didn't add a
NEWS/ChangeLog entry because it seems to fit into the whole 'add
cserve2' thing.

Index: configure.ac
===
--- configure.ac	(revision 70759)
+++ configure.ac	(working copy)
@@ -637,6 +637,17 @@
 fi
 AC_SUBST([shm_open_libs])
 
+# cserve2 only works on Linux so far.
+if test x${want_evas_cserve2} = xyes ; then
+   AC_CHECK_HEADERS(
+  [sys/epoll.h sys/inotify.h sys/signalfd.h],
+  [],
+  [
+   want_evas_cserve2=no
+  ]
+   )
+fi
+
 if test x${want_evas_cserve} = xyes ; then
   AC_DEFINE(EVAS_CSERVE, 1, [Shared cache server.])
 fi
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Only build evas-cserve2 on Linux

2012-05-04 Thread Iván Briano
2012/5/4 Raphael Kubo da Costa rak...@freebsd.org:
 I was trying to build Evas earlier today, and it failed because cserve2
 (which uses Linux-only stuff for now) was being built.

 The attached patch checks for the presence of a few Linux-only headers
 and disables the cserve2 build if they are not found. I didn't add a
 NEWS/ChangeLog entry because it seems to fit into the whole 'add
 cserve2' thing.

done, slightly changed to still build the old cserve



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Bug report - keybindings don't work while Everything is open

2012-05-04 Thread Tom Hacohen
Hey,

I can't seem to be able to change keyboard layouts with my keybindings
(Ctrl + Space) while Everything is open.

--
Tom.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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

2012-05-04 Thread David Seikel
On Fri, 4 May 2012 15:04:17 +0200 Joerg Sonnenberger
jo...@britannica.bec.de wrote:

 On Fri, May 04, 2012 at 10:17:29AM +0900, Cedric BAIL wrote:
  On Thu, May 3, 2012 at 8:57 PM, Vincent Torri
  vincent.to...@gmail.com wrote:
   is it normal that no check is done when calloc is called ?
  
  It's a good question. In E17, there isn't much handling of this
  situation. I am wrong in assuming that on all unix supported by E17,
  when it start returning NULL, it would be way to late ?
  
  Should we handle it ?
 
 You should check for it and fail deterministically at least. Doing
 something like fprintf(stderr, oops\n), exit(1); is perfectly valid.
 When malloc and friends fail depends somewhat on the setup. Memory
 overcommit makes the returned error unreliable in the sense that you
 can later get killed by OOM. Using resource limits (ulimit -d / -v
 etc) can result in malloc errors much earlier, but whether you can do
 something sane from that depends on the circumstances. E.g. if the
 user wants to open an image and you can't allocate a buffer, it makes
 sense to report an error for that as the image and therefore the
 buffer can be huge.

Exactly.  The response to any sort of memory allocating problem should
depend on what you are trying to allocate, and why.

Failing to llocate some huge block of memory for something that's not
important? Probably not the end of the world, just fail gracefully on
the unimportant thing.

Failing to allocate a tiny amount for somethung that is very
important?  The system has probably already spent the last five minutes
being unresponsive and thrashing to swap.  Might be a good idea to just
stop now, coz the OOM might kill us anyway.  OR, might be a good idea
to free up some large unimportant resources to help with available
memory.

Just ignoring the failed allocation and trying to use a NULL pointer
will likely crash you anyway, but that's just being lazy.  Failing
gracefully is generally better than failing disgracefully.

-- 
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
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] eina_model should be back ?

2012-05-04 Thread Vincent Torri
hey

shouldn't eina_model be back in trunk, now ?

Vincent

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel