platform/upstream/efl.git
4 years agobuild: add gl_common files to engine_src 83/235283/1 accepted/tizen/unified/20200604.164556 submit/tizen/20200601.210236
WooHyun Jung [Wed, 3 Jun 2020 09:53:43 +0000 (18:53 +0900)]
build: add gl_common files to engine_src

@tizen_fix

Change-Id: I06eb654aed79e19c3e945e586ea87dd44e1c0a78

4 years agoelementary_test: Added --autoclose option to elementary_test 49/235249/1
Subhransu Mohanty [Wed, 3 Jun 2020 03:15:05 +0000 (12:15 +0900)]
elementary_test: Added --autoclose option to elementary_test

Summary:
This option will enable writing tools which will automate running the
elementary test cases.

Reviewers: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I9c11fdaf44141e4610e63de363779021f382c251

4 years agoelementary: Fix memory leak in elm_win 45/235245/1
Subhransu Mohanty [Wed, 3 Jun 2020 04:43:52 +0000 (13:43 +0900)]
elementary: Fix memory leak in elm_win

Change-Id: I1003d7e7abc31c0425e8c12553a20c77193cff01

4 years agoelm_gengrid: resolve double free
Jongmin Lee [Wed, 3 Jun 2020 02:04:31 +0000 (11:04 +0900)]
elm_gengrid: resolve double free

Change-Id: I17789de33c088c6baeced2ea5758e6a34c37902c

4 years agoelm_atspi: resolve migration build error
Jongmin Lee [Tue, 2 Jun 2020 22:20:18 +0000 (07:20 +0900)]
elm_atspi: resolve migration build error

Change-Id: I175602b125bcfb1101011b37067b6b3cd1397576

4 years agoci: travis: enable efl-one in our all enabled build
Stefan Schmidt [Thu, 28 May 2020 17:32:03 +0000 (19:32 +0200)]
ci: travis: enable efl-one in our all enabled build

After a successful build we run the efl-one test script to see if it
drags in unwanted libs.

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

4 years agobuild: add eet to evas suite
Marcel Hollerbach [Tue, 2 Jun 2020 06:28:27 +0000 (08:28 +0200)]
build: add eet to evas suite

evas suite seems to use internal headers, which includes eet.

4 years agoci: fix for rename luajit to lua bindings
Marcel Hollerbach [Tue, 2 Jun 2020 06:11:23 +0000 (08:11 +0200)]
ci: fix for rename luajit to lua bindings

this is an incredible hard fix. The rename was essential, and it was
important that the CI was killed for 3 days, the names in this script
was also hidden that deep that litterly *noone* could have ever renamed
them without a daylong hike through the masses of script here.

4 years agobuild: do not link test suite again against static libs
Marcel Hollerbach [Mon, 1 Jun 2020 20:32:53 +0000 (22:32 +0200)]
build: do not link test suite again against static libs

this might result in duplicated symbols.

4 years agoefl_access_text: remove ptr usage in eo files
Ali Alzyod [Sun, 31 May 2020 06:16:46 +0000 (06:16 +0000)]
efl_access_text: remove ptr usage in eo files

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

4 years agoelm_gesture_layer: Arrange the logic for delete the target object in gesture cb.
Woochanlee [Tue, 26 May 2020 06:36:54 +0000 (06:36 +0000)]
elm_gesture_layer: Arrange the logic for delete the target object in gesture cb.

When the user receives the callback of gesture callback, erases the target object, the gesture layer is deleted.

The memory is may broken and performing unnecessary operations during the logic.

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

4 years agoeo: Fix memory leak in efl_key_wref_set() api.
Subhransu Mohanty [Wed, 27 May 2020 07:39:59 +0000 (07:39 +0000)]
eo: Fix memory leak in efl_key_wref_set() api.

Testcase:
   elementary_test -to snapshot

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

4 years agocanvas svg: fix missing break.
Hermet Park [Tue, 2 Jun 2020 00:59:51 +0000 (09:59 +0900)]
canvas svg: fix missing break.

4 years agoelm_hoversel: Add missing resize_job's free 56/235056/1
JunsuChoi [Tue, 2 Jun 2020 03:20:37 +0000 (12:20 +0900)]
elm_hoversel: Add missing resize_job's free

Summary:
resize_job can be called after obj is deleted.
So add free to destructor.

Test Plan: N/A

Reviewers: Hermet, herb, kimcinoo, zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I5497ea6fa52198b30fee6d1f2283ea9a0141da8c

4 years agoelm_atspi_bridge: use efl_add_ref for obj without parent
Kamil Konieczny [Mon, 25 May 2020 16:44:28 +0000 (18:44 +0200)]
elm_atspi_bridge: use efl_add_ref for obj without parent

Use efl_add_ref for object without parent, and unref
when obj is destructed.

This fixes error reported by EFL:
"E/EFL     (  956): eo<956> ../src/lib/eo/eo.c:1008
_efl_add_internal_start_do() Creation of 'Elm.Atspi.App.Object'
object at line 6882 in '../src/lib/elementary/elm_atspi_bridge.c'
is done without parent. This should use efl_add_ref."

Change-Id: Ib813c7b587c1e39d5335909037cec4664391dea3

4 years agosvg/loader: Fix memory leak
Subhransu Mohanty [Mon, 1 Jun 2020 09:53:36 +0000 (18:53 +0900)]
svg/loader: Fix memory leak

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_object_main: add check seat grab count when touch list item is deleted.
Hosang Kim [Wed, 27 May 2020 11:15:15 +0000 (20:15 +0900)]
evas_object_main: add check seat grab count when touch list item is deleted.

Summary:
The touch event list is created by mouse down, mouse in or mouse move, etc.
But old list is deleted and new list is created in mouse down.
So it is necessary to distinguish list of mouse down and list of mouse move when deleting a list item.
Add checking seat's grab count to distinguish mouse down and mouse move.

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ic6066233a75885753d2abb19db802032bcaf0672
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
4 years agoelm_conform: fix backward compatibility issue.
Hosang Kim [Tue, 26 May 2020 11:13:49 +0000 (20:13 +0900)]
elm_conform: fix backward compatibility issue.

In Tizen 4.0, elm_conformant inheritted elm_layout, but elm_conformant
inheritted efl_ui_layout_base now. So elm_layout_file_set is not working
for elm_conformant.
elm_conformant inherits efl_file to fix backward compatibility.

Change-Id: If503eb709577902f13ab71e6e1dfb2c1f0507984

