platform/upstream/efl.git
5 years agoefl: remove Efl.Ui.I18n from canvas object inheritance
Mike Blumenkrantz [Wed, 14 Aug 2019 17:25:09 +0000 (19:25 +0200)]
efl: remove Efl.Ui.I18n from canvas object inheritance

Summary:
canvas objects do not need localization because they are not directly user-facing

this should only be inherited by objects which need to be localized
Depends on D9559

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl: mark a couple internal eo files as @beta
Mike Blumenkrantz [Wed, 14 Aug 2019 17:24:19 +0000 (19:24 +0200)]
efl: mark a couple internal eo files as @beta

Summary: these are not distributed apis so they should always remain beta

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agotests/ecore_wl2: Add start of ecore_wl2_surface tests
Christopher Michael [Wed, 14 Aug 2019 15:03:04 +0000 (11:03 -0400)]
tests/ecore_wl2: Add start of ecore_wl2_surface tests

ref T8016

5 years agoefl_ui: remove duplicated hint_min_set code
Yeongjong Lee [Wed, 14 Aug 2019 13:56:42 +0000 (09:56 -0400)]
efl_ui: remove duplicated hint_min_set code

Summary:
evas_object_size_hint_min_set call efl_gfx_hint_size_restricted_min_set
internally.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoevas_map: draw what map did not draw before.
Shinwoo Kim [Wed, 14 Aug 2019 03:39:36 +0000 (12:39 +0900)]
evas_map: draw what map did not draw before.

Summary:
When a map property is changed, map draws it.
Before drawing, evas_object_map_update updates map->spans which is data for
actual drawing. But if changed_map is false, then evas_object_map_update does
not update map->spans.

Usually mapped object has following step.

(1) change map data (evas_map_point_coord_set)
(2) render_pre
(3) evas_object_map_update updates map->spans if changed_map is true.
(4) render
(5) render_post -> evas_object_cur_prev -> "map->prev = map->cur"

But if mapped object hides at step(1), then step(3),(4) does not happen. But
step(4) map->prev keeps changed map data. After this point, If same map data
comes, then map does not draw it. Because the new data is same with map->prev.

The issue occurs with following step.
(A) point_coord_set with point A.
(B) (2)(3)(4)(5) works.
(C) point_coord_set with point B. And hide.
(D) (2)(5) wokrs.
(E) point_coord_set with point A. still hide, so none of (2)(3)(4)(5) work.
(F) point_coord_set with point B. And show.
(G) (2)(3)(4)(5) works. BUT step(3) does not update map->spans because
changed_map is false. So you can see image of point A.

The changed_map is changed to false after updating map->spans at step(3).
So usually changed_map is false before deciding changed_map of next render.
In case of not rendering (but render_pre/post) after map data is changed, the
changed_map keeps true. So this patch was suppose to make changed_map
false if changed_map is already ture before _evas_map_calc_map_geometry
decides changed_map which occurs step(1). true changed_map indicates that
you need to draw even though new map data is same with previous map data.

Test Plan: {F3739770}

Reviewers: Hermet, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoedje/style: Remove redundant style tags from style text.
subhransu mohanty [Tue, 13 Aug 2019 02:17:28 +0000 (11:17 +0900)]
edje/style: Remove redundant style tags from style text.

Summary:
Both font and font_size are already added into the style text
in _edje_format_reparse() function and there we update the tag->font_size
as well as tag->font member. so I think it is unnecessary to
add again which has memory as well as parsing performance impact.

Note :
   someone please update this cryptic comment
   /* Add font name last to save evas from multiple loads */
   how this is going to help saving multiple load.

Reviewers: ali.alzyod, Hermet, raster, cedric

Reviewed By: Hermet

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelementary: add tests for the efl_part support of efl_ui_property_bind.
Cedric BAIL [Thu, 8 Aug 2019 21:36:38 +0000 (14:36 -0700)]
elementary: add tests for the efl_part support of efl_ui_property_bind.

Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9529

5 years agoelementary: add support for efl_ui_property_bind to all efl_part inheriting from...
Cedric BAIL [Thu, 8 Aug 2019 21:18:19 +0000 (14:18 -0700)]
elementary: add support for efl_ui_property_bind to all efl_part inheriting from widget using reflection.

Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D9528

5 years agoelementary: add support for widget part property bind.
Cedric BAIL [Thu, 8 Aug 2019 00:21:24 +0000 (17:21 -0700)]
elementary: add support for widget part property bind.

Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D9527

5 years agotextblock/optimization: refactor evas_textblock_style for memory and perfromance.
subhransu mohanty [Mon, 12 Aug 2019 02:42:27 +0000 (02:42 +0000)]
textblock/optimization: refactor evas_textblock_style for memory and perfromance.

the main user of textblock_style_set() api is the edje whcih keeps its owen edje_textblock_style
tags( string_shared string) by changing the textblock to keep the string_shared string will improve
the chance of sharing the same string hence reducing memory.

By removing the Eina_StrBuf usage inside the loop in textblock_style_set() api we can avoid lot
of temporary memory allocation and deallocation hence will improve performance.

Note: I see lot of places we use Eina_Strbuf inside a loop (eina_strbuf_new() does 2 allocation)
We need to be extra carefull while reviewing when the code uses those construct to see if its really necessary.

Data: it reduces memory allocation by 7000 in elementary_test launch time.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9545

