platform/upstream/efl.git
5 years agoelementry win: support msaa, stencil and depth bits for wayland. 41/204741/3
Hermet Park [Thu, 25 Apr 2019 08:25:52 +0000 (17:25 +0900)]
elementry win: support msaa, stencil and depth bits for wayland.

Change-Id: I1a6bb202769bce41075513954c551c83b035bb31

5 years agoecore_evas: generalize option defines. 40/204740/3
Hermet Park [Thu, 25 Apr 2019 08:08:37 +0000 (17:08 +0900)]
ecore_evas: generalize option defines.

There some engine option defines could be generalized from the window system
since those options could be used through wayland, x11 both, and probably so on.

Change-Id: I1dfef761f7024b573a35038e1acb10d619dc61ad

5 years agoecore wayland: expand internal interface to pass engine option list. 39/204739/3
Hermet Park [Thu, 25 Apr 2019 07:56:40 +0000 (16:56 +0900)]
ecore wayland: expand internal interface to pass engine option list.

This is a prepartion patch to support msaa in wayland.
ui window needs to deliver engine options (stencil, depth, msaa bits)
to evas engine side, ecore_evas_wayland_egl should have the argument to pass.

Change-Id: I7f529f0e0ae2f1f46062dfc7d6a4dd7beaed8382

5 years agoedje_load: Delete unnecessary style update function call. 68/204668/2
Woochanlee [Thu, 25 Apr 2019 09:46:47 +0000 (18:46 +0900)]
edje_load: Delete unnecessary style update function call.

https://phab.enlightenment.org/D8560
I tried to push this commit on upstream.
But We has diffrent logic for style update.

@tizen_fix

Change-Id: I1da315768cfe117029372717a86f0d5242c21d91

5 years agovg_common_json: Support mask with matte case. 05/204705/1
JunsuChoi [Fri, 26 Apr 2019 01:46:06 +0000 (10:46 +0900)]
vg_common_json: Support mask with matte case.

Summary:
The layer can have both a mask node and a matte node.
In this case, one of them may be missing because it uses one mask_set api.
If there is a matte, the mask is to be child of the matte.

Test Plan:
.._mask_set(layer, matte);
.._mask_set(layer, mask);

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, smohanty, #committers

Tags: #efl

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

Change-Id: I2a617cbaf087ae9839befa40b94d6e40e2d859ce

5 years agoentry: revert a single line 03/204703/2
Wonki Kim [Fri, 26 Apr 2019 01:42:43 +0000 (10:42 +0900)]
entry: revert a single line

Summary:
the line this patch is reverting was not I intended.
at D8362, I just wanted to accept what zmike proposed.
this patch make the previous patch what It was supposed to be.

Reviewers: zmike

Subscribers: bowonryu, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I5ffcf88e2c8b6ec73b16e603f922f754e05bdb7d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 years agoefl_ui_animation_view: Remove docs in set/get. 01/204701/1
JunsuChoi [Thu, 25 Apr 2019 08:32:48 +0000 (17:32 +0900)]
efl_ui_animation_view: Remove docs in set/get.

Summary:
   it is not used. and not generated at docs of C# and python languages.

Test Plan: N/A

Reviewers: kimcinoo, Hermet

Reviewed By: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ic711cfd77c9f84f925e586d20a7284cf5db986bd

5 years agoelm_theme: Check the ref count to delete or unref. 86/204686/2
Woochanlee [Thu, 25 Apr 2019 12:19:35 +0000 (21:19 +0900)]
elm_theme: Check the ref count to delete or unref.

In case of the ref count bigger than 1.
That means the eo_theme ref count is 2.

In that case we need to call efl_unref when theme freed.
other case we can delete eo_theme.

@fix

https://phab.enlightenment.org/D8714
e25f00c2d5d98854b1ddab5d9d3b34ce63766db3

Change-Id: Ifcbcd40ece56f8b466fbb3e00b1344a000f55ca8

5 years agoefl_mono: EflSharp application uses efl_sharp theme 70/204670/1
Jaehyun Cho [Thu, 25 Apr 2019 10:28:37 +0000 (19:28 +0900)]
efl_mono: EflSharp application uses efl_sharp theme

efl_sharp theme is overlaid to be used by EflSharp application.
i.e. /usr/share/efl-sharp/efl-sharp-theme.edj

Change-Id: Ied26f2d0bd55dd98d199f0fa9894bb4294df98b8

5 years agoefl_ui_win: add new swallow part for circle object 96/199496/3
Taehyub Kim [Tue, 12 Feb 2019 06:48:11 +0000 (15:48 +0900)]
efl_ui_win: add new swallow part for circle object

Change-Id: Iba8fb5806187773d80ebf5a62f1e6116ba8c61f2

5 years agoui.relative_layout: fix incorrect type casting
Yeongjong Lee [Wed, 24 Apr 2019 12:09:53 +0000 (21:09 +0900)]
ui.relative_layout: fix incorrect type casting

Summary: `temph` can be double type.

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoEfl.Ui.Animation_View: Enhance documentation of elm_animation_view. 42/204642/1
JunsuChoi [Wed, 24 Apr 2019 07:17:48 +0000 (16:17 +0900)]
Efl.Ui.Animation_View: Enhance documentation of elm_animation_view.

Summary:
 - Add "Animation View" item at elementary_main.
 - Change EAPIs naming.
 - Change version 1.22 to 1.23.

Test Plan:
make doc
firefox doc/html/widgetslist.html
Go "Animation View"

Reviewers: Hermet, kimcinoo, segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I1a570f8f8b73ab0e41d0b21dbe8fbde274118927

5 years ago[EvasGL] Fix the partial rendering bug 31/204631/1
Wonsik Jung [Thu, 25 Apr 2019 06:44:43 +0000 (15:44 +0900)]
[EvasGL] Fix the partial rendering bug

Fix the partial rendering bug

Change-Id: Ide85ba49c4a32e198079d258ddf7876f0a6bb4a6

5 years agomeson: migrate upstream patches to tizen
Wonki Kim [Wed, 24 Apr 2019 04:57:03 +0000 (13:57 +0900)]
meson: migrate upstream patches to tizen

regarding patches(93983e0, 6114570, 7273fbb, 3418659),
they have too many diff to cherry-pick on tizen
this patch migrate them

Change-Id: Id72ecf0e9acf5b1913967afff20ac008d7920c8e

5 years agomeson: make it possible to link our engines against evas
Marcel Hollerbach [Fri, 19 Apr 2019 18:39:31 +0000 (14:39 -0400)]
meson: make it possible to link our engines against evas

Summary:
it FINALLY happend! With this python bindings should be able to work
again with a meson build, you can also enable b_lundef right now. And it
appears to work, with this we can also get another step closer to a
windows build.
Depends on D8669

Reviewers: zmike, stefan_schmidt, cedric, vtorri

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agomeson: seperate the engine build file from the rest
Marcel Hollerbach [Fri, 19 Apr 2019 18:39:25 +0000 (14:39 -0400)]
meson: seperate the engine build file from the rest

Summary:
this is required later on, where we want to build the engines
undependend from image loaders etc.
Depends on D8668

Reviewers: zmike, stefan_schmidt, cedric, vtorri

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: Iad68a3932bdb10868f51f2f881737befb92f4b6a

5 years agomeson: move build definitions of software_generic to libevas
Marcel Hollerbach [Fri, 19 Apr 2019 18:39:22 +0000 (14:39 -0400)]
meson: move build definitions of software_generic to libevas

Summary:
with this we don't have any static module anymore in the engine
directory. This means either *all* modules in the enignes directory are
static OR shared. There is no mixture anymore. This is a requirement for
the directory to be build whenever we want it to be build.
Depends on D8667

Reviewers: zmike, stefan_schmidt, cedric, vtorri

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: I973c4366b888d1d452b8b0e25340b6fc6dd5a5b5

5 years agomeson: move gl_common to gl_generic
Marcel Hollerbach [Fri, 19 Apr 2019 18:39:17 +0000 (14:39 -0400)]
meson: move gl_common to gl_generic

Summary:
sooo, gl_common stuff is only used by gl_generic, (and maybe others.
However, it is build static anyways and only linked into gl_generic).

This means, only software_generic is still in here and we can remove one
special case from the build instructions.

Reviewers: zmike, stefan_schmidt, cedric, vtorri

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: Id7b2641c95d7581a43da4a07dc8531347f8b6caf

5 years agoefl_canvas_animation_player: fix to apply animation when player starts 68/204468/1 accepted/tizen/unified/20190425.014546 submit/tizen/20190424.080239
Jaehyun Cho [Wed, 24 Apr 2019 05:44:50 +0000 (14:44 +0900)]
efl_canvas_animation_player: fix to apply animation when player starts

Previously, animation was not applied immediately when player starts
animation because elapsed time is 0.
This caused flickering object if animation begins with alpha 0 because
the alpha 0 animation is not applied immediately.

Now, animation is applied immediately when player start animation.

Change-Id: I0656540589492d68b3fb61ef8eb25faadf3f4011

5 years agoefl_ui_stack: handle memory allocation fail 67/204467/1
Jaehyun Cho [Wed, 24 Apr 2019 05:44:19 +0000 (14:44 +0900)]
efl_ui_stack: handle memory allocation fail

check if memory allocation succeeds and handle memory allocation fail.

Change-Id: Iebee55a63cef5c37f910aacef6067a1431ec9452

