[E-devel] [Patch][e] Bug fix for crashing enlightenment in e_gadcon.c

2012-08-09 Thread Doyoun Kang
Dear all.

I found the bug which may occurs enlightenment crash.
There is code to insert E_Gadcon pointer to custom_populate_requests list in 
e_gadcon_custom_new(). However, there is no code to remove deleted E_Gadcon 
pointer from custom_populate_requests list in e_gadcon_custom_del(). So, if the 
e_gadcon_custom_del() is called before calling 
_e_gadcon_custom_populate_idler(), then enlightenment crash may occurs while e 
calls _e_gadcon_custom_populate_idler() because e accesses deleted E_Gadcon 
pointer.
I modified this problem. Please review this patch.

Thanks.
--
Doyoun Kang

e_gadcon.diff
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] [Patch][e] Bug fix for crashing enlightenment in e_gadcon.c

2012-08-09 Thread Michael Blumenkrantz
in

On Thu, Aug 9, 2012 at 9:13 AM, Doyoun Kang  wrote:

> Dear all.
>
> I found the bug which may occurs enlightenment crash.
> There is code to insert E_Gadcon pointer to custom_populate_requests list
> in e_gadcon_custom_new(). However, there is no code to remove deleted
> E_Gadcon pointer from custom_populate_requests list in
> e_gadcon_custom_del(). So, if the e_gadcon_custom_del() is called before
> calling _e_gadcon_custom_populate_idler(), then enlightenment crash may
> occurs while e calls _e_gadcon_custom_populate_idler() because e accesses
> deleted E_Gadcon pointer.
> I modified this problem. Please review this patch.
>
> Thanks.
> --
> Doyoun Kang
>
> --
> 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] E SVN: raster trunk/elementary/src/lib

2012-08-09 Thread Gustavo Sverzut Barbieri
On Thursday, August 9, 2012, Enlightenment SVN wrote:

> Log:
> sorry yoz - u cant use min size set from outside the widget as wisgets
>   set it all the time themselves for read-only use outside. :) if uw ant
>   this u have to accomplish this another way. eg table with genlist PLUS
>   invisible rect obj at the same cell spot (0, 0, 1x1). and make the
>   invisible rect have a min size hint. table takes care of using the
>   "constraints" of both rect and gnelist then for sizing. :)
>
>
I've explained a similar thing to mekius at #edevelop: some widgets will
calculate and set their min or max size based on internal contents
calculation.

But this can be a PITA. Should we have a general toggle per widget that
inhibits this? Maybe a widget "size calc" that is analogous to Edje and
just returns info to user?

One drawback of this is that user may forget to apply scale and finger
size. But many times user want to set a fixed size, based on his users or
based on information acquired from outside, like edje group min/max

Last, related to this is the elm_box behavior. With Evas layout functions
we had covered cases of no-expand, no-fill and no-both. In these cases the
original size is kept, no resize. Elementary box does not handle no-expand
and no resize cases as far as I remember, or at least in some weird case
I've experienced the other day (econnman, I've fixed setting content/icon
min/max to be used in genlist "end" icon, but maybe such problem was due
genlist end SWALLOW description)





>
>
> Author:   raster
> Date: 2012-08-09 05:12:29 -0700 (Thu, 09 Aug 2012)
> New Revision: 75044
> Trac: http://trac.enlightenment.org/e/changeset/75044
>
> Modified:
>   trunk/elementary/src/lib/elm_genlist.c
>
> Modified: trunk/elementary/src/lib/elm_genlist.c
> ===
> --- trunk/elementary/src/lib/elm_genlist.c  2012-08-09 12:03:16 UTC
> (rev 75043)
> +++ trunk/elementary/src/lib/elm_genlist.c  2012-08-09 12:12:29 UTC
> (rev 75044)
> @@ -582,7 +582,7 @@
>
> if (sd->on_sub_del) return;;
>
> -   evas_object_size_hint_min_get(obj, &minw, &minh);
> +   evas_object_size_hint_min_get(obj, &minw, NULL);
> evas_object_size_hint_max_get(obj, &maxw, &maxh);
>
> edje_object_size_min_calc(ELM_WIDGET_DATA(sd)->resize_obj, &vmw, &vmh);
> @@ -606,8 +606,7 @@
>   sd->calc_job = ecore_job_add(_calc_job, sd);
>}
>  minw = vmw;
> -if (minh < vmh)
> -  minh = vmh;
> +minh = vmh;
>   }
> else if (sd->mode == ELM_LIST_LIMIT)
>   {
> @@ -617,8 +616,7 @@
> else
>   {
>  minw = vmw;
> -if (minh < vmh)
> -  minh = vmh;
> +minh = vmh;
>   }
>
> evas_object_size_hint_min_set(obj, minw, minh);
>
>
>
> --
> 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-svn mailing list
> enlightenment-...@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
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: yoz trunk/edje/src/bin

2012-08-09 Thread Gustavo Sverzut Barbieri
On Thursday, August 9, 2012, Enlightenment SVN wrote:

> Log:
> edje: don't compile if we have a group without a name


Maybe show file and line so we know where we forgot?



>
> Author:   yoz
> Date: 2012-08-09 01:57:35 -0700 (Thu, 09 Aug 2012)
> New Revision: 75035
> Trac: http://trac.enlightenment.org/e/changeset/75035
>
> Modified:
>   trunk/edje/src/bin/edje_cc_out.c
>
> Modified: trunk/edje/src/bin/edje_cc_out.c
> ===
> --- trunk/edje/src/bin/edje_cc_out.c2012-08-09 08:27:04 UTC (rev 75034)
> +++ trunk/edje/src/bin/edje_cc_out.c2012-08-09 08:57:35 UTC (rev 75035)
> @@ -2052,6 +2052,11 @@
>  unsigned int id = 0;
>  unsigned int i;
>
> +if (!pc->part)
> +  {
> + ERR("A collection without a name was detected, that's not
> allowed.");
> + exit(-1);
> +  }
>  find = eina_hash_find(edje_file->collection, pc->part);
>  if (find && find->id == pc->id)
>continue ;
>
>
>
> --
> 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-svn mailing list
> enlightenment-...@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
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] evas: hide the evas object after it's smart object deleted.

2012-08-09 Thread Gustavo Sverzut Barbieri
On Thursday, August 9, 2012, Alex Wu wrote:

> Hi,
> This patch fix the bug http://trac.enlightenment.org/e/ticket/1308
>
> The root cause of this bug is that when closing the window,
> the glview widget need to invoke eng_gl_make_current() before calling
> it's del_func. In eng_gl_make_current(), the re->win->egl_display
> make the segfualt. It is because re->win has been nullized by
> evas_object_hide()<--evas_object_del()<--evas_object_unref()<--
> _elm_win_frame_cb_close() which is triggered by clicking the "close"
> button.
>
> I think it is resonable to destroy the re->win of a elm_win after
> all smart data deleted.


Although the patch does not look problematic per se, it fixes an egl bug in
a generic code? That do not seem right. Why don't you hande this condition
in egl engine?



>
> Patch attached.
>
>
>

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
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] e_xkb module + show action

2012-08-09 Thread jeremy
Hi devs,

as I bought meself a typematrix 2030 and switched my layout from CH_fr
to fr_bepo, It felt like I needed an on screen keyboard preview.
Hence my first e hack.

Comments(even harsh), and help(alpha, event forwarding) welcome.

Jérémy
diff --git a/e/src/bin/e_actions.c b/e/src/bin/e_actions.c
index 77231aa..1969183 100644
--- a/e/src/bin/e_actions.c
+++ b/e/src/bin/e_actions.c
@@ -2005,7 +2005,7 @@ ACT_FN_GO(app_new_instance, __UNUSED__)
E_Zone *zone;
 
zone = _e_actions_zone_get(obj);
-   if (!zone) 
+   if (!zone)
  zone = e_util_zone_current_get(e_manager_current_get());
 
if (!obj) obj = E_OBJECT(e_border_focused_get());
@@ -2872,6 +2872,11 @@ ACT_FN_GO(kbd_layout_prev, __UNUSED__)
e_xkb_layout_prev();
 }
 
+ACT_FN_GO(kbd_layout_show, __UNUSED__)
+{
+   e_xkb_layout_show();
+}
+
 /* local subsystem globals */
 static Eina_Hash *actions = NULL;
 static Eina_List *action_list = NULL;
@@ -3369,6 +3374,10 @@ e_actions_init(void)
e_action_predef_name_set(N_("Keyboard Layouts"),
 N_("Previous keyboard layout"), "kbd_layout_prev",
 NULL, NULL, 0);
