platform/upstream/efl.git
4 years agocsharp: updating eldbus_object docs and hide api.
Bruno da Silva Belo [Thu, 17 Oct 2019 17:49:15 +0000 (14:49 -0300)]
csharp: updating eldbus_object docs and hide api.

Summary: ref T8361

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8361

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

4 years agocsharp: hide eldbus_service api.
Bruno da Silva Belo [Thu, 17 Oct 2019 17:40:48 +0000 (14:40 -0300)]
csharp: hide eldbus_service api.

Summary: ref T8361

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8361

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

4 years agomono: add static modifier to static holder types.
Yeongjong Lee [Thu, 17 Oct 2019 17:36:15 +0000 (14:36 -0300)]
mono: add static modifier to static holder types.

Summary: This patch will fix CA1052 compiler warnings.

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agomono: merge namespaces
Yeongjong Lee [Thu, 17 Oct 2019 17:32:29 +0000 (14:32 -0300)]
mono: merge namespaces

Summary:
This patch merge namespaces to improve readablity.
Before
```
namespace Efl {
namespace Canvas {
```

After
```
namespace Efl.Canvas {
```

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agomono: remove underscores of Efl_Op_Description, Efl_Object_Ops
Yeongjong Lee [Thu, 17 Oct 2019 16:57:22 +0000 (13:57 -0300)]
mono: remove underscores of Efl_Op_Description, Efl_Object_Ops

Summary:
C# does not use underscore in type name.

ref T8333

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8333

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

4 years agogesture_manager: Deleted function and definition that are no more use.
Woochanlee [Thu, 17 Oct 2019 14:41:15 +0000 (10:41 -0400)]
gesture_manager: Deleted function and definition that are no more use.

Summary:
D7762

Searching for event what is using in gesture manager.
But the value was wrong.

And now D10437 made it better.

Reviewers: Hermet, smohanty, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: Add Efl.Model implementations to internal model
Lauro Moura [Thu, 17 Oct 2019 14:11:00 +0000 (11:11 -0300)]
csharp: Add Efl.Model implementations to internal model

Summary:
CollectionView tries to access some properties from the base model so we
need to provide some implementation of the property getter/setter.

Reviewers: SanghyeonLee, cedric, felipealmeida

Reviewed By: SanghyeonLee

Subscribers: #reviewers, #committers

Tags: #efl

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

4 years agovector json: fix a ordering issue of stroke.
Hermet Park [Thu, 17 Oct 2019 08:39:26 +0000 (17:39 +0900)]
vector json: fix a ordering issue of stroke.

for optimization, we created a shape node in a lazy way,
This introduced corrupted layering order issue.

We fix it by keeping the object creation order.

Layzing creation is just for an ideal case,
It doesn't verified the performance.

4 years agovector json: optimize logic.
Hermet Park [Thu, 17 Oct 2019 07:59:14 +0000 (16:59 +0900)]
vector json: optimize logic.

if a layer is full transparent, skip it further processing.

4 years agocsharp: Updating eldbus_common docs.
Bruno da Silva Belo [Wed, 16 Oct 2019 14:26:03 +0000 (11:26 -0300)]
csharp: Updating eldbus_common docs.

Summary: ref T8361

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8361

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

4 years agocsharp: updating eldbus_config docs.
Bruno da Silva Belo [Wed, 16 Oct 2019 14:00:29 +0000 (11:00 -0300)]
csharp: updating eldbus_config docs.

Summary: ref T8361

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8361

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

4 years agocsharp: updating eldbus_connection docs.
Bruno da Silva Belo [Wed, 16 Oct 2019 13:50:10 +0000 (10:50 -0300)]
csharp: updating eldbus_connection docs.

Summary: ref T8361

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8361

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

4 years agomono: make public static field const or readonly
Yeongjong Lee [Wed, 16 Oct 2019 13:39:52 +0000 (10:39 -0300)]
mono: make public static field const or readonly

Summary: This patch will fix CA2211 compiler warnings.

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: rename Factory.cs to ItemFactory.cs
Jaehyun Cho [Wed, 16 Oct 2019 13:31:22 +0000 (10:31 -0300)]
csharp: rename Factory.cs to ItemFactory.cs

Summary:
Since current Factory.cs contains class ItemFactory, Factory.cs is
renamed to ItemFactory.cs.

Reviewers: lauromoura, YOhoho, SanghyeonLee

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_canvas_vg : Propagates the alpha color of the parent
JunsuChoi [Wed, 16 Oct 2019 06:12:13 +0000 (15:12 +0900)]
efl_canvas_vg : Propagates the alpha color of the parent

Summary:
The current color is affected by the parent's opacity.
If p_opacity is set, it will be applied to the current color.

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoexamples/eldbus: fix pointer leak on failure case
Mike Blumenkrantz [Tue, 15 Oct 2019 22:02:49 +0000 (07:02 +0900)]
examples/eldbus: fix pointer leak on failure case

Summary: CID 1400787

Reviewers: kimcinoo

Reviewed By: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoexamples/evas: free map pointer in map example
Mike Blumenkrantz [Tue, 15 Oct 2019 21:57:34 +0000 (06:57 +0900)]
examples/evas: free map pointer in map example

Summary: CID 1400959

Reviewers: kimcinoo

Reviewed By: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: Add since documentation to struct and struct fields
Felipe Magno de Almeida [Mon, 14 Oct 2019 03:51:15 +0000 (03:51 +0000)]
csharp: Add since documentation to struct and struct fields

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

4 years agolz4: fix potential div by zero
Mike Blumenkrantz [Tue, 15 Oct 2019 14:20:53 +0000 (11:20 -0300)]
lz4: fix potential div by zero

Summary:
LZ4F_getBlockSize() can return 0

CID 1404010

Reviewers: lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agotests/eina: fix assign when compare was intended
Mike Blumenkrantz [Tue, 15 Oct 2019 14:18:43 +0000 (11:18 -0300)]
tests/eina: fix assign when compare was intended