5 years agoedje/textblock: Don't add text_class style tag to the final style string
subhransu mohanty [Mon, 12 Aug 2019 01:24:39 +0000 (01:24 +0000)]
edje/textblock: Don't add text_class style tag to the final style string

Evas_TextBlock_Style has no idea about the text_class tag its a garbage value to it.
So keep the text_class tag in the edje level and update the text style property in the
final style string when necessary.

Because text_class id tends to be unique by removing from the final style string
enable it to be shared (string shared string).

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9544

5 years agobuild: enables PIE option on efl binaries 47/212247/3
Wonki Kim [Mon, 19 Aug 2019 08:27:14 +0000 (17:27 +0900)]
build: enables PIE option on efl binaries

to enhance security, PIE option should be enabled.
this patch enables the option.

adding -fPIE and -pie into cflags and ldflags doesn't work.
so that this patch makes pie option enabled on `executable`
in meson build definition files

Change-Id: I248edde2edf40bbe6a2f60cf82e10cf352719b1d

5 years agoevas_vg_load_svg: Support "display" attribute. 49/212349/1
JunsuChoi [Tue, 20 Aug 2019 11:32:15 +0000 (20:32 +0900)]
evas_vg_load_svg: Support "display" attribute.

Summary:
If the display attribute is "none", VG object is not show.
The default is "inline" which means visible and "none" means invisible.

Depending on the type of node, additional functionality may be required.
refer to https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/display

Test Plan:
[SVG]
<svg viewBox="0 0 220 100" xmlns="http://www.w3.org/2000/svg">
  <!-- Here the yellow rectangle is displayed -->
  <g display="none">
    <rect x="0" y="0" width="100" height="100" fill="skyblue"></rect>
  </g>
  <rect x="20" y="20" width="60" height="60" fill="yellow"></rect>

  <!-- Here the yellow rectangle is not displayed -->
  <rect x="120" y="0" width="100" height="100" fill="skyblue"></rect>
  <rect x="140" y="20" width="60" height="60" fill="yellow" display="none"></rect>
</svg>

