Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Simon Lees


On 06/09/2016 02:58 PM, Cedric BAIL wrote:
> On Wed, Jun 8, 2016 at 9:53 PM, Hermet Park  wrote:
>> edc new syntax hasn't been reviewed among people seriously.
> 
> Then it is time to review it seriously. This patch has been in the
> making for month on phab available for everyone to review it. Once we
> do 1.18, this is set in stone. There isn't a way to deprecate edc
> syntax and edj internal file. Take some times to look at it now, if we
> need to disable this for this release, it is now !
> 
> Cedric

Is there some example edje files anywhere? I didn't see one in that
commit and may have been to lazy to look further, but for those of use
that write lots of .edc and not alot of c examples will make it much
easier to review the syntax.

Cheers

> 
>> -Original Message-
>> From: "Cedric BAIL"
>> To: "Enlightenment developer 
>> list";
>> Cc:
>> Sent: 2016-06-09 (목) 13:40:34
>> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg 
>> part to edc
>>
>> On Thu, Jun 9, 2016 at 4:07 AM, Hermet Park  wrote:
>>> vector stuff is still beta feature.
>>>
>>> -Original Message-
>>> From: "Jean-Philippe André"
>>> To: "Enlightenment developer 
>>> list";
>>> Cc:
>>> Sent: 2016-06-09 (목) 10:34:56
>>> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg 
>>> part to edc
>>>
>>> On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:
>>>
 cedric pushed a commit to branch master.


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

 commit 62c0a4ef087ea71355961e030b0620a60b77a026
 Author: Subhransu Mohanty 
 Date:   Wed Jun 8 11:26:07 2016 -0700

 edje: add new svg part to edc

 Reviewers: Hermet, cedric

 Reviewed By: cedric

 Subscribers: jpeg, cedric, Hermet

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

 Signed-off-by: Cedric BAIL 

>>>
>>> Is this to be considered stable? Or still a beta feature?
>>
>> The rendering is still beta in the sense that if it is not displaying
>> a SVG file properly it is considered a bug and the code will be
>> adjusted accordingly. Which means that the SVG support in Edje is
>> defined and should not be considered beta in the sense that the file
>> format and its behavior should not change. Only fixed and extended
>> (There is no implementation of scale support at this stage which is
>> really mandatory to be really useful to design UI element with it).
>> --
>> Cedric BAIL
>>
>> --
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> --
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 
> 

-- 

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
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___

Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Cedric BAIL
On Wed, Jun 8, 2016 at 9:53 PM, Hermet Park  wrote:
> edc new syntax hasn't been reviewed among people seriously.

Then it is time to review it seriously. This patch has been in the
making for month on phab available for everyone to review it. Once we
do 1.18, this is set in stone. There isn't a way to deprecate edc
syntax and edj internal file. Take some times to look at it now, if we
need to disable this for this release, it is now !

Cedric

> -Original Message-
> From: "Cedric BAIL"
> To: "Enlightenment developer list";
> Cc:
> Sent: 2016-06-09 (목) 13:40:34
> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part 
> to edc
>
> On Thu, Jun 9, 2016 at 4:07 AM, Hermet Park  wrote:
>> vector stuff is still beta feature.
>>
>> -Original Message-
>> From: "Jean-Philippe André"
>> To: "Enlightenment developer 
>> list";
>> Cc:
>> Sent: 2016-06-09 (목) 10:34:56
>> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg 
>> part to edc
>>
>> On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:
>>
>>> cedric pushed a commit to branch master.
>>>
>>>
>>> http://git.enlightenment.org/core/efl.git/commit/?id=62c0a4ef087ea71355961e030b0620a60b77a026
>>>
>>> commit 62c0a4ef087ea71355961e030b0620a60b77a026
>>> Author: Subhransu Mohanty 
>>> Date:   Wed Jun 8 11:26:07 2016 -0700
>>>
>>> edje: add new svg part to edc
>>>
>>> Reviewers: Hermet, cedric
>>>
>>> Reviewed By: cedric
>>>
>>> Subscribers: jpeg, cedric, Hermet
>>>
>>> Differential Revision: https://phab.enlightenment.org/D3894
>>>
>>> Signed-off-by: Cedric BAIL 
>>>
>>
>> Is this to be considered stable? Or still a beta feature?
>
> The rendering is still beta in the sense that if it is not displaying
> a SVG file properly it is considered a bug and the code will be
> adjusted accordingly. Which means that the SVG support in Edje is
> defined and should not be considered beta in the sense that the file
> format and its behavior should not change. Only fixed and extended
> (There is no implementation of scale support at this stage which is
> really mandatory to be really useful to design UI element with it).
> --
> Cedric BAIL
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Cedric BAIL

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/02: edje : fix the typo in svg loader.

2016-06-08 Thread Subhransu Mohanty
jpeg pushed a commit to branch master.

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

commit ef84367fa9e97c1c6ae72a5bbdafd4a5f1272e83
Author: Subhransu Mohanty 
Date:   Thu Jun 9 13:26:33 2016 +0900

edje : fix the typo in svg loader.

Reviewers: SanghyeonLee, cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4027
---
 src/bin/edje/edje_svg_loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edje/edje_svg_loader.c b/src/bin/edje/edje_svg_loader.c