+   ACT_GO(kbd_layout_show);
+   e_action_predef_name_set(N_("Keyboard Layouts"),
+N_("Show keyboard layout"), "kbd_layout_show",
+NULL, NULL, 0);
return 1;
 }
 
diff --git a/e/src/bin/e_xkb.c b/e/src/bin/e_xkb.c
index d43354b..3a22aaf 100644
--- a/e/src/bin/e_xkb.c
+++ b/e/src/bin/e_xkb.c
@@ -1,6 +1,12 @@
 #include "e.h"
 
 static void _e_xkb_update_event(void);
+static void _e_xkb_show_win();
+static Evas_Object* _e_xkb_load_image(Evas *e, const char *path);
+static void _e_xkb_show_win_delete_cb(E_Win *win);
+static void _e_xkb_show_win_resize_cb(E_Win *win);
+static void _e_xkb_show_win_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__);
+static void _e_xkb_show_win_key_up_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__);
 
 EAPI int E_EVENT_XKB_CHANGED = 0;
 
@@ -126,6 +132,48 @@ e_xkb_layout_prev(void)
 }
 
 EAPI void
+e_xkb_layout_show(void)
+{
+   Eina_Strbuf *buf;
+   E_Config_XKB_Layout *cl;
+
+   buf = eina_strbuf_new();
+   eina_strbuf_append(buf, e_user_dir_get());
+   eina_strbuf_append(buf, "/keyboards/");
+
+   if (!e_config->xkb.used_layouts)
+ {
+   /* TODO: use setxkbmap -print, read xkb_symbols and xkb_geometry */
+   eina_strbuf_append(buf, "default.png");
+ }
+   else
+ {
+   /* use first entry in used layouts */
+   cl = e_config->xkb.used_layouts->data;
+   eina_strbuf_append(buf, cl->name);
+   eina_strbuf_append(buf, "-");
+
+   if (cl->variant)
+ eina_strbuf_append(buf, cl->variant);
+   else
+ eina_strbuf_append(buf, "default");
+   eina_strbuf_append(buf, "-");
+
+   if (cl->model)
+ eina_strbuf_append(buf, cl->model);
+   else
+ eina_strbuf_append(buf, "default");
+   eina_strbuf_append(buf, ".png");
+ }
+
+   if (!access(eina_strbuf_string_get(buf), R_OK))
+ _e_xkb_show_win(buf);
+   else
+ e_util_dialog_show(_("Enlightenment keyboard layout show error"),_("Unable to find layout file %s."), eina_strbuf_string_get(buf));
+   eina_strbuf_free(buf);
+}
+
+EAPI void
 e_xkb_layout_set(const char *name)
 {
Eina_List *l;
@@ -184,3 +232,126 @@ _e_xkb_update_event(void)
 {
ecore_event_add(E_EVENT_XKB_CHANGED, NULL, NULL, NULL);
 }
+
+typedef struct _Xkb_Win
+{
+   E_Win *win;
+   E_Border *b;
+   Evas_Object *rect;
+   Evas_Object *direct;
+   Evas_Object *shift;
+   Evas_Object *alt;
+} Xkb_Win;
+
+static void
+_e_xkb_show_win(Eina_Strbuf *buf)
+{
+   /* TODO: macros ? */
+   Xkb_Win *xw = malloc(sizeof(Xkb_Win));
+   if (xw==NULL) return;
+
+   xw->b = e_border_focused_get();
+   xw->win = e_win_new(e_container_current_get(e_manager_current_get()));
+   e_win_placed_set(xw->win, 0);
+   e_win_title_set(xw->win, "E Show keyboard layout");
+   e_win_resize_callback_set(xw->win, _e_xkb_show_win_resize_cb);
+   e_win_delete_callback_set(xw->win, _e_xkb_show_win_delete_cb);
+   e_win_raise(xw->win);
+   e_win_show(xw->win);
+
+   /* TODO: alpha */
+   xw->rect = evas_object_rectangle_add(e_win_evas_get(xw->win));
+   evas_object_color_set(xw->rect, 170, 170, 170, 200);
+   evas_object_event_callback_add(xw->rect, EVAS_CALLBACK_KEY_DOWN, _e_xkb_show_win_key_down_cb, xw);
+   evas_object_event_callback_add(xw->rect, EVAS_CALLBACK_KEY_UP, _e_xkb_show_win_key_up_cb, xw);
+   evas_object_focus_set(xw->rect, 1);
+   evas_object_show(xw->rect);
+
+   /* load layout images */
+   xw->direct = _e_xkb_load_image(e_win_evas_get(xw->win), eina_strbuf_string_get(buf));
+   eina_strbuf_replace(buf, ".png", "-shift.png", 1);
+   xw->shift = _e_xkb_load_image(e_win_evas_get(xw->win), eina_strbuf_string_get(buf));
+   if (xw->shift==NULL) xw->shift = xw->direct;
+   eina_strbuf_replace(buf, "-shift.png", 

[E-devel] Shutdown Module

2012-08-09 Thread Jeff Hoogland
This is a module DH wrote for Bodhi awhile back. Would there be any
interest in adding it to SVN? It creates a simple gadget that allows the
user to quick perform basic system tasks:

http://i.imgur.com/y8ITL.png

Source code can be had from here ->
http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz

-- 
~Jeff Hoogland 
Thoughts on Technology , Tech Blog
Bodhi Linux , Enlightenment for your Desktop
--
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] Shutdown Module

2012-08-09 Thread Chris Michael
Jeff,
Hey !! I did not authorize releasing of that code ;) :P Just kidding ;)
dh