[C CODE]
int main(int argc, char **argv)
{
   setenv("ECTOR_BACKEND", "default", 1);
   elm_init(argc, argv);

   Evas_Object *win = elm_win_util_standard_add(NULL, "test");
   evas_object_smart_callback_add(win, "delete,request", win_del, 0);
   elm_win_autodel_set(win, 1);

   Evas *evas = evas_object_evas_get(win);

   Evas_Object *vg = evas_object_vg_add(evas);
   evas_object_show(vg);
   Evas_Object *container = evas_vg_container_add(vg);
   evas_object_vg_root_node_set(vg, container);

   Evas_Object *svg = efl_add(EFL_CANVAS_VG_OBJECT_CLASS, container);
   efl_file_simple_load(svg, "./test.svg", NULL);
   efl_gfx_entity_size_set(svg, EINA_SIZE2D(600, 600));
   efl_gfx_entity_visible_set(svg, EINA_TRUE);
   evas_object_size_hint_weight_set(svg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(svg, EVAS_HINT_FILL, EVAS_HINT_FILL);

   elm_win_resize_object_add(win, vg);
   evas_object_resize(win, WIDTH, HEIGHT);
   evas_object_show(win);
   elm_run();
   elm_shutdown();
   return 0;
}

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I665a20bd57829e470829428344e4763911dbe326

5 years agoevas svg: fix svg spec compatibility. 83/212283/1
Hermet Park [Mon, 19 Aug 2019 12:35:35 +0000 (21:35 +0900)]
evas svg: fix svg spec compatibility.

Minus degree value must be transformed to the signed before Radian.

It's easily tested i.e. the rotation degree is -350.

@fix

Change-Id: I7010f5b90b77bb53bd2dc6c3b3b73a56cb24b6e8

5 years agovg_common_svg: Apply node opacity to stroke color 82/212282/1
JunsuChoi [Mon, 19 Aug 2019 10:46:01 +0000 (19:46 +0900)]
vg_common_svg: Apply node opacity to stroke color

Summary:
  When an object to be converted to a stroke or
  path uses "opacity" attribute, opacity is also applied.

Test Plan:
[SVG]
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
        <rect fill="#FF0000" opacity="0" x="0" y="0" width="40" height="40"></rect>
        <path d="M12,20 L25,8 L12,20 Z M12,20 L25,32 L12,20 Z"
              id="Combined-Shape"
              stroke="#FFFFFF"
              stroke-width="2"
              opacity="0.12"
              stroke-linecap="round"
              stroke-linejoin="round" fill-rule="nonzero"></path>
</svg>

[Code]
int main(int argc, char **argv)
{
   setenv("ECTOR_BACKEND", "default", 1);
   elm_init(argc, argv);

   Evas_Object *win = elm_win_util_standard_add(NULL, "test");
   evas_object_smart_callback_add(win, "delete,request", win_del, 0);
   elm_win_autodel_set(win, 1);

   Evas *evas = evas_object_evas_get(win);
   Evas_Object *vg = evas_object_vg_add(evas);
   evas_object_show(vg);
   Evas_Object *container = evas_vg_container_add(vg);
   evas_object_vg_root_node_set(vg, container);

   Evas_Object *svg = efl_add(EFL_CANVAS_VG_OBJECT_CLASS, container);
   efl_file_simple_load(svg, "./i_arrow_l_disable.svg", NULL);
   efl_gfx_entity_size_set(svg, EINA_SIZE2D(600, 600));
   efl_gfx_entity_visible_set(svg, EINA_TRUE);
   evas_object_size_hint_weight_set(svg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(svg, EVAS_HINT_FILL, EVAS_HINT_FILL);

   elm_win_resize_object_add(win, vg);
   evas_object_resize(win, 600, 600);
   evas_object_show(win);
   elm_run();
   elm_shutdown();

   return 0;
}

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Icee18585931fae93ada60e256bb5d50a516ad64a

5 years agoecore_imf: Move @deprecated tag position 24/212224/3
Jihoon Kim [Mon, 19 Aug 2019 04:56:36 +0000 (13:56 +0900)]
ecore_imf: Move @deprecated tag position

Change-Id: Ieea69c51cd98e0c559b3f9f5fecb4e1c619df88e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 years agoTemporary workaround libopenssl-devel/libopenssl1.1-devel conflict 43/208043/7 submit/tizen/20190819.100703 submit/tizen/20190821.000456
Dariusz Michaluk [Mon, 17 Jun 2019 13:17:52 +0000 (15:17 +0200)]
Temporary workaround libopenssl-devel/libopenssl1.1-devel conflict

If some package use efl and libopenssl-devel,
libopenssl1.1-devel is downloaded by GBS also, this cause conflict.
Requires.private field is a list of private packages required by this package,
but not exposed to applications. We can ommit this field.

Change-Id: I8a6e39fc79097c9380212e3a2b586931566dc5a4

5 years agoMigrate to openssl 1.1 70/209970/6
Dariusz Michaluk [Fri, 12 Jul 2019 15:43:16 +0000 (17:43 +0200)]
Migrate to openssl 1.1

Change-Id: I99d4193a49d32dc19227adea06ab1feca7c7323d

5 years agoelm_popup: Fix text is not shown in small toast popup. 95/211295/2
Subodh Kumar [Thu, 1 Aug 2019 07:26:53 +0000 (12:56 +0530)]
elm_popup: Fix text is not shown in small toast popup.

Test Plan: elm-demo-tizen->popup->small toast popup

@tizen_fix

Change-Id: Ie67ed24919ec32d8628c41839404663ae2e9a7c5

5 years agoefl_ui_layout: remove efl_gfx_hint_size_min_set in _sizing_eval 13/212113/1 accepted/tizen/unified/20190818.221636 submit/tizen/20190814.085144
Yeongjong Lee [Wed, 14 Aug 2019 08:38:04 +0000 (17:38 +0900)]
efl_ui_layout: remove efl_gfx_hint_size_min_set in _sizing_eval

Summary:
`evas_object_size_hint_min_set` is replaced with `efl_gfx_hint_size_min_set` in
4d79efce6. it is able to have backward compatibility issue because
`evas_object_size_hint_min_set` call `efl_gfx_hint_size_restricted_min_set`
internally.
```
evas_object_main.c:2501
EAPI void
evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
{
   efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D(w, h));
}
```

This patch remove unnecessary min_set call.

Test Plan: elementary_test

Reviewers: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ie8843df55e40aa018b3628e17e5397507cef7cb1

5 years agoefl_ui_layout: fix typo in _sizing_eval 61/212061/1
Jaehyun Cho [Wed, 14 Aug 2019 01:28:26 +0000 (10:28 +0900)]
efl_ui_layout: fix typo in _sizing_eval

Change-Id: Ia9aa9906d1859dc2788bb778817152498e4f28f3

5 years agoelm_index: add signals to identify last item for index item theme 34/212034/2
Jaehyun Cho [Tue, 13 Aug 2019 09:30:38 +0000 (18:30 +0900)]
elm_index: add signals to identify last item for index item theme

"elm,order,last,item" is emitted to identify the last item.
"elm,order,default,item" is emitted to identify the not last item.

Based on the Tizen UX, there is a divider between two index items.
Each index item has its divider on its right side in index item theme.
Therefore, the left end divider is not displayed automatically.
Not to display the right end divider of index widget,
"elm,order,last,item" signal is emitted. When the signal is received to
index item, then the index item hides its divider.

@TIZEN_ONLY

Change-Id: I849f423865e9eed8c45f0103f6a5d2a1c67ce551

5 years agoRevert "ecore_wl2: Move ecore_wl2_window_rotation_change functions to be" 81/211981/1 submit/tizen/20190813.054738
Jaehyun Cho [Tue, 13 Aug 2019 04:17:51 +0000 (13:17 +0900)]
Revert "ecore_wl2: Move ecore_wl2_window_rotation_change functions to be"

This reverts commit 8da981976a89a777d8c5de2792c1bcf78b3b0c1f.

The APIs are still used in Tizen.
Therefore, these APIs cannot be internal in Tizen.

Change-Id: If77ae796baeaff1692967968e858f33e1c9a27f3

5 years agoefl_ui_animation_view: Fix eolian build error 70/211970/1
Yeongjong Lee [Tue, 13 Aug 2019 04:22:35 +0000 (13:22 +0900)]
efl_ui_animation_view: Fix eolian build error

@.State should be @Efl.Ui.Animation_View_State

Change-Id: I5276f0ebd53db81d3de89a26a353aeb72e11840d

5 years agoefl_ui_animation_view: change to Animation_View_State to resolve name conflict 02/211902/3
Yeongjong Lee [Mon, 12 Aug 2019 01:51:35 +0000 (10:51 +0900)]
efl_ui_animation_view: change to Animation_View_State to resolve name conflict

When cs file is generated, there is compiler error like `Error CS0101 The
namespace 'Efl.Ui' already contains a definition for 'AnimationView'`.
bacause `Efl.Ui.Animation_View` is class name, `Efl.Ui.Animation_View` can't be
namespace of `State` enum.

This patch will prevent name conflict between namesapce of enum and class name.

Change-Id: I4c9915ef6d4d252728c9ea16d9d5610189a179dd

5 years agoRevert "efl_ui/clock: remove module interface" submit/tizen/20190812.090759
Jaehyun Cho [Mon, 12 Aug 2019 07:44:40 +0000 (16:44 +0900)]
Revert "efl_ui/clock: remove module interface"

This reverts commit b8ed112ecf22e57f25839d563de7d8b5ead07a90.

The original commit may be required to be modified for Tizen.
Until then, the original commit is reverted.

Change-Id: I70471849fd30ef20ac8980b07cdb089b829b31d9

5 years agoRevert "efl_ui/clock: remove legacy api/widget use internally"
Jaehyun Cho [Mon, 12 Aug 2019 07:43:55 +0000 (16:43 +0900)]
Revert "efl_ui/clock: remove legacy api/widget use internally"

This reverts commit 96767770e486a9547ff7dc562af7e010e9257b5b.

The original commit may be required to be modified for Tizen.
Until then, the original commit is reverted.

Change-Id: I3531f0f1db8de3c4d933cf8c57ccccd3721dc9ce

5 years agoRevert "efl_ui/clock: remove unused functions"
Jaehyun Cho [Mon, 12 Aug 2019 07:41:41 +0000 (16:41 +0900)]
Revert "efl_ui/clock: remove unused functions"

This reverts commit b0574320afc8f7a77d363a4525bc1b9cbccde304.

The original commit may be required to be modified for Tizen.
Until then, the original commit is reverted.

Change-Id: I70a6f4061652bc08af3134f47e9e0e41f2acb430

5 years agopackaging: disable rsvg loader for Tizen
Jaehyun Cho [Mon, 12 Aug 2019 07:38:14 +0000 (16:38 +0900)]
packaging: disable rsvg loader for Tizen

For 49ee5ce3a44297cff8d1276a899800559afb57bb, svg loader is renamed to
rsvg loader.
Since svg loader is not used in Tizen, rsvg loader is disabled.

Change-Id: I65275eeb0b436c44f369ef444d2e406e9be2bbc3

5 years agoRevert "get rid of shadow variables"
Jaehyun Cho [Mon, 12 Aug 2019 07:36:50 +0000 (16:36 +0900)]
Revert "get rid of shadow variables"

This reverts commit eb3581a82883474430d21cadaec512f508c1bf68.

The original commit may be required to be modified for Tizen.
Until then, the original commit is reverted.

Change-Id: Ia84e848620d04dafc3f9c58cc58c75b87768e397

5 years agoevas test - use correct type for ptr type tracking called
Carsten Haitzler (Rasterman) [Sun, 11 Aug 2019 16:09:32 +0000 (17:09 +0100)]
evas test - use correct type for ptr type tracking called

callback setup uses int but thecallback uses intptr_t ... which is...
wrong.

5 years agoefl check - use global not stack local buffer for srunner_set_xml
Carsten Haitzler (Rasterman) [Sun, 11 Aug 2019 15:35:03 +0000 (16:35 +0100)]
efl check - use global not stack local buffer for srunner_set_xml

asan is most unhappy about using a priori stack frame's data for
this.. it seems check uses the char * buf directly as-is without
duplicating it... so we can't sensibvly use local stack data. that is
what asan is saying... and this makes our tests not work under asan to
begin with... nto to mention other possible issues i have yet to see
as i got to this one first.

5 years agoeldbus - fix null node last on introspection parse
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:35:44 +0000 (23:35 +0100)]
eldbus - fix null node last on introspection parse

this fixes CID 1402721

5 years agoevas text - handle null font case for font set
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:33:05 +0000 (23:33 +0100)]
evas text - handle null font case for font set

