platform/upstream/efl.git
3 years agoevas vg: Removed warnings 53/259153/2
Michal Szczecinski [Tue, 1 Jun 2021 16:48:46 +0000 (18:48 +0200)]
evas vg: Removed warnings

Change-Id: I5c31dd88331ebd2f030fca1e54900d64d5f16000

3 years agoRevert "Revert "ector - code clean up."" 28/259128/1
Hermet Park [Tue, 1 Jun 2021 09:38:27 +0000 (18:38 +0900)]
Revert "Revert "ector - code clean up.""

This reverts commit 2d935a44c1f69a9ac6548efb46900f63c4fd81e7.

Change-Id: Ic84ff4a35a9c9827600dc87a5423bcd7aa7764d8

3 years agoRevert "ector - code clean up." 91/259091/1 accepted/tizen/unified/20210602.122542 submit/tizen/20210601.080645 submit/tizen/20210601.084003
Chun [Tue, 1 Jun 2021 05:00:13 +0000 (05:00 +0000)]
Revert "ector - code clean up."

This reverts commit 8aae7d5e11124e37c1cc43454ead4dc91a1a6ceb.

Change-Id: I1029adbf5952a24c27be20f0e4e5c4c70d0c8dfc

3 years agoector - code clean up. 85/258985/2
Hermet Park [Fri, 28 May 2021 11:35:48 +0000 (20:35 +0900)]
ector - code clean up.

remove ector software engine.

Change-Id: If28abc6060426a794d30d9415c84250f323dce09

3 years agoevas canvas: +null check for safety. 26/259026/1
Hermet Park [Mon, 31 May 2021 06:02:46 +0000 (15:02 +0900)]
evas canvas: +null check for safety.

Prevent any corrupted objects in efl side...
It rarely happens that freed objects are accessed again with null properties...

Change-Id: If026d1ca29a1b9002b4f9c0c073cb4e455f55515

3 years agoevas vg: Fixed code style 82/258982/1
Michal Szczecinski [Fri, 28 May 2021 10:19:45 +0000 (12:19 +0200)]
evas vg: Fixed code style

Change-Id: Ia92af55e4e323d420f5d787c155eed6b84717a10

3 years agocanvas vg: fix the memory leak issue. 45/258845/7
Hermet Park [Wed, 26 May 2021 12:39:03 +0000 (21:39 +0900)]
canvas vg: fix the memory leak issue.

some dangled tvg nodes occured memory leak when interpolating vg tree.

this fixes the issue.

Change-Id: Ifef6f3cad011ef0fd4197bc6c06d00ebc75adbb8

3 years agoevas vg: Shape interpolation patch: indent and case check fix 26/258626/6
Michal Maciola [Fri, 21 May 2021 07:36:56 +0000 (09:36 +0200)]
evas vg: Shape interpolation patch: indent and case check fix

This patch fixes indent and if condition in patch "evas vg: Shape
interpolation patch".

Change-Id: I6d3c322c174f3b5d5cdcc4f8f866de05b3047d98

3 years agoevas vg: Removed macro from thorvg initialization code. 46/258846/1
Michal Szczecinski [Wed, 26 May 2021 12:28:28 +0000 (14:28 +0200)]
evas vg: Removed macro from thorvg initialization code.

Now thorvg is used as default so macro is not necessary there.

Change-Id: I9b40c47b268bc4bd35f01a8c46d45518707f3d2f

3 years agoevas: add evas_map_direct_render_set 53/257753/7
Shinwoo Kim [Fri, 30 Apr 2021 09:31:44 +0000 (18:31 +0900)]
evas: add evas_map_direct_render_set

This is for very special purpose interface to optimize memory usage of map.
This is for a smart object which has only one image object as its children.
The map will be applied to the image object instead of the smart object.

Change-Id: Ieceff3413aba7ac1c88aec694f47fb8c4dcc741d

3 years agoevas: support render sync commit 15/248515/13
Shinwoo Kim [Fri, 27 Nov 2020 09:03:27 +0000 (18:03 +0900)]
evas: support render sync commit

There is a requirement to know display server side commit.
This patch set provides way to get the commit of display server.

[Usage]
https://review.tizen.org/gerrit/#/c/profile/mobile/platform/core/uifw/elm-demo-tizen-mobile/+/240108/

@tizen_only

Change-Id: Ie75465d4e5b3f07ae2a8309b39ea6a6284d416dc

3 years agoecore_wl2_subsurface: support foreign shell 23/257823/3
Shinwoo Kim [Mon, 3 May 2021 11:46:11 +0000 (20:46 +0900)]
ecore_wl2_subsurface: support foreign shell

Please refer to following enlightenment commit message,
for more well defined information about the foreign shell.

  commit b213f873bc279d7957d407aec5f6157713bbf0b2
  Author: Seunghun Lee <shiin.lee@samsung.com>
  Date:   Fri Apr 9 14:41:03 2021 +0900

    Support wtz-foreign protocol
    This is an initial commit to support wtz-foreign protocol.

    This is to support out-of-process video playing surface.
    wtz-foreign protocol is to enable one client to share its resources to
    another client.
    The client which exported a reference of foreign shell then can change
    attributes - such as size, orientation, and map state - of foreign shell.
    So, the client which import a foreign shell can draw its contents onto a
    surface without concerning about attributes such as size like as
    mentioned.

    The e_foreign contains implementation of wtz_exporter and wtz_importer.
    And e_foreign_shell contains implementation of wtz_exported_shell and
    wtz_foreign_shell.

Change-Id: Ie9b5bd5cea33263673f9d551b0486f08f84cb4a7

3 years agoelm_spinner: sync button visibility 39/257539/8
Shinwoo Kim [Tue, 27 Apr 2021 09:36:51 +0000 (18:36 +0900)]
elm_spinner: sync button visibility

This patch is related to accessibility.
The button of spinner has visible state, even though spinner does not show.

The efl_ui_clock could use spiner internally.
Usually it adds 5 spinners and does not show some of them according to
the time format.

We tried to apply following patch, but it is not acceptable.
- elm_datetime_format_set(dd->datetime, "%d/%b/%Y %I:%M %p");
+ elm_datetime_format_set(dd->datetime, "%I:%M %p");

- elm_datetime_format_set(dd->datetime, "%d/%b/%Y %H:%M");
+ elm_datetime_format_set(dd->datetime, "%H:%M");

Change-Id: If7182e669271931b54b3266f79252c87f4cd6bdf

3 years agoeeze: remove memory leak 03/258703/1
Shinwoo Kim [Mon, 24 May 2021 10:48:43 +0000 (19:48 +0900)]
eeze: remove memory leak

Summary: udev_enumerate_new needs to call udev_enumerate_unref before leaving.

Reviewers: raster, Hermet, herb, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Iec9925e4af64cd9b747ceb4ee695eb079a8dac63

3 years agoeeze_net: fix a potentional memory leak case 00/258700/1
Wonki Kim [Thu, 24 Dec 2020 02:43:28 +0000 (11:43 +0900)]
eeze_net: fix a potentional memory leak case

Summary:
if `net` equals zero and `device` has allocated properly at the same time, memory leaks.
this patch fixes it.

Reviewers: Hermet, bu5hm4n, zmike

Reviewed By: Hermet

Subscribers: vtorri, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ie70eb0da84b29c23d3192f03bb09d6a6593381e4

3 years agoeeze_disk: fix potential memory leak 88/258688/1
Christopher Michael [Thu, 25 Feb 2021 15:02:07 +0000 (10:02 -0500)]
eeze_disk: fix potential memory leak

If allocation for disk fails, then we leak memory from previously
called _new_device function.

This patch based on D12223 from akanad (Wonki Kim)

ref D12223

Change-Id: If22a28d99a6b91eadc1b82103daabf92db515923

3 years agoeet: initialize descriptor class' func.type_get and func.type_set 80/258680/1
Jaehyun Cho [Mon, 24 May 2021 07:24:09 +0000 (16:24 +0900)]
eet: initialize descriptor class' func.type_get and func.type_set

Descriptor class' func.type_get and func.type_set are initialized with
NULL.

Change-Id: I94526c2421c1fa2924a705cd2341130905df1da0

3 years agoevas vg: Keep vg shape backward compatibility. 77/258677/1
Michal Szczecinski [Mon, 24 May 2021 06:31:27 +0000 (08:31 +0200)]
evas vg: Keep vg shape backward compatibility.

Thorvg don't support location set/get API. This commit keeps backward
compatibility for this feature in EFL.

Change-Id: Ic13d8ac05798715cb3f71dda8f362ac661427afb

3 years agoeeze_syspaty: fix a potention memory leak 66/258666/2
Wonki Kim [Thu, 24 Dec 2020 02:48:53 +0000 (11:48 +0900)]
eeze_syspaty: fix a potention memory leak

Summary:
if udev device get sysname fails, memory leaks.
this patch fixes the problem.

Reviewers: bu5hm4n, Hermet, zmike

Reviewed By: Hermet

Subscribers: vtorri, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I2d02a6e6eb98e9262255ab3c02cf99f347b8c5f9

3 years agogif loader: show the current frame image if getting row is failed. 68/258668/3
Taehyub Kim [Mon, 24 May 2021 02:05:39 +0000 (11:05 +0900)]
gif loader: show the current frame image if getting row is failed.

Change-Id: I17c79f89550e9a758a532babd55826b3c7ad2810

3 years agoevas vg: Shape interpolation patch 80/258580/2
Michal Maciola [Thu, 20 May 2021 10:12:42 +0000 (12:12 +0200)]
evas vg: Shape interpolation patch

This patch fixes the edgy case when the shape interpolation applies
only to a parameter such as fill color without path interpolation.
Previously, such a case was not performed.
Return case is EINA_FALSE on any error.

Change-Id: Ic8ce2c18ca10cb72c15785f0742a3f0db61beb39

3 years agoevas vg: Fixed invalid return in gradient color get. 77/258577/1
Michal Szczecinski [Thu, 20 May 2021 10:00:57 +0000 (12:00 +0200)]
evas vg: Fixed invalid return in gradient color get.

This typo caused issues with gradient rendered from edje.

Change-Id: I14890260b6a8a8578d2fa9878b6bf5da49c7aab4

3 years agoevas vg: Radial gradient code cleanup. 96/258096/7
Michal Szczecinski [Mon, 10 May 2021 10:49:20 +0000 (12:49 +0200)]
evas vg: Radial gradient code cleanup.

Removed ector dependency. Removed redundant code.

Change-Id: If81e57d02aafbd7489f2a4ff5fa44995d0462637

3 years agoevas vg: Fixed typo in gradients. 15/258315/1
Michal Szczecinski [Thu, 13 May 2021 10:07:34 +0000 (12:07 +0200)]
evas vg: Fixed typo in gradients.

Added missing return value if sanity check don't pass.

Change-Id: I937efee790f07bba07e652026b31c3eee83453d6

3 years agoelementary_tizen: make genlist emit (un)focused signal 89/258189/2
Shinwoo Kim [Wed, 12 May 2021 04:30:45 +0000 (13:30 +0900)]
elementary_tizen: make genlist emit (un)focused signal

Even though genlist item gets focus, elementary_tizen > gnlist
does not send focused signal. So there is not a chance to read
focused item information on AT-client screen-reader.

*tizen-fix

Change-Id: Iaa850ed0a25be0e6245bc274c90d9b4ba30b9cc6

3 years agoatspi: recover init failure 05/257405/4
Shinwoo Kim [Fri, 23 Apr 2021 08:42:16 +0000 (17:42 +0900)]
atspi: recover init failure

There is an application which is trying to init atspi bridge
before DBus is ready. In this case, it is not able to create
atspi bridge instance.

Change-Id: Ie5a0b37ddb814ded90d4e205ef0ccedc9c85c932

3 years agoevas: fix typo causing build error 08/258208/1
Shinwoo Kim [Wed, 12 May 2021 07:45:45 +0000 (16:45 +0900)]
evas: fix typo causing build error

Change-Id: I1b30d4f38a28fad68f5b4a5b4d5cdddc5d96b2df

3 years agocanvas vg: keep the eo interfaces for the compatibility just in case... 86/258186/1
Hermet Park [Wed, 12 May 2021 04:23:36 +0000 (13:23 +0900)]
canvas vg: keep the eo interfaces for the compatibility just in case...

Change-Id: I3e63b44e9182777b385af7231c34008274a3da78

3 years agoevas vg: remove ector usage: efl_canvas_vg_object.c 50/258150/3
Michal Maciola [Fri, 23 Apr 2021 08:46:50 +0000 (10:46 +0200)]
evas vg: remove ector usage: efl_canvas_vg_object.c

Removed HAVE_THORVG blocks from efl_canvas_vg_object.c

Change-Id: Ifa184a2ad416438c8ab04a92595ef1f8cdfd6ec8

3 years agoevas vg: Linear gradients code cleanup 97/258097/2
Michal Szczecinski [Mon, 10 May 2021 09:32:26 +0000 (11:32 +0200)]
evas vg: Linear gradients code cleanup

Removed ector dependency. Removed redundant code.

Change-Id: I1f9744ad354ee75feb63da7727bfdefb3e834b12

3 years agoevas vg: Removed redundant code. 83/258083/3
Michal Szczecinski [Mon, 10 May 2021 08:34:55 +0000 (10:34 +0200)]
evas vg: Removed redundant code.

This commit removes code used in ector mode now switched off by default.

Change-Id: I6cf1c7b2cf0a36703de9b74e2ac948c0c00ee398

3 years agoatspi: move atspi bridge init to elm_run 75/257375/2
Shinwoo Kim [Fri, 23 Apr 2021 06:59:13 +0000 (15:59 +0900)]
atspi: move atspi bridge init to elm_run

We moved initialization to elm_run by following commit already.

   commit 273ad815147a7916c426b6dd60fe45a523ccf048
   Author: Lukasz Stanislawski <l.stanislaws@samsung.com>
   Date:   Mon Nov 27 14:18:57 2017 +0530

       atspi: move atspi initialization to elm_run.

       Change-Id: Ib0656d1312367ee214f4cb2b236f28a4d73a1dfe

But in accident, it resurrected with following commit.

   commit 87d7ed882cc130dd92c1bd7677e3223fc0fe6870
   Author: Alastair Poole <netstar@gmail.com>
   Date:   Mon Jul 30 11:42:28 2018 -0400

       efl_selection: reintroduce missing ELM_CNP_EVENT_SELECTION_CHANGED symbol.

       Summary:
       During the 1.21 development cycle the symbol ELM_CNP_EVENT_SELECTION_CHANGED was lost.

       The commit which introduced this:  e88bbaa1e314751e5c1a04dec7f1f179188428ae

       This patch re-introduced the symbol and expected behaviour.

       Reviewers: #committers, zmike, bu5hm4n, herb

       Reviewed By: #committers, zmike

       Subscribers: herb, ManMower, segfaultxavi, stefan_schmidt, cedric, zmike

        Tags: #efl

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

This could be migration error.
So I would like to move atspi bridge init to elm_run again.
AFAIK, if we create DBus connection at elm_init, there is a security issue.
I am not sure if this is still living issue or not.
Because we have done atspi init from 2018 (above second commit).

Change-Id: I0ca58fa915634cf75367383a3f4c38eb8657d0f1

3 years agoelm_atspi: suppress reading of screen-reader 08/257008/3
Shinwoo Kim [Fri, 16 Apr 2021 09:02:58 +0000 (18:02 +0900)]
elm_atspi: suppress reading of screen-reader

Because there is legacy code for screen-reader, an application could want
to keep previous behavior of the screen-reader even though the ATSPI is
enabled by AT client such as Aurum test framework.

If an application wants to make screen-reader AT client do not read,
then set suppress to EINA_TRUE. The default suppress is @c EINA_FALSE.

This patch is also handling env. variable ELM_SUPPRESS_SCREEN_READER
to define default behavior.

*tizen-only

Change-Id: Ia138fd6fb21c731588eff2deec2ae59a61b3c981

3 years agoevas vg: gradient path bounds get 77/257977/2
Michal Maciola [Tue, 20 Apr 2021 13:39:29 +0000 (15:39 +0200)]
evas vg: gradient path bounds get

Created efl_canvas_vg_gradient_[linear/radial]_efl_gfx_path_bounds_get thorvg implementation

Change-Id: Iff7e286621178127170fc4159ebfd36915a17128

3 years agoevas vg: Added gradients interpolation. 18/258018/3
Michal Szczecinski [Fri, 7 May 2021 10:35:03 +0000 (12:35 +0200)]
evas vg: Added gradients interpolation.

Added gradients interpolation in thorvg mode. In next commits cleanup
removing ector dependency will be performed.

Change-Id: Ie210f59b8403907c3e06dcb6b7985decf4dbc2a7

3 years agoevas vg: remove ector usage: evas_vg_private.h 74/257974/2
Michal Maciola [Wed, 21 Apr 2021 09:20:45 +0000 (11:20 +0200)]
evas vg: remove ector usage: evas_vg_private.h

Removed HAVE_THORVG blocks from evas file evas_vg_private.h

Change-Id: I00e84b4d747fc343f9570190c215832300374784

3 years agoevas vg: Added gradient interpolation example 93/257993/2
Michal Szczecinski [Thu, 6 May 2021 12:24:30 +0000 (14:24 +0200)]
evas vg: Added gradient interpolation example

This example shows how to implement gradient interpolation. It will be
used as a test for gradients interpolation implementation.

Change-Id: Ifb6632d013686597a1c28ebba94b0afe95e5b677

3 years agoevas vg: remove ector usage: efl_canvas_vg_shape.c 17/257917/3
Michal Maciola [Wed, 21 Apr 2021 08:47:26 +0000 (10:47 +0200)]
evas vg: remove ector usage: efl_canvas_vg_shape.c

Removed ector calls / HAVE_THORVG blocks from evas file efl_canvas_vg_shape.c

Change-Id: Ic89f97f4cc797a818acb7497bbb72502d7279dfb

3 years agovg common: Enable fill rule getter. 64/257964/1
Michal Szczecinski [Thu, 6 May 2021 10:18:49 +0000 (12:18 +0200)]
vg common: Enable fill rule getter.

This commit removes ThorVG redundant code and use new fill rule getter.

Change-Id: I3820f3cc9969be9f1daf58b8adedb0a1a1d8d26e

3 years agovg common: Removed thorVG dependency. 15/257915/3
Michal Szczecinski [Thu, 6 May 2021 09:19:46 +0000 (11:19 +0200)]
vg common: Removed thorVG dependency.

ThorVG library now supports path_bounds_get API. This commit uses it in
gradient property calculation.

Change-Id: I87beda0eb1cbb761d0a0d48f752e7e5b95f41588

3 years agoevas vg: Added fill rule getter. 18/257918/2
Michal Szczecinski [Thu, 6 May 2021 10:17:49 +0000 (12:17 +0200)]
evas vg: Added fill rule getter.

This API is needed to coverage all functionality needed by vg_common_svg
module.

Change-Id: I3fed6c14bb31f4b3265e5348aadce4825eb01049

3 years agoecore_wl2: update Ecore_Wl2_Subsurface_Rotation description 83/257883/3
Shinwoo Kim [Thu, 6 May 2021 01:50:33 +0000 (10:50 +0900)]
ecore_wl2: update Ecore_Wl2_Subsurface_Rotation description

The /**< Xxxxx */ comment is required for ACR.

*tizen-fix

Change-Id: I8048dc69c449eda471a8846e1b1d3b031711d9d1

3 years agoevas vg: evas-vg-gradient-manipulation.c added stroke gradient test 72/257872/3
Michal Maciola [Tue, 20 Apr 2021 12:29:26 +0000 (14:29 +0200)]
evas vg: evas-vg-gradient-manipulation.c added stroke gradient test

Added gradient stroke testing in evas-vg-gradient-manipulation.c example

Change-Id: Id88d44f9b230ecb4a047b52be9961125b5f1be83

3 years agoevas vg: evas-vg-json.c example added gradient animation test 71/257871/3
Michal Maciola [Mon, 19 Apr 2021 13:18:15 +0000 (15:18 +0200)]
evas vg: evas-vg-json.c example added gradient animation test

Added gradient.json example file and some minor fixes in evas-vg-json.c.

Change-Id: I3f60338d1dd1919216150675283bb5eb7efdae72

3 years agoevas vg: remove ector usage: efl_canvas_vg_node.c 73/257873/3
Michal Maciola [Fri, 23 Apr 2021 08:41:57 +0000 (10:41 +0200)]
evas vg: remove ector usage: efl_canvas_vg_node.c

Removed HAVE_THORVG blocks from efl_canvas_vg_node.c

Change-Id: I3ad29709f16828e451ef9ebf09833805af3b47e6

3 years agoefl_net_dialer_http: Do curl shutdown in destructor accepted/tizen/unified/20210507.010004 submit/tizen/20210506.062216
Woochanlee [Wed, 28 Apr 2021 09:45:26 +0000 (10:45 +0100)]
efl_net_dialer_http: Do curl shutdown in destructor

Summary:
curl_global_init() in efl_net_dialer_http constructor.
curl_global_cleanup() need to call when it destructor.

Without this, module and libcurl internal data are leaking.

Reviewers: Hermet, raster

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I37da76bdf69e7f1af49fc4c367567b33ec78c631
Signed-off-by: Woochanlee <wc0917.lee@samsung.com>
3 years agoecore_wl2: add ecore_wl2_subsurface_rotation_set 67/257667/2 submit/ags=submit/tizen/20210430.105132/20210504.123650 submit/tizen/20210504.083345
Shinwoo Kim [Thu, 29 Apr 2021 06:51:42 +0000 (15:51 +0900)]
ecore_wl2: add ecore_wl2_subsurface_rotation_set

This patch is adding ecore_wl2_subsurface_rotation_set to support
downloadable application which is using allowed API only.

*tizen_only

Change-Id: Icaea559788fd9ef0830bca4915cff459ecf6c5dc

3 years agoevas vg: preventing an integer underflow 29/257829/1 submit/tizen/20210504.071041
Mira Grudzinska [Tue, 4 May 2021 00:29:03 +0000 (02:29 +0200)]
evas vg: preventing an integer underflow

In the evas_vg_shape_path_set API the array size check
was added, before the current point assignment.

Change-Id: I5b24ac60c20bba94bf16e8d96b85f1769cda2b45

3 years agoecore_wl2_window: remove unrechable code 99/257799/2
Junseok, Kim [Mon, 3 May 2021 06:20:30 +0000 (15:20 +0900)]
ecore_wl2_window: remove unrechable code

Change-Id: Ifccacabb37bfc16448210b5d4f1c0f605c6e66f9

3 years agoevas vg: ++safety 68/257768/1
Hermet Park [Fri, 30 Apr 2021 10:18:46 +0000 (19:18 +0900)]
evas vg: ++safety

+ null check for invalid object accessing.

Change-Id: Ic92a3208445876fd47b157b6aab124827be44aa1

3 years agoevas vg: inverse masking support when TVG used 22/257422/3
Mira Grudzinska [Sun, 25 Apr 2021 13:12:12 +0000 (15:12 +0200)]
evas vg: inverse masking support when TVG used

When the inverse masking is used the proper composition method
is passed to the TVG function. So far only masking was supprted.

Change-Id: Iee0b769dc6ae5b73ca27ac8fb18f0db54122c13d

3 years agoFix: Build error. 05/257605/2
YoungGun Chun [Wed, 28 Apr 2021 06:11:42 +0000 (15:11 +0900)]
Fix: Build error.

Change-Id: Idf288c6c120b896c7ab09b93ac5cf67300e2b0ce

3 years agoRevert "evas_vg refactoring: efl will use thorvg's SVG loader" 92/257592/1
Hermet Park [Wed, 28 Apr 2021 04:21:41 +0000 (13:21 +0900)]
Revert "evas_vg refactoring: efl will use thorvg's SVG loader"

This reverts commit 9978d84f5ccc962c63836c3a4788806fc237f1d0.

Change-Id: Icf6dad6b3b3f98e6c5e860db8dd6721c9371c55a

3 years agoevas vg: remove ector usage: efl_canvas_vg_container.c 27/257227/5
Michal Maciola [Thu, 22 Apr 2021 10:36:50 +0000 (12:36 +0200)]
evas vg: remove ector usage: efl_canvas_vg_container.c

Removed all ector calls from evas file efl_canvas_vg_container.c
Function 'efl_canvas_vg_container_blend_buffer_clear' was also removed.

Change-Id: I80258e68cc37de5157a061621f96a924bf9052ca

3 years agoevas_vg refactoring: efl will use thorvg's SVG loader 83/257083/3
Michal Maciola [Mon, 19 Apr 2021 08:17:51 +0000 (10:17 +0200)]
evas_vg refactoring: efl will use thorvg's SVG loader

If file extension meets .svg, file will be loaded with thorvg.

Change-Id: I1eb25f912bd079a22f127587e614b3583a66986f

3 years agoevas vg: Fixed possible crash in rendering vg object 86/257186/5
Michal Szczecinski [Tue, 20 Apr 2021 12:36:02 +0000 (14:36 +0200)]
evas vg: Fixed possible crash in rendering vg object

Current draw solution uses pixels buffer shared between thorVG.
If this buffer is released because of object invalidation and drawing
thread don't finishes his job released buffer pointer is used by thread.
This commit fixes this case.

Change-Id: I736116cbc5b9c61e8d3d45b1b04d8e9345ad10cf

3 years agoecore_wl2_window: added new aux_hint_generate API 94/257194/10
Junseok, Kim [Wed, 21 Apr 2021 02:25:06 +0000 (11:25 +0900)]
ecore_wl2_window: added new aux_hint_generate API

We added new APIs for handling the aux_hint as below.

API added
 - int ecore_wl2_window_aux_hint_generate(Ecore_Wl2_Window *win, const char *hint, const char *val);
 - int ecore_wl2_window_aux_hint_id_get(Ecore_Wl2_Window *win, const char *hint);
 - const char *ecore_wl2_window_aux_hint_value_get(Ecore_Wl2_Window *win, int id);

The ecore_wl2_window_aux_hint_generate works similar as ecore_wl2_window_aux_hint_add,
however, this API is no need to give an ID.
It is assigned automatically in this function.

The ecore_wl2_window_aux_hint_id_get returns hint ID corresponding to the "hint" parameter.

The ecore_wl2_window_aux_hint_val_get returns hint value corresponding to the "id" parameter.

Change-Id: I3bec6844c6f2ce7d5105c5792961cb8bae144480
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoecore_wl2_window: Added internal aux hint list and maintain functions. 08/256508/14
Junseok, Kim [Wed, 21 Apr 2021 02:03:45 +0000 (11:03 +0900)]
ecore_wl2_window: Added internal aux hint list and maintain functions.

Added internal aux hint list and functions to manage the list.

Change-Id: I9b3c1a4871125c6242754fc2cefad78f8c07b70e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoevas vg: fix a crash issue. 72/257072/2 submit/tizen/20210420.103606
Hermet Park [Mon, 19 Apr 2021 07:52:03 +0000 (16:52 +0900)]
evas vg: fix a crash issue.

composition target of the scene will be deleted by its owner paint,
We should not delete it once again.

Change-Id: I788bf18e06bc984adc882925037cc598ab31d012

3 years agoevas_vg: Fixed possible memory leak in svg loader. 66/256966/4
Michal Szczecinski [Thu, 15 Apr 2021 16:33:21 +0000 (18:33 +0200)]
evas_vg: Fixed possible memory leak in svg loader.

Memory leak was caused by SVG's which mask nodes. In case of mask it was
not added to parent, and because of that it was not relased when parent
node was destroyed.

Change-Id: I5b443c8f31be0626660cc6b8add13933c42b4e39

3 years agoevas vg: evas-vg-svg.c example 49/256949/3
Michal Maciola [Thu, 15 Apr 2021 07:55:09 +0000 (09:55 +0200)]
evas vg: evas-vg-svg.c example

The example for testing .svg files loading

Change-Id: Iba993d04a8ad089d2e52b0fb0836eb3f53d32ec5

3 years agoevas vg: Enabled composition for containers. 84/256184/2
Michal Szczecinski [Tue, 30 Mar 2021 12:02:22 +0000 (14:02 +0200)]
evas vg: Enabled composition for containers.

Use tvg_paint_set_composite_method() for scenes. Currently because of
other issues only MATTE_ALPHA method is supported.

Change-Id: I2f42d28e5ae71ebd56c4c3057287461d0ad80e34

3 years agoevas vg: fixing the compatibility issue 93/256593/2
Mira Grudzinska [Wed, 7 Apr 2021 21:23:50 +0000 (23:23 +0200)]
evas vg: fixing the compatibility issue

According to the standard, after applying arc_to the current control point should
be equal to the current point. This is fixed in Evas + ThorVG by using the cmd_prev
variable, so the value of the current control point, for the compatibility issue,
is set to be the same as in Evas.

Change-Id: I7f3d6510db85dbd18995f158538c9aea544acc73

3 years agoevas vg: fixing the compatibility issue 92/256592/2
Mira Grudzinska [Wed, 7 Apr 2021 21:02:25 +0000 (23:02 +0200)]
evas vg: fixing the compatibility issue

The current point set after appending the rectangle is different
for the rectangles with sharp or with rounded corners. The same logic
is applied to the version using ThorVG.

Change-Id: Id2908a248b4f9803989d31b2073300f92bba0fc9

3 years agoevas: vg: fixing the compatibility issue 94/256594/1
Mira Grudzinska [Wed, 7 Apr 2021 22:09:31 +0000 (00:09 +0200)]
evas: vg: fixing the compatibility issue

The current point value is set after setting the path and after
appending the svg path.

Change-Id: Iccf181cd10433ccdca7d8fdc6c4bb65ea75da526

3 years agoevas vg: fixing the compatibility issue 97/256497/2
Mira Grudzinska [Mon, 5 Apr 2021 13:33:49 +0000 (15:33 +0200)]
evas vg: fixing the compatibility issue

The circle, ellipse, and rectangle append functions required an additional
move_to command, so that the results obtained from EVAS with and without TVG
are the same.

Change-Id: Ib58fbd6cf217b0622f51a2c0d576f0ad9eb1656c

3 years agoevas vg: integrating gradient stroke into Evas with ThorVG 56/256256/3
Mira Grudzinska [Tue, 30 Mar 2021 23:47:10 +0000 (01:47 +0200)]
evas vg: integrating gradient stroke into Evas with ThorVG

Change-Id: I3306fafeacc78b7e9b773bc4d9bfe63967c3f4cd

3 years agoevas vg: fix compatibility issue. 43/256443/2 accepted/tizen/unified/20210403.020837 submit/tizen/20210402.123708
Hermet Park [Fri, 2 Apr 2021 11:19:33 +0000 (20:19 +0900)]
evas vg: fix compatibility issue.

evas_vg_shape_path_get() could return the commands value even though
it doens't have any path data.

Change-Id: Ia7d11aefa2a2a2b83ba8c763707fc3e4826209d9

3 years agoevas vg: fix current point compatibility issue. 30/256430/2
Hermet Park [Fri, 2 Apr 2021 09:09:56 +0000 (18:09 +0900)]
evas vg: fix current point compatibility issue.

it's weird, have no idea why it's introduced there...

Change-Id: I96072d98183ee4d8b28558bc1923dd34d7bd0868

3 years agoevas vg: fix compatiblity issue. 34/256434/2
Patryk Kaczmarek [Fri, 2 Apr 2021 09:27:28 +0000 (11:27 +0200)]
evas vg: fix compatiblity issue.

evas_vg_shape_current_get() x,y works differently when tvg works,
this commit fixes x and y positions as it should be

Change-Id: I8953dcfd21767fd7791f5872c0cdd3cb32dce785

3 years agoevas vg: Fixed build error. 61/256361/2
Michal Szczecinski [Thu, 1 Apr 2021 11:02:48 +0000 (13:02 +0200)]
evas vg: Fixed build error.

Move free() function calls to proper block of code.

Change-Id: I7bd3e56b79470facae84035b84114ff0d93a3e5f

3 years agoavas vg: Fixed arc compatibility issue 26/256426/2
Michal Szczecinski [Fri, 2 Apr 2021 08:30:14 +0000 (10:30 +0200)]
avas vg: Fixed arc compatibility issue

Change-Id: If8a659e3aaa7fc17a7819082f5da5dbbb662c026

3 years agoevas vg: fix compatibility issue. 18/256418/1
Hermet Park [Fri, 2 Apr 2021 07:48:36 +0000 (16:48 +0900)]
evas vg: fix compatibility issue.

evas_vg_shape_current_get() y position is changed after tvg works,
this fixes its y position which is supposed to be.

Change-Id: Iaecb3bdb7c16a8ca018e940ef0ad1c6ef3ec9343

3 years agoevas vg: + null check for safety 37/256337/3 accepted/tizen/unified/20210402.004913 submit/tizen/20210401.083633
Hermet Park [Thu, 1 Apr 2021 07:46:36 +0000 (16:46 +0900)]
evas vg: + null check for safety

Change-Id: I097a396f3e2bff6a1cff6718b66e3d1fe275e767

3 years agoevas vg: check return value as same to other usages. 17/256317/1 submit/tizen/20210401.064607
Hermet Park [Thu, 1 Apr 2021 06:10:47 +0000 (15:10 +0900)]
evas vg: check return value as same to other usages.

@fix coverity issue

Change-Id: I020a6501c293488855a81a0392032f354a3c71b3

3 years agoevas vg: fix a memory leak. 10/256310/1
Hermet Park [Thu, 1 Apr 2021 05:29:45 +0000 (14:29 +0900)]
evas vg: fix a memory leak.

Change-Id: I31281294a39fb6f9192dcf812797c9aa637db046

3 years agoevas vg: fix a memory leak. 98/256298/2
Hermet Park [Thu, 1 Apr 2021 04:15:43 +0000 (13:15 +0900)]
evas vg: fix a memory leak.

free commands properly after usage.

Change-Id: Ia0362b5779ca71715e4c8a2af5dd1a38594f359e

3 years agoevas vg: fix a memory leak. 96/256296/2
Hermet Park [Thu, 1 Apr 2021 04:12:58 +0000 (13:12 +0900)]
evas vg: fix a memory leak.

free pts memory properly after usage.

Change-Id: I51e8135f3a64bd84562ff1d1245eb85c86e55b28

3 years agoevas vg: check return value as same to other usages. 92/256292/2
Hermet Park [Thu, 1 Apr 2021 03:07:25 +0000 (12:07 +0900)]
evas vg: check return value as same to other usages.

@fix coverity issue.

Change-Id: I70364686d56762a9f08e627b9f74dfed9457afb3

3 years agoevas canvas: + null check handling. 04/256304/2
Hermet Park [Thu, 1 Apr 2021 04:30:47 +0000 (13:30 +0900)]
evas canvas: + null check handling.

Change-Id: I8f2348d77ee956e3ade808fcfe96be63864964cb

3 years agoevas canvas: + null handling. 02/256302/2
Hermet Park [Thu, 1 Apr 2021 04:29:19 +0000 (13:29 +0900)]
evas canvas: + null handling.

Change-Id: I14289681431ca8dceca9e692244421b0f9e2470c

3 years agoevas vg: fix memory leak. 99/256299/2
Hermet Park [Thu, 1 Apr 2021 04:23:29 +0000 (13:23 +0900)]
evas vg: fix memory leak.

these commands info were allocated internally when thorvg is enabled,
because it needs to convert the data from tvg -> evas type.

this condition branch should be removed when tvg is mandatory default.

Change-Id: Ib5d824e6588b99f0390363109d4efc1b5f80cea0

3 years agoevas vg: + null checking for safety. 91/256291/1
Hermet Park [Thu, 1 Apr 2021 03:02:47 +0000 (12:02 +0900)]
evas vg: + null checking for safety.

Change-Id: I7abb6ebf856d7508537e9610c80f06202c23fc2e

3 years agoevas vg: fix the final stroke color in the interpolation process 38/256038/2
Mira Grudzinska [Sun, 28 Mar 2021 22:18:32 +0000 (00:18 +0200)]
evas vg: fix the final stroke color in the interpolation process

When ThorVG used, the final stroke color in the interpolation
was the same as the initial one.

Change-Id: I24ef66ab1964f36942a393f9c81eb62a2cb3e09d

3 years agoatspi: emit i18n name change signal only for highlighted object 71/255771/3 accepted/tizen/unified/20210330.111316 submit/tizen/20210329.004856
Shinwoo Kim [Tue, 23 Mar 2021 10:47:05 +0000 (19:47 +0900)]
atspi: emit i18n name change signal only for highlighted object

User could change genlist item text even though it does not have highlight.
And if user changes for all items, then it make unnecessary ipc call.

There was a problem that too much signal was generated.
It seems that there would be root reason of this problem.
Before finding it, this could be reasonable solution.

*tizen_fix

Change-Id: I93d7c914d1693e18670c2169536a4041526b21ca

3 years agoEnable thorvg backend. 70/255870/2
Hermet Park [Wed, 24 Mar 2021 09:54:21 +0000 (18:54 +0900)]
Enable thorvg backend.

Change-Id: I8d12fa760b6dbc4f1c2c5ac9d14b994f9f235dae

3 years agoevas vg: integration of join and cap properties in evas with ThorVG 84/255784/2
Mira Grudzinska [Tue, 23 Mar 2021 13:11:53 +0000 (14:11 +0100)]
evas vg: integration of join and cap properties in evas with ThorVG

Join and cap stroke properties had to translated from Efl values to
Tvg values and vice versa.

Change-Id: Id98c3e7fc6b314b1527160e004c29595cac21c88

3 years agovg_common_svg: added stroke color premultiplication 91/255791/2
Mira Grudzinska [Tue, 23 Mar 2021 19:09:50 +0000 (20:09 +0100)]
vg_common_svg: added stroke color premultiplication

The color of a stroke has to be premultiplied before beeing redirected
to evas_vg_shape_stroke_color_set.

Change-Id: I15364019db8129e5a46d975b4bcfc586f4c71d61

3 years agogl: remove logically dead code 22/255822/2
Shinwoo Kim [Wed, 24 Mar 2021 05:17:48 +0000 (14:17 +0900)]
gl: remove logically dead code

Lines folowing the label 'rotate_image' is working only tofree is not NULL.
Every place is checking if tofree is NULL before calling 'goto rotate_image'.

Change-Id: I87e248a6829a0a0561169c91897a203a805b454f

3 years agovg_common_svg: colors unpremultiplication added before saving into edj file 27/255627/2
Mira Grudzinska [Sun, 21 Mar 2021 16:38:09 +0000 (17:38 +0100)]
vg_common_svg: colors unpremultiplication added before saving into edj file

Colors were premultiplied first when reading from the svg file and
second when saving into edj file. As the result svg files with the opacity < 1
could be uncorretly displayed (only when the color and the opacity were
given in the same node).

Change-Id: If4bc806a88993fdb3ca8a7c78b2a574215cb71f5

3 years agoevas vg: gradient and fill required un/premultiplication of colors 26/255626/1
Mira Grudzinska [Sun, 21 Mar 2021 16:19:56 +0000 (17:19 +0100)]
evas vg: gradient and fill required un/premultiplication of colors

ThorVG expects not premultiplied colors, Evas premultiplied.
The compliance has been assured.

Change-Id: Id645ae3220a94d1ee737bdd903648ea22c2448e2

3 years agoevas vg: fix build break. 39/255539/1
Hermet Park [Fri, 19 Mar 2021 06:11:30 +0000 (15:11 +0900)]
evas vg: fix build break.

some typing mistake by 4cebc065fba8a7eaf051d75881fa48377c41490f

Change-Id: Ie57849869b1bb4257713230c3839b5521960beee

3 years ago[AT-SPI] efl_ui_radio: Emit "State Changed" signal only if the button is highlighted. 64/255064/5
Maria Bialota [Thu, 11 Mar 2021 15:57:31 +0000 (16:57 +0100)]
[AT-SPI] efl_ui_radio: Emit "State Changed" signal only if the button is highlighted.

*tizen_only

Change-Id: I15e4fc380e4451ec3283476a71dcfeae1de2d309

3 years agoevas vg: push vg_image no matter change flag 42/255242/2
Michal Maciola [Mon, 15 Mar 2021 15:39:15 +0000 (16:39 +0100)]
evas vg: push vg_image no matter change flag

Change-Id: I0cb4eef95320e1df9d5a53662bcc85428b14d63f

3 years agoevas: code refactoring by tvg integration. 28/255428/11
Hermet Park [Thu, 18 Mar 2021 07:08:18 +0000 (16:08 +0900)]
evas: code refactoring by tvg integration.

Change-Id: Ib5d37aa93db784b7c2829f36ffe85ff987d36d73

3 years agoevas vg: Keep backward comaptibility for append_arc. 42/255442/3
Michal Szczecinski [Thu, 18 Mar 2021 07:01:30 +0000 (08:01 +0100)]
evas vg: Keep backward comaptibility for append_arc.

In origin solution evas_vg_shape_append_arc() connects don't closed
arcs using line. To keep backward comaptibility solution from
efl_gfx_path was moved to tvg integration code.

Change-Id: Id868bd729e9b4a6ed26c5aea02a0a7de0d41edb1

3 years agoector image: Prevents drawing images outside buffer 34/255434/1
JunsuChoi [Thu, 18 Mar 2021 08:10:05 +0000 (17:10 +0900)]
ector image: Prevents drawing images outside buffer

Summary:
A crash may occur when image size is set larger than buffer.
So, modify boundary of the image drawing the image
so that it does not go out of the buffer.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers, kimcinoo

Tags: #efl

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

Change-Id: Ia2857c21c6805abc40973e6ab7375fc81331c979

3 years agoefl_canvas_vg_shape: fix memory leak 32/255232/5
Piotr Chludzinski [Mon, 15 Mar 2021 09:53:15 +0000 (10:53 +0100)]
efl_canvas_vg_shape: fix memory leak

Change-Id: I64e8b90956f55c993101689af01d54681417cc6d
Signed-off-by: Piotr Chludzinski <p.chludzinsk@samsung.com>
3 years agoevas vg: added shape fill rule 01/255301/4 accepted/tizen/unified/20210319.141010 submit/tizen/20210318.015037
Michal Maciola [Tue, 16 Mar 2021 10:35:41 +0000 (11:35 +0100)]
evas vg: added shape fill rule

Added brief comments, removed trailing spaces

Change-Id: Id041734c0a96ed4652d04967e47326260f9a4e37

3 years agoecore_wl2: add ecore_wl2_subsurface_aux_hint_set 63/255363/3
Shinwoo Kim [Wed, 17 Mar 2021 10:28:29 +0000 (19:28 +0900)]
ecore_wl2: add ecore_wl2_subsurface_aux_hint_set

This patch is providing way to set auxiliary hint on subsurface.
Application could get filpped image with following line.

ecore_wl2_subsurface_aux_hint_set(subsurface, "wm.video.flip.mode", "1");

+ reducing debug message

*tizen_only

Change-Id: I6a6f7c91bb088abd2daf8d57ef3c439f957ca6e0