-Original Message-
From: Jeff Hoogland [mailto:jeffhoogl...@linux.com] 
Sent: 09 August 2012 14:56
To: e-devel
Subject: [E-devel] Shutdown Module

This is a module DH wrote for Bodhi awhile back. Would there be any interest
in adding it to SVN? It creates a simple gadget that allows the user to
quick perform basic system tasks:

http://i.imgur.com/y8ITL.png

Source code can be had from here ->
http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz

--
~Jeff Hoogland  Thoughts on Technology
, Tech Blog Bodhi Linux
, Enlightenment for your Desktop

--
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] Shutdown Module

2012-08-09 Thread Eduardo Lima (Etrunko)
On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland  wrote:
> This is a module DH wrote for Bodhi awhile back. Would there be any
> interest in adding it to SVN? It creates a simple gadget that allows the
> user to quick perform basic system tasks:
>
> http://i.imgur.com/y8ITL.png
>
> Source code can be had from here ->
> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
>

me gusta

-- 
Eduardo de Barros Lima ◤✠◢
ebl...@gmail.com

--
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: stefan trunk/e_dbus/src/lib/dbus

2012-08-09 Thread Michael Blumenkrantz
On Thu,  9 Aug 2012 09:19:36 -0700
"Enlightenment SVN"  wrote:

> Log:
> e_dbus: Adjust documentating and fix white spaces.
>   
>   Connman is not only for embedded devices. Adjust the doc for this. Also fix
> whitespaces while being here.
> 
> Author:   stefan
> Date: 2012-08-09 09:19:36 -0700 (Thu, 09 Aug 2012)
> New Revision: 75056
> Trac: http://trac.enlightenment.org/e/changeset/75056
> 
> Modified:
>   trunk/e_dbus/src/lib/dbus/E_DBus.h 
> 

gonna have to ask you to split these into separate commits in the future,
Captain Carriage Return

--
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: stefan trunk/e_dbus/src/lib/dbus

2012-08-09 Thread Stefan Schmidt
Hello.

On 08/09/2012 05:23 PM, Michael Blumenkrantz wrote:
> On Thu,  9 Aug 2012 09:19:36 -0700
> "Enlightenment SVN"  wrote:
>
>> Log:
>> e_dbus: Adjust documentating and fix white spaces.
>>
>>Connman is not only for embedded devices. Adjust the doc for this. Also 
>> fix
>> whitespaces while being here.
>>
>> Author:   stefan
>> Date: 2012-08-09 09:19:36 -0700 (Thu, 09 Aug 2012)
>> New Revision: 75056
>> Trac: http://trac.enlightenment.org/e/changeset/75056
>>
>> Modified:
>>trunk/e_dbus/src/lib/dbus/E_DBus.h
>>
>
> gonna have to ask you to split these into separate commits in the future,
> Captain Carriage Return

Spotted my laziness. Next time, you know...

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


[E-devel] xinerama debugging handy fast tool

2012-08-09 Thread Thanatermesis
We can run fake xinerama's from the script "x-ui.sh", but is not very handy
to do it so get the good parameters after some tests takes some time, now
imagine that you want to run some reasonable number of fake-xinerama's...
this painy way to run fake xineramas for tests/debugging can lead to the
lose of motivation to do it.