coverity was unhappy wiht inconsistent checks, so we'll be consistent
and thus handle a null font.

fixes CID 1403882

5 years agoelm ctxpopup - be consistent with scope data checks
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:30:28 +0000 (23:30 +0100)]
elm ctxpopup - be consistent with scope data checks

makes coverity happy.

CID 1403898

5 years agoeina file - don't double unlock a lock
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:27:24 +0000 (23:27 +0100)]
eina file - don't double unlock a lock

thanks to coverity - found this double unlock path in case of error.

fix CID 1403899

5 years agoeina file - make coverity happy and lock+unlock on init
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:25:07 +0000 (23:25 +0100)]
eina file - make coverity happy and lock+unlock on init

coverity doesnt like inconsistent behavior of code, so make it
consistent even  if pointless as this is during init when we wont have
threads .... yet.

CID 1403903

5 years agoefl thread - use pipe array names consistently to avoid err handling bug
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:17:39 +0000 (23:17 +0100)]
efl thread - use pipe array names consistently to avoid err handling bug

in the case pipes fail to create we'll close the wrong ones... this
fixes that. it also happens because i didn't use names consistently.
now it does so it's easier to keep right.

thanks coverity.

fix CID 1396994

5 years agoefl thread - fic pipe close to not close invalid pipe fds
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:09:06 +0000 (23:09 +0100)]
efl thread - fic pipe close to not close invalid pipe fds