index 1ded253..29cd788 100644
--- a/src/bin/edje/edje_svg_loader.c
+++ b/src/bin/edje/edje_svg_loader.c
@@ -1067,7 +1067,7 @@ static const struct {
  int sz = strlen(name); \
 \
  for (i = 0; i < sizeof (Tags_Array) / sizeof(Tags_Array[0]); i++)  \
-   if (group_tags[i].sz - 1 == sz && !strncmp(Tags_Array[i].tag, name, 
sz)) \
+   if (Tags_Array[i].sz - 1 == sz && !strncmp(Tags_Array[i].tag, name, 
sz)) \
  {  \
 return Tags_Array[i].tag_handler;   \
  }  \

-- 




[EGIT] [core/efl] master 02/02: edje: cached the vg tree generation and fixed the interpolation betwwen two vg tree.

2016-06-08 Thread Subhransu Mohanty
jpeg pushed a commit to branch master.

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

commit e38cf1f85f8957bd2fa17972572a0d39c09298bf
Author: Subhransu Mohanty 
Date:   Thu Jun 9 13:49:56 2016 +0900

edje: cached the vg tree generation and fixed the interpolation betwwen two 
vg tree.

Reviewers: cedric, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4028
---
 src/lib/edje/edje_calc.c| 174 +---
 src/lib/edje/edje_load.c| 103 --
 src/lib/edje/edje_private.h |  25 +--
 3 files changed, 130 insertions(+), 172 deletions(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 5b2f4ab..382e6d7 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -3260,8 +3260,10 @@ _edje_svg_recalc_apply(Edje *ed, Edje_Real_Part *ep, 
Edje_Calc_Params *p3 EINA_U
 {
int w, h;
int new_svg = 0;
-   Efl_VG *vg_tree, *root_vg;
-   double sx, sy, vx, vy, vw, vh;
+   Efl_VG *root_vg;
+   double sx, sy;
+   Eina_Matrix3 matrix;
+   Edje_Vector_Data *start, *end;
 
evas_object_geometry_get(ep->object, NULL, NULL, , );
 
@@ -3279,74 +3281,42 @@ _edje_svg_recalc_apply(Edje *ed, Edje_Real_Part *ep, 
Edje_Calc_Params *p3 EINA_U
  }
if (new_svg) // animation with svg id change
  {
-Efl_VG *container;
-if (ep->typedata.vector->cache.svg_id != new_svg)
-  {
- //create it
- vg_tree = _edje_create_vg_tree(ed->file->ef, new_svg, w, h, , 
, , );
- if (vg_tree)
-   {
-  //1. clear the cache
-  if (ep->typedata.vector->cache.vg)
-{
-   eo_unref(ep->typedata.vector->cache.vg);
-   ep->typedata.vector->cache.vg = NULL;
-   ep->typedata.vector->cache.svg_id = 0;
-}
-  //2. update current
-  ep->typedata.vector->cache.svg_id = new_svg;
-  ep->typedata.vector->cache.x = vx;
-  ep->typedata.vector->cache.y = vy;
-  ep->typedata.vector->cache.w = vw;
-  ep->typedata.vector->cache.h = vh;
-  ep->typedata.vector->cache.vg = vg_tree;
-   }
-  }
-// just do the interpolation
-if (eo_parent_get(ep->typedata.vector->cur.vg))
-  {
- // remove it from the hirarchy
- eo_ref(ep->typedata.vector->cur.vg);
- eo_parent_set(ep->typedata.vector->cur.vg, NULL);
-  }
-// create a container
-container = evas_vg_container_add(NULL);
-// reset the matrix.
-Eina_Matrix3 matrix;
-sx = w/ep->typedata.vector->cur.w;
-sy = h/ep->typedata.vector->cur.h;
-// for current vg
+start = _edje_ref_vector_data(ed, chosen_desc->vg.id);
+end = _edje_ref_vector_data(ed, new_svg);
+
+// for start vector
+sx = w/start->w;
+sy = h/start->h;
 eina_matrix3_identity();
-eina_matrix3_translate(, -ep->typedata.vector->cur.x, 
-ep->typedata.vector->cur.y);
+eina_matrix3_translate(, -start->x, -start->y);
 eina_matrix3_scale(, sx, sy);
-evas_vg_node_transformation_set(ep->typedata.vector->cur.vg, );
-// for next vg
-sx = w/ep->typedata.vector->cache.w;
-sy = h/ep->typedata.vector->cache.h;
+evas_vg_node_transformation_set(start->vg, );
+
+// for end vector
+sx = w/end->w;
+sy = h/end->h;
 eina_matrix3_identity();
-eina_matrix3_translate(, -ep->typedata.vector->cache.x, 
-ep->typedata.vector->cache.y);
+eina_matrix3_translate(, -end->x, -end->y);
 eina_matrix3_scale(, sx, sy);
-evas_vg_node_transformation_set(ep->typedata.vector->cache.vg, 
);
+evas_vg_node_transformation_set(end->vg, );
+
 // do the interpolation
-if (evas_vg_node_interpolate(container, ep->typedata.vector->cur.vg, 
ep->typedata.vector->cache.vg, pos))
-  {
- // can interpolate between two svg file
- eo_parent_set(container, root_vg);
-  }
-else
+if (!evas_vg_node_interpolate(ep->typedata.vector->cur.vg, start->vg, 
end->vg, pos))
   {
- // can't interpolate between 2 shape
- // keep the current vg tree
- eo_parent_set(ep->typedata.vector->cur.vg, root_vg);
- // delete the container
- eo_unref(container);
+ ERR(" Can't interpolate check the svg file \n");
   }
+// performance hack
+// instead of duplicating the tree and applying the transformation
+// i just updated the transformation matrix and reset it back to null.
+// assumption is that 

Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Hermet Park
edc new syntax hasn't been reviewed among people seriously.
 
-Original Message-
From: "Cedric BAIL" 
To: "Enlightenment developer list"; 
Cc: 
Sent: 2016-06-09 (목) 13:40:34
Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part 
to edc
 
On Thu, Jun 9, 2016 at 4:07 AM, Hermet Park  wrote:
> vector stuff is still beta feature.
>
> -Original Message-
> From: "Jean-Philippe André"
> To: "Enlightenment developer list";
> Cc:
> Sent: 2016-06-09 (목) 10:34:56
> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part 
> to edc
>
> On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:
>
>> cedric pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/core/efl.git/commit/?id=62c0a4ef087ea71355961e030b0620a60b77a026
>>
>> commit 62c0a4ef087ea71355961e030b0620a60b77a026
>> Author: Subhransu Mohanty 
>> Date:   Wed Jun 8 11:26:07 2016 -0700
>>
>> edje: add new svg part to edc
>>
>> Reviewers: Hermet, cedric
>>
>> Reviewed By: cedric
>>
>> Subscribers: jpeg, cedric, Hermet
>>
>> Differential Revision: https://phab.enlightenment.org/D3894
>>
>> Signed-off-by: Cedric BAIL 
>>
>
> Is this to be considered stable? Or still a beta feature?

The rendering is still beta in the sense that if it is not displaying
a SVG file properly it is considered a bug and the code will be
adjusted accordingly. Which means that the SVG support in Edje is
defined and should not be considered beta in the sense that the file
format and its behavior should not change. Only fixed and extended
(There is no implementation of scale support at this stage which is
really mandatory to be really useful to design UI element with it).
-- 
Cedric BAIL

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Cedric BAIL
On Thu, Jun 9, 2016 at 4:07 AM, Hermet Park  wrote:
> vector stuff is still beta feature.
>
> -Original Message-
> From: "Jean-Philippe André"
> To: "Enlightenment developer list";
> Cc:
> Sent: 2016-06-09 (목) 10:34:56
> Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part 
> to edc
>
> On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:
>
>> cedric pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/core/efl.git/commit/?id=62c0a4ef087ea71355961e030b0620a60b77a026
>>
>> commit 62c0a4ef087ea71355961e030b0620a60b77a026
>> Author: Subhransu Mohanty 
>> Date:   Wed Jun 8 11:26:07 2016 -0700
>>
>> edje: add new svg part to edc
>>
>> Reviewers: Hermet, cedric
>>
>> Reviewed By: cedric
>>
>> Subscribers: jpeg, cedric, Hermet
>>
>> Differential Revision: https://phab.enlightenment.org/D3894
>>
>> Signed-off-by: Cedric BAIL 
>>
>
> Is this to be considered stable? Or still a beta feature?

The rendering is still beta in the sense that if it is not displaying
a SVG file properly it is considered a bug and the code will be
adjusted accordingly. Which means that the SVG support in Edje is
defined and should not be considered beta in the sense that the file
format and its behavior should not change. Only fixed and extended
(There is no implementation of scale support at this stage which is
really mandatory to be really useful to design UI element with it).
-- 
Cedric BAIL

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: eolian: refine the ref system to suit more cases

2016-06-08 Thread Daniel Kolesa
On Thu, Jun 9, 2016 at 2:33 AM, Jean-Philippe André  wrote:
> Hi Daniel,
>
> On 8 June 2016 at 23:51, Daniel Kolesa  wrote:
>
>> q66 pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/core/efl.git/commit/?id=b87c4f6de82065b22c2dab32acf27afcbd3824cb
>>
>> commit b87c4f6de82065b22c2dab32acf27afcbd3824cb
>> Author: Daniel Kolesa 
>> Date:   Wed Jun 8 15:49:09 2016 +0100
>>
>> eolian: refine the ref system to suit more cases
>>
>> Now references are first class (but still restricted to one level).
>> Unlike
>> pointers they only mark the type instead of introducing a whole new
>> type.
>>
>
>
> Are these changes just cleaning up the internals of Eolian, or are there
> some conceptual changes with EO files?
>
> I think I saw a previous patch introducing @ref but this tag was for
> documentation, right?
> While here it sounds like you're talking about reference a la eo_ref?
>
> Is there something we need to know for the interfaces?

They're references as in C++ references or Rust borrowed pointers
(i.e. they allow you to pass a value argument by reference, for
example), they change the Eolian syntax, and will eventually replace
pointers as they are in Eolian right now. In comparison to pointers
they're more restricted (can only be used in certain contexts, cannot
be nested) so they're easier to handle in bindings. Once I settle with
semantics for refs, migration will happen (away from pointers) and
pointers will be removed.

>
>> [...]
>
> TIA,
>
> --
> Jean-Philippe André
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/enventor] master 01/01: tools: improve tooltip msg.

2016-06-08 Thread Hermet Park
hermet pushed a commit to branch master.

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

commit 1ad226474ca4e6e4fb4012643faf9a4c4caef8d9
Author: Hermet Park 
Date:   Thu Jun 9 11:36:32 2016 +0900

tools: improve tooltip msg.
---
 src/bin/tools.c | 16 +---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/bin/tools.c b/src/bin/tools.c
index 2cbc33e..fccf2e7 100644
--- a/src/bin/tools.c
+++ b/src/bin/tools.c
@@ -198,14 +198,20 @@ tools_init(Evas_Object *parent)
 
Evas_Object *btn;
btn = tools_btn_create(live_view_ly, "highlight",
-  _("Part Highlighting (Ctrl + H)"), highlight_cb);
+  _("Part Highlighting (Ctrl + H)"
+"Highlight effect on the selected part in the"
+"live view."),
+  highlight_cb);
elm_object_tooltip_orient_set(btn, ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT);
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_object_part_content_set(live_view_ly, "elm.swallow.highlight", btn);
td->highlight_btn = btn;
 
-   btn = tools_btn_create(live_view_ly, "dummy", _("Dummy Parts (Ctrl + W)"),
+   btn = tools_btn_create(live_view_ly, "dummy",
+  _("Dummy Parts (Ctrl + W)"
+"Display virtual images for the swallow and"
+"spacer parts."),
   dummy_cb);
elm_object_tooltip_orient_set(btn, ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT);
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -214,7 +220,11 @@ tools_init(Evas_Object *parent)
td->swallow_btn = btn;
 
//icon image is temporary, it should be changed to its own icon.
-   btn = tools_btn_create(live_view_ly, "mirror", _("Mirror Mode (Ctrl + M)"),
+   btn = tools_btn_create(live_view_ly, "mirror",
+  _("Mirror Mode (Ctrl + M)"
+"Invert layout horizontally. This previews "
+"design layout for the environemnt, RTL(Right"
+"to Left)/LTR(Left to Right) setting."),
   mirror_cb);
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);

-- 




Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Hermet Park
vector stuff is still beta feature.
 
-Original Message-
From: "Jean-Philippe André" 
To: "Enlightenment developer list"; 
Cc: 
Sent: 2016-06-09 (목) 10:34:56
Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part 
to edc
 
On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:

> cedric pushed a commit to branch master.
>
>
> http://git.enlightenment.org/core/efl.git/commit/?id=62c0a4ef087ea71355961e030b0620a60b77a026
>
> commit 62c0a4ef087ea71355961e030b0620a60b77a026
> Author: Subhransu Mohanty 
> Date:   Wed Jun 8 11:26:07 2016 -0700
>
> edje: add new svg part to edc
>
> Reviewers: Hermet, cedric
>
> Reviewed By: cedric
>
> Subscribers: jpeg, cedric, Hermet
>
> Differential Revision: https://phab.enlightenment.org/D3894
>
> Signed-off-by: Cedric BAIL 
>

Is this to be considered stable? Or still a beta feature?


-- 
Jean-Philippe André
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Jean-Philippe André
On 9 June 2016 at 03:35, Subhransu Mohanty  wrote:

> cedric pushed a commit to branch master.
>
>
> http://git.enlightenment.org/core/efl.git/commit/?id=62c0a4ef087ea71355961e030b0620a60b77a026
>
> commit 62c0a4ef087ea71355961e030b0620a60b77a026
> Author: Subhransu Mohanty 
> Date:   Wed Jun 8 11:26:07 2016 -0700
>
> edje: add new svg part to edc
>
> Reviewers: Hermet, cedric
>
> Reviewed By: cedric
>
> Subscribers: jpeg, cedric, Hermet
>
> Differential Revision: https://phab.enlightenment.org/D3894
>
> Signed-off-by: Cedric BAIL 
>

Is this to be considered stable? Or still a beta feature?


-- 
Jean-Philippe André
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: eolian: refine the ref system to suit more cases

2016-06-08 Thread Jean-Philippe André
Hi Daniel,

On 8 June 2016 at 23:51, Daniel Kolesa  wrote:

> q66 pushed a commit to branch master.
>
>
> http://git.enlightenment.org/core/efl.git/commit/?id=b87c4f6de82065b22c2dab32acf27afcbd3824cb
>
> commit b87c4f6de82065b22c2dab32acf27afcbd3824cb
> Author: Daniel Kolesa 
> Date:   Wed Jun 8 15:49:09 2016 +0100
>
> eolian: refine the ref system to suit more cases
>
> Now references are first class (but still restricted to one level).
> Unlike
> pointers they only mark the type instead of introducing a whole new
> type.
>


Are these changes just cleaning up the internals of Eolian, or are there
some conceptual changes with EO files?

I think I saw a previous patch introducing @ref but this tag was for
documentation, right?
While here it sounds like you're talking about reference a la eo_ref?

Is there something we need to know for the interfaces?

> [...]

TIA,

-- 
Jean-Philippe André
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: pdf: Fix build with poppler >= 0.40

2016-06-08 Thread Jean-Philippe André
On 9 June 2016 at 00:32, Stefan Schmidt  wrote:

> Hello.
>
> On 07/06/16 09:25, Jean-Philippe ANDRÉ wrote:
> > jpeg pushed a commit to branch master.
> >
> >
> http://git.enlightenment.org/core/efl.git/commit/?id=f3b625e5477acf451dda02d6577bcf3ef0b3b83d
> >
> > commit f3b625e5477acf451dda02d6577bcf3ef0b3b83d
> > Author: Jean-Philippe Andre 
> > Date:   Tue Jun 7 16:25:45 2016 +0900
> >
> >  pdf: Fix build with poppler >= 0.40
> >
> >  This disables PDF load if poppler >= 0.40 (current is 0.42 on
> >  my machine).
>
> What build issues did you have with poppler > 0.40? I got reports on the
> IRC channel that it builds fine for them and this commit is actually
> creating problems as they want poppler but have a higher version.
>
> I wanted to bring it up here to seen why you did it before reverting.
>
>
Some functions did not exist, that were called between #ifndef POPPLER_0_31.
I'm not sure about the details, will try to give it another look, and find
a proper fix.

-- 
Jean-Philippe André
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Build issue following the merge of generic modules

2016-06-08 Thread Jean-Philippe André
On 9 June 2016 at 00:26, Felipe Magno de Almeida  wrote:

> On Wed, Jun 8, 2016 at 7:22 AM, Carsten Haitzler 
> wrote:
> > On Sun, 5 Jun 2016 10:46:18 +0100 Tom Hacohen 
> said:
> >
> >> Hey,
> >>
> >> I'm getting:
> >>
> >> /usr/bin/ld: cannot find -lomp
> >> clang-3.8: error: linker command failed with exit code 1 (use -v to see
> >> invocation)
> >> Makefile:25569: recipe for target
> >> 'generic/evas/raw/evas_image_loader.raw' failed
> >>
> >> I guess I didn't see it before, because before raw was disabled by
> default.
> >
> > odd. i'm on arch too - and my raw loader is built and installed and i
> have no
> > libomp on the system at all. no openomp at all. :/ ?
>
> For GCC it works for me on arch, but clang fails with -lomp linking error.
>
>
Yes, see the other thread about OpenMP.
$ pacman -S openmp

-- 
Jean-Philippe André
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enlightenment DR 0.20.9 Release

2016-06-08 Thread Simon Lees


On 06/08/2016 11:14 PM, Quelrond wrote:
> Thanks!
> Can it be built with EFL 1.18 (from GIT)?
> 
> Peter
> 

As it only uses stable efl api that should be fine but I haven't tested
it, currently i'm expecting e21 will probably be released before 1.18
based off the current stability of each but that could change.

Cheers

> 
> On 06/08/2016 14:49, Simon Lees wrote:
>> CHANGES
>> https://git.enlightenment.org/core/enlightenment.git/tree/NEWS?h=v0.20.9
>>
>> TICKETS ADDRESSED
>> https://phab.enlightenment.org/T3277
>> https://phab.enlightenment.org/T3555
>> https://phab.enlightenment.org/T3654
>> https://phab.enlightenment.org/T3681
>> https://phab.enlightenment.org/T3683
>> https://phab.enlightenment.org/T3701
>> https://phab.enlightenment.org/T3702
>> https://phab.enlightenment.org/T3716
>>
>> SHA256SUM + DOWNLOAD
>> 48259584b77a9549a412f942cfeafad127ab3b60710c3118297397444be0deaa
>> http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.gz
>>
>> db792ad4d97b2523ff0bfc2c911bb3fea4b1eda60400871f4b78bc3ae2f1d1be
>> http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.xz
>>
>> See the full announcement for more details:
>> https://www.enlightenment.org/news/e20_9_release
>>
>>
>>
>> --
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>>
>>
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 

-- 

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
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [games/elemines] master 01/01: clear 'group has a non-fixed part' error log

2016-06-08 Thread Shuhrat Dehkanov
cedric pushed a commit to branch master.

http://git.enlightenment.org/games/elemines.git/commit/?id=cee2eb73328d54ed22706fc7626bd6ec9ea09e4b

commit cee2eb73328d54ed22706fc7626bd6ec9ea09e4b
Author: Shuhrat Dehkanov 
Date:   Wed Jun 8 14:56:47 2016 -0700

clear 'group has a non-fixed part' error log

Summary:
ERR<20906>:edje lib/edje/edje_calc.c:2765 _edje_part_recalc_single() file 
/usr/local/share/elemines/themes/default.edj, group timer has a non-fixed part 
'clock'. You should add 'fixed: 1 1'. But in order to optimize the edje calc, 
we add it automatically.
ERR<20906>:edje lib/edje/edje_calc.c:2765 _edje_part_recalc_single() file 
/usr/local/share/elemines/themes/default.edj, group mines has a non-fixed part 
'icon'. You should add 'fixed: 1 1'. But in order to optimize the edje calc, we 
add it automatically.

ERR<21363>:edje lib/edje/edje_calc.c:2765 _edje_part_recalc_single() file 
/usr/local/share/elemines/themes/default-big.edj, group timer has a non-fixed 
part 'clock'. You should add 'fixed: 1 1'. But in order to optimize the edje 
calc, we add it automatically.
ERR<21363>:edje lib/edje/edje_calc.c:2765 _edje_part_recalc_single() file 
/usr/local/share/elemines/themes/default-big.edj, group mines has a non-fixed 
part 'icon'. You should add 'fixed: 1 1'. But in order to optimize the edje 
calc, we add it automatically.

Test Plan: Run elemines from console or gdb and observe the error logs from 
edje

Reviewers: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL 
---
 data/themes/default/default-big.edc | 2 ++
 data/themes/default/default.edc | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/data/themes/default/default-big.edc 
b/data/themes/default/default-big.edc
index 41410f3..fbc55bc 100644
--- a/data/themes/default/default-big.edc
+++ b/data/themes/default/default-big.edc
@@ -53,6 +53,7 @@ collections {
 type: IMAGE;
 description {
   state: "default" 0.0;
+  fixed: 1 1;
   image {
 normal: "clock.png";
   }
@@ -102,6 +103,7 @@ collections {
 type: IMAGE;
 description {
   state: "default" 0.0;
+  fixed: 1 1;
   image {
 normal: "bomb.png";
   }
diff --git a/data/themes/default/default.edc b/data/themes/default/default.edc
index 6f190f4..37395cd 100644
--- a/data/themes/default/default.edc
+++ b/data/themes/default/default.edc
@@ -53,6 +53,7 @@ collections {
 type: IMAGE;
 description {
   state: "default" 0.0;
+  fixed: 1 1;
   image {
 normal: "clock.png";
   }
@@ -102,6 +103,7 @@ collections {
 type: IMAGE;
 description {
   state: "default" 0.0;
+  fixed: 1 1;
   image {
 normal: "bomb.png";
   }

-- 




[EGIT] [core/efl] master 06/06: edje: unamed part are completely legit as long as no program try to interact with them.

2016-06-08 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 088043e77af158941d9240a14f3463387f8eabfb
Author: Cedric BAIL 
Date:   Wed Jun 8 15:00:30 2016 -0700

edje: unamed part are completely legit as long as no program try to 
interact with them.
---
 src/bin/edje/edje_cc_handlers.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 0435713..0bbdb13 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -15079,9 +15079,8 @@ edje_cc_handlers_hierarchy_pop(void)
 
 if (!current_part->name)
   {
- ERR("Parse error near %s:%i. Unnamed part exists in Group \"%s\" 
- Pausing for a bit so you notice and remember to fix this.",
+ WRN("Parse error near %s:%i. Unnamed part exists in Group 
\"%s\".",
  file_in, line - 1, current_de->entry);
- sleep(10);
   }
 
 for (i = 0; i < current_part->other.desc_count; i++)

-- 




[EGIT] [core/efl] master 01/06: elementary: rearrange hoversel when its parent is resized

2016-06-08 Thread Jee-Yong Um
cedric pushed a commit to branch master.

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

commit 20c9ff8e042ae0be4f085c531036dcbc380ce800
Author: Jee-Yong Um 
Date:   Wed Jun 8 13:24:35 2016 -0700

elementary: rearrange hoversel when its parent is resized

Summary:
Hoversel will be rearranged when its parent is resized.
This patch was written by @godlytalias on tizen side.

Reviewers: cedric

Subscribers: jpeg, godlytalias

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

Signed-off-by: Cedric BAIL 
---
 src/lib/elementary/elc_hoversel.c | 27 +++
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/src/lib/elementary/elc_hoversel.c 
b/src/lib/elementary/elc_hoversel.c
index 8505c97..834cd69 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -551,6 +551,17 @@ _on_move_resize(void * data,
_resizing_eval(obj, sd);
 }
 
+static void
+_on_parent_resize(void *data,
+  Evas *e EINA_UNUSED,
+  Evas_Object *parent_obj EINA_UNUSED,
+  void *event_info EINA_UNUSED)
+{
+   Evas_Object *obj = (Evas_Object *)data;
+   ELM_HOVERSEL_DATA_GET(obj, sd);
+   _on_move_resize(sd, NULL, obj, NULL);
+}
+
 EOLIAN static void
 _elm_hoversel_evas_object_smart_add(Eo *obj, Elm_Hoversel_Data *priv)
 {
@@ -638,13 +649,21 @@ EOLIAN static void
 _elm_hoversel_hover_parent_set(Eo *obj, Elm_Hoversel_Data *sd, Evas_Object 
*parent)
 {
if (sd->hover_parent)
- evas_object_event_callback_del_full
-   (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
+ {
+evas_object_event_callback_del_full
+  (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
+evas_object_event_callback_del_full
+  (sd->hover_parent, EVAS_CALLBACK_RESIZE, _on_parent_resize, obj);
+ }
 
sd->hover_parent = parent;
if (sd->hover_parent)
- evas_object_event_callback_add
-   (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
+ {
+evas_object_event_callback_add
+  (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
+evas_object_event_callback_add
+  (sd->hover_parent, EVAS_CALLBACK_RESIZE, _on_parent_resize, obj);
+ }
 }
 
 EOLIAN static Evas_Object*

-- 




[EGIT] [core/efl] master 02/06: elementary: cleanup event handler setup for hoversel.

2016-06-08 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 8c7c301faf136841fcf9c32a54bb01c402ab3c4e
Author: Cedric BAIL 
Date:   Wed Jun 8 13:47:19 2016 -0700

elementary: cleanup event handler setup for hoversel.
---
 src/lib/elementary/elc_hoversel.c | 32 ++--
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/src/lib/elementary/elc_hoversel.c 
b/src/lib/elementary/elc_hoversel.c
index 834cd69..f8de753 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -448,13 +448,12 @@ _on_clicked(void *data, const Eo_Event *event EINA_UNUSED)
return EINA_TRUE;
 }
 
-static void
-_on_parent_del(void *data,
-   Evas *e EINA_UNUSED,
-   Evas_Object *obj EINA_UNUSED,
-   void *event_info EINA_UNUSED)
+static Eina_Bool
+_on_parent_del(void *data, const Eo_Event *ev EINA_UNUSED)
 {
elm_hoversel_hover_parent_set(data, NULL);
+
+   return EINA_TRUE;
 }
 
 EOLIAN static void
@@ -551,15 +550,14 @@ _on_move_resize(void * data,
_resizing_eval(obj, sd);
 }
 
-static void
-_on_parent_resize(void *data,
-  Evas *e EINA_UNUSED,
-  Evas_Object *parent_obj EINA_UNUSED,
-  void *event_info EINA_UNUSED)
+static Eina_Bool
+_on_parent_resize(void *data, const Eo_Event *ev EINA_UNUSED)
 {
Evas_Object *obj = (Evas_Object *)data;
ELM_HOVERSEL_DATA_GET(obj, sd);
_on_move_resize(sd, NULL, obj, NULL);
+
+   return EINA_TRUE;
 }
 
 EOLIAN static void
@@ -645,24 +643,22 @@ _elm_hoversel_eo_base_destructor(Eo *obj, 
Elm_Hoversel_Data *_pd EINA_UNUSED)
eo_destructor(eo_super(obj, MY_CLASS));
 }
 
+EO_CALLBACKS_ARRAY_DEFINE(_on_parent,
+  { EO_EVENT_DEL, _on_parent_del },
+  { EVAS_OBJECT_EVENT_RESIZE, _on_parent_resize });
+
 EOLIAN static void
 _elm_hoversel_hover_parent_set(Eo *obj, Elm_Hoversel_Data *sd, Evas_Object 
*parent)
 {
if (sd->hover_parent)
  {
-evas_object_event_callback_del_full
-  (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
-evas_object_event_callback_del_full
-  (sd->hover_parent, EVAS_CALLBACK_RESIZE, _on_parent_resize, obj);
+eo_event_callback_array_del(sd->hover_parent, _on_parent(), obj);
  }
 
sd->hover_parent = parent;
if (sd->hover_parent)
  {
-evas_object_event_callback_add
-  (sd->hover_parent, EVAS_CALLBACK_DEL, _on_parent_del, obj);
-evas_object_event_callback_add
-  (sd->hover_parent, EVAS_CALLBACK_RESIZE, _on_parent_resize, obj);
+eo_event_callback_array_add(sd->hover_parent, _on_parent(), obj);
  }
 }
 

-- 




[EGIT] [core/efl] master 04/06: evas: fix possible memory leaks in e3d_drawable_texture_rendered_pixels_get

2016-06-08 Thread Oleksandr Shcherbina
cedric pushed a commit to branch master.

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

commit 32d1f4b2e5bbdbb3a6bd0f391cf28a7c6ad382dd
Author: Oleksandr Shcherbina 
Date:   Wed Jun 8 13:58:28 2016 -0700

evas: fix possible memory leaks in e3d_drawable_texture_rendered_pixels_get

Summary:
@fix
CID: 1356243, 1356242, 1356242, 1356242

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL 
---
 src/modules/evas/engines/gl_common/evas_gl_3d.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_3d.c 
b/src/modules/evas/engines/gl_common/evas_gl_3d.c
index 404750a..bb99434 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_3d.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_3d.c
@@ -1460,6 +1460,8 @@ e3d_drawable_texture_rendered_pixels_get(GLuint tex 
EINA_UNUSED, int x, int y, i
if (!datarowup || !datarowlow)
  {
 ERR("Not enough memory");
+if (datarowup) free(datarowup);
+if (datarowlow) free(datarowlow);
 return;
  }
for (j = 0; j < h / 2; j++)
@@ -1467,7 +1469,7 @@ e3d_drawable_texture_rendered_pixels_get(GLuint tex 
EINA_UNUSED, int x, int y, i
 bellow = h * w - width;
 up = w + width;
 
-for (i = w; i >= 0; i--)
+for (i = w - 1; i >= 0; i--)
   {
  pixel = buffer[bellow];
  datarowlow[i] = ((pixel & 0x00ff) << 16) +

-- 




[EGIT] [core/efl] master 05/06: elmentary: trigger selected event when mouse is up in index.

2016-06-08 Thread Sungtaek Hong
cedric pushed a commit to branch master.

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

commit 0023efb420ea7cb66354b19628ce561ee937c4d1
Author: Sungtaek Hong 
Date:   Wed Jun 8 14:06:33 2016 -0700

elmentary: trigger selected event when mouse is up in index.

Summary:
- selected callback should be called when the user releases a mouse button
  and selects an item.

Reviewers: cedric, jpeg, Hermet, woohyun

Subscribers: conr2d, cedric, jpeg

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

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

diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c
index 1344bd2..f7a4ab2 100644
--- a/src/lib/elementary/elm_index.c
+++ b/src/lib/elementary/elm_index.c
@@ -857,6 +857,8 @@ _on_mouse_up(void *data,
  {
 eo_event_callback_call
   (data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, eo_item);
+eo_event_callback_call
+  (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item);
 eo_id_item = eo_item;
 ELM_INDEX_ITEM_DATA_GET(eo_id_item, id_item);
 if (id_item->func)

-- 




[EGIT] [core/efl] master 03/06: elementary: add implementation for elm_multibuttonentry_item_selected_get API

2016-06-08 Thread Shilpa Singh
cedric pushed a commit to branch master.

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

commit db79f8499c2fc801a5bf0769f1e4089da9f03e22
Author: Shilpa Singh 
Date:   Wed Jun 8 13:48:07 2016 -0700

elementary: add implementation for elm_multibuttonentry_item_selected_get 
API

Summary:
Added definition for item_selected_get API
Signed-off-by: Shilpa Singh 

@fix

Test Plan: select an item, call item_selected_get API to check status of 
the item

Reviewers: cedric, CHAN

Reviewed By: CHAN

Subscribers: CHAN, rajeshps, cedric, jpeg

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

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

diff --git a/src/lib/elementary/elc_multibuttonentry.c 
b/src/lib/elementary/elc_multibuttonentry.c
index a154571..df01d4f 100644
--- a/src/lib/elementary/elc_multibuttonentry.c
+++ b/src/lib/elementary/elc_multibuttonentry.c
@@ -1841,12 +1841,14 @@ _elm_multibuttonentry_item_selected_set(Eo *eo_item 
EINA_UNUSED,
 
 EOLIAN static Eina_Bool
 _elm_multibuttonentry_item_selected_get(Eo *eo_item,
-Elm_Multibuttonentry_Item_Data *item 
EINA_UNUSED)
+Elm_Multibuttonentry_Item_Data *item)
 {
-   //TODO : To be implemented.
+   ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN_VAL(WIDGET(item), sd, EINA_FALSE);
if (!eo_item) return EINA_FALSE;
+   if (EO_OBJ(sd->selected_it) == eo_item)
+  return EINA_TRUE;
 
-   return EINA_TRUE;
+   return EINA_FALSE;
 }
 
 EOLIAN static void

-- 




[EGIT] [apps/ephoto] master 01/01: Ephoto: Begin work on moving photo filter applies to use idlers.

2016-06-08 Thread Stephen okra Houston
okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=02aff67af04aff3e2a500aec41f5efd495e7c285

commit 02aff67af04aff3e2a500aec41f5efd495e7c285
Author: Stephen okra Houston 
Date:   Wed Jun 8 16:57:41 2016 -0500

Ephoto: Begin work on moving photo filter applies to use idlers.
---
 src/bin/ephoto_filters.c | 592 ---
 1 file changed, 458 insertions(+), 134 deletions(-)

diff --git a/src/bin/ephoto_filters.c b/src/bin/ephoto_filters.c
index abfda01..3707335 100644
--- a/src/bin/ephoto_filters.c
+++ b/src/bin/ephoto_filters.c
@@ -1,5 +1,33 @@
 #include "ephoto.h"
 
+typedef struct _Ephoto_Filter Ephoto_Filter;
+
+struct _Ephoto_Filter
+{
+   Evas_Object *main;
+   Evas_Object *image;
+   Evas_Object *popup;
+   Ecore_Idler *idler;
+   Eina_List *queue;
+   Evas_Coord w;
+   Evas_Coord h;
+   int pos;
+   int rad;
+   int qpos;
+   int qcount;
+   double drad;
+   unsigned int *im_data;
+   unsigned int *im_data_new;
+   unsigned int *im_data_two;
+};
+
+static Eina_Bool _blur(void *data);
+static Eina_Bool _sharpen(void *data);
+static Eina_Bool _grayscale(void *data);
+static Eina_Bool _negative(void *data);
+static Eina_Bool _posterize(void *data);
+static Eina_Bool _dodge(void *data);
+
 static int
 _normalize_color(int color)
 {
@@ -29,21 +57,136 @@ _demul_color_alpha(int color, int alpha)
   return color;
 }
 
-static unsigned int *
-_blur(unsigned int *im_data, int rad, Evas_Coord w, Evas_Coord h)
+static Evas_Object *
+_processing(Evas_Object *main)
+{
+   Evas_Object *popup, *box, *label, *pb;
+
+   evas_object_freeze_events_set(main, EINA_TRUE);
+
+   popup = elm_popup_add(main);
+   elm_object_part_text_set(popup, "title,text", _("Applying Filter"));
+   elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
+
+   box = elm_box_add(popup);
+   elm_box_horizontal_set(box, EINA_FALSE);
+   evas_object_size_hint_weight_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   evas_object_show(box);
+
+   label = elm_label_add(box);
+   elm_object_text_set(label,
+   _("Please wait while this filter is applied to your image."));
+   evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+   evas_object_size_hint_align_set(label, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   elm_box_pack_end(box, label);
+   evas_object_show(label);
+
+   pb = elm_progressbar_add(box);
+   evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, 0.0);
+   evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, 0.5);
+   elm_object_style_set(pb, "wheel");
+   elm_progressbar_pulse_set(pb, EINA_TRUE);
+   elm_box_pack_end(box, pb);
+   evas_object_show(pb);
+   elm_progressbar_pulse(pb, EINA_TRUE);
+
+   elm_object_part_content_set(popup, "default", box);
+   evas_object_show(popup);
+   return popup;
+}
+
+static void
+_idler_finishing_cb(Ephoto_Filter *ef, Eina_Bool im_data_two)
+{
+   if (ef->qcount == 0)
+ {
+ephoto_single_browser_image_data_done(ef->main, ef->im_data_new,
+ef->w, ef->h);
+ecore_idler_del(ef->idler);
+if (ef->popup)
+  {
+ evas_object_del(ef->popup);
+ evas_object_freeze_events_set(ef->main, EINA_FALSE);
+  }
+if (ef->im_data)
+  free(ef->im_data);
+if (ef->im_data_two)
+  free(ef->im_data_two);
+free(ef);
+ }
+   else
+ {
+if (im_data_two)
+  {
+ if (ef->im_data_two)
+   {
+  free(ef->im_data_two);
+  ef->im_data_two = NULL;
+   }
+ ef->im_data_two = malloc(sizeof(unsigned int) * ef->w * ef->h);
+ ef->im_data_two = memcpy(ef->im_data_two, ef->im_data,
+ sizeof(unsigned int) * ef->w * ef->h);
+  }
+free(ef->im_data);
+ef->im_data = NULL;
+ef->im_data = malloc(sizeof(unsigned int) * ef->w * ef->h);
+ef->im_data = memcpy(ef->im_data, ef->im_data_new,
+sizeof(unsigned int) * ef->w * ef->h);
+ef->pos = 0;
+ef->qpos++;
+ecore_idler_del(ef->idler);
+if (ef->qpos-1 < ef->qcount)
+  {
+ free(ef->im_data_new);
+ ef->im_data_new = NULL;
+ ef->im_data_new = malloc(sizeof(unsigned int) * ef->w * ef->h);
+ if (ef->idler)
+   {
+  ecore_idler_del(ef->idler);
+  ef->idler = NULL;
+   }
+ ef->idler = ecore_idler_add(eina_list_nth(ef->queue, ef->qpos-1), 
ef);
+  }
+else
+  {
+ ephoto_single_browser_image_data_done(ef->main, ef->im_data_new,
+ ef->w, ef->h);
+ ecore_idler_del(ef->idler);
+ if (ef->popup)
+   {
+  evas_object_del(ef->popup);
+  

[EGIT] [core/efl] master 01/01: edje: add new svg part to edc

2016-06-08 Thread Subhransu Mohanty
cedric pushed a commit to branch master.

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

commit 62c0a4ef087ea71355961e030b0620a60b77a026
Author: Subhransu Mohanty 
Date:   Wed Jun 8 11:26:07 2016 -0700

edje: add new svg part to edc

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: jpeg, cedric, Hermet

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

Signed-off-by: Cedric BAIL 
---
 src/Makefile_Edje.am|   1 +
 src/bin/edje/edje_cc_handlers.c | 124 +
 src/bin/edje/edje_cc_out.c  |  45 +
 src/bin/edje/edje_convert.c |   3 +
 src/bin/edje/edje_inspector.c   |   2 +
 src/lib/edje/Edje_Common.h  |   3 +-
 src/lib/edje/edje_cache.c   |   2 +
 src/lib/edje/edje_calc.c| 196 
 src/lib/edje/edje_convert.c |   3 +
 src/lib/edje/edje_data.c|  22 -
 src/lib/edje/edje_edit.c|   7 ++
 src/lib/edje/edje_load.c| 121 +
 src/lib/edje/edje_lua.c |   1 +
 src/lib/edje/edje_private.h |  43 -
 14 files changed, 570 insertions(+), 3 deletions(-)

diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index f85f7d9..b213db5 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -95,6 +95,7 @@ lib/edje/edje_var.c \
 lib/edje/edje_signal.c \
 lib/edje/edje_containers.c
 
+
 lib_edje_libedje_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl 
$(EDJE_COMMON_CPPFLAGS)
 lib_edje_libedje_la_LIBADD = @EDJE_LIBS@
 lib_edje_libedje_la_DEPENDENCIES = @EDJE_INTERNAL_LIBS@
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 0fa5a4f..0435713 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -533,11 +533,16 @@ static void st_collections_group_mouse(void);
 static void st_collections_group_nomouse(void);
 static void st_collections_group_broadcast(void);
 static void st_collections_group_nobroadcast(void);
+
+static void st_images_vector(void);
+static void _handle_vector_image(void);
+
 /*/
 
 
 #define IMAGE_STATEMENTS(PREFIX) \
  {PREFIX"images.image", st_images_image}, \
+ {PREFIX"images.vector", st_images_vector}, \
  {PREFIX"images.set.name", st_images_set_name}, \
  {PREFIX"images.set.image.image", st_images_set_image_image}, \
  {PREFIX"images.set.image.size", st_images_set_image_size}, \
@@ -1520,6 +1525,7 @@ New_Object_Handler object_handlers[] =
proxy{}
spacer{}
snapshot{}
+   vector{}
part {
   desc {
   }
@@ -1547,6 +1553,7 @@ New_Object_Handler object_handlers_short[] =
  {"collections.group.parts.proxy", ob_collections_group_parts_part_short},
  {"collections.group.parts.spacer", ob_collections_group_parts_part_short},
  {"collections.group.parts.part.desc", 
ob_collections_group_parts_part_desc},
+ {"collections.group.parts.vector", ob_collections_group_parts_part_short},
 };
 
 New_Nested_Handler nested_handlers[] = {
@@ -1565,6 +1572,7 @@ New_Nested_Handler nested_handlers_short[] = {
  {"collections.group.parts", "external", NULL, 
edje_cc_handlers_hierarchy_pop },
  {"collections.group.parts", "proxy", NULL, edje_cc_handlers_hierarchy_pop 
},
  {"collections.group.parts", "spacer", NULL, 
edje_cc_handlers_hierarchy_pop },
+ {"collections.group.parts", "vector", NULL, 
edje_cc_handlers_hierarchy_pop },
 };
 
 /*/
@@ -1922,6 +1930,15 @@ _edje_part_description_alloc(unsigned char type, const 
char *collection, const c
result = >common;
break;
 }
+  case EDJE_PART_TYPE_VECTOR:
+{
+   Edje_Part_Description_Vector *ed;
+
+   ed = mem_alloc(SZ(Edje_Part_Description_Vector));
+
+   result = >common;
+   break;
+}
  }
 
if (!result)
@@ -2292,6 +2309,99 @@ st_images_image(void)
  }
 }
 
+
+static void
+_handle_vector_image(void)
+{
+   Edje_Part_Description_Vector *ed;
+   unsigned int i = 0;
+   char *name;
+
+   ed = (Edje_Part_Description_Vector*) current_desc;
+
+   name = parse_str(0);
+
+   ed->vg.id = -1;
+
+   for (i = 0; i < edje_file->image_dir->vectors_count; ++i)
+ {
+if (!strcmp(edje_file->image_dir->vectors[i].entry, name))
+  {
+ ed->vg.set = EINA_TRUE;
+ ed->vg.id = edje_file->image_dir->vectors[i].id;
+ break;
+  }
+ }
+
+   free(name);
+}
+
+/** @edcsubsection{toplevel_images,
+ * Images} */
+
+/**
+@page edcref
+
+@block
+images
+@context
+vector {
+vector: "filename1.svg";
+vector: "filename2.svg";
+vector: "filename3.svg";
+..
+}
+@description
+The "vector" context in the "images" block is used to list each svg 
image 

[EGIT] [core/efl] master 02/02: edje: little bit of refactoring, more needed.

2016-06-08 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 4961586ddde817320574a8c38d9ac0dc233716f0
Author: Cedric BAIL 
Date:   Wed Jun 8 10:47:17 2016 -0700

edje: little bit of refactoring, more needed.
---
 src/bin/edje/edje_svg_loader.c | 186 ++---
 1 file changed, 81 insertions(+), 105 deletions(-)

diff --git a/src/bin/edje/edje_svg_loader.c b/src/bin/edje/edje_svg_loader.c
index 2ab2b4d..1ded253 100644
--- a/src/bin/edje/edje_svg_loader.c
+++ b/src/bin/edje/edje_svg_loader.c
@@ -107,72 +107,62 @@ _to_opacity(const char *str)
return a;
 }
 
+#define _PARSE_TAG(Type, Short_Name, Tags_Array, Default)   \
+  static Type _to_##Short_Name(const char *str) \
+  { \
+ unsigned int i;\
+\
+ for (i = 0; i < sizeof (Tags_Array) / sizeof (Tags_Array[0]); i++) \
+   if (!strcmp(str, Tags_Array[i].tag)) \
+ return Tags_Array[i].Short_Name;   \
+ return Default;\
+  }
 /* parse the line cap used during stroking a path.
  * Value:butt | round | square | inherit
  * Initial:butt
  * https://www.w3.org/TR/SVG/painting.html
  */
-static inline Efl_Gfx_Cap
-_to_line_cap(const char *str)
-{
-   Efl_Gfx_Cap cap = EFL_GFX_CAP_LAST;
+static struct {
+   Efl_Gfx_Cap line_cap;
+   const char *tag;
+} line_cap_tags[] = {
+  { EFL_GFX_CAP_BUTT, "butt" },
+  { EFL_GFX_CAP_ROUND, "round" },
+  { EFL_GFX_CAP_SQUARE, "square" }
+};
 
-   if (!strcmp(str, "butt"))
- {
-cap = EFL_GFX_CAP_BUTT;
- }
-   else if (!strcmp(str, "round"))
- {
-cap = EFL_GFX_CAP_ROUND;
- }
-   else if (!strcmp(str, "square"))
- {
-cap = EFL_GFX_CAP_SQUARE;
- }
-   return cap;
-}
+_PARSE_TAG(Efl_Gfx_Cap, line_cap, line_cap_tags, EFL_GFX_CAP_LAST);
 
 /* parse the line join used during stroking a path.
  * Value:   miter | round | bevel | inherit
  * Initial:miter
  * https://www.w3.org/TR/SVG/painting.html
  */
-static inline Efl_Gfx_Join
-_to_line_join(const char *str)
-{
-   Efl_Gfx_Join join = EFL_GFX_JOIN_LAST;
+static struct {
+   Efl_Gfx_Join line_join;
+   const char *tag;
+} line_join_tags[] = {
+  { EFL_GFX_JOIN_MITER, "miter" },
+  { EFL_GFX_JOIN_ROUND, "round" },
+  { EFL_GFX_JOIN_BEVEL, "bevel" }
+};
 
-   if (!strcmp(str, "miter"))
- {
-join = EFL_GFX_JOIN_MITER;
- }
-   else if (!strcmp(str, "round"))
- {
-join = EFL_GFX_JOIN_ROUND;
- }
-   else if (!strcmp(str, "bevel"))
- {
-join = EFL_GFX_JOIN_BEVEL;
- }
-   return join;
-}
+_PARSE_TAG(Efl_Gfx_Join, line_join, line_join_tags, EFL_GFX_JOIN_LAST);
 
 /* parse the fill rule used during filling a path.
  * Value:   nonzero | evenodd | inherit
  * Initial:nonzero
  * https://www.w3.org/TR/SVG/painting.html
  */
-static inline Efl_Gfx_Fill_Rule
-_to_fill_rule(const char *str)
-{
-   Efl_Gfx_Fill_Rule rule = EFL_GFX_FILL_RULE_WINDING;
 
-   if (!strcmp(str, "evenodd"))
- {
-rule = EFL_GFX_FILL_RULE_ODD_EVEN;
- }
-   return rule;
-}
+static struct {
+   Efl_Gfx_Fill_Rule fill_rule;
+   const char *tag;
+} fill_rule_tags[] = {
+  { EFL_GFX_FILL_RULE_ODD_EVEN, "evenodd" }
+};
+
+_PARSE_TAG(Efl_Gfx_Fill_Rule, fill_rule, fill_rule_tags, 
EFL_GFX_FILL_RULE_WINDING);
 
 /* parse the dash pattern used during stroking a path.
  * Value:   none |  | inherit
@@ -223,7 +213,6 @@ static char *
 {
char tmp[50];
int i = 0;
-   char * id;
 
url = _skip_space(url, NULL);
if ((*url) == '(')
@@ -238,9 +227,8 @@ static char *
 ++url;
  }
tmp[i] = '\0';
-   id = malloc(strlen(tmp));
-   strcpy(id, tmp);
-   return id;
+
+   return strdup(tmp);
 }
 
 static unsigned char
@@ -509,19 +497,6 @@ parse_length(const char *str, Svg_Length_Type *type)
return value;
 }
 
-static 
-Efl_Gfx_Fill_Rule
-_parse_fill_rule(const char *str)
-{
-   Efl_Gfx_Fill_Rule fill = EFL_GFX_FILL_RULE_WINDING;
-
-   if (!strcmp(str, "evenodd"))
- {
-fill = EFL_GFX_FILL_RULE_ODD_EVEN;
- }
-   return fill;
-}
-
 static Eina_Bool
 _attr_parse_svg_node(void *data, const char *key, const char *value)
 {
@@ -619,7 +594,7 @@ _handle_color_opacity_attr(Svg_Node* node, const char 
*value)
 static void
 _handle_fill_rule_attr(Svg_Node* node, const char *value)
 {
-   node->style->fill.fill_rule = _parse_fill_rule(value);
+   node->style->fill.fill_rule = _to_fill_rule(value);
 }
 
 static void
@@ -1084,33 +1059,23 @@ static const struct {
   TAG_DEF(switch)
 };
 
-static Factory_Method
-_find_group_factory(const char  *name)
-{
-   unsigned int i;
-   int sz = strlen(name);
-

[EGIT] [core/efl] master 01/02: edje: add svg support to parse and store a svg file as a vector object in .edj.

2016-06-08 Thread Subhransu Mohanty
cedric pushed a commit to branch master.

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

commit 698135b8e4a59ef08dc0c0e957ef073df2ef5296
Author: Subhransu Mohanty 
Date:   Wed Jun 8 10:26:38 2016 -0700

edje: add svg support to parse and store a svg file as a vector object in 
.edj.

Summary:
This is the svg loader which will parse the svg file and store it in a 
intermediate structure.
It provides the helper function to get EET descriptor to save the structure 
into eet file.

NOTE: Not all svg attributes are handled yet. but most common attributes 
are handled .

Reviewers: Hermet, cedric

Subscribers: Hermet, cedric, jpeg

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

Signed-off-by: Cedric BAIL 
---
 src/Makefile_Edje.am   |3 +-
 src/bin/edje/edje_cc.h |3 +
 src/bin/edje/edje_svg_loader.c | 1472 
 src/lib/edje/edje_data.c   |  409 +++
 src/lib/edje/edje_private.h|  225 ++
 5 files changed, 2111 insertions(+), 1 deletion(-)

diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 8dc400c..f85f7d9 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -163,7 +163,8 @@ bin/edje/edje_cc_parse.c \
 bin/edje/edje_cc_mem.c \
 bin/edje/edje_cc_handlers.c \
 bin/edje/edje_cc_sources.c \
-bin/edje/edje_multisense_convert.c
+bin/edje/edje_multisense_convert.c \
+bin/edje/edje_svg_loader.c
 bin_edje_edje_cc_CPPFLAGS = -I$(top_builddir)/src/lib/efl 
$(EDJE_COMMON_CPPFLAGS)
 bin_edje_edje_cc_LDADD =  $(USE_EDJE_BIN_LIBS)
 bin_edje_edje_cc_DEPENDENCIES = \
diff --git a/src/bin/edje/edje_cc.h b/src/bin/edje/edje_cc.h
index a097d8e..ad930c9 100644
--- a/src/bin/edje/edje_cc.h
+++ b/src/bin/edje/edje_cc.h
@@ -257,6 +257,9 @@ int get_param_index(char *str);
 void color_tree_root_free(void);
 void convert_color_code(char *str, int *r, int *g, int *b, int *a);
 
+Svg_Node* _svg_load(Eina_File *f, const char *key EINA_UNUSED);
+
+
 /* global vars */
 extern Eina_List *ext_dirs;
 extern Eina_List *img_dirs;
diff --git a/src/bin/edje/edje_svg_loader.c b/src/bin/edje/edje_svg_loader.c
new file mode 100644
index 000..2ab2b4d
--- /dev/null
+++ b/src/bin/edje/edje_svg_loader.c
@@ -0,0 +1,1472 @@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+
+#ifndef A_VAL
+#ifndef WORDS_BIGENDIAN
+/* x86 */
+#define A_VAL(p) (((uint8_t *)(p))[3])
+#define R_VAL(p) (((uint8_t *)(p))[2])
+#define G_VAL(p) (((uint8_t *)(p))[1])
+#define B_VAL(p) (((uint8_t *)(p))[0])
+#define AR_VAL(p) ((uint16_t *)(p)[1])
+#define GB_VAL(p) ((uint16_t *)(p)[0])
+#else
+/* ppc */
+#define A_VAL(p) (((uint8_t *)(p))[0])
+#define R_VAL(p) (((uint8_t *)(p))[1])
+#define G_VAL(p) (((uint8_t *)(p))[2])
+#define B_VAL(p) (((uint8_t *)(p))[3])
+#define AR_VAL(p) ((uint16_t *)(p)[0])
+#define GB_VAL(p) ((uint16_t *)(p)[1])
+#endif
+#endif
+
+#define ARGB_JOIN(a,r,g,b) \
+(((a) << 24) + ((r) << 16) + ((g) << 8) + (b))
+
+
+typedef Svg_Node *(*Factory_Method)(Svg_Node *parent, const char *buf, 
unsigned buflen);
+
+typedef Svg_Style_Gradient *(*Gradient_Factory_Method)(const char *buf, 
unsigned buflen);
+
+typedef struct _Evas_SVG_Loader Evas_SVG_Loader;
+struct _Evas_SVG_Loader
+{
+   Eina_Array *stack;
+   Svg_Node *doc;
+   Svg_Node *def;
+   Svg_Style_Gradient *gradient;
+   int level;
+   Eina_Bool result:1;
+};
+
+char *
+_skip_space(const char *str, const char *end)
+{
+   while (((end != NULL && str < end) || (end == NULL && *str != '\0')) && 
isspace(*str))
+ ++str;
+   return (char *)str;
+}
+
+static inline char *
+_copy_id(const char* str)
+{
+   char *id = malloc(strlen(str));
+
+   strcpy(id, str);
+   return id;
+}
+
+static const char *
+_skipcomma(const char *content)
+{
+   content = _skip_space(content, NULL);
+   if (*content == ',') return content + 1;
+   return content;
+}
+
+static inline Eina_Bool
+_parse_number(const char **content, double *number)
+{
+   char *end = NULL;
+
+   *number = strtod(*content, );
+   // if the start of string is not number
+   if ((*content) == end) return EINA_FALSE;
+   //skip comma if any
+   *content = _skipcomma(end);
+   return EINA_TRUE;
+}
+
+static inline double
+_to_double(const char *str)
+{
+   char *end = NULL;
+
+   return strtod(str, );
+}
+
+static inline int
+_to_opacity(const char *str)
+{
+   char *end = NULL;
+   int a = 0;
+   double opacity = strtod(str, );
+
+   if (*end == '\0')
+ a = lrint(opacity * 255);
+   return a;
+}
+
+/* parse the line cap used during stroking a path.
+ * Value:butt | round | square | inherit
+ * Initial:butt
+ * https://www.w3.org/TR/SVG/painting.html
+ */
+static inline Efl_Gfx_Cap
+_to_line_cap(const char *str)
+{
+   Efl_Gfx_Cap cap = EFL_GFX_CAP_LAST;
+
+   if (!strcmp(str, 

Re: [E-devel] promises...

2016-06-08 Thread Cedric BAIL
On Wed, Jun 8, 2016 at 8:10 AM,   wrote:
> On Wed, Jun 08, 2016 at 08:16:20PM +0900, Carsten Haitzler wrote:
>>
>  [...]
>> they should be eo objects.
>
> I wondered in the beginning why promises are not a eo object, comparing the
> two models shows that it can be dangerous moving promises to a Eo.Base class.
>
> Take a look at the events, when in a promise the then callback is
> called the callback is unsubscribed, and never called again. When a then
> callback is attached after the value is set the then callback is called
> while beeing added. So this is a completly different sematic compared to
> Eo.Base. Of course a implementation can be treated to do smth. like
> that, but i think its confusing to users of a api, if objects behave
> differently under the same base api.
>
> Also when attaching a then_cb you will get a ref of the promise, so as
> long as your then_cb is not called the promise will not be freed. This
> is also something which does not play with the ref/unref system of
> Eo.Base.
>
> Basically you can say, after the then_cb you just have to nuke your
> reference to your promise, at the best dont keep a reference to it.
>
> So all in all the concept of A Promise inheriting from Eo.Base doesnt
> sound sane to me, and looks like a huge confusion you can get in. So I
> would prefer to keep the promises as they are, exept the idea of using
> Eo_Id to make the pointer more secure.

Good point. It should have been a generic infrastructure anyway. Will
work on that.
-- 
Cedric BAIL

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: edje_edit: add missed part and description initializations

2016-06-08 Thread Vitalii Vorobiov
furrymyad pushed a commit to branch master.

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

commit 35634573070156882cd06253d2ff026ed3ed8025
Author: Vitalii Vorobiov 
Date:   Wed Jun 8 18:47:19 2016 +0300

edje_edit: add missed part and description initializations

@fix
---
 src/lib/edje/edje_edit.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index bca60c2..caf5c58 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -6326,6 +6326,11 @@ edje_edit_state_add(Evas_Object *obj, const char *part, 
const char *name, double
pd->map.backcull = EINA_FALSE;
pd->map.persp_on = EINA_FALSE;
pd->persp.zplane = EINA_FALSE;
+   pd->map.zoom.x = FROM_DOUBLE(1.0);
+   pd->map.zoom.y = FROM_DOUBLE(1.0);
+   pd->align_3d.x = FROM_DOUBLE(0.5);
+   pd->align_3d.y = FROM_DOUBLE(0.5);
+   pd->align_3d.z = FROM_DOUBLE(0.5);
pd->persp.focal = 1000;
 
if (rp->part->type == EDJE_PART_TYPE_TEXT

-- 




[EGIT] [core/efl] master 01/01: eolian-cxx: Fix some C++ quirks that makes clang warn about

2016-06-08 Thread Felipe Magno de Almeida
felipealmeida pushed a commit to branch master.

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

commit 343b88a735001de28bbe6eee9c1549c284bf6d09
Author: Felipe Magno de Almeida 
Date:   Wed Jun 8 12:55:19 2016 -0300

eolian-cxx: Fix some C++ quirks that makes clang warn about
---
 src/bindings/cxx/eo_cxx/eo_cxx_interop.hh   |  4 ++--
 src/lib/eolian_cxx/grammar/class_definition.hpp | 12 
 src/lib/eolian_cxx/grammar/klass_def.hpp|  8 
 src/lib/eolian_cxx/grammar/parameter.hpp|  2 +-
 src/lib/eolian_cxx/grammar/qualifier_def.hpp|  4 
 src/lib/eolian_cxx/grammar/type_impl.hpp| 14 +++---
 6 files changed, 18 insertions(+), 26 deletions(-)

diff --git a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh 
b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
index a19bb24..eb06ef1 100644
--- a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
+++ b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
@@ -323,12 +323,12 @@ T* convert_to_c_impl(std::unique_ptr& v, 
tag)
+Eina_Array** convert_to_c_impl(efl::eina::array& /*c*/, tag&>)
 {
   std::abort();
 }
 template 
-Eina_Array** convert_to_c_impl(efl::eina::range_array& c, tag&>)
+Eina_Array** convert_to_c_impl(efl::eina::range_array& /*c*/, 
tag&>)
 {
   std::abort();
 }
diff --git a/src/lib/eolian_cxx/grammar/class_definition.hpp 
b/src/lib/eolian_cxx/grammar/class_definition.hpp
index b5ec2a9..cbf45ad 100644
--- a/src/lib/eolian_cxx/grammar/class_definition.hpp
+++ b/src/lib/eolian_cxx/grammar/class_definition.hpp
@@ -110,18 +110,6 @@ struct class_definition_generator
  scope_tab << "Eo* _eo_ptr() const { return *(Eo**)this; }\n"
 ).generate(sink, attributes::unused, context)) return false;
  
- // operator ::ns::Class_Name() const;
- // operator ::ns::Class_Name&();
- // operator ::ns::Class_Name const&() const;
- if(!as_generator
-(
-scope_tab << "operator " << *("::" << lower_case[string]) << "::" 
<< string << "() const;\n"
- << scope_tab << "operator " << *("::" << lower_case[string]) << "::" 
<< string << "&();\n"
- << scope_tab << "operator " << *("::" << lower_case[string]) << "::" 
<< string << " const&() const;\n"
- ).generate(sink, std::make_tuple(cpp_namespaces, cls.cxx_name, 
cpp_namespaces, cls.cxx_name
-  , cpp_namespaces, cls.cxx_name), 
context))
-   return false;
-
  if(!as_generator
 (
  *attribute_reorder<1, 2, 0, 1>
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp 
b/src/lib/eolian_cxx/grammar/klass_def.hpp
index e9c988f..8a40dbd 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -279,11 +279,11 @@ inline void type_def::set(Eolian_Type const* eolian_type)
  case EOLIAN_TYPE_POINTER:
{
   std::vector pointers
-  {{ {qualifiers(eolian_type)}, false }};
+  {{ {qualifiers(eolian_type), {}}, false }};
   Eolian_Type const* base_type = 
eolian_type_base_type_get(eolian_type);
   while(eolian_type_type_get(base_type) == EOLIAN_TYPE_POINTER)
 {
-   pointers.push_back({qualifiers(base_type)});
+   pointers.push_back({{qualifiers(base_type), {}}});
base_type = eolian_type_base_type_get(base_type);
 }
 
@@ -295,7 +295,7 @@ inline void type_def::set(Eolian_Type const* eolian_type)
  case EOLIAN_TYPE_CLASS:
{
   Eolian_Class const* klass = eolian_type_class_get(eolian_type);
-  original_type = klass_name(klass, {qualifiers(eolian_type)}, {});
+  original_type = klass_name(klass, {qualifiers(eolian_type), {}}, {});
}
break;
  case EOLIAN_TYPE_COMPLEX:
@@ -636,7 +636,7 @@ struct klass_def
, inherit_last; inherit_iterator != inherit_last; 
++inherit_iterator)
{
  Eolian_Class const* inherit = 
::eolian_class_get_by_name(&*inherit_iterator);
- inherits.insert({inherit, {qualifier_info::is_none}, {}});
+ inherits.insert({inherit, {}, {}});
  inherit_algo(inherit);
}
};
diff --git a/src/lib/eolian_cxx/grammar/parameter.hpp 
b/src/lib/eolian_cxx/grammar/parameter.hpp
index c1fb1bc..f236841 100644
--- a/src/lib/eolian_cxx/grammar/parameter.hpp
+++ b/src/lib/eolian_cxx/grammar/parameter.hpp
@@ -13,7 +13,7 @@ struct add_reference_visitor
template 
void operator()(T& object) const
{
-  object.pointers.insert(object.pointers.begin(), 
{{attributes::qualifier_info::is_none}, true});
+  object.pointers.insert(object.pointers.begin(), {{}, true});
}
void operator()(attributes::complex_type_def& complex) const
{
diff --git 

[EGIT] [core/efl] master 01/01: eolian-cxx: Fix generation of some primitive types

2016-06-08 Thread Felipe Magno de Almeida
felipealmeida pushed a commit to branch master.

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

commit f683efd2c1082743c667e8b500b857cc852250be
Author: Felipe Magno de Almeida 
Date:   Wed Jun 8 12:19:15 2016 -0300

eolian-cxx: Fix generation of some primitive types

Fix translation of primitive types for C++ binding
---
 src/lib/eolian_cxx/grammar/type_impl.hpp | 22 +-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp 
b/src/lib/eolian_cxx/grammar/type_impl.hpp
index 0827f57..a1013ef 100644
--- a/src/lib/eolian_cxx/grammar/type_impl.hpp
+++ b/src/lib/eolian_cxx/grammar/type_impl.hpp
@@ -111,8 +111,28 @@ struct visitor_generate
  pointers.insert(pointers.begin(), 
{{attributes::qualifier_info::is_none, {}}, false});
  return attributes::regular_type_def{"void", 
regular.base_qualifier, pointers, {}};
}
-   , {"size", nullptr, [&] { return replace_base_type(regular, " 
::std::size_t"); }}
+   // signed primitives
+   , {"byte", nullptr, [&] { return replace_base_type(regular, " 
char"); }}
+   , {"llong", nullptr, [&] { return replace_base_type(regular, " long 
long"); }}
+   , {"int8", nullptr, [&] { return replace_base_type(regular, " 
int8_t"); }}
+   , {"int16", nullptr, [&] { return replace_base_type(regular, " 
int16_t"); }}
+   , {"int32", nullptr, [&] { return replace_base_type(regular, " 
int32_t"); }}
+   , {"int64", nullptr, [&] { return replace_base_type(regular, " 
int64_t"); }}
+   , {"ssize", nullptr, [&] { return replace_base_type(regular, " 
ssize_t"); }}
+   // unsigned primitives
, {"ubyte", nullptr, [&] { return replace_base_type(regular, " 
unsigned char"); }}
+   , {"ushort", nullptr, [&] { return replace_base_type(regular, " 
unsigned short"); }}
+   , {"uint", nullptr, [&] { return replace_base_type(regular, " 
unsigned int"); }}
+   , {"ulong", nullptr, [&] { return replace_base_type(regular, " 
unsigned long"); }}
+   , {"ullong", nullptr, [&] { return replace_base_type(regular, " 
unsigned long long"); }}
+   , {"uint8", nullptr, [&] { return replace_base_type(regular, " 
uint8_t"); }}
+   , {"uint16", nullptr, [&] { return replace_base_type(regular, " 
uint16_t"); }}
+   , {"uint32", nullptr, [&] { return replace_base_type(regular, " 
uint32_t"); }}
+   , {"uint64", nullptr, [&] { return replace_base_type(regular, " 
uint64_t"); }}
+   , {"size", nullptr, [&] { return replace_base_type(regular, " 
size_t"); }}
+   
+   , {"ptrdiff", nullptr, [&] { return replace_base_type(regular, " 
ptrdiff_t"); }}
+   , {"intptr", nullptr, [&] { return replace_base_type(regular, " 
intptr_t"); }}
, {"string", true, [&] { return replace_base_type(regular, " 
::std::string"); }}
, {"string", false, [&] { return replace_base_type(regular, " 
::efl::eina::string_view"); }}
, {"generic_value", nullptr, [&]

-- 




Re: [E-devel] [EGIT] [core/efl] master 02/02: pdf: Fix build with poppler >= 0.40

2016-06-08 Thread Stefan Schmidt
Hello.

On 07/06/16 09:25, Jean-Philippe ANDRÉ wrote:
> jpeg pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=f3b625e5477acf451dda02d6577bcf3ef0b3b83d
>
> commit f3b625e5477acf451dda02d6577bcf3ef0b3b83d
> Author: Jean-Philippe Andre 
> Date:   Tue Jun 7 16:25:45 2016 +0900
>
>  pdf: Fix build with poppler >= 0.40
>  
>  This disables PDF load if poppler >= 0.40 (current is 0.42 on
>  my machine).

What build issues did you have with poppler > 0.40? I got reports on the 
IRC channel that it builds fine for them and this commit is actually 
creating problems as they want poppler but have a higher version.

I wanted to bring it up here to seen why you did it before reverting.

regards
Stefan Schmidt

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Build issue following the merge of generic modules

2016-06-08 Thread Felipe Magno de Almeida
On Wed, Jun 8, 2016 at 7:22 AM, Carsten Haitzler  wrote:
> On Sun, 5 Jun 2016 10:46:18 +0100 Tom Hacohen  said:
>
>> Hey,
>>
>> I'm getting:
>>
>> /usr/bin/ld: cannot find -lomp
>> clang-3.8: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> Makefile:25569: recipe for target
>> 'generic/evas/raw/evas_image_loader.raw' failed
>>
>> I guess I didn't see it before, because before raw was disabled by default.
>
> odd. i'm on arch too - and my raw loader is built and installed and i have no
> libomp on the system at all. no openomp at all. :/ ?

For GCC it works for me on arch, but clang fails with -lomp linking error.

> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Felipe Magno de Almeida

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/eflete] master 04/04: editor: fix type with apply

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit eb79caab0c640eb06f145398c4f0ea92dbb52674
Author: Vitalii Vorobiov 
Date:   Wed Jun 8 17:29:20 2016 +0300

editor: fix type with apply
---
 src/bin/editor/editor_macro.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/editor/editor_macro.h b/src/bin/editor/editor_macro.h
index 05b5736..6043eac 100644
--- a/src/bin/editor/editor_macro.h
+++ b/src/bin/editor/editor_macro.h
@@ -89,7 +89,7 @@ editor_state_## FUNC ##_set(Evas_Object *edit_object, Change 
*change, Eina_Bool
 else \
   change_diff_add(change, diff); \
  } \
-   if (!apply) \
+   if (apply) \
  { \
if (!edje_edit_state_## FUNC ##_set(edit_object, part_name, state_name, 
state_val, new_val)) \
  return false; \

-- 




[EGIT] [tools/eflete] master 01/04: Property: add tooltip text for textblock style manager properties.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit 89fd2e0f13ba4665bfdfb03cbaf97d12adbc432e
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 16:34:54 2016 +0300

Property: add tooltip text for textblock style manager properties.
---
 src/bin/ui/property/property_textblock.c | 91 +---
 1 file changed, 60 insertions(+), 31 deletions(-)

diff --git a/src/bin/ui/property/property_textblock.c 
b/src/bin/ui/property/property_textblock.c
index 30fd6da..04b1e83 100644
--- a/src/bin/ui/property/property_textblock.c
+++ b/src/bin/ui/property/property_textblock.c
@@ -1222,27 +1222,32 @@ _init_items()
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_NAME:
   IT.name = "Font name";
   _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_NAME,
-   _(""));
+   _("Font description in fontconfig like format."
+ "E.g: \"Sans:style=Italic:lang=hi\". or 
\"Serif:style=Bold\"."));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WEIGHT:
   IT.name = "Font style (weight)";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WEIGHT,
-   _(""));
+   _("Overrides the weight defined in \"font\"."
+ "E.g: value \"Bold\" is the same as font value 
\"style=Bold\"."));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WIDTH:
   IT.name = "Font style (width)";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WIDTH,
-   _(""));
+   _("Overrides the width defined in \"font\"."
+ "E.g: value \"Condensed\" is the same as"
+ "font value \"style=Condensed"));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_COLOR:
   IT.name = "Color";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COLOR, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_COLOR,
-   _(""));
+   _("Text color. Color cold be choosen by"
+ "color selector UI tool."));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_SIZE:
   IT.name = "Size";
   _action1(, NULL, NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_SIZE,
-   _(""));
+   _("The font size in points."));
   break;
 
case PROPERTY_TEXTBLOCK_ITEM_POSITION_TITLE:
@@ -1254,24 +1259,42 @@ _init_items()
case PROPERTY_TEXTBLOCK_ITEM_POSITION_ALIGN_HOR:
   IT.name = "Horizontal align";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_ALIGN_HOR,
-  _(""));
+  _("Sets the horizontal alignment of the text."
+" * auto   - Respects LTR/RTL settings"
+" * center - Centers the text in the line"
+" * middle - Alias for \"center\""
+" * left   - Puts the text at the left of the line"
+" * right  - Puts the text at the right of the line 
"));
   break;
case PROPERTY_TEXTBLOCK_ITEM_POSITION_ALIGN_VER:
   IT.name = "Vertical align";
   _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_ALIGN_VER,
-   _(""));
+   _("Sets the vertical alignment of the text."
+ " * top  - Puts text at the top of the line"
+ " * center   - Centers the text in the line"
+ " * middle   - Alias for \"center\""
+ " * bottom   - Puts the text at the bottom of the 
line"
+ " * baseline - Baseline"
+ " * base - Alias for \"baseline\""));
   break;
case PROPERTY_TEXTBLOCK_ITEM_POSITION_MARGIN:
   IT.name = "Margin";
   _action1(, "left", "px", PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_MARGIN_LEFT,
-   _(""));
+   _("Sets the left margin of the text."
+ "In pixel."));
   _action2(, "right", "px", PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_MARGIN_RIGHT,
-   _(""));
+   _("Sets the right margin of the text."
+ "In pixel."));
   break;
case PROPERTY_TEXTBLOCK_ITEM_POSITION_WRAP:
   IT.name = "Wrap";
  

Re: [E-devel] promises...

2016-06-08 Thread marcel-hollerbach
Hello,

On Wed, Jun 08, 2016 at 08:16:20PM +0900, Carsten Haitzler wrote:
>
 [...]
> they should be eo objects.

I wondered in the beginning why promises are not a eo object, comparing the 
two models shows that it can be dangerous moving promises to a Eo.Base class.

Take a look at the events, when in a promise the then callback is
called the callback is unsubscribed, and never called again. When a then
callback is attached after the value is set the then callback is called
while beeing added. So this is a completly different sematic compared to
Eo.Base. Of course a implementation can be treated to do smth. like
that, but i think its confusing to users of a api, if objects behave
differently under the same base api.

Also when attaching a then_cb you will get a ref of the promise, so as
long as your then_cb is not called the promise will not be freed. This
is also something which does not play with the ref/unref system of
Eo.Base.

Basically you can say, after the then_cb you just have to nuke your
reference to your promise, at the best dont keep a reference to it.

So all in all the concept of A Promise inheriting from Eo.Base doesnt
sound sane to me, and looks like a huge confusion you can get in. So I
would prefer to keep the promises as they are, exept the idea of using
Eo_Id to make the pointer more secure.

Greetings
   bu5hm4n

> 
> -- 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
> 
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/eflete] master 02/04: Property: add tooltip text for color class manager property.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit e26b14b968e5e14dc7e3751c1c71c392ba0856f9
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 17:11:46 2016 +0300

Property: add tooltip text for color class manager property.

Only for "description".
---
 src/bin/ui/property/property_color.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/property/property_color.c 
b/src/bin/ui/property/property_color.c
index 7c3af28..0e8b8df 100644
--- a/src/bin/ui/property/property_color.c
+++ b/src/bin/ui/property/property_color.c
@@ -178,6 +178,7 @@ property_color_class_manager_init()
color_data.item_description.action1.init_cb = _init_cb;
color_data.item_description.action1.change_cb = _change_cb;
color_data.item_description.action1.update_cb = _update_cb;
+   color_data.item_description.action1.tooltip = 
eina_stringshare_add(_("Provides a descriptive name for the effect of the color 
class"));
 
color_data.item_title1.name = "Object color";
color_data.item_object_color.action1.control_type = 
PROPERTY_CONTROL_COLORSEL;

-- 




[EGIT] [tools/eflete] master 03/04: PO: add property_color.c and property_textblock.c files.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit 265a791181bc68a083023efbf0ada9f108108839
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 17:15:47 2016 +0300

PO: add property_color.c and property_textblock.c files.
---
 po/POTFILES.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index ad697d2..34d1577 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -58,6 +58,8 @@ src/bin/ui/preference/preference.c
 src/bin/ui/project_close.c
 src/bin/ui/property/property.c
 src/bin/ui/property/property_group.c
+src/bin/ui/property/property_color.c
+src/bin/ui/property/property_textblock.c
 src/bin/ui/shortcuts/shortcuts.c
 src/bin/ui/splash.c
 src/bin/ui/tab_home_open.c

-- 




[EGIT] [core/efl] master 01/01: eolian: refine the ref system to suit more cases

2016-06-08 Thread Daniel Kolesa
q66 pushed a commit to branch master.

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

commit b87c4f6de82065b22c2dab32acf27afcbd3824cb
Author: Daniel Kolesa 
Date:   Wed Jun 8 15:49:09 2016 +0100

eolian: refine the ref system to suit more cases

Now references are first class (but still restricted to one level). Unlike
pointers they only mark the type instead of introducing a whole new type.
---
 src/bin/eolian/common_funcs.c  | 33 ++-
 src/bin/eolian/common_funcs.h  |  1 -
 src/bin/eolian/docs_generator.c|  1 -
 src/bin/eolian/eo_generator.c  |  6 +--
 src/bin/eolian/impl_generator.c|  3 +-
 src/bin/eolian/legacy_generator.c  |  8 ++--
 src/bin/eolian/types_generator.c   |  5 +--
 src/bindings/luajit/eolian.lua | 16 
 src/lib/eolian/Eolian.h| 37 +
 src/lib/eolian/database_function_api.c | 13 --
 src/lib/eolian/database_type.c | 10 ++---
 src/lib/eolian/database_type_api.c | 16 
 src/lib/eolian/eo_lexer.h  |  4 +-
 src/lib/eolian/eo_parser.c | 75 +++---
 src/lib/eolian/eolian_database.h   |  6 +--
 src/tests/eolian/data/class_simple.eo  |  4 +-
 src/tests/eolian/data/struct.eo|  2 +-
 src/tests/eolian/eolian_parsing.c  | 11 ++---
 18 files changed, 90 insertions(+), 161 deletions(-)

diff --git a/src/bin/eolian/common_funcs.c b/src/bin/eolian/common_funcs.c
index ff82bcf..87aae20 100644
--- a/src/bin/eolian/common_funcs.c
+++ b/src/bin/eolian/common_funcs.c
@@ -133,34 +133,9 @@ _template_fill(Eina_Strbuf *buf, const char *templ, const 
Eolian_Class *class, c
 const char *
 _get_add_star(Eolian_Function_Type ftype, Eolian_Parameter_Dir pdir)
 {
-   switch (ftype)
- {
-  case EOLIAN_PROP_GET:
-if (pdir == EOLIAN_REF_PARAM)
-  return "**";
-else
-  return "*";
-  case EOLIAN_PROP_SET:
-if (pdir == EOLIAN_REF_PARAM)
-  return "*";
-else
-  return "";
-  default:
-if (pdir != EOLIAN_IN_PARAM)
-  return "*";
-else
-  return "";
- }
+   if (ftype == EOLIAN_PROP_GET)
+ return "*";
+   if ((pdir == EOLIAN_OUT_PARAM) || (pdir == EOLIAN_INOUT_PARAM))
+ return "*";
return "";
 }
-
-Eina_Stringshare *
-_get_rettype(const Eolian_Type *tp, Eina_Bool add_star)
-{
-   Eina_Stringshare *rtp = eolian_type_c_type_get(tp);
-   if (!add_star || !rtp) return rtp;
-   char buf[1024];
-   snprintf(buf, sizeof(buf), "%s%s", rtp, (rtp[strlen(rtp) - 1] == '*') ? "*" 
: " *");
-   eina_stringshare_del(rtp);
-   return eina_stringshare_add(buf);
-}
diff --git a/src/bin/eolian/common_funcs.h b/src/bin/eolian/common_funcs.h
index 1a3b4bc..b23515f 100644
--- a/src/bin/eolian/common_funcs.h
+++ b/src/bin/eolian/common_funcs.h
@@ -64,6 +64,5 @@ void _class_env_create(const Eolian_Class *class, const char 
*over_classname, _e
 void _class_func_env_create(const Eolian_Class *class, const char *funcname, 
Eolian_Function_Type ftype EINA_UNUSED, _eolian_class_func_vars *env);
 
 const char *_get_add_star(Eolian_Function_Type ftype, Eolian_Parameter_Dir 
pdir);
-Eina_Stringshare *_get_rettype(const Eolian_Type *tp, Eina_Bool add_star);
 
 #endif
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index 1e90f12..886bf9e 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -517,7 +517,6 @@ docs_generate_function(const Eolian_Function *fid, 
Eolian_Function_Type ftype,
 switch (dir)
   {
case EOLIAN_IN_PARAM:
-   case EOLIAN_REF_PARAM:
  eina_strbuf_append(buf, " * @param[in] ");
  curl += sizeof(" * @param[in] ") - 1;
  break;
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 8f93944..c12975a 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -71,7 +71,6 @@ eo_fundef_generate(const Eolian_Class *class, const 
Eolian_Function *func, Eolia
 
_class_func_env_create(class, eolian_function_name_get(func), ftype, 
_env);
rettypet = eolian_function_return_type_get(func, ftype);
-   Eina_Bool add_rstar = eolian_function_return_is_ref(func, ftype);
if (ftype == EOLIAN_PROP_GET && !rettypet)
  {
 itr = eolian_property_values_get(func, ftype);
@@ -144,7 +143,7 @@ eo_fundef_generate(const Eolian_Class *class, const 
Eolian_Function *func, Eolia
 eina_iterator_free(itr);
  }
 
-   if (rettypet) rettype = _get_rettype(rettypet, add_rstar);
+   if (rettypet) rettype = eolian_type_c_type_get(rettypet);
 
eina_strbuf_replace_all(str_func, "@#rettype", rettype ? rettype : "void");
if (!rettype || rettype[strlen(rettype) - 1] != '*')
@@ -318,7 +317,6 @@ eo_bind_func_generate(const Eolian_Class *class, const 

[EGIT] [tools/eflete] master 01/01: Property textblock style manager: prepare infrastructure for tooltips.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit 89a70c2e6d94dc46a4a6c77cbe1bba3039bd0d8a
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 15:47:38 2016 +0300

Property textblock style manager: prepare infrastructure for tooltips.
---
 src/bin/ui/property/property_textblock.c | 107 ---
 1 file changed, 71 insertions(+), 36 deletions(-)

diff --git a/src/bin/ui/property/property_textblock.c 
b/src/bin/ui/property/property_textblock.c
index cb646aa..30fd6da 100644
--- a/src/bin/ui/property/property_textblock.c
+++ b/src/bin/ui/property/property_textblock.c
@@ -1116,13 +1116,15 @@ _init_cb(Property_Attribute *pa, Property_Action 
*action)
 /* blocks */
 static inline void
 _action_internal(Property_Action *action, const char *name, const char *units,
- Property_Control control_type, Attribute_Textblock_Item 
attribute)
+ Property_Control control_type, Attribute_Textblock_Item 
attribute,
+ const char *tooltip)
 {
/* check that we haven't inited this action already */
assert(action->update_cb == NULL);
 
action->name = name;
action->units = units;
+   action->tooltip = eina_stringshare_add(tooltip);
action->control_type = control_type;
action->type.attribute_textblock = attribute;
action->init_cb = _init_cb;
@@ -1132,9 +1134,10 @@ _action_internal(Property_Action *action, const char 
*name, const char *units,
 
 static inline void
 _action1(Property_Attribute *pa, const char *name, const char *units,
- Property_Control control_type, Attribute_Textblock_Item attribute)
+ Property_Control control_type, Attribute_Textblock_Item attribute,
+ const char *tooltip)
 {
-   _action_internal(>action1, name, units, control_type, attribute);
+   _action_internal(>action1, name, units, control_type, attribute, 
tooltip);
 
assert(attribute_map[attribute].pa == NULL);
assert(attribute_map[attribute].action == NULL);
@@ -1145,9 +1148,10 @@ _action1(Property_Attribute *pa, const char *name, const 
char *units,
 
 static inline void
 _action2(Property_Attribute *pa, const char *name, const char *units,
- Property_Control control_type, Attribute_Textblock_Item attribute)
+ Property_Control control_type, Attribute_Textblock_Item attribute,
+ const char *tooltip)
 {
-   _action_internal(>action2, name, units, control_type, attribute);
+   _action_internal(>action2, name, units, control_type, attribute, 
tooltip);
 
assert(attribute_map[attribute].pa == NULL);
assert(attribute_map[attribute].action == NULL);
@@ -1217,23 +1221,28 @@ _init_items()
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_NAME:
   IT.name = "Font name";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_NAME);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_NAME,
+   _(""));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WEIGHT:
   IT.name = "Font style (weight)";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WEIGHT);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WEIGHT,
+   _(""));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WIDTH:
   IT.name = "Font style (width)";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WIDTH);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_FONT_STYLE_WIDTH,
+   _(""));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_COLOR:
   IT.name = "Color";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COLOR, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_COLOR);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_COLOR, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_COLOR,
+   _(""));
   break;
case PROPERTY_TEXTBLOCK_ITEM_TEXT_SIZE:
   IT.name = "Size";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_SIZE);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_TEXTBLOCK_ITEM_TEXT_SIZE,
+   _(""));
   break;
 
case PROPERTY_TEXTBLOCK_ITEM_POSITION_TITLE:
@@ -1244,20 +1253,25 @@ _init_items()
   break;
case PROPERTY_TEXTBLOCK_ITEM_POSITION_ALIGN_HOR:
   IT.name = "Horizontal align";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_TEXTBLOCK_ITEM_POSITION_ALIGN_HOR);
+  _action1(, NULL, NULL, 

Re: [E-devel] Enlightenment DR 0.20.9 Release

2016-06-08 Thread Quelrond
Thanks!
Can it be built with EFL 1.18 (from GIT)?

Peter


On 06/08/2016 14:49, Simon Lees wrote:
> CHANGES
> https://git.enlightenment.org/core/enlightenment.git/tree/NEWS?h=v0.20.9
>
> TICKETS ADDRESSED
> https://phab.enlightenment.org/T3277
> https://phab.enlightenment.org/T3555
> https://phab.enlightenment.org/T3654
> https://phab.enlightenment.org/T3681
> https://phab.enlightenment.org/T3683
> https://phab.enlightenment.org/T3701
> https://phab.enlightenment.org/T3702
> https://phab.enlightenment.org/T3716
>
> SHA256SUM + DOWNLOAD
> 48259584b77a9549a412f942cfeafad127ab3b60710c3118297397444be0deaa
> http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.gz
>
> db792ad4d97b2523ff0bfc2c911bb3fea4b1eda60400871f4b78bc3ae2f1d1be
> http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.xz
>
> See the full announcement for more details:
> https://www.enlightenment.org/news/e20_9_release
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>
>
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] annotated tag v0.20.9 created (now 5d2e70a)

2016-06-08 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

simotek pushed a change to annotated tag v0.20.9
in repository core/enlightenment.

at  5d2e70a   (tag)
   tagging  7f15166ee074ca087b2c0796ebc303416aa0f8d7 (commit)
  replaces  v0.20.8
 tagged by  Simon Lees
on  Wed Jun 8 12:50:25 2016 +0930

- Log -
0.20.9 release

Carsten Haitzler (2):
  e start - no it doesny need dbus-launch
  e - suspend.hibernat intelligently - dont account for ac power

Chris Michael (2):
  stop filling logs with buffer transform/scale spam
  change 'if' clause to make gcc-6 happy

Dave Andreoli (1):
  enlightenment_open: correctly return the exist status code of the 
executed command

Hannes Janetzek (1):
  just a small patch to make sure evry_hide does not get called 
synchronously from an Evry_Action

Massimo Maiurana (1):
  Updating italian translation

Mike Blumenkrantz (13):
  remove pulse sinks/sources from list before running cbs which access the 
list
  fix e_place_zone_region_smart_cleanup()
  add client util function for detecting popups, block popups in ibar/tasks
  update README.wayland to include xwayland crash bug
  update client remember on opacity change
  use current zone for shelf config dialog
  set x11 maximized window hint correctly on resize end
  delete x11 mouse-in job when hiding the job's client
  use current zone when activating a client's menu with the mouse
  handle shaded state when receiving x11 configure requests
  only block mouse-out callback for wl action clients if the mouse is 
grabbed
  unset comp_grabbed flag before action client compositor ungrab
  force mouse-in again during comp ungrab if client previously had mouse-in

Simon Lees (2):
  20.9 release
  20.9 NEWS Updates

---

No new revisions were added by this update.

-- 




[EGIT] [tools/eflete] master 10/10: property_group: map rotation center part

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit a1c392e76a65eeedc8ea7619c375c74482debc87
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 16:10:46 2016 +0300

property_group: map rotation center part
---
 src/bin/ui/property/property_group.c | 25 +++--
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index b6d15d7..fd2d2e9 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -850,18 +850,18 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_4:
  break;
   case ATTRIBUTE_STATE_TEXT_SIZE:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
  elm_spinner_min_max_set(action->control, 1, );
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+ elm_spinner_min_max_set(action->control, 0, );
+ break;
   case ATTRIBUTE_STATE_MAX_W:
   case ATTRIBUTE_STATE_MAX_H:
   case ATTRIBUTE_PART_ITEM_MAX_W:
   case ATTRIBUTE_PART_ITEM_MAX_H:
  elm_spinner_min_max_set(action->control, -1, );
  break;
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
- elm_spinner_min_max_set(action->control, 0, );
- break;
   case ATTRIBUTE_PART_ITEM_SPREAD_W:
   case ATTRIBUTE_PART_ITEM_SPREAD_H:
   case ATTRIBUTE_PART_ITEM_SPAN_COL:
@@ -2197,6 +2197,11 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  elm_spinner_value_set(action->control, int_val1);
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+ ewe_combobox_items_list_free(action->control, true);
+ str_val1 = edje_edit_state_map_rotation_center_get(EDIT_OBJ, 
STATE_ARGS);
+ _parts_combobox_fill(action->control, str_val1, 0);
+ edje_edit_string_free(str_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
  edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, _val1, 
NULL, NULL);
  elm_spinner_value_set(action->control, double_val1);
@@ -2952,6 +2957,9 @@ _start_cb(Property_Attribute *pa, Property_Action *action)
  VAL(int_val1) = edje_edit_state_map_perspective_zplane_get(EDIT_OBJ, 
STATE_ARGS);
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+ group_pd.history.format = _("map's rotation center part changed from 
\"%s\" to \"%s\"");
+ STR_VAL(str_val1, edje_edit_state_map_rotation_center_get(EDIT_OBJ, 
STATE_ARGS));
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
  group_pd.history.format = _("map rotation x changed from %.2f to 
%.2f");
  edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, 
_double_val1, NULL, NULL);
@@ -3885,6 +3893,12 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  group_pd.history.new.int_val1 = 
edje_edit_state_map_perspective_zplane_get(EDIT_OBJ, STATE_ARGS);
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+ assert(cb_item != NULL);
+ str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
+ CRIT_ON_FAIL(editor_state_map_rotation_center_set(EDIT_OBJ, 
CHANGE_NO_MERGE, STATE_ARGS, str_val1));
+ eina_stringshare_del(group_pd.history.new.str_val1);
+ group_pd.history.new.str_val1 = str_val1;
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
  CRIT_ON_FAIL(editor_state_map_rotation_x_set(EDIT_OBJ, CHANGE_MERGE, 
STATE_ARGS, double_val1));
  edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, 
_pd.history.new.double_val1, NULL, NULL);
@@ -4010,6 +4024,7 @@ _stop_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_FONT:
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
   case ATTRIBUTE_STATE_MAP_LIGHT:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_PROGRAM_SIGNAL:
   case ATTRIBUTE_PROGRAM_EMIT_SIGNAL:
   case ATTRIBUTE_PROGRAM_EMIT_SOURCE:
@@ -4191,8 +4206,6 @@ _stop_cb(Property_Attribute *pa, Property_Action *action)
(group_pd.history.new.bool_val1) ?
_("turned on") : _("turned off"));
  break;
-  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
- break;
   default:
  TODO("remove default case after all attributes will be added");
  CRIT("stop callback not found for %s (%s)", pa->name, action->name ? 
action->name : "unnamed");

-- 




[EGIT] [tools/eflete] master 04/10: editor: reset functions for map API

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit 9fd72f0127a8ebee25fecc0b62e463a710dd3596
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 13:32:31 2016 +0300

editor: reset functions for map API
---
 src/bin/editor/default.c   | 10 ++
 src/bin/editor/default.h   | 42 ++
 src/bin/editor/editor_states.c | 15 +++
 3 files changed, 67 insertions(+)

diff --git a/src/bin/editor/default.c b/src/bin/editor/default.c
index b67b861..a867e83 100644
--- a/src/bin/editor/default.c
+++ b/src/bin/editor/default.c
@@ -94,6 +94,8 @@ EDITOR_STATE_SIMPLE_RESET(fill_size_offset_y, 0)
 EDITOR_STATE_SIMPLE_RESET(container_padding_x, 0)
 EDITOR_STATE_SIMPLE_RESET(container_padding_y, 0)
 EDITOR_STATE_SIMPLE_RESET(text_size, 12)
+EDITOR_STATE_SIMPLE_RESET(map_perspective_focal, 0)
+EDITOR_STATE_SIMPLE_RESET(map_perspective_zplane, 0)
 
 EDITOR_STATE_SIMPLE_RESET(fixed_h, false)
 EDITOR_STATE_SIMPLE_RESET(fixed_w, false)
@@ -107,6 +109,11 @@ EDITOR_STATE_SIMPLE_RESET(text_max_x, false)
 EDITOR_STATE_SIMPLE_RESET(text_max_y, false)
 EDITOR_STATE_SIMPLE_RESET(text_min_x, false)
 EDITOR_STATE_SIMPLE_RESET(text_min_y, false)
+EDITOR_STATE_SIMPLE_RESET(map_on, false)
+EDITOR_STATE_SIMPLE_RESET(map_perspective_on, false)
+EDITOR_STATE_SIMPLE_RESET(map_smooth, true)
+EDITOR_STATE_SIMPLE_RESET(map_alpha, true)
+EDITOR_STATE_SIMPLE_RESET(map_backface_cull, false)
 
 #define EDITOR_NULL_STRING_DEFAULT_CHECK(FUNC, REAL_FUNC, PROTO_ARGS, ARGS) \
 Eina_Bool \
@@ -155,6 +162,9 @@ EDITOR_STATE_NULL_STRING_RESET(color_class, NULL)
 EDITOR_STATE_NULL_STRING_RESET(text_source, NULL)
 EDITOR_STATE_NULL_STRING_RESET(text_text_source, NULL)
 EDITOR_STATE_NULL_STRING_RESET(font, NULL)
+EDITOR_STATE_NULL_STRING_RESET(map_perspective, NULL)
+EDITOR_STATE_NULL_STRING_RESET(map_light, NULL)
+EDITOR_STATE_NULL_STRING_RESET(map_rotation_center, NULL)
 
 #define EDITOR_STATE_NOT_NULL_STRING_RESET(FUNC, RESET_VAL) \
 EDITOR_NOT_NULL_STRING_DEFAULT_CHECK(state_##FUNC, EDITOR_STATE_ARGS_PROTO, 
EDITOR_STATE_ARGS, RESET_VAL) \
diff --git a/src/bin/editor/default.h b/src/bin/editor/default.h
index fdc87a1..f4a8237 100644
--- a/src/bin/editor/default.h
+++ b/src/bin/editor/default.h
@@ -729,4 +729,46 @@ Eina_Bool
 editor_program_emit_source_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply,
   const char *program_name);
 
+/* map */
+Eina_Bool
+editor_state_map_on_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_on_reset(Evas_Object *edit_object, Change *change, Eina_Bool 
apply, const char *part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_perspective_on_default_is(Evas_Object *edit_object, const 
char *part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_perspective_on_reset(Evas_Object *edit_object, Change 
*change, Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_smooth_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_smooth_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_alpha_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_alpha_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_backface_cull_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_backface_cull_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_perspective_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_perspective_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_light_default_is(Evas_Object *edit_object, const char 
*part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_light_reset(Evas_Object *edit_object, Change *change, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val);
+Eina_Bool
+editor_state_map_rotation_center_default_is(Evas_Object *edit_object, const 
char *part_name, const char *state_name, double state_val);
+Eina_Bool
+editor_state_map_rotation_center_reset(Evas_Object *edit_object, Change 
*change, Eina_Bool apply, const char 

[EGIT] [tools/eflete] master 07/10: property_group: map point color apply and use

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit b120a6f5af67e011dff88e39e3dc889561566d7a
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 14:29:54 2016 +0300

property_group: map point color apply and use
---
 src/bin/ui/property/property_group.c | 73 ++--
 1 file changed, 69 insertions(+), 4 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index c3691ba..28f5ab1 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -2193,9 +2193,20 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 0, 
_val1, _val2, _val3, _val4);
+ property_color_control_color_set(action->control, int_val1, int_val2, 
int_val3, int_val4);
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_2:
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 1, 
_val1, _val2, _val3, _val4);
+ property_color_control_color_set(action->control, int_val1, int_val2, 
int_val3, int_val4);
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_3:
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 2, 
_val1, _val2, _val3, _val4);
+ property_color_control_color_set(action->control, int_val1, int_val2, 
int_val3, int_val4);
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_4:
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 3, 
_val1, _val2, _val3, _val4);
+ property_color_control_color_set(action->control, int_val1, int_val2, 
int_val3, int_val4);
  break;
   default:
  TODO("remove default case after all attributes will be added");
@@ -2921,9 +2932,36 @@ _start_cb(Property_Attribute *pa, Property_Action 
*action)
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
+ group_pd.history.format = _("point color '1' changed from 
[%d,%d,%d,%d] to [%d,%d,%d,%d]");
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 0, , , 
, );
+ VAL(int_val1) = r;
+ VAL(int_val2) = g;
+ VAL(int_val3) = b;
+ VAL(int_val4) = a;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_2:
+ group_pd.history.format = _("point color '2' changed from 
[%d,%d,%d,%d] to [%d,%d,%d,%d]");
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 1, , , 
, );
+ VAL(int_val1) = r;
+ VAL(int_val2) = g;
+ VAL(int_val3) = b;
+ VAL(int_val4) = a;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_3:
+ group_pd.history.format = _("point color '3' changed from 
[%d,%d,%d,%d] to [%d,%d,%d,%d]");
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 2, , , 
, );
+ VAL(int_val1) = r;
+ VAL(int_val2) = g;
+ VAL(int_val3) = b;
+ VAL(int_val4) = a;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_4:
+ group_pd.history.format = _("point color '4' changed from 
[%d,%d,%d,%d] to [%d,%d,%d,%d]");
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 3, , , 
, );
+ VAL(int_val1) = r;
+ VAL(int_val2) = g;
+ VAL(int_val3) = b;
+ VAL(int_val4) = a;
  break;
   default:
  TODO("remove default case after all attributes will be added");
@@ -3809,9 +3847,36 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
+ CRIT_ON_FAIL(editor_state_map_point_color_1_set(EDIT_OBJ, 
CHANGE_MERGE, STATE_ARGS, r, g, b, a));
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 0, , , 
, );
+ group_pd.history.new.int_val1 = r;
+ group_pd.history.new.int_val2 = g;
+ group_pd.history.new.int_val3 = b;
+ group_pd.history.new.int_val4 = a;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_2:
+ CRIT_ON_FAIL(editor_state_map_point_color_2_set(EDIT_OBJ, 
CHANGE_MERGE, STATE_ARGS, r, g, b, a));
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 1, , , 
, );
+ group_pd.history.new.int_val1 = r;
+ group_pd.history.new.int_val2 = g;
+ group_pd.history.new.int_val3 = b;
+ group_pd.history.new.int_val4 = a;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_3:
+ CRIT_ON_FAIL(editor_state_map_point_color_3_set(EDIT_OBJ, 
CHANGE_MERGE, STATE_ARGS, r, g, b, a));
+ edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 2, , , 
, );
+

[EGIT] [tools/eflete] master 01/10: Property: add tooltip text for box/table/items specific attributes.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit 001c7bc947a2e594fd452d72f8d860058b184803
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 14:04:35 2016 +0300

Property: add tooltip text for box/table/items specific attributes.
---
 src/bin/ui/property/property_group.c | 108 ---
 1 file changed, 75 insertions(+), 33 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 077bbac..53b810c 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -4903,23 +4903,36 @@ _init_items()
   break;
case PROPERTY_GROUP_ITEM_STATE_CONTAINER_ALIGN:
   IT.name = "Align";
-  _action1(, "x", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_ALIGN_X, NULL);
-  _action2(, "y", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_ALIGN_Y, NULL);
+  _action1(, "x", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_ALIGN_X,
+   _("Change the position of the point of balance"
+ "by X axis inside the container."));
+  _action2(, "y", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_ALIGN_Y,
+   _("Change the position of the point of balance"
+ "by Y axis inside the container."));
   break;
case PROPERTY_GROUP_ITEM_STATE_CONTAINER_PADDING:
   IT.name = "Padding";
-  _action1(, "x", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_PADING_X, NULL);
-  _action2(, "y", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_PADING_Y, NULL);
+  _action1(, "x", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_PADING_X,
+   _("Sets the space between cells by X axis in pixels."));
+  _action2(, "y", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_STATE_CONTAINER_PADING_Y,
+   _("Sets the space between cells by Y axis in pixels."));
   break;
case PROPERTY_GROUP_ITEM_STATE_CONTAINER_MIN:
   IT.name = "Min";
-  _action1(, "h", NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_STATE_CONTAINER_MIN_H, NULL);
-  _action2(, "v", NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_STATE_CONTAINER_MIN_V, NULL);
-  break;
+  _action1(, "h", NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_STATE_CONTAINER_MIN_H,
+   _("When this parameters is enabled it forces the"
+ "minimum horizonal size of the box/table to be equal 
to"
+ "the minimum horizonal size of the items."));
+  _action2(, "v", NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_STATE_CONTAINER_MIN_V,
+   _("When this parameters is enabled it forces the"
+ "minimum vertical size of the box/table to be equal 
to"
+ "the minimum vertical size of the items."));
+   break;
case PROPERTY_GROUP_ITEM_STATE_CONTAINER_HOMOGENEOUS:
   IT.name = "Homogeneous mode";
   IT.filter_data.part_types = PART_TABLE;
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_STATE_TABLE_HOMOGENEOUS, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_STATE_TABLE_HOMOGENEOUS,
+   _("Sets the homogeneous mode for the table."));
   break;
 
   /* part item block */
@@ -4932,71 +4945,100 @@ _init_items()
   break;
case PROPERTY_GROUP_ITEM_PART_ITEM_NAME:
   IT.name = "Name";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PART_ITEM_NAME, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PART_ITEM_NAME,
+   _("Sets the name of the object via 
evas_object_name_set()."));
   break;
case PROPERTY_GROUP_ITEM_PART_ITEM_SOURCE:
   IT.name = "Item source";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_PART_ITEM_SOURCE, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_COMBOBOX, 
ATTRIBUTE_PART_ITEM_SOURCE,
+   _("Sets the group this object will be made from."));
   break;
case PROPERTY_GROUP_ITEM_PART_ITEM_MIN:
   IT.name = "Min";
-  _action1(, "w", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_PART_ITEM_MIN_W, NULL);
-  _action2(, "h", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_PART_ITEM_MIN_H, NULL);
+  _action1(, "w", NULL, PROPERTY_CONTROL_SPINNER, 
ATTRIBUTE_PART_ITEM_MIN_W,
+   _("Sets the minimum size hints 

[EGIT] [tools/eflete] master 03/10: Property: add tooltip text for group data specific attributes.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit b087670cd894acee46772a9d24f03e563103860e
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 15:08:31 2016 +0300

Property: add tooltip text for group data specific attributes.
---
 src/bin/ui/property/property_group.c | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index b33e9b6..1b428e7 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -5256,11 +5256,15 @@ _init_items()
   break;
case PROPERTY_GROUP_ITEM_GROUP_DATA_NAME:
   IT.name = "Name";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_GROUP_DATA_NAME, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_GROUP_DATA_NAME,
+   _("Defines a new parameter, the value will be"
+ "the string specified next to it."));
   break;
case PROPERTY_GROUP_ITEM_GROUP_DATA_VALUE:
   IT.name = "Value";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_GROUP_DATA_VALUE, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_GROUP_DATA_VALUE,
+_("Defines a new parameter, the value will be"
+ "the string specified next to it."));
   break;
 
case PROPERTY_GROUP_ITEM_LAST:

-- 




[EGIT] [tools/eflete] master 09/10: property_group: map rotation apply and use

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit f7ab43b4ef4956f59bc3805e804c1219506c4eac
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 16:03:13 2016 +0300

property_group: map rotation apply and use
---
 src/bin/ui/property/property_group.c | 43 +++-
 1 file changed, 37 insertions(+), 6 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 83d4048..b6d15d7 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -844,9 +844,6 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_MAP_ALPHA:
   case ATTRIBUTE_STATE_MAP_BACKFACE_CULL:
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
-  case ATTRIBUTE_STATE_MAP_ROTATION_X:
-  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
-  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_2:
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_3:
@@ -905,6 +902,9 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_PROGRAM_TRANSITION_BEZIER_Y1:
   case ATTRIBUTE_PROGRAM_TRANSITION_BEZIER_X2:
   case ATTRIBUTE_PROGRAM_TRANSITION_BEZIER_Y2:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
  elm_spinner_min_max_set(action->control, -, );
  elm_spinner_step_set(action->control, 0.1);
  elm_spinner_label_format_set(action->control, "%.2f");
@@ -2198,8 +2198,17 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, _val1, 
NULL, NULL);
+ elm_spinner_value_set(action->control, double_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, NULL, 
_val1, NULL);
+ elm_spinner_value_set(action->control, double_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, NULL, NULL, 
_val1);
+ elm_spinner_value_set(action->control, double_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
  edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 0, 
_val1, _val2, _val3, _val4);
  property_color_control_color_set(action->control, int_val1, int_val2, 
int_val3, int_val4);
@@ -2229,6 +2238,7 @@ _start_cb(Property_Attribute *pa, Property_Action *action)
 {
int r, g, b, a, int_val1;
Eina_Stringshare *tmp_str_val1;
+   double tmp_double_val1;
 
assert(pa != NULL);
assert(action != NULL);
@@ -2943,8 +2953,20 @@ _start_cb(Property_Attribute *pa, Property_Action 
*action)
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
+ group_pd.history.format = _("map rotation x changed from %.2f to 
%.2f");
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, 
_double_val1, NULL, NULL);
+ VAL(double_val1) = tmp_double_val1;
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+ group_pd.history.format = _("map rotation y changed from %.2f to 
%.2f");
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, NULL, 
_double_val1, NULL);
+ VAL(double_val1) = tmp_double_val1;
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+ group_pd.history.format = _("map rotation z changed from %.2f to 
%.2f");
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, NULL, NULL, 
_double_val1);
+ VAL(double_val1) = tmp_double_val1;
+ break;
   case ATTRIBUTE_STATE_MAP_POINT_COLOR_1:
  group_pd.history.format = _("point color '1' changed from 
[%d,%d,%d,%d] to [%d,%d,%d,%d]");
  edje_edit_state_map_point_color_get(EDIT_OBJ, STATE_ARGS, 0, , , 
, );
@@ -3864,8 +3886,17 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
+ CRIT_ON_FAIL(editor_state_map_rotation_x_set(EDIT_OBJ, CHANGE_MERGE, 
STATE_ARGS, double_val1));
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, 
_pd.history.new.double_val1, NULL, NULL);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+ CRIT_ON_FAIL(editor_state_map_rotation_y_set(EDIT_OBJ, CHANGE_MERGE, 
STATE_ARGS, double_val1));
+ edje_edit_state_map_rotation_get(EDIT_OBJ, STATE_ARGS, NULL, 
_pd.history.new.double_val1, NULL);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+ 

[EGIT] [tools/eflete] master 05/10: property_group: map controls for rotation, focal, zplane

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit d4c579c7c42b9abf44619007072bb0f8b47e94f9
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 13:44:14 2016 +0300

property_group: map controls for rotation, focal, zplane
---
 src/bin/ui/property/property_group.c   | 80 +-
 src/bin/ui/property/property_private.h |  7 +++
 2 files changed, 86 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 1b428e7..c6b065a 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -538,6 +538,13 @@ _subitems_get(Property_Attribute *pa)
  APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_SMOOTH);
  APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ALPHA);
  APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_BACKFACE_CULL);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_PERSPECTIVE_FOCAL);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_PERSPECTIVE_ZPLANE);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ROTATION_CENTER);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ROTATION_X);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ROTATION_Y);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ROTATION_Z);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_POINT_COLOR);
  break;
   case PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TITLE:
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TO_X);
@@ -835,6 +842,13 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_MAP_SMOOTH:
   case ATTRIBUTE_STATE_MAP_ALPHA:
   case ATTRIBUTE_STATE_MAP_BACKFACE_CULL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+  case ATTRIBUTE_STATE_MAP_POINT_COLOR:
  break;
   case ATTRIBUTE_STATE_TEXT_SIZE:
  elm_spinner_min_max_set(action->control, 1, );
@@ -2168,6 +2182,14 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  bool_val1 = edje_edit_state_map_backface_cull_get(EDIT_OBJ, 
STATE_ARGS);
  elm_check_state_set(action->control, bool_val1);
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+  case ATTRIBUTE_STATE_MAP_POINT_COLOR:
+ break;
   default:
  TODO("remove default case after all attributes will be added");
  CRIT("update callback not found for %s (%s)", pa->name, action->name 
? action->name : "unnamed");
@@ -2885,6 +2907,14 @@ _start_cb(Property_Attribute *pa, Property_Action 
*action)
   case ATTRIBUTE_STATE_MAP_BACKFACE_CULL:
  group_pd.history.format = _("map backface cull %s");
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+  case ATTRIBUTE_STATE_MAP_POINT_COLOR:
+ break;
   default:
  TODO("remove default case after all attributes will be added");
  CRIT("start callback not found for %s (%s)", pa->name, action->name ? 
action->name : "unnamed");
@@ -3762,6 +3792,14 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  CRIT_ON_FAIL(editor_state_map_backface_cull_set(EDIT_OBJ, 
CHANGE_NO_MERGE, STATE_ARGS, bool_val1));
  group_pd.history.new.bool_val1 = bool_val1;
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Y:
+  case ATTRIBUTE_STATE_MAP_ROTATION_Z:
+  case ATTRIBUTE_STATE_MAP_POINT_COLOR:
+ break;
   default:
  TODO("remove default case after all attributes will be added");
  CRIT("change callback not found for %s (%s)", pa->name, action->name 
? action->name : "unnamed");
@@ -4015,6 +4053,14 @@ _stop_cb(Property_Attribute *pa, Property_Action *action)
(group_pd.history.new.bool_val1) ?
_("turned on") : _("turned off"));
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+  case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
+  case ATTRIBUTE_STATE_MAP_ROTATION_X:
+ 

[EGIT] [tools/eflete] master 02/10: Property: add tooltip text for programs specific attributes.

2016-06-08 Thread Mykyta Biliavskyi
rimmed pushed a commit to branch master.

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

commit a147bddf66edcb49d3cf2d8bc2fe0d4433108bb6
Author: Mykyta Biliavskyi 
Date:   Wed Jun 8 15:04:27 2016 +0300

Property: add tooltip text for programs specific attributes.
---
 src/bin/ui/property/property_group.c | 106 +++
 1 file changed, 83 insertions(+), 23 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 53b810c..b33e9b6 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -1208,7 +1208,7 @@ _afters_init_cb(Property_Attribute *pa, Property_Action 
*action)
assert(action != NULL);
assert(action->control != NULL);
 
-   _programs_combobox_fill(action->control, pa->data);
+  _programs_combobox_fill(action->control, pa->data);
 }
 
 static void
@@ -1278,6 +1278,10 @@ _afters_get(Property_Attribute *pa __UNUSED__)
 new_pa->action1.control_type = PROPERTY_CONTROL_COMBOBOX;
 new_pa->action1.init_cb = _afters_init_cb;
 new_pa->action1.change_cb = _afters_change_cb;
+new_pa->action1.tooltip =
+  eina_stringshare_add(_("Specifies a program to run 
after the current"
+ "program completes. The 
source and signal parameters"
+ "of a program run as an 
\"after\" are ignored."));
 items = eina_list_append(items, new_pa);
  }
return items;
@@ -1375,6 +1379,7 @@ _targets_get(Property_Attribute *pa __UNUSED__)
 new_pa->action1.control_type = PROPERTY_CONTROL_COMBOBOX;
 new_pa->action1.init_cb = _targets_init_cb;
 new_pa->action1.change_cb = _targets_change_cb;
+new_pa->action1.tooltip = eina_stringshare_add(_("Program or part on 
which the specified action acts."));
 items = eina_list_append(items, new_pa);
  }
return items;
@@ -5050,7 +5055,8 @@ _init_items()
   break;
case PROPERTY_GROUP_ITEM_PROGRAM_NAME:
   IT.name = "Name";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_NAME, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_NAME,
+   _("Symbolic name of program as a unique identifier."));
   break;
case PROPERTY_GROUP_ITEM_PROGRAM_ACTION_SCRIPT:
   IT.name = "Script";
@@ -5059,29 +5065,61 @@ _init_items()
   break;
case PROPERTY_GROUP_ITEM_PROGRAM_ACTION:
   IT.name = "Action";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_LABEL, 
ATTRIBUTE_PROGRAM_ACTION, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_LABEL, 
ATTRIBUTE_PROGRAM_ACTION,
+   _("Action to be performed by the program."));
   break;
case PROPERTY_GROUP_ITEM_PROGRAM_SIGNAL:
   IT.name = "Signal";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_SIGNAL, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_SIGNAL,
+   _("Specifies signal that should cause the program to 
run."
+ "The signal received must match the specified source 
to run."
+ "Signals may be globbed, but only one signal 
keyword"
+ "per program may be used. ex: 
\"mouse,clicked,*\";"
+ "(clicking any mouse button that matches source 
starts program)."
+ "A list of global signal, that edje provide:"
+ "  hold,on; hold,off;"
+ "  mouse,in; mouse,out; mouse,pressed,in; 
mouse,pressed,out;"
+ "  mouse,down,N: where N - mouse button number;"
+ "  mouse,down,N,double: where N - mouse button 
number;"
+ "  mouse,down,N,triple: where N - mouse button 
number;"
+ "  mouse,up,N: where N - mouse button number;"
+ "  mouse,clicked,N: where N - mouse button 
number;"
+ "  mouse,move;"
+ "  mouse,wheel,N,M: where N - the direction (by 
default is 0),"
+ "   M - 1 if wheel scrolled up and -1 
if down;"
+ "  drag,start; drag; drag,stop;"
+ "  focus,part,in; focus,part,out."));
   break;
case PROPERTY_GROUP_ITEM_PROGRAM_SOURCE:
   IT.name = "Source";
-  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_SOURCE, NULL);
+  _action1(, NULL, NULL, PROPERTY_CONTROL_ENTRY, 
ATTRIBUTE_PROGRAM_SOURCE,
+   _("Source of 

[EGIT] [tools/eflete] master 06/10: editor/property: refactor map color point for more flexible value change

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit a6eaf0bc5ac40f61c26a10ed31879f8a51fc4665
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 14:08:40 2016 +0300

editor/property: refactor map color point for more flexible value change
---
 src/bin/editor/diff.c  | 13 -
 src/bin/editor/diff.h  | 11 ---
 src/bin/editor/editor.h| 18 ++--
 src/bin/editor/editor_macro.h  | 48 +++
 src/bin/editor/editor_states.c | 52 +++---
 src/bin/ui/property/property_group.c   | 46 +-
 src/bin/ui/property/property_private.h |  3 +-
 7 files changed, 108 insertions(+), 83 deletions(-)

diff --git a/src/bin/editor/diff.c b/src/bin/editor/diff.c
index 20b39d5..d544a4d 100644
--- a/src/bin/editor/diff.c
+++ b/src/bin/editor/diff.c
@@ -110,9 +110,6 @@ _apply(Evas_Object *obj, Function_Info *fi)
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT:
  return 
((function_type_string_string_double_int_int_int_int)fi->function)(obj, NULL, 
false, true,
   fi->args.type_ssd.s1, fi->args.type_ssd.s2, 
fi->args.type_ssd.d3, fi->args.type_ssd.i4, fi->args.type_ssd.i5, 
fi->args.type_ssd.i6, fi->args.type_ssd.i7);
-  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
- return 
((function_type_string_string_double_int_int_int_int_int)fi->function)(obj, 
NULL, false, true,
-  fi->args.type_ssdi.s1, fi->args.type_ssdi.s2, 
fi->args.type_ssdi.d3, fi->args.type_ssdi.i4, 
fi->args.type_ssdi.i5, fi->args.type_ssdi.i6, 
fi->args.type_ssdi.i7, fi->args.type_ssdi.i8);
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  return ((function_type_string_string_double_uchar)fi->function)(obj, 
NULL, false, true,
   fi->args.type_ssduc.s1, fi->args.type_ssduc.s2, 
fi->args.type_ssduc.d3, fi->args.type_ssduc.uc4);
@@ -262,12 +259,6 @@ diff_update(Diff *diff, Diff *new_diff)
  eina_stringshare_ref(new_diff->redo.args.type_ssd.s1);
  eina_stringshare_ref(new_diff->redo.args.type_ssd.s2);
  break;
-  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
- eina_stringshare_del(diff->redo.args.type_ssdi.s1);
- eina_stringshare_del(diff->redo.args.type_ssdi.s2);
- eina_stringshare_ref(new_diff->redo.args.type_ssdi.s1);
- eina_stringshare_ref(new_diff->redo.args.type_ssdi.s2);
- break;
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  eina_stringshare_del(diff->redo.args.type_ssduc.s1);
  eina_stringshare_del(diff->redo.args.type_ssduc.s2);
@@ -431,10 +422,6 @@ diff_free(Diff *diff)
  eina_stringshare_del(diff->redo.args.type_ssd.s1);
  eina_stringshare_del(diff->redo.args.type_ssd.s2);
  break;
-  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
- eina_stringshare_del(diff->redo.args.type_ssdi.s1);
- eina_stringshare_del(diff->redo.args.type_ssdi.s2);
- break;
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  eina_stringshare_del(diff->redo.args.type_ssduc.s1);
  eina_stringshare_del(diff->redo.args.type_ssduc.s2);
diff --git a/src/bin/editor/diff.h b/src/bin/editor/diff.h
index b8d4d11..c488071 100644
--- a/src/bin/editor/diff.h
+++ b/src/bin/editor/diff.h
@@ -31,7 +31,6 @@ typedef enum {
FUNCTION_TYPE_STRING_STRING_DOUBLE_STRING,
FUNCTION_TYPE_STRING_STRING_DOUBLE_STRING_DOUBLE,
FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT,
-   FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT,
FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR,
FUNCTION_TYPE_STRING_EDJEPARTTYPE,
FUNCTION_TYPE_STRING_EDJETEXTEFFECT,
@@ -109,16 +108,6 @@ struct _Function_Info {
  Eina_Stringshare *s1;
  Eina_Stringshare *s2;
  double d3;
- int i4;
- int i5;
- int i6;
- int i7;
- int i8;
-  } type_ssdi;
-  struct {
- Eina_Stringshare *s1;
- Eina_Stringshare *s2;
- double d3;
  unsigned char uc4;
   } type_ssduc;
   struct {
diff --git a/src/bin/editor/editor.h b/src/bin/editor/editor.h
index b43969c..fb3c69c 100644
--- a/src/bin/editor/editor.h
+++ b/src/bin/editor/editor.h
@@ -174,7 +174,10 @@ typedef enum {
ATTRIBUTE_STATE_MAP_ROTATION_X,
ATTRIBUTE_STATE_MAP_ROTATION_Y,
ATTRIBUTE_STATE_MAP_ROTATION_Z,
-   ATTRIBUTE_STATE_MAP_POINT_COLOR,
+   ATTRIBUTE_STATE_MAP_POINT_COLOR_1,
+   ATTRIBUTE_STATE_MAP_POINT_COLOR_2,
+   ATTRIBUTE_STATE_MAP_POINT_COLOR_3,
+   ATTRIBUTE_STATE_MAP_POINT_COLOR_4,
ATTRIBUTE_PROGRAM_TRANSITION_TYPE,
ATTRIBUTE_PROGRAM_TRANSITION_FROM_CURRENT,

[EGIT] [tools/eflete] master 08/10: property_group: map perspective focal and zplane

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit 9ce94fff646190d56882fbcb6a6b2a5bcac5a8d3
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 15:40:18 2016 +0300

property_group: map perspective focal and zplane
---
 src/bin/ui/property/property_group.c | 28 
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 28f5ab1..83d4048 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -843,8 +843,6 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_MAP_SMOOTH:
   case ATTRIBUTE_STATE_MAP_ALPHA:
   case ATTRIBUTE_STATE_MAP_BACKFACE_CULL:
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
@@ -863,6 +861,10 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_PART_ITEM_MAX_H:
  elm_spinner_min_max_set(action->control, -1, );
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+ elm_spinner_min_max_set(action->control, 0, );
+ break;
   case ATTRIBUTE_PART_ITEM_SPREAD_W:
   case ATTRIBUTE_PART_ITEM_SPREAD_H:
   case ATTRIBUTE_PART_ITEM_SPAN_COL:
@@ -2187,7 +2189,13 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  elm_check_state_set(action->control, bool_val1);
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+ int_val1 = edje_edit_state_map_perspective_focal_get(EDIT_OBJ, 
STATE_ARGS);
+ elm_spinner_value_set(action->control, int_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+ int_val1 = edje_edit_state_map_perspective_zplane_get(EDIT_OBJ, 
STATE_ARGS);
+ elm_spinner_value_set(action->control, int_val1);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
@@ -2926,7 +2934,13 @@ _start_cb(Property_Attribute *pa, Property_Action 
*action)
  group_pd.history.format = _("map backface cull %s");
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+ group_pd.history.format = _("perspective focal changed from %d to 
%d");
+ VAL(int_val1) = edje_edit_state_map_perspective_focal_get(EDIT_OBJ, 
STATE_ARGS);
+ break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+ group_pd.history.format = _("perspective zplane changed from %d to 
%d");
+ VAL(int_val1) = edje_edit_state_map_perspective_zplane_get(EDIT_OBJ, 
STATE_ARGS);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
@@ -3841,7 +3855,13 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  group_pd.history.new.bool_val1 = bool_val1;
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+ CRIT_ON_FAIL(editor_state_map_perspective_focal_set(EDIT_OBJ, 
CHANGE_MERGE, STATE_ARGS, double_val1));
+ group_pd.history.new.int_val1 = 
edje_edit_state_map_perspective_focal_get(EDIT_OBJ, STATE_ARGS);
+ break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
+ CRIT_ON_FAIL(editor_state_map_perspective_zplane_set(EDIT_OBJ, 
CHANGE_MERGE, STATE_ARGS, double_val1));
+ group_pd.history.new.int_val1 = 
edje_edit_state_map_perspective_zplane_get(EDIT_OBJ, STATE_ARGS);
+ break;
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:
@@ -4018,6 +4038,8 @@ _stop_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_STATE_IMAGE_BORDER_RIGHT:
   case ATTRIBUTE_STATE_IMAGE_BORDER_TOP:
   case ATTRIBUTE_STATE_IMAGE_BORDER_BOTTOM:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
  CHECK_VAL(int_val1);
  msg = eina_stringshare_printf(group_pd.history.format,
group_pd.history.old.int_val1,
@@ -4135,8 +4157,6 @@ _stop_cb(Property_Attribute *pa, Property_Action *action)
(group_pd.history.new.bool_val1) ?
_("turned on") : _("turned off"));
  break;
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_FOCAL:
-  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ZPLANE:
   case ATTRIBUTE_STATE_MAP_ROTATION_CENTER:
   case ATTRIBUTE_STATE_MAP_ROTATION_X:
   case ATTRIBUTE_STATE_MAP_ROTATION_Y:

-- 




[EGIT] [core/enlightenment] enlightenment-0.20 02/02: 20.9 NEWS Updates

2016-06-08 Thread Simon Lees
simotek pushed a commit to branch enlightenment-0.20.

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

commit 7f15166ee074ca087b2c0796ebc303416aa0f8d7
Author: Simon Lees 
Date:   Wed Jun 8 12:48:33 2016 +0930

20.9 NEWS Updates
---
 NEWS | 34 ++
 1 file changed, 34 insertions(+)

diff --git a/NEWS b/NEWS
index b4ac861..fa30445 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,37 @@
+Release 0.20.9:
+-
+Carsten Haitzler (2):
+  e start - no it doesny need dbus-launch
+  e - suspend.hibernat intelligently - dont account for ac power
+
+Chris Michael (2):
+  stop filling logs with buffer transform/scale spam
+  change 'if' clause to make gcc-6 happy
+
+Dave Andreoli (1):
+  enlightenment_open: correctly return the exist status code of the 
executed command
+
+Hannes Janetzek (1):
+  just a small patch to make sure evry_hide does not get called 
synchronously from an Evry_Action
+
+Massimo Maiurana (1):
+  Updating italian translation
+
+Mike Blumenkrantz (13):
+  remove pulse sinks/sources from list before running cbs which access the 
list
+  fix e_place_zone_region_smart_cleanup()
+  add client util function for detecting popups, block popups in ibar/tasks
+  update README.wayland to include xwayland crash bug
+  update client remember on opacity change
+  use current zone for shelf config dialog
+  set x11 maximized window hint correctly on resize end
+  delete x11 mouse-in job when hiding the job's client
+  use current zone when activating a client's menu with the mouse
+  handle shaded state when receiving x11 configure requests
+  only block mouse-out callback for wl action clients if the mouse is 
grabbed
+  unset comp_grabbed flag before action client compositor ungrab
+  force mouse-in again during comp ungrab if client previously had mouse-in
+
 Release 0.20.8:
 -
 Chris Michael (1):

-- 




[EGIT] [core/enlightenment] enlightenment-0.20 01/02: 20.9 release

2016-06-08 Thread Simon Lees
simotek pushed a commit to branch enlightenment-0.20.

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

commit c5ac8134beffe3257da34197bada520fe758d1c7
Author: Simon Lees 
Date:   Wed Jun 8 12:41:01 2016 +0930

20.9 release
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c015350..c58c213 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,11 +2,11 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [0])
 m4_define([v_min], [20])
-m4_define([v_mic], [8])
+m4_define([v_mic], [9])
 m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 
0) | tr -d '\n']))dnl
 ##--   When released, remove the dnl on the below line
 m4_undefine([v_rev])
-m4_define([relname], [0.20.8])
+m4_define([relname], [0.20.9])
 ##--   When doing snapshots - change soname. remove dnl on below line
 m4_define([relname], [ver-autocannoli-0.20])
 dnl m4_define([v_rel], [-release relname])

-- 




Re: [E-devel] OpenMP

2016-06-08 Thread David Seikel
On Wed, 8 Jun 2016 11:04:19 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> On Tue, 7 Jun 2016 20:28:59 +0200 Davide Andreoli
>  said:
> 
> > 2016-06-07 7:27 GMT+02:00 Jean-Philippe André :
> > 
> > > On 7 June 2016 at 13:32, Jean-Philippe André 
> > > wrote:
> > >
> > > >
> > > >
> > > >
> > > > On 7 June 2016 at 13:27, Simon Lees  wrote:
> > > >
> > > >>
> > > >>
> > > >> On 06/07/2016 01:50 PM, Jean-Philippe André wrote:
> > > >> > Hi,
> > > >> >
> > > >> > This morning EFL build failed with missing -lomp. OpenMP was
> > > >> > not
> > > >> installed
> > > >> > on my machine (archlinux) and installing it fixed the build.
> > > >> >
> > > >> > But somewhere in the >100 patches merged since Friday this
> > > >> > new
> > > >> dependency
> > > >> > was added. It's weird as I couldn't find anything related to
> > > >> > openmp or
> > > >> omp.
> > > >> > Also, -lomp appears indirectly when clang is called with
> > > >> > -lopenmp.
> > > >> >
> > > >> > Any idea what is going on?
> > > >> >
> > > >>
> > > >> At a guess its either evas-generic-loaders or
> > > >> emotion-generic-players, I think they were switched to enable
> > > >> all loaders by default rather then disabled but I could be
> > > >> wrong.
> > > >>
> > > >>
> > > > Good catch!
> > > > It seems to be a dependency of libraw.
> > > >
> > > > Not sure if it's a problem with my distro or if RAW should be
> > > > disabled by default.
> > > > pkg-config --libs libraw shows -lopenmp even though I somehow
> > > > could install libraw without openmp.
> > > >
> > > > Also we might need to check for libraw AND openmp? Or is libraw
> > > > badly packaged in arch?
> > > >
> > >
> > > The generic loaders merge adds a lot of new dependencies for efl
> > > (spectre, librsvg, cairo, openmp, libraw, ...).
> > > It seems they shouldn't be built by default?
> > >
> > 
> > I really think that svg (librsvg->cairo) and pdf (poppler) must be
> > on by default,
> > without them your efl apps cannot render pdf and svg, and I
> > consider those file types important for a decent desktop experience.
> > 
> > Maybe we can make raw (libraw->openmp) and ps (libspectre) off by
> > default, but also in this case I think they should be enabled, to
> > encourage their usage
> > and testing.
> > Otherwise we will get users to report bugs like: ephoto cannot show
> > the raw images from my camera... etc.
> 
> forget openmp. that seems to be a distro specific issue with build
> options. arch certainly needs no openmp for libraw. i think libraw
> being on by default is worth it for sure because fo the exact reason
> you give above. --disable it i you dont want it.
> 
> libspectre is a little more of an edge case. pdf has pretty much
> supplanted ps by now so i would say it's not that common... and i am
> sure someone will go "but but i have ps files". there is always
> someone. :) the question is - what is the right balance of making it
> a "required by default but able to be disabled" option vs "requiring
> enablement".

No PostScript here, and I pretty much only use PDFs when others
insist.  Though mostly they insist on MS Word docs, but never specify
which of the several slightly incompatible versions of this alledged
standard they actually mean.  I used to just send them RTFs, coz Word
reads that fine, but I switched to PDFs when tables didn't always work
so good in RTF.  No one has complained about the PDFs.

Raw I use in my big virtual world project coz Second Life uses raw
images for terrain heightmaps, and I'm trying to be backwards
compatible with their legacy data formats.

So my vote - Raw fer sure, PDF only coz I have to, but not PostScript.

Oh, and SVG is good to.  Oddly enough, I plan to soon convert a Cairo
proggy to an EFL proggy, but Cairo itself wont be needed by me in EFL.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Enlightenment DR 0.20.9 Release

2016-06-08 Thread Simon Lees
CHANGES
https://git.enlightenment.org/core/enlightenment.git/tree/NEWS?h=v0.20.9

TICKETS ADDRESSED
https://phab.enlightenment.org/T3277
https://phab.enlightenment.org/T3555
https://phab.enlightenment.org/T3654
https://phab.enlightenment.org/T3681
https://phab.enlightenment.org/T3683
https://phab.enlightenment.org/T3701
https://phab.enlightenment.org/T3702
https://phab.enlightenment.org/T3716

SHA256SUM + DOWNLOAD
48259584b77a9549a412f942cfeafad127ab3b60710c3118297397444be0deaa
http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.gz

db792ad4d97b2523ff0bfc2c911bb3fea4b1eda60400871f4b78bc3ae2f1d1be
http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.xz

See the full announcement for more details:
https://www.enlightenment.org/news/e20_9_release

-- 

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
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [website/www-content] master 01/01: Wiki page e-0.20.9-release changed with summary [] by Simon

2016-06-08 Thread Simon
WWW-www.enlightenment.org pushed a commit to branch master.

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

commit 663535a2e65d58f93fa7607a17cbc0d9c994c9ba
Author: Simon 
Date:   Wed Jun 8 05:44:00 2016 -0700

Wiki page e-0.20.9-release changed with summary [] by Simon
---
 pages/news/e-0.20.9-release.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/news/e-0.20.9-release.txt b/pages/news/e-0.20.9-release.txt
index 306c613..cf5b1b0 100644
--- a/pages/news/e-0.20.9-release.txt
+++ b/pages/news/e-0.20.9-release.txt
@@ -1,4 +1,4 @@
-=== Title Here ===
+=== Enlightenment DR 0.20.9 Release ===
   * //2016-06-08 - by Simon//
 
 This bugfix release improves on the 0.20.8 release and resolves a number of 
issues.

-- 




[EGIT] [website/www-content] master 01/01: Wiki page e-0.20.9-release changed with summary [created] by Simon

2016-06-08 Thread Simon
WWW-www.enlightenment.org pushed a commit to branch master.

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

commit 7d33b9a120d38d3ec7c53acff8273c0b5cd5edd7
Author: Simon 
Date:   Wed Jun 8 05:42:52 2016 -0700

Wiki page e-0.20.9-release changed with summary [created] by Simon
---
 pages/news/e-0.20.9-release.txt | 74 +
 1 file changed, 74 insertions(+)

diff --git a/pages/news/e-0.20.9-release.txt b/pages/news/e-0.20.9-release.txt
new file mode 100644
index 000..306c613
--- /dev/null
+++ b/pages/news/e-0.20.9-release.txt
@@ -0,0 +1,74 @@
+=== Title Here ===
+  * //2016-06-08 - by Simon//
+
+This bugfix release improves on the 0.20.8 release and resolves a number of 
issues.
+
+== Tickets Addressed ==
+
+  * https://phab.enlightenment.org/T3277
+  * https://phab.enlightenment.org/T3555
+  * https://phab.enlightenment.org/T3654
+  * https://phab.enlightenment.org/T3681
+  * https://phab.enlightenment.org/T3683
+  * https://phab.enlightenment.org/T3701
+  * https://phab.enlightenment.org/T3702
+  * https://phab.enlightenment.org/T3716
+
+== Changes ==
+Carsten Haitzler (2):
+  e start - no it doesny need dbus-launch
+  e - suspend.hibernat intelligently - dont account for ac power
+
+Chris Michael (2):
+  stop filling logs with buffer transform/scale spam
+  change 'if' clause to make gcc-6 happy
+
+Dave Andreoli (1):
+  enlightenment_open: correctly return the exist status code of the 
executed command
+
+Hannes Janetzek (1):
+  just a small patch to make sure evry_hide does not get called 
synchronously from an Evry_Action
+
+Massimo Maiurana (1):
+  Updating italian translation
+
+Mike Blumenkrantz (13):
+  remove pulse sinks/sources from list before running cbs which access the 
list
+  fix e_place_zone_region_smart_cleanup()
+  add client util function for detecting popups, block popups in ibar/tasks
+  update README.wayland to include xwayland crash bug
+  update client remember on opacity change
+  use current zone for shelf config dialog
+  set x11 maximized window hint correctly on resize end
+  delete x11 mouse-in job when hiding the job's client
+  use current zone when activating a client's menu with the mouse
+  handle shaded state when receiving x11 configure requests
+  only block mouse-out callback for wl action clients if the mouse is 
grabbed
+  unset comp_grabbed flag before action client compositor ungrab
+  force mouse-in again during comp ungrab if client previously had mouse-in
+
+
+As always, stay tuned to the latest infrequent E updates on the [[ 
http://e.zmike.ninja|release blog]].
+
+== Download ==
+
+^ ** LINK ** ^ ** SHA256 ** ^
+| [[ 
http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.gz
 | Enlightenment DR 0.20.9 GZIP]]| 
48259584b77a9549a412f942cfeafad127ab3b60710c3118297397444be0deaa |
+| [[ 
http://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.20.9.tar.xz
 | Enlightenment DR 0.20.9 XZ]]  | 
db792ad4d97b2523ff0bfc2c911bb3fea4b1eda60400871f4b78bc3ae2f1d1be |
+
+**Enlightenment:** for when you might otherwise find yourself being //too// 
productive.
+
+== Building and Dependencies ==
+
+If you have an existing EFL or Elementary install, you may wish to delete its 
header files and libraries before compiling and installing to avoid possible 
conflicts during compilation. Please compile the dependencies in the following 
order (click for README):
+
+  * [[https://git.enlightenment.org/core/efl.git/tree/README   
  | EFL]]
+  * [[https://git.enlightenment.org/core/elementary.git/tree/README
  | Elementary]]
+  * 
[[https://git.enlightenment.org/core/emotion_generic_players.git/tree/README | 
Emotion generic players]]
+  * [[https://git.enlightenment.org/core/evas_generic_loaders.git/tree/README  
  | Evas generic loaders]]
+
+**Note:** E20 depends on EFL **v1.15.2** or newer for X11 compositing and 1.17 
for Wayland support.
+
+{{:blank.png?nolink&100|}}
+~~DISCUSSIONS~~
+

-- 




Re: [E-devel] promises...

2016-06-08 Thread David Seikel
I'm just gonna pipe in here a little bit.

On Wed, 8 Jun 2016 20:16:20 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> > If history tell us, our existing solution is not usable, but prove
> > me wrong and show me how amazing our current limited set of
> > asynchronous API is used by so many people. Now just think that we
> > are expanding  
> 
> as above. ecore_con. ecore_con_url, preload, timer, job,
> animator,  all used.

I use ecore_con, timer, job, and animator in a couple of my projects.
The first two I use a lot in my huge project.  ecore_con_url and
preload I just haven't bothered to try out yet.  I also use EFL
threads and ecore fd handler for some async stuff.

There was one thing I was thinking that I might try promises on, once
the API and arguments are settled, replacing timer and job for
sequencing some async startup stuff.  That would still leave ecore_con,
timer, and threads heavily used in that project, but I think that's the
only place I use job.  Promises as initially described to me seems like
a slightly better fit than timers and jobs for this startup stuff.

I've not actually looked at promises yet though, but I agree in
principle with Raster when he says that things should be consistent and
use the same infrastructure.  Having said that, now I'm wondering why we
can't just extend jobs?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/eflete] master 01/04: editor: some of map API like map on, perspective, smooth, alpha, etc

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit 13f2582aa9678a610d08c93990e0e4b7455d8707
Author: Vitalii Vorobiov 
Date:   Mon Jun 6 18:29:42 2016 +0300

editor: some of map API like map on, perspective, smooth, alpha, etc
---
 src/bin/editor/editor.h|  7 +++
 src/bin/editor/editor_states.c | 12 
 2 files changed, 19 insertions(+)

diff --git a/src/bin/editor/editor.h b/src/bin/editor/editor.h
index dde3008..ec5901a 100644
--- a/src/bin/editor/editor.h
+++ b/src/bin/editor/editor.h
@@ -161,6 +161,13 @@ typedef enum {
ATTRIBUTE_PART_POINTER_MODE,
ATTRIBUTE_PART_CURSOR_MODE,
ATTRIBUTE_STATE_FILL_TYPE,
+   ATTRIBUTE_STATE_MAP_ON,
+   ATTRIBUTE_STATE_MAP_PERSPECTIVE_ON,
+   ATTRIBUTE_STATE_MAP_PERSPECTIVE,
+   ATTRIBUTE_STATE_MAP_LIGHT,
+   ATTRIBUTE_STATE_MAP_SMOOTH,
+   ATTRIBUTE_STATE_MAP_ALPHA,
+   ATTRIBUTE_STATE_MAP_BACKFACE_CULL,
ATTRIBUTE_PROGRAM_TRANSITION_TYPE,
ATTRIBUTE_PROGRAM_TRANSITION_FROM_CURRENT,
ATTRIBUTE_PROGRAM_ACTION,
diff --git a/src/bin/editor/editor_states.c b/src/bin/editor/editor_states.c
index bb8a5cb..91cb74f 100644
--- a/src/bin/editor/editor_states.c
+++ b/src/bin/editor/editor_states.c
@@ -173,6 +173,18 @@ EDITOR_STATE_STRING_WITH_RESET(rel2_to_x, 
ATTRIBUTE_STATE_REL2_TO_X, true, rel2_
 EDITOR_STATE_STRING_WITH_RESET(rel2_to_y, ATTRIBUTE_STATE_REL2_TO_Y, true, 
rel2_relative_y)
 EDITOR_STATE_STRING(proxy_source, ATTRIBUTE_STATE_PROXY_SOURCE, true)
 
+EDITOR_STATE_BOOL(map_on, ATTRIBUTE_STATE_MAP_ON)
+EDITOR_STATE_BOOL(map_perspective_on, ATTRIBUTE_STATE_MAP_PERSPECTIVE_ON)
+EDITOR_STATE_STRING(map_perspective, ATTRIBUTE_STATE_MAP_PERSPECTIVE, true)
+EDITOR_STATE_STRING(map_light, ATTRIBUTE_STATE_MAP_LIGHT, true)
+EDITOR_STATE_BOOL(map_smooth, ATTRIBUTE_STATE_MAP_SMOOTH)
+EDITOR_STATE_BOOL(map_alpha, ATTRIBUTE_STATE_MAP_ALPHA)
+EDITOR_STATE_BOOL(map_backface_cull, ATTRIBUTE_STATE_MAP_BACKFACE_CULL)
+//map_perspective_focal
+//map_perspective_zplane
+//map_rotation_center (part)
+//map_rotation (3 values)
+
 TODO("Fix edje_edit API")
 //EDITOR_STATE_STRING(box_layout, ATTRIBUTE_STATE_BOX_LAYOUT)
 //EDITOR_STATE_STRING(box_alt_layout, ATTRIBUTE_STATE_BOX_ALT_LAYOUT)

-- 




[EGIT] [tools/eflete] master 04/04: editor: more API for map (zplace, rotation x/y/z/center, focal, point color etc)

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit 7ce6f34c8550e75a633f0958e1ec7c1b91a332a7
Author: Vitalii Vorobiov 
Date:   Tue Jun 7 13:09:47 2016 +0300

editor: more API for map (zplace, rotation x/y/z/center, focal, point color 
etc)
---
 src/bin/editor/diff.c  |  15 
 src/bin/editor/diff.h  |  11 +++
 src/bin/editor/editor.h|  28 +++
 src/bin/editor/editor_states.c | 178 -
 4 files changed, 229 insertions(+), 3 deletions(-)

diff --git a/src/bin/editor/diff.c b/src/bin/editor/diff.c
index bc6e405..20b39d5 100644
--- a/src/bin/editor/diff.c
+++ b/src/bin/editor/diff.c
@@ -34,6 +34,8 @@ typedef Eina_Bool (* 
function_type_string_string_double_string_double) (Evas_Obj
 const 
char *, const char *, double, const char *, double);
 typedef Eina_Bool (* function_type_string_string_double_int_int_int_int) 
(Evas_Object *, Change*, Eina_Bool, Eina_Bool,
   
const char *, const char *, double, int, int, int, int);
+typedef Eina_Bool (* function_type_string_string_double_int_int_int_int_int) 
(Evas_Object *, Change*, Eina_Bool, Eina_Bool,
+  
const char *, const char *, double, int, int, int, int, int);
 typedef Eina_Bool (* function_type_string_string_double_uchar) (Evas_Object *, 
Change*, Eina_Bool, Eina_Bool,
 const char *, 
const char *, double, unsigned char);
 typedef Eina_Bool (* function_type_string_edjetexteffect) (Evas_Object *, 
Change*, Eina_Bool, Eina_Bool,
@@ -108,6 +110,9 @@ _apply(Evas_Object *obj, Function_Info *fi)
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT:
  return 
((function_type_string_string_double_int_int_int_int)fi->function)(obj, NULL, 
false, true,
   fi->args.type_ssd.s1, fi->args.type_ssd.s2, 
fi->args.type_ssd.d3, fi->args.type_ssd.i4, fi->args.type_ssd.i5, 
fi->args.type_ssd.i6, fi->args.type_ssd.i7);
+  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
+ return 
((function_type_string_string_double_int_int_int_int_int)fi->function)(obj, 
NULL, false, true,
+  fi->args.type_ssdi.s1, fi->args.type_ssdi.s2, 
fi->args.type_ssdi.d3, fi->args.type_ssdi.i4, 
fi->args.type_ssdi.i5, fi->args.type_ssdi.i6, 
fi->args.type_ssdi.i7, fi->args.type_ssdi.i8);
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  return ((function_type_string_string_double_uchar)fi->function)(obj, 
NULL, false, true,
   fi->args.type_ssduc.s1, fi->args.type_ssduc.s2, 
fi->args.type_ssduc.d3, fi->args.type_ssduc.uc4);
@@ -257,6 +262,12 @@ diff_update(Diff *diff, Diff *new_diff)
  eina_stringshare_ref(new_diff->redo.args.type_ssd.s1);
  eina_stringshare_ref(new_diff->redo.args.type_ssd.s2);
  break;
+  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
+ eina_stringshare_del(diff->redo.args.type_ssdi.s1);
+ eina_stringshare_del(diff->redo.args.type_ssdi.s2);
+ eina_stringshare_ref(new_diff->redo.args.type_ssdi.s1);
+ eina_stringshare_ref(new_diff->redo.args.type_ssdi.s2);
+ break;
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  eina_stringshare_del(diff->redo.args.type_ssduc.s1);
  eina_stringshare_del(diff->redo.args.type_ssduc.s2);
@@ -420,6 +431,10 @@ diff_free(Diff *diff)
  eina_stringshare_del(diff->redo.args.type_ssd.s1);
  eina_stringshare_del(diff->redo.args.type_ssd.s2);
  break;
+  case FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT:
+ eina_stringshare_del(diff->redo.args.type_ssdi.s1);
+ eina_stringshare_del(diff->redo.args.type_ssdi.s2);
+ break;
   case FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR:
  eina_stringshare_del(diff->redo.args.type_ssduc.s1);
  eina_stringshare_del(diff->redo.args.type_ssduc.s2);
diff --git a/src/bin/editor/diff.h b/src/bin/editor/diff.h
index c488071..b8d4d11 100644
--- a/src/bin/editor/diff.h
+++ b/src/bin/editor/diff.h
@@ -31,6 +31,7 @@ typedef enum {
FUNCTION_TYPE_STRING_STRING_DOUBLE_STRING,
FUNCTION_TYPE_STRING_STRING_DOUBLE_STRING_DOUBLE,
FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT,
+   FUNCTION_TYPE_STRING_STRING_DOUBLE_INT_INT_INT_INT_INT,
FUNCTION_TYPE_STRING_STRING_DOUBLE_UCHAR,
FUNCTION_TYPE_STRING_EDJEPARTTYPE,
FUNCTION_TYPE_STRING_EDJETEXTEFFECT,
@@ -108,6 +109,16 @@ struct _Function_Info {
  Eina_Stringshare *s1;
  Eina_Stringshare *s2;
  double d3;
+  

[EGIT] [tools/eflete] master 03/04: property: simple map API like alpha, map on, perspective and light

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit 51ae5b4f8a08646dc3f9af837820885a63e3c8e1
Author: Vitalii Vorobiov 
Date:   Mon Jun 6 21:01:08 2016 +0300

property: simple map API like alpha, map on, perspective and light
---
 src/bin/editor/editor.h  |  7 ++-
 src/bin/ui/property/property_group.c | 22 ++
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/src/bin/editor/editor.h b/src/bin/editor/editor.h
index e4c6cba..20a8473 100644
--- a/src/bin/editor/editor.h
+++ b/src/bin/editor/editor.h
@@ -877,6 +877,11 @@ editor_state_map_alpha_set(Evas_Object *obj, Change 
*change, Eina_Bool merge, Ei
 Eina_Bool
 editor_state_map_backface_cull_set(Evas_Object *obj, Change *change, Eina_Bool 
merge, Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
   Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
-
+Eina_Bool
+editor_state_map_perspective_set(Evas_Object *obj, Change *change, Eina_Bool 
merge, Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  const char * new_val) EINA_WARN_UNUSED_RESULT;
+Eina_Bool
+editor_state_map_light_set(Evas_Object *obj, Change *change, Eina_Bool merge, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  const char * new_val) EINA_WARN_UNUSED_RESULT;
 
 #endif /* EDITOR_H */
diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index ab5723f..077bbac 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -2132,8 +2132,16 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  edje_edit_string_free(str_val2);
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
+ ewe_combobox_items_list_free(action->control, true);
+ str_val1 = edje_edit_state_map_perspective_get(EDIT_OBJ, STATE_ARGS);
+ _parts_combobox_fill(action->control, str_val1, 0);
+ edje_edit_string_free(str_val1);
  break;
   case ATTRIBUTE_STATE_MAP_LIGHT:
+ ewe_combobox_items_list_free(action->control, true);
+ str_val1 = edje_edit_state_map_light_get(EDIT_OBJ, STATE_ARGS);
+ _parts_combobox_fill(action->control, str_val1, 0);
+ edje_edit_string_free(str_val1);
  break;
   case ATTRIBUTE_STATE_MAP_ON:
  bool_val1 = edje_edit_state_map_on_get(EDIT_OBJ, STATE_ARGS);
@@ -2850,8 +2858,12 @@ _start_cb(Property_Attribute *pa, Property_Action 
*action)
  VAL(int_val1) = int_val1;
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
+ group_pd.history.format = _("map's perspective part changed from 
\"%s\" to \"%s\"");
+ STR_VAL(str_val1, edje_edit_state_map_perspective_get(EDIT_OBJ, 
STATE_ARGS));
  break;
   case ATTRIBUTE_STATE_MAP_LIGHT:
+ group_pd.history.format = _("map's light part changed from \"%s\" to 
\"%s\"");
+ STR_VAL(str_val1, edje_edit_state_map_light_get(EDIT_OBJ, 
STATE_ARGS));
  break;
   case ATTRIBUTE_STATE_MAP_ON:
  group_pd.history.format = _("map %s");
@@ -3712,8 +3724,18 @@ _change_cb(Property_Attribute *pa, Property_Action 
*action)
  edje_edit_part_item_padding_get(EDIT_OBJ, ITEM_ARGS, NULL, 
_pd.history.new.int_val1, NULL, NULL);
  break;
   case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
+ assert(cb_item != NULL);
+ str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
+ CRIT_ON_FAIL(editor_state_map_perspective_set(EDIT_OBJ, 
CHANGE_NO_MERGE, STATE_ARGS, str_val1));
+ eina_stringshare_del(group_pd.history.new.str_val1);
+ group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_STATE_MAP_LIGHT:
+ assert(cb_item != NULL);
+ str_val1 = (cb_item->index != 0) ? 
eina_stringshare_add(cb_item->title) : NULL;
+ CRIT_ON_FAIL(editor_state_map_light_set(EDIT_OBJ, CHANGE_NO_MERGE, 
STATE_ARGS, str_val1));
+ eina_stringshare_del(group_pd.history.new.str_val1);
+ group_pd.history.new.str_val1 = str_val1;
  break;
   case ATTRIBUTE_STATE_MAP_ON:
  CRIT_ON_FAIL(editor_state_map_on_set(EDIT_OBJ, CHANGE_NO_MERGE, 
STATE_ARGS, bool_val1));

-- 




[EGIT] [tools/eflete] master 02/04: property_group: simple MAP API for property

2016-06-08 Thread Vitalii Vorobiov
rimmed pushed a commit to branch master.

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

commit b193bf40cc743e02364ff8217b566177cbe542a7
Author: Vitalii Vorobiov 
Date:   Wed Jun 8 14:00:15 2016 +0300

property_group: simple MAP API for property
---
 src/bin/editor/editor.h|  18 +
 src/bin/ui/property/property_group.c   | 144 +
 src/bin/ui/property/property_private.h |   9 +++
 3 files changed, 171 insertions(+)

diff --git a/src/bin/editor/editor.h b/src/bin/editor/editor.h
index ec5901a..e4c6cba 100644
--- a/src/bin/editor/editor.h
+++ b/src/bin/editor/editor.h
@@ -861,4 +861,22 @@ Eina_Bool
 editor_program_del(Evas_Object *edit_object, Change *change, Eina_Bool merge, 
Eina_Bool apply,
const char *program_name) EINA_WARN_UNUSED_RESULT;
 
+/* map */
+Eina_Bool
+editor_state_map_on_set(Evas_Object *obj, Change *change, Eina_Bool merge, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
+Eina_Bool
+editor_state_map_perspective_on_set(Evas_Object *obj, Change *change, 
Eina_Bool merge, Eina_Bool apply, const char *part_name, const char 
*state_name, double state_val,
+  Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
+Eina_Bool
+editor_state_map_smooth_set(Evas_Object *obj, Change *change, Eina_Bool merge, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
+Eina_Bool
+editor_state_map_alpha_set(Evas_Object *obj, Change *change, Eina_Bool merge, 
Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
+Eina_Bool
+editor_state_map_backface_cull_set(Evas_Object *obj, Change *change, Eina_Bool 
merge, Eina_Bool apply, const char *part_name, const char *state_name, double 
state_val,
+  Eina_Bool new_val) EINA_WARN_UNUSED_RESULT;
+
+
 #endif /* EDITOR_H */
diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index da450f9..ab5723f 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -510,6 +510,7 @@ _subitems_get(Property_Attribute *pa)
  APPEND(PROPERTY_GROUP_ITEM_STATE_COLORS_TITLE);
  APPEND(PROPERTY_GROUP_ITEM_STATE_SIZE_TITLE);
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_TITLE);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP);
  APPEND(PROPERTY_GROUP_ITEM_STATE_IMAGE_TITLE);
  APPEND(PROPERTY_GROUP_ITEM_STATE_FILL_TITLE);
  APPEND(PROPERTY_GROUP_ITEM_STATE_TEXT_COMMON_TITLE);
@@ -528,6 +529,16 @@ _subitems_get(Property_Attribute *pa)
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TITLE);
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_REL2_TITLE);
  break;
+  case PROPERTY_GROUP_ITEM_STATE_MAP:
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ON);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_PERSPECTIVE_ON);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_PERSPECTIVE);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_LIGHT);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_SMOOTH);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_ALPHA);
+ APPEND(PROPERTY_GROUP_ITEM_STATE_MAP_BACKFACE_CULL);
+ break;
   case PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TITLE:
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TO_X);
  APPEND(PROPERTY_GROUP_ITEM_STATE_POSITION_REL1_TO_Y);
@@ -817,6 +828,13 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
   case ATTRIBUTE_PROGRAM_EMIT_SOURCE:
   case ATTRIBUTE_PROGRAM_STATE:
   case ATTRIBUTE_PROGRAM_TRANSITION_FROM_CURRENT:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
+  case ATTRIBUTE_STATE_MAP_LIGHT:
+  case ATTRIBUTE_STATE_MAP_ON:
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ON:
+  case ATTRIBUTE_STATE_MAP_SMOOTH:
+  case ATTRIBUTE_STATE_MAP_ALPHA:
+  case ATTRIBUTE_STATE_MAP_BACKFACE_CULL:
  break;
   case ATTRIBUTE_STATE_TEXT_SIZE:
  elm_spinner_min_max_set(action->control, 1, );
@@ -2113,6 +2131,30 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
  edje_edit_string_free(str_val1);
  edje_edit_string_free(str_val2);
  break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE:
+ break;
+  case ATTRIBUTE_STATE_MAP_LIGHT:
+ break;
+  case ATTRIBUTE_STATE_MAP_ON:
+ bool_val1 = edje_edit_state_map_on_get(EDIT_OBJ, STATE_ARGS);
+ elm_check_state_set(action->control, bool_val1);
+ break;
+  case ATTRIBUTE_STATE_MAP_PERSPECTIVE_ON:
+ bool_val1 = edje_edit_state_map_perspective_on_get(EDIT_OBJ, 
STATE_ARGS);
+ elm_check_state_set(action->control, bool_val1);
+ break;
+  case 

Re: [E-devel] What is still pending for 1.18 before the freeze starts

2016-06-08 Thread David Seikel
On Wed, 8 Jun 2016 14:20:18 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> On Fri, 27 May 2016 15:01:27 +0200 Stefan Schmidt
>  said:
> 
> > Hello.
> > 
> > What do you have in your local queue for 1.18?
> > 
> > The freeze starts in 10 days and I would like to get an overview on
> > what is still to expect.
> > 
> > o The merge of evas generic loaders and emotion generic players is 
> > pending build system integration and merging as far as I can see
> > o On the interface side I lost track. What is still missing here? 
> > Cedric, JP, etc can you update?
> > o Any more EO changes coming or is it all done now? Tom?
> > o Are there more Wayland changes to expect before 1.18 closes?
> > Chris, Mike Derek?
> > o Anything else?
> 
> promises. their current state is fart from freezable.

Please promise you will keep your your frozen farts to yourself.  B-)

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] promises...

2016-06-08 Thread The Rasterman
On Mon, 6 Jun 2016 06:01:13 +0200 Cedric BAIL  said:

> >> >> 2. they are complex to set up inside our api (setting them up setting
> >> >> cancel cb's and more)
> >>
> >> What do you mean by that ?
> >
> > look at Efl_Internal_Promise and then needing Eina_Promise_Owner in there
> > and then the wonder of the cancel callback deleting the obj which then also
> > cancels and double-frees and segfaults. promises are totally unsafe.
> 
> Yes, there is some security to add to promise, not a big deal. We need
> to prevent double cancel and prevent reiteration. Added with the magic
> check, should be already pretty much fixed for everything you just did
> describe.

there should be much more. it should be in the eo obj id table or you should
implement a whole new one just for promises. or make them eo objects and one
way or another have promise callbacks work.


> >> You just can't do with eo event what promise do. Eo event are a
> >
> > it's not NECESSARY to do anything new. timeout can be an eo obj that deletes
> > itself after the one-shot callback. it doesn't need a promise. same as job.
> > i can't add promises as children to an obj and make sure they get
> > autodeleted when parent is. i have to do this all by hand now.
> 
> It is a terrible mistake to override eo object lifecycle. This is an
> absolute no go as a solution. Anything that bypass the refcounting and
> ownership of an eo object lead to massive issue and trouble. We can
> not implement auto deletion of eo object outside of the reference
> count system.

this doesn't bypass it. it USES it. the object unrefs/del's itself. when done.
when an evas canvas is deleted it deletes all child objects. no code is
explicitly in the app deleting the objects. it's done internally.


> > efl model needs to drop promises. ask sanghyeon and sub - they are hating to
> > work with the promises in efl model - it's massive overkill and unneeded.
> 
> If you read the ongoing discussion regarding MVC and the view list
> code, you will see that the problem is not the promise, but the fact
> that the model is fully asynchronous and that they have to handle it.
> Dropping promise out of the model, and they will not only hate, they
> will want to jump by the window.

it's both. async made it more complex than sync AND promises require a unique
promise per property on a model object when a simple "property loaded" event on
the model object would do just fine. the one cb can refresh the item mapped to
the model object in whole and a property get can just return null etc. if the
property is not loaded yet. property content has to in the end be cached in the
model object anyway so this ends up simpler and you don't need a promise nor
the value - the value is already living in the object under the property.

> > efl model would be far simpler with just the model objects having an api to
> > queue a fetch for a property and a property "fetched" event callback. they
> > don't NEED promises. a get of a property returns NULL until the property has
> > been fetched and stored. it's far SIMPLER to design and use WITHOUT
> > promises.
> 
> NO IT WILL NOT. As I have said, it was what we had before promise. The
> code was 30% bigger everywhere in the MVC stack. It was more buggy,
> more difficult to fix and more difficult to extend. We already have
> the experience of that change, and it was really awful.

having to have a new promise per property and per new range get isn't needed.
you can have a simple "new child range" event on the parent obj. as above for
properties.

> > please talk with the people USING promises. no one likes them at all right
> > now except for you and felipe.
> 
> Well, I have put Subhransu in copy, I like to hear his version.

see above.

> >> repeated event which doesn't allow any easy synchronisation and lead
> >
> > wrong. you can in the callback just do the next action and delete yourself.
> > it is possible to do this easily enough. but this isn't the common case.
> 
> Yeah, this is going to make life easier by writing more code that is
> likely to be the source of more problem.

and eina_promise isn't more code? it's new/different to the rest of events and
objects? eina_promise objects have no safety and ate causing crashes now where
none were before and will continue to cause more and more and more. it will
cause much more time spent debugging and complaining that efl is "horrible" and
"hard".

> >> to race condition. Promise do allow easy synchronisation and avoid any
> >> race condition. They make life easier on that side. The price to pay
> >
> > and they are a pain in the butt to work with in their current incarnation.
> > the medicine is WORSE than the disease.
> >
> > please speak with the people using promises. they are worse than what they
> > are trying to cure.
> 
> There are 3 pieces of code that have fully asynchronous behavior in
> EFL. elm_store, that you did write. MVC that Felipe did write and evas
> async preload 

Re: [E-devel] OpenMP

2016-06-08 Thread The Rasterman
On Tue, 7 Jun 2016 20:28:59 +0200 Davide Andreoli  said:

> 2016-06-07 7:27 GMT+02:00 Jean-Philippe André :
> 
> > On 7 June 2016 at 13:32, Jean-Philippe André  wrote:
> >
> > >
> > >
> > >
> > > On 7 June 2016 at 13:27, Simon Lees  wrote:
> > >
> > >>
> > >>
> > >> On 06/07/2016 01:50 PM, Jean-Philippe André wrote:
> > >> > Hi,
> > >> >
> > >> > This morning EFL build failed with missing -lomp. OpenMP was not
> > >> installed
> > >> > on my machine (archlinux) and installing it fixed the build.
> > >> >
> > >> > But somewhere in the >100 patches merged since Friday this new
> > >> dependency
> > >> > was added. It's weird as I couldn't find anything related to openmp or
> > >> omp.
> > >> > Also, -lomp appears indirectly when clang is called with -lopenmp.
> > >> >
> > >> > Any idea what is going on?
> > >> >
> > >>
> > >> At a guess its either evas-generic-loaders or emotion-generic-players, I
> > >> think they were switched to enable all loaders by default rather then
> > >> disabled but I could be wrong.
> > >>
> > >>
> > > Good catch!
> > > It seems to be a dependency of libraw.
> > >
> > > Not sure if it's a problem with my distro or if RAW should be disabled by
> > > default.
> > > pkg-config --libs libraw shows -lopenmp even though I somehow could
> > > install libraw without openmp.
> > >
> > > Also we might need to check for libraw AND openmp? Or is libraw badly
> > > packaged in arch?
> > >
> >
> > The generic loaders merge adds a lot of new dependencies for efl (spectre,
> > librsvg, cairo, openmp, libraw, ...).
> > It seems they shouldn't be built by default?
> >
> 
> I really think that svg (librsvg->cairo) and pdf (poppler) must be on by
> default,
> without them your efl apps cannot render pdf and svg, and I consider those
> file types important for a decent desktop experience.
> 
> Maybe we can make raw (libraw->openmp) and ps (libspectre) off by default,
> but also in this case I think they should be enabled, to encourage their
> usage
> and testing.
> Otherwise we will get users to report bugs like: ephoto cannot show the
> raw images from my camera... etc.

forget openmp. that seems to be a distro specific issue with build options.
arch certainly needs no openmp for libraw. i think libraw being on by default
is worth it for sure because fo the exact reason you give above. --disable it i
you dont want it.

libspectre is a little more of an edge case. pdf has pretty much supplanted ps
by now so i would say it's not that common... and i am sure someone will go "but
but i have ps files". there is always someone. :) the question is - what is the
right balance of making it a "required by default but able to be disabled"
option vs "requiring enablement".

> > --
> > Jean-Philippe André
> >
> > --
> > What NetFlow Analyzer can do for you? Monitors network bandwidth and
> > traffic
> > patterns at an interface-level. Reveals which users, apps, and protocols
> > are
> > consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> > J-Flow, sFlow and other flows. Make informed decisions using capacity
> > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] What is still pending for 1.18 before the freeze starts

2016-06-08 Thread The Rasterman
On Fri, 27 May 2016 15:01:27 +0200 Stefan Schmidt  said:

> Hello.
> 
> What do you have in your local queue for 1.18?
> 
> The freeze starts in 10 days and I would like to get an overview on what 
> is still to expect.
> 
> o The merge of evas generic loaders and emotion generic players is 
> pending build system integration and merging as far as I can see
> o On the interface side I lost track. What is still missing here? 
> Cedric, JP, etc can you update?
> o Any more EO changes coming or is it all done now? Tom?
> o Are there more Wayland changes to expect before 1.18 closes? Chris, 
> Mike Derek?
> o Anything else?

promises. their current state is fart from freezable.

elm media too - i was waiting for image/video/etc. to finish as this would
inherit all from there.

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


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Next release

2016-06-08 Thread The Rasterman
On Fri, 3 Jun 2016 16:24:55 -0700 Cedric BAIL  said:

> Hello,
> 
> I just would like to start a thread regarding what is still pending
> for next release and what we should do about it. First let's start
> with what is not ready :
> - Most of the elementary widgets have not been renamed correctly to be
> in efl.ui namespace.
> - Edje and Elm.Layout have not been refactorized and properly
> inherited from each other.
> - Text interface is not there (this impact also entry, label and edje).
> - Genlist is also not there.
> - All eo object still needs a proper cleanup and use of own().
> - Uri manager is not there.
> - Color/Color_Class is not there.
> - Efl photocam is not there.
> - Efl video is not there.
> - Efl.Ui.Window is not there.
> - Efl.Ui.Focus cleanup is not there.
> 
> Sone of the above have patch in review process that may land before
> Monday morning, but I prefer to just give the current status as I may
> not have time this weekend as I am moving. Also most of the API that
> have landed so far have not been tested in any real application and we
> don't really if they do fit their purpose (making life easier).
> 
> It is obvious to me, and I am pretty to sure to everyone involved in
> the development of 1.18 that we can not do an alpha while some of the
> biggest change are not there yet. Now the question is should we delay
> the alpha ? Or should we make the alpha a technical preview followed
> by an alpha later on ? Should we just move on and delay the above
> change for 1.19, in which case all the new API need to remain BETA.
> Also if we do delay, how much longer is needed for a release ? Isn't
> it going to drag on ?
> 
> Oh and did I miss anything in the above list ?

no release until promises are shippable. they are not. they need the same
safety that eo objects have as now promises are objects needing tracking just
like eo objects.


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


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Build issue following the merge of generic modules

2016-06-08 Thread The Rasterman
On Sun, 5 Jun 2016 10:46:18 +0100 Tom Hacohen  said:

> Hey,
> 
> I'm getting:
> 
> /usr/bin/ld: cannot find -lomp
> clang-3.8: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> Makefile:25569: recipe for target 
> 'generic/evas/raw/evas_image_loader.raw' failed
> 
> I guess I didn't see it before, because before raw was disabled by default.

odd. i'm on arch too - and my raw loader is built and installed and i have no
libomp on the system at all. no openomp at all. :/ ?


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


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: elput: Fix build of tests out of tree

2016-06-08 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 08e189805d30c45a56e77e3c4cc222ead8f4ed70
Author: Jean-Philippe Andre 
Date:   Wed Jun 8 19:24:34 2016 +0900

elput: Fix build of tests out of tree
---
 src/Makefile_Elput.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile_Elput.am b/src/Makefile_Elput.am
index d177f6d..5d1fa8b 100644
--- a/src/Makefile_Elput.am
+++ b/src/Makefile_Elput.am
@@ -42,6 +42,7 @@ tests/elput/elput_test_elput.c \
 tests/elput/elput_suite.h
 
 tests_elput_elput_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+-I$(top_srcdir)/src/lib/efl \
 -DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/elput\" \
 -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/elput\" \
 @CHECK_CFLAGS@ \

-- 




Re: [E-devel] [EGIT] [admin/devs] master 01/01: developers: Add key for Simotek

2016-06-08 Thread Jean-Philippe André
On 8 June 2016 at 15:47, Tom Hacohen  wrote:

> I meant you haven't *bypassed*, it was already discussed without any
> disagreements.
>

Ah cool. Well that's how this looked like anyway :)


>
> On 08/06/16 07:34, Tom Hacohen wrote:
> > You haven't passed the week long process, it was discussed already when
> > Mike sent the email about Simon taking over the e20 maintenance.
> >
> > --
> > Tom
> >
> > On 08/06/16 03:15, Jean-Philippe André wrote:
> >> Welcome to Simon Lees to the developers club.
> >>
> >> Due to the circumstances, I decided to bypass the usual week long wait
> for
> >> consent from the rest of the developers.
> >>
> >> If anyone disapproves, please raise your voice now :)
> >>
> >> Congrats :)
> >>
> >> On 8 June 2016 at 11:10, Jean-Philippe Andre 
> wrote:
> >>
> >>> jpeg pushed a commit to branch master.
> >>>
> >>>
> >>>
> http://git.enlightenment.org/admin/devs.git/commit/?id=bcffe357c90cf0bcc83067a7d380a397ba40278d
> >>>
> >>> commit bcffe357c90cf0bcc83067a7d380a397ba40278d
> >>> Author: Jean-Philippe Andre 
> >>> Date:   Wed Jun 8 10:59:47 2016 +0900
> >>>
> >>> developers: Add key for Simotek
> >>>
> >>> Welcome to Simon Lees.
> >>>
> >>> In order to help on the E releases, Simon needs a developer
> >>> access. Here's a chat log from yesterday:
> >>>
> >>> 00:07 <@zmike> TAsn: can you arrange for Simotek to get commit
> access
> >>> to the e20 branch?
> >>> 00:08 <@zmike> also I guess he probably needs access to copy files
> to
> >>> download.e.org
> >>> 00:08 < TAsn> zmike, doesn't he have commit access?
> >>> 00:08 <@zmike> no
> >>> 00:08 < TAsn> zmike, just give him commit access
> >>>
> >>> I also agree with the above, sorry for bypassing the usual
> democratic
> >>> vote.
> >>> ---
> >>>  developers/simotek/icon-big.png | Bin 0 -> 49466 bytes
> >>>  developers/simotek/id_rsa.pub   |   1 +
> >>>  developers/simotek/info.txt |  10 ++
> >>>  3 files changed, 11 insertions(+)
> >>>
> >>> diff --git a/developers/simotek/icon-big.png
> >>> b/developers/simotek/icon-big.png
> >>> new file mode 100644
> >>> index 000..0c8cc3e
> >>> Binary files /dev/null and b/developers/simotek/icon-big.png differ
> >>> diff --git a/developers/simotek/id_rsa.pub
> b/developers/simotek/id_rsa.pub
> >>> new file mode 100644
> >>> index 000..e397aec
> >>> --- /dev/null
> >>> +++ b/developers/simotek/id_rsa.pub
> >>> @@ -0,0 +1 @@
> >>> +ssh-rsa
> >>>
> B3NzaC1yc2EDAQABAAACAQC1Ewg4OG+BjkVsbTE+oYXDhuoeTC32h6jZPVDnHW0mQaZl1anxkOY3Tg67czzo3Fvzwqln5fe1qtRpGNoOLOLcShZmyojQdTFLJHYOQmuGzcj0dSu9KegSMim6pkrBT2mFAlKq2ytOPnhL9Y9ZUP13dc4i+Sa8sw4gqeKTI6rscm1hMhCTF3pihR2JVHhynjfpcNQjDZucLrSCNGYbeY2aWzi4OqOswV4KHllrZOIM8+JBnDXtGtfiAewqh8bGMngcTdS741YO+FzHEzGmnQgyH7GSNAWuZGwkGtU/qJjoszaE7YYzo3pdRF5ZAmP3bREYpnZbM9U8Xt9JYsKb7kmmYYDcFG6jNzpY90koRnOe85/hMWyGru14fHFfgod4+sfaOoPnB13e7wsxvm/kW/Tj+mzmNwuRqYVsxUHi4LkbF54ROD0xFaaA+xh2ht/tvQYNWlrR
> >>> [...]
> >>> diff --git a/developers/simotek/info.txt b/developers/simotek/info.txt
> >>> new file mode 100644
> >>> index 000..7fcdb79
> >>> --- /dev/null
> >>> +++ b/developers/simotek/info.txt
> >>> @@ -0,0 +1,10 @@
> >>> +Login: simotek
> >>> +IRC Nick:  simotek
> >>> +Name:  Simon Lees
> >>> +Location:  Adelaide Australia
> >>> +E-Mail:sfl...@suse.de
> >>> +WWW:   http://simotek.net
> >>> +Managing:  Long Term Releases
> >>> +Contributing:  packaging, intergration
> >>> +Group: Release Management, Packaging
> >>> +Platform:  openSUSE
> >>>
> >>> --
> >>>
> >>> --
> >>> Jean-Philippe André
> >>>
> >>>
> >>
> --
> >> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> >> patterns at an interface-level. Reveals which users, apps, and
> protocols are
> >> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> >> J-Flow, sFlow and other flows. Make informed decisions using capacity
> >> planning reports.
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >
> >
> >
> --
> > What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> > patterns at an interface-level. Reveals which users, apps, and protocols
> are
> > consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> > J-Flow, sFlow and other flows. Make informed decisions using capacity
> > planning reports.
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ___
> > enlightenment-devel mailing list
> > 

[EGIT] [tools/eflete] master 01/01: Project navigator: change the method to get the text

2016-06-08 Thread Jaehwan Kim
jaehwan pushed a commit to branch master.

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

commit f5547763e6689cf60868a1085113f8af2cfedb4c
Author: Jaehwan Kim 
Date:   Wed Jun 8 18:25:53 2016 +0900

Project navigator: change the method to get the text

If the genlist item is not realized, it occurs the segfault
since the item can not return the text. So in that case,
genlist should call the get_text function directly.

@fix
---
 src/bin/ui/project_navigator.c | 15 ++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/project_navigator.c b/src/bin/ui/project_navigator.c
index 0ff96db..e7f1e18 100644
--- a/src/bin/ui/project_navigator.c
+++ b/src/bin/ui/project_navigator.c
@@ -324,9 +324,22 @@ _on_clicked_double(void *data __UNUSED__,
 static Elm_Object_Item *
 _find_item(Elm_Object_Item *item, const char *name)
 {
+   char *item_text = NULL;
+
while (item)
  {
-if (!strcmp(elm_object_item_text_get(item), name)) break;
+if (elm_genlist_item_item_class_get(item) == 
project_navigator.itc_folder)
+  item_text = _folder_item_label_get(elm_object_item_data_get(item), 
NULL, NULL);
+else if (elm_genlist_item_item_class_get(item) == 
project_navigator.itc_group)
+  item_text = _group_item_label_get(elm_object_item_data_get(item), 
NULL, NULL);
+
+if (item_text && !strcmp(item_text, name))
+  {
+ free(item_text);
+ break;
+  }
+if (item_text) free(item_text);
+
 item = elm_genlist_item_next_get(item);
  }
return item;

-- 




[EGIT] [core/efl] master 01/01: elm video: implement player interface

2016-06-08 Thread Yeshwanth Reddivari
ami pushed a commit to branch master.

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

commit a1b0fb2c9f95b94e705bba8a0ad6d0f65a5506b0
Author: Yeshwanth Reddivari 
Date:   Wed Jun 8 14:46:11 2016 +0530

elm video: implement player interface

Reviewers: raster, cedric, jpeg, singh.amitesh

Reviewed By: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D4021
---
 src/lib/elementary/elm_video.c| 63 +
 src/lib/elementary/elm_video.eo   | 56 --
 src/lib/elementary/elm_video_legacy.h | 75 +++
 3 files changed, 137 insertions(+), 57 deletions(-)

diff --git a/src/lib/elementary/elm_video.c b/src/lib/elementary/elm_video.c
index 65a5d6e..6ef84fc 100644
--- a/src/lib/elementary/elm_video.c
+++ b/src/lib/elementary/elm_video.c
@@ -373,49 +373,49 @@ _elm_video_is_playing_get(Eo *obj EINA_UNUSED, 
Elm_Video_Data *sd)
 }
 
 EOLIAN static Eina_Bool
-_elm_video_is_seekable_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
+_elm_video_efl_player_seekable_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
 {
return emotion_object_seekable_get(sd->emotion);
 }
 
 EOLIAN static Eina_Bool
-_elm_video_audio_mute_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
+_elm_video_efl_player_audio_mute_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
 {
return emotion_object_audio_mute_get(sd->emotion);
 }
 
 EOLIAN static void
-_elm_video_audio_mute_set(Eo *obj EINA_UNUSED, Elm_Video_Data *sd, Eina_Bool 
mute)
+_elm_video_efl_player_audio_mute_set(Eo *obj EINA_UNUSED, Elm_Video_Data *sd, 
Eina_Bool mute)
 {
emotion_object_audio_mute_set(sd->emotion, mute);
 }
 
 EOLIAN static double
-_elm_video_audio_level_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
+_elm_video_efl_player_audio_volume_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
 {
return emotion_object_audio_volume_get(sd->emotion);
 }
 
 EOLIAN static void
-_elm_video_audio_level_set(Eo *obj EINA_UNUSED, Elm_Video_Data *sd, double 
volume)
+_elm_video_efl_player_audio_volume_set(Eo *obj EINA_UNUSED, Elm_Video_Data 
*sd, double volume)
 {
emotion_object_audio_volume_set(sd->emotion, volume);
 }
 
 EOLIAN static double
-_elm_video_play_position_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
+_elm_video_efl_player_position_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
 {
return emotion_object_position_get(sd->emotion);
 }
 
 EOLIAN static void
-_elm_video_play_position_set(Eo *obj EINA_UNUSED, Elm_Video_Data *sd, double 
position)
+_elm_video_efl_player_position_set(Eo *obj EINA_UNUSED, Elm_Video_Data *sd, 
double position)
 {
emotion_object_position_set(sd->emotion, position);
 }
 
 EOLIAN static double
-_elm_video_play_length_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
+_elm_video_efl_player_length_get(Eo *obj EINA_UNUSED, Elm_Video_Data *sd)
 {
return emotion_object_play_length_get(sd->emotion);
 }
@@ -480,5 +480,52 @@ elm_video_file_get(Eo *obj, const char **filename)
efl_file_get((Eo *) obj, filename, NULL);
 }
 
+EAPI void
+elm_video_audio_level_set(Evas_Object *obj, double volume)
+{
+   efl_player_audio_volume_set(obj, volume);
+}
+
+EAPI double
+elm_video_audio_level_get(const Evas_Object *obj)
+{
+   return efl_player_audio_volume_get(obj);
+}
+
+EAPI void
+elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute)
+{
+   efl_player_audio_mute_set(obj, mute);
+}
+
+EAPI Eina_Bool
+elm_video_audio_mute_get(const Evas_Object *obj)
+{
+   return efl_player_audio_mute_get(obj);
+}
+
+EAPI double
+elm_video_play_length_get(const Evas_Object *obj)
+{
+   return efl_player_length_get(obj);
+}
+
+EAPI Eina_Bool
+elm_video_is_seekable_get(const Evas_Object *obj)
+{
+   return efl_player_seekable_get(obj);
+}
+
+EAPI void
+elm_video_play_position_set(Evas_Object *obj, double position)
+{
+   efl_player_position_set(obj, position);
+}
+
+EAPI double
+elm_video_play_position_get(const Evas_Object *obj)
+{
+   return efl_player_position_get(obj);
+}
 
 #include "elm_video.eo.c"
diff --git a/src/lib/elementary/elm_video.eo b/src/lib/elementary/elm_video.eo
index 0d689b1..0a84352 100644
--- a/src/lib/elementary/elm_video.eo
+++ b/src/lib/elementary/elm_video.eo
@@ -1,19 +1,9 @@
-class Elm.Video (Elm.Layout, Efl.File, Elm.Interface.Atspi_Widget_Action)
+class Elm.Video (Elm.Layout, Efl.File,
+ Efl.Player, Elm.Interface.Atspi_Widget_Action)
 {
legacy_prefix: elm_video;
eo_prefix: elm_obj_video;
methods {
-  @property audio_level {
- set {
-[[Set the audio level of an Elm_Video object.]]
- }
- get {
-[[Get the audio level of the current video.]]
- }
- values {
-volume: double; [[The audio level.]]
- }
-  }
   @property remember_position {
  set {
 [[Set whether the object can remember the last played position.
@@ -33,31 

[EGIT] [core/efl] master 01/01: Efl: Add screen_ prefix to all Efl.Screen apis

2016-06-08 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 62c5ebc784da294f120c585732ccd12b66c26569
Author: Jean-Philippe Andre 
Date:   Wed Jun 8 17:25:06 2016 +0900

Efl: Add screen_ prefix to all Efl.Screen apis

This will resolve conflicts between Gfx.size and Screen.size.
---
 src/lib/efl/interfaces/efl_screen.eo | 6 +++---
 src/lib/elementary/efl_ui_win.c  | 6 +++---
 src/lib/elementary/efl_ui_win.eo | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_screen.eo 
b/src/lib/efl/interfaces/efl_screen.eo
index 15092ea..1050acf 100644
--- a/src/lib/efl/interfaces/efl_screen.eo
+++ b/src/lib/efl/interfaces/efl_screen.eo
@@ -2,7 +2,7 @@ import eina_types;
 
 interface Efl.Screen {
methods {
-  @property size {
+  @property screen_size {
  get {
 [[Get screen geometry details for the screen that a window is on.]]
  }
@@ -11,7 +11,7 @@ interface Efl.Screen {
 h: int; [[Where to return the height value. May be $null.]]
  }
   }
-  @property rotation {
+  @property screen_rotation {
  get {
 [[Get the rotation of the screen.
 
@@ -23,7 +23,7 @@ interface Efl.Screen {
 rotation: int; [[The degree of the screen.]]
  }
   }
-  @property dpi {
+  @property screen_dpi {
  get {
 [[Get screen dpi for the screen that a window is on.
 
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index afe438c..4cd9c67 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5049,19 +5049,19 @@ _efl_ui_win_screen_constrain_get(Eo *obj EINA_UNUSED, 
Efl_Ui_Win_Data *sd)
 }
 
 EOLIAN static void
-_efl_ui_win_efl_screen_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int 
*w, int *h)
+_efl_ui_win_efl_screen_screen_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data 
*sd, int *w, int *h)
 {
ecore_evas_screen_geometry_get(sd->ee, NULL, NULL, w, h);
 }
 
 EOLIAN static void
-_efl_ui_win_efl_screen_dpi_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int 
*xdpi, int *ydpi)
+_efl_ui_win_efl_screen_screen_dpi_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data 
*sd, int *xdpi, int *ydpi)
 {
ecore_evas_screen_dpi_get(sd->ee, xdpi, ydpi);
 }
 
 EOLIAN static int
-_efl_ui_win_efl_screen_rotation_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_screen_screen_rotation_get(Eo *obj EINA_UNUSED, 
Efl_Ui_Win_Data *sd)
 {
//TODO: query to wm about device's rotation
(void)sd;
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index d0f4ef1..528ec80 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -787,9 +787,9 @@ class Efl.Ui.Win (Elm.Widget, Elm.Interface.Atspi.Window,
   Efl.Pack.pack;
   Efl.Input.State.modifier_enabled.get;
   Efl.Input.State.lock_enabled.get;
-  Efl.Screen.dpi.get;
-  Efl.Screen.rotation.get;
-  Efl.Screen.size.get;
+  Efl.Screen.screen_dpi.get;
+  Efl.Screen.screen_rotation.get;
+  Efl.Screen.screen_size.get;
   Efl.Gfx.Size.Hint.hint_base.set;
   Efl.Gfx.Size.Hint.hint_base.get;
   Efl.Gfx.Size.Hint.hint_step.set;

-- 




Re: [E-devel] [EGIT] [core/efl] master 02/02: pdf: Fix build with poppler >= 0.40

2016-06-08 Thread Davide Andreoli
2016-06-08 3:40 GMT+02:00 Jean-Philippe André :

> On 8 June 2016 at 03:31, Davide Andreoli  wrote:
>
> > 2016-06-07 9:42 GMT+02:00 Jean-Philippe André :
> >
> > > On 7 June 2016 at 16:31, Simon Lees  wrote:
> > >
> > > >
> > > >
> > > > On 06/07/2016 04:55 PM, Jean-Philippe ANDRÉ wrote:
> > > > > jpeg pushed a commit to branch master.
> > > > >
> > > > >
> > > >
> > >
> >
> http://git.enlightenment.org/core/efl.git/commit/?id=f3b625e5477acf451dda02d6577bcf3ef0b3b83d
> > > > >
> > > > > commit f3b625e5477acf451dda02d6577bcf3ef0b3b83d
> > > > > Author: Jean-Philippe Andre 
> > > > > Date:   Tue Jun 7 16:25:45 2016 +0900
> > > > >
> > > > > pdf: Fix build with poppler >= 0.40
> > > > >
> > > > > This disables PDF load if poppler >= 0.40 (current is 0.42 on
> > > > > my machine). Those image loaders definitely should be
> explicitely
> > > > > enabled or disabled, not enabled based on the system.
> > > >
> > > > Yes the current behaviour should be that there enabled unless you
> pass
> > a
> > > > --disable-xxx flag, if you are seeing something different its a bug.
> > > > Arch obviously got to that version before openSUSE Tumbleweed
> otherwise
> > > > I would have reported it :)
> > > >
> > >
> > > Should be, but it seems that automatic detection is what we have right
> > now.
> > >
> >
> > They are enabled by default, and the compilation should fail if not
> found,
> > at least this is how I have done it and how they behaved in my tests.
> > Please report if this is not the case for you, It's a bug in that case.
> >
>
> Looks like a bug then.
>
> have_poppler can be yes or no regardless of want_poppler.
> Which means, build doesn't fail even if have_poppler = no.
>

OK, thanks for the report then, I will recheck this in the evening


>
> --
> Jean-Philippe André
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Next release

2016-06-08 Thread Stefan Schmidt
Hello.

On 07/06/16 20:19, Davide Andreoli wrote:
> 2016-06-07 17:20 GMT+02:00 Stefan Schmidt :
>
>> Hello.
>>
>> On 05/06/16 14:27, Tom Hacohen wrote:
>>> On 05/06/16 10:47, Tom Hacohen wrote:
 On 04/06/16 00:24, Cedric BAIL wrote:
> Hello,
>
> I just would like to start a thread regarding what is still pending
> for next release and what we should do about it. First let's start
> with what is not ready :
> - Most of the elementary widgets have not been renamed correctly to be
> in efl.ui namespace.
> - Edje and Elm.Layout have not been refactorized and properly
> inherited from each other.
> - Text interface is not there (this impact also entry, label and edje).
> - Genlist is also not there.
> - All eo object still needs a proper cleanup and use of own().
> - Uri manager is not there.
> - Color/Color_Class is not there.
> - Efl photocam is not there.
> - Efl video is not there.
> - Efl.Ui.Window is not there.
> - Efl.Ui.Focus cleanup is not there.
>
> Sone of the above have patch in review process that may land before
> Monday morning, but I prefer to just give the current status as I may
> not have time this weekend as I am moving. Also most of the API that
> have landed so far have not been tested in any real application and we
> don't really if they do fit their purpose (making life easier).
>
> It is obvious to me, and I am pretty to sure to everyone involved in
> the development of 1.18 that we can not do an alpha while some of the
> biggest change are not there yet. Now the question is should we delay
> the alpha ? Or should we make the alpha a technical preview followed
> by an alpha later on ? Should we just move on and delay the above
> change for 1.19, in which case all the new API need to remain BETA.
> Also if we do delay, how much longer is needed for a release ? Isn't
> it going to drag on ?
>
> Oh and did I miss anything in the above list ?
>
 Also:

 eo->efl renaming, not a biggie, but needs to be done.
 As for text, we hope to be done with it by next Tuesday.

 I'll let you know if anything else comes to mind.
>>> Another thing that is kinda related to the first item on your list: we
>>> need to make sure to remove all of the evas/edje/elm whatever references
>>> in our eo files and class names. For example, Efl.Canvas.Text still
>>> inherits from Evas.Object, which is bad.
>> All of the above are exception for the current freeze. Plus the eolian
>> work from Daniel which I was told will not effect our C API at all.
>>
>> While I find this unsettling and unfair to have a freeze for some parts
>> and not for other I hope people can life with it this time. The problem
>> is that the interface work is done far enough that we can't really back
>> it out anymore. :/
>>
>> Please guys keep me updated on what is done from this list and what
>> still missing. Moved the alpha from this week to next and will hopefully
>> get a snapshot out this week to get at least some people test all the
>> repo merges we did from a packager and user perspective.
>>
> I still need to add some more missing FDO icons in the next 2 weeks,
> I hope this will not be considered as new features.

If it is only image files thats fine.

regards
Stefan Schmidt

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/expedite] master 01/01: Fix build after EFL_CANVAS_RECTANGLE_CLASS change

2016-06-08 Thread Daniel Hirt
herdsman pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=e79517e4902225f80a7162def3993a7058eea742

commit e79517e4902225f80a7162def3993a7058eea742
Author: Daniel Hirt 
Date:   Wed Jun 8 10:02:08 2016 +

Fix build after EFL_CANVAS_RECTANGLE_CLASS change
---
 src/bin/rect_blend.c  | 2 +-
 src/bin/rect_blend_few.c  | 2 +-
 src/bin/rect_blend_pow2.c | 2 +-
 src/bin/rect_blend_pow2_few.c | 2 +-
 src/bin/rect_solid.c  | 2 +-
 src/bin/rect_solid_few.c  | 2 +-
 src/bin/ui.c  | 4 ++--
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/bin/rect_blend.c b/src/bin/rect_blend.c
index 8471b04..f6a906d 100644
--- a/src/bin/rect_blend.c
+++ b/src/bin/rect_blend.c
@@ -26,7 +26,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
r = ((rnd()&0xff) * a) / 255;
diff --git a/src/bin/rect_blend_few.c b/src/bin/rect_blend_few.c
index b8bd673..5ea4a33 100644
--- a/src/bin/rect_blend_few.c
+++ b/src/bin/rect_blend_few.c
@@ -29,7 +29,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
r = ((rnd()&0xff) * a) / 255;
diff --git a/src/bin/rect_blend_pow2.c b/src/bin/rect_blend_pow2.c
index 735226e..e5c846e 100644
--- a/src/bin/rect_blend_pow2.c
+++ b/src/bin/rect_blend_pow2.c
@@ -26,7 +26,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
 a = 256 - (1 << ((rnd() % 8) + 1));
 if (a < 128) a = 128;
diff --git a/src/bin/rect_blend_pow2_few.c b/src/bin/rect_blend_pow2_few.c
index a26fb6b..3df015f 100644
--- a/src/bin/rect_blend_pow2_few.c
+++ b/src/bin/rect_blend_pow2_few.c
@@ -29,7 +29,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
 a = 256 - (1 << ((rnd() % 8) + 1));
 if (a < 128) a = 128;
diff --git a/src/bin/rect_solid.c b/src/bin/rect_solid.c
index 8e976b7..3b5102e 100644
--- a/src/bin/rect_solid.c
+++ b/src/bin/rect_solid.c
@@ -26,7 +26,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 0xff;
r = ((rnd()&0xff) * a) / 255;
diff --git a/src/bin/rect_solid_few.c b/src/bin/rect_solid_few.c
index af98b49..c87f6ed 100644
--- a/src/bin/rect_solid_few.c
+++ b/src/bin/rect_solid_few.c
@@ -29,7 +29,7 @@ static void _setup(void)
  {
int r, g, b, a;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 0xff;
r = ((rnd()&0xff) * a) / 255;
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 36286b7..f8353cd 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -391,7 +391,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
win_w = ui_w;
win_h = ui_h;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 0, 0, 0, 0);
@@ -401,7 +401,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
eo_event_callback_array_add(o, ui_callbacks(), NULL);
o_bg = o;
 
-   o = eo_add(EVAS_RECTANGLE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 255, 255, 255, 255);

-- 




[EGIT] [tools/eflete] master 01/01: UTC: change the test accordingly to changes in the editor API

2016-06-08 Thread Vyacheslav Reutskiy
rimmed pushed a commit to branch master.

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

commit e66eeede17cba163a986500f1052602551e2178f
Author: Vyacheslav Reutskiy 
Date:   Tue Jun 7 15:33:10 2016 +0300

UTC: change the test accordingly to changes in the editor API

Change-Id: Id3b1bb4f64e3ee0e30587cb4fb62205e464f8332
---
 tests/test_change/change_diff_add.c   | 12 +---
 tests/test_change/change_diff_merge_add.c |  8 ++--
 tests/test_diff/diff_undo_redo.c  |  8 ++--
 tests/test_history/history_undo_redo.c|  8 ++--
 4 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/tests/test_change/change_diff_add.c 
b/tests/test_change/change_diff_add.c
index eef4202..4a90c50 100644
--- a/tests/test_change/change_diff_add.c
+++ b/tests/test_change/change_diff_add.c
@@ -34,7 +34,9 @@ static Evas_Object *pseudo_object;
 /* test stubs that check args, return specified value, and report what 
function was called */
 static int _function_type_int_undo_return_true_called = 0;
 static Eina_Bool
-_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__,
+Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 42);
@@ -44,7 +46,9 @@ _function_type_int_undo_return_true(Evas_Object *obj, Change 
*change __UNUSED__,
 
 static int _function_type_int_redo_return_true_called = 0;
 static Eina_Bool
-_function_type_int_redo_return_true(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_redo_return_true(Evas_Object *obj, Change *change 
__UNUSED__,
+Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 42);
@@ -54,7 +58,9 @@ _function_type_int_redo_return_true(Evas_Object *obj, Change 
*change __UNUSED__,
 
 static int _function_type_int_redo_return_true2_called = 0;
 static Eina_Bool
-_function_type_int_redo_return_true2(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_redo_return_true2(Evas_Object *obj, Change *change 
__UNUSED__,
+ Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+ int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 24);
diff --git a/tests/test_change/change_diff_merge_add.c 
b/tests/test_change/change_diff_merge_add.c
index 48dbb22..75d049d 100644
--- a/tests/test_change/change_diff_merge_add.c
+++ b/tests/test_change/change_diff_merge_add.c
@@ -34,7 +34,9 @@ static Evas_Object *pseudo_object;
 /* test stubs that check args, return specified value, and report what 
function was called */
 static int _function_type_int_undo_return_true_called = 0;
 static Eina_Bool
-_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__,
+Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 42);
@@ -44,7 +46,9 @@ _function_type_int_undo_return_true(Evas_Object *obj, Change 
*change __UNUSED__,
 
 static int _function_type_int_redo_return_true_called = 0;
 static Eina_Bool
-_function_type_int_redo_return_true(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_redo_return_true(Evas_Object *obj, Change *change 
__UNUSED__,
+Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 24);
diff --git a/tests/test_diff/diff_undo_redo.c b/tests/test_diff/diff_undo_redo.c
index cb94847..f140457 100644
--- a/tests/test_diff/diff_undo_redo.c
+++ b/tests/test_diff/diff_undo_redo.c
@@ -68,7 +68,9 @@ END_TEST
 /* test stubs that check args, return specified value, and report what 
function was called */
 static Eina_Bool _function_type_int_undo_return_true_called = false;
 static Eina_Bool
-_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__, Eina_Bool merge __UNUSED__, int val)
+_function_type_int_undo_return_true(Evas_Object *obj, Change *change 
__UNUSED__,
+Eina_Bool merge __UNUSED__, Eina_Bool 
apply __UNUSED__,
+int val)
 {
ck_assert(obj == pseudo_object);
ck_assert(val == 42);
@@ -78,7 +80,9 @@ 

Re: [E-devel] [EGIT] [admin/devs] master 01/01: developers: Add key for Simotek

2016-06-08 Thread Tom Hacohen
I meant you haven't *bypassed*, it was already discussed without any 
disagreements.

On 08/06/16 07:34, Tom Hacohen wrote:
> You haven't passed the week long process, it was discussed already when
> Mike sent the email about Simon taking over the e20 maintenance.
>
> --
> Tom
>
> On 08/06/16 03:15, Jean-Philippe André wrote:
>> Welcome to Simon Lees to the developers club.
>>
>> Due to the circumstances, I decided to bypass the usual week long wait for
>> consent from the rest of the developers.
>>
>> If anyone disapproves, please raise your voice now :)
>>
>> Congrats :)
>>
>> On 8 June 2016 at 11:10, Jean-Philippe Andre  wrote:
>>
>>> jpeg pushed a commit to branch master.
>>>
>>>
>>> http://git.enlightenment.org/admin/devs.git/commit/?id=bcffe357c90cf0bcc83067a7d380a397ba40278d
>>>
>>> commit bcffe357c90cf0bcc83067a7d380a397ba40278d
>>> Author: Jean-Philippe Andre 
>>> Date:   Wed Jun 8 10:59:47 2016 +0900
>>>
>>> developers: Add key for Simotek
>>>
>>> Welcome to Simon Lees.
>>>
>>> In order to help on the E releases, Simon needs a developer
>>> access. Here's a chat log from yesterday:
>>>
>>> 00:07 <@zmike> TAsn: can you arrange for Simotek to get commit access
>>> to the e20 branch?
>>> 00:08 <@zmike> also I guess he probably needs access to copy files to
>>> download.e.org
>>> 00:08 < TAsn> zmike, doesn't he have commit access?
>>> 00:08 <@zmike> no
>>> 00:08 < TAsn> zmike, just give him commit access
>>>
>>> I also agree with the above, sorry for bypassing the usual democratic
>>> vote.
>>> ---
>>>  developers/simotek/icon-big.png | Bin 0 -> 49466 bytes
>>>  developers/simotek/id_rsa.pub   |   1 +
>>>  developers/simotek/info.txt |  10 ++
>>>  3 files changed, 11 insertions(+)
>>>
>>> diff --git a/developers/simotek/icon-big.png
>>> b/developers/simotek/icon-big.png
>>> new file mode 100644
>>> index 000..0c8cc3e
>>> Binary files /dev/null and b/developers/simotek/icon-big.png differ
>>> diff --git a/developers/simotek/id_rsa.pub b/developers/simotek/id_rsa.pub
>>> new file mode 100644
>>> index 000..e397aec
>>> --- /dev/null
>>> +++ b/developers/simotek/id_rsa.pub
>>> @@ -0,0 +1 @@
>>> +ssh-rsa
>>> B3NzaC1yc2EDAQABAAACAQC1Ewg4OG+BjkVsbTE+oYXDhuoeTC32h6jZPVDnHW0mQaZl1anxkOY3Tg67czzo3Fvzwqln5fe1qtRpGNoOLOLcShZmyojQdTFLJHYOQmuGzcj0dSu9KegSMim6pkrBT2mFAlKq2ytOPnhL9Y9ZUP13dc4i+Sa8sw4gqeKTI6rscm1hMhCTF3pihR2JVHhynjfpcNQjDZucLrSCNGYbeY2aWzi4OqOswV4KHllrZOIM8+JBnDXtGtfiAewqh8bGMngcTdS741YO+FzHEzGmnQgyH7GSNAWuZGwkGtU/qJjoszaE7YYzo3pdRF5ZAmP3bREYpnZbM9U8Xt9JYsKb7kmmYYDcFG6jNzpY90koRnOe85/hMWyGru14fHFfgod4+sfaOoPnB13e7wsxvm/kW/Tj+mzmNwuRqYVsxUHi4LkbF54ROD0xFaaA+xh2ht/tvQYNWlrR
>>> [...]
>>> diff --git a/developers/simotek/info.txt b/developers/simotek/info.txt
>>> new file mode 100644
>>> index 000..7fcdb79
>>> --- /dev/null
>>> +++ b/developers/simotek/info.txt
>>> @@ -0,0 +1,10 @@
>>> +Login: simotek
>>> +IRC Nick:  simotek
>>> +Name:  Simon Lees
>>> +Location:  Adelaide Australia
>>> +E-Mail:sfl...@suse.de
>>> +WWW:   http://simotek.net
>>> +Managing:  Long Term Releases
>>> +Contributing:  packaging, intergration
>>> +Group: Release Management, Packaging
>>> +Platform:  openSUSE
>>>
>>> --
>>>
>>> --
>>> Jean-Philippe André
>>>
>>>
>> --
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides 

Re: [E-devel] [EGIT] [admin/devs] master 01/01: developers: Add key for Simotek

2016-06-08 Thread Tom Hacohen
You haven't passed the week long process, it was discussed already when 
Mike sent the email about Simon taking over the e20 maintenance.

--
Tom

On 08/06/16 03:15, Jean-Philippe André wrote:
> Welcome to Simon Lees to the developers club.
>
> Due to the circumstances, I decided to bypass the usual week long wait for
> consent from the rest of the developers.
>
> If anyone disapproves, please raise your voice now :)
>
> Congrats :)
>
> On 8 June 2016 at 11:10, Jean-Philippe Andre  wrote:
>
>> jpeg pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/admin/devs.git/commit/?id=bcffe357c90cf0bcc83067a7d380a397ba40278d
>>
>> commit bcffe357c90cf0bcc83067a7d380a397ba40278d
>> Author: Jean-Philippe Andre 
>> Date:   Wed Jun 8 10:59:47 2016 +0900
>>
>> developers: Add key for Simotek
>>
>> Welcome to Simon Lees.
>>
>> In order to help on the E releases, Simon needs a developer
>> access. Here's a chat log from yesterday:
>>
>> 00:07 <@zmike> TAsn: can you arrange for Simotek to get commit access
>> to the e20 branch?
>> 00:08 <@zmike> also I guess he probably needs access to copy files to
>> download.e.org
>> 00:08 < TAsn> zmike, doesn't he have commit access?
>> 00:08 <@zmike> no
>> 00:08 < TAsn> zmike, just give him commit access
>>
>> I also agree with the above, sorry for bypassing the usual democratic
>> vote.
>> ---
>>  developers/simotek/icon-big.png | Bin 0 -> 49466 bytes
>>  developers/simotek/id_rsa.pub   |   1 +
>>  developers/simotek/info.txt |  10 ++
>>  3 files changed, 11 insertions(+)
>>
>> diff --git a/developers/simotek/icon-big.png
>> b/developers/simotek/icon-big.png
>> new file mode 100644
>> index 000..0c8cc3e
>> Binary files /dev/null and b/developers/simotek/icon-big.png differ
>> diff --git a/developers/simotek/id_rsa.pub b/developers/simotek/id_rsa.pub
>> new file mode 100644
>> index 000..e397aec
>> --- /dev/null
>> +++ b/developers/simotek/id_rsa.pub
>> @@ -0,0 +1 @@
>> +ssh-rsa
>> B3NzaC1yc2EDAQABAAACAQC1Ewg4OG+BjkVsbTE+oYXDhuoeTC32h6jZPVDnHW0mQaZl1anxkOY3Tg67czzo3Fvzwqln5fe1qtRpGNoOLOLcShZmyojQdTFLJHYOQmuGzcj0dSu9KegSMim6pkrBT2mFAlKq2ytOPnhL9Y9ZUP13dc4i+Sa8sw4gqeKTI6rscm1hMhCTF3pihR2JVHhynjfpcNQjDZucLrSCNGYbeY2aWzi4OqOswV4KHllrZOIM8+JBnDXtGtfiAewqh8bGMngcTdS741YO+FzHEzGmnQgyH7GSNAWuZGwkGtU/qJjoszaE7YYzo3pdRF5ZAmP3bREYpnZbM9U8Xt9JYsKb7kmmYYDcFG6jNzpY90koRnOe85/hMWyGru14fHFfgod4+sfaOoPnB13e7wsxvm/kW/Tj+mzmNwuRqYVsxUHi4LkbF54ROD0xFaaA+xh2ht/tvQYNWlrR
>> [...]
>> diff --git a/developers/simotek/info.txt b/developers/simotek/info.txt
>> new file mode 100644
>> index 000..7fcdb79
>> --- /dev/null
>> +++ b/developers/simotek/info.txt
>> @@ -0,0 +1,10 @@
>> +Login: simotek
>> +IRC Nick:  simotek
>> +Name:  Simon Lees
>> +Location:  Adelaide Australia
>> +E-Mail:sfl...@suse.de
>> +WWW:   http://simotek.net
>> +Managing:  Long Term Releases
>> +Contributing:  packaging, intergration
>> +Group: Release Management, Packaging
>> +Platform:  openSUSE
>>
>> --
>>
>> --
>> Jean-Philippe André
>>
>>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel