[EGIT] [tools/edi] master 02/02: install our test diff for elm_code_test binaries

2015-01-23 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=664cff7d4d52194feef3ea9d33aace341224b953

commit 664cff7d4d52194feef3ea9d33aace341224b953
Author: Andy Williams 
Date:   Fri Jan 23 23:41:53 2015 +

install our test diff for elm_code_test binaries
---
 elm_code/bin/elm_code_test_main.c | 4 +++-
 elm_code/tests/Makefile.am| 5 -
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/elm_code/bin/elm_code_test_main.c 
b/elm_code/bin/elm_code_test_main.c
index e81a4e5..0bb6092 100644
--- a/elm_code/bin/elm_code_test_main.c
+++ b/elm_code/bin/elm_code_test_main.c
@@ -72,10 +72,12 @@ _elm_code_test_welcome_setup(Evas_Object *parent)
 static Evas_Object *
 _elm_code_test_diff_setup(Evas_Object *parent)
 {
-   char *path = "elm_code/tests/testdiff.diff";
+   char path[PATH_MAX];
Evas_Object *diff;
Elm_Code *code;
 
+   snprintf(path, sizeof(path), "%s/../edi/data/testdiff.diff", 
elm_app_data_dir_get());
+
code = elm_code_create();
elm_code_file_open(code, path);
 
diff --git a/elm_code/tests/Makefile.am b/elm_code/tests/Makefile.am
index d1edb30..2f63f38 100644
--- a/elm_code/tests/Makefile.am
+++ b/elm_code/tests/Makefile.am
@@ -23,4 +23,7 @@ elm_code_suite_DEPENDENCIES = 
$(top_builddir)/elm_code/lib/libelm_code.la
 
 endif
 
-EXTRA_DIST = elm_code_suite.h
+testdir = $(datadir)/$(PACKAGE)/data
+test_DATA = testdiff.diff
+
+EXTRA_DIST = elm_code_suite.h $(test_DATA)

-- 




[EGIT] [tools/edi] master 01/02: Let's open .eo files too

2015-01-23 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=ada1529dce4ca6bf0cc6a378407c8474c745c4cb

commit ada1529dce4ca6bf0cc6a378407c8474c745c4cb
Author: Andy Williams 
Date:   Fri Jan 23 23:31:28 2015 +

Let's open .eo files too
---
 src/bin/edi_content_provider.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/edi_content_provider.c b/src/bin/edi_content_provider.c
index 38e5bdc..fdf5958 100644
--- a/src/bin/edi_content_provider.c
+++ b/src/bin/edi_content_provider.c
@@ -60,7 +60,8 @@ EAPI Edi_Content_Provider 
*edi_content_provider_for_mime_get(const char *mime)
 
if (!strcasecmp(mime, "text/plain") || !strcasecmp(mime, 
"application/x-shellscript"))
  id = "text";
-   else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, 
"text/x-csrc"))
+   else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, 
"text/x-csrc")
+|| !strcasecmp(mime, "text/x-modelica"))
  id = "text"; // TODO make a code view
else if (!strncasecmp(mime, "image/", 6))
  id = "image";

-- 




[EGIT] [core/enlightenment] master 01/02: defer client frame resizes if client is not protocol-visible

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a5c00bfb2b426f40aac3beaccab29550aba56f84

commit a5c00bfb2b426f40aac3beaccab29550aba56f84
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 17:20:14 2015 -0500

defer client frame resizes if client is not protocol-visible
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index aa5df40..1f12a3d 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -866,7 +866,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int 
w, int h)
  return;
   }
  }
-   if (cw->ec->new_client)
+   if (cw->ec->new_client || (!cw->ec->visible) || (!cw->effect_obj))
  {
 /* do nothing until client idler loops */
 if (!cw->ec->maximized)

-- 




[EGIT] [core/enlightenment] master 02/02: allow client pixmap size to be used in place of actual client geom for tiler creation

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b0a9d6400059d4a0825a32e2c78c0d426dd583be

commit b0a9d6400059d4a0825a32e2c78c0d426dd583be
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 17:20:52 2015 -0500

allow client pixmap size to be used in place of actual client geom for 
tiler creation
---
 src/bin/e_comp_object.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 1f12a3d..5ed9485 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1396,7 +1396,12 @@ _e_comp_intercept_show(void *data, Evas_Object *obj 
EINA_UNUSED)
 
 if ((!cw->ec->input_only) && (!cw->ec->ignored))
   {
- cw->updates = eina_tiler_new(cw->ec->client.w, cw->ec->client.h);
+ int w, h;
+
+ w = cw->ec->client.w, h = cw->ec->client.h;
+ if ((!w) || (!h))
+   e_pixmap_size_get(cw->ec->pixmap, &w, &h);
+ cw->updates = eina_tiler_new(w, h);
  eina_tiler_tile_size_set(cw->updates, 1, 1);
   }
  }

-- 




[EGIT] [core/enlightenment] master 01/01: Revert "simplify/fix wl client borderless setting"

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a8bd9df733349c69ff075365348136d91894d71d

commit a8bd9df733349c69ff075365348136d91894d71d
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 16:30:28 2015 -0500

Revert "simplify/fix wl client borderless setting"

This reverts commit 1b3d89c4c0f9e6c6358a972876ed9b0be4ad68ce.

I suck too much to fix this right now, maybe later
---
 src/modules/wl_desktop_shell/e_mod_main.c | 20 
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 2c965c8..0645fad 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -273,9 +273,10 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client 
EINA_UNUSED, struct wl
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
 
-   if (ec->internal_elm_win && (!ec->borderless))
- ec->lock_border = ec->borderless = 1;
+   ec->borderless = !ec->internal;
 
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
if ((!ec->lock_user_maximize) && (ec->maximized))
@@ -339,8 +340,9 @@ _e_shell_surface_cb_popup_set(struct wl_client *client 
EINA_UNUSED, struct wl_re
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (ec->internal_elm_win && (!ec->borderless))
- ec->lock_border = ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;
@@ -1194,8 +1196,9 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
/* set toplevel client properties */
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (ec->internal_elm_win && (!ec->borderless))
- ec->lock_border = ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
EC_CHANGED(ec);
@@ -1305,8 +1308,9 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (ec->internal_elm_win && (!ec->borderless))
- ec->lock_border = ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;

-- 




[EGIT] [core/enlightenment] master 02/02: preserve internal window borderless state when set prior to showing window

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d94a76db15be6ee57b50a129f045bc00b51e51a4

commit d94a76db15be6ee57b50a129f045bc00b51e51a4
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 16:21:22 2015 -0500

preserve internal window borderless state when set prior to showing window
---
 src/bin/e_win.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index d5f1a9f..e876dda 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -60,8 +60,10 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
Elm_Win_Trap_Ctx *ctx = data;
Evas *e = evas_object_evas_get(o);
Ecore_Evas *ee = ecore_evas_ecore_evas_get(e);
+   Eina_Bool borderless;
 
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE);
+   borderless = elm_win_borderless_get(o);
if (!ctx->client)
  {
 E_Client *ec;
@@ -121,6 +123,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
 ctx->visible = 1;
 evas_object_show(ctx->client->frame);
  }
+   ctx->client->borderless |= borderless;
e_comp_object_frame_xy_adjust(ctx->client->frame, ctx->client->client.x, 
ctx->client->client.y, &ctx->client->x, &ctx->client->y);
e_comp_object_frame_wh_adjust(ctx->client->frame, ctx->client->client.w, 
ctx->client->client.h, &ctx->client->w, &ctx->client->h);
if (ctx->centered) e_comp_object_util_center(ctx->client->frame);

-- 




[EGIT] [core/enlightenment] master 01/02: simplify/fix wl client borderless setting

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1b3d89c4c0f9e6c6358a972876ed9b0be4ad68ce

commit 1b3d89c4c0f9e6c6358a972876ed9b0be4ad68ce
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 16:05:03 2015 -0500

simplify/fix wl client borderless setting
---
 src/modules/wl_desktop_shell/e_mod_main.c | 20 
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 0645fad..2c965c8 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -273,10 +273,9 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client 
EINA_UNUSED, struct wl
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
 