4 years ago[edje] Free up the allocated array memory to avoid leak
Prasoon Singh [Fri, 15 May 2020 15:55:38 +0000 (21:25 +0530)]
[edje] Free up the allocated array memory to avoid leak

Allocated array is only freed when it is inside if block but for
other case array is not freed.

Change-Id: I6b838f5908ee1c0f3f455dfa690c7ce30ee0471b
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
4 years agoefl_ui_clock: Ignore Second, Day format to backward compatibility.
Woochanlee [Fri, 29 May 2020 06:30:17 +0000 (15:30 +0900)]
efl_ui_clock: Ignore Second, Day format to backward compatibility.

The Second, Day fileds has been added, and that formats will generated.
It can breaks some use case old App. (auto format use case)

@tizen_fix

Change-Id: Id13b8445463fa26e9d4456051d5adf3e4cd9314a

4 years agoedje edje_cc: remove beta tag for vector part.
Hermet Park [Fri, 29 May 2020 01:58:52 +0000 (10:58 +0900)]
edje edje_cc: remove beta tag for vector part.

vector part has been used since 2014, now it's widely used in many cases.
let's remove the beta tag, it's mature using in svg.

Change-Id: I1d0d795099c3cfabf70650657d0f5f9de5f09afd

4 years agoelm_bg: restore legacy bg sizing_eval to keep backward compatibility
Yeongjong Lee [Wed, 27 May 2020 06:17:45 +0000 (15:17 +0900)]
elm_bg: restore legacy bg sizing_eval to keep backward compatibility

In tizen 4.0, elm_bg size is always (0, 0). only internal image object had size
as file image size.

To keep legacy size policy, elm_bg override `elm_layout_sizing_eval` to
resize internal image and `efl_canvas_group_calculate` to prevent resize elm_bg.

Note that if you don't set any size to elm_bg, elm_bg size is (0, 0) by default
even though its child have size.

@tizen_fix

Change-Id: I54677a1024078ba1f157b8fd495e00dce713cce6

4 years agoecore_wl2: Add internal tag for Events.
Woochanlee [Wed, 27 May 2020 10:44:59 +0000 (19:44 +0900)]
ecore_wl2: Add internal tag for Events.

Some of the Event should not be public

Change-Id: I603967d8a6a6d6e2f24829fea390b5757e0dddbc

4 years agogenlist : support synchronized deletion in item select for compatibility safety
SangHyeon Jade Lee [Tue, 26 May 2020 10:30:40 +0000 (19:30 +0900)]
genlist : support synchronized deletion in item select for compatibility safety

in tizen 4.0
all deletions are synchronized,
so user might write the code with expecting item is deleted by API call
immediately.

in tizen 5.5
we keep the object reference and defer the efl_del of item object in
special case that it has to alive,
and this action may broken backward compatibility for some application,
which is wrote wrong expectation,
but still we have to support them.

this code is fallback the tizen 4.0 deletion process.
item is referenced by efl_ref() while select callback is processing,
but internal item deletion is happen immediately,
and only the object itself is alive till we call efl_unref().

it is only activated by ignore_ref flag up,
for applying genlist tizen only.

Change-Id: I89e2645823bf603c084a2c2df7feb518798b2a36

4 years agoelementary: Fix memory leak in elm_list
Subhransu Mohanty [Wed, 27 May 2020 04:47:42 +0000 (13:47 +0900)]
elementary: Fix memory leak in elm_list

Change-Id: Ica703e4487b47f3724a229724941b4b8269db7fc

4 years agoelementary: Fix memory leak in gengrid and genlist
Subhransu Mohanty [Wed, 27 May 2020 04:08:35 +0000 (13:08 +0900)]
elementary: Fix memory leak in gengrid and genlist

Change-Id: Id21f707659f7eee031a9d367b82892eecb712dfe

4 years agoecore_wl2 : Add missing code when merge.
Woochanlee [Wed, 27 May 2020 04:24:28 +0000 (13:24 +0900)]
ecore_wl2 : Add missing code when merge.

Upstream added this code in _xdg_toplevel_cb_close()
but we use _zxdg_toplevel_cb_close().

Change-Id: Ied2402f1baa44eb130e8e0d804feaa241ddde266

4 years agoEfl.Gfx.Vg.Value_Provider: Move internal function changed_flag to eo.
JunsuChoi [Mon, 1 Jun 2020 04:21:04 +0000 (13:21 +0900)]
Efl.Gfx.Vg.Value_Provider: Move internal function changed_flag to eo.

Summary:
changed_flag was declared in the private header for internal use(static_lib).
However, as the meson script has been changed, it can no longer be used.
changed_flag can display the property to which the changed
among the properties of value_provider.
there is no problem in providing it as an eo function, so move the function to eo.

Test Plan: N/A

Reviewers: Hermet, herb, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoelm_gen****: free item_content map
Marcel Hollerbach [Mon, 1 Jun 2020 01:46:29 +0000 (10:46 +0900)]
elm_gen****: free item_content map

Summary:
this should be freeed. Both can be freed in group_del after the items
are deleted.

fix T8732

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8732

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

4 years agobindings/lua: simplify some eolian binding code
Daniel Kolesa [Sun, 31 May 2020 05:26:52 +0000 (07:26 +0200)]
bindings/lua: simplify some eolian binding code

4 years agobindings/lua: fixes for cffi-lua
Daniel Kolesa [Sun, 31 May 2020 04:39:50 +0000 (06:39 +0200)]
bindings/lua: fixes for cffi-lua

4 years agoelua: fix object system on lua 5.2 onwards
Daniel Kolesa [Sun, 31 May 2020 01:39:49 +0000 (03:39 +0200)]
elua: fix object system on lua 5.2 onwards

This is a quick hacky fix, but it enables elua to work well with
lua 5.2+. Notably Eolian bindings work now.

Later this will be rewritten to use __gc directly on object
instances, with a fallback for newproxy for 5.1/luajit.

4 years agobindings/lua: use new _fill api variants for expr values
Daniel Kolesa [Sun, 31 May 2020 00:28:22 +0000 (02:28 +0200)]
bindings/lua: use new _fill api variants for expr values

The previous behavior was also invalid, since it was casting
a GC-managed pointer, which doesn't provide any guarantee that
it will stay valid. Fix that too, by using manually allocated
memory and assigning a finalizer at the end.

4 years agoeolian: add out-param variants of expr eval/value get funcs
Daniel Kolesa [Sun, 31 May 2020 00:11:15 +0000 (02:11 +0200)]
eolian: add out-param variants of expr eval/value get funcs

This is for compatibility with bindings that can't express passing
unions by value (e.g. anything libffi based).

4 years agobindings/lua: minor fixes to accommodate cffi-lua
Daniel Kolesa [Sat, 30 May 2020 23:53:52 +0000 (01:53 +0200)]
bindings/lua: minor fixes to accommodate cffi-lua

4 years agoevas examples - build box example again - missing header
Carsten Haitzler (Rasterman) [Sat, 30 May 2020 11:10:15 +0000 (12:10 +0100)]
evas examples - build box example again - missing header

4 years agoevas - examples - evas box fix path to png file
Carsten Haitzler (Rasterman) [Sat, 30 May 2020 11:01:32 +0000 (12:01 +0100)]
evas - examples - evas box fix path to png file

4 years agoelua: use cffi-lua public header
Daniel Kolesa [Sat, 30 May 2020 04:44:29 +0000 (06:44 +0200)]
elua: use cffi-lua public header

4 years agoelua: fix build with luajit or lua 5.1
Daniel Kolesa [Fri, 29 May 2020 15:45:34 +0000 (17:45 +0200)]
elua: fix build with luajit or lua 5.1

4 years agobindings: rename luajit -> lua
Daniel Kolesa [Fri, 29 May 2020 15:06:22 +0000 (17:06 +0200)]
bindings: rename luajit -> lua

4 years agobindings/luajit/eolian: get rid of using bitops
Daniel Kolesa [Fri, 29 May 2020 15:00:28 +0000 (17:00 +0200)]
bindings/luajit/eolian: get rid of using bitops

4 years agoelua: allow building with interpreted (non-luajit) lua
Daniel Kolesa [Fri, 29 May 2020 14:22:42 +0000 (16:22 +0200)]
elua: allow building with interpreted (non-luajit) lua

This doesn't fully work yet as e.g. Eolian bindings require
the bitop module only present in luajit for now.

In order to build, you will need to install

https://github.com/q66/cffi-lua

in order to provide the FFI. It needs to be built for the Lua
version you are building EFL with.

4 years agoci: get rid of all extra asan handling
Stefan Schmidt [Thu, 28 May 2020 09:54:11 +0000 (11:54 +0200)]
ci: get rid of all extra asan handling

Now that we have this in meson setup we do not need all the CI script
logic here anymore.

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

4 years agobuild: ensure we set all needed asan option for check run as well
Stefan Schmidt [Thu, 28 May 2020 09:42:59 +0000 (11:42 +0200)]
build: ensure we set all needed asan option for check run as well

Normally we would set the needed detect_odr_violation=0 form our CI
scripts. Move it here to ensure we have it set and it does not get
forgotten when meson overrides the env far.

Fixes the ASAN job on CI.

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

4 years agoevas_text: reduce Video Memory & RAM needed for text textures (Color Glyphs)
Ali Alzyod [Fri, 29 May 2020 09:10:28 +0000 (10:10 +0100)]
evas_text: reduce Video Memory & RAM needed for text textures (Color Glyphs)

Summary:
Texture created for bitmap font glyph, with a fixed size in the font, this size could be much bigger than the needed size in application.
Then a scale factor is applied to these textures when drawn.

Now, instead, we will create smaller bitmaps and create texture from them with reduced texture size (that is not needed).

** This will affect both Video Memory and Ram needed to store glyphs**

Open this file {F3883874} in terminology before and after applying the patch and notice the difference.

Test Plan:
**Notes**
- You need to scroll down to make all glyphs visible, then notice Video/Ram memory

|                      | Video | Ram
|----------------------|-------|-----
| Before (Font_size=50) |  360   |  300
| After (Font_size=50) |  40   | 100
| Ration After/before   |  11%  |  33%

**I notice speed up in text rendering for small font size**

```
#include <Elementary.h>

typedef struct _APP
{
  Evas_Object *tb1;
  Evas_Object *btnLoad;
} APP;

char *text = "<align=center><color=#4DE0FFFF underline=on underline_color=#4DE0FFFF><a href='tel:1234567890'>1234567890</a></color>😀😁😂🤣😃😄😅😆😉😊😋😎😍😘😗😙😚☺🙂🤗🤔😐😑😶🙄😏😣😥😮🤐😯😪😫😴😌🤓😛😜😝🤤😒😓😔😕🙃🤑😲☹🙁😖😞😟😤😢😭😦😧😨😩😬😰😱😳😵😡😠😇🤠🤡🤥😷🤒🤕🤢🤧☻😈👿👹👺💀☠👻👽👾🤖💩😺😸😹😻😼😽🙀😿😾🙈🙉🙊👦👧👨👩👵👶👼👨‍⚕️👩‍⚕️👨‍🎓👩‍🎓👨‍🏫👩‍🏫👨‍⚖👩‍⚖👨‍🌾👩‍🌾👨‍🍳👩‍🍳👨‍🔧👩‍🔧👨‍🏭👩‍🏭👨‍💼👩‍💼👨‍🔬👩‍🔬👨‍💻👩‍💻👨‍🎤👩‍🎤👨‍🎨👩‍🎨👨‍✈️👩‍✈️👨‍🚀👩‍🚀👨‍🚒👩‍🚒👮‍♂️👮‍♀️🕵️‍♂️🕵️‍♀️💂‍♂️💂‍♀️👷‍♂️👷‍♀️👳‍♂️👳‍♀️👱‍♂️👱‍♀️🎅🤶👸🤴👰🤵🤰👲🙍‍♂️🙍‍♀️🙎‍♂️🙎‍♀️🙅‍♂️🙅‍♀️🙆‍♂️🙆‍♀️💁‍♂️💁‍♀️🙋‍♂️🙋‍♀️🙇‍♂️🙇‍♀️🤦‍♂️🤦‍♀️🤷‍♂️🤷‍♀️💆‍♂️💆‍♀️💇‍♂️💇‍♀️🚶‍♂️🚶‍♀️🏃‍♂️🏃‍♀️💃🕺👯‍♂️👯‍♀️🕴🗣👤👥👫👬👭💏💑👪👨‍👩‍👧👨‍👩‍👧‍👦👨‍👩‍👦‍👦👨‍👩‍👧‍👧👨‍👦👨‍👦‍👦👨‍👧👨‍👧‍👦👨‍👧‍👧👩‍👦👩‍👦‍👦👩‍👧👩‍👧‍👦👩‍👧‍👧💪🤳👈👉☝️👆🖕👇✌🤞🖖🤘👊🖐✋👌👍👎✊👊🤛🤜🤚👋👏✍👐🙌🙏🤝💅👂👃👣👀👁👅👄💋💘❤💓💔💕💖💗💙💚💛💜🖤💝💞💟❣💌💤💢💣💥💦💨💫💬🗨🗯💭🕳👓🕶👔👕👖👗👘👙👚👛👜👝🛍🎒👞👟👠👡👢👑👒🎩🎓⛑📿💄💍💎🐵🐒🦍🐶🐕🐩🐺🦊🐱🐈🦁🐯🐅🐆🐴🐎🦌🦄🐮🐂🐃🐄🐷🐖🐗🐽🐏🐑🐐🐪🐫🐘🦏🐭🐁🐀🐹🐰🐇🐿🦇🐻🐨🐼🐾🦃🐔🐓🐣🐤🐥🐦🐧🕊🦅🦆🦉🐸🐊🐢🦎🐍🐲🐉🐳🐋🐬🐟🐠🐡🦈🐙🐚🦀🦐🦑🦋🐌🐛🐜🐝🐞🕷🕸🦂💐🌸💮🏵🌹🥀🌺🌻🌼🌷⚘🌱🌲🌳🌴🌵🌾🌿☘🍀🍁🍂🍃🍇🍈🍉🍊🍋🍌🍍🍎🍏🍐🍑🍒🍓🍅🥝🥑🍆🥔🥕🌽🌶🥒🍄🥜🌰🍞🥐🥖🥞🧀🍖🍗🥓🍔🍟🍕🌭🌮🌯🥙🥚🍳🥘🍲🥗🍿🍱🍘🍙🍚🍛🍜🍝🍠🍢🍣🍤🍥🍡🍦🍧🍨🍩🍪🎂🍰🍫🍬🍭🍮🍯🍼🥛☕🍵🍶🍾🍷🍸🍹🍺🍻🥂🍽🍴🥄🔪🏺🎃🎄🎆🎇✨🎈🎉🎊🎋🎍🎎🎏🎐🎑🎀🎁🎗🎟🎫🎖🏆🏅🥇🥈🥉⚽️⚾️🏀🏐🏈🏉🎾🎱🎳🏏🏑🏒🏓🏸🥊🥋🥅🎯⛳🏌️‍♂️🏌️‍♀️⛸🎣🎽🎿⛷🏂🏄‍♂️🏄‍♀️🏇🏊‍♂️🏊‍♀️⛹️‍♂️⛹️‍♀️🏋️‍♂️🏋️‍♀️🚴‍♂️🚴‍♀️🚵‍♂️🚵‍♀️🏎🏍🤸‍♂️🤸‍♀️🤼‍♂️🤼‍♀️🤽‍♂️🤽‍♀️🤾‍♂️🤾‍♀️🤺🤹‍♂️🤹‍♀️🎮🕹🎲♠️♥️♦️♣️🃏🀄🎴🌍🌎🌏🌐🗺🏔⛰🌋🗻🏕🏖🏜🏝🏞🏟🏛🏗🏘🏙🏚🏠🏡🏢🏣🏤🏥🏦🏨🏩🏪🏫🏬🏭🏯🏰💒🗼🗽⛪🕌🕍⛩🕋⛲⛺🌁🌃🌄🌅🌆🌇🌉⛼♨️🌌🎠🎡🎢💈🎪🎭🖼🎨🎰🚂🚃🚄🚅🚆🚇🚈🚉🚊🚝🚞🚋🚌🚍🚎🚐🚑🚒🚓🚔🚕🚖🚗🚘🚙🚚🚛⛟🚜🚲🛴🛵🚏🛣🛤⛽🚨🚥🚦🚧🛑⚓⛵🚣‍♂️🚣‍♀️🛶🚤🛳⛴🛥🚢✈🛩🛫🛬💺🚁🚟🚠🚡🚀🛰🛎🚪🛌🛏🛋🚽🚿🛀🛁⌛⏳⌚⏰⏱⏲🕰🕛🕧🕐🕜🕑🕝🕒🕞🕓🕟🕔🕠🕕🕡🕖🕢🕗🕣🕘🕤🕙🕥🕚🕦🌑🌒🌓🌔🌕🌖🌗🌘🌙🌚🌛🌜🌡☀️🌝🌞⭐🌟🌠☁️⛅⛈🌤🌥🌦🌧🌨🌩🌪🌫🌬🌀🌈🌂☂️☔⛱⚡❄☃️⛄☄🔥💧🌊🔇🔈🔉🔊📢📣📯🔔🔕🎼🎵🎶🎙🎚🎛🎤🎧📻🎷🎸🎹🎺🎻🥁📱📲☎️📞📟📠🔋🔌💻🖥🖨⌨🖱🖲💽💾💿📀🎥🎞📽🎬📺📷📸📹📼🔍🔎🔬🔭📡🕯💡🔦🏮📔📕📖📗📘📙📚📓📒📃📜📄📰🗞📑🔖🏷💰💴💵💶💷💸💳💱💲✉📧📨📩📤📥📦📫📪📬📭📮🗳✏✒🖋🖊🖌🖍📝💼📁📂🗂📅📆🗒🗓📇📈📉📊📋📌📍📎🖇📏📐✂️🗃🗄🗑🔒🔓🔏🔐🔑🗝🔨⛏⚒🛠🗡⚔🔫🏹🛡🔧🔩⚙🗜⚗⚖🔗⛓💉💊🚬⚰⚱🗿🛢🔮🔮🏧🚮🚰♿🚹🚺🚻🚼🚾🛂🛃🛄🛅⚠️🚸⛔🚫🚳🚭🚯🚱🚷📵🔞☢☣⬆️↗️➡️↘️⬇️↙️⬅️↖️↕️↔️↩↪⤴️⤵️🔃🔄🔙🔚🔛🔜🔝🛐⚛🕉✡☸☯️☦☮🕎🔯♈♉♊♋♌♍♎♏♐♑♒♓⛎🔀🔁🔂▶️⏩⏭⏯◀️⏪⏮🔼⏫🔽⏬⏸⏹⏺⏏🎦🔅🔆📶📳📴♻️📛⚜🔰🔱⭕✅☑✔✖❌❎➕♀️♂️⚕➖➗➰➿〽✳✴❇⁉️❓❔❕❗〰🔟💯🔠🔡🔢🔣🔤🅰️🆎️🅱️🆑️🆒️🆓️ℹ🆔️Ⓜ️🆕️🆖️🅾️🆗️🅿️🆘️🆙️🆚️🈁🈂🈷🈶🈯🉐🈹🈚🈲🉑🈸🈴🈳㊗㊙🈺🈵▫️◻◼◽◾⬛⬜🔶️🔷️🔸️🔹️🔺️🔻💠🔘🔲🔳⚪⚫🔴🔵🏁🚩🏴🏳🏳️‍🌈⚀⚁⚂⚃⚄⚅⛾♾🇦🇨🇦🇩🇦🇪🇦🇫🇦🇬🇦🇮🇦🇱🇦🇲🇦🇴🇦🇶🇦🇷🇦🇸🇦🇹🇦🇺🇦🇼🇦🇽🇦🇿🇧🇦🇧🇧🇧🇩🇧🇪🇧🇫🇧🇬🇧🇭🇧🇮🇧🇯🇧🇱🇧🇲🇧🇳🇧🇴🇧🇶🇧🇷🇧🇸🇧🇹🇧🇼🇧🇾🇧🇿🇨🇦🇨🇨🇨🇩🇨🇫🇨🇬🇨🇭🇨🇮🇨🇰🇨🇱🇨🇲🇨🇳🇨🇴🇨🇷🇨🇺🇨🇻🇨🇼🇨🇽🇨🇾🇨🇿🇩🇪🇩🇯🇩🇰🇩🇲🇩🇴🇩🇿🇪🇨🇪🇪🇪🇬🇪🇭🇪🇷🇪🇸🇪🇹🇪🇺🇫🇮🇫🇯🇫🇰🇫🇲🇫🇴🇫🇷🇬🇦🇬🇧🇬🇩🇬🇪🇬🇫🇬🇬🇬🇭🇬🇮🇬🇱🇬🇲🇬🇳🇬🇵🇬🇶🇬🇷🇬🇸🇬🇹🇬🇺🇬🇼🇬🇾🇭🇰🇭🇲🇭🇳🇭🇷🇭🇹🇭🇺🇮🇨🇮🇩🇮🇪🇮🇱🇮🇲🇮🇳🇮🇴🇮🇶🇮🇷🇮🇸🇮🇹🇯🇪🇯🇲🇯🇴🇯🇵🇰🇪🇰🇬🇰🇭🇰🇮🇰🇲🇰🇳🇰🇵🇰🇷🇰🇼🇰🇾🇰🇿🇱🇦🇱🇧🇱🇨🇱🇮🇱🇰🇱🇷🇱🇸🇱🇹🇱🇺🇱🇻🇱🇾🇲🇦🇲🇨🇲🇩🇲🇪🇲🇬🇲🇭🇲🇰🇲🇱🇲🇲🇲🇳🇲🇴🇲🇵🇲🇶🇲🇷🇲🇸🇲🇹🇲🇺🇲🇻🇲🇼🇲🇽🇲🇾🇲🇿🇳🇦🇳🇨🇳🇪🇳🇫🇳🇬🇳🇮🇳🇱🇳🇴🇳🇵🇳🇷🇳🇺🇳🇿🇴🇲🇵🇦🇵🇪🇵🇫🇵🇬🇵🇭🇵🇰🇵🇱🇵🇲🇵🇳🇵🇷🇵🇸🇵🇹🇵🇼🇵🇾🇶🇦🇷🇪🇷🇴🇷🇸🇷🇺🇷🇼🇸🇦🇸🇧🇸🇨🇸🇩🇸🇪🇸🇬🇸🇭🇸🇮🇸🇰🇸🇱🇸🇲🇸🇳🇸🇴🇸🇷🇸🇸🇸🇹🇸🇻🇸🇽🇸🇾🇸🇿🇹🇦🇹🇨🇹🇩🇹🇫🇹🇬🇹🇭🇹🇯🇹🇰🇹🇱🇹🇲🇹🇳🇹🇴🇹🇷🇹🇹🇹🇻🇹🇼🇹🇿🇺🇦🇺🇬🇺🇳🇺🇸🇺🇾🇺🇿🇻🇦🇻🇨🇻🇪🇻🇬🇻🇮🇻🇳🇻🇺🇼🇫🇼🇸🇽🇰🇾🇪🇾🇹🇿🇦🇿🇲🇿🇼8<br/><br/><br/><br/>Sent from my Samsung Galaxy smartphone.</align>";

int font_size = 100;
void _button_clicked(void *data, Evas_Object *obj, void *event_info)
{
   APP *app = data;
   font_size = font_size - font_size/5;
   char buffer[100] = {0};
   sprintf(buffer, "DEFAULT='font=NotoColorEmoji font_size=%i color=red ellipsis=-1.0 wrap=mixed'", font_size);

   Evas_Textblock_Style *style = evas_textblock_style_new();
   evas_textblock_style_set(style, buffer);
   evas_object_textblock_style_set(app->tb1, style);
   evas_textblock_style_free(style);

   sprintf(buffer, "font_size = %i",font_size);
   elm_object_text_set(app->btnLoad, buffer);

   style = NULL;
}

EAPI_MAIN int
elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
{
  APP *app = calloc(1, sizeof(APP));
  Evas_Object *win, *scroller1, *scroller2, *box;

  elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);

  win = elm_win_util_standard_add("", "");
  elm_win_autodel_set(win, EINA_TRUE);

  box = elm_box_add(win);
  evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
  evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
  scroller1 = elm_scroller_add(win);
  evas_object_size_hint_weight_set(scroller1, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
  evas_object_size_hint_align_set(scroller1, EVAS_HINT_FILL, EVAS_HINT_FILL);

  //evas_text_cache_policy_set(EVAS_TEXT_CACHE_POLICY_TEXTURE ,EVAS_TEXT_CACHE_NONE);

  app->tb1 = evas_object_textblock_add(win);
  Evas_Textblock_Style *style = evas_textblock_style_new();
  char buffer[100] = {0};
  sprintf(buffer, "DEFAULT='font=NotoColorEmoji font_size=%i color=red ellipsis=-1.0 wrap=mixed'", font_size);
  evas_textblock_style_set(style, buffer);
  evas_object_textblock_style_set(app->tb1, style);
  evas_textblock_style_free(style);
  style = NULL;

  int w,h;
  evas_object_textblock_text_markup_set(app->tb1, "");
  evas_object_size_hint_min_set(app->tb1, 360, 720);
  elm_object_content_set(scroller1, app->tb1);
  elm_box_pack_end(box, scroller1);
  elm_object_content_set(win, box);

  app->btnLoad = elm_button_add(win);
  sprintf(buffer, "font_size = %i",font_size);
  elm_object_text_set(app->btnLoad, buffer);
  evas_object_smart_callback_add(app->btnLoad, "clicked", _button_clicked, app);
  evas_object_show(app->btnLoad);
  evas_object_move(app->btnLoad, 0, 20);
  evas_object_resize(app->btnLoad, 150, 20);

  evas_object_textblock_text_markup_set(app->tb1, text);
  evas_object_textblock_size_formatted_get(app->tb1, &w, &h);
  evas_object_size_hint_min_set(app->tb1, 800, w/800 + h + 150);

  evas_object_resize(win, 800, 800);
  evas_object_show(box);
  evas_object_show(scroller1);
  evas_object_show(scroller2);
  evas_object_show(win);
  elm_run();

  return 0;
}
ELM_MAIN()
```

Reviewers: raster, woohyun, bu5hm4n, zmike, Hermet, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8712

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

4 years agoSupport WebP Animation Image Files
Taehyub Kim [Fri, 29 May 2020 02:40:37 +0000 (11:40 +0900)]
Support WebP Animation Image Files

Summary:
Support WebP Animate Format Imaeg Files.
To support webp animation, apply webp animation decoder.

Test Plan:
1. compile src/exmaple/elementary/image_webp_example_01.c and 02.c
2. run the samples

Reviewers: Hermet, kimcinoo, jsuya, bu5hm4n

Reviewed By: Hermet, kimcinoo, jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_textpath: reduce unneeded matrix calculations
ali198724 [Fri, 29 May 2020 02:38:26 +0000 (11:38 +0900)]
efl_ui_textpath: reduce unneeded matrix calculations

Reviewers: woohyun, Hermet, bu5hm4n, zmike

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agobuild - fix eina pc deps so you can build against efl again
Carsten Haitzler (Rasterman) [Thu, 28 May 2020 19:38:41 +0000 (20:38 +0100)]
build - fix eina pc deps so you can build against efl again

4 years agobuild: add efl-canvasl-wl to efl-one
Marcel Hollerbach [Thu, 28 May 2020 09:56:33 +0000 (11:56 +0200)]
build: add efl-canvasl-wl to efl-one

this is required by e, thank you Ross.

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

4 years agoIntroduce a test to verify efl-one only links to the correct libs
Marcel Hollerbach [Thu, 28 May 2020 09:46:45 +0000 (11:46 +0200)]
Introduce a test to verify efl-one only links to the correct libs

whenever this script finds any module linked to libe* (but not
libefl-one.so) it will error.

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

4 years agobuild: vg_common depends on evas internals
Marcel Hollerbach [Thu, 28 May 2020 07:51:24 +0000 (09:51 +0200)]
build: vg_common depends on evas internals

this must depend on the eo file targets, as they must be generated.

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

4 years agobuild: split off static parts from external parts in evas
Marcel Hollerbach [Thu, 28 May 2020 06:27:37 +0000 (08:27 +0200)]
build: split off static parts from external parts in evas

this way we can use that list easily in the modules, and keep the list
for later module building.

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

4 years agobuild: make eina drag in the -lm flag
Marcel Hollerbach [Wed, 27 May 2020 16:21:37 +0000 (18:21 +0200)]
build: make eina drag in the -lm flag

eina uses math.h we need to drag in this flag everywhere.

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

4 years agobuild: add priv eo targets to efl_one_eo_deps
Marcel Hollerbach [Wed, 27 May 2020 16:20:11 +0000 (18:20 +0200)]
build: add priv eo targets to efl_one_eo_deps

this was forgotten / never spotted before. Thank you Quelrond for the
report!

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

4 years agobuild: rely on automatic pkg file generation for eina
Marcel Hollerbach [Wed, 27 May 2020 12:37:28 +0000 (14:37 +0200)]
build: rely on automatic pkg file generation for eina

this automatically brings it to efl-one, which makes this easier.

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

4 years agoefl_ui_bg: disable preloading of the internal image
Yeongjong Lee [Thu, 28 May 2020 07:17:58 +0000 (16:17 +0900)]
efl_ui_bg: disable preloading of the internal image

Summary:
preloading is elm_image feature. it is better to disable preloading for elm_bg
becuase there is no way to disable preloading of internal image in elm_bg.
If API user want to use preloaded image, elm_image is recommended instead of
elm_bg.

Test Plan: elm_bg_file_set with big image.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_render: do not use mask of proxy source
Shinwoo Kim [Thu, 28 May 2020 01:40:40 +0000 (10:40 +0900)]
evas_render: do not use mask of proxy source

Summary:
A mask of proxy source can be same with a mask of proxy source's child.
If source_clip is false, then the child object should not use the mask.

Test Plan: {F3888363}

Reviewers: Hermet, herb, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoci: travis: switch to newly prepared Fedora32 mingw image
Stefan Schmidt [Wed, 27 May 2020 14:44:03 +0000 (16:44 +0200)]
ci: travis: switch to newly prepared Fedora32 mingw image

4 years agoelput - fix #else path for minor
Carsten Haitzler (Rasterman) [Wed, 27 May 2020 15:24:46 +0000 (16:24 +0100)]
elput - fix #else path for minor

4 years agoelput - it seems not everyone has major and minor macros defined
Carsten Haitzler (Rasterman) [Wed, 27 May 2020 14:30:59 +0000 (15:30 +0100)]
elput - it seems not everyone has major and minor macros defined

so handle those cases and provide some implementation for those,
otherwise use the macros.

4 years agoecore_wl2_window: copy available rotation info.
Hosang Kim [Wed, 27 May 2020 14:05:30 +0000 (10:05 -0400)]
ecore_wl2_window: copy available rotation info.

Summary:
ecore_wl2_window doesn't copy rotation information.
If passed pointer is destroyed, rotation information disappears.
So add memory allocating for managing information.

Reviewers: CHAN, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_wl2: Fix event type name.
Woochanlee [Wed, 27 May 2020 14:03:38 +0000 (10:03 -0400)]
ecore_wl2: Fix event type name.

Summary: It's been missed commit 9ca13ef5c10904b620407ce8981fadf2a903b180

Reviewers: Hermet, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agobuild: efl-one track all subdirs correctly
Marcel Hollerbach [Wed, 27 May 2020 12:38:32 +0000 (14:38 +0200)]
build: efl-one track all subdirs correctly

this was missed before, so the subdirectories have not been correctly
added. With this you can now simply build with efl-one with including
<Elementary.h>

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11893

4 years agoedje: fix memory leak in edje part recalculation.
Myoungwoon Roy, Kim [Wed, 27 May 2020 00:03:15 +0000 (00:03 +0000)]
edje: fix memory leak in edje part recalculation.

Allocated part_array is only freed when _circular_dependency_find() is successful. It is not freed in other cases.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: woochan lee <wc0917.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11886

4 years agoEina file test: use the correct Eina file object
Vincent Torri [Tue, 26 May 2020 21:48:56 +0000 (21:48 +0000)]
Eina file test: use the correct Eina file object

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D11885

4 years agoEina file test: on Windows, open cmd, not a shell
Vincent Torri [Tue, 26 May 2020 21:45:31 +0000 (21:45 +0000)]
Eina file test: on Windows, open cmd, not a shell

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D11884

4 years agobuild - systemd service files - install fix if systemd not found
Carsten Haitzler (Rasterman) [Wed, 27 May 2020 13:10:33 +0000 (14:10 +0100)]
build - systemd service files - install fix if systemd not found

so if systemd is not found - installe in PREFIX/lib/systemd/user which
allows build to work without disabling systemd.

4 years agobuild: add correct flags to efl-one.pc
Marcel Hollerbach [Wed, 27 May 2020 11:09:36 +0000 (13:09 +0200)]
build: add correct flags to efl-one.pc

they are required, and normally dragged in via eina.

4 years agobuild - fix deps for efl_canvas_wl to be able to build against efl
Carsten Haitzler (Rasterman) [Wed, 27 May 2020 10:45:41 +0000 (11:45 +0100)]
build - fix deps for efl_canvas_wl to be able to build against efl

4 years agobuild: stop buildsystem from beeing a public dependency
Marcel Hollerbach [Tue, 26 May 2020 08:53:45 +0000 (10:53 +0200)]
build: stop buildsystem from beeing a public dependency

this is wrong, each library should declare it on its own

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11883

Change-Id: Idb9f561caa2707536e42faacc651005ed4587a22

4 years agobuild: time for efl-one
Marcel Hollerbach [Sun, 10 May 2020 12:43:28 +0000 (14:43 +0200)]
build: time for efl-one

this is building parts of efl into a single .so and links all modules
and binaries to it.

The libraries themselfs are build as .a's which are linked together as
.so's. Which is required as every subproject has its little custom
c_flags, which are somtimes conflicting.

After the final .so is then built, all the split up libraries are
replaced with the efl-one. After that the modules and binaries are built
correctly with the correct link on the efl-one parts.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11808

Change-Id: Icbb8b0f60c2581e07c57e87ae66f44bc8c0e7de8

4 years agorefactor build
Marcel Hollerbach [Sun, 10 May 2020 12:41:57 +0000 (14:41 +0200)]
refactor build

libraries are split into deps, external deps, and pub deps.
Evas engines are refactored to use the predefined engine deps.

this is preparation work for efl-one.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11806

Change-Id: Ib08b551dd830ac4d69dda029442ea0bced2af30e

4 years agobuild: split up building of libs, bins, modules, benchmark
Marcel Hollerbach [Thu, 7 May 2020 17:05:54 +0000 (19:05 +0200)]
build: split up building of libs, bins, modules, benchmark

this is needed as a preparation for more build refactoring. Overall goal
to build efl in a single .so.

What this commit results in is that *every* lib gets build first, then
the modules and binaries of all subprojects. This way of building is
needed in order to replace the split up libraries with the efl-one one
later.

Additionally, the infrastructure is added to set flags on the libraries
that should be build together.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11805

Change-Id: Ie85c840aa6280687500223d97fdeb001d432114e

4 years agoefl gfx_path: fix memory leak.
Hermet Park [Wed, 27 May 2020 06:34:24 +0000 (15:34 +0900)]
efl gfx_path: fix memory leak.

his reverts commit 38be95b0b6fd93df01636ae0a7c974b32ed694a1.

The reverting patch blocks efl_canvas_vg_shape triggers efl_canvas_vg_node destructor.

That occurs massive leaks among the all nodes in the vector tree.

To fix the origin issue, we must reset path explicitly in the derived class.

@fix

4 years agoedje: fix memory leak by freeing the limits pointer.
Subhransu Mohanty [Wed, 27 May 2020 05:55:44 +0000 (14:55 +0900)]
edje: fix memory leak by freeing the limits pointer.

Summary:
This limit parts are only used in naviframe edc thats why it is
only showing up in naviframe test app.

Reviewers: Jaehyun_Cho, Hermet

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje_load : clean up vector resource when edje file freed.
Woochanlee [Wed, 27 May 2020 03:32:11 +0000 (12:32 +0900)]
edje_load : clean up vector resource when edje file freed.

Summary: Fix memory leak.

Reviewers: cedric, Hermet, smohanty, bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje: Fix memory leak by freeing the filter data.
Subhransu Mohanty [Wed, 27 May 2020 03:31:35 +0000 (12:31 +0900)]
edje: Fix memory leak by freeing the filter data.

Reviewers: Hermet, CHAN

Reviewed By: CHAN

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore-evas-wayland: fix migration build error
Jongmin Lee [Tue, 26 May 2020 22:29:01 +0000 (07:29 +0900)]
ecore-evas-wayland: fix migration build error

Change-Id: Ieb0ac38990ddebad4c9b539712fb7e04e637b066

4 years agoecore-evas-wayland: Fix unused variables
Christopher Michael [Tue, 26 May 2020 18:51:53 +0000 (14:51 -0400)]
ecore-evas-wayland: Fix unused variables

Patch 09ab8c9967512e67b7 added code to printf wl client animation
ticks, however the line that actually does the printing is commented
out (which is fine) but the variables used in that printf are not
needed if we are not printing things out

4 years agoecore-wl2: Remove unused variables
Christopher Michael [Tue, 26 May 2020 18:49:32 +0000 (14:49 -0400)]
ecore-wl2: Remove unused variables

Patch d584696f12c6d93e26 remove the unmapping of subsurfaces on window
hide, however the variables were left declared so remove those

4 years agoecore-wl2: Fix build break from patch 9ca13ef5c10904b620407
Christopher Michael [Tue, 26 May 2020 18:47:56 +0000 (14:47 -0400)]
ecore-wl2: Fix build break from patch 9ca13ef5c10904b620407

Above commit caused a build break from a missing comma ... Sole blame
falls on the reviewer for not doing a build test ... bad me ;)

4 years agoecore_wl2 : Organize window creation/deletion events.
Woochanlee [Tue, 26 May 2020 15:49:16 +0000 (11:49 -0400)]
ecore_wl2 : Organize window creation/deletion events.

Summary:
Add create / destroy events.
Call hide event when the window terminated if the window was visible.

Reviewers: devilhorns, Hermet, raster

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_wl2_window: do not unmap subsurface in hide
Shinwoo Kim [Tue, 26 May 2020 15:49:07 +0000 (11:49 -0400)]
ecore_wl2_window: do not unmap subsurface in hide

Summary:
If window_hide should unmap subsurface, then window_show should re-map
the unmapeed subsurface. I have no idea why window_hide unmap all subsurfs.

Reviewers: zmike, devilhorns

Reviewed By: zmike, devilhorns

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_textblock: fix doc typo
Ali Alzyod [Mon, 18 May 2020 07:47:58 +0000 (07:47 +0000)]
evas_textblock: fix doc typo

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11845

4 years agobuild: disable leak detection in address sanitizer build for tests as well
Stefan Schmidt [Tue, 26 May 2020 13:54:57 +0000 (09:54 -0400)]
build: disable leak detection in address sanitizer build for tests as well

Summary:
The same principle we use for the build stage we use here for running
our tests. Leak detection has just to many problems for us on the
shutdown path that it makes no sense to use here.

I am also bumping the evas timeout form the default 30s to 60 as I have
been running into timeouts with asan enabled on my machine. This would
not change anything on a default build.
Depends on D11137

Reviewers: smohanty, bu5hm4n, raster, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_main_timechanges: fix include
Marcel Hollerbach [Mon, 25 May 2020 09:24:28 +0000 (11:24 +0200)]
ecore_main_timechanges: fix include

we should not prefix this with the full path.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11881

4 years agoevas - csd and wl csd - fix alpha zeroing to avoid framespace junk
Carsten Haitzler (Rasterman) [Tue, 26 May 2020 11:16:09 +0000 (12:16 +0100)]
evas - csd and wl csd - fix alpha zeroing to avoid framespace junk

i noticed some junk in framespace... this happesn when solid objects
are outside the normal window content area and their solid areas are
not clipped to this inner frame area thus those areas are not "zeroed
out" next render.

@fix

4 years agocanvas vg: fix vector file data memory leak.
Hermet Park [Tue, 26 May 2020 09:47:44 +0000 (18:47 +0900)]
canvas vg: fix vector file data memory leak.

this file data must be freed when eet file is closed.

@fix

4 years agoevas vg: clean up dangling instances
Hermet Park [Tue, 26 May 2020 09:37:41 +0000 (18:37 +0900)]
evas vg: clean up dangling instances

unref containers when file is closed.

@fix

4 years agoMerge efreet_mime efreet_trash into efreet
Marcel Hollerbach [Sun, 10 May 2020 10:47:58 +0000 (12:47 +0200)]
Merge efreet_mime efreet_trash into efreet

efreet_mime and efreet_trash are now included in libefreet.so. There are
compatible libs for libefreet_mime.so libefreet_trash.so, which simple
drag in libefreet.so. .pc files also are in place for compatibility.

efreet_init & shutdown now initializes and shutdowns trash and mime.
The old init functions now simply call efreet_init, efreet_init will
then init the trash or mime libs.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11807

4 years agolib: add more c_args handling for places we missed before
Stefan Schmidt [Tue, 19 May 2020 14:30:08 +0000 (16:30 +0200)]
lib: add more c_args handling for places we missed before

These meson files did not have the c_args handling before. Make sure we
use package_c_args here as well.

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11860

4 years agobuild: modules: harmonize use of package_c_args
Stefan Schmidt [Mon, 18 May 2020 15:58:28 +0000 (17:58 +0200)]
build: modules: harmonize use of package_c_args

Adding it to all missing places so we can control it from the central
meson.build file.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11855

4 years agobuild: lib: harmonize the use of package_c_args in all libs
Stefan Schmidt [Mon, 18 May 2020 15:46:55 +0000 (17:46 +0200)]
build: lib: harmonize the use of package_c_args in all libs

Add it to subprojects which are not using it and remove and old
ELEMENTARY_BUILD define we no longer use. This allows us to have a
central place in the main meson.build file to set this variable.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11854

4 years agobenchmarks: use EFL_BUILD=1 in c_args
Stefan Schmidt [Mon, 18 May 2020 15:24:13 +0000 (17:24 +0200)]
benchmarks: use EFL_BUILD=1 in c_args

Original patch by Vincent Torri.

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11853

4 years agobuild: move EFL_BUILD to package_c_args used in all subprojects
Stefan Schmidt [Mon, 18 May 2020 15:18:54 +0000 (17:18 +0200)]
build: move EFL_BUILD to package_c_args used in all subprojects

Original patch by Vincent Torri. Co-authored with Marcel Hollerbach.

fixup

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11851

4 years agocanvas vg: fix dangling vector containers.
Hermet Park [Tue, 26 May 2020 07:08:30 +0000 (16:08 +0900)]
canvas vg: fix dangling vector containers.

These duplicated containers are not going removed
since its refernece is always more than 0.

We need to unref explicity when they have to

@fix

4 years agoedje: fix animation memory leak.
Hermet Park [Tue, 26 May 2020 05:37:10 +0000 (14:37 +0900)]
edje: fix animation memory leak.

if object is destructed on canvas animation,
its internal resource is leaked.

Here simple fix brings stopping animation before deleting obj.

@fix

4 years agoRevert "evas image: Support android 9 patch feature."
Hermet Park [Tue, 19 May 2020 03:34:05 +0000 (12:34 +0900)]
Revert "evas image: Support android 9 patch feature."

This reverts commit 23d4e94b3479f7e557c13f9557f43dd765c6d7b5.

9 patch feature was introduced by an another approach.

Change-Id: I8ce722d6a1163302d41dfc3215dd7a8850f997d2

4 years agolibs: headers: ensure we include headers in the correct order for EAPI
Stefan Schmidt [Mon, 18 May 2020 16:07:31 +0000 (18:07 +0200)]
libs: headers: ensure we include headers in the correct order for EAPI

We need to ensure this order to make sure EAPI is working correctly on
windows.

Original patch by Vincent Torri.

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

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
4 years agobenchmark: fix ident in meson.build file
Stefan Schmidt [Mon, 18 May 2020 15:22:12 +0000 (17:22 +0200)]
benchmark: fix ident in meson.build file

Use two spaces indent as in other files.

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

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>