if we only have stdout and no stdin we'd accidentally close junk int's
on the stack. fix this fix CID 1396963

5 years agoefl filter model - fix return value handling to avoid uninit mem access
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 22:04:29 +0000 (23:04 +0100)]
efl filter model - fix return value handling to avoid uninit mem access

coverity reported - it's right. this fixes CID 1401461 and CID 1401463

5 years agoedje - fix conversion of edje var from int to float to use tmp var
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 21:59:27 +0000 (22:59 +0100)]
edje - fix conversion of edje var from int to float to use tmp var

fix CID 1402624

5 years agoeldbus - fix leak of message in error path case
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 21:58:07 +0000 (22:58 +0100)]
eldbus - fix leak of message in error path case

fix CID 1402657

5 years agoedje - fix conversion of edje var from float to int to use tmp var
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 21:53:29 +0000 (22:53 +0100)]
edje - fix conversion of edje var from float to int to use tmp var

this should disambiguate the conversion intended.

fix CID 1402675

5 years agoefl model - fix use after free
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 21:47:22 +0000 (22:47 +0100)]
efl model - fix use after free

fix CID 1402712

5 years agoevas - png loader - fix leake in error case of pixels
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 21:44:47 +0000 (22:44 +0100)]
evas - png loader - fix leake in error case of pixels

fix CID 1403027

@fix

5 years agoeet dict+ data read - move rw lock to ourside decode for speed read
Carsten Haitzler (Rasterman) [Sat, 10 Aug 2019 11:16:58 +0000 (12:16 +0100)]
eet dict+ data read - move rw lock to ourside decode for speed read

on read/decode we can avoid lots of little locks and unlocked by
having the rwlock go to the outside and a single lock+unlock (read) on
the dictionary. it blocks for longer by has less atomics/fence points
as a result and thus decodes faster where changes that we are writing
while decoding is insanely low so no point worrying here.

5 years agoefreet - be more patient for efreet to start - up to 2 sec now
Carsten Haitzler (Rasterman) [Fri, 9 Aug 2019 18:09:25 +0000 (19:09 +0100)]
efreet - be more patient for efreet to start - up to 2 sec now

seems people have issues with efreetd starting in 0.5 sec on some
systems... even rpi's manage that, but lets be more patient and wait
up to 2 sec

5 years agoelm_test: fix crashing in efl.ui.popup when closing windows
Mike Blumenkrantz [Fri, 9 Aug 2019 13:16:45 +0000 (09:16 -0400)]
elm_test: fix crashing in efl.ui.popup when closing windows

avoid double free on pointer in callback

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9540

5 years agotests/popup: add (extremely) comprehensive test for anchor popups
Mike Blumenkrantz [Thu, 8 Aug 2019 18:37:39 +0000 (14:37 -0400)]
tests/popup: add (extremely) comprehensive test for anchor popups

this verifies all align settings, different anchor points, changing anchors
and aligns on-the-fly, unsetting anchors, and changing popup sizes

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9526

5 years agotests/popup: add test units for all the text_alert popups in elm_test
Mike Blumenkrantz [Wed, 7 Aug 2019 15:18:18 +0000 (11:18 -0400)]
tests/popup: add test units for all the text_alert popups in elm_test

this is mostly to verify that the internal label is sizing as expected

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9523

5 years agotests/popup: add unit tests for scroll_alert expandable sizing
Mike Blumenkrantz [Wed, 7 Aug 2019 14:27:23 +0000 (10:27 -0400)]
tests/popup: add unit tests for scroll_alert expandable sizing

these correspond to the cases in elm_test

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9522

5 years agoefl_ui/popup: apply user min size hints during group_calc
Mike Blumenkrantz [Fri, 9 Aug 2019 16:10:13 +0000 (12:10 -0400)]
efl_ui/popup: apply user min size hints during group_calc

if these hints are set, they should be used

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9539

5 years agoefl_ui/popup: optimize popup sizing calcs slightly
Mike Blumenkrantz [Fri, 9 Aug 2019 16:04:43 +0000 (12:04 -0400)]
efl_ui/popup: optimize popup sizing calcs slightly

ensure that scroll-based popups don't accidentally trigger a full
recalc and (wrong) size change during group_calc by hitting the base
popup size_set() implementation and setting the needs_calc flag or
by using the base popup calc code when it should not be used

this resolves a corner case sizing issue in the text_alert 2 popup
case in elm_test which seems to have been present for a long time

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9538

5 years agoelm/config: clear env var hash on shutdown
Mike Blumenkrantz [Fri, 9 Aug 2019 16:22:27 +0000 (12:22 -0400)]
elm/config: clear env var hash on shutdown

env vars should not be retained when this subsystem is not "active"

fixes unit test running

ref 9149767184bfa9b64102eaea89f6733351de71e9

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9537

5 years agoeolian: add an envvar to warn about unimplemented beta funcs
Daniel Kolesa [Fri, 9 Aug 2019 14:09:25 +0000 (16:09 +0200)]
eolian: add an envvar to warn about unimplemented beta funcs

This changes the behavior of the existing env var to only check
unimplemented functions in stable APIs by default. Beta checks
can be enabled with an additional environment var, so use
EOLIAN_CLASS_UNIMPLEMENTED_WARN for stable and
EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN for extra beta checks.

5 years agoedje: fix warning for returning wrong type.
Cedric BAIL [Fri, 9 Aug 2019 12:43:18 +0000 (08:43 -0400)]
edje: fix warning for returning wrong type.

Reviewers: zmike

Reviewed By: zmike

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

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

5 years agoevas/textblock: optmize textblock format parsing.
subhransu mohanty [Fri, 9 Aug 2019 08:36:35 +0000 (17:36 +0900)]
evas/textblock: optmize textblock format parsing.

Summary:
 textblock format parsing creates/delets eina_TempStr for each
 token. Eina_TempStr is even worse than malloc/free because it also
 takes a lock/unlock along with malloc/free each time we create it.
 Just use a stack bufefr and create string in it if the string is too big
 then it will fall back to heap which is anyway we are doing right now.

 Tested this in Tizen List view the number of allocation reduced by 16000.

Reviewers: Hermet, ali.alzyod, woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoedje: optimize color_class_recursive_find_helper() function
subhransu mohanty [Fri, 9 Aug 2019 05:02:24 +0000 (14:02 +0900)]
edje: optimize color_class_recursive_find_helper() function

Summary:
If the  color_class is not overridden by the object level the
hash will be empty but still we do the expensive call to _edje_hash_find_helper()
find the color_class in an empty hash. by checking if the hash is empty
and returning early we save lot of unnecessary hash computaion and lookup.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeina/hash: optimize eina_hash_find() when hash is empty.
subhransu mohanty [Fri, 9 Aug 2019 05:00:03 +0000 (14:00 +0900)]
eina/hash: optimize eina_hash_find() when  hash is empty.

Summary:
Check if hash is empty before computing the hash key and look inside the
hash to find data.

Note: could have called the eina_hash_population() api but didn't
      because of extra function call.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_textpath: clear up path data when it's destructed.
Hermet Park [Fri, 9 Aug 2019 04:43:50 +0000 (13:43 +0900)]
efl_ui_textpath: clear up path data when it's destructed.

This fixes path data memory leak.

@fix

5 years agoevas/render: size and draw proxy render surface based on proxy clipper
Mike Blumenkrantz [Fri, 10 May 2019 18:14:49 +0000 (14:14 -0400)]
evas/render: size and draw proxy render surface based on proxy clipper

if a proxy is not being proxied, it's optimal to create a surface for only
the necessary dimensions and then only draw within those dimensions.

when a proxy is clipped to a size smaller than the proxy object, the required
size for the proxy render becomes smaller as the proxy has less visible area.
this enables us to draw only the clipped region and thus gives a performance
boost

this can only be enabled if the clipper is marked as static

Reviewed-by: Hermet Park <hermetpark@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8881

5 years agoevas/render: clamp mask surface size to clipper size
Mike Blumenkrantz [Mon, 6 May 2019 20:12:48 +0000 (16:12 -0400)]
evas/render: clamp mask surface size to clipper size

there's no point in allocating a massive mask surface if it's going to
be clipped to a smaller size, so instead just allocate the smaller size
and position it where the clipped size would be

this can only be enabled if the clipper is known to not be changing size,
as performance would be impacted if the clipper was forcing a full mask
redraw due to regular resizing

Reviewed-by: Hermet Park <hermetpark@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8841

5 years agoevas: add 'has_fixed_size' property for canvas objects
Mike Blumenkrantz [Mon, 13 May 2019 16:14:00 +0000 (12:14 -0400)]
evas: add 'has_fixed_size' property for canvas objects

this provides a hint for rendering that the object is not going to resize
for as long as the flag is set and  allows for some optimizations to
be made during rendering based on this knowledge

@feature

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8887

5 years agogetenv - reduce continually calling getenv for the same vars do once
Carsten Haitzler (Rasterman) [Thu, 8 Aug 2019 22:55:40 +0000 (23:55 +0100)]
getenv - reduce continually calling getenv for the same vars do once

do it once and remember the result from the first one. drops overhead
for sure by a chunk i actually could see in perf reports like about 1-2%
of cpu...

5 years agoget rid of shadow variables
Boris Faure [Thu, 8 Aug 2019 21:18:45 +0000 (17:18 -0400)]
get rid of shadow variables

Summary: gl: add some EINA_FALLTHROUGH

Reviewers: #reviewers, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoector: ++safety.
Hermet Park [Thu, 8 Aug 2019 14:34:02 +0000 (23:34 +0900)]
ector: ++safety.

null handling just in corner case.

5 years agoevas vg: ++safety.
Hermet Park [Thu, 8 Aug 2019 14:28:18 +0000 (23:28 +0900)]
evas vg: ++safety.

Realloc internal composite buffer if its size is invalid.

5 years agoefl_ui_selectable: add spec test suite for this
Marcel Hollerbach [Thu, 8 Aug 2019 13:12:46 +0000 (09:12 -0400)]
efl_ui_selectable: add spec test suite for this

Summary:
this brings a spec test suite for Efl.Ui.Selectable

Depends on D9517

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoeina log - we exceet 24 domains alrready out of the box, so increase
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 20:19:15 +0000 (21:19 +0100)]
eina log - we exceet 24 domains alrready out of the box, so increase

this avoids more reallocs since we already use more than 24 domains...
go up to 64.

5 years agocxx: Fix funcptr c_args declaration.
Lauro Moura [Wed, 7 Aug 2019 18:49:36 +0000 (15:49 -0300)]
cxx: Fix funcptr c_args declaration.

Summary:
The internal wrapper was generating the argument types directly instead
of passing through the translation generator `grammar::c_type`.