-   ec->borderless = !ec->internal;
+   if (ec->internal_elm_win && (!ec->borderless))
+ ec->lock_border = ec->borderless = 1;
 
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
if ((!ec->lock_user_maximize) && (ec->maximized))
@@ -340,9 +339,8 @@ _e_shell_surface_cb_popup_set(struct wl_client *client 
EINA_UNUSED, struct wl_re
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (ec->internal_elm_win && (!ec->borderless))
+ ec->lock_border = ec->borderless = 1;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;
@@ -1196,9 +1194,8 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
/* set toplevel client properties */
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (ec->internal_elm_win && (!ec->borderless))
+ ec->lock_border = ec->borderless = 1;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
EC_CHANGED(ec);
@@ -1308,9 +1305,8 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (ec->internal_elm_win && (!ec->borderless))
+ ec->lock_border = ec->borderless = 1;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;

-- 




[EGIT] [core/efl] master 01/01: ecore-wayland: Don't send a mouse_up on grab release unless we actually have a grabbed button

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c6e70107dcaff51ca782ed747fbc574e3ab9bb62

commit c6e70107dcaff51ca782ed747fbc574e3ab9bb62
Author: Chris Michael 
Date:   Fri Jan 23 16:00:03 2015 -0500

ecore-wayland: Don't send a mouse_up on grab release unless we
actually have a grabbed button

Summary: If we don't have an actual grabbed mouse button, then don't
send a mouse up event. Caught this while adding e_grabinput support to
Enlightenment.

@fix

Signed-off-by: Chris Michael 
---
 src/lib/ecore_wayland/ecore_wl_input.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl_input.c 
b/src/lib/ecore_wayland/ecore_wl_input.c
index 0bfc11e..76d115d 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -162,8 +162,9 @@ ecore_wl_input_ungrab(Ecore_Wl_Input *input)
 
if (!input) return;
 
-   _ecore_wl_input_mouse_up_send(input, input->grab,
- 0, input->grab_button, input->grab_timestamp);
+   if ((input->grab) && (input->grab_button))
+ _ecore_wl_input_mouse_up_send(input, input->grab, 0, input->grab_button, 
+   input->grab_timestamp);
 
input->grab = NULL;
input->grab_button = 0;

-- 




[EGIT] [core/elementary] master 01/01: Add correct fdo name for the last added search icon

2015-01-23 Thread Dave Andreoli
davemds pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=f2ee8aa5c4fe35afb867bcc08d3cb2c7fac0852c

commit f2ee8aa5c4fe35afb867bcc08d3cb2c7fac0852c
Author: Dave Andreoli 
Date:   Fri Jan 23 21:44:15 2015 +0100

Add correct fdo name for the last added search icon
---
 data/themes/edc/elm/icon.edc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/themes/edc/elm/icon.edc b/data/themes/edc/elm/icon.edc
index 23fc6be..41cd654 100644
--- a/data/themes/edc/elm/icon.edc
+++ b/data/themes/edc/elm/icon.edc
@@ -41,6 +41,7 @@ IC("arrow-down-left",  "icon_arrow_down_left.png",  16, 
0); /* */
 IC("arrow-down-right", "icon_arrow_down_right.png", 16, 0); /* */
 
 IC("edit-delete",  "icon_delete.png",   16, 0);
+IC("edit-find","icon_search.png",   16, 0);
 
 IC("application-chat", "icon_chat.png", 16, 0); /* */
 IC("application-clock","icon_clock.png",16, 0); /* */

-- 




[EGIT] [core/enlightenment] master 01/01: Revert "only set wl client borderless state as necessary, don't overwrite existing states"

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fba5de7d6a53c9ad931c1389a4810cd3c9f8a44c

commit fba5de7d6a53c9ad931c1389a4810cd3c9f8a44c
Author: Chris Michael 
Date:   Fri Jan 23 14:57:04 2015 -0500

Revert "only set wl client borderless state as necessary, don't overwrite 
existing states"

This reverts commit 5c80ce8e0ed530395c81c771a883817203fe06eb.

Revert this as it causes ALL internal windows to not have any borders
anymore.
---
 src/modules/wl_desktop_shell/e_mod_main.c | 20 
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index decb87e..0645fad 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -273,9 +273,10 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client 
EINA_UNUSED, struct wl
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
 
-   if (!ec->internal_elm_win)
- ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
+   ec->borderless = !ec->internal;
 
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
if ((!ec->lock_user_maximize) && (ec->maximized))
@@ -339,8 +340,9 @@ _e_shell_surface_cb_popup_set(struct wl_client *client 
EINA_UNUSED, struct wl_re
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (!ec->internal_elm_win)
- ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;
@@ -1194,8 +1196,9 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
/* set toplevel client properties */
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (!ec->internal_elm_win)
- ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
EC_CHANGED(ec);
@@ -1305,8 +1308,9 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   if (!ec->internal_elm_win)
- ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
+   ec->borderless = !ec->internal_elm_win;
+   ec->lock_border = EINA_TRUE;
+   ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;

-- 




Re: [E-devel] Trouble compiling an eo.c file

2015-01-23 Thread Andrew Williams
Hi Tom,

Thanks very much, it was indeed EFL_EO_API_SUPPORT.
THe page I used this time was 
https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
Do you know if I can edit this post to update it for the current state 
of things?

Many thanks for your help.
Andrew

On 23/01/15 09:31, Tom Hacohen wrote:
> Really hard to see among all the warnings. :(
>
> I'm not sure what you've done, but you need EFL_BETA_API_SUPPORT (which
> you have) and EFL_EO_API_SUPPORT both defined before the inclusion of
> the other headers.
>
> As for the exact specifics of how to use .eo.c and .eo.h see one of the
> numerous examples in elementary.
>
> --
> Tom.
>
> On 23/01/15 00:30, Andrew Williams wrote:
>> Hi,
>>
>> Sorry to bug folk on what's probably simple but I can't figure what's up
>> with my attempt to port elm_code to an elm_object through eo.
>>
>> I've got a pretty skeleton file (as you can see from the warnings) but
>> can anyone figure what I might be missing? The build setup should have
>> al dependencies set up as it's building the legacy version of the code fine.
>>
>> Many thanks for anyone who can point me in the right direction.
>>
>> Andrew
>>
>>
>> make[4]: Entering directory '/home/andy/Code/E/edi/elm_code/lib'
>>  CC   elm_code_widget_eo.lo
>> elm_code_widget_eo.c:1:0: warning: "EFL_BETA_API_SUPPORT" redefined
>> #define EFL_BETA_API_SUPPORT
>> ^
>> :0:0: note: this is the location of the previous definition
>> elm_code_widget_eo.c: In function '_elm_code_widget_eo_base_constructor':
>> elm_code_widget_eo.c:13:42: warning: unused parameter 'obj'
>> [-Wunused-parameter]
>> _elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
>>  ^
>> elm_code_widget_eo.c:13:69: warning: unused parameter 'pd'
>> [-Wunused-parameter]
>> _elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
>> ^
>> elm_code_widget_eo.c: In function
>> '_elm_code_widget_evas_object_smart_resize':
>> elm_code_widget_eo.c:19:47: warning: unused parameter 'obj'
>> [-Wunused-parameter]
>> _elm_code_widget_evas_object_smart_resize(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
>>   ^
>> elm_code_widget_eo.c:19:74: warning: unused parameter 'pd'
>> [-Wunused-parameter]
>> _elm_code_widget_evas_object_smart_resize(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
>> ^
>> elm_code_widget_eo.c:19:89: warning: unused parameter 'w'
>> [-Wunused-parameter]
>> _elm_code_widget_evas_object_smart_resize(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
>> ^
>> elm_code_widget_eo.c:19:103: warning: unused parameter 'h'
>> [-Wunused-parameter]
>> _elm_code_widget_evas_object_smart_resize(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
>> ^
>> elm_code_widget_eo.c: In function '_elm_code_widget_class_constructor':
>> elm_code_widget_eo.c:25:46: warning: unused parameter 'klass'
>> [-Wunused-parameter]
>> _elm_code_widget_class_constructor(Eo_Class *klass)
>>  ^
>> elm_code_widget_eo.c: In function
>> '_elm_code_widget_elm_interface_scrollable_content_pos_set':
>> elm_code_widget_eo.c:31:63: warning: unused parameter 'obj'
>> [-Wunused-parameter]
>> _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>>   ^
>> elm_code_widget_eo.c:31:90: warning: unused parameter 'pd'
>> [-Wunused-parameter]
>> _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>> ^
>> elm_code_widget_eo.c:31:105: warning: unused parameter 'x'
>> [-Wunused-parameter]
>> _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>> ^
>> elm_code_widget_eo.c:31:119: warning: unused parameter 'y'
>> [-Wunused-parameter]
>> _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>> ^
>> elm_code_widget_eo.c:31:132: warning: unused parameter 'sig'
>> [-Wunused-parameter]
>> _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
>> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>> ^
>> In file included from elm_code_widget_eo.c:2:0:
>> elm_code_widget.eo.c: At top level:
>> elm_code_widget.eo.c:17:26: error: 'evas_obj_smart_resize' undeclared
>> here (not in a function)
>>  EO_OP_FUNC_OVERRIDE(evas_obj_smart_resize,
>> _elm_code_widget_evas_object_smart_resize),
>>  ^
>> /usr/local/include/eo-1/Eo.h:558:30: note: in definition of macro
>> '_EO_OP_API_ENTRY'
>> # define _EO_OP_API_ENTRY(a) a
>>

[EGIT] [bindings/python/python-efl] master 01/01: Add a new example for win main_menu

2015-01-23 Thread Dave Andreoli
davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=b71a0af896a51dd9bfa85cce94c5b8969e7281ef

commit b71a0af896a51dd9bfa85cce94c5b8969e7281ef
Author: Dave Andreoli 
Date:   Fri Jan 23 20:37:04 2015 +0100

Add a new example for win main_menu
---
 examples/elementary/test.py   |  1 +
 examples/elementary/test_main_menu.py | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/examples/elementary/test.py b/examples/elementary/test.py
index 19fdf25..e8ef6af 100755
--- a/examples/elementary/test.py
+++ b/examples/elementary/test.py
@@ -216,6 +216,7 @@ items = [
 ("Flip Selector", "test_flipselector", "flipselector_clicked"),
 ("Hoversel", "test_hoversel", "hoversel_clicked"),
 ("Index", "test_index", "index_clicked"),
+("Main Menu", "test_main_menu", "main_menu_clicked"),
 ("Menu", "test_menu", "menu_clicked"),
 ("Radios", "test_radio", "radio_clicked"),
 ("Segment Control", "test_segment_control", "segment_control_clicked"),
diff --git a/examples/elementary/test_main_menu.py 
b/examples/elementary/test_main_menu.py
new file mode 100644
index 000..01628f5
--- /dev/null
+++ b/examples/elementary/test_main_menu.py
@@ -0,0 +1,56 @@
+#!/usr/bin/env python
+# encoding: utf-8
+
+from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, EXPAND_BOTH
+from efl import elementary
+from efl.elementary.window import StandardWindow
+from efl.elementary.menu import Menu
+from efl.elementary.label import Label
+
+
+def _click_me_cb(menu, item, menu_it1):
+menu_it1.disabled = not menu_it1.disabled
+print("The first item is now %s" % (
+  "disabled" if menu_it1.disabled else "enabled"))
+
+def main_menu_clicked(obj):
+win = StandardWindow("window-mainmenu", "Main Menu",
+ autodel=True, size=(250, 350))
+if obj is None:
+win.callback_delete_request_add(lambda o: elementary.exit())
+
+lb = Label(win, size_hint_weight=EXPAND_BOTH,
+   text="Note: the D-Bus menu example requires support from the "
+"desktop environment to display the application menu")
+win.resize_object_add(lb)
+lb.show()
+
+menu = win.main_menu_get()
+
+menu_it = menu.item_add(None, "first item", "home")
+menu.item_add(menu_it, "first item", "elementary")
+menu_it1 = menu.item_add(menu_it, "submenu")
+menu.item_add(menu_it1,  "first item")
+menu.item_add(menu_it1, "second item",  "gimp")
+
+menu_it = menu.item_add(None, "second item")
+menu_it1 = menu.item_add(menu_it, "disabled item")
+menu_it1.disabled = True
+
+menu.item_separator_add(menu_it)
+menu.item_add(menu_it, "click me :-)", None, _click_me_cb, menu_it1)
+menu.item_add(menu_it, "third item", "applications-email-panel", )
+menu_it1 = menu.item_add(menu_it, "sub menu")
+menu.item_add(menu_it1, "first sub item")
+
+win.show()
+
+
+if __name__ == "__main__":
+elementary.init()
+
+main_menu_clicked(None)
+
+elementary.run()
+elementary.shutdown()
+

-- 




[EGIT] [core/enlightenment] master 03/05: de-e_comp_get()ify e_deskmirror

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a71e0e3553935a35795bc71d8d7f47e62740dd7a

commit a71e0e3553935a35795bc71d8d7f47e62740dd7a
Author: Chris Michael 
Date:   Fri Jan 23 14:32:14 2015 -0500

de-e_comp_get()ify e_deskmirror

Signed-off-by: Chris Michael 
---
 src/bin/e_deskmirror.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index 4804120..5a326a5 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -685,7 +685,7 @@ e_deskmirror_add(E_Desk *desk, Eina_Bool pager, Eina_Bool 
taskbar)
Evas_Object *o, *l;
Evas *e;
 
-   e = e_comp_get(desk)->evas;
+   e = e_comp->evas;
_e_deskmirror_smart_init();
o = evas_object_smart_add(e, _e_deskmirror_smart);
e_object_ref(E_OBJECT(desk));
@@ -710,7 +710,7 @@ e_deskmirror_add(E_Desk *desk, Eina_Bool pager, Eina_Bool 
taskbar)
 
e_layout_freeze(sd->layout);
 
-   l = evas_object_bottom_get(e_comp_get(desk)->evas);
+   l = evas_object_bottom_get(e_comp->evas);
do
  {
 if (evas_object_data_get(l, "comp_object"))

-- 




[EGIT] [core/enlightenment] master 04/05: de-e_comp_get()ify e_int_client_menu

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=93ad6ba5441771437f929b28fe6a23cd9f527d09

commit 93ad6ba5441771437f929b28fe6a23cd9f527d09
Author: Chris Michael 
Date:   Fri Jan 23 14:33:20 2015 -0500

de-e_comp_get()ify e_int_client_menu

Signed-off-by: Chris Michael 
---
 src/bin/e_int_client_menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_int_client_menu.c b/src/bin/e_int_client_menu.c
index 979a210..f25a8c7 100644
--- a/src/bin/e_int_client_menu.c
+++ b/src/bin/e_int_client_menu.c
@@ -982,7 +982,7 @@ _e_client_menu_cb_align_cb(Evas *e, Evas_Object *obj, 
Evas_Event_Mouse_Down *ev)
 {
evas_object_hide(obj);
evas_object_del(obj);
-   e_comp_shape_queue(e_comp_util_evas_object_comp_get(obj));
+   e_comp_shape_queue(e_comp);
return evas_object_top_at_xy_get(e, ev->output.x, ev->output.y, 0, 0);
 }
 

-- 




[EGIT] [core/enlightenment] master 02/05: de-e_comp_get()ify e_desk

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4814695439000fdfab2e6d1d198177a25dc6cd8e

commit 4814695439000fdfab2e6d1d198177a25dc6cd8e
Author: Chris Michael 
Date:   Fri Jan 23 14:31:23 2015 -0500

de-e_comp_get()ify e_desk

Signed-off-by: Chris Michael 
---
 src/bin/e_desk.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index e6104cb..6b08aef 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -111,7 +111,7 @@ e_desk_client_top_visible_get(const E_Desk *desk)
E_OBJECT_CHECK_RETURN(desk, NULL);
E_OBJECT_TYPE_CHECK_RETURN(desk, E_DESK_TYPE, NULL);
 
-   E_CLIENT_REVERSE_FOREACH(e_comp_get(desk), ec)
+   E_CLIENT_REVERSE_FOREACH(e_comp, ec)
  if (e_client_util_desk_visible(ec, desk) && 
evas_object_visible_get(ec->frame)) return ec;
return NULL;
 }
@@ -673,7 +673,7 @@ e_desk_flip_end(E_Desk *desk)
ecore_event_add(E_EVENT_DESK_AFTER_SHOW, ev,
_e_desk_event_desk_after_show_free, NULL);
 
-   e_comp_shape_queue(e_comp_get(desk));
+   e_comp_shape_queue(e_comp);
if (!e_config->focus_last_focused_per_desktop) return;
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
(e_config->focus_policy == E_FOCUS_SLOPPY))
@@ -693,7 +693,7 @@ e_desk_flip_end(E_Desk *desk)
  * user has flipped to this desk. let's be helpful and
  * focus a random window!
  */
- E_CLIENT_REVERSE_FOREACH(e_comp_get(desk), ec)
+ E_CLIENT_REVERSE_FOREACH(e_comp, ec)
{
   /* start with top and go down... */
   if (e_client_util_ignored_get(ec)) continue;

-- 




[EGIT] [core/enlightenment] master 05/05: de-e_comp_get()ify e_moveresize

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=432b76390b45de12bf92da66598f49b4f716660f

commit 432b76390b45de12bf92da66598f49b4f716660f
Author: Chris Michael 
Date:   Fri Jan 23 14:35:37 2015 -0500

de-e_comp_get()ify e_moveresize

Signed-off-by: Chris Michael 
---
 src/bin/e_moveresize.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_moveresize.c b/src/bin/e_moveresize.c
index 91a1b63..8d82dca 100644
--- a/src/bin/e_moveresize.c
+++ b/src/bin/e_moveresize.c
@@ -97,7 +97,7 @@ _e_resize_begin(void *data __UNUSED__, E_Client *ec)
 
e_moveresize_client_extents(ec, &w, &h);
 
-   _disp_content = o = edje_object_add(e_comp_get(ec)->evas);
+   _disp_content = o = edje_object_add(e_comp->evas);
evas_object_name_set(o, "resizeinfo->_disp_content");
e_theme_edje_object_set(o, "base/theme/borders",
"e/widgets/border/default/resize");
@@ -171,7 +171,7 @@ _e_move_begin(void *data __UNUSED__, E_Client *ec)
if ((!e_config->move_info_visible) || (!_e_moveresize_enabled))
  return;
 
-   _disp_content = o = edje_object_add(e_comp_get(ec)->evas);
+   _disp_content = o = edje_object_add(e_comp->evas);
evas_object_name_set(o, "moveinfo->_disp_content");
e_theme_edje_object_set(o, "base/theme/borders",
"e/widgets/border/default/move");

-- 




[EGIT] [core/enlightenment] master 01/05: de-e_comp_get()ify e_actions

2015-01-23 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4c42448ffad82c39cba24be6737a140dc8aa3d69

commit 4c42448ffad82c39cba24be6737a140dc8aa3d69
Author: Chris Michael 
Date:   Fri Jan 23 14:29:51 2015 -0500

de-e_comp_get()ify e_actions

Signed-off-by: Chris Michael 
---
 src/bin/e_actions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index 6f2d4cf..d420470 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -2443,7 +2443,7 @@ ACT_FN_GO(pointer_resize_push, )
 if ((ec->lock_user_size) || (ec->shaded) || (ec->shading) ||
 (ec->fullscreen) || ((ec->maximized) && (!e_config->allow_manip)))
   return;
-e_pointer_type_push(e_comp_get(ec)->pointer, ec, params);
+e_pointer_type_push(e_comp->pointer, ec, params);
  }
 }
 
@@ -2459,7 +2459,7 @@ ACT_FN_GO(pointer_resize_pop, )
 if ((ec->lock_user_size) || (ec->shaded) || (ec->shading) ||
 (ec->fullscreen) || ((ec->maximized) && (!e_config->allow_manip)))
   return;
-e_pointer_type_pop(e_comp_get(ec)->pointer, ec, params);
+e_pointer_type_pop(e_comp->pointer, ec, params);
  }
 }
 

-- 




[EGIT] [core/enlightenment] master 01/01: only set wl client borderless state as necessary, don't overwrite existing states

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5c80ce8e0ed530395c81c771a883817203fe06eb

commit 5c80ce8e0ed530395c81c771a883817203fe06eb
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 14:31:35 2015 -0500

only set wl client borderless state as necessary, don't overwrite existing 
states
---
 src/modules/wl_desktop_shell/e_mod_main.c | 20 
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 0645fad..decb87e 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -273,10 +273,9 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client 
EINA_UNUSED, struct wl
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
 
-   ec->borderless = !ec->internal;
+   if (!ec->internal_elm_win)
+ ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
 
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
if ((!ec->lock_user_maximize) && (ec->maximized))
@@ -340,9 +339,8 @@ _e_shell_surface_cb_popup_set(struct wl_client *client 
EINA_UNUSED, struct wl_re
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (!ec->internal_elm_win)
+ ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;
@@ -1196,9 +1194,8 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
/* set toplevel client properties */
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (!ec->internal_elm_win)
+ ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
EC_CHANGED(ec);
@@ -1308,9 +1305,8 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal_elm_win;
-   ec->lock_border = EINA_TRUE;
-   ec->border.changed = ec->changes.border = !ec->borderless;
+   if (!ec->internal_elm_win)
+ ec->lock_border = ec->border.changed = ec->changes.border = 
ec->borderless = 1;
ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;

-- 




[EGIT] [core/enlightenment] enlightenment-0.19 01/01: continue to hide window input regions on desk flip if they are shaded

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1359adbbbdc1d431253ed90e765eb40abeaae150

commit 1359adbbbdc1d431253ed90e765eb40abeaae150
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 14:26:28 2015 -0500

continue to hide window input regions on desk flip if they are shaded
---
 src/bin/e_desk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index 58f2211..557fe30 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -852,7 +852,7 @@ _e_desk_show_begin(E_Desk *desk, int dx, int dy)
 else
   ec->hidden = 0;
 
-e_client_comp_hidden_set(ec, ec->hidden);
+e_client_comp_hidden_set(ec, ec->hidden || ec->shaded);
 evas_object_show(ec->frame);
  }
if ((!e_config->desk_flip_animate_type) || (!desk->animate_count))

-- 




[EGIT] [core/enlightenment] master 01/01: continue to hide window input regions on desk flip if they are shaded

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=363a78a260f4377b281526d50500ec5a6e00d2cf

commit 363a78a260f4377b281526d50500ec5a6e00d2cf
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 14:26:28 2015 -0500

continue to hide window input regions on desk flip if they are shaded
---
 src/bin/e_desk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index 52075c5..e6104cb 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -844,7 +844,7 @@ _e_desk_show_begin(E_Desk *desk, int dx, int dy)
 else
   ec->hidden = 0;
 
-e_client_comp_hidden_set(ec, ec->hidden);
+e_client_comp_hidden_set(ec, ec->hidden || ec->shaded);
 evas_object_show(ec->frame);
  }
if ((!e_config->desk_flip_animate_type) || (!desk->animate_count))

-- 




[EGIT] [core/enlightenment] master 01/02: de-e_comp_get()ify e_win

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=665a399b147657cf5e0211ac1cad84a7c05b1a22

commit 665a399b147657cf5e0211ac1cad84a7c05b1a22
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 14:09:49 2015 -0500

de-e_comp_get()ify e_win
---
 src/bin/e_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 15ef4bc..fdcee07 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -72,7 +72,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
 if (!strncmp(ecore_evas_engine_name_get(ee), "wayland", 7))
   {
  type = E_PIXMAP_TYPE_WL;
- ctx->pointer = e_comp_get(NULL)->pointer;
+ ctx->pointer = e_comp->pointer;
   }
 else
   {

-- 




[EGIT] [core/enlightenment] master 02/02: force server borders on internal wl wins again

2015-01-23 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=03c59152450ad8929d4d0746187491cd83c1724a

commit 03c59152450ad8929d4d0746187491cd83c1724a
Author: Mike Blumenkrantz 
Date:   Fri Jan 23 14:10:16 2015 -0500

force server borders on internal wl wins again

this goes back to previous behavior before elm win conversion
---
 src/bin/e_win.c   |  1 +
 src/modules/wl_desktop_shell/e_mod_main.c | 10 +++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index fdcee07..d5f1a9f 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -73,6 +73,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
   {
  type = E_PIXMAP_TYPE_WL;
  ctx->pointer = e_comp->pointer;
+ elm_win_borderless_set(o, 1);
   }
 else
   {
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index d91ca57..0645fad 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -274,8 +274,6 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client 
EINA_UNUSED, struct wl
ec->no_shape_cut = EINA_TRUE;
 
ec->borderless = !ec->internal;
-   if ((ec->internal_elm_win) || (ec->override))
- ec->borderless = EINA_TRUE;
 
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
@@ -342,7 +340,7 @@ _e_shell_surface_cb_popup_set(struct wl_client *client 
EINA_UNUSED, struct wl_re
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = EINA_TRUE;
+   ec->borderless = !ec->internal_elm_win;
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;
@@ -1198,9 +1196,7 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
/* set toplevel client properties */
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = !ec->internal;
-   if ((ec->internal_elm_win) || (ec->override))
- ec->borderless = EINA_TRUE;
+   ec->borderless = !ec->internal_elm_win;
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
@@ -1312,7 +1308,7 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
 
ec->argb = EINA_TRUE;
ec->no_shape_cut = EINA_TRUE;
-   ec->borderless = EINA_TRUE;
+   ec->borderless = !ec->internal_elm_win;
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
ec->changes.icon = !!ec->icccm.class;

-- 




[EGIT] [bindings/python/python-efl] master 01/01: Improve a bit the Window test

2015-01-23 Thread Dave Andreoli
davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=6ac80225fbb2e6d66fd6af808b9d9dc0ea858ec0

commit 6ac80225fbb2e6d66fd6af808b9d9dc0ea858ec0
Author: Dave Andreoli 
Date:   Fri Jan 23 20:07:50 2015 +0100

Improve a bit the Window test
---
 examples/elementary/test_win.py | 110 ++--
 1 file changed, 83 insertions(+), 27 deletions(-)

diff --git a/examples/elementary/test_win.py b/examples/elementary/test_win.py
index 8e2ca76..ad87b3c 100644
--- a/examples/elementary/test_win.py
+++ b/examples/elementary/test_win.py
@@ -1,8 +1,9 @@
 #!/usr/bin/env python
 # encoding: utf-8
 
+from efl.ecore import Timer
 from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, \
-EXPAND_BOTH, FILL_BOTH, EXPAND_HORIZ, FILL_HORIZ
+EXPAND_BOTH, FILL_BOTH, EXPAND_HORIZ, FILL_HORIZ, FILL_VERT
 from efl import elementary
 from efl.elementary.window import Window, ELM_WIN_BASIC
 from efl.elementary.background import Background
@@ -12,15 +13,10 @@ from efl.elementary.check import Check
 from efl.elementary.slider import Slider
 
 
-def cb_alpha(bt, win, bg, on):
-win.alpha = on
+def cb_alpha(ck, win, bg):
+win.alpha = ck.state
 print("alpha: %s" % win.alpha)
-
-bg.hide() if on else bg.show()
-
-def cb_fullscreen(bt, win, fs):
-win.fullscreen = fs
-print("fullscreen: %s" % win.fullscreen)
+bg.hide() if ck.state is True else bg.show()
 
 def cb_rot(bt, win, ck, rot):
 if ck.state:
@@ -28,12 +24,20 @@ def cb_rot(bt, win, ck, rot):
 else:
 win.rotation = rot
 
+def cb_iconify_and_activate(bt, win):
+win.iconified = True
+Timer(3.0, lambda: win.activate())
+
+def cb_iconify_and_deiconify(bt, win):
+win.iconified = True
+Timer(3.0, lambda: win.iconified_set(False))
+
 def cb_win_moved(win):
 print("MOVE - win geom: x %d, y %d, w %d, h %d" % win.geometry)
 
 def window_states_clicked(obj):
-win = Window("window-states", ELM_WIN_BASIC,
-title="Window States test", autodel=True, size=(280, 400))
+win = Window("window-states", ELM_WIN_BASIC, autodel=True,
+ title="Window States test", size=(280, 400))
 win.callback_moved_add(cb_win_moved)
 if obj is None:
 win.callback_delete_request_add(lambda o: elementary.exit())
@@ -49,27 +53,79 @@ def window_states_clicked(obj):
 vbox.show()
 
 hbox = Box(win, horizontal=True, size_hint_align=FILL_HORIZ,
-size_hint_weight=EXPAND_HORIZ)
+   size_hint_weight=EXPAND_HORIZ)
 vbox.pack_end(hbox)
 hbox.show()
 
-for state in [True, False]:
-bt = Button(win, text="Alpha " + ("On" if state else "Off"),
-size_hint_align=FILL_HORIZ, size_hint_weight=EXPAND_HORIZ)
-bt.callback_clicked_add(cb_alpha, win, bg, state)
-hbox.pack_end(bt)
-bt.show()
+hbox = Box(win, horizontal=True, size_hint_align=FILL_HORIZ,
+   size_hint_weight=EXPAND_HORIZ)
+vbox.pack_end(hbox)
+hbox.show()
 
-for state in [True, False]:
-bt = Button(win, text="FS " + ("On" if state else "Off"),
-size_hint_align=FILL_HORIZ, size_hint_weight=EXPAND_HORIZ)
-bt.callback_clicked_add(cb_fullscreen, win, state)
-hbox.pack_end(bt)
-bt.show()
+bt = Button(win, text="Lower", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(lambda b: win.lower())
+hbox.pack_end(bt)
+bt.show()
+
+bt = Button(win, text="Iconify and Activate", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(cb_iconify_and_activate, win)
+hbox.pack_end(bt)
+bt.show()
+
+bt = Button(win, text="Iconify and Deiconify", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(cb_iconify_and_deiconify, win)
+hbox.pack_end(bt)
+bt.show()
+
+hbox = Box(win, horizontal=True, size_hint_align=FILL_HORIZ,
+   size_hint_weight=EXPAND_HORIZ)
+vbox.pack_end(hbox)
+hbox.show()
+
+bt = Button(win, text="Move 0 0", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(lambda b: win.move(0,0))
+hbox.pack_end(bt)
+bt.show()
+
+bt = Button(win, text="Move 20 20", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(lambda b: win.move(20,20))
+hbox.pack_end(bt)
+bt.show()
+
+bt = Button(win, text="Center", size_hint_align=FILL_HORIZ,
+size_hint_weight=EXPAND_HORIZ)
+bt.callback_clicked_add(lambda b: win.center(True, True))
+hbox.pack_end(bt)
+bt.show()
+
+hbox = Box(win, horizontal=True, size_hint_align=FILL_HORIZ,
+   size_hint_weight=EXPAND_HORIZ)
+vbox.pack_end(hbox)
+hbox.show()
+
+ck = Check(win, text="Alpha")
+ck.callback_changed_add(cb_al

Re: [E-devel] [EGIT] [core/efl] master 01/01: Eo add: beef up error reporting.

2015-01-23 Thread Tom Hacohen
On 23/01/15 17:39, Jérémy Zurcher wrote:
> Hi Tom, just a little typo :
>
> On Friday 23 January 2015  08:51, Tom Hacohen wrote :
>> tasn pushed a commit to branch master.
>>
>> http://git.enlightenment.org/core/efl.git/commit/?id=40cb2cd3d44e3266b7a50a3c64626034da2817e4
>>
>> commit 40cb2cd3d44e3266b7a50a3c64626034da2817e4
>> Author: Tom Hacohen 
>> Date:   Fri Jan 23 16:51:02 2015 +
>>
>>  Eo add: beef up error reporting.
>>
>>  In some cases object ceration would fail without an error,
>>  this is bad and should not happen.
>>
>>  Thanks to cedric for reporting.
>> ---
>>   src/lib/eo/eo.c |  5 -
>>   src/lib/eo/eo_ptr_indirection.h | 24 
>>   2 files changed, 24 insertions(+), 5 deletions(-)
>>
>> diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
>> index 96f190d..a0adecd 100644
>> --- a/src/lib/eo/eo.c
>> +++ b/src/lib/eo/eo.c
>> @@ -933,7 +933,10 @@ _eo_add_internal_end(Eo *eo_id)
>>}
>>
>>  if (EINA_UNLIKELY(!fptr->o.obj))
>> -  return NULL;
>> + {
>> +ERR("Corrupt call stuck, shouldn't happen, please report!");
> HEERE

Is that a mating call?

--
Tom.




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: Eo add: beef up error reporting.

2015-01-23 Thread Jérémy Zurcher
Hi Tom, just a little typo :

On Friday 23 January 2015  08:51, Tom Hacohen wrote :
> tasn pushed a commit to branch master.
> 
> http://git.enlightenment.org/core/efl.git/commit/?id=40cb2cd3d44e3266b7a50a3c64626034da2817e4
> 
> commit 40cb2cd3d44e3266b7a50a3c64626034da2817e4
> Author: Tom Hacohen 
> Date:   Fri Jan 23 16:51:02 2015 +
> 
> Eo add: beef up error reporting.
> 
> In some cases object ceration would fail without an error,
> this is bad and should not happen.
> 
> Thanks to cedric for reporting.
> ---
>  src/lib/eo/eo.c |  5 -
>  src/lib/eo/eo_ptr_indirection.h | 24 
>  2 files changed, 24 insertions(+), 5 deletions(-)
> 
> diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
> index 96f190d..a0adecd 100644
> --- a/src/lib/eo/eo.c
> +++ b/src/lib/eo/eo.c
> @@ -933,7 +933,10 @@ _eo_add_internal_end(Eo *eo_id)
>   }
>  
> if (EINA_UNLIKELY(!fptr->o.obj))
> -  return NULL;
> + {
> +ERR("Corrupt call stuck, shouldn't happen, please report!");
HEERE
> +return NULL;
> + }
>  
> if (!fptr->o.obj->condtor_done || fptr->o.obj->do_error)
>   {
> diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h
> index 9978701..c801e47 100644
> --- a/src/lib/eo/eo_ptr_indirection.h
> +++ b/src/lib/eo/eo_ptr_indirection.h
> @@ -11,29 +11,45 @@
>  #define EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, ret) \
> _Eo_Object *obj; \
> do { \
> +if (!obj_id) return ret; \
>  obj = _eo_obj_pointer_get((Eo_Id)obj_id); \
> -if (!obj) return ret; \
> +if (!obj) { \
> + ERR("Obj (%p) is an invalid ref.", obj_id); \
> + return ret; \
> +} \
> } while (0)
>  
>  #define EO_OBJ_POINTER_RETURN(obj_id, obj)   \
> _Eo_Object *obj; \
> do { \
> +if (!obj_id) return; \
>  obj = _eo_obj_pointer_get((Eo_Id)obj_id);   \
> -if (!obj) return; \
> +if (!obj) { \
> + ERR("Obj (%p) is an invalid ref.", obj_id); \
> + return; \
> +} \
> } while (0)
>  
>  #define EO_CLASS_POINTER_RETURN_VAL(klass_id, klass, ret) \
> _Eo_Class *klass; \
> do { \
> +if (!klass_id) return ret; \
>  klass = _eo_class_pointer_get(klass_id); \
> -if (!klass) return ret; \
> +if (!klass) { \
> + ERR("Klass (%p) is an invalid ref.", klass_id); \
> + return ret; \
> +} \
> } while (0)
>  
>  #define EO_CLASS_POINTER_RETURN(klass_id, klass)   \
> _Eo_Class *klass; \
> do { \
> +if (!klass_id) return; \
>  klass = _eo_class_pointer_get(klass_id); \
> -if (!klass) return; \
> +if (!klass) { \
> + ERR("Klass (%p) is an invalid ref.", klass_id); \
> + return; \
> +} \
> } while (0)
>  
>  #else
> 
> -- 
> 
> 
--- Hell'O from Yverdoom

Jérémy (jeyzu)

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: Eo add: beef up error reporting.

2015-01-23 Thread Tom Hacohen
tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40cb2cd3d44e3266b7a50a3c64626034da2817e4

commit 40cb2cd3d44e3266b7a50a3c64626034da2817e4
Author: Tom Hacohen 
Date:   Fri Jan 23 16:51:02 2015 +

Eo add: beef up error reporting.

In some cases object ceration would fail without an error,
this is bad and should not happen.

Thanks to cedric for reporting.
---
 src/lib/eo/eo.c |  5 -
 src/lib/eo/eo_ptr_indirection.h | 24 
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 96f190d..a0adecd 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -933,7 +933,10 @@ _eo_add_internal_end(Eo *eo_id)
  }
 
if (EINA_UNLIKELY(!fptr->o.obj))
-  return NULL;
+ {
+ERR("Corrupt call stuck, shouldn't happen, please report!");
+return NULL;
+ }
 
if (!fptr->o.obj->condtor_done || fptr->o.obj->do_error)
  {
diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h
index 9978701..c801e47 100644
--- a/src/lib/eo/eo_ptr_indirection.h
+++ b/src/lib/eo/eo_ptr_indirection.h
@@ -11,29 +11,45 @@
 #define EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, ret) \
_Eo_Object *obj; \
do { \
+if (!obj_id) return ret; \
 obj = _eo_obj_pointer_get((Eo_Id)obj_id); \
-if (!obj) return ret; \
+if (!obj) { \
+ ERR("Obj (%p) is an invalid ref.", obj_id); \
+ return ret; \
+} \
} while (0)
 
 #define EO_OBJ_POINTER_RETURN(obj_id, obj)   \
_Eo_Object *obj; \
do { \
+if (!obj_id) return; \
 obj = _eo_obj_pointer_get((Eo_Id)obj_id);   \
-if (!obj) return; \
+if (!obj) { \
+ ERR("Obj (%p) is an invalid ref.", obj_id); \
+ return; \
+} \
} while (0)
 
 #define EO_CLASS_POINTER_RETURN_VAL(klass_id, klass, ret) \
_Eo_Class *klass; \
do { \
+if (!klass_id) return ret; \
 klass = _eo_class_pointer_get(klass_id); \
-if (!klass) return ret; \
+if (!klass) { \
+ ERR("Klass (%p) is an invalid ref.", klass_id); \
+ return ret; \
+} \
} while (0)
 
 #define EO_CLASS_POINTER_RETURN(klass_id, klass)   \
_Eo_Class *klass; \
do { \
+if (!klass_id) return; \
 klass = _eo_class_pointer_get(klass_id); \
-if (!klass) return; \
+if (!klass) { \
+ ERR("Klass (%p) is an invalid ref.", klass_id); \
+ return; \
+} \
} while (0)
 
 #else

-- 




Re: [E-devel] Some new icons

2015-01-23 Thread Alex-P. Natsios
Second one works correctly, Nice icons!

-- 
Regards,

Alex-P. Natsios
(a.k.a Drakevr)

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: evas/map: make an internal function to static.

2015-01-23 Thread ChunEon Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d85d9672b58bdc0df93fa3fb7a935ce919e7dbfa

commit d85d9672b58bdc0df93fa3fb7a935ce919e7dbfa
Author: ChunEon Park 
Date:   Fri Jan 23 22:50:04 2015 +0900

evas/map: make an internal function to static.

no need this function set external.
---
 src/lib/evas/canvas/evas_map.c  | 72 ++---
 src/lib/evas/include/evas_private.h |  1 -
 2 files changed, 36 insertions(+), 37 deletions(-)

diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index f0a18ac..453caba 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -108,6 +108,42 @@ _evas_map_calc_map_geometry(Evas_Object *eo_obj)
if (ch) _evas_map_calc_geom_change(eo_obj);
 }
 
+static void
+evas_object_map_move_sync(Evas_Object *eo_obj)
+{
+   Evas_Object_Protected_Data *obj;
+   Evas_Map *m;
+   Evas_Map_Point *p;
+   Evas_Coord diff_x, diff_y;
+   int i, count;
+
+   obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
+   if (!obj) return;
+
+   if ((!obj->map->cur.map->move_sync.enabled) ||
+   ((obj->map->cur.map->move_sync.diff_x == 0) &&
+(obj->map->cur.map->move_sync.diff_y == 0)))
+ return;
+
+   m = obj->map->cur.map;
+   p = m->points;
+   count = m->count;
+   diff_x = m->move_sync.diff_x;
+   diff_y = m->move_sync.diff_y;
+
+   for (i = 0; i < count; i++, p++)
+ {
+p->px += diff_x;
+p->py += diff_y;
+p->x += diff_x;
+p->y += diff_y;
+ }
+   m->move_sync.diff_x = 0;
+   m->move_sync.diff_y = 0;
+
+   _evas_map_calc_map_geometry(eo_obj);
+}
+
 static inline Evas_Map *
 _evas_map_new(int count)
 {
@@ -1321,39 +1357,3 @@ evas_map_object_move_diff_set(Evas_Map *m,
m->move_sync.diff_x += diff_x;
m->move_sync.diff_y += diff_y;
 }
-
-void
-evas_object_map_move_sync(Evas_Object *eo_obj)
-{
-   Evas_Object_Protected_Data *obj;
-   Evas_Map *m;
-   Evas_Map_Point *p;
-   Evas_Coord diff_x, diff_y;
-   int i, count;
-
-   obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
-   if (!obj) return;
-
-   if ((!obj->map->cur.map->move_sync.enabled) ||
-   ((obj->map->cur.map->move_sync.diff_x == 0) &&
-(obj->map->cur.map->move_sync.diff_y == 0)))
- return;
-
-   m = obj->map->cur.map;
-   p = m->points;
-   count = m->count;
-   diff_x = m->move_sync.diff_x;
-   diff_y = m->move_sync.diff_y;
-
-   for (i = 0; i < count; i++, p++)
- {
-p->px += diff_x;
-p->py += diff_y;
-p->x += diff_x;
-p->y += diff_y;
- }
-   m->move_sync.diff_x = 0;
-   m->move_sync.diff_y = 0;
-
-   _evas_map_calc_map_geometry(eo_obj);
-}
diff --git a/src/lib/evas/include/evas_private.h 
b/src/lib/evas/include/evas_private.h
index 318baf2..10c918e 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1733,7 +1733,6 @@ Eina_Bool evas_map_inside_get(const Evas_Map *m, 
Evas_Coord x, Evas_Coord y);
 Eina_Bool evas_map_coords_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y, 
Evas_Coord *mx, Evas_Coord *my, int grab);
 Eina_Bool evas_object_map_update(Evas_Object *obj, int x, int y, int imagew, 
int imageh, int uvw, int uvh);
 void evas_map_object_move_diff_set(Evas_Map *m, Evas_Coord diff_x, Evas_Coord 
diff_y);
-void evas_object_map_move_sync(Evas_Object *obj);
 
 Eina_List *evas_module_engine_list(void);
 

-- 




Re: [E-devel] Where to report bugs/feature request for Terminology

2015-01-23 Thread Massimo Maiurana
Laszlo Krekacs ha scritto il 23/01/2015 alle 13:57:

> I have reported a bug (Alt-Enter does not work inside mc) here:
> https://github.com/billiob/terminology/issues/11

Wow, didn't knew about this useful shortcut, cool :)
Anyway it does work for me, but I'm not a terminology developer. It's
Billiob who's maintaining terminology, and he reads this list AFAIK.

-- 
Massimo Maiurana
Ragusa (RG)

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Where to report bugs/feature request for Terminology

2015-01-23 Thread Boris Faure
On 15-01-23 13:57, Laszlo Krekacs wrote:
> Hi,
> 
> I would like to know where is the best place to report Terminology
> bugs or feature request.
> I have reported a bug (Alt-Enter does not work inside mc) here:
> https://github.com/billiob/terminology/issues/11
> 
> And a feature request (Favicon next to tab title) here:
> https://github.com/billiob/terminology/issues/10
> 
> Should I report the issues somewhere else, or is this the main place?
> 
> Best,
>  Laszlo

I follow both places (that github) and phab:
https://phab.enlightenment.org/maniphest/task/create/ .
The preferred place to report bug is phab.

-- 
Boris Faure
Pointer Arithmetician


signature.asc
Description: Digital signature
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Where to report bugs/feature request for Terminology

2015-01-23 Thread Alex-P. Natsios
Not sure billiob checks the github issues (knowing him it's quite
possible though)

I Think the best place would be in http://phab.enlightenment.org under
the terminology project.

-- 
Regards,

Alex-P. Natsios
(a.k.a Drakevr)

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Where to report bugs/feature request for Terminology

2015-01-23 Thread Laszlo Krekacs
Hi,

I would like to know where is the best place to report Terminology
bugs or feature request.
I have reported a bug (Alt-Enter does not work inside mc) here:
https://github.com/billiob/terminology/issues/11

And a feature request (Favicon next to tab title) here:
https://github.com/billiob/terminology/issues/10

Should I report the issues somewhere else, or is this the main place?

Best,
 Laszlo

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 06/09: e_module: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c66b4023226ee4730bfa90dadead6c239eadf078

commit c66b4023226ee4730bfa90dadead6c239eadf078
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:43:40 2015 +0100

e_module: de-e_comp_get()ify
---
 src/bin/e_module.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index 746106e..b7b9225 100644
--- a/src/bin/e_module.c
+++ b/src/bin/e_module.c
@@ -241,7 +241,7 @@ e_module_all_load(void)
 if (!em) continue;
 
 if ((!e_util_strcmp(em->name, "comp")) || (!e_util_strcmp(em->name, 
"conf_comp")) ||
-(e_comp_get(NULL) && (!strcmp(em->name, "wl_x11"))) //block wl_x11 
if we've already created a compositor
+(e_comp && (!strcmp(em->name, "wl_x11"))) //block wl_x11 if we've 
already created a compositor
)
   {
  eina_stringshare_del(em->name);
@@ -986,7 +986,7 @@ _e_module_whitelist_check(void)
 
   state = badl ? "YES" : "NO";
 
-  if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+  if (e_comp->comp_type == E_PIXMAP_TYPE_X)
 {
Ecore_X_Atom _x_tainted;
unsigned int _e_tainted = badl ? 1 : 0;

-- 




[EGIT] [core/enlightenment] master 07/09: e_mouse: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=56de1002ecb456a7c974885a2c1c0179bbccbe5a

commit 56de1002ecb456a7c974885a2c1c0179bbccbe5a
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:44:43 2015 +0100

e_mouse: de-e_comp_get()ify
---
 src/bin/e_mouse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_mouse.c b/src/bin/e_mouse.c
index 2990c24..7cae8ec 100644
--- a/src/bin/e_mouse.c
+++ b/src/bin/e_mouse.c
@@ -7,7 +7,7 @@ e_mouse_update(void)
int n;
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 if (!ecore_x_pointer_control_set(e_config->mouse_accel_numerator,
  e_config->mouse_accel_denominator,
@@ -41,7 +41,7 @@ e_mouse_update(void)
  }
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  if (!ecore_x_pointer_mapping_set(map, n)) return 0;
 #endif
 

-- 




[EGIT] [core/enlightenment] master 08/09: e_notification: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=38b8ba509bb57a7e528ecc20a1e2c1d50930e634

commit 38b8ba509bb57a7e528ecc20a1e2c1d50930e634
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:49:09 2015 +0100

e_notification: de-e_comp_get()ify
---
 src/bin/e_notification.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c
index 021ab0c..ae57eb7 100644
--- a/src/bin/e_notification.c
+++ b/src/bin/e_notification.c
@@ -93,8 +93,8 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, 
const Eldbus_Messag
if (e_screensaver_on_get() && e_config->screensaver_wake_on_notify)
  {
 int x, y;
-ecore_evas_pointer_xy_get(e_comp_get(NULL)->ee, &x, &y);
-ecore_evas_pointer_warp(e_comp_get(NULL)->ee, x, y);
+ecore_evas_pointer_xy_get(e_comp->ee, &x, &y);
+ecore_evas_pointer_warp(e_comp->ee, x, y);
  }
eldbus_message_iter_dict_iterate(hints_iter, "sv", hints_dict_iter, n);
n->app_name = eina_stringshare_add(n->app_name);

-- 




[EGIT] [core/enlightenment] master 01/09: e_backlight: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f64b07bb8e2fd7c5635a6b5063f8130d3d2eca97

commit f64b07bb8e2fd7c5635a6b5063f8130d3d2eca97
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:37:59 2015 +0100

e_backlight: de-e_comp_get()ify
---
 src/bin/e_backlight.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c
index d71337e..272c366 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -49,7 +49,7 @@ e_backlight_init(void)
 #endif
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  xbl_avail = ecore_x_randr_output_backlight_available();
 #endif
e_backlight_update();

-- 




[EGIT] [core/enlightenment] master 09/09: e_screensaver: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=baad02c03a264121c087708743cd2a7ba9a6c1d3

commit baad02c03a264121c087708743cd2a7ba9a6c1d3
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:49:54 2015 +0100

e_screensaver: de-e_comp_get()ify
---
 src/bin/e_screensaver.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_screensaver.c b/src/bin/e_screensaver.c
index 9bf139c..6be9b7a 100644
--- a/src/bin/e_screensaver.c
+++ b/src/bin/e_screensaver.c
@@ -83,7 +83,7 @@ e_screensaver_update(void)
 changed = EINA_TRUE;
  }
 
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 if (changed)
   ecore_x_screensaver_set(timeout, interval, blanking, expose);
@@ -96,7 +96,7 @@ e_screensaver_force_update(void)
 {
 #ifndef HAVE_WAYLAND_ONLY
int timeout = e_screensaver_timeout_get(EINA_TRUE);
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 ecore_x_screensaver_set(timeout + 10,
 0,
@@ -440,7 +440,7 @@ EAPI void
 e_screensaver_activate(void)
 {
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 ecore_x_screensaver_activate();
  }
@@ -452,7 +452,7 @@ EAPI void
 e_screensaver_deactivate(void)
 {
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 ecore_x_screensaver_reset();
  }

-- 




[EGIT] [core/enlightenment] master 03/09: e_configure: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c100027f207f02c82e4aebccb5c5cae9a7de5745

commit c100027f207f02c82e4aebccb5c5cae9a7de5745
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:40:45 2015 +0100

e_configure: de-e_comp_get()ify
---
 src/bin/e_configure.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_configure.c b/src/bin/e_configure.c
index 3d75c97..093d66d 100644
--- a/src/bin/e_configure.c
+++ b/src/bin/e_configure.c
@@ -76,9 +76,9 @@ e_configure_registry_call(const char *path, Evas_Object 
*parent, const char *par
{
   if (custom_desktop_exec.func)
 custom_desktop_exec.func(custom_desktop_exec.data,
- e_comp_get(NULL), params, 
eci->desktop);
+ e_comp, params, eci->desktop);
   else
-e_exec(e_zone_current_get(e_comp_get(NULL)),
+e_exec(e_zone_current_get(e_comp),
eci->desktop, NULL, NULL, "config");
}
  break;

-- 




[EGIT] [core/enlightenment] master 04/09: e_dpms: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fe024b561b2e900ecbc5c5ceb1531a56aa3b6382

commit fe024b561b2e900ecbc5c5ceb1531a56aa3b6382
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:42:01 2015 +0100

e_dpms: de-e_comp_get()ify
---
 src/bin/e_dpms.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_dpms.c b/src/bin/e_dpms.c
index ec44392..f600a96 100644
--- a/src/bin/e_dpms.c
+++ b/src/bin/e_dpms.c
@@ -29,7 +29,7 @@ e_dpms_update(void)
  {
 _e_dpms_enabled = enabled;
 #ifndef HAVE_WAYLAND_ONLY
-if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+if (e_comp->comp_type == E_PIXMAP_TYPE_X)
   ecore_x_dpms_enabled_set(enabled);
 #endif
  }
@@ -58,7 +58,7 @@ e_dpms_update(void)
 changed = EINA_TRUE;
  }
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 if (changed) ecore_x_dpms_timeouts_set(standby, suspend, off);
  }
@@ -74,7 +74,7 @@ e_dpms_force_update(void)
enabled = ((e_config->screensaver_enable) &&
   (!e_config->mode.presentation));
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  ecore_x_dpms_enabled_set(enabled);
 #endif
if (!enabled) return;
@@ -87,7 +87,7 @@ e_dpms_force_update(void)
 off += 7;
  }
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type != E_PIXMAP_TYPE_X) return;
+   if (e_comp->comp_type != E_PIXMAP_TYPE_X) return;
ecore_x_dpms_timeouts_set(standby + 10, suspend + 10, off + 10);
ecore_x_dpms_timeouts_set(standby, suspend, off);
 #endif
@@ -149,7 +149,7 @@ e_dpms_init(void)
(E_EVENT_DESK_SHOW, _e_dpms_handler_desk_show_cb, NULL);
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  {
 _e_dpms_enabled = ecore_x_dpms_enabled_get();
 ecore_x_dpms_timeouts_get

-- 




[EGIT] [core/enlightenment] master 02/09: e_bindings: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8c60f2e02c7dd256171495ad57af0e7f7b023b44

commit 8c60f2e02c7dd256171495ad57af0e7f7b023b44
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:38:28 2015 +0100

e_bindings: de-e_comp_get()ify
---
 src/bin/e_bindings.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c
index 0300bc4..4be99e4 100644
--- a/src/bin/e_bindings.c
+++ b/src/bin/e_bindings.c
@@ -122,8 +122,8 @@ e_bindings_ecore_event_mouse_wheel_convert(const 
Ecore_Event_Mouse_Wheel *ev, E_
memset(event, 0, sizeof(E_Binding_Event_Wheel));
event->direction = ev->direction;
event->z = ev->z;
-   event->canvas.x = e_comp_canvas_x_root_adjust(e_comp_get(NULL), ev->root.x);
-   event->canvas.y = e_comp_canvas_x_root_adjust(e_comp_get(NULL), ev->root.y);
+   event->canvas.x = e_comp_canvas_x_root_adjust(e_comp, ev->root.x);
+   event->canvas.y = e_comp_canvas_x_root_adjust(e_comp, ev->root.y);
event->timestamp = ev->timestamp;
event->modifiers = _e_bindings_modifiers(ev->modifiers);
 }
@@ -133,8 +133,8 @@ e_bindings_ecore_event_mouse_button_convert(const 
Ecore_Event_Mouse_Button *ev,
 {
memset(event, 0, sizeof(E_Binding_Event_Mouse_Button));
event->button = ev->buttons;
-   event->canvas.x = e_comp_canvas_x_root_adjust(e_comp_get(NULL), ev->root.x);
-   event->canvas.y = e_comp_canvas_x_root_adjust(e_comp_get(NULL), ev->root.y);
+   event->canvas.x = e_comp_canvas_x_root_adjust(e_comp, ev->root.x);
+   event->canvas.y = e_comp_canvas_x_root_adjust(e_comp, ev->root.y);
event->timestamp = ev->timestamp;
event->modifiers = _e_bindings_modifiers(ev->modifiers);
 

-- 




[EGIT] [core/enlightenment] master 05/09: e_main: de-e_comp_get()ify

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=eccf163aa85f87f535f3e0b1989c7cf6096a6001

commit eccf163aa85f87f535f3e0b1989c7cf6096a6001
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:43:07 2015 +0100

e_main: de-e_comp_get()ify
---
 src/bin/e_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 34a11eb..733219d 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -1740,7 +1740,7 @@ _e_main_cb_x_flusher(void *data __UNUSED__)
 {
eet_clearcache();
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
  ecore_x_flush();
 #endif
return ECORE_CALLBACK_RENEW;

-- 




[EGIT] [core/enlightenment] master 01/01: e_sys: Make sure we return false if systemd does not support various suspend modes

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=199703446538004eeb3bb1e039aae38eab57be4d

commit 199703446538004eeb3bb1e039aae38eab57be4d
Author: Stefan Schmidt 
Date:   Fri Jan 23 13:22:59 2015 +0100

e_sys: Make sure we return false if systemd does not support various 
suspend modes

Since this was introduced this callback always returned 1 no matter if 
systemd
said it does support the mode or not.

CID: 1261291
---
 src/bin/e_sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
index 4110b82..41c0633 100644
--- a/src/bin/e_sys.c
+++ b/src/bin/e_sys.c
@@ -392,7 +392,7 @@ _e_sys_systemd_check_cb(void *data, const Eldbus_Message 
*m, Eldbus_Pending *p _
if (!eldbus_message_arguments_get(m, "s", &s)) return;
if (!s) return;
if (!strcmp(s, "yes")) *dest = 1;
-   else *dest = 1;
+   else *dest = 0;
 }
 
 static void

-- 




[EGIT] [core/elementary] master 02/03: elm_image: Fix memory leak in GETDAT macro.

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9b5cd12e689523f60d175dea7e3c6ad3880ca535

commit 9b5cd12e689523f60d175dea7e3c6ad3880ca535
Author: Stefan Schmidt 
Date:   Fri Jan 23 12:43:49 2015 +0100

elm_image: Fix memory leak in GETDAT macro.

Free data2 on error path.

CID: 1265609, 1265610, 1265611, 1265612
---
 src/lib/elm_image.c | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 4ca45fa..75881e4 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1131,7 +1131,10 @@ _elm_image_smart_rotate_180(Elm_Image_Data *sd)
w = neww; h = newh; \
evas_object_image_size_set(sd->img, w, h); \
data = evas_object_image_data_get(sd->img, EINA_TRUE); \
-   if (!data) return
+   if (!data) { \
+  free(data2); \
+  return; \
+   } \
 
 #define PUTDAT \
evas_object_image_data_set(sd->img, data); \

-- 




[EGIT] [core/elementary] master 03/03: elm_image: Add missing semi-colon to terminate line.

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0850545e31132e3c73d7beaa56b8f23779d71599

commit 0850545e31132e3c73d7beaa56b8f23779d71599
Author: Stefan Schmidt 
Date:   Fri Jan 23 12:45:33 2015 +0100

elm_image: Add missing semi-colon to terminate line.

No compiler warning for this because the macro was terminated with it.
It still looks wrong without it and does no harm.
---
 src/lib/elm_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 75881e4..037420c 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1138,7 +1138,7 @@ _elm_image_smart_rotate_180(Elm_Image_Data *sd)
 
 #define PUTDAT \
evas_object_image_data_set(sd->img, data); \
-   free(data2)
+   free(data2);
 
 #define TILE 32
 

-- 




[EGIT] [core/elementary] master 01/03: test_disable: Extend button array to fix memory corruption

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3ce2da9be32435a58467158d701d2723f10217da

commit 3ce2da9be32435a58467158d701d2723f10217da
Author: Stefan Schmidt 
Date:   Fri Jan 23 12:32:42 2015 +0100

test_disable: Extend button array to fix memory corruption

We are accessing btn[3] in the code so we should make sure the array it big
enough for it.

CID: 1265613
---
 src/bin/test_disable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_disable.c b/src/bin/test_disable.c
index 9895369..0dc9774 100644
--- a/src/bin/test_disable.c
+++ b/src/bin/test_disable.c
@@ -109,7 +109,7 @@ void
 test_layout_disable(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNUSED)
 {
Evas_Object *win, *box, *ly, *bt;
-   Evas_Object *fr, *btn[3], *bx, *lb;
+   Evas_Object *fr, *btn[4], *bx, *lb;
char buf[PATH_MAX];
 
win = elm_win_util_standard_add("layout", "Layout");

-- 




Re: [E-devel] Meet Erigo - the EFL GUI builder

2015-01-23 Thread Tom Hacohen
On 23/01/15 11:01, Davide Andreoli wrote:
> 2015-01-20 7:26 GMT+01:00 Jeff Hoogland :
>
>> Just wanted to say this is amazing. Eagerly awaiting python support.
>>
>
> Python-efl support for erigo is quite ready, you can follow progress in the
> python-efl
> branch: devs/davemds/erigo_generator. This work will be included in the
> 1.14
> release... if erigo will prove to be stable and usable
>
> Another mail thread will follow to fix some small issue I'm facing reading
> the json file
>

You are the man. :)

--
Tom.



--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Meet Erigo - the EFL GUI builder

2015-01-23 Thread Davide Andreoli
2015-01-20 7:26 GMT+01:00 Jeff Hoogland :

> Just wanted to say this is amazing. Eagerly awaiting python support.
>

Python-efl support for erigo is quite ready, you can follow progress in the
python-efl
branch: devs/davemds/erigo_generator. This work will be included in the
1.14
release... if erigo will prove to be stable and usable

Another mail thread will follow to fix some small issue I'm facing reading
the json file



>
> On Mon, Jan 19, 2015 at 9:20 AM, Thanatermesis <
> thanatermesis.e...@gmail.com
> > wrote:
>
> > Thank you, I will try to recompile it when 1.13 is released then :)
> >
> > 2015-01-19 16:17 GMT+01:00 Yakov Goldberg :
> >
> > > Yes, of course, you are right.
> > > I will create stable releases which follow stable libs starting with
> 1.13
> > > :)
> > >
> > > I will also check possibility of creating stable version which works
> > > with 1.12.
> > >
> > >
> > > On 01/19/2015 05:09 PM, Thanatermesis wrote:
> > > > so v1.13 is alpha, not a release, mmh...
> > > >
> > > > what about making the stable branches to follow the last stable
> release
> > > of
> > > > the libs too? I understand the bleeding-edge versions for the
> > development
> > > > itself but if the releases don't follow releases too they just will
> > never
> > > > compile to who use releases of the libs :)
> > > >
> > > >
> > > >
> > > > 2015-01-19 15:57 GMT+01:00 Yakov Goldberg :
> > > >
> > > >> Hi Thanatermesis,
> > > >>thank you for your message.
> > > >>That's actually not Efl, but Elementary.
> > > >>We were building Erigo on the latest Elementary, so Erigo will
> > > compile
> > > >> with v1.13.0-alpha1 and later.
> > > >>
> > > >>Sorry for inconvenience, I'm going to add version check.
> > > >>
> > > >> Yakov.
> > > >>
> > > >> On 01/19/2015 04:41 PM, Thanatermesis wrote:
> > > >>> Hi Yakov,
> > > >>>
> > > >>> I just tried to compile it (master branch) and i get this error:
> > > >>>
> > > >>> [ 93%] Building C object
> > > src/bin/egui_gui/CMakeFiles/erigo.dir/editor.c.o
> > > >>> /tmp/erigo/src/bin/egui_gui/editor.c: In function
> > > >> ‘_itemview_item_selected’:
> > > >>> /tmp/erigo/src/bin/egui_gui/editor.c:3668:19: error:
> > > >> ‘ELM_MENU_ITEM_CLASS’
> > > >>> undeclared (first use in this function)
> > > >>> /tmp/erigo/src/bin/egui_gui/editor.c:3668:19: note: each undeclared
> > > >>> identifier is reported only once for each function it appears in
> > > >>> /tmp/erigo/src/bin/egui_gui/editor.c:3668:4: warning: passing
> > argument
> > > 1
> > > >> of
> > > >>> ‘eo_isa’ from incompatible pointer type [enabled by default]
> > > >>> In file included from /tmp/erigo/src/lib/gui_widget.h:5:0,
> > > >>>from /tmp/erigo/src/lib/ffi_glue.h:5,
> > > >>>from /tmp/erigo/src/bin/egui_gui/editor.c:4:
> > > >>> /usr/include/eo-1/Eo.h:432:16: note: expected ‘const struct Eo *’
> but
> > > >>> argument is of type ‘struct Elm_Object_Item *’
> > > >>> make[4]: *** [src/bin/egui_gui/CMakeFiles/erigo.dir/editor.c.o]
> > Error 1
> > > >>>
> > > >>> I'm using *libefl* at *1.12.2*
> > > >>>
> > > >>> Note: doing a checkout on 0.9.0 tag doesn't compile it too
> > > >>>
> > > >>>
> > > >>> 2015-01-19 14:48 GMT+01:00 Yakov Goldberg :
> > > >>>
> > >  We are proud to introduce Erigo - the EFL GUI builder.
> > >  Now you can easily build GUIs by using drag and drop with
> Elementary
> > >  widgets. We currently support C, but support for languages is easy
> > to
> > >  add, and contributions are welcomed!
> > >  It also supports Edje, swallow objects and can simulate real
> > behaviour
> > >  without on-the-fly. Btw, the Erigo UI was created using Erigo
> > itself!
> > > 
> > >  It's still under heavy development, you should most likely use
> > master
> > > to
> > >  get the latest features and fixes. However, we do release stable
> > >  snapshots, so if you'd like to use them, just refer to the latest
> > tag
> > > on
> > >  git, at the moment it's v0.9.0.
> > > 
> > >  Brace yourself for unexpected crashes, save your work often and
> > please
> > >  report issues as you encounter them. Also we would love to hear
> > about
> > >  your experience using it and suggestions on how we can improve it.
> > > 
> > >  Repo:
> > >  https://git.enlightenment.org/tools/erigo.git/
> > > 
> > >  Detailed information is available at wiki page:
> > >  https://phab.enlightenment.org/w/projects/gui_builder/
> > > 
> > >  and YouTube playlist:
> > > 
> > > >>
> > >
> https://www.youtube.com/playlist?list=PLal8LrkIgqzHrmHm0IBDT6s_Y7uVctR6r
> > >  Yakov
> > > 
> > > 
> > > 
> > > 
> > > >>
> > >
> >
> --
> > >  New Year. New Location. New Benefits. New Data Center in Ashburn,
> > VA.
> > >  GigeNET is offering a free month of service with a new server in
> > > >> Ashburn.
> > >  Choose from 2 h

Re: [E-devel] [Enlightenment-release] Pre-release tarballs for efl and elm 1.12.3

2015-01-23 Thread Stefan Schmidt
Hello.

On 23/01/15 11:52, Tom Hacohen wrote:
> On 23/01/15 10:41, Stefan Schmidt wrote:
>> Hello.
>>
>> On 22/01/15 14:57, Stefan Schmidt wrote:
>>> Hello.
>>>
>>> I just uploaded some tarballs for 1.12.3 which will become the final
>>> release if I hear nothing problematic within the next 24h.
>>>
>>> http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
>>> 76bfc1db75865b2feb661a89f938a07e3d30c14fa25c134849eb697d32392d91
>>>
>>> http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
>>> 7137c11ec4215fd52d7c006dd766d117137f0a313ccb45094528779a9d91722b
>> I did a new set of tarballs as both libs got another commit I wanted to
>> include in the final release.
>> 24h starting again from now.
>>
>> http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
>> db2186df0cdfddb067a13654fd057f2147e83f55e0ecd365437a131942f56cf7
>>
>> http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
>> 554f9e1d13fd85d445eb59460b9cc5b736730f7f516f1c2d4cbf65717296542a
> Putting in small fixes and making you reset the clock every 24hrs sounds 
> like a lot of fun. :)
Thus I'm trying to avoid it normally. :)

> Anyhow, good job with the pre-release, it's a well needed addition.

Always been doing that for the stable releases.

regards
Stefan Schmidt

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Enlightenment-release] Pre-release tarballs for efl and elm 1.12.3

2015-01-23 Thread Tom Hacohen
On 23/01/15 10:41, Stefan Schmidt wrote:
> Hello.
>
> On 22/01/15 14:57, Stefan Schmidt wrote:
>> Hello.
>>
>> I just uploaded some tarballs for 1.12.3 which will become the final
>> release if I hear nothing problematic within the next 24h.
>>
>> http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
>> 76bfc1db75865b2feb661a89f938a07e3d30c14fa25c134849eb697d32392d91
>>
>> http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
>> 7137c11ec4215fd52d7c006dd766d117137f0a313ccb45094528779a9d91722b
> I did a new set of tarballs as both libs got another commit I wanted to
> include in the final release.
> 24h starting again from now.
>
> http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
> db2186df0cdfddb067a13654fd057f2147e83f55e0ecd365437a131942f56cf7
>
> http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
> 554f9e1d13fd85d445eb59460b9cc5b736730f7f516f1c2d4cbf65717296542a

Putting in small fixes and making you reset the clock every 24hrs sounds 
like a lot of fun. :)

Anyhow, good job with the pre-release, it's a well needed addition.

--
Tom.



--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Enlightenment-release] Pre-release tarballs for efl and elm 1.12.3

2015-01-23 Thread Stefan Schmidt
Hello.

On 22/01/15 14:57, Stefan Schmidt wrote:
> Hello.
>
> I just uploaded some tarballs for 1.12.3 which will become the final
> release if I hear nothing problematic within the next 24h.
>
> http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
> 76bfc1db75865b2feb661a89f938a07e3d30c14fa25c134849eb697d32392d91
>
> http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
> 7137c11ec4215fd52d7c006dd766d117137f0a313ccb45094528779a9d91722b
I did a new set of tarballs as both libs got another commit I wanted to
include in the final release.
24h starting again from now.

http://download.enlightenment.org/pre-releases/efl-1.12.3.tar.gz
db2186df0cdfddb067a13654fd057f2147e83f55e0ecd365437a131942f56cf7

http://download.enlightenment.org/pre-releases/elementary-1.12.3.tar.gz
554f9e1d13fd85d445eb59460b9cc5b736730f7f516f1c2d4cbf65717296542a

regards
Stefan Schmidt

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] efl-1.12 01/01: NEWS: Update fix latest fix before 1.12.3 release

2015-01-23 Thread Stefan Schmidt
stefan pushed a commit to branch efl-1.12.

http://git.enlightenment.org/core/efl.git/commit/?id=661fd80a1263d9a8c9a1843b0f64609b4ce21c3b

commit 661fd80a1263d9a8c9a1843b0f64609b4ce21c3b
Author: Stefan Schmidt 
Date:   Fri Jan 23 10:59:27 2015 +0100

NEWS: Update fix latest fix before 1.12.3 release
---
 NEWS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/NEWS b/NEWS
index cdbab10..69bb772 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Fixes:
* evas textgrid - fix drawing of codepoints that are 0
* eo: Fix bad addressing in _eo_classes array
* Eo tests: Fix bad free in eo_test_value
+   * ee engines should not crash when re-setting the same title/name_class
 
 Changes since 1.12.1:
 -

-- 




Re: [E-devel] Trouble compiling an eo.c file

2015-01-23 Thread Tom Hacohen
Really hard to see among all the warnings. :(

I'm not sure what you've done, but you need EFL_BETA_API_SUPPORT (which 
you have) and EFL_EO_API_SUPPORT both defined before the inclusion of 
the other headers.

As for the exact specifics of how to use .eo.c and .eo.h see one of the 
numerous examples in elementary.

--
Tom.

On 23/01/15 00:30, Andrew Williams wrote:
> Hi,
>
> Sorry to bug folk on what's probably simple but I can't figure what's up
> with my attempt to port elm_code to an elm_object through eo.
>
> I've got a pretty skeleton file (as you can see from the warnings) but
> can anyone figure what I might be missing? The build setup should have
> al dependencies set up as it's building the legacy version of the code fine.
>
> Many thanks for anyone who can point me in the right direction.
>
> Andrew
>
>
> make[4]: Entering directory '/home/andy/Code/E/edi/elm_code/lib'
> CC   elm_code_widget_eo.lo
> elm_code_widget_eo.c:1:0: warning: "EFL_BETA_API_SUPPORT" redefined
>#define EFL_BETA_API_SUPPORT
>^
> :0:0: note: this is the location of the previous definition
> elm_code_widget_eo.c: In function '_elm_code_widget_eo_base_constructor':
> elm_code_widget_eo.c:13:42: warning: unused parameter 'obj'
> [-Wunused-parameter]
>_elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
> ^
> elm_code_widget_eo.c:13:69: warning: unused parameter 'pd'
> [-Wunused-parameter]
>_elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
> ^
> elm_code_widget_eo.c: In function
> '_elm_code_widget_evas_object_smart_resize':
> elm_code_widget_eo.c:19:47: warning: unused parameter 'obj'
> [-Wunused-parameter]
>_elm_code_widget_evas_object_smart_resize(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
>  ^
> elm_code_widget_eo.c:19:74: warning: unused parameter 'pd'
> [-Wunused-parameter]
>_elm_code_widget_evas_object_smart_resize(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
> ^
> elm_code_widget_eo.c:19:89: warning: unused parameter 'w'
> [-Wunused-parameter]
>_elm_code_widget_evas_object_smart_resize(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
> ^
> elm_code_widget_eo.c:19:103: warning: unused parameter 'h'
> [-Wunused-parameter]
>_elm_code_widget_evas_object_smart_resize(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord w, Evas_Coord h)
> ^
> elm_code_widget_eo.c: In function '_elm_code_widget_class_constructor':
> elm_code_widget_eo.c:25:46: warning: unused parameter 'klass'
> [-Wunused-parameter]
>_elm_code_widget_class_constructor(Eo_Class *klass)
> ^
> elm_code_widget_eo.c: In function
> '_elm_code_widget_elm_interface_scrollable_content_pos_set':
> elm_code_widget_eo.c:31:63: warning: unused parameter 'obj'
> [-Wunused-parameter]
>_elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
>  ^
> elm_code_widget_eo.c:31:90: warning: unused parameter 'pd'
> [-Wunused-parameter]
>_elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
> ^
> elm_code_widget_eo.c:31:105: warning: unused parameter 'x'
> [-Wunused-parameter]
>_elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
> ^
> elm_code_widget_eo.c:31:119: warning: unused parameter 'y'
> [-Wunused-parameter]
>_elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
> ^
> elm_code_widget_eo.c:31:132: warning: unused parameter 'sig'
> [-Wunused-parameter]
>_elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj,
> Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig)
> ^
> In file included from elm_code_widget_eo.c:2:0:
> elm_code_widget.eo.c: At top level:
> elm_code_widget.eo.c:17:26: error: 'evas_obj_smart_resize' undeclared
> here (not in a function)
> EO_OP_FUNC_OVERRIDE(evas_obj_smart_resize,
> _elm_code_widget_evas_object_smart_resize),
> ^
> /usr/local/include/eo-1/Eo.h:558:30: note: in definition of macro
> '_EO_OP_API_ENTRY'
># define _EO_OP_API_ENTRY(a) a
> ^
> elm_code_widget.eo.c:17:6: note: in expansion of macro 'EO_OP_FUNC_OVERRIDE'
> EO_OP_FUNC_OVERRIDE(evas_obj_smart_resize,
> _elm_code_widget_evas_object_smart_resize),
> ^
> elm_code_widget.eo.c:18:26: error:
> 'elm_interface_scrollable_content_pos_set' undeclared here (not in a
> function)
> EO_OP_FUNC_OVERRIDE(elm_interface_scrollable_content_pos_set,
> _elm_code_widget_elm_interface_scrollable_content_pos_set)

[EGIT] [core/efl] master 01/02: Evas masking: Fix blending of some border images

2015-01-23 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8b889f4892292c97e6221fa41388c47e25b0bb72

commit 8b889f4892292c97e6221fa41388c47e25b0bb72
Author: Jean-Philippe Andre 
Date:   Fri Jan 23 17:02:40 2015 +0900

Evas masking: Fix blending of some border images
---
 src/lib/evas/canvas/evas_object_image.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index a785986..63a9838 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3331,6 +3331,7 @@ state_write:
  outw = iw - bsl - bsr; outh = ih - bst - bsb;
  if ((o->cur->border.fill == 
EVAS_BORDER_FILL_SOLID) &&
  (obj->cur->cache.clip.a == 255) &&
+ (!obj->clip.mask) &&
  (obj->cur->render_op == 
EVAS_RENDER_BLEND))
{
   ENFN->context_render_op_set(output, 
context, EVAS_RENDER_COPY);

-- 




[EGIT] [core/efl] master 02/02: Evas masking: And another case of bad mask rendering

2015-01-23 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4c864f757ad63c78a581a7ad79af41dc6f85d176

commit 4c864f757ad63c78a581a7ad79af41dc6f85d176
Author: Jean-Philippe Andre 
Date:   Fri Jan 23 17:23:09 2015 +0900

Evas masking: And another case of bad mask rendering

A masked object just can't be considered as opaque. As such,
it can't generate an obscure area. This fixes some super
rare rendering bug.
---
 src/lib/evas/canvas/evas_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index d67a4e5..34cfed5 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2155,7 +2155,7 @@ evas_render_updates_internal(Evas *eo_e,
 if (UNLIKELY((evas_object_is_opaque(eo_obj, obj) ||
   ((obj->func->has_opaque_rect) &&
(obj->func->has_opaque_rect(eo_obj, obj, 
obj->private_data &&
- (!obj->mask->is_mask) &&
+ (!obj->mask->is_mask) && (!obj->clip.mask) &&
  evas_object_is_visible(eo_obj, obj) &&
  (!obj->clip.clipees) &&
  (obj->cur->visible) &&

--