Summary: CID 1400858

Reviewers: lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: Avoid direct usage of some dllimport funcs
Lauro Moura [Tue, 15 Oct 2019 13:11:09 +0000 (10:11 -0300)]
csharp: Avoid direct usage of some dllimport funcs

Summary:
Instead of accessing them directly, generated code should access them
only through proper managed wrappers.

JIT should take care of inline them.

This would allow D10338 without depending on the friendly assembly feature.

Reviewers: YOhoho, felipealmeida, brunobelo, woohyun, segfaultxavi

Reviewed By: YOhoho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: Fix promises docs and hide api
Lauro Moura [Tue, 15 Oct 2019 13:10:53 +0000 (10:10 -0300)]
csharp: Fix promises docs and hide api

Summary: ref T8293

Reviewers: felipealmeida, brunobelo, segfaultxavi, woohyun

Reviewed By: brunobelo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agoefl_ui: rename efl_ui_types.eot to efl_ui_drag_types.eot
Jaehyun Cho [Tue, 15 Oct 2019 13:06:48 +0000 (09:06 -0400)]
efl_ui: rename efl_ui_types.eot to efl_ui_drag_types.eot

Summary:
The current efl_ui_types.eot contains only enum Efl.Ui.Drag_Dir.
Therefore, it is renamed to efl_ui_drag_types.eot as follows.
src/lib/efl/interfaces/efl_ui_types.eot -> efl_ui_drag_types.eot

Reviewers: bu5hm4n, segfaultxavi, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: fix to write cref Eina.Array<T> correctly
Jaehyun Cho [Tue, 15 Oct 2019 08:28:35 +0000 (17:28 +0900)]
csharp: fix to write cref Eina.Array<T> correctly

Since the class is Eina.Array<T>, cref Eina.Array is replaced to
Eina.Array<T>.

4 years agovector json: use lottie apis case by case.
Hermet Park [Tue, 15 Oct 2019 06:03:47 +0000 (15:03 +0900)]
vector json: use lottie apis case by case.

We can request loading from data only in case of actual memory map.
The lottie-player would take care of the parsing on utf8/16/32 formats
more precisely so that we don't need to take care of this converting
from the memory.

4 years agoecore_evas/wl2 0 fux xdg close cb for window when it's closed remotely
Carsten Haitzler (Rasterman) [Mon, 14 Oct 2019 18:12:25 +0000 (19:12 +0100)]
ecore_evas/wl2 0 fux xdg close cb for window when it's closed remotely

this should fix this:

https://matrix.org/_matrix/media/r0/download/matrix.org/lhFneENlWAjuXDaJfSYuJjjJ

unfortunately this means adding an api and then using it in ecore_evas.

@fix

4 years agocsharp: updating GenericModel.cs docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 21:33:01 +0000 (18:33 -0300)]
csharp: updating GenericModel.cs docs.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: updating Bind docs and hide api.
Bruno da Silva Belo [Mon, 14 Oct 2019 21:27:49 +0000 (18:27 -0300)]
csharp: updating Bind docs and hide api.

Summary: ref T8345

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: updating Factory docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 21:01:30 +0000 (18:01 -0300)]
csharp: updating Factory docs.

Summary: ref T8345

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: Remove test dependency on internal funcs
Lauro Moura [Mon, 14 Oct 2019 20:19:12 +0000 (17:19 -0300)]
csharp: Remove test dependency on internal funcs

Summary: This will help cleaninup the EFL# API.

Test Plan: run test suite

Reviewers: YOhoho, felipealmeida, segfaultxavi, woohyun, brunobelo

Reviewed By: YOhoho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: Updating eina_array docs and hide api.
Bruno da Silva Belo [Mon, 14 Oct 2019 20:02:45 +0000 (17:02 -0300)]
csharp: Updating eina_array docs and hide api.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_common docs and hide api.
Bruno da Silva Belo [Mon, 14 Oct 2019 19:36:25 +0000 (16:36 -0300)]
csharp: updating eina_common docs and hide api.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_config docs and hide api.
Bruno da Silva Belo [Mon, 14 Oct 2019 15:23:56 +0000 (12:23 -0300)]
csharp: updating eina_config docs and hide api.

Reviewers: felipealmeida, lauromoura, woohyun, segfaultxavi

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_container_common doc and api
Bruno da Silva Belo [Mon, 14 Oct 2019 14:57:01 +0000 (11:57 -0300)]
csharp: updating eina_container_common doc and api

Reviewers: felipealmeida, lauromoura, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_error docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 14:36:25 +0000 (11:36 -0300)]
csharp: updating eina_error docs.

Reviewers: felipealmeida, lauromoura, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_hash docs and hide api.
Bruno da Silva Belo [Mon, 14 Oct 2019 14:22:56 +0000 (11:22 -0300)]
csharp: updating eina_hash docs and hide api.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_list docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 14:01:36 +0000 (11:01 -0300)]
csharp: updating eina_list docs.

Summary: ref T8293

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agocsharp: updating eina_log docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 13:26:02 +0000 (10:26 -0300)]
csharp: updating eina_log docs.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

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

4 years agoecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con_Url.
Cedric BAIL [Mon, 14 Oct 2019 13:38:23 +0000 (09:38 -0400)]
ecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con_Url.

Summary:
We can not have half our code rely on Ecore magic check and the other half
use Eina_Magic or this will lead to inconsistency with Eina_Magic definition.

Reviewers: zmike, segfaultxavi, bu5hm4n, raster

Reviewed By: raster

Subscribers: #reviewers, #committers

Tags: #efl

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

4 years agoelm/layout: add some workarounds to try handling legacy min sizes
Mike Blumenkrantz [Mon, 14 Oct 2019 13:30:23 +0000 (09:30 -0400)]
elm/layout: add some workarounds to try handling legacy min sizes