This caused the type in the `caller` callback to be different from the
actual C type of the declared function pointer, like in `@out` parameters.

Reviewers: tasn, felipealmeida

Reviewed By: felipealmeida

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoecore evas drm - fix code that forgets to del an fd handler
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 17:14:06 +0000 (18:14 +0100)]
ecore evas drm - fix code that forgets to del an fd handler

also.. note the badness of the code design mixing a global singleton
with a "per struct" set of data like fd handlers for the same devices
initted only once but... anyway. it's messy.

5 years agoevas egl - esnure we always destroy surfaces because creating new ones
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 15:59:43 +0000 (16:59 +0100)]
evas egl - esnure we always destroy surfaces because creating new ones

be sure we dont leak them.

5 years agoevas - gl_drm - delete old surfaces before creating new ones
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 15:17:13 +0000 (16:17 +0100)]
evas - gl_drm - delete old surfaces before creating new ones

we shouldnt go have multiple drm window surfaces per drm surface...
this is bad.

@fix

5 years agoefl_ui_focus_layer: we should cleanup on invalidate
Marcel Hollerbach [Wed, 7 Aug 2019 14:24:08 +0000 (10:24 -0400)]
efl_ui_focus_layer: we should cleanup on invalidate

Summary:
otherwise there will be errors. Lets pray this did not break anything
else.
Depends on D9518

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoEvas: migrate Evas_BiDi_Direction -> Efl_Text_Bidirectional_Type.
Tom Hacohen [Wed, 7 Aug 2019 13:54:45 +0000 (14:54 +0100)]
Evas: migrate Evas_BiDi_Direction -> Efl_Text_Bidirectional_Type.

5 years agoefl_ui_item: fix event emission
Marcel Hollerbach [Tue, 6 Aug 2019 20:31:40 +0000 (22:31 +0200)]
efl_ui_item: fix event emission

with this commit events are emitted correctly, even if the container is
already on the way to deletion. Additionally, the codepath that is
triggered when the item is selected via clickable is now also going
through the selected property.

ref 7905

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9517

5 years agointroduce efl_ui_multi_selectable and efl_ui_single_selectable
Marcel Hollerbach [Tue, 6 Aug 2019 17:55:40 +0000 (19:55 +0200)]
introduce efl_ui_multi_selectable and efl_ui_single_selectable

right now they are just thin wrappers from what have been in
efl_ui_collection. This is just a first effort, the interfaces have to
be equipped with more and better API, more events, and tests.

ref T8057

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9515

5 years agoefl_ui: use unified size hints api and be explicit about which hint is changed
Mike Blumenkrantz [Mon, 5 Aug 2019 13:13:05 +0000 (09:13 -0400)]
efl_ui: use unified size hints api and be explicit about which hint is changed

unified widgets should use unified api internally and also be more explicit
about which min size hint (restricted or user) is being set in order to improve
readability of code

when unified widgets also implement legacy wrappers, legacy api should be used
for the legacy objects

no functional changes

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9495

5 years agotests/popup: add sizing test for scroll_alert popup
Mike Blumenkrantz [Tue, 6 Aug 2019 19:18:01 +0000 (15:18 -0400)]
tests/popup: add sizing test for scroll_alert popup

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

5 years agoevas_text: backward compatibility for setting text size
Ali Alzyod [Wed, 7 Aug 2019 11:39:33 +0000 (20:39 +0900)]
evas_text: backward compatibility for setting text size

Summary: This is for backward compatibility for TIZEN Test cases for legacy

Reviewers: woohyun

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ic66e9abc5d49bf4375729a2fcea1dce6c6b1ba19

5 years agoemile - use newer lz4 api instead of deprecated one
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 10:44:05 +0000 (11:44 +0100)]
emile - use newer lz4 api instead of deprecated one

5 years agolz4 - update to 1.9.1 for static lib in src tree
Carsten Haitzler (Rasterman) [Wed, 7 Aug 2019 10:31:03 +0000 (11:31 +0100)]
lz4 - update to 1.9.1 for static lib in src tree

this updates our static zlib to 1.9.1 releases april 23, 2019.

fixes T7983

5 years agoefl_ui_selectable: this should be beta
Marcel Hollerbach [Wed, 7 Aug 2019 08:38:33 +0000 (10:38 +0200)]
efl_ui_selectable: this should be beta

