Conrad Um | 14 Feb 22:15 2016
Picon
Gravatar

[E-devel] Difficulty in estimating item size when size hint weight & min are set at the same time (Elementary)

When items are packed in Box widget, we usually use size hint weight to set
item size proportionately.
If there are two items which don't have size hint min, but the first's
weight is 0.25, and the second's is 0.75, we can guess that they will
divide up box size in 1:3 ratio.
For example, if the size of box is 400px, the first item will have 100px,
the second 300px.

BTW, Elementary sets item's size hint min internally and automatically.
>From here, difficuty in estimating item size issue occurs. In above case,
if the first item has size hint min value as 125px, but the second doesn't,
can you guess what happens next?

http://imgur.com/vVZ7P2I
Even though the weight of the first item is 0.25, but it will occupy 193px.
(0.48)
Here is the equation.
ITEM_SIZE = ITEM_MIN_SIZE + (BOX_SIZE - SUM_OF_ITEMS_MIN_SIZE) * WEIGHT
193.75 = 125 + (400 - (125 + 0)) * 0.25

You can say that size hint min and weight don't work well at the same time,
so using weight and min is incorrect. Or, they are just "SIZE HINT", so we
can say that we don't guarantee the proportion.
However the problem is that item size caculations in Evas and Elementary
seem different. (of course logically same but give such an impression due
to automated setting of size hint min in Elementary)
If EFL starters try to make relatively arranged items with box, they will
be confused.
The bigger problem is that if there are three items have different min size
but have EVAS_HINT_EXPAND weight (1.0), developers may want to homogeneous
(Continue reading)

Davide Andreoli | 13 Feb 11:16 2016
Picon
Gravatar

Re: [E-devel] [EGIT] [core/elementary] master 02/06: spinner: add min, max filter

2016-02-12 23:35 GMT+01:00 Cedric BAIL <cedric.bail <at> free.fr>:

> On Fri, Feb 12, 2016 at 9:51 PM, Davide Andreoli <dave <at> gurumeditation.it>
> wrote:
> > 2016-02-12 21:30 GMT+01:00 Shilpa Singh <shilpa.singh <at> samsung.com>:
> >>
> http://git.enlightenment.org/core/elementary.git/commit/?id=a3e66305d7601fa4a62629ec2ceb29a1af274915
> >>
> >> commit a3e66305d7601fa4a62629ec2ceb29a1af274915
> >> Author: Shilpa Singh <shilpa.singh <at> samsung.com>
> >> Date:   Fri Feb 12 20:38:36 2016 +0100
> >>
> >>     spinner: add min, max filter
> >>
> >>     Summary:
> >>     In spinner's entry allow numbers only with in min/max range
> >>     Signed-off-by: Shilpa Singh <shilpa.singh <at> samsung.com>
> >>
> >>      <at> feature
> >>
> >>     Test Plan:
> >>     1. Set min/max value to spinner
> >>     2. Enter numbers beyond min/max value
> >>
> >
> > Is there a reason why this is only enabled in mobile profile? I cannot
> > either see why this is configurable at all, seems to me that this check
> > should be always on... no?
>
> Yes, we were not sure to not break current application that would have
(Continue reading)

Andrew Williams | 13 Feb 00:04 2016
Gravatar

Re: [E-devel] [EGIT] [core/elementary] master 02/06: spinner: add min, max filter

+1
It seems reasonable to clean up behaviour and deal with issues if they
occur. Don't want too many variables if we can avoid it :)
On Fri, 12 Feb 2016 at 22:35, Cedric BAIL <cedric.bail <at> free.fr> wrote:

> On Fri, Feb 12, 2016 at 9:51 PM, Davide Andreoli <dave <at> gurumeditation.it>
> wrote:
> > 2016-02-12 21:30 GMT+01:00 Shilpa Singh <shilpa.singh <at> samsung.com>:
> >>
> http://git.enlightenment.org/core/elementary.git/commit/?id=a3e66305d7601fa4a62629ec2ceb29a1af274915
> >>
> >> commit a3e66305d7601fa4a62629ec2ceb29a1af274915
> >> Author: Shilpa Singh <shilpa.singh <at> samsung.com>
> >> Date:   Fri Feb 12 20:38:36 2016 +0100
> >>
> >>     spinner: add min, max filter
> >>
> >>     Summary:
> >>     In spinner's entry allow numbers only with in min/max range
> >>     Signed-off-by: Shilpa Singh <shilpa.singh <at> samsung.com>
> >>
> >>      <at> feature
> >>
> >>     Test Plan:
> >>     1. Set min/max value to spinner
> >>     2. Enter numbers beyond min/max value
> >>
> >
> > Is there a reason why this is only enabled in mobile profile? I cannot
> > either see why this is configurable at all, seems to me that this check
(Continue reading)

Felipe Magno de Almeida | 12 Feb 15:09 2016
Picon

[E-devel] Developer access for vitorsousa

Hello,

I'd like to propose that Vitor Sousa be given commit access. He is the
co-maintainer of the C++ and JavaScript bindings and sends lots of
features, fixes and adaptations for new APIs for these bindings.

Regards,
--

-- 
Felipe Magno de Almeida

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Conrad Um | 12 Feb 08:00 2016
Picon
Gravatar

[E-devel] Suggestions for improving usability of Edje and Elementary

#1. Swallowed objects need to communicate with its parent Edje.Object

In EDC syntax, there are several useful features to provide flexible way to
construct edje object.
For example, for part type "GROUP", edje can send signal or make an alias
name for group's sub part. However, group part is a fixed one that should
be defined before compile, it is not changeable at runtime like swallow
part.

I don't know the history or design exactly, but I assume that communication
between swallowed object and parent edje object is not implemented because
swallowed part can accept any evas object which is not edje object.
However, we can check swallowed object class type with eo_isa(obj,
EDJE_OBJECT_CLASS), so allowing swallowed object to communicate with parent
edje object is not dangerous.

Moreover, this communication should be allowed for Elm.Layout also.
Elm.Layout is a wrapper of Edje.Object, but it doesn't inherits from
Edje.Object, so many useful edje features don't work for it. I think that
it seems good that when swallowed object's class is not EDJE_OBJECT_CLASS,
edje checks "key" data or something to get eo id of Edje.Object. (like
internal Edje.Object of Elm.Layout)

#2. Seperate EDC for customizable part of Elementary Widgets

As a matter of fact, this idea comes from customizing Elementary widget. I
tried making a dropdown menu with hoversel. I wanted hoversel to have a
fixed size, so swallowed it in layout's swallow part which has min size.
Then I found that hoversel's items' text are aligned to the left, but
hoversel's text is center-aligned, so it seems not arranged well.
(Continue reading)

Hermet Park | 11 Feb 08:37 2016
Picon

[E-devel] About eflete build.

Hello, Eflete developrs.

Whenever I check Eflete devel branch, It always failed to compile on the efl devel version.
I know eflete is on the way, but if it works with upstream devel version also, it would be better for developers.

So,what do you think if eflete work on it like enventor?
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Sylvain BERTRAND | 9 Feb 09:06 2016
Picon
Gravatar

[E-devel] automake c++ linker rule generated due to static evas ddraw code

Hi,

Automake will generate a c++ linker rule for libevas only because of
EVAS_STATIC_BUILD_SOFTWARE_DDRAW section in Makefile_Evas.am, and that even for
a non static build.

I can compile the EFL cleanly with _only_ a C compiler/linker if I comment out
this section (and the no-c++ blocker from configure.ac).

Could we remove this section? Or is there a way to make automake generates 2
linking rules, one for static builds, one for dynamic builds?

--

-- 
Sylvain

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Davide Andreoli | 7 Feb 20:20 2016
Picon
Gravatar

[E-devel] Python-EFL 1.17.0 release

= Python-EFL 1.17.0 release=

We are pleased to announce that **Python-EFL** 1.17.0 is now released and
available for download.

== Download ==

http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.gz
http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.gz.sha256
http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.bz2
http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.bz2.sha256
http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.xz
http://download.enlightenment.org/rel/bindings/python/python-efl-1.17.0.tar.xz.sha256

The packages is also available on pypi, to install just use:

   pip install python-efl

For convenience the tarballs contain both the Cython sources and generated
intermediary C sources, meaning you **do not** need Cython to compile the
bindings. Full cython sources are also publicly accessible from our git
repository at:
https://git.enlightenment.org/bindings/python/python-efl.git/

More information about the python bindings can be found at:
https://phab.enlightenment.org/w/projects/python_bindings_for_efl/

---

= What's New =
(Continue reading)

Hermet Park | 4 Feb 15:13 2016
Picon

Re: [E-devel] EFL interface change - Animator

This may be an annother topic question,

_elm_panel_anim_cb(void *data,
                                       Eo *o EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED,
                                       void *event_info EINA_UNUSED)

Why should people struggle with these unused desc, event_info stuff?
As you know, we unecessarily have typed annoying "event_info" before.

How about if we provide this kind of simpler version ?
 eo_clean_event_callback_add(EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, _elm_panel_anim_cb, obj));

_elm_panel_anim_cb(void *data, Eo *o)
{
  ...
}

 
-----Original Message-----
From: "Cedric BAIL"<cedric.bail <at> free.fr> 
To: "e-devel"<enlightenment-devel <at> lists.sourceforge.net>; 
Cc: 
Sent: 2016-02-03 (수) 04:37:37
Subject: [E-devel] EFL interface change - Animator

Hello,

So in the coming month, we are going to work very hard on getting the
Eo API stable and part of that is what we call the EFL interface with
this new API. This API is going to be used by all binding that will be
(Continue reading)

Hermet Park | 4 Feb 15:10 2016
Picon

Re: [E-devel] [EGIT] [core/efl] master 01/01: Revert "Revert "Revert "revise edje_object_size_min_restricted_calc() logic."""

Some scenario won't be reached to the zero size change.
So, I think raster put a limitation there.
but this solution is also bad these days.
and even it's inefficent at some scenario.

I have no idea the best solution right now 
because  it's hard to avoid side effects.

I will keep trying to fix it anyway.

-----Original Message-----
From: "Cedric BAIL"<cedric.bail <at> free.fr> 
To: "Enlightenment developer list"<enlightenment-devel <at> lists.sourceforge.net>; 
Cc: 
Sent: 2016-02-03 (수) 03:19:55
Subject: Re: [E-devel] [EGIT] [core/efl] master 01/01: Revert "Revert "Revert "revise
edje_object_size_min_restricted_calc() logic."""

On Tue, Feb 2, 2016 at 6:16 AM, Carsten Haitzler <raster <at> rasterman.com> wrote:
> raster pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=6eb17b7d3efd0e24220d5b6bd6e30f94f3e79e7b
>
> commit 6eb17b7d3efd0e24220d5b6bd6e30f94f3e79e7b
> Author: Carsten Haitzler (Rasterman) <raster <at> rasterman.com>
> Date:   Tue Feb 2 23:12:25 2016 +0900
>
>     Revert "Revert "Revert "revise edje_object_size_min_restricted_calc() logic."""
>
>     This reverts commit ade138a3d13f7cd1606d0c80cf40fa71cd1d983a.
(Continue reading)

Hermet Park | 4 Feb 15:01 2016
Picon

[E-devel] test

test
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

Gmane