5 years agoexamples : update list_view examples to use item_class_set not layout_theme_config. submit/tizen/20190424.060632
SangHyeon Jade Lee [Tue, 23 Apr 2019 07:34:32 +0000 (07:34 +0000)]
examples : update list_view examples to use item_class_set not layout_theme_config.

widget_factory support item_class_set for factory created child.

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

5 years agoecore: rely on event instead of creating one Eo object per future that need resolving.
Cedric BAIL [Fri, 29 Mar 2019 00:18:08 +0000 (17:18 -0700)]
ecore: rely on event instead of creating one Eo object per future that need resolving.

This was a terrible oversight, but the point of having a small native type for future was
for making them efficient. Still we were using one Eo object for dispatching per future
to dispatch new value. I could have gathered all the dispatch with just one object, but
at the end we do have one object that notify us of the loop iteration... the loop object!
And we have event on that object that we can rely to trigger the dispatching of future
without requiring any additional object. So let's do that instead.

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

5 years agoefl_ui_scroller: fix Efl.Content implementation
Marcel Hollerbach [Mon, 22 Apr 2019 20:10:19 +0000 (22:10 +0200)]
efl_ui_scroller: fix Efl.Content implementation

this commit ensures the following:
- Delete content when new content is set
- Content set input validation
- Correct parent setting

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

5 years agoefl_ui_tab_page: implement content_set / unset correctly
Marcel Hollerbach [Mon, 22 Apr 2019 19:52:45 +0000 (21:52 +0200)]
efl_ui_tab_page: implement content_set / unset correctly

This patchset ensures that the following features are supported:
- content-widget deletion on set content
- content-widget validation on set calls
- invalid cases return false
- event emission

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

5 years agoefl_ui_popup: fix widget_parent inheritance
Marcel Hollerbach [Mon, 22 Apr 2019 19:30:05 +0000 (21:30 +0200)]
efl_ui_popup: fix widget_parent inheritance

when you inherit from widget_parent, you MUST call the super function.

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

5 years agoefl_core_command_line: Fix resource leak
Christopher Michael [Tue, 23 Apr 2019 13:26:13 +0000 (09:26 -0400)]
efl_core_command_line: Fix resource leak

Coverity reports that we leak the return from _escape(command) here,
so since we have to free the return from _escape, place it in it's own
variable that we can call free() on after we are done with it.

Fixes CID1399105

@fix

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

5 years agocsharp: Fix test code memory handling
Lauro Moura [Tue, 23 Apr 2019 15:12:31 +0000 (12:12 -0300)]
csharp: Fix test code memory handling

Summary:
It was causing the test to crash when running in debug build.

Also some minor fixes cleaning up stuff when exiting.

Fixes T7792.

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7792

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

5 years agomono-docs: Honor DESTDIR when installing XML docs
Xavi Artigas [Tue, 23 Apr 2019 11:53:26 +0000 (11:53 +0000)]
mono-docs: Honor DESTDIR when installing XML docs

The DESTDIR envvar was not being taken into account and the XML doc file
ended up in a different place than the DLL.

Fix T7802

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

5 years agofix compilation on alpine
Boris Faure [Tue, 23 Apr 2019 13:40:53 +0000 (09:40 -0400)]
fix compilation on alpine

Reviewers: zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelput: Remove useless call to eldbus_message_unref
Christopher Michael [Tue, 23 Apr 2019 13:14:52 +0000 (09:14 -0400)]
elput: Remove useless call to eldbus_message_unref

If we are returning here due to a failure to create the eldbus
message, then there is no point in trying to free it as it is already
null.

@fix

5 years agomeson: enable strict linking
Marcel Hollerbach [Tue, 23 Apr 2019 13:06:52 +0000 (09:06 -0400)]
meson: enable strict linking

Summary: with this commit you can compile efl with -Wl,-z,defs.

Reviewers: zmike

Reviewed By: zmike

Subscribers: simotek, cedric, #reviewers, #committers

Tags: #efl

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

5 years agocsharp: Fixes repeated method names.
Lauro Moura [Tue, 23 Apr 2019 10:19:09 +0000 (12:19 +0200)]
csharp: Fixes repeated method names.

Summary:
After D8397, interfaces have the I prefix again, so the "Do" prefix on
methods with repeated names may not be needed for them in most cases.

This commit also consolidates the method_managed_name calls with the
overload receiving attributes::function_def instead of plain name.

Fixes T7791

Depends on D8645

Reviewers: vitor.sousa, felipealmeida, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7791

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

5 years agomono-docs: Update DocFX blacklist
Xavi Artigas [Tue, 23 Apr 2019 10:17:11 +0000 (12:17 +0200)]
mono-docs: Update DocFX blacklist

NativeInherit sibling classes have been replaced by NativeMethods internal classes.

5 years agocsharp: refactor native_inherit into a nested class.
Lauro Moura [Tue, 23 Apr 2019 09:48:03 +0000 (11:48 +0200)]
csharp: refactor native_inherit into a nested class.

Summary:
Efl.Ui.Button_NativeInherit -> Efl.Ui.Button.NativeMethods

Will help using EFL# with completion tools.

* Added pragmas around the native function definitions to avoid
  warnings related to the name of native functions
* Updated some style fixes for native function wrappers.

Their preamble and epilogue styling will be dealt with in future diffs.

As a side effect, concrete classes had to be made public again as they
hold the function pointers to the native methods of their interfaces.
Thus a third party library class that implements IFoo should be able to
access these methods.

Fixes T7743

Depends on D8622

Reviewers: vitor.sousa, felipealmeida, segfaultxavi

Reviewed By: vitor.sousa, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7743

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

5 years agomono-docs: Use full name in page title
Xavi Artigas [Tue, 23 Apr 2019 09:07:29 +0000 (11:07 +0200)]
mono-docs: Use full name in page title

Reference page titles are now "Class Efl.Ui.Win" instead of "Class Win".
And also remove Namespace and Assembly sections.
Namespace is redundant since we use fully-qualified names everywhere.
Assembly is useless since we build the docs from the source so this entry is
always "temp.dll".

5 years agomono-docs: Use full name in list of derived classes
Xavi Artigas [Tue, 23 Apr 2019 08:51:56 +0000 (10:51 +0200)]
mono-docs: Use full name in list of derived classes

In the EFL API we have several objects with the same name in different namespaces.
Thus it is important to use fully-qualified names throughout the docs, to avoid
confusion.
However, the default DocFX templates prefer using only simple class names.
The default templates have already been modified to use full names everywhere
except in the list of derived classes in the hierarchy section, where a DocFX
bug was hit.
This commit is a workaround to that bug (see
https://github.com/dotnet/docfx/issues/3769#issuecomment-485616064 )
so full names (with links) are used in the whole hierarchy.

5 years agoelc_hoversel: fix selected event compatibility issue
Taehyub Kim [Tue, 23 Apr 2019 06:48:58 +0000 (06:48 +0000)]
elc_hoversel: fix selected event compatibility issue

Fix selected event compatibility issue.
When item of hoversel is selected,
item selected callback does not call in hoversel sample of elementary_test.

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

5 years agoecore: add an helper for Efl.Boolean_Model to get all the index with a requested...
Cedric BAIL [Wed, 3 Apr 2019 21:23:01 +0000 (14:23 -0700)]
ecore: add an helper for Efl.Boolean_Model to get all the index with a requested value.

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

5 years agocsharp: Small style changes
Lauro Moura [Mon, 22 Apr 2019 21:15:19 +0000 (18:15 -0300)]
csharp: Small style changes

Summary:
- Marshal annotations
- Parameters
- Structs
- Parts

Depends on D8614

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agocsharp: klass style changes
Lauro Moura [Mon, 22 Apr 2019 21:07:11 +0000 (18:07 -0300)]
csharp: klass style changes

Summary:
Warnings down to 120k

Depends on D8612

Reviewers: vitor.sousa, felipealmeida, segfaultxavi

Reviewed By: vitor.sousa, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_language_bindings

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

5 years agocsharp: Simple spacing rules changes
Lauro Moura [Mon, 22 Apr 2019 20:53:30 +0000 (17:53 -0300)]
csharp: Simple spacing rules changes

Summary: Also do not generated empty tag if doc would be empty.

Reviewers: vitor.sousa, segfaultxavi

Reviewed By: vitor.sousa, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoautotools: add lib/evas/common/evas_map_image_internal_high.c to dist
Mike Blumenkrantz [Mon, 22 Apr 2019 11:21:58 +0000 (07:21 -0400)]
autotools: add lib/evas/common/evas_map_image_internal_high.c to dist

Summary: ref 84e162b01f542f31bc1c6dfc0f190eb965211229

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl_build

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

5 years agoecore_wl2_input: fix a way it works when it has multiple input devices
Wonki Kim [Mon, 22 Apr 2019 11:06:58 +0000 (07:06 -0400)]
ecore_wl2_input: fix a way it works when it has multiple input devices

Summary:
if there are multiple input devices, especially touch and mouse type devices simultaneous.
a logic can't recognize the current input device in _ecore_wl2_input_mouse_move_send function.
because focus.touch would not be cleared even touch actions from user has finished.

This patch clears input->focus.touch if users release their finger from touch device.

Reviewers: raster, eagleeye, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_access: remove all legacy usage from eo files
Yeongjong Lee [Mon, 22 Apr 2019 02:00:33 +0000 (11:00 +0900)]
efl_access: remove all legacy usage from eo files

@tizen_fix

Change-Id: I6ce352eb4839d73788e67fd6e605401521e0a128

5 years agoui.table: remove leagcy evas_table from Efl.Ui.Table
Yeongjong Lee [Thu, 18 Apr 2019 08:22:44 +0000 (08:22 +0000)]
ui.table: remove leagcy evas_table from Efl.Ui.Table

Remove evas_table.
This expect to improve performance by removing internal function call related
evas_table.

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

5 years agoui.relative_layout: replace evas_object_event_callback_xxx with efl_event_callback_xxx
Yeongjong Lee [Wed, 17 Apr 2019 08:24:25 +0000 (08:24 +0000)]
ui.relative_layout: replace evas_object_event_callback_xxx with efl_event_callback_xxx

remove legacy function

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

5 years agoelementary: fix another instances of no parent for Efl.Io.Model.
Cedric BAIL [Tue, 2 Apr 2019 18:42:48 +0000 (11:42 -0700)]
elementary: fix another instances of no parent for Efl.Io.Model.

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

5 years agoelementary: fix elm_fileselector_entry model_get to be properly build with a parent...
Cedric BAIL [Tue, 2 Apr 2019 17:04:32 +0000 (10:04 -0700)]
elementary: fix elm_fileselector_entry model_get to be properly build with a parent and synchronously.

This fix the following warning:
ERR<12924>:eo ../src/lib/eo/eo.c:880 _efl_add_internal_start() Creation of 'Efl.Io.Model' object at line 443 in '../src/lib/elementary/elc_fileselector_entry.c' is done without parent. This should use efl_add_ref.

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

5 years agoelementary: add a queue to postpone object destruction when necessary.
Cedric BAIL [Tue, 2 Apr 2019 19:30:45 +0000 (12:30 -0700)]
elementary: add a queue to postpone object destruction when necessary.

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

5 years agoelementary: enforce Efl.IoModel as a base type for fileselector.
Cedric BAIL [Thu, 18 Apr 2019 23:17:05 +0000 (16:17 -0700)]
elementary: enforce Efl.IoModel as a base type for fileselector.

On the long run, we might just want to have an Efl.Model dedicated to
be used by fileselector and inherit Efl.IoModel from it. At the moment,
we don't, but I think it is still best to rely on this assumption to
make the fileselector code simpler.

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

5 years agoeio: rely on inheritance and reflection for Efl.IoModel path property.
Cedric BAIL [Thu, 18 Apr 2019 23:16:26 +0000 (16:16 -0700)]
eio: rely on inheritance and reflection for Efl.IoModel path property.

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

5 years agoecore: implement reflection for Efl.LoopModel properties.
Cedric BAIL [Thu, 18 Apr 2019 23:15:16 +0000 (16:15 -0700)]
ecore: implement reflection for Efl.LoopModel properties.

This enable relying on Eo reflection capabilities to expose Efl.Model properties.
Should make API nicer to maintain.

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

5 years agoefl_ui_spec: add tests for efl.content
Marcel Hollerbach [Wed, 17 Apr 2019 12:45:19 +0000 (14:45 +0200)]
efl_ui_spec: add tests for efl.content

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

5 years agoelm_part_helper: emit changed events when content is changed
Marcel Hollerbach [Wed, 17 Apr 2019 14:41:33 +0000 (16:41 +0200)]
elm_part_helper: emit changed events when content is changed

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

5 years agoefl_ui_win: do not error when NULL is setted as content
Marcel Hollerbach [Wed, 17 Apr 2019 16:52:31 +0000 (18:52 +0200)]
efl_ui_win: do not error when NULL is setted as content

NULL is valid, and the sub_object code does refuse to allow NULL, hence
we need this check here.

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

5 years agoefl_ui_layout: only delete and unparent objects here when alive
Marcel Hollerbach [Wed, 17 Apr 2019 16:51:32 +0000 (18:51 +0200)]
efl_ui_layout: only delete and unparent objects here when alive

something else might cause the object to get magically revived. Once the
object is invalidated, some things are able to set a parent again, which
causes the widget to continue with refcount 1 and a parent.

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

5 years agoefl_ui_panel: redo content handling
Marcel Hollerbach [Wed, 17 Apr 2019 15:43:21 +0000 (17:43 +0200)]
efl_ui_panel: redo content handling

before the events where not emitted correctly. Additionally input values
like 0x1 have been accepted as valid.

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

5 years agoevas svg: code refactoring.
Hermet Park [Fri, 19 Apr 2019 06:21:07 +0000 (15:21 +0900)]
evas svg: code refactoring.

reorder data fields to packing memory fit.

5 years agovg_common_svg : Implement gradientTransform property of linearGradient
JunsuChoi [Fri, 19 Apr 2019 06:07:11 +0000 (15:07 +0900)]
vg_common_svg : Implement gradientTransform property of linearGradient

Summary:
Svg parser gets transformation matrix information from svg.
If there is a matrix, calculate matrix operations
on the start and end points of the gradient.

TODO: We should implement gradientTransform of radialGradient.

Test Plan: N/A

Reviewers: Hermet, smohanty

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agovg_common_svg: Prevent duplicate operations for percentage value
JunsuChoi [Fri, 19 Apr 2019 04:56:48 +0000 (13:56 +0900)]
vg_common_svg: Prevent duplicate operations for percentage value

Summary:
x1, y1, x2 and y2 of Svg_Linear_Gradient structure must be a percentage value.(0 ~ 1)
but these variables are reused with efl_gfx_gradient_linear_start/end_set/get
and duplicate operations occur.

Test Plan: N/A

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelementary: ensure that the parent model is still alive when resolving future for...
Cedric BAIL [Thu, 28 Mar 2019 19:42:45 +0000 (12:42 -0700)]
elementary: ensure that the parent model is still alive when resolving future for fileselector.

This future where relying on the parent model being alive to work (efl_parent_get). For
that reason we should have been using efl_future_then with the parent Model as a measure
to make sure this is always the case.

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

5 years agoecore: move property string definition to shared headers for Efl.Composite_Model.
Cedric BAIL [Thu, 4 Apr 2019 00:24:22 +0000 (17:24 -0700)]
ecore: move property string definition to shared headers for Efl.Composite_Model.

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8568

5 years agoEvil tests: remove tests of functions provided by mingw-w64
Vincent Torri [Thu, 18 Apr 2019 18:48:12 +0000 (14:48 -0400)]
Evil tests: remove tests of functions provided by mingw-w64

Summary: mingw-w64 developpers already tests basename and dirname

Test Plan: compilation

Reviewers: zmike, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian: remove legacy generation from tests
Daniel Kolesa [Thu, 18 Apr 2019 17:35:36 +0000 (19:35 +0200)]
eolian: remove legacy generation from tests

5 years agoci: disable mingw build temporarily
Mike Blumenkrantz [Thu, 18 Apr 2019 16:35:52 +0000 (12:35 -0400)]
ci: disable mingw build temporarily

Summary: this cannot succeed until the docker image is rebuilt

Reviewers: lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agomeson: unbreak cxx header installation
Marcel Hollerbach [Thu, 18 Apr 2019 13:31:57 +0000 (09:31 -0400)]
meson: unbreak cxx header installation

Summary:
before we had *correct* fileds in the subdir: keyword. However,
install_dir: was wrong, so *this* time, this seems right.

Reviewers: cedric, zmike, segfaultxavi, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoWindows: remove fnmatch and regex in Evil and use the ones in regex DLL installed...
Vincent Torri [Thu, 18 Apr 2019 13:31:51 +0000 (09:31 -0400)]
Windows: remove fnmatch and regex in Evil and use the ones in regex DLL installed by ewpi

Test Plan: compilation with autotools and meson (at least as far as it can go)

Reviewers: zmike, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoecore_sdl: fix detection of sdl with meson build
Vincent Torri [Thu, 18 Apr 2019 13:29:31 +0000 (09:29 -0400)]
ecore_sdl: fix detection of sdl with meson build

Summary: SDL 2.* pkconfig file is sdl2, not sdl

Test Plan: meson configuration

Reviewers: zmike, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian_gen: remove support for legacy header file generation
Daniel Kolesa [Thu, 18 Apr 2019 16:10:45 +0000 (18:10 +0200)]
eolian_gen: remove support for legacy header file generation

5 years agoautotools: remove usage of eolian_gen .eo.legacy.h generation
Daniel Kolesa [Thu, 18 Apr 2019 15:55:06 +0000 (17:55 +0200)]
autotools: remove usage of eolian_gen .eo.legacy.h generation

5 years agomeson: remove usage of eolian_gen .eo.legacy.h generation
Daniel Kolesa [Thu, 18 Apr 2019 15:50:42 +0000 (17:50 +0200)]
meson: remove usage of eolian_gen .eo.legacy.h generation

5 years agoelm_scroller_legacy: remove generated legacy include
Daniel Kolesa [Thu, 18 Apr 2019 15:08:47 +0000 (17:08 +0200)]
elm_scroller_legacy: remove generated legacy include

Instead replace with the type definitions in this place. It is
not included from anywhere else, so it's fine.

5 years agotests: add api coverage for evas image
Mike Blumenkrantz [Tue, 16 Apr 2019 12:34:09 +0000 (08:34 -0400)]
tests: add api coverage for evas image

verify that legacy apis function as expected when using legacy api to
load and unload images

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

5 years agoevas: implement Efl.File.unload for evas image classes
Mike Blumenkrantz [Thu, 18 Apr 2019 13:05:31 +0000 (09:05 -0400)]
evas: implement Efl.File.unload for evas image classes

this fixes unloading images using the evas_object_image_file_set legacy
api

ref D8616

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

5 years agoevas_legacy: remove unused generated legacy includes
Daniel Kolesa [Thu, 18 Apr 2019 13:45:44 +0000 (15:45 +0200)]
evas_legacy: remove unused generated legacy includes

These define types never used in Evas_Legacy.h.

5 years agoefl_ui_layout, elm_layout_legacy: add missing/remove unused include
Daniel Kolesa [Thu, 18 Apr 2019 13:31:55 +0000 (15:31 +0200)]
efl_ui_layout, elm_layout_legacy: add missing/remove unused include

The efl_ui_layout.eo.h header was incorrectly not included in
Elementary.h, which resulted in build failures after the legacy
and otherwise unused efl_ui_layout.eo.legacy.h include was removed.

5 years agoelm_progressbar_legacy: remove unused include
Daniel Kolesa [Thu, 18 Apr 2019 13:28:59 +0000 (15:28 +0200)]
elm_progressbar_legacy: remove unused include

This does not define anything useful.

5 years agoefl_ui_slider: remove unused legacy header include
Daniel Kolesa [Thu, 18 Apr 2019 13:27:50 +0000 (15:27 +0200)]
efl_ui_slider: remove unused legacy header include

This does not define anything useful.

5 years agoelm_image_legacy: remove bad "legacy" include
Daniel Kolesa [Thu, 18 Apr 2019 13:24:58 +0000 (15:24 +0200)]
elm_image_legacy: remove bad "legacy" include

This only contains some Efl_ structures and typedefs now, hidden
behind a BETA_API define. It has no place in legacy.

5 years agoecore-drm2: Fix API function parameters for background color set
Christopher Michael [Thu, 18 Apr 2019 13:10:49 +0000 (09:10 -0400)]
ecore-drm2: Fix API function parameters for background color set

Passing int as parameters here is too small for left shifting the
colors so make these parameters uint64_t

5 years agoecore-drm2: Update printf format to match changed value type
Christopher Michael [Thu, 18 Apr 2019 13:07:17 +0000 (09:07 -0400)]
ecore-drm2: Update printf format to match changed value type

Commit 8e0c4d83edd changed the atomic property value type to be
uint64_t so we need to update the printf's to reflect that

5 years agoecore-drm2: Add API function to set crtc background color
Christopher Michael [Mon, 1 Apr 2019 14:28:40 +0000 (10:28 -0400)]
ecore-drm2: Add API function to set crtc background color

This patch adds a new API function we can be called in order to set
the crtc background color of a given output.

@feature

5 years agoecore-drm2: Fill in crtc background color (if supported) during atomic
Christopher Michael [Mon, 1 Apr 2019 12:41:38 +0000 (08:41 -0400)]
ecore-drm2: Fill in crtc background color (if supported) during atomic
commits

Small patch to add the crtc background_color property (if supported)
to any atomic tests/commits

@feature

5 years agoecore-drm2: Add background_color to crtc atomic properties
Christopher Michael [Mon, 1 Apr 2019 12:40:14 +0000 (08:40 -0400)]
ecore-drm2: Add background_color to crtc atomic properties

This patch adds a new field to the crtc atomic state which will be
used to support crtc background_color property, and also fills in that
state during crtc atomic state fill.

@feature

5 years agoecore-drm2: Make atomic property values support uint64_t
Christopher Michael [Mon, 1 Apr 2019 12:13:32 +0000 (08:13 -0400)]
ecore-drm2: Make atomic property values support uint64_t

Some Atomic property values are actually uint64_t, so fix the
structure to reflect that.

@fix

5 years agoevas gl: move to floating point coordinate system.
Hermet Park [Thu, 18 Apr 2019 11:08:16 +0000 (20:08 +0900)]
evas gl: move to floating point coordinate system.

Summary:
GL engine has used integer coordinates system since it's born though
OpenGL basically uses floating point vertex coordinates system.

There were many dissatisfaction, complaints about this
since object's transition is jiggled, not perfectly smooth.

It's obvious because Positioning must be stepping with integer units
without any subpixel rendering.

Our gl engine currently supports msaa options and evas map allows to
have double precivion coordinates system, our engine must do handle this over as well,
to work together.

If you don't like change,

We could switch behaviors optionally (turn on, only when msaa is enabled)
But I think it's pointless using integer coordinates system in GL thesedays.
It just make code complex to maintain.

There will be an additional patch coming for SW backend map behavior soon.

Left: before patch
Right: after patch

{F3694624}

Reviewers: #committers, raster

Reviewed By: #committers, raster

Subscribers: raster, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Icd0d0abc8805b1654c99e2e2171ba45a7a2e98d8

5 years agoevas map: move to floating point coordinate system in high-quality drawing.
Hermet Park [Thu, 18 Apr 2019 10:30:33 +0000 (19:30 +0900)]
evas map: move to floating point coordinate system in high-quality drawing.

evas map has used integer coodinate system since it's born,

since object's transition is jiggled, not perfectly smooth.

It's obvious because Positioning must be stepping with integer units
without any subpixel rendering.

Currently, this patch is a sort of preparatory to improve this,
only valid for high-quality evas map (smooth + anti-aliasing)

5 years agoeina vpath - fix windows warning as simply as possible
Carsten Haitzler (Rasterman) [Thu, 18 Apr 2019 10:33:10 +0000 (11:33 +0100)]
eina vpath - fix windows warning as simply as possible

the warning is wrong - so keep things simple

5 years agocanvas map: remove the workaround code.
Hermet Park [Thu, 18 Apr 2019 10:21:18 +0000 (19:21 +0900)]
canvas map: remove the workaround code.

Summary:
the perspective could be handled in the gl backend,
Here map coordinates don't need to get perspective ones but
local coordinates instead as it does same to integer coordinates.

I have no idea origin issues exactly,
but this changed fx, fy values are working correctly in client side.

Reviewers: devilhorns, #committers

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoevas common: small optimization.
Hermet Park [Thu, 18 Apr 2019 09:51:16 +0000 (18:51 +0900)]
evas common: small optimization.

don't repeat computing every iteration.

5 years agoRevert "tests: add api coverage for evas image"
Marcel Hollerbach [Thu, 18 Apr 2019 07:50:43 +0000 (09:50 +0200)]
Revert "tests: add api coverage for evas image"

This reverts commit cf70826b33a6840f884c090e911f501c758931a7.

This test cannot work right now because the fix has not landed.

5 years agodocs: Clarify Efl.Content behavior
Xavi Artigas [Wed, 17 Apr 2019 15:02:12 +0000 (15:02 +0000)]
docs: Clarify Efl.Content behavior

Now we need to make sure implementations actually follow this behavior.

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

5 years agoefl/elm_scroller: apply color_set correctly
Yeongjong Lee [Wed, 17 Apr 2019 08:15:15 +0000 (08:15 +0000)]
efl/elm_scroller: apply color_set correctly

hit_rect/event_rect should ignore color_set.

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

5 years agoui.widget: remove elm_widget_sub_object_parent_add from each of widgets
Yeongjong Lee [Fri, 12 Apr 2019 05:38:00 +0000 (05:38 +0000)]
ui.widget: remove elm_widget_sub_object_parent_add from each of widgets

since commit a1addad60e, To add myself as a sub object of parent object will be
done in Efl.Ui.Widget constructor.

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

5 years agoFreeing Global Memory list on destructor
Ali Alzyod [Tue, 9 Apr 2019 15:17:13 +0000 (15:17 +0000)]
Freeing Global Memory list on destructor

Issue with global list item, used to same styles. (in destructor we do not remove styles from it, which will cause memory leak)

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

5 years agoevas map: shut up annoying compile warnings.
Hermet Park [Thu, 18 Apr 2019 06:08:35 +0000 (15:08 +0900)]
evas map: shut up annoying compile warnings.

These variables must be logically initialized,
but compiler couldn't catch it, prints warnings.

5 years agotests: add api coverage for evas image
Mike Blumenkrantz [Thu, 18 Apr 2019 00:59:58 +0000 (09:59 +0900)]
tests: add api coverage for evas image

Summary:
verify that legacy apis function as expected when using legacy api to
load and unload images
Depends on D8618

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoecore_win32: use AddClipboardFormatListener and RemoveClipboardFormatListener explicitely
Vincent Torri [Wed, 17 Apr 2019 21:31:21 +0000 (17:31 -0400)]
ecore_win32: use AddClipboardFormatListener and RemoveClipboardFormatListener explicitely
instead of loading them from user32.dll

Summary: current mingw-w64 declare these functions

Test Plan: compilation

Reviewers: zmike, raster, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoecore_win32: remove explicit define of WM_CLIPBOARDUPDATE
Vincent Torri [Wed, 17 Apr 2019 19:45:50 +0000 (15:45 -0400)]
ecore_win32: remove explicit define of WM_CLIPBOARDUPDATE

Summary: since ewpi is used, a newer mingw-w64 is used, which defines WM_CLIPBOARDUPDATE

Test Plan: compilation

Reviewers: raster, zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agobuild: use only BUILD_ECORE_IMF_XIM as a define
Mike Blumenkrantz [Wed, 17 Apr 2019 19:45:35 +0000 (15:45 -0400)]
build: use only BUILD_ECORE_IMF_XIM as a define

Summary:
meson and autotools were a bit out of sync with this, resulting in
unexpected behavior

Reviewers: billiob

Reviewed By: billiob

Subscribers: billiob, cedric, #reviewers, #committers

Tags: #efl

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