So I made this modification to the x-ui.sh original file, it can help a lot
in the debugging about xinerama's, benchmark test, or anything... in short,
do it what you want with it :), its meant to be useful (i don't think that
can be merged in the original x-ui.sh file, first it will need the removing
of bashisms), so not sure where it can be put/saved, any thoughts ?

For now, if anybody wants to use it, it's here:
http://main.elivecd.org/tmp/enlightenment/x-ui_auto-xinerama.sh

demo: ./x-ui_auto-xinerama.sh -ax 3x2   (it will run a xephir with 3
horizontal "fake" screens of xinerama with 2 vertical ones, all in the same
xephir window of course)


Thanatermesis
--
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] Shutdown Module

2012-08-09 Thread Eduardo Lima (Etrunko)
Just did a cleanup on the source code and pushed it to
E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it is
worth to move it to the main e tree.

Thanks!


On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
 wrote:
> On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland  wrote:
>> This is a module DH wrote for Bodhi awhile back. Would there be any
>> interest in adding it to SVN? It creates a simple gadget that allows the
>> user to quick perform basic system tasks:
>>
>> http://i.imgur.com/y8ITL.png
>>
>> Source code can be had from here ->
>> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
>>
>
> me gusta
>
> --
> Eduardo de Barros Lima ◤✠◢
> ebl...@gmail.com



-- 
Eduardo de Barros Lima ◤✠◢
ebl...@gmail.com

--
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] Shutdown Module

2012-08-09 Thread The Rasterman
On Thu, 9 Aug 2012 16:04:45 -0300 "Eduardo Lima (Etrunko)" 
said:

nice one! i don't mind this little module myself. looks decent in idea-land and
screen-wise. now i'm going to just put this out to the floor - can people think
of a good reason why this is bad? i'm struggling. i'm tempted to say "yes -
core module" :)

> Just did a cleanup on the source code and pushed it to
> E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it is
> worth to move it to the main e tree.
> 
> Thanks!
> 
> 
> On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
>  wrote:
> > On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland 
> > wrote:
> >> This is a module DH wrote for Bodhi awhile back. Would there be any
> >> interest in adding it to SVN? It creates a simple gadget that allows the
> >> user to quick perform basic system tasks:
> >>
> >> http://i.imgur.com/y8ITL.png
> >>
> >> Source code can be had from here ->
> >> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
> >>
> >
> > me gusta
> >
> > --
> > Eduardo de Barros Lima ◤✠◢
> > ebl...@gmail.com
> 
> 
> 
> -- 
> Eduardo de Barros Lima ◤✠◢
> ebl...@gmail.com
> 
> --
> 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


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


--
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] Shutdown Module

2012-08-09 Thread David Seikel
On Fri, 10 Aug 2012 09:02:36 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> On Thu, 9 Aug 2012 16:04:45 -0300 "Eduardo Lima (Etrunko)"
>  said:
> 
> nice one! i don't mind this little module myself. looks decent in
> idea-land and screen-wise. now i'm going to just put this out to the
> floor - can people think of a good reason why this is bad? i'm
> struggling. i'm tempted to say "yes - core module" :)

We already got that functionality?  Just playing devils advocate here.

> > Just did a cleanup on the source code and pushed it to
> > E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it
> > is worth to move it to the main e tree.
> > 
> > Thanks!
> > 
> > 
> > On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
> >  wrote:
> > > On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland
> > >  wrote:
> > >> This is a module DH wrote for Bodhi awhile back. Would there be
> > >> any interest in adding it to SVN? It creates a simple gadget
> > >> that allows the user to quick perform basic system tasks:
> > >>
> > >> http://i.imgur.com/y8ITL.png
> > >>
> > >> Source code can be had from here ->
> > >> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
> > >>
> > >
> > > me gusta
> > >
> > > --
> > > Eduardo de Barros Lima ◤✠◢
> > > ebl...@gmail.com
> > 
> > 
> > 
> > -- 
> > Eduardo de Barros Lima ◤✠◢
> > ebl...@gmail.com
> > 
> > --
> > 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
> 
> 


-- 
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


Re: [E-devel] Shutdown Module

2012-08-09 Thread The Rasterman
On Fri, 10 Aug 2012 10:42:49 +1000 David Seikel  said:

> On Fri, 10 Aug 2012 09:02:36 +0900 Carsten Haitzler (The Rasterman)
>  wrote:
> 
> > On Thu, 9 Aug 2012 16:04:45 -0300 "Eduardo Lima (Etrunko)"
> >  said:
> > 
> > nice one! i don't mind this little module myself. looks decent in
> > idea-land and screen-wise. now i'm going to just put this out to the
> > floor - can people think of a good reason why this is bad? i'm
> > struggling. i'm tempted to say "yes - core module" :)
> 
> We already got that functionality?  Just playing devils advocate here.

sure - but dont need start module either then :) it's really just a more
direct and obvious "how the hell do i turn this thing off?" thing.

then again - we handle power button stuff well...

> > > Just did a cleanup on the source code and pushed it to
> > > E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it
> > > is worth to move it to the main e tree.
> > > 
> > > Thanks!
> > > 
> > > 
> > > On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
> > >  wrote:
> > > > On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland
> > > >  wrote:
> > > >> This is a module DH wrote for Bodhi awhile back. Would there be
> > > >> any interest in adding it to SVN? It creates a simple gadget
> > > >> that allows the user to quick perform basic system tasks:
> > > >>
> > > >> http://i.imgur.com/y8ITL.png
> > > >>
> > > >> Source code can be had from here ->
> > > >> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
> > > >>
> > > >
> > > > me gusta
> > > >
> > > > --
> > > > Eduardo de Barros Lima ◤✠◢
> > > > ebl...@gmail.com
> > > 
> > > 
> > > 
> > > -- 
> > > Eduardo de Barros Lima ◤✠◢
> > > ebl...@gmail.com
> > > 
> > > --
> > > 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
> > 
> > 
> 
> 
> -- 
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.


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


--
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] evas: hide the evas object after it's smart object deleted.

2012-08-09 Thread wuzhiwen


>-Original Message-
>From: Gustavo Sverzut Barbieri [mailto:barbi...@profusion.mobi]
>Sent: Thursday, August 09, 2012 8:53 PM
>To: Enlightenment developer list
>Cc: eduardo.de.barros.l...@intel.com
>Subject: Re: [E-devel] [PATCH] evas: hide the evas object after it's smart
object
>deleted.
>
>On Thursday, August 9, 2012, Alex Wu wrote:
>
>> Hi,
>> This patch fix the bug http://trac.enlightenment.org/e/ticket/1308
>>
>> The root cause of this bug is that when closing the window, the glview
>> widget need to invoke eng_gl_make_current() before calling it's
>> del_func. In eng_gl_make_current(), the re->win->egl_display make the
>> segfualt. It is because re->win has been nullized by
>> evas_object_hide()<--evas_object_del()<--evas_object_unref()<--
>> _elm_win_frame_cb_close() which is triggered by clicking the "close"
>> button.
>>
>> I think it is resonable to destroy the re->win of a elm_win after all
>> smart data deleted.
>
>
>Although the patch does not look problematic per se, it fixes an egl bug in
a
>generic code? That do not seem right. Why don't you hande this condition in
egl
>engine?
>
>
I think this issue is not only for engine using egl, but for all the cases
using re->win after it is hid.

>
>>
>> Patch attached.
>>
>>
>>
>
>--
>Gustavo Sverzut Barbieri
>http://profusion.mobi embedded systems
>--
>MSN: barbi...@gmail.com
>Skype: gsbarbieri
>Mobile: +55 (19) 9225-2202
>---
---
>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] Shutdown Module

2012-08-09 Thread Jeff Hoogland
It's something people expect from a modern desktop. Thats why I asked DH to
write it in the first place. We had a fairly high demand for it in Bodhi
land.

On Thu, Aug 9, 2012 at 7:48 PM, Carsten Haitzler wrote:

> On Fri, 10 Aug 2012 10:42:49 +1000 David Seikel  said:
>
> > On Fri, 10 Aug 2012 09:02:36 +0900 Carsten Haitzler (The Rasterman)
> >  wrote:
> >
> > > On Thu, 9 Aug 2012 16:04:45 -0300 "Eduardo Lima (Etrunko)"
> > >  said:
> > >
> > > nice one! i don't mind this little module myself. looks decent in
> > > idea-land and screen-wise. now i'm going to just put this out to the
> > > floor - can people think of a good reason why this is bad? i'm
> > > struggling. i'm tempted to say "yes - core module" :)
> >
> > We already got that functionality?  Just playing devils advocate here.
>
> sure - but dont need start module either then :) it's really just a more
> direct and obvious "how the hell do i turn this thing off?" thing.
>
> then again - we handle power button stuff well...
>
> > > > Just did a cleanup on the source code and pushed it to
> > > > E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it
> > > > is worth to move it to the main e tree.
> > > >
> > > > Thanks!
> > > >
> > > >
> > > > On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
> > > >  wrote:
> > > > > On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland
> > > > >  wrote:
> > > > >> This is a module DH wrote for Bodhi awhile back. Would there be
> > > > >> any interest in adding it to SVN? It creates a simple gadget
> > > > >> that allows the user to quick perform basic system tasks:
> > > > >>
> > > > >> http://i.imgur.com/y8ITL.png
> > > > >>
> > > > >> Source code can be had from here ->
> > > > >>
> http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
> > > > >>
> > > > >
> > > > > me gusta
> > > > >
> > > > > --
> > > > > Eduardo de Barros Lima ◤✠◢
> > > > > ebl...@gmail.com
> > > >
> > > >
> > > >
> > > > --
> > > > Eduardo de Barros Lima ◤✠◢
> > > > ebl...@gmail.com
> > > >
> > > >
> --
> > > > 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
> > >
> > >
> >
> >
> > --
> > A big old stinking pile of genius that no one wants
> > coz there are too many silver coated monkeys in the world.
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>
>
> --
> 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
>



-- 
~Jeff Hoogland 
Thoughts on Technology , Tech Blog
Bodhi Linux , Enlightenment for your Desktop
--
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] Shutdown Module

2012-08-09 Thread The Rasterman
On Thu, 9 Aug 2012 22:12:55 -0500 Jeff Hoogland  said:

you see. that is the kind of info that is useful. could you maybe expand more
on this? why is there demand? why is the system thing in the start menu not
good enough? power button not good enough. curious what is deficient about what
is currently there?

the only thing that makes me resist is allocating a whole gadget icon/space to
pop up just a menu for shutdown/suspend/reboot etc. - can we do this better? is
it more that our main menu is not obvious enough (system entry confusing/not
obvious etc.)?

> It's something people expect from a modern desktop. Thats why I asked DH to
> write it in the first place. We had a fairly high demand for it in Bodhi
> land.
> 
> On Thu, Aug 9, 2012 at 7:48 PM, Carsten Haitzler wrote:
> 
> > On Fri, 10 Aug 2012 10:42:49 +1000 David Seikel  said:
> >
> > > On Fri, 10 Aug 2012 09:02:36 +0900 Carsten Haitzler (The Rasterman)
> > >  wrote:
> > >
> > > > On Thu, 9 Aug 2012 16:04:45 -0300 "Eduardo Lima (Etrunko)"
> > > >  said:
> > > >
> > > > nice one! i don't mind this little module myself. looks decent in
> > > > idea-land and screen-wise. now i'm going to just put this out to the
> > > > floor - can people think of a good reason why this is bad? i'm
> > > > struggling. i'm tempted to say "yes - core module" :)
> > >
> > > We already got that functionality?  Just playing devils advocate here.
> >
> > sure - but dont need start module either then :) it's really just a more
> > direct and obvious "how the hell do i turn this thing off?" thing.
> >
> > then again - we handle power button stuff well...
> >
> > > > > Just did a cleanup on the source code and pushed it to
> > > > > E-MODULES-EXTRA. Someone *cof* discomfitor *cof* could check if it
> > > > > is worth to move it to the main e tree.
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > > On Thu, Aug 9, 2012 at 12:45 PM, Eduardo Lima (Etrunko)
> > > > >  wrote:
> > > > > > On Thu, Aug 9, 2012 at 10:56 AM, Jeff Hoogland
> > > > > >  wrote:
> > > > > >> This is a module DH wrote for Bodhi awhile back. Would there be
> > > > > >> any interest in adding it to SVN? It creates a simple gadget
> > > > > >> that allows the user to quick perform basic system tasks:
> > > > > >>
> > > > > >> http://i.imgur.com/y8ITL.png
> > > > > >>
> > > > > >> Source code can be had from here ->
> > > > > >>
> > http://downloads.bodhilinux.com/jeff91/efiles/shutdownmodule.tar.gz
> > > > > >>
> > > > > >
> > > > > > me gusta
> > > > > >
> > > > > > --
> > > > > > Eduardo de Barros Lima ◤✠◢
> > > > > > ebl...@gmail.com
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Eduardo de Barros Lima ◤✠◢
> > > > > ebl...@gmail.com
> > > > >
> > > > >
> > --
> > > > > 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
> > > >
> > > >
> > >
> > >
> > > --
> > > A big old stinking pile of genius that no one wants
> > > coz there are too many silver coated monkeys in the world.
> >
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> >
> >
> >
> > --
> > 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
> >
> 
> 
> 
> -- 
> ~Jeff Hoogland 
> Thoughts on Technology , Tech Blog
> Bodhi Linux , Enlightenment for your Desktop
> --
> 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/
> ___
> e