sorry, i forgot that ... :(

5 years agoremove outdated readme
Marcel Hollerbach [Tue, 6 Aug 2019 16:47:44 +0000 (18:47 +0200)]
remove outdated readme

the docs hsould be covered in INSTALL.

(Fast! merge this before the docs guy comes back from vacation)

5 years agotests/popup: add unit tests for alert_popup
Mike Blumenkrantz [Tue, 6 Aug 2019 14:03:45 +0000 (10:03 -0400)]
tests/popup: add unit tests for alert_popup

this covers all cases from the elm_test example

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9512

5 years agoefl_ui_check: migrate from own property to Efl.Ui.Selectable
Marcel Hollerbach [Mon, 5 Aug 2019 17:42:02 +0000 (19:42 +0200)]
efl_ui_check: migrate from own property to Efl.Ui.Selectable

this is the basic work for getting radio group as a single_selection
interface, which can be a part of mutli_selection. Which will come both
later on.

ref T8057

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

5 years agoci: disable rsvg loader on windows
Marcel Hollerbach [Tue, 6 Aug 2019 15:00:16 +0000 (11:00 -0400)]
ci: disable rsvg loader on windows

Summary: deps are missing for that one

Reviewers: stefan_schmidt, zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_input_clickable: int -> uint
Marcel Hollerbach [Tue, 6 Aug 2019 14:57:56 +0000 (10:57 -0400)]
efl_input_clickable: int -> uint

Summary:
the ids of the structs here are never negative

ref T7976

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7976

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

5 years agoefl_ui_focus_manager_root_focus: perform focus switch delayed
Marcel Hollerbach [Tue, 6 Aug 2019 14:52:32 +0000 (10:52 -0400)]
efl_ui_focus_manager_root_focus: perform focus switch delayed

Summary:
Delaying the unregistering here ensures that there is not focus set call
while a object is beeing registered in the focus manager.

ref T8081

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8081

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

5 years agoefl_ui_collection: implement initial focus behaviour
Marcel Hollerbach [Tue, 6 Aug 2019 13:34:42 +0000 (09:34 -0400)]
efl_ui_collection: implement initial focus behaviour

Summary:
the behaviour here is that the next item according to the direction is
getting focused. This sounds easy but is quite complex given the fact
that the items might be hidden. This is the first draft for this, to see
how good it performes.

Reviewers: zmike, stefan_schmidt, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoecore_wl2: Move ecore_wl2_buffer_fit function to be internal
Christopher Michael [Tue, 6 Aug 2019 12:51:05 +0000 (08:51 -0400)]
ecore_wl2: Move ecore_wl2_buffer_fit function to be internal

The ecore_wl2_buffer_fit function is only used internally in EFL so
move it out of the public API header.

ref T8013

5 years agoecore_wl2: Move ecore_wl2_window_false_commit to be internal
Christopher Michael [Tue, 6 Aug 2019 12:49:38 +0000 (08:49 -0400)]
ecore_wl2: Move ecore_wl2_window_false_commit to be internal

The ecore_wl2_window_false_commit function is only used internally
inside efl so there is no need for it to be a public API.

ref T8013

5 years agoecore_wl2: Move ecore_wl2_window_rotation_change functions to be
Christopher Michael [Tue, 6 Aug 2019 12:36:50 +0000 (08:36 -0400)]
ecore_wl2: Move ecore_wl2_window_rotation_change functions to be
internal

These functions are not used in efl wayland clients nor are they used
in Enlightenment. As such, there is no reason that they need to be
public API so this commit moves them to be Internal and updates
Ecore_Evas engine code to include the internal header.

ref T8013

5 years agobuild: Seprate same svg extension loaders between image and vector.
Hermet Park [Tue, 6 Aug 2019 11:47:07 +0000 (20:47 +0900)]
build: Seprate same svg extension loaders between image and vector.

Currently, vector and image support svg format via different rountine.
Our vector loader implemenst on its own drawing mechanism for svg,
but in case of image loader, it depends on rsvg library.

By Comparing both, our vector svg is winner at performance wise.
we can remove rsvg routine later.

For now, these two loader names are conflicted, we should separate their names
with svg and rsvg.

5 years agoefl_input_hold: replace hold property name with input_hold
Yeongjong Lee [Fri, 2 Aug 2019 04:43:14 +0000 (04:43 +0000)]
efl_input_hold: replace hold property name with input_hold

Sorry to touch stable eo classes. there is name conflict issue between class and
property when binding language is generated from eo. for example in C#, compiler
error occurs.

```
src/bindings/mono/efl_input_hold.eo.cs(166,17): error CS0542:
`Efl.Input.Hold.Hold': member names cannot be the same as their enclosing type
```

This patch changes Efl.Input.Hold.GetHold/SetHold to
Efl.Input.Hold.GetInputHold/SetInputHold and generates Efl.Input.Hold.InputHold
property.

Note that CAPI is not changed.

ref T8093

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Lauro Neto <lauromauro_>
Differential Revision: https://phab.enlightenment.org/D9484

5 years agodocs: Improve Efl.Input.Key docs
Lauro Moura [Mon, 5 Aug 2019 20:33:52 +0000 (20:33 +0000)]
docs: Improve Efl.Input.Key docs

People without X11 background would have a hard time understanding the difference
between key, key_name, key_code, etc.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9487

5 years agomeson: remove one more header check
Marcel Hollerbach [Tue, 6 Aug 2019 07:55:54 +0000 (09:55 +0200)]
meson: remove one more header check

this header check is useless, it will never succeed.

5 years agoremove useless definition of the macro HAVE_MMAN_H
Vincent Torri [Mon, 5 Aug 2019 11:27:16 +0000 (11:27 +0000)]
remove useless definition of the macro HAVE_MMAN_H

use HAVE_SYS_MMAN_H when including sys/mman.h and HAVE_MMAP when using mmap()

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9494

5 years agotests/efl_ui_popup: add tests for this widget
Mike Blumenkrantz [Mon, 5 Aug 2019 17:58:03 +0000 (13:58 -0400)]
tests/efl_ui_popup: add tests for this widget

these tests cover all the cases in the elm_test efl.ui.popup example

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9509

5 years agoefl_ui/popup_backwall: implement efl.file file and key get methods
Mike Blumenkrantz [Mon, 5 Aug 2019 18:56:44 +0000 (18:56 +0000)]
efl_ui/popup_backwall: implement efl.file file and key get methods

these need to be proxied to the internal image object to return
correct values

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9508