[EGIT] [core/efl] master 01/01: elm: Fix disappearance of some elm images

2016-11-01 Thread Jean-Philippe ANDRÉ
jackdanielz pushed a commit to branch master.

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

commit a86e79141edb61f265b933cdb02cd637a345ab35
Author: Jean-Philippe Andre 
Date:   Tue Nov 1 15:49:20 2016 +0900

elm: Fix disappearance of some elm images

After the commit 97c9fa64a461c (Remove group_show and group_hide),
some Efl.Ui.Image objects would not render properly. The reason
being that the object call to show() was aborted too early when
the image is still preloading.

This made for really random results as an image preload could
take more or less time, depending on chance.
---
 src/lib/elementary/efl_ui_image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_image.c 
b/src/lib/elementary/efl_ui_image.c
index 2e75cbe..b2d3aa4 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -598,9 +598,10 @@ static void
 _efl_ui_image_show(Eo *obj, Efl_Ui_Image_Data *sd)
 {
sd->show = EINA_TRUE;
-   if (sd->preload_status == EFL_UI_IMAGE_PRELOADING) return;
 
efl_gfx_visible_set(efl_super(obj, MY_CLASS), EINA_TRUE);
+
+   if (sd->preload_status == EFL_UI_IMAGE_PRELOADING) return;
efl_gfx_visible_set(sd->img, EINA_TRUE);
ELM_SAFE_FREE(sd->prev_img, evas_object_del);
 }

-- 




Re: [E-devel] server downtime

2016-11-01 Thread Stefan Schmidt
Hello.

On 31/10/16 20:32, Bertrand Jacquin wrote:
> I'm cancelling for tonight since the queue is growing quiet a lot.

With the timezone overlaps the EFL is being developed in it will be very 
unlikely that there are now jobs when you plan to do some changes.

With an advance notice you could put Jenkins in shutdown mode so no new 
jobs are started. If you don't have this advance time feel free to 
cancel the currently running jobs, but make sure to notify me and the 
list about this.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: Scroller test: add a page_size spinner

2016-11-01 Thread Davide Andreoli
davemds pushed a commit to branch master.

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

commit dfe0fb317cea2c0c1baa0d15d6ece1c2c7fec4bb
Author: Dave Andreoli 
Date:   Tue Nov 1 09:53:39 2016 +0100

Scroller test: add a page_size spinner

and also #define the PAGESIZE
---
 src/bin/elementary/test_scroller.c | 45 ++
 1 file changed, 36 insertions(+), 9 deletions(-)

diff --git a/src/bin/elementary/test_scroller.c 
b/src/bin/elementary/test_scroller.c
index 11ed239..e043981 100644
--- a/src/bin/elementary/test_scroller.c
+++ b/src/bin/elementary/test_scroller.c
@@ -3,28 +3,31 @@
 #endif
 #include 
 
+
+#define PSIZE 318
+
 static void
 _my_bt_go_300_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
-   elm_scroller_region_bring_in((Evas_Object *)data, 300, 300, 318, 318);
+   elm_scroller_region_bring_in((Evas_Object *)data, 300, 300, PSIZE, PSIZE);
 }
 
 static void
 _my_bt_go_900_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
-   elm_scroller_region_bring_in((Evas_Object *)data, 900, 300, 318, 318);
+   elm_scroller_region_bring_in((Evas_Object *)data, 900, 300, PSIZE, PSIZE);
 }
 
 static void
 _my_bt_go_300_900(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
-   elm_scroller_region_bring_in((Evas_Object *)data, 300, 900, 318, 318);
+   elm_scroller_region_bring_in((Evas_Object *)data, 300, 900, PSIZE, PSIZE);
 }
 
 static void
 _my_bt_go_900_900(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
-   elm_scroller_region_bring_in((Evas_Object *)data, 900, 900, 318, 318);
+   elm_scroller_region_bring_in((Evas_Object *)data, 900, 900, PSIZE, PSIZE);
 }
 
 static void
@@ -208,13 +211,21 @@ _sc_resize_cb(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_inf
 }
 
 static void
-_size_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+_step_size_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
 {
Evas_Object *sc = data;
int size = elm_spinner_value_get(obj);
elm_scroller_step_size_set(sc, ELM_SCALE_SIZE(size), ELM_SCALE_SIZE(size));
 }
 
+static void
+_page_size_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+{
+   Evas_Object *sc = data;
+   int size = elm_spinner_value_get(obj);
+   elm_scroller_page_size_set(sc, size, size);
+}
+
 void
 test_scroller(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNUSED)
 {
@@ -316,7 +327,7 @@ test_scroller(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_
  elm_bg_file_set(bg2, buf, NULL);
  evas_object_size_hint_weight_set(bg2, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
  evas_object_size_hint_align_set(bg2, EVAS_HINT_FILL, 
EVAS_HINT_FILL);
- evas_object_size_hint_min_set(bg2, 318, 318);
+ evas_object_size_hint_min_set(bg2, PSIZE, PSIZE);
  elm_table_pack(tb, bg2, i, j, 1, 1);
  evas_object_show(bg2);
   }
@@ -325,7 +336,7 @@ test_scroller(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_
elm_object_content_set(sc, tb);
evas_object_show(tb);
 
-   elm_scroller_page_size_set(sc, 318, 318);
+   elm_scroller_page_size_set(sc, PSIZE, PSIZE);
evas_object_show(sc);
 
evas_object_smart_callback_add
@@ -342,14 +353,30 @@ test_scroller(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_
evas_object_smart_callback_add(ck7, "changed", _my_bt_loop_y_axis, sc);
evas_object_smart_callback_add(ck8, "changed", _my_bt_wheel_disable_cb, sc);
 
+   bx2 = elm_box_add(win);
+   elm_box_pack_end(bx, bx2);
+   elm_box_horizontal_set(bx2, EINA_TRUE);
+   elm_box_padding_set(bx2, 10, 0);
+   evas_object_show(bx2);
+
bt = elm_spinner_add(win);
elm_spinner_min_max_set(bt, 0, 500);
elm_scroller_step_size_get(sc, &x, &y);
elm_spinner_value_set(bt, x);
elm_spinner_editable_set(bt, EINA_TRUE);
elm_spinner_label_format_set(bt, "Step size: %.0f");
-   evas_object_smart_callback_add(bt, "changed", _size_changed, sc);
-   elm_box_pack_end(bx, bt);
+   evas_object_smart_callback_add(bt, "changed", _step_size_changed, sc);
+   elm_box_pack_end(bx2, bt);
+   evas_object_show(bt);
+
+   bt = elm_spinner_add(win);
+   elm_spinner_min_max_set(bt, 0, PSIZE * 2);
+   elm_scroller_page_size_get(sc, &x, &y);
+   elm_spinner_value_set(bt, x);
+   elm_spinner_editable_set(bt, EINA_TRUE);
+   elm_spinner_label_format_set(bt, "Page size: %.0f");
+   evas_object_smart_callback_add(bt, "changed", _page_size_changed, sc);
+   elm_box_pack_end(bx2, bt);
evas_object_show(bt);
 
tb2 = elm_table_add(win);

-- 




Re: [E-devel] Difference between selected_child_deselect and child_deselect on Elm.Interface.Atspi.Selection

2016-11-01 Thread Stefan Schmidt
Hello.

Sorry for the delay here.

On 26/10/16 17:28, Lukasz Stanislawski wrote:
> The difference is indexing, first indexes on only selected children,
> second one all children.
>
> This is a part of the protocol, I assume it was made to simplify
> managing of selected elements
> by Orca screen reader.
>
> I agree naming is a bit confusing however it matches one from libatspi:
> https://developer.gnome.org/libatspi/stable/libatspi-atspi-selection.html#atspi-selection-deselect-selected-child

Thanks for the explanation. Lets keep it for consistency with the rest 
of the API.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] server downtime

2016-11-01 Thread Jonathan Aquilina
I spoke with Beber as to what his intentions were for this downtime, he
informed me that this is to update the kernel against the dirty cow
vulnerability.

On 2016-11-01 09:28, Stefan Schmidt wrote:

> Hello.
> 
> On 31/10/16 20:32, Bertrand Jacquin wrote: 
> 
>> I'm cancelling for tonight since the queue is growing quiet a lot.
> 
> With the timezone overlaps the EFL is being developed in it will be very 
> unlikely that there are now jobs when you plan to do some changes.
> 
> With an advance notice you could put Jenkins in shutdown mode so no new 
> jobs are started. If you don't have this advance time feel free to 
> cancel the currently running jobs, but make sure to notify me and the 
> list about this.
> 
> regards
> Stefan Schmidt
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] aligning wl and x11 more - remove xcb?

2016-11-01 Thread Stefan Schmidt
Hello.

On 28/10/16 04:28, Carsten Haitzler (The Rasterman) wrote:
>
> 3. xcb was a valiant effort, but it is not even 1:1 feature for feature up to
> date with xlib. it's off by default because of this and we need xlib for gl
> anyway. we cant dump xlib. it's just a lot of code in our tree that we likely
> could remove to clear out some "cruft". not to say work on xcb has been bad.
> it's been good. it's a very very large amount of useful code but it just has
> never proven to be any real big gains and lack of full featured implementation
> (it's 98% there) means it kind of isn't useful. so how about we drop it to
> simplify?

It would reduce code size, code complexity, maintenance, build 
configurations, etc. Removing it gets a thumbs up from me. :)

I was thinking about it before but did not ant to stomp on Devilhorns 
feet as he was still actively maintaining it. It is also a bit unclear 
to me if there are real world users out there. I would have hoped they 
would have replied by now. Maybe give them another week before the removal.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] aligning wl and x11 more - remove xcb?

2016-11-01 Thread Vincent Torri
On Tue, Nov 1, 2016 at 10:14 AM, Stefan Schmidt  wrote:
> Hello.
>
> On 28/10/16 04:28, Carsten Haitzler (The Rasterman) wrote:
>>
>> 3. xcb was a valiant effort, but it is not even 1:1 feature for feature up to
>> date with xlib. it's off by default because of this and we need xlib for gl
>> anyway. we cant dump xlib. it's just a lot of code in our tree that we likely
>> could remove to clear out some "cruft". not to say work on xcb has been bad.
>> it's been good. it's a very very large amount of useful code but it just has
>> never proven to be any real big gains and lack of full featured 
>> implementation
>> (it's 98% there) means it kind of isn't useful. so how about we drop it to
>> simplify?
>
> It would reduce code size, code complexity, maintenance, build
> configurations, etc. Removing it gets a thumbs up from me. :)
>
> I was thinking about it before but did not ant to stomp on Devilhorns
> feet as he was still actively maintaining it. It is also a bit unclear
> to me if there are real world users out there. I would have hoped they
> would have replied by now. Maybe give them another week before the removal.

is the removal concerning also ecore_x ?

Vincent

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] EDD 2017 location discussion

2016-11-01 Thread Stefan Schmidt
Hello.

Thinking ahead about EDD 2017 it would be good if we could settle for a 
location towards the end of the year.

After this years EDD I already asked for location proposals which have 
been collected here: 
https://phab.enlightenment.org/w/events/location_proposals/

I will put out a phab vote for it over the next weeks but wanted to 
bring it up here for discussion to sort out valid and likely proposals 
from the rest.

Here we go with the list and my comments on it:

Australia (proposed by David Seikel)
* Local organiser: None
* Meeting space offering: None

+ Nice country to visit
- To high travel costs for almost all attendees
- Unlikely to attract many community people without company baking
- No local organiser or meeting space proposed


Malta (proposed by Jonathan Aquilina)
* Local organiser: Jonathan Aquilina
* Meeting space offering: None

+ Within Europe
+ Travel costs for people from Europe might/should be ok (tourist flights)
- Not sure how easy it it to get there from outside of the EU (VISA, etc)
- Meeting space offering is missing


USA (proposed by Stephen Houston)
* Local organiser: Stephen Houston
* Meeting space offering: None

o USA is big. Would this be east middle or west?
+ We have a bunch of developers from there
- To high travel costs for many attendees
- We did it once on the west coast and sadly almost only people with 
company baking attended
- Meeting space offering is missing


Tel Aviv (proposed by Tom Hacohen)
* Local organiser: None
* Meeting space offering: None

- No local organiser or meeting space (Originally there was Samsung 
Israel listed here but as far as I understand that would not be possible)


Paris (proposed by Nicolas Aguirre)
* Local organiser: Nicolas Aguirre
* Meeting space offering: OpenWide office

+ Within Europe
+ Served us very well this year
+ Organiser and meeting space available


Toulouse (proposed by Nicolas Aguirre)
* Local organiser: Nicolas Aguirre
* Meeting space offering: OpenWide office

+ Within Europe
+ Organiser and meeting space available


Seoul (proposed by Hermet Park)
* Local organiser: Hermet Park
* Meeting space offering: Somewhere in Seoul

- To high travel costs for almost all non-company attendees
- Unlikely to attract many community people without company baking
+ Would give a lot local Samsung EFL developers the chance to attend
+ Organiser and meeting space available

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/eflete] master 01/01: genlist.edc: remove disclip because it is useless

2016-11-01 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=bca5de4d59927ca4c521608f81906ba824fa65b6

commit bca5de4d59927ca4c521608f81906ba824fa65b6
Author: Vitalii Vorobiov 
Date:   Mon Oct 31 18:37:19 2016 +0200

genlist.edc: remove disclip because it is useless

probably the twice calling of selection is emitted in here, but not sure

Fixes T4591
---
 data/themes/default/widgets/genlist.edc | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/data/themes/default/widgets/genlist.edc 