Re: [E-devel] E SVN: lucas trunk/THEMES/darkness/widgets

2012-08-09 Thread michael . blumenkrantz
Enlightenment SVN  wrote:

Log:
darkness: don't use inverted vertical slider

Somethings are ok to inverted (like the border buttons), but for the vertical
slider it looks so wrong. It must be a bug. Even the signal is called UP!




Author: lucas
Date: 2012-08-09 14:19:03 -0700 (Thu, 09 Aug 2012)
New Revision: 75063
Trac: http://trac.enlightenment.org/e/changeset/75063

Modified:
trunk/THEMES/darkness/widgets/slider.edc 

Modified: trunk/THEMES/darkness/widgets/slider.edc
_

--- trunk/THEMES/darkness/widgets/slider.edc2012-08-09 20:40:27 UTC (rev 
75062)
+++ trunk/THEMES/darkness/widgets/slider.edc2012-08-09 21:19:03 UTC (rev 
75063)
@@ -183,7 +183,7 @@
scale: 1;
dragable {
x: 0 0 0;
- y: 1 1 0;
+ y: -1 1 0;
confine: "sld_base";
}
description {


_

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-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


Oh cool, I was gonna fix this today. Thanks!
--
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][Emotion] fix priority set/get for gstreamer

2012-08-09 Thread Sohyun Kim
Hi.
I made a patch for emotion - gstreamer module.

When I call emotion_object_priority_set() after emotion_object_file_set(),
xvimagesink is not created because gstreamer pipeline is already set up.
So I added restart routine for the priority_set().

Also, when I call emotion_object_priority_get(), it returns an opposite value.
I fixed it.

Please check the attached patch.
Regards, Sohyun

emotion.patch.txt
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] [PATCH] evas: hide the evas object after it's smart object deleted.

2012-08-09 Thread Christopher Michael
On 08/10/2012 03:25 AM, wuzhiwen wrote:
>
>
>> -Original Message-
>> From: Gustavo Sverzut Barbieri [mailto:barbi...@profusion.mobi]
>> Sent: Thursday, August 09, 2012 8:53 PM
>> To: Enlightenment developer list
>> Cc: eduardo.de.barros.l...@intel.com
>> Subject: Re: [E-devel] [PATCH] evas: hide the evas object after it's smart
> object
>> deleted.
>>
>> On Thursday, August 9, 2012, Alex Wu wrote:
>>
>>> Hi,
>>> This patch fix the bug http://trac.enlightenment.org/e/ticket/1308
>>>
>>> The root cause of this bug is that when closing the window, the glview
>>> widget need to invoke eng_gl_make_current() before calling it's
>>> del_func. In eng_gl_make_current(), the re->win->egl_display make the
>>> segfualt. It is because re->win has been nullized by
>>> evas_object_hide()<--evas_object_del()<--evas_object_unref()<--
>>> _elm_win_frame_cb_close() which is triggered by clicking the "close"
>>> button.
>>>
>>> I think it is resonable to destroy the re->win of a elm_win after all
>>> smart data deleted.
>>
>>
>> Although the patch does not look problematic per se, it fixes an egl bug in
> a
>> generic code? That do not seem right. Why don't you hande this condition in
> egl
>> engine?
>>
>>
> I think this issue is not only for engine using egl, but for all the cases
> using re->win after it is hid.
>

For once I would agree with Gustavo on this one. I do not see this 
problem when using the opengl_x11 engine which makes me think that it is 
indeed engine specific and that the patch would need to be changed for 
the specific engine, not in a generic way.

dh

>>
>>>
>>> Patch attached.
>>>
>>>
>>>
>>
>> --
>> Gustavo Sverzut Barbieri
>> http://profusion.mobi embedded systems
>> --
>> MSN: barbi...@gmail.com
>> Skype: gsbarbieri
>> Mobile: +55 (19) 9225-2202
>> ---


--
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