Summary:
if a legacy widget calls evas_object_size_hint_min_set, this actually sets
efl_gfx_hint_size_restricted_min now, which is supposed to be the hint that
is used internally by widgets. as a result, there is a conflict between the
size which the user expects and the size which the widget tries to calculate.

the user size should always be respected, however, so this adds some tracking
to determine whether the layout's min size was set by the layout during its own
calc or by something externally

@fix

Reviewers: eagleeye, CHAN, woohyun, Jaehyun_Cho, cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas/render: selectively inhibit render callbacks
Mike Blumenkrantz [Mon, 14 Oct 2019 13:30:17 +0000 (09:30 -0400)]
evas/render: selectively inhibit render callbacks

Summary:
only call these if they are subscribed to now

ref T8321

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoefl_ui/layout: selectively inhibit theme,changed event
Mike Blumenkrantz [Mon, 14 Oct 2019 13:30:10 +0000 (09:30 -0400)]
efl_ui/layout: selectively inhibit theme,changed event

Summary:
this is called a ton.

ref T8321
Depends on D10359

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoecore: inhibit "idle" event emission if no subscribers exist
Mike Blumenkrantz [Mon, 14 Oct 2019 13:30:03 +0000 (09:30 -0400)]
ecore: inhibit "idle" event emission if no subscribers exist

Summary:
it seems like this was intended to be handled already, but somehow it wasn't...

ref T8321
Depends on D10358

Reviewers: cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoevas/smart: inhibit smart member add/del callbacks when no subscribers exist
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:57 +0000 (09:29 -0400)]
evas/smart: inhibit smart member add/del callbacks when no subscribers exist

Summary:
this is triggered a ton on app startup

ref T8321
Depends on D10357

Reviewers: bu5hm4n, cedric

Reviewed By: bu5hm4n, cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoedje: block "recalc" event emission if it isn't being subscribed to
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:50 +0000 (09:29 -0400)]
edje: block "recalc" event emission if it isn't being subscribed to

Summary:
this gets called a ton

ref T8321
Depends on D10356

Reviewers: bu5hm4n, cedric

Reviewed By: bu5hm4n, cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoevas/smart: print actual errors when smart api functions are called on non-smarts
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:43 +0000 (09:29 -0400)]
evas/smart: print actual errors when smart api functions are called on non-smarts

Summary:
this is an error, and it should be printed
Depends on D10355

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas/smart: inhibit evas-internal smart callbacks when there are no subscribers
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:37 +0000 (09:29 -0400)]
evas/smart: inhibit evas-internal smart callbacks when there are no subscribers

Summary:
we know these ahead of time since they're hardcoded, so we can block their
emission just like we do for eo events

ref T8321
Depends on D10354

Reviewers: cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoeo: block "invalidate" event emission when there are no subscribers
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:30 +0000 (09:29 -0400)]
eo: block "invalidate" event emission when there are no subscribers

Summary:
this should be handled like the rest of eo internal events

ref T8321
Depends on D10353

Reviewers: bu5hm4n, cedric

Reviewed By: bu5hm4n, cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

4 years agoevas/callbacks: emit hardcoded legacy smart callbacks always
Mike Blumenkrantz [Mon, 14 Oct 2019 13:29:23 +0000 (09:29 -0400)]
evas/callbacks: emit hardcoded legacy smart callbacks always

Summary:
these are not strictly related to the event callback types and should not
have their emission tied to the corresponding event

also add unit test to verify all of these

@fix

Reviewers: cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoeet - fix loading eet files that do not have dicts
Carsten Haitzler (Rasterman) [Mon, 14 Oct 2019 11:14:26 +0000 (12:14 +0100)]
eet - fix loading eet files that do not have dicts

my performance fix for locking around the eet dict breaks if there is
no dict in the eet file. this causes a segv.

fixes T8368

@fix

4 years agocanvas vg: don't draw images if it's full transparent.
Hermet Park [Mon, 14 Oct 2019 08:52:47 +0000 (17:52 +0900)]
canvas vg: don't draw images if it's full transparent.

4 years agoeolian: fix eolian errors with EOLIAN_ENFORCE_SINCE=1
WooHyun Jung [Mon, 14 Oct 2019 07:55:52 +0000 (16:55 +0900)]
eolian: fix eolian errors with EOLIAN_ENFORCE_SINCE=1

Summary:
This is not the end of fixing eolian errors. I need to keep fixing
more.

Test Plan:
1. export EOLIAN_ENFORCE_SINCE=1
2. ninja

Reviewers: q66, segfaultxavi, zmike, bu5hm4n, Jaehyun_Cho

Reviewed By: segfaultxavi, Jaehyun_Cho

Subscribers: Jaehyun_Cho, stefan_schmidt, cedric, #reviewers, #committers

Tags: #efl

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

4 years agocsharp: updating UserModel docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 04:06:49 +0000 (01:06 -0300)]
csharp: updating UserModel docs.

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: updating efl_all docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 04:01:10 +0000 (01:01 -0300)]
csharp: updating efl_all docs.

Summary: ref T8345

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: updating efl_csharp_application docs.
Bruno da Silva Belo [Mon, 14 Oct 2019 03:53:34 +0000 (00:53 -0300)]
csharp: updating efl_csharp_application docs.

Summary: ref T8345

Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8345

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

4 years agocsharp: Add since documentation to Async methods
Felipe Magno de Almeida [Mon, 14 Oct 2019 02:45:17 +0000 (23:45 -0300)]
csharp: Add since documentation to Async methods

Reviewers: lauromoura

Reviewed By: lauromoura

After review, fixed formatting and indentation.

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8359

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

4 years agoelm: Fix potential leak in cv request add
Lauro Moura [Mon, 14 Oct 2019 02:34:32 +0000 (23:34 -0300)]
elm: Fix potential leak in cv request add

Summary: CID 1405809

Reviewers: zmike, cedric, bu5hm4n

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

4 years agoevas filter: Implement grayscale filter in SW
Shinwoo Kim [Mon, 14 Oct 2019 02:13:15 +0000 (11:13 +0900)]
evas filter: Implement grayscale filter in SW

Summary: Initial version implementing grayscale filter in SW.

Test Plan:
1. Create filter_example with following.
efl_gfx_filter_program_set(image, "grayscale ()", "grayscale");

1. Run.
./filter_example

Reviewers: Hermet, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas filter: preserve text source color
Shinwoo Kim [Mon, 14 Oct 2019 02:11:04 +0000 (11:11 +0900)]
evas filter: preserve text source color

Summary:
The filter did not use text source color. Whatever color a text has, filter
used white color instead of it.

Test Plan: efl_gfx_filter_program_set(non_white_color_text, "code", "name");

Reviewers: Hermet, jsuya, cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_image: fix memory leak
Shinwoo Kim [Mon, 14 Oct 2019 02:09:31 +0000 (11:09 +0900)]
evas_image: fix memory leak

Summary:
On the sw engine, an im could be changed and removed by evas_cache_image_size_set.
In this case, there is no chance to free its resource and ends up in memory leak.

Reviewers: Hermet, raster, jsuya, cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_cache_image: drop image after replacement
Shinwoo Kim [Mon, 14 Oct 2019 02:07:01 +0000 (11:07 +0900)]
evas_cache_image: drop image after replacement

Summary:
When a newly created Image_Entry works for instead of an old one,
we need to drop it. And we did dorp it.

The line calling ref and drop was added by following commit.

   d550190 evas image cache - add lots more locking to try stamp out
           any thread bug

But it is missed by following commit.

   9f99ab1 evas cache: clear up caching locking and reference count.

Reviewers: Hermet, raster, jsuya, cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agogenlist: fix wrong proxy geometry set 17/217317/2
SangHyeon Jade Lee [Fri, 8 Nov 2019 09:34:28 +0000 (18:34 +0900)]
genlist: fix wrong proxy geometry set

Change-Id: I794c528e5862c9e265344e2da953c4a83c596a75
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
4 years agocheck: reset flags that used for legacy 'changed' cb 38/217138/1
Wonki Kim [Wed, 6 Nov 2019 12:46:42 +0000 (13:46 +0100)]
check: reset flags that used for legacy 'changed' cb

Summary:
in case of setting a state of check by calling a API,
the flags that used for changed cb aren't changed.
which causes that the callback not invoked when it should be.

this patch resets the flags to make it work properly.

Reviewers: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I16406ca41b6ac235cb6ef4ab4e2905669dd78e98

4 years agoevas_textblock: content fit feature 93/217093/1
Ali Alzyod [Tue, 5 Nov 2019 11:40:59 +0000 (20:40 +0900)]
evas_textblock: content fit feature

Summary:
**Content Fit Feature for Evas_Object_Textblock**

This Feature is available at **Evas **object level.  And **Edje **level (where it is internally use evas functionality)
This feature will allow text block to fit its content font size to proper size to fit its area.

**Main Properties:**
Fit Modes        :   None=Default, Width, Height, All [Width+Height]
Fit Size Range :   Contains maximum and minimum font size to be used (and in between).
Fit Step Size    :   Step(Jump) value when trying fonts sizes between Size_Range max and min.
Fit Size Array   :   Other way to resize font, where you explicitly select font sizes to be uses    (for example [20, 50, 100] it will try 3 sizes only)

Text Fit feature was available in Edje but:
1- It doesn't effected by ellipsis or warping in font style (or do not handle the in right way)
2- Accuracy is not good (specially if you have fix pixel size elements (spaces,tabs,items))
3- No (Step size, Size Array) available.

Test Plan:
To check the Feature
> elementary_test
> fit
> textbock fit
You can modify all the modes and properties

These are two examples, One using Evas other uses Edje

**Evas**

```

enum BUTTON{
   BUTTON_MODE             = 0,
   BUTTON_MAX              = 1,
   BUTTON_MIN              = 2,
   BUTTON_STEP             = 3,
   BUTTON_ARRAY            = 4,
   BUTTON_CONTENT          = 5,
   BUTTON_STYLE            = 6,
   BUTTON_ALL              = BUTTON_STYLE+1,
};

char* BUTTON_STR[BUTTON_ALL] ={
   "MODE",
   "MAX",
   "MIN",
   "STEP",
   "ARRAY",
   "CONTENT",
   "STYLE",
};

char *contents[] = {
   "Hello World",
   "This is Line<br>THis is other Line",
   "This text contains <font_size=20 color=#F00>SPECIFIC SIZE</font_size> that does not effected by fit mode"
   };

char *styles[] = {
   "DEFAULT='font=sans font_size=30 color=#000 wrap=mixed ellipsis=1.0'",
   "DEFAULT='font=sans font_size=30 color=#000 wrap=mixed'",
   "DEFAULT='font=sans font_size=30 color=#000 ellipsis=1.0'",
   "DEFAULT='font=sans font_size=30 color=#000'",
   };

char *styles_names[] = {
   "wrap=<color=#F00>mixed</color> ellipsis=<color=#F00>1.0</color>",
   "wrap=<color=#F00>mixed</color> ellipsis=<color=#F00>NONE</color>",
   "wrap=<color=#F00>NONE</color> ellipsis=<color=#F00>1.0</color>",
   "wrap=<color=#F00>NONE</color> ellipsis=<color=#F00>NONE</color>",
   };

typedef struct _APP
{
   Evas_Object *win, *box, *txtblock,*bg, *boxHor, *boxHor2;
   Eo *btn[BUTTON_ALL];
   Eo *lbl_status;
   char * str;
   unsigned int i_contnet, i_style;
} APP;
APP *app;

char * get_fit_status(Eo * textblock);

static void _btn_clicked(void *data EINA_UNUSED, Eo *obj, void *eventInfo EINA_UNUSED){
   if (obj == app->btn[BUTTON_MODE])
     {
        unsigned int options;
        evas_textblock_fit_options_get(app->txtblock, &options);
        if (options == TEXTBLOCK_FIT_MODE_NONE)
           evas_textblock_fit_options_set(app->txtblock, TEXTBLOCK_FIT_MODE_HEIGHT);
        else if (options == TEXTBLOCK_FIT_MODE_HEIGHT)
           evas_textblock_fit_options_set(app->txtblock, TEXTBLOCK_FIT_MODE_WIDTH);
        else if (options == TEXTBLOCK_FIT_MODE_WIDTH)
           evas_textblock_fit_options_set(app->txtblock, TEXTBLOCK_FIT_MODE_ALL);
        else if (options == TEXTBLOCK_FIT_MODE_ALL)
           evas_textblock_fit_options_set(app->txtblock, TEXTBLOCK_FIT_MODE_NONE);
     }
   else if (obj == app->btn[BUTTON_MAX])
     {
        unsigned int min, max;
        evas_textblock_fit_size_range_get(app->txtblock, &min, &max);
        max -= 5;
        evas_textblock_fit_size_range_set(app->txtblock, min, max);
     }
   else if (obj == app->btn[BUTTON_MIN])
     {
        unsigned int min, max;
        evas_textblock_fit_size_range_get(app->txtblock, &min, &max);
        min += 5;
        evas_textblock_fit_size_range_set(app->txtblock, min, max);
     }
   else if (obj == app->btn[BUTTON_STEP])
     {
        unsigned int step;
        evas_textblock_fit_step_size_get(app->txtblock, &step);
        step++;
        evas_textblock_fit_step_size_set(app->txtblock, step);
     }
   else if (obj == app->btn[BUTTON_ARRAY])
     {
        unsigned int font_size[] = {10, 50, 100 ,150};
        evas_textblock_fit_size_array_set(app->txtblock,font_size,4);
     }
   else if (obj == app->btn[BUTTON_CONTENT])
     {
        app->i_contnet++;
        if(app->i_contnet>=sizeof(contents)/sizeof(char*))
           app->i_contnet=0;
        evas_object_textblock_text_markup_set(app->txtblock,contents[app->i_contnet]);
     }
   else if (obj == app->btn[BUTTON_STYLE])
     {
        app->i_style++;
        if(app->i_style>=sizeof(styles)/sizeof(char*))
           app->i_style=0;

        Evas_Textblock_Style *style = evas_object_textblock_style_get(app->txtblock);
        evas_textblock_style_set(style,styles[app->i_style]);
     }

   elm_object_text_set(app->lbl_status, get_fit_status(app->txtblock));
}

char * get_fit_status(Eo * textblock)
{
   static char status[0xFFF];
   unsigned int options,min,max,step,size_array[256];
   size_t size_array_len;
   evas_textblock_fit_options_get(textblock,&options);
   evas_textblock_fit_size_range_get(textblock,&min,&max);
   evas_textblock_fit_step_size_get(textblock,&step);
   evas_textblock_fit_size_array_get(textblock,NULL,&size_array_len,0);
   if (size_array_len>255)
      size_array_len = 255;
   evas_textblock_fit_size_array_get(textblock,size_array,NULL,size_array_len);

   strcpy(status,"Mode : ");
   if (options == TEXTBLOCK_FIT_MODE_NONE)
      strcat(status,"MODE_NONE");
   else if (options == TEXTBLOCK_FIT_MODE_HEIGHT)
      strcat(status,"MODE_HEIGHT");
   else if (options == TEXTBLOCK_FIT_MODE_WIDTH)
      strcat(status,"MODE_WIDTH");
   else if (options == TEXTBLOCK_FIT_MODE_ALL)
      strcat(status,"MODE_ALL");

   strcat(status,"<br>");
   sprintf(status + strlen(status),"Max   : %d<br>",max);
   sprintf(status + strlen(status),"Min   : %d<br>",min);
   sprintf(status + strlen(status),"Step  : %d<br>",step);
   sprintf(status + strlen(status),"Array  : [ ");
   for (size_t i = 0 ; i < 10 ; i++)
     {
        if(i<size_array_len)
           sprintf(status + strlen(status)," %d,",size_array[i]);
     }

   if(10<size_array_len)
      sprintf(status + strlen(status)," ... ");
   sprintf(status + strlen(status)," ]");

   sprintf(status + strlen(status),"<br>");
   sprintf(status + strlen(status),"%s",styles_names[app->i_style]);

   return status;
}

int elm_main(int argc, char **argv)
{
  app = calloc(sizeof(APP), 1);

   elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);

   app->win = elm_win_util_standard_add("Main", "App");
   elm_win_autodel_set(app->win, EINA_TRUE);

   app->box = elm_box_add(app->win);
   app->boxHor = elm_box_add(app->box);
   app->boxHor2 = elm_box_add(app->box);
   app->txtblock = evas_object_textblock_add(app->box);
   app->bg = elm_bg_add(app->box);
   elm_bg_color_set(app->bg,255,255,255);

   Evas_Textblock_Style *style = evas_textblock_style_new();
   evas_textblock_style_set(style,styles[0]);
   evas_object_textblock_style_set(app->txtblock,style);
   evas_object_textblock_text_markup_set(app->txtblock,contents[0]);

   elm_box_horizontal_set(app->boxHor, EINA_TRUE);
   elm_box_horizontal_set(app->boxHor2, EINA_TRUE);

   evas_object_size_hint_weight_set(app->box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(app->box, EVAS_HINT_FILL, EVAS_HINT_FILL);

   evas_object_size_hint_weight_set(app->box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(app->box, EVAS_HINT_FILL, EVAS_HINT_FILL);

   evas_object_show(app->txtblock);
   evas_object_show(app->bg);
   evas_object_show(app->box);
   evas_object_show(app->boxHor);
   evas_object_show(app->boxHor2);

   elm_box_pack_end(app->box, app->bg);
   elm_box_pack_end(app->box, app->boxHor);
   elm_box_pack_end(app->box, app->boxHor2);

   elm_object_content_set(app->bg,app->txtblock);

   elm_win_resize_object_add(app->win, app->box);
   evas_object_resize(app->win, 320, 480);

   for(int i = 0 ; i < BUTTON_ALL ; i++)
     {
        app->btn[i] = elm_button_add(app->boxHor);
        evas_object_smart_callback_add(app->btn[i], "clicked", _btn_clicked, NULL);
        elm_object_text_set(app->btn[i], BUTTON_STR[i]);
        elm_box_pack_end(app->boxHor, app->btn[i]);
        evas_object_show(app->btn[i]);
     }

   app->lbl_status = elm_label_add(app->boxHor2);
   elm_object_text_set(app->lbl_status, get_fit_status(app->txtblock));
   elm_box_pack_end(app->boxHor2, app->lbl_status);
   evas_object_show(app->lbl_status);

   evas_object_size_hint_weight_set(app->txtblock, EVAS_HINT_EXPAND,EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(app->txtblock, EVAS_HINT_FILL, EVAS_HINT_FILL);

   evas_object_size_hint_weight_set(app->bg, EVAS_HINT_EXPAND,EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(app->bg, EVAS_HINT_FILL, EVAS_HINT_FILL);

   evas_object_show(app->win);
   elm_run();
   return 0;
}

ELM_MAIN()
```

**Edje**

```
// compile: edje_cc source.edc
// run: edje_player source.edje
collections {
   styles
   {
      style
      {
         name: "text_style";
         base: "font=sans font_size=30 color=#FFF wrap=mixed ellipsis=1.0";
         tag: "br" "\n";
         tag: "ps" "ps";
         tag: "tab" "\t";
         tag: "b" "+ font_weight=Bold";
      }
   }
   group {
      name: "my_group"; // must be the same as in source.c
      parts {

         part
         {
            name: "background";
            type: RECT;
            scale: 1;
            description
            {
               color: 0 0 0 0;
               rel1.relative: 0.0 0.0;
               rel2.relative: 1.0 1.0;
            }
         }

         part
         {
            name: "text";
            type: TEXTBLOCK;
            scale: 1;
            entry_mode: NONE;
            effect: OUTLINE_SHADOW;
            description
            {
               state: "default" 0.0;
               rel1.to : "background";
               rel1.relative: 0.0 0.0;
               rel2.to : "background";
               rel2.relative: 1.0 1.0;
               text
               {
                  style: "text_style";
                  align: 0.0 0.0;
                  text: "Hello World This is Me";
                  fit: 1 1;
                  fit_step: 1;
                  size_range: 30 200;
                  //fit_size_array: 20 40 60 80 100 200;
               }
            }
         }
      }
   }
}
```

Found Task T5724 relative to this Feature

Reviewers: woohyun, bowonryu, cedric, raster

Subscribers: #committers, #reviewers, cedric

Tags: #efl

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

Change-Id: I4e55ddca27d69afed1c99f8f922a8e3277364932

5 years agoitem is not packed homogeneously 94/216794/1
Sungtaek Hong [Thu, 6 Oct 2016 05:35:03 +0000 (14:35 +0900)]
item is not packed homogeneously

@tizen_fix

Change-Id: I4529484a5215ed8fc4edd3462486e4e1bae535a5
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
5 years agoelc_popup: don't allow the recalculation when the content_area is calculated 48/216548/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/mobile/hotfix/20201027.062405 accepted/tizen/unified/20191029.012201 submit/tizen/20191029.010729 submit/tizen_5.5_mobile_hotfix/20201026.185106
Taehyub Kim [Mon, 28 Oct 2019 11:11:52 +0000 (20:11 +0900)]
elc_popup: don't allow the recalculation when the content_area is calculated

Change-Id: I166ed0ee99d3e26707e593526830b914ad675e32

5 years agoefl_ui_layout: replace efl_canvas_group_calculate with elm_layout_sizing_eval 10/216310/1 accepted/tizen/5.5/unified/20191031.005454 accepted/tizen/unified/20191023.142709 submit/tizen/20191023.080458 submit/tizen_5.5/20191031.000006 tizen_5.5.m2_release
Yeongjong Lee [Wed, 23 Oct 2019 07:49:30 +0000 (16:49 +0900)]
efl_ui_layout: replace efl_canvas_group_calculate with elm_layout_sizing_eval

ref ef11a741ad768742f120955191c6aee3bf669114
@tizen_fix

Change-Id: I756c0f841233d77b03d45036df9765fc45e28df6

5 years agoedje_entry: check empty string when key down event is called 04/216304/2
Taehyub Kim [Wed, 23 Oct 2019 07:12:28 +0000 (16:12 +0900)]
edje_entry: check empty string when key down event is called
@tizen_fix

Change-Id: I0118d46c7ce169b0dbb972b8bd963705b736e106

5 years agoelm_panel: disable efl_ui_focus_layer functions 08/216208/1 accepted/tizen/unified/20191022.222702 submit/tizen/20191022.111446
Yeongjong Lee [Tue, 22 Oct 2019 08:36:32 +0000 (17:36 +0900)]
elm_panel: disable efl_ui_focus_layer functions

This patch will be reverted with patch to disable focus manager.

@tizen_fix

Change-Id: Id8f6d6c9e5f20118f0d38500d4f19687e71ebde0

5 years agoRevert "elm_widget: disable focus manager in tizen" 07/216207/2
YeongJong Lee [Tue, 22 Oct 2019 08:34:37 +0000 (08:34 +0000)]
Revert "elm_widget: disable focus manager in tizen"

This reverts commit 754fc972036cdc95b88faacacbeb19d802d33cea.

Change-Id: Iaf0347bcba63f54d89240d52cac41f2e9ee4f1e5

5 years agoelm_widget: disable focus manager in tizen 25/216125/2
Yeongjong Lee [Mon, 21 Oct 2019 08:04:04 +0000 (17:04 +0900)]
elm_widget: disable focus manager in tizen

`@empty` tag will disable efl_ui_focus_* functions which means focus manager
code doesn't work anymore in tizen.

@tizne_fix

Change-Id: Ie7bf0c485fde997a11b171a62d53ac78eebf8573

5 years agottrace: replace sprintf with snprintf 79/216179/2 submit/tizen/20191022.050108
Wonki Kim [Tue, 22 Oct 2019 04:53:03 +0000 (13:53 +0900)]
ttrace: replace sprintf with snprintf

sprintf has a potentiality of BOF.
this patch replace it with snprintf to prevent the problem.

Change-Id: Id131277846519ecd6deae363a3da3d363590567a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agoefl_ui_layout: size should be calculated immediately 77/216177/2
Hosang Kim [Tue, 22 Oct 2019 02:56:40 +0000 (11:56 +0900)]
efl_ui_layout: size should be calculated immediately

When the child's size hint is changed, parent's size should be
calculated immediately

@tizen_only

Change-Id: Ice417e634da643ec88b6a0c61886f85a705e681d

5 years agoelm_config: replace ecore_file_cp with ecore_file_mv 52/216152/1 submit/tizen/20191021.124352
Wonki Kim [Mon, 21 Oct 2019 11:10:02 +0000 (20:10 +0900)]
elm_config: replace ecore_file_cp with ecore_file_mv

ecore_file_cp can cause elm_config eet data invalid.
this patch replaces it with ecore_file_mv to prevent the problem.

Change-Id: I5e39ab88cf5ecb70e9d9823b43ebdcc92b2cfc51
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agottrace: enable ttrace log by default in tizen 92/215992/3
subhransu mohanty [Fri, 18 Oct 2019 05:32:06 +0000 (14:32 +0900)]
ttrace: enable ttrace log by default in tizen

Change-Id: I30e338c27a9abbca01ed7477367ea9f9d3f6fcd5

5 years agoecore_evas_wayland_common: add updating window geometry. 29/215929/3
Hosang Kim [Thu, 17 Oct 2019 12:00:44 +0000 (21:00 +0900)]
ecore_evas_wayland_common: add updating window geometry.

when window is resized, but geometry information is not updated.
So window can't be resized to initial size.
Change-Id: I86a63cf093c1987ef17862caf710b048991cd3d5

5 years agoefl_doc: Remove not supported API for displaying a video 79/215979/2 accepted/tizen/unified/20191018.222526 submit/tizen/20191018.050657
Myoungwoon Roy, Kim [Fri, 18 Oct 2019 04:54:55 +0000 (13:54 +0900)]
efl_doc: Remove not supported API for displaying a video

Change-Id: I4c17227003622460031af3022d0489a9adb04e28

5 years agoRevert "vg_common_json: Apply image's alpha color" 84/215984/1
JunsuChoi [Fri, 18 Oct 2019 04:52:40 +0000 (13:52 +0900)]
Revert "vg_common_json: Apply image's alpha color"

This reverts commit 1f5fb0867658643a952b253298bb4d05fa45131e.

This revert patch made due to public release. This patch will be recovered later by migration.

Change-Id: I30634ef137927c3011315b03055912a4e3d3256c

5 years agoRevert "vg_common_svg: Support opacity attribute of <g> element" 83/215983/1
JunsuChoi [Fri, 18 Oct 2019 04:51:45 +0000 (13:51 +0900)]
Revert "vg_common_svg: Support opacity attribute of <g> element"

This reverts commit d932abddd8594f7b00d6d1fbbb00fe46b53f16c9.

This revert patch made due to public release. This patch will be recovered later by migration.

Change-Id: I5f525d2156ef616f79d893879c52ab99e027f3b9

5 years agoRevert "efl_canvas_vg : Propagates the alpha color of the parent" 82/215982/1
JunsuChoi [Fri, 18 Oct 2019 04:49:16 +0000 (13:49 +0900)]
Revert "efl_canvas_vg : Propagates the alpha color of the parent"

This reverts commit 30b5e8051386535e13539892a1da81b83f2d32ca.

This revert patch made due to public release. This patch will be recovered later by migration.

Change-Id: I8be2f230b6cd4fd617af41f2225f5f9560fe0c2f

5 years agoEfl.Access.Object: Remove eolian docs warning 77/215877/1
JunsuChoi [Thu, 17 Oct 2019 05:47:03 +0000 (14:47 +0900)]
Efl.Access.Object: Remove eolian docs warning

Change-Id: Ic32d9bda06b8a1b830bb910b2faafe291d16a2d2

5 years agoefl_canvas_vg : Propagates the alpha color of the parent 58/215858/1
JunsuChoi [Wed, 16 Oct 2019 06:12:13 +0000 (15:12 +0900)]
efl_canvas_vg : Propagates the alpha color of the parent

Summary:
The current color is affected by the parent's opacity.
If p_opacity is set, it will be applied to the current color.

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I1e7e0e061b71a6434b132c3099533b8bca62d652

5 years agovg_common_svg: Support opacity attribute of <g> element 57/215857/1
JunsuChoi [Tue, 15 Oct 2019 05:53:25 +0000 (14:53 +0900)]
vg_common_svg: Support opacity attribute of <g> element

Summary:
The <g> element can have an opacity.
Therefore, if node type is SVG_NODE_G, set color.

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I62040945a8a609ba6231694580f00308f94d109a

5 years agovg_common_json: Apply image's alpha color 56/215856/1
JunsuChoi [Mon, 14 Oct 2019 08:44:57 +0000 (17:44 +0900)]
vg_common_json: Apply image's alpha color

Summary:
This patch needs latest rlottie that contain below commit.
https://github.com/Samsung/rlottie/commit/c3ab82ec2c207cfba2df6eb51d80dd532c93a710

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ifc5cbe980ddf6b506c880d8c19d63fc32d148e67

5 years agoRevert "docs: fix elementary group name in docs" 54/215854/1 accepted/tizen/unified/20191017.105745 submit/tizen/20191017.024054
Myoungwoon Roy, Kim [Thu, 17 Oct 2019 02:19:53 +0000 (11:19 +0900)]
Revert "docs: fix elementary group name in docs"

This reverts commit dbb9bb501d5372dba4f6f1b0badef789b4ade76f.

Change-Id: Id1a30fa70d0252977e2c1e8610426b1d2b0ff7e5

5 years agoelm_multibuttonentry: delete ELM_LAYOUT_MIXIN 59/215659/3 accepted/tizen/unified/20191014.062450 submit/tizen/20191014.060638
Woochanlee [Mon, 14 Oct 2019 04:26:36 +0000 (13:26 +0900)]
elm_multibuttonentry: delete ELM_LAYOUT_MIXIN

Once the min size grows, it can't shrink even if recalcuate it.

@tizen_only

Change-Id: I9d828a8fd6109fa311b92fcf71320f0220aca32b

5 years agobuild: resolve migration build error submit/tizen/20191013.215822
Jongmin Lee [Sun, 13 Oct 2019 21:56:23 +0000 (06:56 +0900)]
build: resolve migration build error

Change-Id: Iac7500e5e22cdca765e5760eeed28919ab3e2291

5 years agocsharp: Add since info to members related to events.
Lauro Moura [Fri, 11 Oct 2019 21:45:41 +0000 (21:45 +0000)]
csharp: Add since info to members related to events.

Like OnFooEvent, FooEvents, etc.

ref T8359

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

5 years agoeolian-cxx: Make events inherit beta info from klass.
Lauro Moura [Fri, 11 Oct 2019 21:45:03 +0000 (21:45 +0000)]
eolian-cxx: Make events inherit beta info from klass.

To mimic function behavior

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

5 years agoeolian-cxx: Rename fields to standard naming
Lauro Moura [Sat, 12 Oct 2019 21:05:17 +0000 (18:05 -0300)]
eolian-cxx: Rename fields to standard naming

Summary: bool fields were missing the `is_` prefix.

Reviewers: felipealmeida, brunobelo, segfaultxavi, woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeio - fbsd - make fd for monitored file close on exec
Carsten Haitzler (Rasterman) [Sat, 12 Oct 2019 12:02:31 +0000 (13:02 +0100)]
eio - fbsd - make fd for monitored file close on exec

this fixes T7486

5 years agoefl_ui_panes: fix not to consider content min size for legacy panes
Jaehyun Cho [Fri, 11 Oct 2019 13:42:51 +0000 (09:42 -0400)]
efl_ui_panes: fix not to consider content min size for legacy panes

Summary:
Since legacy panes did not consider its content's min size, the
content's min size calculation logic is not done for legacy panes.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_focus_object: do not emit focus_geometry_changed when not needed
Marcel Hollerbach [Fri, 11 Oct 2019 13:42:34 +0000 (09:42 -0400)]
efl_ui_focus_object: do not emit focus_geometry_changed when not needed

Summary:
this is emitted a lot of times, which costs time. Most of the time they
are however not needed. With this commit, these events are not emitted
anymore.

ref T8321

Reviewers: zmike, cedric

Reviewed By: zmike, cedric

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8321

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

5 years agoevas/language: #ifdef guard variable which is only used inside #ifdef
Mike Blumenkrantz [Fri, 11 Oct 2019 13:42:24 +0000 (09:42 -0400)]
evas/language: #ifdef guard variable which is only used inside #ifdef

Summary:
this variable is already only changed inside an #ifdef, so declare and
free it only inside the same ifdef for clarity

CIDs 1401016, 1400807

Reviewers: cedric

Reviewed By: cedric

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_canvas_animation_player: fix double free
Marcel Hollerbach [Fri, 11 Oct 2019 13:42:14 +0000 (09:42 -0400)]
efl_canvas_animation_player: fix double free

Summary:
when we are returning 0 in a animation callback, the animator will be
deleted.

This fixes a crash in tab_pager.
Depends on D10306

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agocv: Switch to safe 32/64 bits printf masks
Lauro Moura [Fri, 11 Oct 2019 13:41:16 +0000 (09:41 -0400)]
cv: Switch to safe 32/64 bits printf masks

This should silence 32-bit warnings about long long stuff

Reviewers: vtorri, cedric, bu5hm4n

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con.
Cedric BAIL [Fri, 11 Oct 2019 12:51:53 +0000 (08:51 -0400)]
ecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con.

Summary:
We can not have half our code rely on Ecore magic check and the other half
use Eina_Magic or this will lead to inconsistency with Eina_Magic definition.
Depends on D10363

Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoecore_con: do not crash in test if nothing is returned by Ecore_Con_Url.
Cedric BAIL [Fri, 11 Oct 2019 12:51:48 +0000 (08:51 -0400)]
ecore_con: do not crash in test if nothing is returned by Ecore_Con_Url.

Summary: Depends on D10362

Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoecore_con: destructor are always called when finalize return NULL.
Cedric BAIL [Fri, 11 Oct 2019 12:51:43 +0000 (08:51 -0400)]
ecore_con: destructor are always called when finalize return NULL.

Summary:
This prevent crash and double free during an invalid Ecore_Con_Eet failure
to initialize.

Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agocsharp: Add missing docs to slice.
Lauro Moura [Fri, 11 Oct 2019 09:22:32 +0000 (11:22 +0200)]
csharp: Add missing docs to slice.

Summary:
Also removed uneeded methods.

Slice also may need some API love to be actually useful later.

ref T8292

Reviewers: segfaultxavi, felipealmeida, brunobelo, woohyun

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8292

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