b/data/themes/default/widgets/genlist.edc
index 3a2247e..4dd0213 100644
--- a/data/themes/default/widgets/genlist.edc
+++ b/data/themes/default/widgets/genlist.edc
@@ -64,7 +64,6 @@ group { name: "elm/genlist/item/default/default";
   }
   part { name: "elm.swallow.icon";
  type: SWALLOW;
- repeat_events: 1;
  description { state: "default" 0.0;
 align: 0.0 0.5;
 min: 14 14;
@@ -88,7 +87,6 @@ group { name: "elm/genlist/item/default/default";
   }
   part { name: "elm.text";
  type: TEXT;
- repeat_events: 1;
  description { state: "default" 0.0;
 min: 0 26;
 color_class: "main";
@@ -115,7 +113,6 @@ group { name: "elm/genlist/item/default/default";
   }
   part { name: "elm.swallow.end";
  type: SWALLOW;
- repeat_events: 1;
  description { state: "default" 0.0;
 align: 1.0 0.5;
 aspect: 1.0 1.0;
@@ -134,13 +131,6 @@ group { name: "elm/genlist/item/default/default";
 visible: 0;
  }
   }
-  part { name: "disclip";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
-color: 255 255 255 0;
- }
-  }
}
programs {
   program { name: "selected";
@@ -177,7 +167,6 @@ group { name: "elm/genlist/item/default/default";
  target: "elm.swallow.pad";
  target: "elm.text";
  target: "elm.swallow.end";
- target: "disclip";
   }
}
 }

-- 




Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Tom Hacohen
On 01/11/16 09:58, Stefan Schmidt wrote:
> Hello.
>
> Thinking ahead about EDD 2017 it would be good if we could settle for a
> location towards the end of the year.
>
> After this years EDD I already asked for location proposals which have
> been collected here:
> https://phab.enlightenment.org/w/events/location_proposals/
>
> I will put out a phab vote for it over the next weeks but wanted to
> bring it up here for discussion to sort out valid and likely proposals
> from the rest.
>
> Here we go with the list and my comments on it:
>
> Australia (proposed by David Seikel)
> * Local organiser: None
> * Meeting space offering: None
>
> + Nice country to visit
> - To high travel costs for almost all attendees
> - Unlikely to attract many community people without company baking
> - No local organiser or meeting space proposed
>
>
> Malta (proposed by Jonathan Aquilina)
> * Local organiser: Jonathan Aquilina
> * Meeting space offering: None
>
> + Within Europe
> + Travel costs for people from Europe might/should be ok (tourist flights)
> - Not sure how easy it it to get there from outside of the EU (VISA, etc)
> - Meeting space offering is missing
>
>
> USA (proposed by Stephen Houston)
> * Local organiser: Stephen Houston
> * Meeting space offering: None
>
> o USA is big. Would this be east middle or west?
> + We have a bunch of developers from there
> - To high travel costs for many attendees
> - We did it once on the west coast and sadly almost only people with
> company baking attended
> - Meeting space offering is missing
>
>
> Tel Aviv (proposed by Tom Hacohen)
> * Local organiser: None
> * Meeting space offering: None
>
> - No local organiser or meeting space (Originally there was Samsung
> Israel listed here but as far as I understand that would not be possible)
>
>
> Paris (proposed by Nicolas Aguirre)
> * Local organiser: Nicolas Aguirre
> * Meeting space offering: OpenWide office
>
> + Within Europe
> + Served us very well this year
> + Organiser and meeting space available
>
>
> Toulouse (proposed by Nicolas Aguirre)
> * Local organiser: Nicolas Aguirre
> * Meeting space offering: OpenWide office
>
> + Within Europe
> + Organiser and meeting space available
>
>
> Seoul (proposed by Hermet Park)
> * Local organiser: Hermet Park
> * Meeting space offering: Somewhere in Seoul
>
> - To high travel costs for almost all non-company attendees
> - Unlikely to attract many community people without company baking
> + Would give a lot local Samsung EFL developers the chance to attend
> + Organiser and meeting space available

I don't think I proposed Israel, but anyhow, local organiser would be 
JackDanielZ, and surely we could find a place if needed...

My take: australia, us and korea are probably very unlikely.

Malta sounds like the best idea.

--
Tom.


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Andrew Williams
I forgot to add Edinburgh to the list.
I'm happy to organise and I think CodeBase (the tech incubator I am in)
will provide event space if we book far enough ahead.

I'll update phab,
Andy
On Tue, 1 Nov 2016 at 10:11, Tom Hacohen  wrote:

> On 01/11/16 09:58, Stefan Schmidt wrote:
> > Hello.
> >
> > Thinking ahead about EDD 2017 it would be good if we could settle for a
> > location towards the end of the year.
> >
> > After this years EDD I already asked for location proposals which have
> > been collected here:
> > https://phab.enlightenment.org/w/events/location_proposals/
> >
> > I will put out a phab vote for it over the next weeks but wanted to
> > bring it up here for discussion to sort out valid and likely proposals
> > from the rest.
> >
> > Here we go with the list and my comments on it:
> >
> > Australia (proposed by David Seikel)
> > * Local organiser: None
> > * Meeting space offering: None
> >
> > + Nice country to visit
> > - To high travel costs for almost all attendees
> > - Unlikely to attract many community people without company baking
> > - No local organiser or meeting space proposed
> >
> >
> > Malta (proposed by Jonathan Aquilina)
> > * Local organiser: Jonathan Aquilina
> > * Meeting space offering: None
> >
> > + Within Europe
> > + Travel costs for people from Europe might/should be ok (tourist
> flights)
> > - Not sure how easy it it to get there from outside of the EU (VISA, etc)
> > - Meeting space offering is missing
> >
> >
> > USA (proposed by Stephen Houston)
> > * Local organiser: Stephen Houston
> > * Meeting space offering: None
> >
> > o USA is big. Would this be east middle or west?
> > + We have a bunch of developers from there
> > - To high travel costs for many attendees
> > - We did it once on the west coast and sadly almost only people with
> > company baking attended
> > - Meeting space offering is missing
> >
> >
> > Tel Aviv (proposed by Tom Hacohen)
> > * Local organiser: None
> > * Meeting space offering: None
> >
> > - No local organiser or meeting space (Originally there was Samsung
> > Israel listed here but as far as I understand that would not be possible)
> >
> >
> > Paris (proposed by Nicolas Aguirre)
> > * Local organiser: Nicolas Aguirre
> > * Meeting space offering: OpenWide office
> >
> > + Within Europe
> > + Served us very well this year
> > + Organiser and meeting space available
> >
> >
> > Toulouse (proposed by Nicolas Aguirre)
> > * Local organiser: Nicolas Aguirre
> > * Meeting space offering: OpenWide office
> >
> > + Within Europe
> > + Organiser and meeting space available
> >
> >
> > Seoul (proposed by Hermet Park)
> > * Local organiser: Hermet Park
> > * Meeting space offering: Somewhere in Seoul
> >
> > - To high travel costs for almost all non-company attendees
> > - Unlikely to attract many community people without company baking
> > + Would give a lot local Samsung EFL developers the chance to attend
> > + Organiser and meeting space available
>
> I don't think I proposed Israel, but anyhow, local organiser would be
> JackDanielZ, and surely we could find a place if needed...
>
> My take: australia, us and korea are probably very unlikely.
>
> Malta sounds like the best idea.
>
> --
> Tom.
>
>
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Tom Hacohen
And London, we can probably get hosting at the London hackspace, if not, 
there are more options. With the pound as low as it is, it's going to be 
like going to a 3rd world countries for you all. :P

--
Tom


On 01/11/16 10:16, Andrew Williams wrote:
> I forgot to add Edinburgh to the list.
> I'm happy to organise and I think CodeBase (the tech incubator I am in)
> will provide event space if we book far enough ahead.
>
> I'll update phab,
> Andy
> On Tue, 1 Nov 2016 at 10:11, Tom Hacohen  wrote:
>
>> On 01/11/16 09:58, Stefan Schmidt wrote:
>>> Hello.
>>>
>>> Thinking ahead about EDD 2017 it would be good if we could settle for a
>>> location towards the end of the year.
>>>
>>> After this years EDD I already asked for location proposals which have
>>> been collected here:
>>> https://phab.enlightenment.org/w/events/location_proposals/
>>>
>>> I will put out a phab vote for it over the next weeks but wanted to
>>> bring it up here for discussion to sort out valid and likely proposals
>>> from the rest.
>>>
>>> Here we go with the list and my comments on it:
>>>
>>> Australia (proposed by David Seikel)
>>> * Local organiser: None
>>> * Meeting space offering: None
>>>
>>> + Nice country to visit
>>> - To high travel costs for almost all attendees
>>> - Unlikely to attract many community people without company baking
>>> - No local organiser or meeting space proposed
>>>
>>>
>>> Malta (proposed by Jonathan Aquilina)
>>> * Local organiser: Jonathan Aquilina
>>> * Meeting space offering: None
>>>
>>> + Within Europe
>>> + Travel costs for people from Europe might/should be ok (tourist
>> flights)
>>> - Not sure how easy it it to get there from outside of the EU (VISA, etc)
>>> - Meeting space offering is missing
>>>
>>>
>>> USA (proposed by Stephen Houston)
>>> * Local organiser: Stephen Houston
>>> * Meeting space offering: None
>>>
>>> o USA is big. Would this be east middle or west?
>>> + We have a bunch of developers from there
>>> - To high travel costs for many attendees
>>> - We did it once on the west coast and sadly almost only people with
>>> company baking attended
>>> - Meeting space offering is missing
>>>
>>>
>>> Tel Aviv (proposed by Tom Hacohen)
>>> * Local organiser: None
>>> * Meeting space offering: None
>>>
>>> - No local organiser or meeting space (Originally there was Samsung
>>> Israel listed here but as far as I understand that would not be possible)
>>>
>>>
>>> Paris (proposed by Nicolas Aguirre)
>>> * Local organiser: Nicolas Aguirre
>>> * Meeting space offering: OpenWide office
>>>
>>> + Within Europe
>>> + Served us very well this year
>>> + Organiser and meeting space available
>>>
>>>
>>> Toulouse (proposed by Nicolas Aguirre)
>>> * Local organiser: Nicolas Aguirre
>>> * Meeting space offering: OpenWide office
>>>
>>> + Within Europe
>>> + Organiser and meeting space available
>>>
>>>
>>> Seoul (proposed by Hermet Park)
>>> * Local organiser: Hermet Park
>>> * Meeting space offering: Somewhere in Seoul
>>>
>>> - To high travel costs for almost all non-company attendees
>>> - Unlikely to attract many community people without company baking
>>> + Would give a lot local Samsung EFL developers the chance to attend
>>> + Organiser and meeting space available
>>
>> I don't think I proposed Israel, but anyhow, local organiser would be
>> JackDanielZ, and surely we could find a place if needed...
>>
>> My take: australia, us and korea are probably very unlikely.
>>
>> Malta sounds like the best idea.
>>
>> --
>> Tom.
>>
>>
>>
>> --
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Gustavo Sverzut Barbieri
Ahahahah you're funny ;)

Btw, I'm not going to propose Brazil as airfare is horrible, it's distant to 
most and needs visa. But Felipe lives in one of the best towns of the country, 
we could do open air nearby the beach  :-)

--
Gustavo Sverzut Barbieri

> Em 1 de nov de 2016, às 08:19, Tom Hacohen  escreveu:
> 
> And London, we can probably get hosting at the London hackspace, if not, 
> there are more options. With the pound as low as it is, it's going to be 
> like going to a 3rd world countries for you all. :P
> 
> --
> Tom
> 
> 
>> On 01/11/16 10:16, Andrew Williams wrote:
>> I forgot to add Edinburgh to the list.
>> I'm happy to organise and I think CodeBase (the tech incubator I am in)
>> will provide event space if we book far enough ahead.
>> 
>> I'll update phab,
>> Andy
>>> On Tue, 1 Nov 2016 at 10:11, Tom Hacohen  wrote:
>>> 
 On 01/11/16 09:58, Stefan Schmidt wrote:
 Hello.
 
 Thinking ahead about EDD 2017 it would be good if we could settle for a
 location towards the end of the year.
 
 After this years EDD I already asked for location proposals which have
 been collected here:
 https://phab.enlightenment.org/w/events/location_proposals/
 
 I will put out a phab vote for it over the next weeks but wanted to
 bring it up here for discussion to sort out valid and likely proposals
 from the rest.
 
 Here we go with the list and my comments on it:
 
 Australia (proposed by David Seikel)
* Local organiser: None
* Meeting space offering: None
 
 + Nice country to visit
 - To high travel costs for almost all attendees
 - Unlikely to attract many community people without company baking
 - No local organiser or meeting space proposed
 
 
 Malta (proposed by Jonathan Aquilina)
* Local organiser: Jonathan Aquilina
* Meeting space offering: None
 
 + Within Europe
 + Travel costs for people from Europe might/should be ok (tourist
>>> flights)
 - Not sure how easy it it to get there from outside of the EU (VISA, etc)
 - Meeting space offering is missing
 
 
 USA (proposed by Stephen Houston)
* Local organiser: Stephen Houston
* Meeting space offering: None
 
 o USA is big. Would this be east middle or west?
 + We have a bunch of developers from there
 - To high travel costs for many attendees
 - We did it once on the west coast and sadly almost only people with
 company baking attended
 - Meeting space offering is missing
 
 
 Tel Aviv (proposed by Tom Hacohen)
* Local organiser: None
* Meeting space offering: None
 
 - No local organiser or meeting space (Originally there was Samsung
 Israel listed here but as far as I understand that would not be possible)
 
 
 Paris (proposed by Nicolas Aguirre)
* Local organiser: Nicolas Aguirre
* Meeting space offering: OpenWide office
 
 + Within Europe
 + Served us very well this year
 + Organiser and meeting space available
 
 
 Toulouse (proposed by Nicolas Aguirre)
* Local organiser: Nicolas Aguirre
* Meeting space offering: OpenWide office
 
 + Within Europe
 + Organiser and meeting space available
 
 
 Seoul (proposed by Hermet Park)
* Local organiser: Hermet Park
* Meeting space offering: Somewhere in Seoul
 
 - To high travel costs for almost all non-company attendees
 - Unlikely to attract many community people without company baking
 + Would give a lot local Samsung EFL developers the chance to attend
 + Organiser and meeting space available
>>> 
>>> I don't think I proposed Israel, but anyhow, local organiser would be
>>> JackDanielZ, and surely we could find a place if needed...
>>> 
>>> My take: australia, us and korea are probably very unlikely.
>>> 
>>> Malta sounds like the best idea.
>>> 
>>> --
>>> Tom.
>>> 
>>> 
>>> 
>>> --
>>> Developer Access Program for Intel Xeon Phi Processors
>>> Access to Intel Xeon Phi processor-based developer platforms.
>>> With one year of Intel Parallel Studio XE.
>>> Training and support from Colfax.
>>> Order your platform today. http://sdm.link/xeonphi
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> 
>> --
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> ___
>> enlightenment-devel 

[E-devel] FW: [EGIT] [tools/enventor] master 01/01: Remove unnecessary shortcut key.

2016-11-01 Thread Hermet Park
Traditional text editors supports word selection with a word double click.
OTOH, Enventor uses double click to show up the candidate lists instead.

I don't think that help message is unnecessary.
Users won't find out the usage without help. :(


-Original Message-
From: "Jaehyun Cho" 
To: ; 
Cc: 
Sent: 2016-10-24 (월) 14:41:06
Subject: [EGIT] [tools/enventor] master 01/01: Remove unnecessary shortcut key.
 
jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=8de5b07488e72e6cdedc17151ec666a9609819c2

commit 8de5b07488e72e6cdedc17151ec666a9609819c2
Author: Jaehyun Cho 
Date:   Mon Oct 24 14:30:10 2016 +0900

Remove unnecessary shortcut key.
---
 README  1 -
 data/help/SHORTCUT  1 -
 2 files changed, 2 deletions(-)

diff --git a/README b/README
index d1e1952..d36f544 100644
--- a/README
+++ b/README
@@ -56,7 +56,6 @@ Alt+Up - Toggle Full Console View
 Alt+Down - Toggle Full Editors View
 
 Ctrl+A - Select Text All
-Ctrl+Double Click - Select a word
 Ctrl+Z - Undo Text
 Ctrl+R - Redo Text
 Ctrl+C - Copy Selected Text
diff --git a/data/help/SHORTCUT b/data/help/SHORTCUT
index a67b634..36afed5 100644
--- a/data/help/SHORTCUT
+++ b/data/help/SHORTCUT
@@ -29,7 +29,6 @@
 
 Text Editor:
   Ctrl+A - Select Text All
-  Ctrl+Double Click - Select a word
   Ctrl+Z - Undo Text
   Ctrl+R - Redo Text
   Ctrl+C - Copy Selected Text

-- 

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Stefan Schmidt
Hello.

On 01/11/16 11:16, Andrew Williams wrote:
> I forgot to add Edinburgh to the list.
> I'm happy to organise and I think CodeBase (the tech incubator I am in)
> will provide event space if we book far enough ahead.
>
> I'll update phab,

Thanks.

Local organiser as well as meeting space, plus a city in the European 
area makes this an interesting option.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Stefan Schmidt
Hello.

On 01/11/16 11:19, Tom Hacohen wrote:
> And London, we can probably get hosting at the London hackspace, if not,
> there are more options. With the pound as low as it is, it's going to be
> like going to a 3rd world countries for you all. :P

Pretty sure London will just raise the prices even more when the pound 
keeps falling and falling.

If you (or someone else) are standing up as local organiser and the 
meeting location at the hackerspace can get confirmed I see this as an 
valid option. If these two are sorted out it should get added to the 
wiki page.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Stefan Schmidt
Hello.

On 01/11/16 11:25, Gustavo Sverzut Barbieri wrote:
> Ahahahah you're funny ;)
>
> Btw, I'm not going to propose Brazil as airfare is horrible, it's distant to 
> most and needs visa. But Felipe lives in one of the best towns of the 
> country, we could do open air nearby the beach  :-)

At the beach would be even better.

But sadly the points you raised makes this as problematic as Australia 
or Korea.

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Tom Hacohen
On 01/11/16 10:51, Stefan Schmidt wrote:
> Hello.
>
> On 01/11/16 11:19, Tom Hacohen wrote:
>> And London, we can probably get hosting at the London hackspace, if not,
>> there are more options. With the pound as low as it is, it's going to be
>> like going to a 3rd world countries for you all. :P
>
> Pretty sure London will just raise the prices even more when the pound
> keeps falling and falling.
>
> If you (or someone else) are standing up as local organiser and the
> meeting location at the hackerspace can get confirmed I see this as an
> valid option. If these two are sorted out it should get added to the
> wiki page.

As you know, I'm going travelling a bit starting from early in the 
morning tomorrow, so I won't have any time to check.

I think this should probably be a two step process.

1. Choose where we want to go.
2. Verifying it can be done before we fully commit.

By the time it's decided I'll already be back and will be able to 
confirm the hackspace and any other "organisation" that may be required.

--
Tom.

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [admin/devs] master 01/01: developers: make lorddrew a developer

2016-11-01 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=de08b9cd24e95ebdd0bd51940d6e9a39d54a18dd

commit de08b9cd24e95ebdd0bd51940d6e9a39d54a18dd
Author: Vyacheslav Reutskiy 
Date:   Tue Nov 1 13:25:13 2016 +0200

developers: make lorddrew a developer
---
 {probies => developers}/lorddrew/id_rsa.pub | 0
 {probies => developers}/lorddrew/info.txt   | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/probies/lorddrew/id_rsa.pub b/developers/lorddrew/id_rsa.pub
similarity index 100%
rename from probies/lorddrew/id_rsa.pub
rename to developers/lorddrew/id_rsa.pub
diff --git a/probies/lorddrew/info.txt b/developers/lorddrew/info.txt
similarity index 100%
rename from probies/lorddrew/info.txt
rename to developers/lorddrew/info.txt

-- 




Re: [E-devel] Request dev acces for lorddrew (Andrii Krotor)

2016-11-01 Thread Viacheslav Reutskiy
Hello, I moved lorddrew from probie to developers Congratulations!


On 11/01/16 00:59, Cedric BAIL wrote:
> Hello,
>
> On Mon, Oct 31, 2016 at 1:35 AM, Viacheslav Reutskiy
>  wrote:
>> Today I would like to propose to promote lorddrew (Andrii Krotor)
>> from probie to developers.
>>
>> He has been contributiong to Eflete along time and made a lot of
>> patches to efl and elementary.
>>
>> So if nobody object I will give access.
> +1, but with just one point as most of the work on Windows port is
> still done via proper review on Phab, I would like this to continue to
> go through Phab for some time.
>
> Thanks,
>Cedric
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Viacheslav Reutskiy (rimmed)


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Felipe Magno de Almeida
On Tue, Nov 1, 2016 at 8:25 AM, Gustavo Sverzut Barbieri
 wrote:
> Ahahahah you're funny ;)
>
> Btw, I'm not going to propose Brazil as airfare is horrible, it's distant to 
> most and needs visa. But Felipe lives in one of the best towns of the 
> country, we could do open air nearby the beach  :-)

That is true ;). Though it would probably be hot as hell :D.

I'm actually starting setting up a C and C++ event in 2017 in
Florianopolis*,  so I'm looking for places to hold an event, maybe EDD
Florianopolis in 2018?

BTW, hope you can talk in this C and C++ event next year.

> --
> Gustavo Sverzut Barbieri

* hint: type Florianopolis women in google images

Regards,
-- 
Felipe Magno de Almeida

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: efl_net_server_example: oops, do not assume all servers are Efl.Net.Server.Fd

2016-11-01 Thread Gustavo Sverzut Barbieri
barbieri pushed a commit to branch master.

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

commit 83457a52e26f37c9f1d691e8373cb38c52c9b1b2
Author: Gustavo Sverzut Barbieri 
Date:   Tue Nov 1 10:45:38 2016 -0200

efl_net_server_example: oops, do not assume all servers are 
Efl.Net.Server.Fd

SSL server is not an Fd, it contains one internally, but that's
hidden. So call proper methods.
---
 src/examples/ecore/efl_net_server_example.c | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/examples/ecore/efl_net_server_example.c 
b/src/examples/ecore/efl_net_server_example.c
index bc9eecf..6f760f0 100644
--- a/src/examples/ecore/efl_net_server_example.c
+++ b/src/examples/ecore/efl_net_server_example.c
@@ -642,9 +642,6 @@ main(int argc, char **argv)
  }
 
server = efl_add(cls, ecore_main_loop_get(), /* it's mandatory to use a 
main loop provider as the server parent */
-efl_net_server_fd_close_on_exec_set(efl_added, EINA_TRUE), 
/* recommended */
-efl_net_server_fd_reuse_address_set(efl_added, EINA_TRUE), 
/* optional, but nice for testing */
-efl_net_server_fd_reuse_port_set(efl_added, EINA_TRUE), /* 
optional, but nice for testing... not secure unless you know what you're doing 
*/
 efl_net_server_clients_limit_set(efl_added,
  clients_limit,
  clients_reject_excess), 
/* optional */
@@ -657,7 +654,12 @@ main(int argc, char **argv)
  }
 
if (cls == EFL_NET_SERVER_TCP_CLASS)
- efl_net_server_tcp_ipv6_only_set(server, ipv6_only);
+ {
+efl_net_server_tcp_ipv6_only_set(server, ipv6_only);
+efl_net_server_fd_close_on_exec_set(server, EINA_TRUE); /* recommended 
*/
+efl_net_server_fd_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
+efl_net_server_fd_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
+ }
else if (cls == EFL_NET_SERVER_UDP_CLASS)
  {
 const Eina_List *lst;
@@ -670,6 +672,11 @@ main(int argc, char **argv)
 
 EINA_LIST_FOREACH(udp_mcast_groups, lst, str)
   efl_net_server_udp_multicast_join(server, str);
+
+
+efl_net_server_fd_close_on_exec_set(server, EINA_TRUE); /* recommended 
*/
+efl_net_server_fd_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
+efl_net_server_fd_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
  }
else if (cls == EFL_NET_SERVER_SSL_CLASS)
  {
@@ -697,6 +704,10 @@ main(int argc, char **argv)
   efl_net_ssl_context_setup(efl_added, cipher, 
EINA_FALSE /* a server! */));
 
 efl_net_server_ssl_context_set(server, ssl_ctx);
+
+efl_net_server_ssl_close_on_exec_set(server, EINA_TRUE); /* 
recommended */
+efl_net_server_ssl_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
+efl_net_server_ssl_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
  }
 #ifndef _WIN32
else if (cls == EFL_NET_SERVER_UNIX_CLASS)

-- 




Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Gustavo Sverzut Barbieri
On Tue, Nov 1, 2016 at 10:14 AM, Felipe Magno de Almeida
 wrote:
> On Tue, Nov 1, 2016 at 8:25 AM, Gustavo Sverzut Barbieri
>  wrote:
>> Ahahahah you're funny ;)
>>
>> Btw, I'm not going to propose Brazil as airfare is horrible, it's distant to 
>> most and needs visa. But Felipe lives in one of the best towns of the 
>> country, we could do open air nearby the beach  :-)
>
> That is true ;). Though it would probably be hot as hell :D.
>
> I'm actually starting setting up a C and C++ event in 2017 in
> Florianopolis*,  so I'm looking for places to hold an event, maybe EDD
> Florianopolis in 2018?
>
> BTW, hope you can talk in this C and C++ event next year.

sure :-)


>> --
>> Gustavo Sverzut Barbieri
>
> * hint: type Florianopolis women in google images

ahahaha... they look too European... usually these guys like those
from Northeast :-)



-- 
Gustavo Sverzut Barbieri
--
Mobile: +55 (16) 99354-9890

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 03/07: docs: efl_io: add missing docs for efl_io_* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit 23811109646857d15438ea1239db141415472107
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:13:42 2016 +0100

docs: efl_io: add missing docs for efl_io_* interfaces
---
 src/lib/efl/interfaces/efl_io_buffer.eo | 10 +-
 src/lib/efl/interfaces/efl_io_closer.eo |  8 
 src/lib/efl/interfaces/efl_io_positioner.eo |  2 +-
 src/lib/efl/interfaces/efl_io_reader.eo |  7 ---
 src/lib/efl/interfaces/efl_io_sizer.eo  |  4 ++--
 src/lib/efl/interfaces/efl_io_writer.eo |  7 ---
 6 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_io_buffer.eo 
b/src/lib/efl/interfaces/efl_io_buffer.eo
index 5c0423d..10672d2 100644
--- a/src/lib/efl/interfaces/efl_io_buffer.eo
+++ b/src/lib/efl/interfaces/efl_io_buffer.eo
@@ -18,7 +18,7 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, 
Efl.Io.Writer, Efl.Io.Closer, Ef
 preallocate {
 [[Immediately pre-allocate a buffer of at least a given size.]]
 params {
-@in size: size; [[amount of bytes to pre-allocate.]]
+@in size: size; [[Amount of bytes to pre-allocate.]]
 }
 }
 
@@ -52,10 +52,10 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, 
Efl.Io.Writer, Efl.Io.Closer, Ef
 ]]
 get { }
 set {
-return: bool (false);
+return: bool (false); [[$true if setting the position 
succeeded, $false otherwise]]
 }
 values {
-position: uint64;
+position: uint64; [[Position in buffer]]
 }
 }
 
@@ -71,10 +71,10 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, 
Efl.Io.Writer, Efl.Io.Closer, Ef
 ]]
 get { }
 set {
-return: bool (false);
+return: bool (false); [[$true if setting the position 
succeeded, $false otherwise]]
 }
 values {
-position: uint64;
+position: uint64; [[Position in buffer]]
 }
 }
 
diff --git a/src/lib/efl/interfaces/efl_io_closer.eo 
b/src/lib/efl/interfaces/efl_io_closer.eo
index d54dff6..7ecfd7f 100644
--- a/src/lib/efl/interfaces/efl_io_closer.eo
+++ b/src/lib/efl/interfaces/efl_io_closer.eo
@@ -38,7 +38,7 @@ mixin Efl.Io.Closer {
 return: bool; [[$true if could close, $false if already closed 
or errors.]]
 }
 values {
-is_closed: bool;
+is_closed: bool; [[$true if closed, $false otherwise]]
 }
 }
 
@@ -51,11 +51,11 @@ mixin Efl.Io.Closer {
 ]]
 get @virtual_pure { }
 set @virtual_pure {
-[[If true, will close on exec() call.]]
+[[If $true, will close on exec() call.]]
 return: bool; [[$true if could set, $false if not supported or 
failed.]]
 }
 values {
-close_on_exec: bool;
+close_on_exec: bool; [[$true if close on exec(), $false 
otherwise]]
 }
 }
 
@@ -68,7 +68,7 @@ mixin Efl.Io.Closer {
 get @virtual_pure { }
 set @virtual_pure { }
 values {
-close_on_destructor: bool;
+close_on_destructor: bool; [[$true if close on destructor, 
$false otherwise]]
 }
 }
 }
diff --git a/src/lib/efl/interfaces/efl_io_positioner.eo 
b/src/lib/efl/interfaces/efl_io_positioner.eo
index 7e4c791..9e17f22 100644
--- a/src/lib/efl/interfaces/efl_io_positioner.eo
+++ b/src/lib/efl/interfaces/efl_io_positioner.eo
@@ -31,7 +31,7 @@ mixin Efl.Io.Positioner {
 return: bool; [[$true if could reposition, $false if errors.]]
 }
 values {
-position: uint64;
+position: uint64; [[Position in file or buffer]]
 }
 }
 }
diff --git a/src/lib/efl/interfaces/efl_io_reader.eo 
b/src/lib/efl/interfaces/efl_io_reader.eo
index 79e78a3..1b3cc6d 100644
--- a/src/lib/efl/interfaces/efl_io_reader.eo
+++ b/src/lib/efl/interfaces/efl_io_reader.eo
@@ -29,7 +29,7 @@ interface Efl.Io.Reader {
   You can understand this method as read(2) libc function.
 ]]
 params {
-   @inout rw_slice: Eina.Rw_Slice @nonull; [[provides a 
pre-allocated memory to be filled up to rw_slice.len. It will be populated and 
the length will be set to the actually used amount of bytes, which can be 
smaller than the request.]]
+   @inout rw_slice: Eina.Rw_Slice @nonull; [[Provides a 
pre-allocated memory to be filled up to rw_slice.len. It will be populated and 
the length will be set to the actually used amount of bytes, which can be 
smaller than the request.]]
 

[EGIT] [core/efl] master 01/01: examples/ecore: command to generate OpenSSL PEM files.

2016-11-01 Thread Gustavo Sverzut Barbieri
barbieri pushed a commit to branch master.

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

commit 15a0ca0fb9eaa914329d47666397f70f37d85bf5
Author: Gustavo Sverzut Barbieri 
Date:   Tue Nov 1 11:52:21 2016 -0200

examples/ecore: command to generate OpenSSL PEM files.

it's cumbersome to remember these commands and without them it's hard
to test the SSL server examples, so add a make rule for that.
---
 src/examples/ecore/.gitignore  | 1 +
 src/examples/ecore/Makefile.am | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/src/examples/ecore/.gitignore b/src/examples/ecore/.gitignore
index 7068b7c..18a9ea8 100644
--- a/src/examples/ecore/.gitignore
+++ b/src/examples/ecore/.gitignore
@@ -59,3 +59,4 @@
 /ecore_evas_vnc
 /efl_net_socket_ssl_dialer_example
 /efl_net_socket_ssl_server_example
+/*.pem
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 7e26163..fe23058 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -387,6 +387,9 @@ efl_net_dialer_udp_example.c \
 efl_net_socket_ssl_dialer_example.c \
 efl_net_socket_ssl_server_example.c
 
+%.pem:
+   echo -e "US\nOR\nPortland\nXPTO Ltd\n\nlocalhost\nroot@localhost\n" | 
openssl req -new -x509 -days 30 -nodes -out $@ -keyout $@
+
 DATA_FILES = red.png Makefile.examples
 
 EXTRA_DIST = $(DATA_FILES)

-- 




[E-devel] Weekly news from the automated build and QA front

2016-11-01 Thread Stefan Schmidt
Hello.

Summary:
o DNS problem on Jenkins is fixed and builds are slowly catching up
o No new coverity reports. We submitted new builds but the Coverity 
server has a big backlog right now (around 100 builds in front our ours)
o We reached 1000 open issues in total on phab so it was time to split 
the statistics a bit more. We now have open issues for EFL and E.


This should give everyone an overview over what has happened in the last
week on the QA front. The numbers in parentheses reflect the values from
last week to give you a trend.

CI:
o Overall build statistic: 10.63% (38.92%) failed.
https://build.enlightenment.org/

Unit tests:
o N/A (886) unit tests for efl

Coverage:
o EFL total coverage is at N/A (N/A) lines, N/A (N/A) functions and N/A 
(N/A) branches
https://build.enlightenment.org/view/Test%20Coverage/

Coverity:
o EFL: Outstanding defects 85 (85) with a density of 0.08 (0.08)
o Enlightenment: Outstanding defects 1 (1) with a density of 0 (0)
o Terminology: Outstanding defects 0 (0) with a density of 0 (0)
o Rage: Outstanding defects 0 (0) with a density of 0 (0)

Phab:
o EFL bug count: 294 (N/A)
o E bug count: 386 (N/A)
https://phab.enlightenment.org/maniphest/report/burn/
o Pending patch reviews: 105 (99)

regards
Stefan Schmidt

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/07: docs: efl_ui: add missing docs for efl_ui_* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit bee12e8688d310854b66147adce59133b58b4d6f
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:11:10 2016 +0100

docs: efl_ui: add missing docs for efl_ui_* interfaces
---
 src/lib/efl/interfaces/efl_ui_progress.eo | 4 +++-
 src/lib/efl/interfaces/efl_ui_spin.eo | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/efl/interfaces/efl_ui_progress.eo 
b/src/lib/efl/interfaces/efl_ui_progress.eo
index 3b901c2..0ec8219 100644
--- a/src/lib/efl/interfaces/efl_ui_progress.eo
+++ b/src/lib/efl/interfaces/efl_ui_progress.eo
@@ -1,4 +1,6 @@
-interface Efl.Ui.Progress {
+interface Efl.Ui.Progress
+{
+   [[Efl UI progress interface]]
methods {
   @property span_size {
  [[Control the (exact) length of the bar region of a given progress 
widget
diff --git a/src/lib/efl/interfaces/efl_ui_spin.eo 
b/src/lib/efl/interfaces/efl_ui_spin.eo
index c861523..bfeca2b 100644
--- a/src/lib/efl/interfaces/efl_ui_spin.eo
+++ b/src/lib/efl/interfaces/efl_ui_spin.eo
@@ -1,5 +1,6 @@
 interface Efl.Ui.Spin()
 {
+   [[Efl UI spinner interface]]
methods {
   @property min_max {
  [[Control the minimum and maximum values for the spinner.

-- 




[EGIT] [core/efl] master 06/07: docs: efl_text: ad missing docs for efl_text* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit cf42387e3f4fc3101929d52e55463b612cccd440
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:17:50 2016 +0100

docs: efl_text: ad missing docs for efl_text* interfaces
---
 src/lib/efl/interfaces/efl_text.eo| 4 +++-
 src/lib/efl/interfaces/efl_text_properties.eo | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_text.eo 
b/src/lib/efl/interfaces/efl_text.eo
index fa329bb..13733b0 100644
--- a/src/lib/efl/interfaces/efl_text.eo
+++ b/src/lib/efl/interfaces/efl_text.eo
@@ -1,4 +1,6 @@
-interface Efl.Text {
+interface Efl.Text
+{
+   [[Efl text interface]]
methods {
   @property text {
  set {
diff --git a/src/lib/efl/interfaces/efl_text_properties.eo 
b/src/lib/efl/interfaces/efl_text_properties.eo
index e4c8e35..5ca3790 100644
--- a/src/lib/efl/interfaces/efl_text_properties.eo
+++ b/src/lib/efl/interfaces/efl_text_properties.eo
@@ -1,6 +1,8 @@
 type Efl_Font_Size: int;
 
-interface Efl.Text.Properties {
+interface Efl.Text.Properties
+{
+   [[Efl text properties interface]]
methods {
   @property font {
  set {

-- 




[EGIT] [core/efl] master 02/07: docs: efl_gfx: add missing docs for efl_gfx_* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit cc6b7466858376d73e2c7371a1f5fecda8ff9d92
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:11:52 2016 +0100

docs: efl_gfx: add missing docs for efl_gfx_* interfaces
---
 src/lib/efl/interfaces/efl_gfx_buffer.eo  | 26 +++
 src/lib/efl/interfaces/efl_gfx_fill.eo|  1 +
 src/lib/efl/interfaces/efl_gfx_filter.eo  | 10 -
 src/lib/efl/interfaces/efl_gfx_gradient.eo|  7 +++---
 src/lib/efl/interfaces/efl_gfx_gradient_linear.eo |  9 
 src/lib/efl/interfaces/efl_gfx_gradient_radial.eo | 11 +-
 src/lib/efl/interfaces/efl_gfx_size_hint.eo   |  5 +++--
 src/lib/efl/interfaces/efl_gfx_stack.eo   | 12 ++-
 src/lib/efl/interfaces/efl_gfx_view.eo|  4 +++-
 9 files changed, 47 insertions(+), 38 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_gfx_buffer.eo 
b/src/lib/efl/interfaces/efl_gfx_buffer.eo
index bde430a..1b8f6b1 100644
--- a/src/lib/efl/interfaces/efl_gfx_buffer.eo
+++ b/src/lib/efl/interfaces/efl_gfx_buffer.eo
@@ -46,7 +46,7 @@ interface Efl.Gfx.Buffer ()
 ]]
  }
  values {
-cspace: Efl.Gfx.Colorspace;
+cspace: Efl.Gfx.Colorspace; [[Colorspace]]
  }
   }
   @property alpha {
@@ -85,7 +85,7 @@ interface Efl.Gfx.Buffer ()
  ]]
  get {}
  values {
-stride: int;
+stride: int; [[Stride]]
  }
   }
 
@@ -135,18 +135,18 @@ interface Efl.Gfx.Buffer ()
  params {
 @out slice: Eina.Rw_Slice; [[Pointer to the top-left pixel data.]]
 @in mode: Efl.Gfx.Buffer.Access_Mode; [[Specifies whether to map 
for read-only,
-write-only or read-write 
access (OR combinaison of flags).]]
+write-only or read-write 
access (OR combination of flags).]]
 @in x: int @optional;  [[X position of the top-left pixel to map, 
defaults to 0.]]
 @in y: int @optional;  [[Y position of the top-left pixel to map, 
defaults to 0.]]
 @in w: int @optional; [[If 0, defaults to the buffer width.]]
 @in h: int @optional; [[If 0, defaults to the buffer height.]]
-@in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. 
If differen from the internal cspace,
+@in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. 
If different from the internal cspace,
 map should try to 
convert the data into a new buffer.
 argb by default.]]
 @in plane: int @optional; [[Plane ID. 0 by default. Useful for 
planar formats only.]]
 @out stride: int @optional; [[Returns the length in bytes of a 
mapped line]]
  }
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
   }
   buffer_unmap {
  [[Unmap a region of this buffer, and update the internal data if 
needed.
@@ -161,7 +161,7 @@ interface Efl.Gfx.Buffer ()
  params {
 @in slice: const(Eina.Rw_Slice)*; [[Data slice returned by a 
previous call to map.]]
  }
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
   }
   buffer_copy_set {
  [[Set the pixels for this buffer by copying them, or allocate
@@ -182,13 +182,13 @@ interface Efl.Gfx.Buffer ()
  ]]
  params {
 @in slice: const(Eina.Slice)* @nullable; [[If $null, allocates an 
empty buffer]]
-@in width: int;
-@in height: int;
+@in width: int; [[Width]]
+@in height: int; [[Height]]
 @in stride: int @optional; [[If 0, automatically guessed from the 
$width.]]
 @in cspace: Efl.Gfx.Colorspace @optional; [[argb by default.]]
 @in plane: int @optional; [[Plane ID. 0 by default. Useful for 
planar formats only.]]
  }
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
   }
   buffer_managed_set {
  [[Set the pixels for this buffer, managed externally by the client.
@@ -208,13 +208,13 @@ interface Efl.Gfx.Buffer ()
  ]]
  params {
 @in slice: const(Eina.Slice)* @nullable; [[If $null, detaches the 
previous buffer.]]
-@in width: int;
-@in height: int;
+@in width: int; [[Width]]
+@in height: int; [[Height]]
 @in stride: int @optional; [[If 0, automatically guessed from the 
$width.]]
 @in cspace: Efl.Gfx.Colorspace @optional; [[argb by default.]]
 @in plane: int @optional; [[Plane ID. 0 by default. Useful for 
planar formats

[EGIT] [core/efl] master 07/07: docs: add missing docs for the rest of efl interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit 7e98403912dfaf9419916e5b478edc945b51fa81
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:18:26 2016 +0100

docs: add missing docs for the rest of efl interfaces
---
 src/lib/efl/interfaces/efl_config.eo   | 13 +++--
 src/lib/efl/interfaces/efl_container.eo| 14 +++---
 src/lib/efl/interfaces/efl_control.eo  |  1 +
 src/lib/efl/interfaces/efl_file.eo |  7 ---
 src/lib/efl/interfaces/efl_flipable.eo | 14 ++
 src/lib/efl/interfaces/efl_input_device.eo | 12 ++--
 src/lib/efl/interfaces/efl_model.eo|  5 +++--
 src/lib/efl/interfaces/efl_orientation.eo  | 13 +++--
 src/lib/efl/interfaces/efl_pack.eo | 14 +++---
 src/lib/efl/interfaces/efl_player.eo   | 12 +++-
 src/lib/efl/interfaces/efl_screen.eo   |  4 +++-
 src/lib/efl/interfaces/efl_vpath_core.eo   |  2 +-
 12 files changed, 59 insertions(+), 52 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_config.eo 
b/src/lib/efl/interfaces/efl_config.eo
index 1d9722b..0a5b119 100644
--- a/src/lib/efl/interfaces/efl_config.eo
+++ b/src/lib/efl/interfaces/efl_config.eo
@@ -5,24 +5,25 @@ interface Efl.Config ()
   /* FIXME: make this a property -- @own is a problem */
   config_set {
  params {
-name: string;
-val: const(generic_value)*;
+name: string; [[Configuration option name]]
+val: const(generic_value)*; [[Configuration option value]]
  }
  return: bool; [[$false in case of error: value type was invalid, the
  config can't be changed, config does not exist...]]
   }
   config_get @const {
  params {
-name: string;
+name: string; [[Configuration option name]]
  }
- return: free(own(generic_value *), eina_value_free);
+ return: free(own(generic_value *), eina_value_free); [[Configuration 
option value]]
   }
   config_list_get @const {
  [[Returns a list of generic values under a given key.]]
  params {
-@in name: string;
+@in name: string; [[Configuration option name]]
  }
- return: free(own(iterator), eina_iterator_free);
+ return: free(own(iterator), eina_iterator_free); [[
+ List of configuration option values]]
   }
}
 }
diff --git a/src/lib/efl/interfaces/efl_container.eo 
b/src/lib/efl/interfaces/efl_container.eo
index 73489e8..1bf98e1 100644
--- a/src/lib/efl/interfaces/efl_container.eo
+++ b/src/lib/efl/interfaces/efl_container.eo
@@ -8,30 +8,30 @@ interface Efl.Container (Efl.Gfx)
  [[The name of the part under which an object is swallowed.]]
  get {}
  keys {
-content: Efl.Gfx;
+content: Efl.Gfx; [[Swallowed object]]
  }
  values {
-name: string;
+name: string; [[Part name]]
  }
   }
   @property content {
  [[Swallowed sub-object contained in this object.]]
  set {
-return: bool;
+return: bool; [[$true on success, $false otherwise]]
  }
  get {}
  values {
-content: Efl.Gfx; [[the object to swallow.]]
+content: Efl.Gfx; [[The object to swallow.]]
  }
   }
   content_unset {
  [[Unswallow the object in the current container and return it.]]
- return: Efl.Gfx;
+ return: Efl.Gfx; [[Unswallowed object]]
   }
   content_remove {
  [[Unswallow an object from this container.]]
  params {
-@in content: Efl.Gfx;
+@in content: Efl.Gfx; [[To be removed content]]
  }
  return: bool; [[$false if $content was not a child or can not be 
removed.]]
   }
@@ -41,7 +41,7 @@ interface Efl.Container (Efl.Gfx)
   }
   content_count {
  [[Returns the number of UI elements packed in this container.]]
- return: int;
+ return: int; [[Number of packed UI elements]]
   }
}
events {
diff --git a/src/lib/efl/interfaces/efl_control.eo 
b/src/lib/efl/interfaces/efl_control.eo
index 148f21d..39d327e 100644
--- a/src/lib/efl/interfaces/efl_control.eo
+++ b/src/lib/efl/interfaces/efl_control.eo
@@ -1,6 +1,7 @@
 /* FIXME: Rename */
 
 interface Efl.Control {
+   [[Efl control interface]]
methods {
 @property priority {
  [[Control the priority of the object.]]
diff --git a/src/lib/efl/interfaces/efl_file.eo 
b/src/lib/efl/interfaces/efl_file.eo
index 41cf5df..7696070 100644
--- a/src/lib/efl/interfaces/efl_file.eo
+++ b/src/lib/efl/interfaces/efl_file.eo
@@ -1,6 +1,7 @@
 import eina_types;
 
 interface Efl.File {
+   [[Efl file interface]]
methods {
   @property mmap {
  set {
@@ -13,7 +14,7 @@ inter

[EGIT] [core/efl] master 04/07: docs: efl_pack: add missing docs for efl_pack_* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit f2a6167c30a19fa93839cec5fefdf3ee633f56c6
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:14:19 2016 +0100

docs: efl_pack: add missing docs for efl_pack_* interfaces
---
 src/lib/efl/interfaces/efl_pack_grid.eo   | 38 +++
 src/lib/efl/interfaces/efl_pack_linear.eo |  4 ++--
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_pack_grid.eo 
b/src/lib/efl/interfaces/efl_pack_grid.eo
index 3e532d2..2268f2e 100644
--- a/src/lib/efl/interfaces/efl_pack_grid.eo
+++ b/src/lib/efl/interfaces/efl_pack_grid.eo
@@ -8,39 +8,39 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
   pack_grid {
  params {
 subobj: own(Efl.Gfx);
-col: int;
-row: int;
+col: int; [[Column number]]
+row: int; [[Row number]]
 colspan: int @optional; [[0 means 1, -1 means @.grid_columns]]
 rowspan: int @optional; [[0 means 1, -1 means @.grid_rows]]
  }
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
   }
   grid_contents_get {
  [[Returns all objects at a given position in this grid.]]
  return: free(own(iterator), eina_iterator_free);
  params {
-@in col: int;
-@in row: int;
+@in col: int; [[Column number]]
+@in row: int; [[Row number]]
 @in below: bool @optional; [[If $true get objects spanning over 
this cell.]]
  }
   }
   grid_content_get {
  [[Returns a child at a given position, see @.grid_contents_get.]]
- return: Efl.Gfx;
+ return: Efl.Gfx; [[Child object]]
  params {
-@in col: int;
-@in row: int;
+@in col: int; [[Column number]]
+@in row: int; [[Row number]]
  }
   }
   @property grid_position {
- [[position and span of the $subobj in this container, may be modified 
to move the $subobj]]
- get { return: bool; [[returns false if item is not a child]] }
+ [[Position and span of the $subobj in this container, may be modified 
to move the $subobj]]
+ get { return: bool; [[Returns false if item is not a child]] }
  keys {
-subobj: Efl.Gfx;
+subobj: Efl.Gfx; [[Child object]]
  }
  values {
-col: int;
-row: int;
+col: int; [[Column number]]
+row: int; [[Row number]]
 colspan: int;
 rowspan: int;
  }
@@ -50,22 +50,22 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
  set {}
  get {}
  values {
-cols: int;
-rows: int;
+cols: int; [[Number of columns]]
+rows: int; [[Number of rows]]
  }
   }
   @property grid_columns {
  set { [[Specifies limit for linear adds - if direction is 
horizontal]] }
  get {}
  values {
-cols: int;
+cols: int; [[Number of columns]]
  }
   }
   @property grid_rows {
  set { [[Specifies limit for linear adds - if direction is vertical]] }
  get {}
  values {
-rows: int;
+rows: int; [[Number of rows]]
  }
   }
   @property grid_orientation {
@@ -76,8 +76,8 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
  set {}
  get {}
  values {
-primary: Efl.Orient;
-secondary: Efl.Orient;
+primary: Efl.Orient; [[Primary orientation]]
+secondary: Efl.Orient; [[Secondary orientation]]
  }
   }
}
diff --git a/src/lib/efl/interfaces/efl_pack_linear.eo 
b/src/lib/efl/interfaces/efl_pack_linear.eo
index ffb4180..948c1fa 100644
--- a/src/lib/efl/interfaces/efl_pack_linear.eo
+++ b/src/lib/efl/interfaces/efl_pack_linear.eo
@@ -60,7 +60,7 @@ interface Efl.Pack.Linear (Efl.Pack)
(count - 1).
  ]]
  params {
-index: int;
+index: int; [[Index number]]
  }
  return: Efl.Gfx; [[The object contained at the given $index.]]
   }
@@ -77,7 +77,7 @@ interface Efl.Pack.Linear (Efl.Pack)
Equivalent to unpack(content_at($index)).
  ]]
  params {
-index: int;
+index: int; [[Index number]]
  }
  return: Efl.Gfx; [[The child item if it could be removed.]]
   }

-- 




[EGIT] [core/efl] master 05/07: docs: efl_image: add missing docs for efl_image_* interfaces

2016-11-01 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit 55cd2a339ec45e7fc0a113900a5e775f73eddcd4
Author: Stefan Schmidt 
Date:   Tue Nov 1 14:15:30 2016 +0100

docs: efl_image: add missing docs for efl_image_* interfaces
---
 src/lib/efl/interfaces/efl_image_animated.eo |  3 ++-
 src/lib/efl/interfaces/efl_image_load.eo | 12 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_image_animated.eo 
b/src/lib/efl/interfaces/efl_image_animated.eo
index 7799c90..6d2bc37 100644
--- a/src/lib/efl/interfaces/efl_image_animated.eo
+++ b/src/lib/efl/interfaces/efl_image_animated.eo
@@ -12,6 +12,7 @@ enum Efl.Image.Animated.Loop_Hint {
 
 interface Efl.Image.Animated ()
 {
+   [[Efl animated image interface]]
eo_prefix: efl_image;
 
methods {
@@ -113,7 +114,7 @@ interface Efl.Image.Animated ()
 frame_num: int; [[Number of frames in the sequence, starts from 
0.]]
  }
  values {
-duration: double;
+duration: double; [[Duration in seconds]]
  }
   }
}
diff --git a/src/lib/efl/interfaces/efl_image_load.eo 
b/src/lib/efl/interfaces/efl_image_load.eo
index b373551..f575b57 100644
--- a/src/lib/efl/interfaces/efl_image_load.eo
+++ b/src/lib/efl/interfaces/efl_image_load.eo
@@ -43,7 +43,7 @@ interface Efl.Image.Load ()
 ]]
  }
  values {
-state: Efl.Image.Load.State;
+state: Efl.Image.Load.State; [[Image loading status]]
  }
   }
   */
@@ -60,7 +60,7 @@ interface Efl.Image.Load ()
 [[Requests the canvas to load the image at the given size.
 
   EFL will try to load the image at the requested size, but does
-  not garantee an exact match between the request and the loaded
+  not guarantee an exact match between the request and the loaded
   image dimensions.
 ]]
  }
@@ -99,7 +99,7 @@ interface Efl.Image.Load ()
  ]]
  get {}
  values {
-support: bool;
+support: bool; [[$true if region load of the image is supported, 
$false otherwise]]
  }
   }
   @property load_region {
@@ -184,8 +184,8 @@ interface Efl.Image.Load ()
   }
}
events {
-  load,done;
-  load,error: Efl.Image.Load.Error;
-  load,cancelled;
+  load,done; [[Called when he image was loaded]]
+  load,error: Efl.Image.Load.Error; [[Called when an error happened during 
image loading]]
+  load,cancelled; [[Called when the image loading was cancelled]]
}
 }

-- 




Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Stephen Houston
I love this idea. If not US I will definitely go to Scotland. It's on my
bucket list for ancestry reasons.

As far as US goes, I could easily have event space in Mississippi. I love
the South and it's my home. However, I don't think most of you big city
folks would enjoy the small town atmosphere. Pluses would be food. The
South has the best food in the world... of course none of it is good for
you and that's why the South is so fat, but it is so good. For music
lovers, we have one of the only two Grammy museums in the world. For
gamblers we have big casinos that are considered second to Las Vegas.  For
nightlife we have the best bars with live music. I know I could get event
space near Jackson or near Memphis.

I also think Chicago is a great location. Two big airports with affordable
airfare. Huge city with a ton of stuff to do. Centrally located.  Also a
lot of Tech business there so I'm sure finding event space would be fairly
easy.

On Tue, Nov 1, 2016, 5:17 AM Andrew Williams  wrote:

> I forgot to add Edinburgh to the list.
> I'm happy to organise and I think CodeBase (the tech incubator I am in)
> will provide event space if we book far enough ahead.
>
> I'll update phab,
> Andy
> On Tue, 1 Nov 2016 at 10:11, Tom Hacohen  wrote:
>
> > On 01/11/16 09:58, Stefan Schmidt wrote:
> > > Hello.
> > >
> > > Thinking ahead about EDD 2017 it would be good if we could settle for a
> > > location towards the end of the year.
> > >
> > > After this years EDD I already asked for location proposals which have
> > > been collected here:
> > > https://phab.enlightenment.org/w/events/location_proposals/
> > >
> > > I will put out a phab vote for it over the next weeks but wanted to
> > > bring it up here for discussion to sort out valid and likely proposals
> > > from the rest.
> > >
> > > Here we go with the list and my comments on it:
> > >
> > > Australia (proposed by David Seikel)
> > > * Local organiser: None
> > > * Meeting space offering: None
> > >
> > > + Nice country to visit
> > > - To high travel costs for almost all attendees
> > > - Unlikely to attract many community people without company baking
> > > - No local organiser or meeting space proposed
> > >
> > >
> > > Malta (proposed by Jonathan Aquilina)
> > > * Local organiser: Jonathan Aquilina
> > > * Meeting space offering: None
> > >
> > > + Within Europe
> > > + Travel costs for people from Europe might/should be ok (tourist
> > flights)
> > > - Not sure how easy it it to get there from outside of the EU (VISA,
> etc)
> > > - Meeting space offering is missing
> > >
> > >
> > > USA (proposed by Stephen Houston)
> > > * Local organiser: Stephen Houston
> > > * Meeting space offering: None
> > >
> > > o USA is big. Would this be east middle or west?
> > > + We have a bunch of developers from there
> > > - To high travel costs for many attendees
> > > - We did it once on the west coast and sadly almost only people with
> > > company baking attended
> > > - Meeting space offering is missing
> > >
> > >
> > > Tel Aviv (proposed by Tom Hacohen)
> > > * Local organiser: None
> > > * Meeting space offering: None
> > >
> > > - No local organiser or meeting space (Originally there was Samsung
> > > Israel listed here but as far as I understand that would not be
> possible)
> > >
> > >
> > > Paris (proposed by Nicolas Aguirre)
> > > * Local organiser: Nicolas Aguirre
> > > * Meeting space offering: OpenWide office
> > >
> > > + Within Europe
> > > + Served us very well this year
> > > + Organiser and meeting space available
> > >
> > >
> > > Toulouse (proposed by Nicolas Aguirre)
> > > * Local organiser: Nicolas Aguirre
> > > * Meeting space offering: OpenWide office
> > >
> > > + Within Europe
> > > + Organiser and meeting space available
> > >
> > >
> > > Seoul (proposed by Hermet Park)
> > > * Local organiser: Hermet Park
> > > * Meeting space offering: Somewhere in Seoul
> > >
> > > - To high travel costs for almost all non-company attendees
> > > - Unlikely to attract many community people without company baking
> > > + Would give a lot local Samsung EFL developers the chance to attend
> > > + Organiser and meeting space available
> >
> > I don't think I proposed Israel, but anyhow, local organiser would be
> > JackDanielZ, and surely we could find a place if needed...
> >
> > My take: australia, us and korea are probably very unlikely.
> >
> > Malta sounds like the best idea.
> >
> > --
> > Tom.
> >
> >
> >
> >
> --
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lis

[EGIT] [core/efl] master 01/01: elementary: Use software engine for wayland client pointers

2016-11-01 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit 4343432ee72df9148b4d7ed1707a139ec3f8b656
Author: Chris Michael 
Date:   Tue Nov 1 10:52:49 2016 -0400

elementary: Use software engine for wayland client pointers

There seem to be an issue with the ecore_evas_wayland_egl engine when
using them for cursors. The issue is that a black square shows up
behind the mouse pointer. This does not happen with the wayland_shm
engine so use wayland_shm engine for mouse pointers (for now) until
this can be sorted out.

Signed-off-by: Chris Michael 
---
 src/lib/elementary/efl_ui_win.c | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 5474d2a..2686e5c 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4873,10 +4873,15 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data 
*sd, const char *name, Elm_W
  Evas *pevas;
  Evas_Coord mw = 1, mh = 1, hx = 0, hy = 0;
 
- if (!strcmp(engine, ELM_WAYLAND_SHM))
-   sd->pointer.ee = ecore_evas_wayland_shm_new(NULL, 0, 0, 0, 1, 
1, 0);
- else if (!strcmp(engine, ELM_WAYLAND_EGL))
-   sd->pointer.ee = ecore_evas_wayland_egl_new(NULL, 0, 0, 0, 1, 
1, 0);
+ /* FIXME: NB:
+  * Disable using wayland_egl engine for mouse pointer right now.
+  * This is being disabled due to an issue in the engine where
+  * a black square is being drawn behind the pointer image */
+
+ /* if (!strcmp(engine, ELM_WAYLAND_SHM)) */
+ sd->pointer.ee = ecore_evas_wayland_shm_new(NULL, 0, 0, 0, 1, 1, 
0);
+ /* else if (!strcmp(engine, ELM_WAYLAND_EGL)) */
+ /*   sd->pointer.ee = ecore_evas_wayland_egl_new(NULL, 0, 0, 0, 
1, 1, 0); */
 
  pevas = ecore_evas_get(sd->pointer.ee);
 

-- 




[EGIT] [core/enlightenment] master 01/01: Luncher: Don't send mouse events when modifiers are set.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 193771d58c34988c29ead92a8ae341d850eb233a
Author: Stephen okra Houston 
Date:   Tue Nov 1 10:03:35 2016 -0500

Luncher: Don't send mouse events when modifiers are set.
---
 src/modules/luncher/bar.c | 41 ++---
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 472c918..414ebd6 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -4,6 +4,16 @@ static Evas_Object *current_preview;
 static Eina_Bool current_preview_menu;
 static Eina_Bool _bar_icon_preview_show(void *data);
 
+static Eina_Bool
+_bar_check_modifiers(Evas_Modifier *modifiers)
+{
+   if ((evas_key_modifier_is_set(modifiers, "Alt")) ||
+   (evas_key_modifier_is_set(modifiers, "Control")) ||
+   (evas_key_modifier_is_set(modifiers, "Shift")))
+ return EINA_TRUE;
+   return EINA_FALSE;
+}
+
 static Evas_Object *
 _bar_gadget_configure(Evas_Object *g)
 {
@@ -228,12 +238,8 @@ _bar_icon_menu_action_clicked(void *data, Evas *e 
EINA_UNUSED, Evas_Object *obj,
 }
 
 static void
-_bar_icon_menu_icon_mouse_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_data)
+_bar_icon_menu_icon_mouse_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_data EINA_UNUSED)
 {
-   Evas_Event_Mouse_Out *ev = event_data;
-
-   if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
-
elm_layout_signal_emit(obj, "e,state,unfocused", "e");
 }
 
@@ -243,6 +249,7 @@ _bar_icon_menu_icon_mouse_in(void *data EINA_UNUSED, Evas 
*e EINA_UNUSED, Evas_O
Evas_Event_Mouse_In *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
elm_layout_signal_emit(obj, "e,state,focused", "e");
 }
@@ -339,6 +346,7 @@ _bar_icon_mouse_move(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUS
int dx, dy;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
if (!ic->drag.start) return;
 
@@ -400,6 +408,7 @@ _bar_icon_mouse_down(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUS
Evas_Event_Mouse_Up *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
if (ev->button == 1)
  {
@@ -499,6 +508,7 @@ _bar_icon_mouse_up(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED
Evas_Event_Mouse_Up *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
if (ev->button == 1)
  {
@@ -572,12 +582,8 @@ _bar_icon_preview_hide(void *data)
 }
 
 static void
-_bar_icon_preview_item_mouse_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_data)
+_bar_icon_preview_item_mouse_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_data EINA_UNUSED)
 {
-   Evas_Event_Mouse_Out *ev = event_data;
-
-   if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
-
elm_layout_signal_emit(obj, "e,state,unfocused", "e");
 }
 
@@ -587,18 +593,15 @@ _bar_icon_preview_item_mouse_in(void *data EINA_UNUSED, 
Evas *e EINA_UNUSED, Eva
Evas_Event_Mouse_In *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
elm_layout_signal_emit(obj, "e,state,focused", "e");
 }
 
 static void
-_bar_icon_preview_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_data)
+_bar_icon_preview_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_data EINA_UNUSED)
 {
Icon *ic = data;
-   Evas_Event_Mouse_Out *ev = event_data;
-
-   if (ev)
- if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
 
if (current_preview_menu)
  return;
@@ -614,6 +617,7 @@ _bar_icon_preview_mouse_in(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EIN
Evas_Event_Mouse_In *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
if (ic->mouse_out_timer)
  ecore_timer_del(ic->mouse_out_timer);
@@ -644,6 +648,7 @@ _bar_icon_preview_mouse_up(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EIN
Icon *ic = evas_object_data_get(current_preview, "icon");
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
if (ev->button == 3)
  {
@@ -812,6 +817,7 @@ _bar_icon_mouse_in(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *even
Evas_Event_Mouse_In *ev = event_data;
 
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
+   if (_bar_check_modifiers(ev->modifiers)) return;
 
elm_object_

[EGIT] [core/enlightenment] master 01/01: do not apply efx anchoring to move effects if a resize effect is not active

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit cea551578c487c4182e2f5e06f9238ce851b64f1
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 11:01:43 2016 -0400

do not apply efx anchoring to move effects if a resize effect is not active

this is useless without an animator

fix T4810
---
 src/bin/efx/efx_resize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/efx/efx_resize.c b/src/bin/efx/efx_resize.c
index ee07505..33a1a0d 100644
--- a/src/bin/efx/efx_resize.c
+++ b/src/bin/efx/efx_resize.c
@@ -124,7 +124,7 @@ _e_efx_resize_adjust(E_EFX *e, int *ax, int *ay)
E_Efx_Resize_Data *erd = e->resize_data;
int x, y, w, h;
 
-   if (!erd) return;
+   if ((!erd) || (!erd->anim)) return;
if (e->move_data)
  x = e->x, y = e->y;
else

-- 




[EGIT] [core/enlightenment] master 01/03: use only aspect sizing in luncher

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 814ee0dc846c50367342e5ecc8225168f826b7fe
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 12:56:51 2016 -0400

use only aspect sizing in luncher

using min size hints will break gadget scaling

fix T4809
---
 src/modules/luncher/bar.c | 17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 414ebd6..da38529 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -900,7 +900,9 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, 
E_Client *non_desktop_cli
ic->o_layout = elm_layout_add(inst->o_icon_con);
e_theme_edje_object_set(ic->o_layout, "e/gadget/luncher/icon",
"e/gadget/luncher/icon");
-   evas_object_size_hint_min_set(ic->o_layout, inst->size, inst->size);
+   //evas_object_size_hint_min_set(ic->o_layout, inst->size, inst->size);
+   E_EXPAND(ic->o_layout);
+   E_FILL(ic->o_layout);
elm_box_pack_end(inst->o_icon_con, ic->o_layout);
evas_object_show(ic->o_layout);
 
@@ -1376,6 +1378,14 @@ _bar_fill(Instance *inst)
  inst->icons = eina_list_append(inst->icons, ic);
   }
  }
+   switch (e_gadget_site_orient_get(e_gadget_site_get(inst->o_main)))
+ {
+  case E_GADGET_SITE_ORIENT_VERTICAL:
+evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, 1, eina_list_count(inst->icons));
+break;
+  default:
+evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, eina_list_count(inst->icons), 1);
+ }
 }
 
 static void
@@ -1389,6 +1399,7 @@ _bar_resize_job(void *data)
 
if (inst)
  {
+elm_layout_sizing_eval(inst->o_main);
 evas_object_geometry_get(inst->o_main, &x, &y, &w, &h);
 switch (orient)
   {
@@ -1404,7 +1415,7 @@ _bar_resize_job(void *data)
 inst->size = size;
 EINA_LIST_FOREACH(inst->icons, l, ic)
   {
-const char *path = NULL, *key = NULL;
+   const char *path = NULL, *key = NULL;
  int len = 0;
 
  if (ic->desktop)
@@ -1476,7 +1487,7 @@ _bar_resize_job(void *data)
   elm_image_file_set(ic->o_overlay, 
e_theme_edje_file_get("base/theme/icons", "e/icons/unknown"),
"e/icons/unknown");
}
- evas_object_size_hint_min_set(ic->o_layout, inst->size, 
inst->size);
+ //evas_object_size_hint_min_set(ic->o_layout, inst->size, 
inst->size);
   }
 inst->resize_job = NULL;
  }

-- 




[EGIT] [core/enlightenment] master 02/03: update luncher aspect hints whenever icon list is modified

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit ffef2d0770a0aed2e259370b5b2d4b07dd0051c1
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 13:01:33 2016 -0400

update luncher aspect hints whenever icon list is modified
---
 src/modules/luncher/bar.c | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index da38529..2488031 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -4,6 +4,19 @@ static Evas_Object *current_preview;
 static Eina_Bool current_preview_menu;
 static Eina_Bool _bar_icon_preview_show(void *data);
 
+static void
+_bar_aspect(Instance *inst)
+{
+   switch (e_gadget_site_orient_get(e_gadget_site_get(inst->o_main)))
+ {
+  case E_GADGET_SITE_ORIENT_VERTICAL:
+evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, 1, eina_list_count(inst->icons));
+break;
+  default:
+evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, eina_list_count(inst->icons), 1);
+ }
+}
+
 static Eina_Bool
 _bar_check_modifiers(Evas_Modifier *modifiers)
 {
@@ -171,6 +184,7 @@ static void
 _bar_icon_del(Instance *inst, Icon *ic)
 {
inst->icons = eina_list_remove(inst->icons, ic);
+   _bar_aspect(inst);
evas_object_del(ic->o_layout);
evas_object_del(ic->o_icon);
eina_hash_del_by_data(inst->icons_desktop_hash, ic);
@@ -1201,6 +1215,7 @@ _bar_cb_exec_client_prop(void *data EINA_UNUSED, int type 
EINA_UNUSED, E_Event_C
   elm_layout_signal_emit(ic->o_layout, buf, "e");
   ic->in_order = EINA_FALSE;
   inst->icons = eina_list_append(inst->icons, ic);
+  _bar_aspect(inst);
}
   }
 else
@@ -1287,6 +1302,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, 
E_Exec_Instance *ex)
  elm_layout_signal_emit(ic->o_layout, buf, "e");
  ic->in_order = EINA_FALSE;
  inst->icons = eina_list_append(inst->icons, ic);
+ _bar_aspect(inst);
   }
  }
return ECORE_CALLBACK_RENEW;
@@ -1378,14 +1394,7 @@ _bar_fill(Instance *inst)
  inst->icons = eina_list_append(inst->icons, ic);
   }
  }
-   switch (e_gadget_site_orient_get(e_gadget_site_get(inst->o_main)))
- {
-  case E_GADGET_SITE_ORIENT_VERTICAL:
-evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, 1, eina_list_count(inst->icons));
-break;
-  default:
-evas_object_size_hint_aspect_set(inst->o_main, 
EVAS_ASPECT_CONTROL_BOTH, eina_list_count(inst->icons), 1);
- }
+   _bar_aspect(inst);
 }
 
 static void

-- 




[EGIT] [core/enlightenment] master 03/03: do not create new luncher cfg id for demo gadgets

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit debd88b91cc94d41e2d9e53f1c121c2b8adada3f
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 13:01:51 2016 -0400

do not create new luncher cfg id for demo gadgets

-1 indicates a temporary gadget which should not be saved
---
 src/modules/luncher/bar.c | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 2488031..2964282 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1772,8 +1772,11 @@ _conf_item_get(int *id)
  }
 
ci = E_NEW(Config_Item, 1);
-   
-   ci->id = eina_list_count(luncher_config->items)+1;
+
+   if (*id != -1)
+ ci->id = eina_list_count(luncher_config->items)+1;
+   else
+ ci->id = -1;
ci->dir = eina_stringshare_add("default");
luncher_config->items = eina_list_append(luncher_config->items, ci);
 

-- 




[EGIT] [core/enlightenment] master 02/02: do not return early from _bryce_position()

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 4d86c98ce76e07c220bf68ab3ecefe53b0b7d335
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 13:56:08 2016 -0400

do not return early from _bryce_position()

this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
---
 src/bin/e_bryce.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 7b74ad0..d224435 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -174,7 +174,6 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
   }
 else
   e_efx_move(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), 
0.5, _bryce_autohide_end, b);
-return;
  }
else if (b->hidden)
  _bryce_autohide_coords(b, &x, &y);

-- 




[EGIT] [core/enlightenment] master 01/02: add smart callback for when gadgets get reparented

2016-11-01 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 6e39997ad123ac00756285f5c62dd3fc13726fde
Author: Mike Blumenkrantz 
Date:   Tue Nov 1 13:29:45 2016 -0400

add smart callback for when gadgets get reparented

this can be useful for gadgets which (inexplicably) need to set min size 
hints
---
 src/bin/e_bryce.c  | 1 +
 src/bin/e_gadget.h | 7 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 6137277..7b74ad0 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -352,6 +352,7 @@ _bryce_style(Evas_Object *site, Eina_Stringshare *name, 
Evas_Object *g)
e_theme_edje_object_set(ly, NULL, buf);
prev = e_gadget_util_layout_style_init(g, ly);
elm_object_part_content_set(ly, "e.swallow.content", g);
+   evas_object_smart_callback_call(g, "gadget_reparent", ly);
evas_object_del(prev);
 }
 
diff --git a/src/bin/e_gadget.h b/src/bin/e_gadget.h
index 29be553..94ff5ee 100644
--- a/src/bin/e_gadget.h
+++ b/src/bin/e_gadget.h
@@ -70,7 +70,12 @@
  - called on a gadget object when the "gadget_menu" action has been 
triggered
  - event_info is an E_Menu object
  - if a configure callback has been passed with 
e_gadget_configure_cb_set(),
- a "Settings" item will be automatically added with this callback
+   a "Settings" item will be automatically added with this callback
+   "gadget_reparent"
+ - called on a gadget object when the gadget has been reparented
+ - parent object is event_info
+ - indicates that the gadget should watch this new object for 
EVAS_CALLBACK_RESIZE
+ - event_info will be NULL in the case that the reparenting removes the 
parent
  ---
  ---
  * called externally by gadget on gadget object:

-- 




[EGIT] [core/efl] master 06/08: ecore_wl2: associate evas devices to input ecore events

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 8bf74da7bcd6a52857380e35449609b712d78f03
Author: Bruno Dilly 
Date:   Thu Oct 6 17:43:12 2016 -0300

ecore_wl2: associate evas devices to input ecore events

So users would be able to differentiate between source
seats.
---
 src/lib/ecore_wl2/Ecore_Wl2.h  |  18 +++
 src/lib/ecore_wl2/ecore_wl2.c  |   6 +
 src/lib/ecore_wl2/ecore_wl2_input.c| 176 +
 src/lib/ecore_wl2/ecore_wl2_private.h  |   5 +
 src/lib/ecore_wl2/ecore_wl2_window.c   |  13 +-
 .../engines/wayland/ecore_evas_wayland_common.c|  55 +++
 6 files changed, 261 insertions(+), 12 deletions(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index be9f68f..402206c 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -155,6 +155,22 @@ typedef struct _Ecore_Wl2_Event_Seat_Capabilities
 
 typedef enum
 {
+   ECORE_WL2_DEVICE_TYPE_SEAT,
+   ECORE_WL2_DEVICE_TYPE_POINTER,
+   ECORE_WL2_DEVICE_TYPE_KEYBOARD,
+   ECORE_WL2_DEVICE_TYPE_TOUCH
+} Ecore_Wl2_Device_Type;
+
+typedef struct _Ecore_Wl2_Event_Device
+{
+   Eo *dev;
+   int window_id;
+   unsigned int seat_id;
+   Ecore_Wl2_Device_Type type;
+} Ecore_Wl2_Event_Device;
+
+typedef enum
+{
ECORE_WL2_SELECTION_CNP,
ECORE_WL2_SELECTION_DND
 } Ecore_Wl2_Selection_Type;
@@ -219,6 +235,8 @@ EAPI extern int ECORE_WL2_EVENT_SYNC_DONE; /** @since 1.17 
*/
 EAPI extern int ECORE_WL2_EVENT_OFFER_DATA_READY; /** @since 1.19 */
 EAPI extern int ECORE_WL2_EVENT_SEAT_NAME_CHANGED; /** @since 1.19 */
 EAPI extern int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED; /** @since 1.19 */
+EAPI extern int ECORE_WL2_EVENT_DEVICE_ADDED; /** @since 1.19 */
+EAPI extern int ECORE_WL2_EVENT_DEVICE_REMOVED; /** @since 1.19 */
 /**
  * @file
  * @brief Ecore functions for dealing with the Wayland display protocol
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 1855a96..bbae13f 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -33,6 +33,8 @@ EAPI int ECORE_WL2_EVENT_SYNC_DONE = 0;
 EAPI int ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
 EAPI int ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
 EAPI int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
+EAPI int ECORE_WL2_EVENT_DEVICE_ADDED = 0;
+EAPI int ECORE_WL2_EVENT_DEVICE_REMOVED = 0;
 
 EAPI int _ecore_wl2_event_window_www = -1;
 EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -93,6 +95,8 @@ ecore_wl2_init(void)
 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new();
 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new();
 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new();
+ECORE_WL2_EVENT_DEVICE_ADDED = ecore_event_type_new();
+ECORE_WL2_EVENT_DEVICE_REMOVED = ecore_event_type_new();
 _ecore_wl2_event_window_www = ecore_event_type_new();
 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
  }
@@ -146,6 +150,8 @@ ecore_wl2_shutdown(void)
ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
+   ECORE_WL2_EVENT_DEVICE_ADDED = 0;
+   ECORE_WL2_EVENT_DEVICE_REMOVED = 0;
 
/* shutdown Ecore_Event */
ecore_event_shutdown();
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c 
b/src/lib/ecore_wl2/ecore_wl2_input.c
index 3ce69e4..830c6ad 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -18,6 +18,14 @@
 #include 
 #include "ecore_wl2_private.h"
 
+typedef struct _Ecore_Wl2_Input_Devices
+{
+   Eo *pointer_dev;
+   Eo *keyboard_dev;
+   Eo *touch_dev;
+   int window_id;
+} Ecore_Wl2_Input_Devices;
+
 typedef struct _Ecore_Wl2_Mouse_Down_Info
 {
EINA_INLIST;
@@ -57,6 +65,33 @@ _ecore_wl2_input_mouse_down_info_get(int device)
return info;
 }
 
+static Ecore_Wl2_Input_Devices *
+_ecore_wl2_devices_get(Ecore_Wl2_Input *input, int window_id)
+{
+   Ecore_Wl2_Input_Devices *devices;
+   Eina_List *l;
+
+   EINA_LIST_FOREACH(input->devices_list, l, devices)
+ {
+if (devices->window_id == window_id)
+  return devices;
+ }
+
+   return NULL;
+}
+
+static Eo *
+_ecore_wl2_mouse_dev_get(Ecore_Wl2_Input *input, int window_id)
+{
+   Ecore_Wl2_Input_Devices *devices;
+
+   devices = _ecore_wl2_devices_get(input, window_id);
+   if (devices)
+ return devices->pointer_dev;
+
+   return NULL;
+}
+
 static void
 _ecore_wl2_input_mouse_in_send(Ecore_Wl2_Input *input, Ecore_Wl2_Window 
*window)
 {
@@ -71,6 +106,7 @@ _ecore_wl2_input_mouse_in_send(Ecore_Wl2_Input *input, 
Ecore_Wl2_Window *window)
ev->event_window = window->id;
ev->timestamp = input->timestamp;
ev->modifiers = input->keyboard.modifiers;
+   ev->dev = _ecore_wl2_mouse_dev_get(input, window->id);
 
  

[EGIT] [core/efl] master 08/08: Merge branch 'devs/bdilly/ecore_evas_wayland'

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 3ac1812a1f9915f4a8545e5db529bb8003ffdeaa
Merge: 402abca 3bc2793
Author: Bruno Dilly 
Date:   Tue Nov 1 16:07:05 2016 -0200

Merge branch 'devs/bdilly/ecore_evas_wayland'

This series adds multiseat support to wayland engine.

Evas devices are created for seats (parent), keyboard, mouses and
touch input devices.

This way an application would be able to differentiate between
source seat of input events.

Reviewed By: devilhorns, ManMower, iscaro

Differential Revision: https://phab.enlightenment.org/D4370

@feature

 src/examples/ecore/.gitignore  |   1 +
 src/examples/ecore/Makefile.am |   6 +
 .../ecore/ecore_evas_wayland_multiseat_example.c   | 242 +
 src/lib/ecore_wl2/Ecore_Wl2.h  |  34 +++
 src/lib/ecore_wl2/ecore_wl2.c  |  12 +
 src/lib/ecore_wl2/ecore_wl2_input.c| 216 +++-
 src/lib/ecore_wl2/ecore_wl2_private.h  |   6 +
 src/lib/ecore_wl2/ecore_wl2_window.c   |  13 +-
 src/lib/evas/Evas_Common.h |   2 +-
 .../engines/wayland/ecore_evas_wayland_common.c| 286 -
 .../engines/wayland/ecore_evas_wayland_private.h   |   2 +-
 11 files changed, 795 insertions(+), 25 deletions(-)

-- 




[EGIT] [core/efl] master 05/08: ecore_wl2: add ecore event for seat capabilities change

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 7aab35961fcd4a8cb93126ec38bf7690b2c5c7d8
Author: Bruno Dilly 
Date:   Wed Oct 5 10:36:19 2016 -0300

ecore_wl2: add ecore event for seat capabilities change

So when mouse / keyboard are present or not it will
generate events.

ecore_evas/wayland will handle that creating or
deleting evas devices for each one (seat device
will be used as parent).
---
 src/lib/ecore_wl2/Ecore_Wl2.h  |  9 +++
 src/lib/ecore_wl2/ecore_wl2.c  |  3 +
 src/lib/ecore_wl2/ecore_wl2_input.c| 11 +++
 .../engines/wayland/ecore_evas_wayland_common.c| 86 +-
 4 files changed, 108 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 19c9965..be9f68f 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -145,6 +145,14 @@ typedef struct _Ecore_Wl2_Event_Seat_Name
unsigned int id;
 } Ecore_Wl2_Event_Seat_Name;
 
+typedef struct _Ecore_Wl2_Event_Seat_Capabilities
+{
+   unsigned int id;
+   Eina_Bool pointer_enabled : 1;
+   Eina_Bool keyboard_enabled : 1;
+   Eina_Bool touch_enabled : 1;
+} Ecore_Wl2_Event_Seat_Capabilities;
+
 typedef enum
 {
ECORE_WL2_SELECTION_CNP,
@@ -210,6 +218,7 @@ EAPI extern int ECORE_WL2_EVENT_WINDOW_CONFIGURE; /** 
@since 1.17 */
 EAPI extern int ECORE_WL2_EVENT_SYNC_DONE; /** @since 1.17 */
 EAPI extern int ECORE_WL2_EVENT_OFFER_DATA_READY; /** @since 1.19 */
 EAPI extern int ECORE_WL2_EVENT_SEAT_NAME_CHANGED; /** @since 1.19 */
+EAPI extern int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED; /** @since 1.19 */
 /**
  * @file
  * @brief Ecore functions for dealing with the Wayland display protocol
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index ceb6dce..1855a96 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -32,6 +32,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_CONFIGURE = 0;
 EAPI int ECORE_WL2_EVENT_SYNC_DONE = 0;
 EAPI int ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
 EAPI int ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
+EAPI int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
 
 EAPI int _ecore_wl2_event_window_www = -1;
 EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -91,6 +92,7 @@ ecore_wl2_init(void)
 ECORE_WL2_EVENT_SYNC_DONE = ecore_event_type_new();
 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new();
 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new();
+ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new();
 _ecore_wl2_event_window_www = ecore_event_type_new();
 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
  }
@@ -143,6 +145,7 @@ ecore_wl2_shutdown(void)
ECORE_WL2_EVENT_SYNC_DONE = 0;
ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
+   ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
 
/* shutdown Ecore_Event */
ecore_event_shutdown();
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c 
b/src/lib/ecore_wl2/ecore_wl2_input.c
index 36013fb..3ce69e4 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1130,6 +1130,7 @@ static const struct wl_data_device_listener 
_data_listener =
 static void
 _seat_cb_capabilities(void *data, struct wl_seat *seat, enum 
wl_seat_capability caps)
 {
+   Ecore_Wl2_Event_Seat_Capabilities *ev;
Ecore_Wl2_Input *input;
 
input = data;
@@ -1185,6 +1186,16 @@ _seat_cb_capabilities(void *data, struct wl_seat *seat, 
enum wl_seat_capability
   wl_touch_destroy(input->wl.touch);
 input->wl.touch = NULL;
  }
+
+   ev = calloc(1, sizeof(Ecore_Wl2_Event_Seat_Capabilities));
+   EINA_SAFETY_ON_NULL_RETURN(ev);
+
+   ev->id = input->id;
+   ev->pointer_enabled = !!(caps & WL_SEAT_CAPABILITY_POINTER);
+   ev->keyboard_enabled = !!(caps & WL_SEAT_CAPABILITY_KEYBOARD);
+   ev->touch_enabled = !!(caps & WL_SEAT_CAPABILITY_TOUCH);
+
+   ecore_event_add(ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED, ev, NULL, NULL);
 }
 
 static void
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 980531c..697909c 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -30,6 +30,9 @@ typedef struct _EE_Wl_Device EE_Wl_Device;
 struct _EE_Wl_Device
 {
Evas_Device *seat;
+   Evas_Device *pointer;
+   Evas_Device *keyboard;
+   Evas_Device *touch;
unsigned int id;
 };
 
@@ -44,7 +47,7 @@ EVAS_SMART_SUBCLASS_NEW(_smart_frame_type, 
_ecore_evas_wl_frame,
 
 /* local variables */
 static int _ecore_evas_wl_init_count = 0;
-static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[11];
+static Ecore_Event_Handler *_eco

[EGIT] [core/efl] master 04/08: ecore_wl2: add ecore event for seat name change

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit d7b1a5dfebfee95e77c4c4f2037755b75b7be908
Author: Bruno Dilly 
Date:   Tue Oct 4 15:19:51 2016 -0300

ecore_wl2: add ecore event for seat name change

And handle it on ecore_evas/wayland, properly
setting the evas device names.
---
 src/lib/ecore_wl2/Ecore_Wl2.h  |  7 +
 src/lib/ecore_wl2/ecore_wl2.c  |  3 ++
 src/lib/ecore_wl2/ecore_wl2_input.c| 29 +---
 src/lib/ecore_wl2/ecore_wl2_private.h  |  1 +
 .../engines/wayland/ecore_evas_wayland_common.c| 32 +-
 5 files changed, 67 insertions(+), 5 deletions(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 30fb5d9..19c9965 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -139,6 +139,12 @@ typedef struct _Ecore_Wl2_Event_Data_Source_Send
int fd;
 } Ecore_Wl2_Event_Data_Source_Send;
 
+typedef struct _Ecore_Wl2_Event_Seat_Name
+{
+   Eina_Stringshare *name;
+   unsigned int id;
+} Ecore_Wl2_Event_Seat_Name;
+
 typedef enum
 {
ECORE_WL2_SELECTION_CNP,
@@ -203,6 +209,7 @@ EAPI extern int ECORE_WL2_EVENT_DATA_SOURCE_SEND; /** 
@since 1.17 */
 EAPI extern int ECORE_WL2_EVENT_WINDOW_CONFIGURE; /** @since 1.17 */
 EAPI extern int ECORE_WL2_EVENT_SYNC_DONE; /** @since 1.17 */
 EAPI extern int ECORE_WL2_EVENT_OFFER_DATA_READY; /** @since 1.19 */
+EAPI extern int ECORE_WL2_EVENT_SEAT_NAME_CHANGED; /** @since 1.19 */
 /**
  * @file
  * @brief Ecore functions for dealing with the Wayland display protocol
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 397f8e3..ceb6dce 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -31,6 +31,7 @@ EAPI int ECORE_WL2_EVENT_DATA_SOURCE_SEND = 0;
 EAPI int ECORE_WL2_EVENT_WINDOW_CONFIGURE = 0;
 EAPI int ECORE_WL2_EVENT_SYNC_DONE = 0;
 EAPI int ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
+EAPI int ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
 
 EAPI int _ecore_wl2_event_window_www = -1;
 EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -89,6 +90,7 @@ ecore_wl2_init(void)
 ECORE_WL2_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
 ECORE_WL2_EVENT_SYNC_DONE = ecore_event_type_new();
 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new();
+ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new();
 _ecore_wl2_event_window_www = ecore_event_type_new();
 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
  }
@@ -140,6 +142,7 @@ ecore_wl2_shutdown(void)
ECORE_WL2_EVENT_WINDOW_CONFIGURE = 0;
ECORE_WL2_EVENT_SYNC_DONE = 0;
ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
+   ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
 
/* shutdown Ecore_Event */
ecore_event_shutdown();
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c 
b/src/lib/ecore_wl2/ecore_wl2_input.c
index b89e3e1..36013fb 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1188,11 +1188,31 @@ _seat_cb_capabilities(void *data, struct wl_seat *seat, 
enum wl_seat_capability
 }
 
 static void
-_seat_cb_name(void *data EINA_UNUSED, struct wl_seat *seat EINA_UNUSED, const 
char *name EINA_UNUSED)
+_cb_seat_event_free(void *data EINA_UNUSED, void *event)
 {
-   /* NB: No-Op as we don't care about seat name right now.
-*
-* This will likely change as we hash out remaining multi-seat issues */
+   Ecore_Wl2_Event_Seat_Name *ev;
+
+   ev = event;
+   eina_stringshare_del(ev->name);
+   free(ev);
+}
+
+static void
+_seat_cb_name(void *data, struct wl_seat *seat EINA_UNUSED, const char *name)
+{
+   Ecore_Wl2_Event_Seat_Name *ev;
+   Ecore_Wl2_Input *input;
+
+   input = data;
+
+   ev = calloc(1, sizeof(Ecore_Wl2_Event_Seat_Name));
+   EINA_SAFETY_ON_NULL_RETURN(ev);
+
+   ev->id = input->id;
+   ev->name = eina_stringshare_add(name);
+
+   ecore_event_add(ECORE_WL2_EVENT_SEAT_NAME_CHANGED, ev,
+   _cb_seat_event_free, NULL);
 }
 
 static const struct wl_seat_listener _seat_listener =
@@ -1241,6 +1261,7 @@ _ecore_wl2_input_add(Ecore_Wl2_Display *display, unsigned 
int id, unsigned int v
input = calloc(1, sizeof(Ecore_Wl2_Input));
if (!input) return;
 
+   input->id = id;
input->display = display;
input->seat_version = version;
input->repeat.rate = 0.025;
diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h 
b/src/lib/ecore_wl2/ecore_wl2_private.h
index ab619aa..30f9d88 100644
--- a/src/lib/ecore_wl2/ecore_wl2_private.h
+++ b/src/lib/ecore_wl2/ecore_wl2_private.h
@@ -405,6 +405,7 @@ struct _Ecore_Wl2_Input
Ecore_Wl2_Offer *drag, *selection;
 
unsigned int seat_version;
+   unsigned int id;
 };
 
 typedef struct Ecore_Wl2_Event_Window_WWW
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/w

[EGIT] [core/efl] master 03/08: ecore_evas/wayland: handle added / removed seats

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 44fc1c6eccd98fa0b7353a89863da4c0f3973818
Author: Bruno Dilly 
Date:   Mon Oct 3 12:34:10 2016 -0300

ecore_evas/wayland: handle added / removed seats

Create or delete evas_devices with class EVAS_DEVICE_CLASS_SEAT
for seats on each ecore_evas created so far.

Initially it's named considering its Wayland id.
---
 .../engines/wayland/ecore_evas_wayland_common.c| 110 -
 .../engines/wayland/ecore_evas_wayland_private.h   |   2 +-
 2 files changed, 110 insertions(+), 2 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 0ec70bf..d420fb4 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -25,6 +25,14 @@ struct _EE_Wl_Smart_Data
Evas_Coord border_size[4]; // same as border
 };
 
+/* local structure for evas devices with IDs */
+typedef struct _EE_Wl_Device EE_Wl_Device;
+struct _EE_Wl_Device
+{
+   Evas_Device *seat;
+   unsigned int id;
+};
+
 static const Evas_Smart_Cb_Description _smart_callbacks[] =
 {
  {NULL, NULL}
@@ -36,7 +44,7 @@ EVAS_SMART_SUBCLASS_NEW(_smart_frame_type, 
_ecore_evas_wl_frame,
 
 /* local variables */
 static int _ecore_evas_wl_init_count = 0;
-static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[8];
+static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[10];
 
 static void _ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
 
@@ -438,6 +446,95 @@ _ecore_evas_wl_common_cb_www(void *d EINA_UNUSED, int t 
EINA_UNUSED, void *event
return ECORE_CALLBACK_RENEW;
 }
 
+static Eina_Bool
+_ecore_evas_wl_common_cb_global_added(void *d EINA_UNUSED, int t EINA_UNUSED, 
void *event)
+{
+   Ecore_Wl2_Event_Global *ev = event;
+   EE_Wl_Device *device;
+   Ecore_Evas *ee;
+   Eina_List *l;
+   char buf[32];
+
+   if ((!ev->interface) || (strcmp(ev->interface, "wl_seat")))
+   return ECORE_CALLBACK_PASS_ON;
+
+   snprintf(buf, sizeof(buf), "seat-%u", ev->id);
+
+   EINA_LIST_FOREACH(ee_list, l, ee)
+ {
+Ecore_Evas_Engine_Wl_Data *wdata;
+Evas_Device *dev;
+
+device = calloc(1, sizeof(EE_Wl_Device));
+EINA_SAFETY_ON_NULL_GOTO(device, err_device);
+
+dev = evas_device_add_full(ee->evas, buf, "Wayland seat",
+   NULL, NULL,
+   EVAS_DEVICE_CLASS_SEAT,
+   EVAS_DEVICE_SUBCLASS_NONE);
+EINA_SAFETY_ON_NULL_GOTO(dev, err_dev);
+
+device->seat = dev;
+device->id = ev->id;
+
+wdata = ee->engine.data;
+wdata->devices_list = eina_list_append(wdata->devices_list, device);
+ }
+
+   return ECORE_CALLBACK_PASS_ON;
+
+err_dev:
+   free(device);
+err_device:
+   return ECORE_CALLBACK_PASS_ON;
+}
+
+static void
+_ecore_evas_wl_common_device_free(EE_Wl_Device *device)
+{
+   if (device->seat)
+ evas_device_del(device->seat);
+   free(device);
+}
+
+static Eina_Bool
+_ecore_evas_wl_common_cb_global_removed(void *d EINA_UNUSED, int t 
EINA_UNUSED, void *event)
+{
+   Ecore_Wl2_Event_Global *ev = event;
+   Ecore_Evas *ee;
+   Eina_List *l, *ll;
+
+   if ((!ev->interface) || (strcmp(ev->interface, "wl_seat")))
+   return ECORE_CALLBACK_PASS_ON;
+
+   EINA_LIST_FOREACH(ee_list, l, ee)
+ {
+Ecore_Evas_Engine_Wl_Data *wdata;
+EE_Wl_Device *device;
+Eina_Bool found = EINA_FALSE;
+
+wdata = ee->engine.data;
+
+EINA_LIST_FOREACH(wdata->devices_list, ll, device)
+  {
+ if (device->id == ev->id)
+   {
+  found = EINA_TRUE;
+  break;
+   }
+  }
+
+if (found)
+  {
+ wdata->devices_list = eina_list_remove(wdata->devices_list,
+device);
+ _ecore_evas_wl_common_device_free(device);
+  }
+ }
+
+   return ECORE_CALLBACK_PASS_ON;
+}
+
 int
 _ecore_evas_wl_common_init(void)
 {
@@ -470,6 +567,13 @@ _ecore_evas_wl_common_init(void)
_ecore_evas_wl_event_hdls[7] =
  ecore_event_handler_add(ECORE_WL2_EVENT_DISCONNECT,
  _ecore_evas_wl_common_cb_disconnect, NULL);
+   _ecore_evas_wl_event_hdls[8] =
+ ecore_event_handler_add(ECORE_WL2_EVENT_GLOBAL_ADDED,
+ _ecore_evas_wl_common_cb_global_added, NULL);
+   _ecore_evas_wl_event_hdls[9] =
+ ecore_event_handler_add(ECORE_WL2_EVENT_GLOBAL_REMOVED,
+ _ecore_evas_wl_common_cb_global_removed, NULL);
+
ecore_event_evas_init();
 
return _ecore_evas_wl_init_count;
@@ -512,6 +616,7 @@ void
 _ecore_evas_wl_common_free(Ecore_Evas *ee)
 {
Ecore_Evas_Engin

[EGIT] [core/efl] master 01/08: evas: Fix doxygen and normalize function signature

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit f395fbd9609eaa1bbcb51be68f42b16d7c70e976
Author: Bruno Dilly 
Date:   Mon Oct 3 10:21:47 2016 -0300

evas: Fix doxygen and normalize function signature

On recently added function evas_device_add_full()
---
 src/lib/evas/Evas_Common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index 6025c5c..5ae1626 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -1151,7 +1151,7 @@ EAPI Evas_Device *evas_device_add(Evas *e);
  * @see evas_device_del
  * @since 1.19
  */
-EAPI Evas_Device *evas_device_add_full(Evas *eo_e, const char *name,
+EAPI Evas_Device *evas_device_add_full(Evas *e, const char *name,
const char *desc,
Evas_Device *parent_dev,
Evas_Device *emulation_dev,

-- 




[EGIT] [core/efl] master 01/01: Evas Device: Avoid invalid ptr indirection.

2016-11-01 Thread Guilherme Iscaro
bdilly pushed a commit to branch master.

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

commit 402abcaefca02973c384d7c37fe543837d566443
Author: Guilherme Iscaro 
Date:   Tue Nov 1 16:03:52 2016 -0200

Evas Device: Avoid invalid ptr indirection.

Summary:
When Evas is deleted the function _evas_device_cleanup() goes thru all
devices and unref them. Since Evas_Devices are Efl_Input_Device, the user
may still hold a reference to the device (efl_ref()),
thus causing the device to do not be deleted *yet*.
This causes a problem, because when the user calls efl_unref()
and the device itself is deleted the Evas _del_cb
callback will be called and will try to access the Evas_Public_Data from
a deleted object.
In order to avoid this problem all devices will be kept in the devices
list and Evas will unregister the EFL_EVENT_DEL from those devices that
were not deleted.

Reviewers: jpeg, bdilly, barbieri, cedric

Reviewed By: bdilly, cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4369
---
 src/lib/evas/canvas/evas_device.c | 27 ++-
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/src/lib/evas/canvas/evas_device.c 
b/src/lib/evas/canvas/evas_device.c
index bea2ad7..f243b89 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -66,8 +66,7 @@ evas_device_add_full(Evas *eo_e, const char *name, const char 
*desc,
d->evas = eo_e;
 
e = efl_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
-   if (!parent_dev)
- e->devices = eina_list_append(e->devices, dev);
+   e->devices = eina_list_append(e->devices, dev);
efl_event_callback_add(dev, EFL_EVENT_DEL, _del_cb, e);
 
efl_event_callback_call(eo_e, EFL_CANVAS_EVENT_DEVICE_ADDED, dev);
@@ -170,17 +169,12 @@ evas_device_parent_set(Evas_Device *dev, Evas_Device 
*parent)
SAFETY_CHECK(dev, EFL_INPUT_DEVICE_CLASS);
 
Efl_Input_Device_Data *d = efl_data_scope_get(dev, EFL_INPUT_DEVICE_CLASS);
-   Evas_Public_Data *e = efl_data_scope_get(d->evas, EVAS_CANVAS_CLASS);
if (parent)
  {
 SAFETY_CHECK(parent, EFL_INPUT_DEVICE_CLASS);
  }
 
efl_input_device_parent_set(dev, parent);
-   if (parent)
- e->devices = eina_list_remove(e->devices, dev);
-   else
- e->devices = eina_list_append(e->devices, dev);
evas_event_callback_call(d->evas, EVAS_CALLBACK_DEVICE_CHANGED, dev);
 }
 
@@ -242,9 +236,10 @@ evas_device_emulation_source_get(const Evas_Device *dev)
 void
 _evas_device_cleanup(Evas *eo_e)
 {
+   Eina_List *cpy;
Evas_Device *dev;
-   
Evas_Public_Data *e = efl_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
+
if (e->cur_device)
  {
 while ((dev = eina_array_pop(e->cur_device)))
@@ -252,9 +247,23 @@ _evas_device_cleanup(Evas *eo_e)
 eina_array_free(e->cur_device);
 e->cur_device = NULL;
  }
+
+   /* If the device is deleted, _del_cb will remove the device
+  from the devices list. */
+   cpy = eina_list_clone(e->devices);
+   EINA_LIST_FREE(cpy, dev)
+ evas_device_del(dev);
+
+   /* Not all devices were deleted. The user probably will unref them later.
+  Since Evas will be deleted, remove the del callback from them and
+  tell the user that the device was removed.
+   */
EINA_LIST_FREE(e->devices, dev)
  {
-evas_device_del(dev);
+efl_event_callback_call(e->evas,
+EFL_CANVAS_EVENT_DEVICE_REMOVED,
+dev);
+efl_event_callback_del(dev, EFL_EVENT_DEL, _del_cb, e);
  }
 }
 

-- 




[EGIT] [core/efl] master 02/08: ecore_evas/wayland: remove unnecessary NULL attributions

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 26c1a564d933052653c5918a8ca94b619a78b87c
Author: Bruno Dilly 
Date:   Mon Oct 3 11:19:22 2016 -0300

ecore_evas/wayland: remove unnecessary NULL attributions

When freeing wdata there is no reason to set each
freed field to NULL.
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index b41e907..0ec70bf 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -521,16 +521,11 @@ _ecore_evas_wl_common_free(Ecore_Evas *ee)
ee_list = eina_list_remove(ee_list, ee);
 
eina_list_free(wdata->regen_objs);
-
if (wdata->anim_callback) wl_callback_destroy(wdata->anim_callback);
-   wdata->anim_callback = NULL;
-
ecore_event_handler_del(wdata->sync_handler);
-
if (wdata->win) ecore_wl2_window_free(wdata->win);
-   wdata->win = NULL;
-
ecore_wl2_display_disconnect(wdata->display);
+
free(wdata);
 
ecore_event_window_unregister(ee->prop.window);

-- 




[EGIT] [core/efl] master 07/08: examples/ecore: add example / test for wayland multiseat

2016-11-01 Thread Bruno Dilly
bdilly pushed a commit to branch master.

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

commit 3bc27935887091b0c80c8c7935eee3b194b77c07
Author: Bruno Dilly 
Date:   Fri Oct 7 15:57:04 2016 -0300

examples/ecore: add example / test for wayland multiseat
---
 src/examples/ecore/.gitignore  |   1 +
 src/examples/ecore/Makefile.am |   6 +
 .../ecore/ecore_evas_wayland_multiseat_example.c   | 242 +
 3 files changed, 249 insertions(+)

diff --git a/src/examples/ecore/.gitignore b/src/examples/ecore/.gitignore
index 18a9ea8..cf090e1 100644
--- a/src/examples/ecore/.gitignore
+++ b/src/examples/ecore/.gitignore
@@ -24,6 +24,7 @@
 /ecore_evas_extn_plug_example
 /ecore_evas_extn_socket_example
 /ecore_evas_object_example
+/ecore_evas_wayland_multiseat_example
 /ecore_evas_window_sizes_example
 /ecore_evas_vnc_example
 /ecore_event_example_01
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index fe23058..dde9e48 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -59,6 +59,7 @@ ecore_evas_extn_plug_example \
 ecore_evas_callbacks \
 ecore_evas_ews_example \
 ecore_evas_object_example \
+ecore_evas_wayland_multiseat_example \
 ecore_evas_window_sizes_example \
 ecore_evas_vnc_example \
 ecore_event_example_01 \
@@ -205,6 +206,10 @@ ecore_evas_ews_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
 ecore_evas_object_example_SOURCES = ecore_evas_object_example.c
 ecore_evas_object_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
 
+ecore_evas_wayland_multiseat_example_SOURCES = 
ecore_evas_wayland_multiseat_example.c
+ecore_evas_wayland_multiseat_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
+$(top_builddir)/src/lib/ecore_input/libecore_input.la
+
 ecore_evas_window_sizes_example_SOURCES = ecore_evas_window_sizes_example.c
 ecore_evas_window_sizes_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
 
@@ -353,6 +358,7 @@ ecore_evas_extn_plug_example.c \
 ecore_evas_callbacks.c \
 ecore_evas_ews_example.c \
 ecore_evas_object_example.c \
+ecore_evas_wayland_multiseat_example.c \
 ecore_evas_window_sizes_example.c \
 ecore_evas_vnc_example.c \
 ecore_event_example_01.c \
diff --git a/src/examples/ecore/ecore_evas_wayland_multiseat_example.c 
b/src/examples/ecore/ecore_evas_wayland_multiseat_example.c
new file mode 100644
index 000..081a0fc
--- /dev/null
+++ b/src/examples/ecore/ecore_evas_wayland_multiseat_example.c
@@ -0,0 +1,242 @@
+#define EFL_EO_API_SUPPORT
+#define EFL_BETA_API_SUPPORT
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+static Efl_Input_Device *
+_get_seat(Efl_Input_Device *dev)
+{
+   if (!dev) return NULL;
+
+   while ((dev = efl_input_device_parent_get(dev)))
+ {
+if (efl_input_device_type_get(dev) == EFL_INPUT_DEVICE_CLASS_SEAT)
+  return dev;
+ }
+   return NULL;
+}
+
+static Eina_Bool
+_keyboard_event(void *data EINA_UNUSED, int type, void *event)
+{
+   Ecore_Event_Key *e = event;
+   Efl_Input_Device *seat = NULL;
+
+   if (e->dev)
+ seat = _get_seat(e->dev);
+
+   printf("The keyboard on seat '%s' %s the key '%s'\n", seat ?
+  efl_input_device_name_get(seat) : "unknown",
+  type == ECORE_EVENT_KEY_DOWN ? "pressed" : "released",
+  e->keyname);
+
+   return ECORE_CALLBACK_PASS_ON;
+}
+
+static Eina_Bool
+_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
+{
+   Ecore_Event_Mouse_Move *e = event;
+   Efl_Input_Device *seat = NULL;
+
+   if (e->dev)
+ seat = _get_seat(e->dev);
+
+   printf("The mouse on seat '%s' is at X: %d Y:%d\n",
+  seat ? efl_input_device_name_get(seat) : "unknown", e->x, e->y);
+   return ECORE_CALLBACK_PASS_ON;
+}
+
+static Eina_Bool
+_mouse_button(void *data EINA_UNUSED, int type, void *event)
+{
+   Ecore_Event_Mouse_Button *e = event;
+   Efl_Input_Device *seat = NULL;
+
+   if (e->dev)
+ seat = _get_seat(e->dev);
+
+   printf("The mouse on seat '%s' %s the following button '%d'\n",
+  seat ? efl_input_device_name_get(seat) : "unknown",
+  type == ECORE_EVENT_MOUSE_BUTTON_DOWN ? "pressed" : "released",
+  e->buttons);
+   return ECORE_CALLBACK_PASS_ON;
+}
+
+static Eina_Bool
+_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
+{
+   Ecore_Event_Mouse_Wheel *e = event;
+   Efl_Input_Device *seat = NULL;
+
+   if (e->dev)
+ seat = _get_seat(e->dev);
+
+   printf("The mouse on seat '%s' moved the wheel '%s'\n",
+  seat ? efl_input_device_name_get(seat) : "unknown",
+  e->z < 0 ? "up" : "down");
+   return ECORE_CALLBACK_PASS_ON;
+}
+
+static const char *
+_device_type_to_string(Efl_Input_Device_Class klass)
+{
+   switch (klass)
+ {
+  case EFL_INPUT_DEVICE_CLASS_NONE:
+ return "None";
+  case EFL_INPUT_DEVICE_CLASS_SEAT:
+ return "Seat";
+  case EFL_INPUT_DEVICE_CLASS_KEYBOARD:
+ return "Keyboard";
+ 

[EGIT] [core/efl] master 01/01: efl_net_server support systemd socket activation.

2016-11-01 Thread Gustavo Sverzut Barbieri
barbieri pushed a commit to branch master.

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

commit c2630c829f45df5973582a4259d2a0b127cc7cae
Author: Gustavo Sverzut Barbieri 
Date:   Tue Nov 1 16:01:57 2016 -0200

efl_net_server support systemd socket activation.

It includes extensive verifications to avoid mistakes and usage of
incorrect sockets.
---
 src/examples/ecore/efl_net_server_example.c |  25 +++-
 src/lib/ecore_con/ecore_con.c   | 214 
 src/lib/ecore_con/ecore_con_private.h   |  24 
 src/lib/ecore_con/efl_net_server_fd.c   |  56 
 src/lib/ecore_con/efl_net_server_fd.eo  |  47 ++
 src/lib/ecore_con/efl_net_server_ssl.c  |   8 ++
 src/lib/ecore_con/efl_net_server_ssl.eo |  45 +-
 src/lib/ecore_con/efl_net_server_tcp.c  |  58 
 src/lib/ecore_con/efl_net_server_tcp.eo |   1 +
 src/lib/ecore_con/efl_net_server_udp.c  |  47 ++
 src/lib/ecore_con/efl_net_server_udp.eo |   1 +
 src/lib/ecore_con/efl_net_server_unix.c |  58 
 src/lib/ecore_con/efl_net_server_unix.eo|   1 +
 13 files changed, 575 insertions(+), 10 deletions(-)

diff --git a/src/examples/ecore/efl_net_server_example.c 
b/src/examples/ecore/efl_net_server_example.c
index 6f760f0..c8fc088 100644
--- a/src/examples/ecore/efl_net_server_example.c
+++ b/src/examples/ecore/efl_net_server_example.c
@@ -504,6 +504,8 @@ static const Ecore_Getopt options = {
   {
 ECORE_GETOPT_STORE_TRUE('e', "echo",
 "Behave as 'echo' server, send back to client all 
the data receive"),
+ECORE_GETOPT_STORE_TRUE(0, "socket-activated",
+"Try to use $LISTEN_FDS from systemd, if not do a 
regular serve()"),
 ECORE_GETOPT_STORE_UINT('l', "clients-limit",
 "If set will limit number of clients to accept"),
 ECORE_GETOPT_STORE_TRUE('r', "clients-reject-excess",
@@ -564,9 +566,11 @@ main(int argc, char **argv)
Eina_List *crls = NULL;
Eina_List *cas = NULL;
char *cipher_choice = NULL;
+   Eina_Bool socket_activated = EINA_FALSE;
Eina_Bool quit_option = EINA_FALSE;
Ecore_Getopt_Value values[] = {
  ECORE_GETOPT_VALUE_BOOL(echo),
+ ECORE_GETOPT_VALUE_BOOL(socket_activated),
  ECORE_GETOPT_VALUE_UINT(clients_limit),
  ECORE_GETOPT_VALUE_BOOL(clients_reject_excess),
  ECORE_GETOPT_VALUE_BOOL(ipv6_only),
@@ -659,6 +663,8 @@ main(int argc, char **argv)
 efl_net_server_fd_close_on_exec_set(server, EINA_TRUE); /* recommended 
*/
 efl_net_server_fd_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
 efl_net_server_fd_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
+
+if (socket_activated) efl_net_server_fd_socket_activate(server, 
address);
  }
else if (cls == EFL_NET_SERVER_UDP_CLASS)
  {
@@ -677,6 +683,7 @@ main(int argc, char **argv)
 efl_net_server_fd_close_on_exec_set(server, EINA_TRUE); /* recommended 
*/
 efl_net_server_fd_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
 efl_net_server_fd_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
+if (socket_activated) efl_net_server_fd_socket_activate(server, 
address);
  }
else if (cls == EFL_NET_SERVER_SSL_CLASS)
  {
@@ -708,11 +715,13 @@ main(int argc, char **argv)
 efl_net_server_ssl_close_on_exec_set(server, EINA_TRUE); /* 
recommended */
 efl_net_server_ssl_reuse_address_set(server, EINA_TRUE); /* optional, 
but nice for testing */
 efl_net_server_ssl_reuse_port_set(server, EINA_TRUE); /* optional, but 
nice for testing... not secure unless you know what you're doing */
+if (socket_activated) efl_net_server_ssl_socket_activate(server, 
address);
  }
 #ifndef _WIN32
else if (cls == EFL_NET_SERVER_UNIX_CLASS)
  {
 efl_net_server_unix_unlink_before_bind_set(server, EINA_TRUE); /* 
makes testing easier */
+if (socket_activated) efl_net_server_fd_socket_activate(server, 
address);
  }
 #endif
 
@@ -721,12 +730,18 @@ main(int argc, char **argv)
 * with the object to add more properties that couldn't be done
 * during efl_add().
 */
-   err = efl_net_server_serve(server, address);
-   if (err)
+   if (!efl_net_server_serving_get(server))
  {
-fprintf(stderr, "ERROR: could not serve(%s): %s\n",
-address, eina_error_msg_get(err));
-goto end_server;
+if (socket_activated)
+  fprintf(stderr, "WARNING: --socket-activated, but not able to use 
$LISTEN_FDS descriptors. Try to start the server...\n");
+
+err = efl_net_server_serve(server, address);
+if (err)
+  {
+ fprintf(stderr, "E

[EGIT] [core/efl] master 01/04: elm_multibuttonentry: send "clicked" signal when item got hardware enter key.

2016-11-01 Thread Woochan Lee
cedric pushed a commit to branch master.

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

commit 19dcea07d1248762c1abe2f026f97f597e436530
Author: Woochan Lee 
Date:   Tue Nov 1 10:51:27 2016 -0700

elm_multibuttonentry: send "clicked" signal when item got hardware enter 
key.

Summary:
It was kind of bug state before.

There was no any action when the user gives a focus on an item. then press 
the enter key.
The item should be set as selected state after that should call clicked 
signal.

@fix

Test Plan: elementary test MBE sample.

Reviewers: woohyun, bu5hm4n, Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4368

Signed-off-by: Cedric BAIL 
---
 src/lib/elementary/elc_multibuttonentry.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/src/lib/elementary/elc_multibuttonentry.c 
b/src/lib/elementary/elc_multibuttonentry.c
index 45773ab..fb76690 100644
--- a/src/lib/elementary/elc_multibuttonentry.c
+++ b/src/lib/elementary/elc_multibuttonentry.c
@@ -1128,6 +1128,14 @@ _layout_key_down_cb(void *data,
   elm_object_focus_set(sd->entry, EINA_TRUE);
}
   }
+else if (sd->selected_it &&
+((!strcmp(ev->key, "KP_Enter")) ||
+ (!strcmp(ev->key, "Return"
+  {
+ Elm_Multibuttonentry_Item_Data *item = sd->selected_it;
+ if (item)
+   _on_item_clicked(EO_OBJ(item), NULL, NULL, NULL);
+  }
 else if (((!sd->selected_it && (sd->n_str == 0) &&
(!strcmp(ev->key, "BackSpace"))) ||
   (!strcmp(ev->key, "Delete"

-- 




[EGIT] [core/efl] master 02/04: elementary entry: keep style user when new theme is applied

2016-11-01 Thread Youngbok Shin
cedric pushed a commit to branch master.

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

commit ab9f0ae3ca3f97f550f33947da6e49ac256076ca
Author: Youngbok Shin 
Date:   Tue Nov 1 10:54:16 2016 -0700

elementary entry: keep style user when new theme is applied

Summary:
The style user should be kept when entry's mode is changed.
@fix

Test Plan:
1. Run "elementary_test -to "entry style user"
2. Click "Singleline Mode" toggle
3. See the result

Reviewers: raster, tasn, herdsman, cedric

Reviewed By: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4366

Signed-off-by: Cedric BAIL 
---
 src/bin/elementary/test_entry.c | 19 ++-
 src/lib/elementary/elm_entry.c  |  5 +
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/src/bin/elementary/test_entry.c b/src/bin/elementary/test_entry.c
index edcdd44..b8a7e62 100644
--- a/src/bin/elementary/test_entry.c
+++ b/src/bin/elementary/test_entry.c
@@ -1024,6 +1024,14 @@ static char *user_style =
"ul='+ underline=on underline_color=#AAA'";
 
 static void
+ent_tg_singleline_mode_state_changed_cb(void *data, Evas_Object *obj, void 
*event_info EINA_UNUSED)
+{
+   Evas_Object *en = data;
+
+   elm_entry_single_line_set(en, elm_check_state_get(obj));
+}
+
+static void
 ent_bt_style_user_peek(void *data, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNUSED)
 {
Evas_Object *en = data;
@@ -1053,7 +1061,7 @@ ent_bt_style_user_push(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_inf
 void
 test_entry_style_user(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, 
void *event_info EINA_UNUSED)
 {
-   Evas_Object *win, *bx, *hbx, *en, *bt, *bt2;
+   Evas_Object *win, *bx, *hbx, *en, *bt, *bt2, *tg;
 
win = elm_win_util_standard_add("entry-user-style", "Entry User Style");
elm_win_autodel_set(win, EINA_TRUE);
@@ -1079,6 +1087,15 @@ test_entry_style_user(void *data EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED, void
evas_object_show(en);
elm_object_focus_set(en, EINA_TRUE);
 
+   tg = elm_check_add(bx);
+   elm_object_style_set(tg, "toggle");
+   elm_object_text_set(tg, "Singleline Mode");
+   elm_object_part_text_set(tg, "on", "ON");
+   elm_object_part_text_set(tg, "off", "OFF");
+   evas_object_smart_callback_add(tg, "changed", 
ent_tg_singleline_mode_state_changed_cb, en);
+   elm_box_pack_end(bx, tg);
+   evas_object_show(tg);
+
hbx = elm_box_add(bx);
elm_box_horizontal_set(hbx, EINA_TRUE);
elm_box_pack_end(bx, hbx);
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 78a3209..49fdac8 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -842,6 +842,7 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data 
*sd)
 {
const char *str;
const char *t;
+   const char *stl_user;
const char *style = elm_widget_style_get(obj);
 
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, ELM_THEME_APPLY_FAILED);
@@ -863,6 +864,7 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data 
*sd)
 
_mirrored_set(obj, elm_widget_mirrored_get(obj));
 
+   stl_user = 
eina_stringshare_add(edje_obj_part_text_style_user_peek(sd->entry_edje, 
"elm.text"));
t = eina_stringshare_add(elm_object_text_get(obj));
 
elm_widget_theme_object_set
@@ -875,6 +877,9 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data 
*sd)
  edje_obj_part_text_select_allow_set
 (sd->entry_edje, "elm.text", EINA_FALSE);
 
+   edje_obj_part_text_style_user_push(sd->entry_edje, "elm.text", stl_user);
+   eina_stringshare_del(stl_user);
+
elm_object_text_set(obj, t);
eina_stringshare_del(t);
 

-- 




[EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-11-01 Thread Jee-Yong Um
cedric pushed a commit to branch master.

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

commit 0fd144550877ff0a6f413c025685b7e7d63e6535
Author: Jee-Yong Um 
Date:   Tue Nov 1 10:59:09 2016 -0700

edje.object: implement Efl.Observer interface

Summary:
To remove duplicated lines to handle edje class (color, text, size),
observer interface is implemented to Edje.Object.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric

Differential Revision: https://phab.enlightenment.org/D4359

Signed-off-by: Cedric BAIL 
---
 src/Makefile_Efl.am  |   3 +
 src/lib/edje/edje_load.c |   8 +-
 src/lib/edje/edje_main.c |  45 +++-
 src/lib/edje/edje_object.eo  |   4 +-
 src/lib/edje/edje_private.h  |  19 +-
 src/lib/edje/edje_smart.c|  50 
 src/lib/edje/edje_text.c |   8 +-
 src/lib/edje/edje_textblock_styles.c |   6 +-
 src/lib/edje/edje_util.c | 441 ---
 src/lib/efl/Efl.h|   3 +
 src/lib/efl/interfaces/efl_observable.eo |  63 +
 src/lib/efl/interfaces/efl_observer.c| 259 ++
 src/lib/efl/interfaces/efl_observer.eo   |  15 ++
 src/lib/efl/interfaces/efl_types.eot |   6 +
 14 files changed, 514 insertions(+), 416 deletions(-)

diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index f1ef8f6..e64a588 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -50,6 +50,8 @@ efl_eolian_files = \
   lib/efl/interfaces/efl_io_writer.eo \
   lib/efl/interfaces/efl_io_buffer.eo \
   lib/efl/interfaces/efl_io_queue.eo \
+  lib/efl/interfaces/efl_observer.eo \
+  lib/efl/interfaces/efl_observable.eo \
   $(efl_eolian_legacy_files) \
   $(NULL)
 
@@ -99,6 +101,7 @@ lib/efl/interfaces/efl_io_sizer.c \
 lib/efl/interfaces/efl_io_writer.c \
 lib/efl/interfaces/efl_io_buffer.c \
 lib/efl/interfaces/efl_io_queue.c \
+lib/efl/interfaces/efl_observer.c \
 $(NULL)
 
 lib_efl_libefl_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl 
-I$(top_srcdir)/src/lib/efl @EFL_CFLAGS@ -DEFL_GFX_FILTER_BETA
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 9df4314..3751fae 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -637,7 +637,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
 
   /* Register any color classes in this parts descriptions. */
   if ((ep->default_desc) && (ep->default_desc->color_class))
-_edje_color_class_member_add(ed, 
ep->default_desc->color_class);
+efl_observable_observer_add(_edje_color_class_member, 
ep->default_desc->color_class, obj);
 
   for (k = 0; k < ep->other.desc_count; k++)
 {
@@ -646,7 +646,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
desc = ep->other.desc[k];
 
if (desc->color_class)
- _edje_color_class_member_add(ed, desc->color_class);
+ efl_observable_observer_add(_edje_color_class_member, 
desc->color_class, obj);
 }
}
  /* sizeclass stuff */
@@ -659,7 +659,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
 
   /* Register any size classes in this parts descriptions. */
   if ((ep->default_desc) && (ep->default_desc->size_class))
-_edje_size_class_member_add(ed, 
ep->default_desc->size_class);
+efl_observable_observer_add(_edje_size_class_member, 
ep->default_desc->size_class, obj);
 
   for (k = 0; k < ep->other.desc_count; k++)
 {
@@ -668,7 +668,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
desc = ep->other.desc[k];
 
if (desc->size_class)
- _edje_size_class_member_add(ed, desc->size_class);
+ efl_observable_observer_add(_edje_size_class_member, 
desc->size_class, obj);
 }
}
  /* build real parts */
diff --git a/src/lib/edje/edje_main.c b/src/lib/edje/edje_main.c
index 7bb4774..f6d8462 100644
--- a/src/lib/edje/edje_main.c
+++ b/src/lib/edje/edje_main.c
@@ -90,6 +90,7 @@ edje_init(void)
_edje_message_init();
_edje_multisense_init();
edje_signal_init();
+   _edje_class_init();
 
_edje_real_part_mp = eina_mempool_add("chained_mempool",
  "Edje_Real_Part", NULL,
@@ -130,14 +131,13 @@ shutdown_all:
eina_mempool_del(_edje_real_part_mp);
_edje_real_part_state_mp = NULL;
_edje_real_part_mp = NUL

[EGIT] [core/efl] master 04/04: elementary: not every call are from ecore_job infrastructure, NULL only when they are.

2016-11-01 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 4a434a94aa339fbde420906dcd8af073303f7143
Author: Cedric BAIL 
Date:   Tue Nov 1 11:36:10 2016 -0700

elementary: not every call are from ecore_job infrastructure, NULL only 
when they are.

This is something that our tests suite detected. Please pay attention.
---
 src/lib/elementary/els_cursor.c | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/lib/elementary/els_cursor.c b/src/lib/elementary/els_cursor.c
index 3037e41..6c007c7 100644
--- a/src/lib/elementary/els_cursor.c
+++ b/src/lib/elementary/els_cursor.c
@@ -197,15 +197,12 @@ _elm_cursor_obj_del(void *data, Evas *evas EINA_UNUSED, 
Evas_Object *obj EINA_UN
 }
 
 static void
-_elm_cursor_set_hot_spots(void *data)
+_elm_cursor_set_hot_spots(Elm_Cursor *cur)
 {
-   Elm_Cursor *cur = data;
const char *str;
Evas_Coord cx, cy, cw, ch, x, y, w, h;
int prev_hot_x, prev_hot_y;
 
-   cur->hotupdate_job = NULL;
-
prev_hot_x = cur->hot_x;
prev_hot_y = cur->hot_y;
 
@@ -229,11 +226,21 @@ _elm_cursor_set_hot_spots(void *data)
 }
 
 static void
+_elm_cursor_set_hot_spots_job(void *data)
+{
+   Elm_Cursor *cur = data;
+
+   cur->hotupdate_job = NULL;
+
+   _elm_cursor_set_hot_spots(cur);
+}
+
+static void
 _elm_cursor_hot_change(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_info EINA_UNUSED)
 {
Elm_Cursor *cur = data;
if (cur->hotupdate_job) ecore_job_del(cur->hotupdate_job);
-   cur->hotupdate_job = ecore_job_add(_elm_cursor_set_hot_spots, data);
+   cur->hotupdate_job = ecore_job_add(_elm_cursor_set_hot_spots_job, data);
 }
 
 static Eina_Bool

-- 




[EGIT] [core/enlightenment] master 01/03: Luncher: Improve client tracking.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 73047583f62b38db27f57de71b8a5bf1733d4668
Author: Stephen okra Houston 
Date:   Tue Nov 1 13:28:21 2016 -0500

Luncher: Improve client tracking.
---
 src/modules/luncher/bar.c | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 414ebd6..7ea8d89 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -132,7 +132,6 @@ _bar_icon_match(Instance *inst, E_Client *ec)
 if (ec->exe_inst->desktop)
   has_desktop = EINA_TRUE;
  }
-
if (has_desktop)   
  ic = eina_hash_find(inst->icons_desktop_hash, 
ec->exe_inst->desktop->orig_path);
if (has_desktop && !ic)
@@ -904,6 +903,8 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, 
E_Client *non_desktop_cli
elm_box_pack_end(inst->o_icon_con, ic->o_layout);
evas_object_show(ic->o_layout);
 
+   e_util_size_debug_set(ic->o_layout, EINA_TRUE);
+
ic->o_icon = elm_icon_add(ic->o_layout);
E_EXPAND(ic->o_icon);
 
@@ -1093,12 +1094,15 @@ _bar_cb_exec_del(void *data EINA_UNUSED, int type 
EINA_UNUSED, E_Exec_Instance *
  break;
   }
  }
+
EINA_LIST_FOREACH(luncher_instances, l, inst)
  {
 Icon *ic = NULL;
-if (!inst || !inst->icons_desktop_hash)
-  return ECORE_CALLBACK_RENEW;
-ic = eina_hash_find(inst->icons_desktop_hash, ex->desktop->orig_path);
+
+if (ex->desktop)
+  {
+ ic = eina_hash_find(inst->icons_desktop_hash, 
ex->desktop->orig_path);
+  }
 if (ic)
   {
  if (ic->starting) elm_layout_signal_emit(ic->o_layout, 
"e,state,started", "e");
@@ -1363,8 +1367,8 @@ _bar_fill(Instance *inst)
  {
 Eina_Bool skip = EINA_TRUE;
 
-if (ec)
-  ic = _bar_icon_match(inst, ec);
+if (e_client_util_ignored_get(ec)) continue;
+ic = _bar_icon_match(inst, ec);
 skip = ec->netwm.state.skip_taskbar;
 if (!ic)
   {

-- 




[EGIT] [core/enlightenment] master 03/03: Luncher: Improve client/exec count.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 665c7072d7e5a59001ece2d0a1b02a05e652323d
Author: Stephen okra Houston 
Date:   Tue Nov 1 14:21:23 2016 -0500

Luncher: Improve client/exec count.
---
 src/modules/luncher/bar.c | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index c6231d0..f51583a 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1061,6 +1061,7 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, 
E_Client *non_desktop_cli
else
  ic->clients = eina_list_append(ic->clients, non_desktop_client);
elm_layout_sizing_eval(ic->o_layout);
+   _bar_aspect(inst);
return ic;
 }
 
@@ -1318,9 +1319,10 @@ _bar_empty(Instance *inst)
if (inst->icons)
  {
 Icon *ic;
+Eina_List *l;
 
 elm_box_clear(inst->o_icon_con);
-EINA_LIST_FREE(inst->icons, ic)
+EINA_LIST_FOREACH(inst->icons, l, ic)
   _bar_icon_del(inst, ic);
 eina_list_free(inst->icons);
 inst->icons = NULL;
@@ -1383,14 +1385,11 @@ _bar_fill(Instance *inst)
  }
E_CLIENT_FOREACH(ec)
  {
-Eina_Bool skip = EINA_TRUE;
-
 if (e_client_util_ignored_get(ec)) continue;
+if (ec->netwm.state.skip_taskbar) continue;
 ic = _bar_icon_match(inst, ec);
-skip = ec->netwm.state.skip_taskbar;
 if (!ic)
   {
- if (skip) continue;
  ic = _bar_icon_add(inst, NULL, ec);
  snprintf(buf, sizeof(buf), "e,state,on,%s", 
_bar_location_get(inst));
  elm_layout_signal_emit(ic->o_layout, buf, "e");
@@ -1794,8 +1793,8 @@ _bar_recalculate_job(void *data)
 
if (inst && inst->o_icon_con)
  {
-_bar_empty(inst);
-_bar_fill(inst);
+   _bar_empty(inst);
+   _bar_fill(inst);
  }
inst->recalc_job = NULL;
 }

-- 




[EGIT] [core/enlightenment] master 02/03: Merge branch 'master' of git+ssh://git.enlightenment.org/core/enlightenment

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 722ef6442630a5598bec8ec55bb3d309518f7440
Merge: 7304758 4d86c98
Author: Stephen okra Houston 
Date:   Tue Nov 1 13:28:33 2016 -0500

Merge branch 'master' of git+ssh://git.enlightenment.org/core/enlightenment

 src/bin/e_bryce.c |  2 +-
 src/bin/e_gadget.h|  7 ++-
 src/bin/efx/efx_resize.c  |  2 +-
 src/modules/luncher/bar.c | 33 -
 4 files changed, 36 insertions(+), 8 deletions(-)


-- 




Re: [E-devel] [EGIT] [core/efl] master 03/04: edje.object: implement Efl.Observer interface

2016-11-01 Thread Gustavo Sverzut Barbieri
> +EOLIAN static void
> +_efl_observable_observer_del(Eo *obj EINA_UNUSED, Efl_Observable_Data *pd, 
> const char *key, Efl_Observer *obs)
> +{
> +   Eina_Hash *observers;
> +   Efl_Observer_Refcount *or;
> +
> +   if (!key) return;
> +
> +   observers = eina_hash_find(pd->observers, key);
> +   if (!observers) return;
> +
> +   or = eina_hash_find(observers, &obs);
> +   if (!or) return;
> +
> +   EINA_REFCOUNT_UNREF(or)
> + {
> +eina_hash_del(observers, &or->o, or);
> +
> +if (eina_hash_population(observers) == 0)
> +  {
> + eina_hash_del(pd->observers, key, observers);
> +  }
> + }

this will lead to problems if user deletes the observe when being
updated, something like "great, I got what I need, so stop observing".

Then you need some kind of "walking" counter on pd, if walking, do not
delete immediately, just mark as deleted, add to a "pending deletion"
queue and once walking counter drops to zero, then you walk the
pending list and do the actual deletion.

boring I know :-/


> +}
> +
> +EOLIAN static void
> +_efl_observable_observer_clean(Eo *obj EINA_UNUSED, Efl_Observable_Data *pd, 
> Efl_Observer *obs)
> +{
> +   Eina_Iterator *it;
> +   Eina_Hash *observers;
> +
> +   it = eina_hash_iterator_data_new(pd->observers);
> +   EINA_ITERATOR_FOREACH(it, observers)
> + {
> +Efl_Observer_Refcount *or;
> +
> +or = eina_hash_find(observers, &obs);
> +if (!or) continue;
> +
> +EINA_REFCOUNT_UNREF(or)
> +  {
> + eina_hash_del(observers, &obs, or);
> +  }
> + }
> +   eina_iterator_free(it);
> +}

Like for _efl_observable_observer_del, if called when walking the hash... booom


> +EOLIAN static void
> +_efl_observable_observers_update(Eo *obj, Efl_Observable_Data *pd 
> EINA_UNUSED, const char *key, void *data)
> +{
> +   Eina_Iterator *it;
> +   Efl_Observer *o;
> +
> +   it = efl_observable_observers_iterator_new(obj, key);
> +   if (!it) return;
> +

as said above, here you should pd->walking++

> +   EINA_ITERATOR_FOREACH(it, o)
> + {
> +efl_observer_update(o, obj, key, data);
> + }

here you would:

pd->walking--;
if (pd->walking == 0)
 {
struct pending_del *pend;
EINA_LIST_FREE(pd->pending_deletion, pend)
  {
 _efl_observable_observer_del(o, pd, pend->key, pend->obs);
 free(pend);
  }
 }





-- 
Gustavo Sverzut Barbieri
--
Mobile: +55 (16) 99354-9890

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 01/01: Luncher and Pager gadgets: Handle multi head and use the correct zone.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit c3b5c4a1bfd8786e0b458a7b52f39c5c99bc3795
Author: Stephen okra Houston 
Date:   Tue Nov 1 15:16:06 2016 -0500

Luncher and Pager gadgets: Handle multi head and use the correct zone.

This fixes T4807 and T4787
---
 src/modules/luncher/bar.c |  2 +-
 src/modules/luncher/config.c  |  2 +-
 src/modules/pager/gadget/config.c |  2 +-
 src/modules/pager/gadget/pager.c  | 12 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index f51583a..e3d5098 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -33,7 +33,7 @@ _bar_gadget_configure(Evas_Object *g)
if (!luncher_config) return NULL;
if (luncher_config->config_dialog) return NULL;
Instance *inst = evas_object_data_get(g, "instance");
-   return config_luncher(e_comp_object_util_zone_get(g), inst, EINA_TRUE);
+   return config_luncher(e_zone_current_get(), inst, EINA_TRUE);
 }
 
 static const char *
diff --git a/src/modules/luncher/config.c b/src/modules/luncher/config.c
index 5a2a7d5..07c0cc5 100644
--- a/src/modules/luncher/config.c
+++ b/src/modules/luncher/config.c
@@ -367,7 +367,7 @@ config_luncher(E_Zone *zone, Instance *inst, Eina_Bool bar)
popup = e_comp_object_util_add(popup, E_COMP_OBJECT_TYPE_NONE);
evas_object_layer_set(popup, E_LAYER_POPUP);
evas_object_resize(popup, zone->w / 4, zone->h / 3);
-   e_comp_object_util_center(popup);
+   e_comp_object_util_center_on_zone(popup, zone);
evas_object_show(popup);
e_comp_object_util_autoclose(popup, NULL, 
e_comp_object_util_autoclose_on_escape, NULL);
evas_object_event_callback_add(popup, EVAS_CALLBACK_DEL, _config_close, 
NULL);
diff --git a/src/modules/pager/gadget/config.c 
b/src/modules/pager/gadget/config.c
index cb06e42..aa29ab5 100644
--- a/src/modules/pager/gadget/config.c
+++ b/src/modules/pager/gadget/config.c
@@ -591,7 +591,7 @@ config_pager(E_Zone *zone)
popup = e_comp_object_util_add(popup, E_COMP_OBJECT_TYPE_NONE);
evas_object_layer_set(popup, E_LAYER_POPUP);
evas_object_resize(popup, zone->w / 4, zone->h / 3);
-   e_comp_object_util_center(popup);
+   e_comp_object_util_center_on_zone(popup, zone);
evas_object_show(popup);
e_comp_object_util_autoclose(popup, NULL, 
e_comp_object_util_autoclose_on_escape, NULL);
evas_object_event_callback_add(popup, EVAS_CALLBACK_DEL, _config_close, 
NULL);
diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index e2348c0..575791a 100644
--- a/src/modules/pager/gadget/pager.c
+++ b/src/modules/pager/gadget/pager.c
@@ -102,7 +102,7 @@ static void _pager_desk_cb_mouse_move(void 
*data, Evas *e EINA_UNUSE
 static void _pager_desk_cb_drag_finished(E_Drag *drag, int 
dropped);
 static void _pager_desk_cb_mouse_wheel(void *data, Evas *e 
EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info);
 static Eina_Bool_pager_popup_cb_timeout(void *data);
-static Pager   *_pager_new(Evas *evas);
+static Pager   *_pager_new(Evas *evas, E_Zone *zone);
 static void _pager_free(Pager *p);
 static void _pager_fill(Pager *p);
 static void _pager_orient(Instance *inst, E_Gadget_Site_Orient 
orient);
@@ -315,7 +315,7 @@ _pager_resize(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED, voi
 }
 
 static Pager *
-_pager_new(Evas *evas)
+_pager_new(Evas *evas, E_Zone *zone)
 {
Pager *p;
 
@@ -325,7 +325,7 @@ _pager_new(Evas *evas)
p->o_table = elm_table_add(e_win_evas_win_get(evas));
evas_object_event_callback_add(p->o_table, EVAS_CALLBACK_RESIZE, 
_pager_resize, p);
elm_table_homogeneous_set(p->o_table, 1);
-   p->zone = e_comp_object_util_zone_get(p->o_table);
+   p->zone = zone;
_pager_fill(p);
pagers = eina_list_append(pagers, p);
return p;
@@ -710,7 +710,7 @@ pager_popup_new(int keyaction)
 
/* Show popup */
 
-   pp->pager = _pager_new(e_comp->evas);
+   pp->pager = _pager_new(e_comp->evas, zone);

pp->pager->popup = pp;
pp->urgent = 0;
@@ -818,7 +818,7 @@ _pager_gadget_configure(Evas_Object *g)
 {
if (!pager_config) return NULL;
if (cfg_dialog) return NULL;
-   return config_pager(e_comp_object_util_zone_get(g));
+   return config_pager(e_zone_current_get());
 }
 
 static void
@@ -1885,7 +1885,7 @@ pager_create(Evas_Object *parent, int *id EINA_UNUSED, 
E_Gadget_Site_Orient orie
Instance *inst;
 
inst = E_NEW(Instance, 1);
-   p = _pager_new(evas_object_evas_get(parent));
+   p = _pager_new(evas_object_evas_get(parent), 
e_comp_object_util_zone_get(parent));
p->inst = inst;
inst->pager = p;
o = p->o_table;

-- 




[EGIT] [website/www-content] master 01/01: Wiki page debian-start changed with summary [Don't use aptitude to install packages: use apt.] by Jean Guyomarc'h

2016-11-01 Thread Jean Guyomarc'h
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=90aab2dbaf9ba8dd8be8de33d15b999e39daa031

commit 90aab2dbaf9ba8dd8be8de33d15b999e39daa031
Author: Jean Guyomarc'h 
Date:   Tue Nov 1 13:22:09 2016 -0700

Wiki page debian-start changed with summary [Don't use aptitude to install 
packages: use apt.] by Jean Guyomarc'h
---
 pages/distros/debian-start.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/distros/debian-start.txt b/pages/distros/debian-start.txt
index faee6f4..ec2de84 100644
--- a/pages/distros/debian-start.txt
+++ b/pages/distros/debian-start.txt
@@ -18,7 +18,7 @@ cd enlight
 Make sure all the dependencies are installed:
 
 
-sudo aptitude install \
+sudo apt install \
 make gcc bison flex gawk subversion automake autoconf doxygen\
 check autotools-dev autoconf-archive autopoint libtool gettext \
 libpam0g-dev libfreetype6-dev libpng12-dev zlib1g-dev  libjpeg-dev\

-- 




[EGIT] [website/www-content] master 01/01: Wiki page debian-start changed with summary [Nuke more aptitude, don't forget to update before installing.] by Jean Guyomarc'h

2016-11-01 Thread Jean Guyomarc'h
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=fbd104d2acd506bd4fd78a6e53912508993f9033

commit fbd104d2acd506bd4fd78a6e53912508993f9033
Author: Jean Guyomarc'h 
Date:   Tue Nov 1 13:24:40 2016 -0700

Wiki page debian-start changed with summary [Nuke more aptitude, don't 
forget to update before installing.] by Jean Guyomarc'h
---
 pages/distros/debian-start.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pages/distros/debian-start.txt b/pages/distros/debian-start.txt
index ec2de84..5e8a415 100644
--- a/pages/distros/debian-start.txt
+++ b/pages/distros/debian-start.txt
@@ -18,6 +18,7 @@ cd enlight
 Make sure all the dependencies are installed:
 
 
+sudo apt update
 sudo apt install \
 make gcc bison flex gawk subversion automake autoconf doxygen\
 check autotools-dev autoconf-archive autopoint libtool gettext \
@@ -110,7 +111,7 @@ Then, execute the script to compile and install 
enlightenment.
 == Run ==
 A minimum run-time environment requires :
 
-aptitude install dbus-x11 xinit xorg
+apt install dbus-x11 xinit xorg
 
 and creating ./xinitrc :
 

-- 




[EGIT] [core/enlightenment] master 01/01: Time Gadget: Change the calendar month on mouse wheel.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit e9b270f993bf6377fca9c9446f895525f9ad9253
Author: Stephen okra Houston 
Date:   Tue Nov 1 16:13:14 2016 -0500

Time Gadget: Change the calendar month on mouse wheel.
---
 src/modules/time/clock.c | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/src/modules/time/clock.c b/src/modules/time/clock.c
index 64eb7db..c52d2b6 100644
--- a/src/modules/time/clock.c
+++ b/src/modules/time/clock.c
@@ -70,6 +70,18 @@ _clock_month_next_cb(void *data, Evas_Object *obj 
EINA_UNUSED, const char *emiss
 }
 
 static void
+_clock_mouse_wheel_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_info)
+{
+   Instance *inst = data;
+   Evas_Event_Mouse_Wheel *ev = event_info;
+
+   if (ev->z < 0)
+ _clock_month_prev_cb(inst, NULL, NULL, NULL);
+   else if (ev->z > 0)
+ _clock_month_next_cb(inst, NULL, NULL, NULL);
+}
+
+static void
 _clock_popup_dismissed(void *data EINA_UNUSED, Evas_Object *obj, void *info 
EINA_UNUSED)
 {
evas_object_del(obj);
@@ -221,6 +233,8 @@ clock_popup_new(Instance *inst)
elm_object_style_set(inst->popup, "noblock");
evas_object_smart_callback_add(inst->popup, "dismissed", 
_clock_popup_dismissed, inst);
evas_object_event_callback_add(inst->popup, EVAS_CALLBACK_DEL, 
_clock_popup_del, inst);
+   evas_object_event_callback_add(inst->popup, EVAS_CALLBACK_MOUSE_WHEEL,
+   _clock_mouse_wheel_cb, inst);
 
inst->o_table = elm_table_add(inst->popup);
 

-- 




[EGIT] [core/enlightenment] master 01/01: Pager: Fix gadget zone.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 96f328b7ff4760b52feef0605eaadeee399f1ef5
Author: Stephen okra Houston 
Date:   Tue Nov 1 16:31:41 2016 -0500

Pager: Fix gadget zone.
---
 src/modules/pager/gadget/pager.c | 24 ++--
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index 575791a..3f7bd35 100644
--- a/src/modules/pager/gadget/pager.c
+++ b/src/modules/pager/gadget/pager.c
@@ -102,7 +102,7 @@ static void _pager_desk_cb_mouse_move(void 
*data, Evas *e EINA_UNUSE
 static void _pager_desk_cb_drag_finished(E_Drag *drag, int 
dropped);
 static void _pager_desk_cb_mouse_wheel(void *data, Evas *e 
EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info);
 static Eina_Bool_pager_popup_cb_timeout(void *data);
-static Pager   *_pager_new(Evas *evas, E_Zone *zone);
+static Pager   *_pager_new(Evas *evas);
 static void _pager_free(Pager *p);
 static void _pager_fill(Pager *p);
 static void _pager_orient(Instance *inst, E_Gadget_Site_Orient 
orient);
@@ -315,9 +315,10 @@ _pager_resize(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED, voi
 }
 
 static Pager *
-_pager_new(Evas *evas, E_Zone *zone)
+_pager_new(Evas *evas)
 {
Pager *p;
+   E_Zone *zone;
 
p = E_NEW(Pager, 1);
p->inst = NULL;
@@ -325,7 +326,7 @@ _pager_new(Evas *evas, E_Zone *zone)
p->o_table = elm_table_add(e_win_evas_win_get(evas));
evas_object_event_callback_add(p->o_table, EVAS_CALLBACK_RESIZE, 
_pager_resize, p);
elm_table_homogeneous_set(p->o_table, 1);
-   p->zone = zone;
+   p->zone = e_comp_object_util_zone_get(p->o_table);
_pager_fill(p);
pagers = eina_list_append(pagers, p);
return p;
@@ -710,7 +711,7 @@ pager_popup_new(int keyaction)
 
/* Show popup */
 
-   pp->pager = _pager_new(e_comp->evas, zone);
+   pp->pager = _pager_new(e_comp->evas);

pp->pager->popup = pp;
pp->urgent = 0;
@@ -813,6 +814,17 @@ _pager_cb_obj_show(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED
edje_object_signal_emit(pd->o_desk, "e,state,visible", "e");
 }
 
+static void
+_pager_cb_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void 
*event_info EINA_UNUSED)
+{
+   Instance *inst = data;
+   Pager *p = inst->pager;
+
+   p->zone = e_comp_object_util_zone_get(p->o_table);
+   _pager_empty(p);
+   _pager_fill(p);
+}
+
 static Evas_Object *
 _pager_gadget_configure(Evas_Object *g)
 {
@@ -1885,7 +1897,7 @@ pager_create(Evas_Object *parent, int *id EINA_UNUSED, 
E_Gadget_Site_Orient orie
Instance *inst;
 
inst = E_NEW(Instance, 1);
-   p = _pager_new(evas_object_evas_get(parent), 
e_comp_object_util_zone_get(parent));
+   p = _pager_new(evas_object_evas_get(parent));
p->inst = inst;
inst->pager = p;
o = p->o_table;
@@ -1897,7 +1909,7 @@ pager_create(Evas_Object *parent, int *id EINA_UNUSED, 
E_Gadget_Site_Orient orie
evas_object_smart_callback_add(parent, "gadget_created", 
_pager_gadget_created_cb, inst);
evas_object_smart_callback_add(parent, "gadget_site_anchor", 
_pager_gadget_anchor_change_cb, inst);
evas_object_smart_callback_add(parent, "gadget_destroyed", 
_pager_gadget_destroyed_cb, inst);
-
+   evas_object_event_callback_add(o, EVAS_CALLBACK_MOVE, _pager_cb_move, inst);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
   _button_cb_mouse_down, inst);
evas_object_event_callback_add(o, EVAS_CALLBACK_SHOW,

-- 




[EGIT] [core/efl] master 01/01: unbreak build for OpenSSL < 1.0.2

2016-11-01 Thread Gustavo Sverzut Barbieri
barbieri pushed a commit to branch master.

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

commit 54e00b5e9de5647654f7438d5f14aad8671d63f4
Author: Gustavo Sverzut Barbieri 
Date:   Tue Nov 1 19:36:20 2016 -0200

unbreak build for OpenSSL < 1.0.2

not the ideal solution, but we need a decision if we're going to copy
the long code from OpenSSL into our library just to support legacy
users, given that Efl.Net targeted at the future.
---
 src/lib/ecore_con/efl_net_ssl_conn-openssl.c | 28 
 1 file changed, 28 insertions(+)

diff --git a/src/lib/ecore_con/efl_net_ssl_conn-openssl.c 
b/src/lib/ecore_con/efl_net_ssl_conn-openssl.c
index 37dcf0e..dbc540d 100644
--- a/src/lib/ecore_con/efl_net_ssl_conn-openssl.c
+++ b/src/lib/ecore_con/efl_net_ssl_conn-openssl.c
@@ -390,6 +390,34 @@ efl_net_ssl_conn_read(Efl_Net_Ssl_Conn *conn, 
Eina_Rw_Slice *slice)
return 0;
 }
 
+#ifndef X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT
+/* OpenSSL 1.0.2 introduced X509_check_host() and X509_check_ip_asc()
+ * and with them the X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT define.
+ */
+static int
+X509_check_host(X509 *x, const char *chk, size_t chklen, unsigned int flags, 
char **peername)
+{
+   ERR("your OpenSSL do not support X509_check_ip_asc() - no verification can 
be done");
+   return 0;
+   (void)x;
+   (void)chk;
+   (void)chklen;
+   (void)flags;
+   (void)peername;
+}
+
+static int
+X509_check_ip_asc(X509 *x, const char *ipasc, unsigned int flags)
+{
+   ERR("your OpenSSL do not support X509_check_ip_asc() - no verification can 
be done");
+   return 0;
+   (void)x;
+   (void)ipasc;
+   (void)flags;
+}
+#endif
+
+
 static Eina_Error
 _efl_net_ssl_conn_hostname_verify(Efl_Net_Ssl_Conn *conn)
 {

-- 




[EGIT] [core/enlightenment] master 01/01: Pager Gadget: Only empty/fill pager if zone has changed.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 9d33d6c15bcb1f6766f9d8bc61919023a46df418
Author: Stephen okra Houston 
Date:   Tue Nov 1 16:56:26 2016 -0500

Pager Gadget: Only empty/fill pager if zone has changed.
---
 src/modules/pager/gadget/pager.c | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index 3f7bd35..7c8abc4 100644
--- a/src/modules/pager/gadget/pager.c
+++ b/src/modules/pager/gadget/pager.c
@@ -819,10 +819,13 @@ _pager_cb_move(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj, void *event_in
 {
Instance *inst = data;
Pager *p = inst->pager;
-
-   p->zone = e_comp_object_util_zone_get(p->o_table);
-   _pager_empty(p);
-   _pager_fill(p);
+   E_Zone *zone =  e_comp_object_util_zone_get(p->o_table);
+   if (zone != p->zone)
+ {
+p->zone = zone;
+_pager_empty(p);
+_pager_fill(p);
+ }
 }
 
 static Evas_Object *

-- 




[EGIT] [core/efl] master 01/01: elm_popup: before getting focus, all sub objs should be shown

2016-11-01 Thread WooHyun Jung
woohyun pushed a commit to branch master.

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

commit 9eee22cb6d5fca945073168b2295dc5a313e4d48
Author: WooHyun Jung 
Date:   Wed Nov 2 09:28:26 2016 +0900

elm_popup: before getting focus, all sub objs should be shown
---
 src/lib/elementary/elc_popup.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 6757484..9bda0ca 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -92,7 +92,10 @@ _visuals_set(Evas_Object *obj)
  elm_layout_signal_emit(sd->main_layout, "elm,state,title_area,visible", 
"elm");
 
if (sd->action_area)
- elm_layout_signal_emit(sd->main_layout, "elm,state,action_area,visible", 
"elm");
+ {
+elm_layout_signal_emit(sd->main_layout, 
"elm,state,action_area,visible", "elm");
+evas_object_show(sd->action_area);
+ }
else
  elm_layout_signal_emit(sd->main_layout, "elm,state,action_area,hidden", 
"elm");
 
@@ -1130,6 +1133,7 @@ _content_set(Evas_Object *obj,
 else
   elm_object_content_set(sd->scr, sd->content_area);
 
+evas_object_show(content);
 efl_content_set(efl_part(sd->content_area, CONTENT_PART), content);
 
 evas_object_event_callback_add
@@ -1196,6 +1200,7 @@ _action_button_set(Evas_Object *obj,
  CRI("Failed to set layout!");
 
snprintf(buf, sizeof(buf), "elm.swallow.content.button%i", idx + 1);
+   evas_object_show(sd->buttons[idx]->btn);
elm_object_part_content_set
  (sd->action_area, buf, sd->buttons[idx]->btn);
 }

-- 




[EGIT] [core/enlightenment] master 01/01: Luncher: Use the desktop for client population if exists.

2016-11-01 Thread Stephen okra Houston
okra pushed a commit to branch master.

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

commit 4d32ec9e4e2094a9ba78bd30eb34c2b096c06e65
Author: Stephen okra Houston 
Date:   Tue Nov 1 19:33:37 2016 -0500

Luncher: Use the desktop for client population if exists.
---
 src/modules/luncher/bar.c | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index e3d5098..fc8d498 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -913,14 +913,11 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, 
E_Client *non_desktop_cli
ic->o_layout = elm_layout_add(inst->o_icon_con);
e_theme_edje_object_set(ic->o_layout, "e/gadget/luncher/icon",
"e/gadget/luncher/icon");
-   //evas_object_size_hint_min_set(ic->o_layout, inst->size, inst->size);
E_EXPAND(ic->o_layout);
E_FILL(ic->o_layout);
elm_box_pack_end(inst->o_icon_con, ic->o_layout);
evas_object_show(ic->o_layout);
 
-   e_util_size_debug_set(ic->o_layout, EINA_TRUE);
-
ic->o_icon = elm_icon_add(ic->o_layout);
E_EXPAND(ic->o_icon);
 
@@ -1390,7 +1387,10 @@ _bar_fill(Instance *inst)
 ic = _bar_icon_match(inst, ec);
 if (!ic)
   {
- ic = _bar_icon_add(inst, NULL, ec);
+ if (ec->exe_inst && ec->exe_inst->desktop)
+   ic = _bar_icon_add(inst, ec->exe_inst->desktop, NULL);
+ else
+   ic = _bar_icon_add(inst, NULL, ec);
  snprintf(buf, sizeof(buf), "e,state,on,%s", 
_bar_location_get(inst));
  elm_layout_signal_emit(ic->o_layout, buf, "e");
  ic->in_order = EINA_FALSE;
@@ -1499,7 +1499,6 @@ _bar_resize_job(void *data)
   elm_image_file_set(ic->o_overlay, 
e_theme_edje_file_get("base/theme/icons", "e/icons/unknown"),
"e/icons/unknown");
}
- //evas_object_size_hint_min_set(ic->o_layout, inst->size, 
inst->size);
   }
 inst->resize_job = NULL;
  }

-- 




[EGIT] [core/enlightenment] master 01/01: efm - fix popup if file is a fifo

2016-11-01 Thread Al Poole
raster pushed a commit to branch master.

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

commit bfe02d2303dd45bb603e687f882f49b9170a5eec
Author: Al Poole 
Date:   Wed Nov 2 10:58:49 2016 +0900

efm - fix popup if file is a fifo

 this fixes T4815

@fix
---
 src/modules/fileman/e_fwin.c | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index ae7a3c4..0c7aa5e 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -877,12 +877,18 @@ _e_fwin_icon_popup(void *data)
char buf[4096];
int mw, mh;
E_Fm2_Icon_Info *popup_icon;
+   struct stat st;
 
fwin->popup_timer = NULL;
popup_icon = e_fm2_icon_file_get(fwin->cur_page->fm_obj, fwin->over_file);
if (!popup_icon) return EINA_FALSE;
snprintf(buf, sizeof(buf), "%s/%s", 
e_fm2_real_path_get(fwin->cur_page->fm_obj), popup_icon->file);
if (!ecore_file_can_read(buf)) return EINA_FALSE;
+
+   if (stat(buf, &st) < 0) return EINA_FALSE;
+
+   if (S_ISFIFO(st.st_mode)) return EINA_FALSE;
+
if (fwin->popup)
  {
 evas_object_hide(fwin->popup);

-- 




[EGIT] [tools/enventor] master 02/02: Update help description for "Ctrl+Double Click".

2016-11-01 Thread Jaehyun Cho
jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=851bdbfdb2636e1f80d3f20155c7dfaf759b217e

commit 851bdbfdb2636e1f80d3f20155c7dfaf759b217e
Author: Jaehyun Cho 
Date:   Wed Nov 2 11:44:24 2016 +0900

Update help description for "Ctrl+Double Click".
---
 README | 2 +-
 data/help/SHORTCUT | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README
index b93bc44..f71570d 100644
--- a/README
+++ b/README
@@ -56,7 +56,7 @@ Alt+Up - Toggle Full Console View
 Alt+Down - Toggle Full Editors View
 
 Ctrl+A - Select Text All
-Ctrl+Double Click - Select a word
+Ctrl+Double Click - Select a word without openning candidate popup
 Ctrl+Z - Undo Text
 Ctrl+R - Redo Text
 Ctrl+C - Copy Selected Text
diff --git a/data/help/SHORTCUT b/data/help/SHORTCUT
index 41f75d9..9b8a37e 100644
--- a/data/help/SHORTCUT
+++ b/data/help/SHORTCUT
@@ -29,7 +29,7 @@
 
 Text Editor:
   Ctrl+A - Select Text All
-  Ctrl+Double Click - Select a word
+  Ctrl+Double Click - Select a word without openning candidate popup
   Ctrl+Z - Undo Text
   Ctrl+R - Redo Text
   Ctrl+C - Copy Selected Text

-- 




[EGIT] [tools/enventor] master 01/02: Revert "Remove unnecessary shortcut key."

2016-11-01 Thread Jaehyun Cho
jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=a9d4c4a472ac0fe3a30465889c6500fe6389f708

commit a9d4c4a472ac0fe3a30465889c6500fe6389f708
Author: Jaehyun Cho 
Date:   Wed Nov 2 11:41:12 2016 +0900

Revert "Remove unnecessary shortcut key."

This reverts commit 8de5b07488e72e6cdedc17151ec666a9609819c2.
---
 README | 1 +
 data/help/SHORTCUT | 1 +
 2 files changed, 2 insertions(+)

diff --git a/README b/README
index 232e2a2..b93bc44 100644
--- a/README
+++ b/README
@@ -56,6 +56,7 @@ Alt+Up - Toggle Full Console View
 Alt+Down - Toggle Full Editors View
 
 Ctrl+A - Select Text All
+Ctrl+Double Click - Select a word
 Ctrl+Z - Undo Text
 Ctrl+R - Redo Text
 Ctrl+C - Copy Selected Text
diff --git a/data/help/SHORTCUT b/data/help/SHORTCUT
index b673541..41f75d9 100644
--- a/data/help/SHORTCUT
+++ b/data/help/SHORTCUT
@@ -29,6 +29,7 @@
 
 Text Editor:
   Ctrl+A - Select Text All
+  Ctrl+Double Click - Select a word
   Ctrl+Z - Undo Text
   Ctrl+R - Redo Text
   Ctrl+C - Copy Selected Text

-- 




Re: [E-devel] aligning wl and x11 more - remove xcb?

2016-11-01 Thread The Rasterman
On Tue, 1 Nov 2016 10:30:08 +0100 Vincent Torri  said:

> On Tue, Nov 1, 2016 at 10:14 AM, Stefan Schmidt 
> wrote:
> > Hello.
> >
> > On 28/10/16 04:28, Carsten Haitzler (The Rasterman) wrote:
> >>
> >> 3. xcb was a valiant effort, but it is not even 1:1 feature for feature up
> >> to date with xlib. it's off by default because of this and we need xlib
> >> for gl anyway. we cant dump xlib. it's just a lot of code in our tree that
> >> we likely could remove to clear out some "cruft". not to say work on xcb
> >> has been bad. it's been good. it's a very very large amount of useful code
> >> but it just has never proven to be any real big gains and lack of full
> >> featured implementation (it's 98% there) means it kind of isn't useful. so
> >> how about we drop it to simplify?
> >
> > It would reduce code size, code complexity, maintenance, build
> > configurations, etc. Removing it gets a thumbs up from me. :)
> >
> > I was thinking about it before but did not ant to stomp on Devilhorns
> > feet as he was still actively maintaining it. It is also a bit unclear
> > to me if there are real world users out there. I would have hoped they
> > would have replied by now. Maybe give them another week before the removal.
> 
> is the removal concerning also ecore_x ?

well removing the xcb back-end to ecore_x. yes.

reality is if we want to do async fetches of stuff we can still do it with
xcb... but get the xcb connection from xlib then write some custom xcb code for
it.

the problem is... x's future is far more limited now given that wayland
actually has gained traction and thus investing in that future is probably not
valuable. we should de-complicate our codebase and build and make it easier to
trim it down and focus on where the most value lies.

our makefiles and configure.ac are chock-full of options. configure.ac alone is
about half the size of enlightenment 0.13 ... that's just a highly macro-ised
configure script! it's a huge project of its own.

in working to remove xcb i have noticed we have tonnes of options like building
modules statically or not (specific modules) and we then have to maintain all
the configure and maklefile goop not to mention also code support for doing
this. how many people actually do this?

anyway. thats a side topic. xcb is an option we do not recommend (as per this
thread above), and all it does is mean every time someone works on the xlib
code they have to mirror it in the xcb code. for evas sw_x11, for ecore_x etc.
- removing cuts down this work. the gains from xcb have proven to not really be
worth it. :/


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


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EDD 2017 location discussion

2016-11-01 Thread Simon Lees


On 11/01/2016 08:28 PM, Stefan Schmidt wrote:
> Hello.
> 
> Thinking ahead about EDD 2017 it would be good if we could settle for a 
> location towards the end of the year.
> 
> After this years EDD I already asked for location proposals which have 
> been collected here: 
> https://phab.enlightenment.org/w/events/location_proposals/
> 
> I will put out a phab vote for it over the next weeks but wanted to 
> bring it up here for discussion to sort out valid and likely proposals 
> from the rest.
> 
> Here we go with the list and my comments on it:
> 

From a selfish perspective the only events i'm likely to come to are
Seoul and Australia, based on the fact that Seoul probably won't cost me
much more I'd vote for that. The only chance of me making one in Europe
is if its the time of year when i'm already there and I don't know when
that will be. But I am just one person.

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE LinuxAdeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B



signature.asc
Description: OpenPGP digital signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel