platform/upstream/efl.git
5 years agoefl_ui_pager: implement unpack_at function
Jaeun Choi [Thu, 28 Mar 2019 10:26:01 +0000 (19:26 +0900)]
efl_ui_pager: implement unpack_at function

5 years agoefl_ui_pager: refactor unpack function
Jaeun Choi [Thu, 28 Mar 2019 10:21:21 +0000 (19:21 +0900)]
efl_ui_pager: refactor unpack function

5 years agoefl_ui_pager: add a missing condition
Jaeun Choi [Fri, 22 Mar 2019 08:51:17 +0000 (17:51 +0900)]
efl_ui_pager: add a missing condition

5 years agoefl_ui_pager: fix pack function
Jaeun Choi [Fri, 22 Mar 2019 02:30:34 +0000 (11:30 +0900)]
efl_ui_pager: fix pack function

5 years agoelm_priv.h: remove unnecesary line
Jaeun Choi [Tue, 19 Mar 2019 05:32:18 +0000 (14:32 +0900)]
elm_priv.h: remove unnecesary line

5 years agoefl_ui_pager: disable loop if items are not enough after unpacking
Jaeun Choi [Tue, 19 Feb 2019 09:44:26 +0000 (18:44 +0900)]
efl_ui_pager: disable loop if items are not enough after unpacking

5 years agomono-docs: Minor ammendments to Eina.Value
Xavi Artigas [Fri, 29 Mar 2019 08:51:56 +0000 (09:51 +0100)]
mono-docs: Minor ammendments to Eina.Value

5 years agoefl_ui_widget: reintroduce legacy behaviour
Marcel Hollerbach [Sun, 24 Mar 2019 17:58:50 +0000 (18:58 +0100)]
efl_ui_widget: reintroduce legacy behaviour

before the refactoring of the disabled property, there was no way to
enable a widget which has a disabled tree. This here however enables
this to work again like this. The user will be told with an error
message. The integraty of the property is maintained accross reparents.

Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8459

5 years agoefl_ui_widget: add tests for parent and disalbed property
Marcel Hollerbach [Sun, 24 Mar 2019 17:22:15 +0000 (18:22 +0100)]
efl_ui_widget: add tests for parent and disalbed property

this just adds more coverage over the behaviour of efl_ui_widget
properties.

Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8458

5 years agoefl_ui_test_widget: ensures tests do not error
Marcel Hollerbach [Sun, 24 Mar 2019 17:22:03 +0000 (18:22 +0100)]
efl_ui_test_widget: ensures tests do not error

Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8457

5 years agoRevert "evas gl engines - avoid getting context if possible"
Carsten Haitzler (Rasterman) [Fri, 29 Mar 2019 00:16:22 +0000 (00:16 +0000)]
Revert "evas gl engines - avoid getting context if possible"

This reverts commit e7771438a25382a2e4fabe33753456dcde8cab40.

This should fix T7764

zmike - you're right. thanks for narrowing down the commit... revert
time.

5 years agoremove the definition of HAVE_WASAPI as it is never used
Vincent Torri [Thu, 28 Mar 2019 13:23:20 +0000 (09:23 -0400)]
remove the definition of HAVE_WASAPI as it is never used

Summary: HAVE_WASAPI is never used

Test Plan: compilation

Reviewers: zmike, cedric, raster

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_alert_popup: add new feature for applying side button style of alert popup
Taehyub Kim [Thu, 28 Mar 2019 09:48:03 +0000 (18:48 +0900)]
efl_ui_alert_popup: add new feature for applying side button style of alert popup

Summary: This feature will apply side button style for each left and right button of alert popup

Reviewers: Jaehyun_Cho, cedric

Reviewed By: Jaehyun_Cho

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoelm_entry: CRI if efl_file methods are called directly on this object
Mike Blumenkrantz [Wed, 27 Mar 2019 15:25:28 +0000 (11:25 -0400)]
elm_entry: CRI if efl_file methods are called directly on this object

eo methods should not be called on legacy objects

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

5 years agodocs: Document event info calling convention
Xavi Artigas [Wed, 27 Mar 2019 15:10:57 +0000 (15:10 +0000)]
docs: Document event info calling convention

Both at the emitter (efl_event_callback_call) and the receiver
(info field in the Efl.Event structure).
The Events tutorial should repeat this.
Fixes T7760

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

5 years agoefl_ui_slider: block scrolling when on slider
Marcel Hollerbach [Sun, 24 Mar 2019 12:24:47 +0000 (13:24 +0100)]
efl_ui_slider: block scrolling when on slider

when a mouse cursor is over a slider, the mouse wheel should be used to
affect the state of the slider, not also the one of the slider.

ref T2529

Reviewed-by: Bowon Ryu <bowon.ryu@samsung.com>
Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8455

5 years agoelementary: remove some asynchronous behavior from the fileselector.
Cedric BAIL [Wed, 27 Mar 2019 22:19:32 +0000 (15:19 -0700)]
elementary: remove some asynchronous behavior from the fileselector.

Marcel notted that when using the LIST view of the fileselector on a
big directory, we end up having to wait for the entire genlist to be
populated to be able to switch to another directory. This is actually
a side effect of the populate code being triggered through an idler.
This idler was useful when the list was populated directly, but now
that we rely on Efl.Io.Model, we should be asynchronous enough that
it shouldn't be a problem to actually not be asynchronous here. By
removing the reliance on the idler, we are not queued after all the
idler and can properly short circuit all of that.

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

5 years agoelementary: restore quick exit from wait loop in fileselector test.
Cedric BAIL [Wed, 27 Mar 2019 21:24:57 +0000 (14:24 -0700)]
elementary: restore quick exit from wait loop in fileselector test.

The test was not expecting both callback to be set when the wait loop
was started. By moving them around, it fixes the test case to only have
one relevant callback set at a time.

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

5 years agoelc_filselector: solve the mysterium of sometimes failing tests
Marcel Hollerbach [Wed, 27 Mar 2019 20:15:53 +0000 (21:15 +0100)]
elc_filselector: solve the mysterium of sometimes failing tests

so after a phone call, two days of debugging, tears, crying etc. etc. we
finally came to a point of enlightenment! *Someone* (bu5hm4n) moved
gengrid and genlist events from eo back to smart events, so we can work
arround legacy borks and event-name collisions, at this point he did not
knew that some widgets (fileselector) already relied on those *lovely*
events. Hence this broke theoretically the testsuite, however, the
fileselector testsuite is ultimatily buggy, and the wait function does
not return false when it timeouts, (i don't know why not). So this break
was never discovered.

Additionally there is a second issue. it appears, that when we
immidiatly quit the mainloop after we have got the selected callback,
that then genlist decides to forget about the sd->selected pointer, and
NULLs that one out. Which then results in the fact that
elm_fileselector_selected_get ends up returning invalid paths.

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

5 years agoelementary: make sure that the model parent being used is always the fileselector.
Cedric BAIL [Fri, 22 Mar 2019 18:20:51 +0000 (11:20 -0700)]
elementary: make sure that the model parent being used is always the fileselector.

Model provided by an item selection would have there parent being the current
model of the fileselector. Once that one is replaced by the item model, it would
automatically invalidate the model and break any further request. This lead to
a bug where you could only get into one directory before everything else
being empty.

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

5 years agoelementary: prevent asynchronous properties change to believe target is ready when...
Cedric BAIL [Fri, 22 Mar 2019 17:31:52 +0000 (10:31 -0700)]
elementary: prevent asynchronous properties change to believe target is ready when it is not in fileselector.

In some case, the properties changed event would be triggered first on the object model
instead of the target model. This now enforce that the target will be the first model
to handle and react on the information.

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

5 years agoelementary: fix fileselector entry support to define path manually.
Cedric BAIL [Thu, 21 Mar 2019 22:04:46 +0000 (15:04 -0700)]
elementary: fix fileselector entry support to define path manually.

There was no need in the first place to do all this asynchronous work here.
It is more robust to do it in sync.

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

5 years agoeio: work around the lack of integration between Ecore_Thread and Eina_Future.
Cedric BAIL [Fri, 15 Mar 2019 21:38:24 +0000 (14:38 -0700)]
eio: work around the lack of integration between Ecore_Thread and Eina_Future.

Ecore_Thread excpect resolution of the error and done case to be instantaneous,
while Eina_Future default scheduler linked with Ecore main loop is build around
asynchronous answer. This create a lot of potential. A better patch would be
to provide an Ecore_Thread helper that does the integration properly. Sadly
we are in release now, so this is basically what an helper would do, but
contained inside Efl_Io_Manager.

This also solve the same problem as D7970 and D8053, but it should avoid its
side effect.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8371

5 years agoeio: add test to ensure proper lifecycle of Efl_Io object and futures.
Yeongjong Lee [Fri, 15 Mar 2019 21:51:54 +0000 (14:51 -0700)]
eio: add test to ensure proper lifecycle of Efl_Io object and futures.

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

5 years agoeio: Efl.Io.Model should not make request when the object is invalidating itself.
Cedric BAIL [Fri, 15 Mar 2019 22:54:26 +0000 (15:54 -0700)]
eio: Efl.Io.Model should not make request when the object is invalidating itself.

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

5 years agoeio: remove unecessary use of weak reference.
Cedric BAIL [Fri, 15 Mar 2019 23:55:07 +0000 (16:55 -0700)]
eio: remove unecessary use of weak reference.

There is no point in keeping a pointer to the main loop now that we
are using efl_future_then. This resolve potential bug with leftover
dangling weak reference as efl_future_then do require a free case
otherwise.

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

5 years agoelementary: destroy fileselector children when they are not itemized yet.
Cedric BAIL [Fri, 15 Mar 2019 23:56:33 +0000 (16:56 -0700)]
elementary: destroy fileselector children when they are not itemized yet.

As we now do everything asynchronously, we do have model representing child
of the main model that don't provide enough information to be displayed yet.
This are not tracked by a genlist item, nor are they a child of the
fileselector. To properly handle their lifecycle, it is necessary to unref
them manually explicitely.

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

5 years agoeio: guarantee that we will at least process one request per loop iteration for very...
Cedric BAIL [Thu, 21 Mar 2019 20:33:30 +0000 (13:33 -0700)]
eio: guarantee that we will at least process one request per loop iteration for very slow system.

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

5 years agoelementary: improve lifecycle of model object in the fileselector widget.
Cedric BAIL [Wed, 13 Mar 2019 21:54:39 +0000 (14:54 -0700)]
elementary: improve lifecycle of model object in the fileselector widget.

This is a minimal change and it would be best to refactor the code completely
using all the infrastructure we have now instead of the organically grown code,
but I am afraid of doing such a big change at this point of our release cycle.

Part of the improvement are use of efl_replace to make sure Eo object reference
are set to NULL once reference are dropped. Handling the case when a processed
child is actually pointing to an error. Also it is not supported by model to
get their parent stolen, so this has been fixed too. Finally setting the path
asynchronously was creating more trouble than needed, when it could be done in
a synchronous way.

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

5 years agoeo: refactor auto_unref logic used by efl_part.
Cedric BAIL [Thu, 14 Mar 2019 21:14:53 +0000 (14:14 -0700)]
eo: refactor auto_unref logic used by efl_part.

This bring no functional change to Eo and efl_part.

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

5 years agoeo: enforce auto_unref logic at the end of efl_unref execution.
Cedric BAIL [Thu, 14 Mar 2019 21:15:28 +0000 (14:15 -0700)]
eo: enforce auto_unref logic at the end of efl_unref execution.

This allow for the safe use of efl_ref/efl_unref around an efl_part
without calling any function on that part.

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

5 years agoRevert "efl_ui_layout: call efl_del instead of efl_unref when text part does not...
Cedric BAIL [Wed, 20 Mar 2019 17:55:29 +0000 (10:55 -0700)]
Revert "efl_ui_layout: call efl_del instead of efl_unref when text part does not exist"

This reverts commit cced5487c83c8f75e2ca40969f5749d5e6570228.

This patch was pushed just to silence warning without fixing the problem and doing
something that was incorrect (coupling an efl_del with an efl_ref).

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

5 years agoelementary: only apply text when the object is not invalidated and dying.
Cedric BAIL [Thu, 14 Mar 2019 21:16:50 +0000 (14:16 -0700)]
elementary: only apply text when the object is not invalidated and dying.

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

5 years agoelementary: split the smart callback event name from the Eo name when needed.
Cedric BAIL [Wed, 13 Mar 2019 17:39:49 +0000 (10:39 -0700)]
elementary: split the smart callback event name from the Eo name when needed.

This fix the borkage of the "selected" smart event not being triggered.

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

5 years agoeina: prevent double cancel of ongoing dispatched future.
Cedric BAIL [Wed, 13 Mar 2019 21:49:50 +0000 (14:49 -0700)]
eina: prevent double cancel of ongoing dispatched future.

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

5 years agoeio: rely on efl_future_then to properly protect Eo object during the lifecycle of...
Cedric BAIL [Wed, 13 Mar 2019 21:50:48 +0000 (14:50 -0700)]
eio: rely on efl_future_then to properly protect Eo object during the lifecycle of the future callback.

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

5 years agoeio: path and filename property should always remind accessible even in case of error.
Cedric BAIL [Wed, 13 Mar 2019 21:51:20 +0000 (14:51 -0700)]
eio: path and filename property should always remind accessible even in case of error.

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

5 years agobuild: add autotools for elm config embedding
Mike Blumenkrantz [Wed, 27 Mar 2019 21:23:19 +0000 (17:23 -0400)]
build: add autotools for elm config embedding

Summary: Depends on D8481

Reviewers: bu5hm4n, devilhorns

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl_build

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

5 years agoelementary: embed standard config as fallback
Marcel Hollerbach [Wed, 27 Mar 2019 21:23:13 +0000 (17:23 -0400)]
elementary: embed standard config as fallback

Summary:
as you can see in T7620, there is quite some critics about how we are
handling configs in elm. This patch enables the compile-time standard
config to be used instead of some weak-wrong-usage hardcoded structure
defines somewhere in elm.

This means, that every update to the default theme will be also in the
next build embedded, without any config files installed at all, the
standard config for desktops will work, and a error will be printed, so
the user does have the possibility to interact with elm as he wishes,
while he sees this error.

fixes T7620

Reviewers: zmike, cedric, segfaultxavi, devilhorns

Reviewed By: zmike

Subscribers: devilhorns, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7620

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

5 years agobuild: fix meson vnc-server option text
Mike Blumenkrantz [Wed, 27 Mar 2019 18:34:48 +0000 (14:34 -0400)]
build: fix meson vnc-server option text

Summary: thx @vtorri for reporting

Reviewers: devilhorns, vtorri

Reviewed By: vtorri

Subscribers: cedric, #reviewers, vtorri, #committers

Tags: #efl_build

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

5 years agobuild: fix meson pixman dependency name
Mike Blumenkrantz [Wed, 27 Mar 2019 18:34:43 +0000 (14:34 -0400)]
build: fix meson pixman dependency name

Summary: thx @vtorri for reporting

Reviewers: devilhorns, vtorri

Reviewed By: vtorri

Subscribers: cedric, #reviewers, vtorri, #committers

Tags: #efl_build

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

5 years agoeina benchmark: fix warnings on Windows 64 bits
Vincent Torri [Wed, 27 Mar 2019 14:59:31 +0000 (10:59 -0400)]
eina benchmark: fix warnings on Windows 64 bits

Summary: long is always a 32 bits type on Windows

Test Plan: compilation

Reviewers: raster, zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agotest: add a test case for elm_entry
Wonki Kim [Wed, 27 Mar 2019 14:18:41 +0000 (10:18 -0400)]
test: add a test case for elm_entry

Summary:
behaviors of elm_entry has been changed
so that this patch provides usages to keep as a test case.

Reviewers: zmike, Hermet, YOhoho

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoentry: move a point to do 'auto_save' to another place
Wonki Kim [Wed, 27 Mar 2019 14:18:33 +0000 (10:18 -0400)]
entry: move a point to do 'auto_save' to another place

Summary:
By reworking on efl_file, logic flow for entry has been changed.
and it causes autosave making a file that is passed to elm_entry_file_set empty.

Test Plan:
1. call elm_entry_file_set for a file.
2. check the file is not empty after calling the function.

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Icb8202fb9cf55401c26c628358fa39e2947b2f7b

5 years agoevas_render: Process deferred callback in the sync render case.
Woochanlee [Wed, 27 Mar 2019 04:11:15 +0000 (13:11 +0900)]
evas_render: Process deferred callback in the sync render case.

Summary:
The EVAS_CALLBACK_RENDER_POST callback has been deferred when the callback is registered during the render(inside_post_render flag on).

In the sync render case, the logic to call deferred callbacks is missing, and callbacks are not being called in certain cases.

@fix

Reviewers: ManMower, Hermet

Reviewed By: Hermet

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl.spec : add --enable-install-eo-files option
Yeongjong Lee [Wed, 27 Mar 2019 07:37:03 +0000 (16:37 +0900)]
efl.spec : add --enable-install-eo-files option

Becuase tizen use eo beta apis, it is needed to install eo files.

Change-Id: Ie6729733ae3fe96e0a4542775dfe6c9266c9222a

5 years agoElementary : fix migration build errors
Yeongjong Lee [Wed, 27 Mar 2019 07:35:58 +0000 (16:35 +0900)]
Elementary : fix migration build errors

@tizen_fix

Change-Id: Iad251f98ec2706deb69262ef721d526b9fcbe4b1

5 years agomigration: remove beta tags.
Yeongjong Lee [Wed, 27 Mar 2019 07:33:56 +0000 (16:33 +0900)]
migration: remove beta tags.

It will fix build error

@tizen_fix

Change-Id: I87a3905bd0f81af5f6182f8f96f29a71679169d3

5 years agoeolian_csharp: hide struct native representation inside the managed struct
Vitor Sousa [Mon, 25 Mar 2019 20:14:32 +0000 (17:14 -0300)]
eolian_csharp: hide struct native representation inside the managed struct

Summary:
Rework the struct binding generator to declare the native struct nested inside
the managed one.
This way native structs are less likely to cause confusion; for example
with an IDE that supports automatic completion.

Get rid of struct conversion class methods in favor of using (the already
generated) implicit conversion operators.

Depends on D8469

Reviewers: segfaultxavi, lauromoura, felipealmeida

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian_csharp: make struct generator use indentation level from context
Vitor Sousa [Fri, 22 Mar 2019 21:47:27 +0000 (18:47 -0300)]
eolian_csharp: make struct generator use indentation level from context

Summary:
Make the struct generator (the first one to) extract indentation information
from the context, an effort for a future overall consistency in white space
generation.

Depends on D8468

Reviewers: lauromoura, segfaultxavi, felipealmeida

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian_csharp: add indentation context
Vitor Sousa [Fri, 22 Mar 2019 21:37:50 +0000 (18:37 -0300)]
eolian_csharp: add indentation context

Summary:
Also, use new context class for cleaner constructs.

Also, make functions receive context objects by reference to avoid
unnecessary object copies (since context objects are bigger now).

This commit contains preparation structures for a future overhaul of
white space generation.

Depends on D8467

Test Plan: ninja test

Reviewers: felipealmeida, lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian_cxx: rework context code, also more flexible scope indentation generator
Vitor Sousa [Fri, 22 Mar 2019 21:34:29 +0000 (18:34 -0300)]
eolian_cxx: rework context code, also more flexible scope indentation generator

Summary:
Context management classes now store constant copies of the tags they
are supposed to hold. So, they are immutable objects now.
Functions that manipulate context create new object copies as needed.
`constexpr` was added for class constructor and functions.

Indentation generator now used four space by default.
Also, the amount of desired spaces can now be specified at call site.

Added helper methods to return 'indented' and 'unindented' version of a
given indentation generator object.

Test Plan: ninja test

Reviewers: felipealmeida, lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl-csharp: Remove spaces from type strings in generator.
Lauro Moura [Tue, 26 Mar 2019 17:45:18 +0000 (14:45 -0300)]
efl-csharp: Remove spaces from type strings in generator.

Summary:
Previously, the type_impl and marshall_type_impl generators relied on a
type mismatch in the match table to fallback to the else branch in the
match check to actually print the type string. This was achieved by
adding the " " prefix to the type.

This commit changes this behavior to invoke a proper visitor just to
print and makes both generators return trimmed type strings.

This will help conforming to the C# coding conventions.

Test Plan: run test suite

Reviewers: felipealmeida, vitor.sousa

Reviewed By: felipealmeida, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelementary: fix ATSPI reflection API warning.
Cedric BAIL [Tue, 26 Mar 2019 16:05:40 +0000 (12:05 -0400)]
elementary: fix ATSPI reflection API warning.

Summary: Depends on D8451

Reviewers: zmike, bu5hm4n, stefan_schmidt, devilhorns

Reviewed By: devilhorns

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoeina: always initialize i.
Cedric BAIL [Tue, 26 Mar 2019 16:05:02 +0000 (12:05 -0400)]
eina: always initialize i.

Reviewers: zmike, bu5hm4n, stefan_schmidt, devilhorns

Reviewed By: devilhorns

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoevil : remove mkstemp, which is already defined in mingw-w64
Vincent Torri [Tue, 26 Mar 2019 14:10:54 +0000 (10:10 -0400)]
evil : remove mkstemp, which is already defined in mingw-w64

Summary: mkstemp is already defined in mingw-w64

Test Plan: compilation

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoevas_3d: stop just segfaulting straight away
Marcel Hollerbach [Tue, 26 Mar 2019 14:09:42 +0000 (10:09 -0400)]
evas_3d: stop just segfaulting straight away

Summary:
there have been wrong function calls, that did not work at all, since
the function pointer had the wrong type. This fixes the segfaulting
examples of evas3d. However, they still do not render, at least, they
don't crash anymore.

Depends on D8381

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_tab_pager: fixed issue where tab_pager does not work
Bowon Ryu [Tue, 26 Mar 2019 05:20:27 +0000 (14:20 +0900)]
efl_ui_tab_pager: fixed issue where tab_pager does not work

Summary:
I fixed the tab_pager behavior problem caused by changing efl interface.
and I have also fixed some sample code errors.
 - using efl_file_load for efl_file_set
 - using efl_del for unpacked tab_page
 - disable unimplemented features

Test Plan: elementary_test -to efl.ui.tab_pager

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agotests: add function to do "real" timers
Mike Blumenkrantz [Thu, 21 Mar 2019 17:24:47 +0000 (13:24 -0400)]
tests: add function to do "real" timers

in very specific cases it's necessary to match the exact timing of
internal functionality, so add a function to provide that capability

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

5 years agotests: make elm_win visible during tests
Mike Blumenkrantz [Thu, 21 Mar 2019 17:08:56 +0000 (13:08 -0400)]
tests: make elm_win visible during tests

elm_win has some internal locking to avoid doing sizing and visibility
changes until pre-render to save some calculations. this makes triggering
ui events on objects impossible, as they will not be visible.

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

5 years agomeson build : remove duplicate check of dirent.h
Vincent Torri [Mon, 25 Mar 2019 14:10:47 +0000 (10:10 -0400)]
meson build : remove duplicate check of dirent.h

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agomeson build : remove duplicate check of strerror_r
Vincent Torri [Mon, 25 Mar 2019 14:10:37 +0000 (10:10 -0400)]
meson build : remove duplicate check of strerror_r

Summary: strerror_r is checked twice in headers_check

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelm_entry: fix a bug in moving the magnifier
WooHyun Jung [Mon, 25 Mar 2019 12:52:10 +0000 (08:52 -0400)]
elm_entry: fix a bug in moving the magnifier

Summary:
When moving the magnifier in elm_entry, _magnifier_move
function occured infinite loop problem by calling
evas_object_move twice with different positions.
So, I changed it to call evas_object_move once.

ref T7202

Test Plan:
1. Set profile to "mobile"
2. elementary_test
3. entry
4. long press mouse button on elm_entry
5. when the magnifier is shown, try to move it

Reviewers: zmike, bu5hm4n, bowonryu, id213sin

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7202

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

5 years agoefl_ui_image: remove job in sizing calc.
Hermet Park [Mon, 25 Mar 2019 10:46:24 +0000 (19:46 +0900)]
efl_ui_image: remove job in sizing calc.

Originally, this job task was introduced for trick optimization to avoid
unnecessary duplicated compuation.

But this introduced a regression bug as well, image geometry updation was
delayed by this.

So, we remove the job here.

@fix T7360

Change-Id: I6a11744777186b486e81b87ea5293fa564c732ed

5 years agoefl_mono: remove unnecessary external function import
Jaehyun Cho [Mon, 25 Mar 2019 09:58:03 +0000 (18:58 +0900)]
efl_mono: remove unnecessary external function import

ecore_init, ecore_shutdown, elm_init, elm_policy_set, elm_shutdown,
elm_exit are imported in efl_all.cs.
Moreover, efl_csharp_application.cs is using Efl.UnsafeNativeMethods.
Therefore, the unnecessary external function import is removed in
efl_all.cs.

5 years agoefl_ui_container_layout: use correct property
Yeongjong Lee [Mon, 25 Mar 2019 09:56:41 +0000 (09:56 +0000)]
efl_ui_container_layout: use correct property

The `if` condition check whether horizontal, vertical aspect are greater than 0.
`aspect` is correct here.

this patch fixes T7756

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

5 years agoelm_gengrid: speed up update order calls
Marcel Hollerbach [Fri, 15 Mar 2019 13:12:04 +0000 (14:12 +0100)]
elm_gengrid: speed up update order calls

update order can be quite expensive, so this here tries to skip it as
often as possible.

ref T7384

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

Change-Id: I750d4ac6ebbb03f43a6727786316dd313021a87c

5 years agoelm_gengrid: rework focus registration
Marcel Hollerbach [Fri, 15 Mar 2019 12:37:33 +0000 (13:37 +0100)]
elm_gengrid: rework focus registration

before just everything has been registered, now only the realized items
are registered.

ref T7384

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

Change-Id: I15fe4b231ba5660c4edffceaadd199d7c31ba96f

5 years agoefl_access: add test cases for reading_info_type_set/get API
Shilpa Singh [Thu, 21 Mar 2019 06:16:52 +0000 (06:16 +0000)]
efl_access: add test cases for reading_info_type_set/get API

Add test cases for efl_access_object_reading_info_type_set and efl_access_object_reading_info_type_get
APIs

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

5 years agoefl_access: if 0 is set as reading_info_type, remove existing reading_info
Shilpa Singh [Mon, 25 Mar 2019 01:11:39 +0000 (10:11 +0900)]
efl_access: if 0 is set as reading_info_type, remove existing reading_info

Summary:
if 0 is set as reading_info_type, remove existing reading_info and
allow default reading info types (name, role, state and description)
to be read.
Do not set reading info again in reading_info_type_set API if new
value matches the old value.

Test Plan:
If application does not set reading_info_type or set 0 reading_info_type,
All four reading info types of an accessible object should be read on highlight.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
Reviewers: kimcinoo, jsuya, bu5hm4n, lukasz.stanislawski

Subscribers: prasoonsingh16, rajeev.jnnce, #reviewers, cedric, #committers

Tags: #efl

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

Change-Id: I5258ad5c6a1210c4880aa822ed1c504cf838b8ca

5 years agoevas_clip: check for object validity before adding fallback damage rect
Mike Blumenkrantz [Fri, 22 Mar 2019 13:50:57 +0000 (09:50 -0400)]
evas_clip: check for object validity before adding fallback damage rect

this path should not be triggered for objects which are being deleted,
which was the case in all of the referenced bug reportst

fix T4904, T7100, T7421

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

5 years agoevas drm: Implement support for outbuf_idle_flush
Christopher Michael [Thu, 21 Mar 2019 18:14:57 +0000 (14:14 -0400)]
evas drm: Implement support for outbuf_idle_flush

5 years agoevas drm: Implement support for damage_region_set
Christopher Michael [Fri, 22 Mar 2019 16:41:47 +0000 (12:41 -0400)]
evas drm: Implement support for damage_region_set

Summary:
This patch implements engine support for outbuf_damage_region_set that
we can use to mark a framebuffer as being dirty, and to set the dirty
regions on that framebuffer.

ref T7690
Depends on D8403

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

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

5 years agoevas drm: Fix software output rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:43 +0000 (12:41 -0400)]
evas drm: Fix software output rotation

Summary:
Don't use redraws_clear to handle buffer swapping. Buffer swapping
should be done on outbuf_flush. This patch fixes evas drm software
output rotation (along with other patches in the series).

ref T7690

@fix
Depends on D8402

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

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

5 years agoevas drm: Don't use eng_output_resize or redraws clear
Christopher Michael [Fri, 22 Mar 2019 16:41:38 +0000 (12:41 -0400)]
evas drm: Don't use eng_output_resize or redraws clear

Summary:
We don't need to use eng_output_resize in this engine as
eng_output_update will take care of that. Also, don't use
redraws_clear to handle buffer swapping. This is part one of software
rotation fixes.

ref T7690

@fix
Depends on D8116

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

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

5 years agoecore-evas-drm: Enable rotation to work again
Christopher Michael [Fri, 22 Mar 2019 16:41:28 +0000 (12:41 -0400)]
ecore-evas-drm: Enable rotation to work again

Summary:
This patch removes the ability to do hardware rotation (it's broken
anyway), and refactors the _drm_rotation_do function to just use
software (ecore_evas & evas) rotation.

ref T7690

Depends on D8115

Reviewers: raster, cedric, zmike

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Factor in output rotation when getting output info
Christopher Michael [Fri, 22 Mar 2019 16:41:25 +0000 (12:41 -0400)]
ecore-drm2: Factor in output rotation when getting output info

Summary:
Enlightenment uses this function to get information about a given
output, so we should be accounting for output rotation when returning
width/height values.

ref T7690

@fix

Depends on D8114

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Add API function to return output rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:21 +0000 (12:41 -0400)]
ecore-drm2: Add API function to return output rotation

Summary:
Small patch to add an API function which can be used to return a given
output's rotation value

ref T7690

@feature

Depends on D8113

Reviewers: raster, cedric, zmike, stefan_schmidt, bu5hm4n

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Set output rotation value
Christopher Michael [Fri, 22 Mar 2019 16:41:16 +0000 (12:41 -0400)]
ecore-drm2: Set output rotation value

Summary:
When we call ecore_drm2_output_rotation_set we need to store that
value in the Output structure so that it can be checked later when
needed.

ref T7690

Depends on D8112

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Disable hardware rotation for outputs
Christopher Michael [Fri, 22 Mar 2019 16:41:11 +0000 (12:41 -0400)]
ecore-drm2: Disable hardware rotation for outputs

Summary:
Setting output primary plane rotation is broken at the moment, so this
commit will disable that for now until this can be investigated

ref T7690

Depends on D8111

Reviewers: raster, cedric, zmike

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Update plane state values based on FB
Christopher Michael [Fri, 22 Mar 2019 16:41:08 +0000 (12:41 -0400)]
ecore-drm2: Update plane state values based on FB

Summary:
When we are trying to set an FB onto a plane, we need to update the
plane state values to reflect any changes in the FB. Failure to do
this will result in Atomic Commit failures as the plane state values
will not match what the FB is.

ref T7690

@fix

Depends on D8110

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agoecore-drm2: Don't use AtomicAddProperty for plane rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:03 +0000 (12:41 -0400)]
ecore-drm2: Don't use AtomicAddProperty for plane rotation

Summary:
Apparently something has been changed recently in libdrm
that causes AtomicAddProperty to fail when trying to set plane rotation. Until
this can be found & fixed, let's just disable trying to rotate
hardware planes with atomic commits.

ref T7690

@fix

Reviewers: raster, cedric, zmike

Subscribers: zmike, cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

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

5 years agodocs: Add @since 1.22 to all stable classes' EO docs
Xavi Artigas [Fri, 22 Mar 2019 15:25:22 +0000 (16:25 +0100)]
docs: Add @since 1.22 to all stable classes' EO docs

Summary: Previous @since tags have already been removed from eo files.

Test Plan: Everything builds, but stable classes now have Since tags in the docs.

Reviewers: zmike, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoevil: fix wrong values in timeval
Vincent Torri [Fri, 22 Mar 2019 13:09:14 +0000 (09:09 -0400)]
evil: fix wrong values in timeval

Summary: time values are of type long, but a double values was used

Test Plan: compilation

Reviewers: raster, zmike, q66, simotek

Reviewed By: zmike, simotek

Subscribers: simotek, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl-csharp: Add back I prefix for interfaces.
Lauro Moura [Thu, 21 Mar 2019 17:38:45 +0000 (14:38 -0300)]
efl-csharp: Add back I prefix for interfaces.

Summary:
Conforming to C# coding conventions.

For properties, now we only generate a wrapper if its name does not
clash with the name of the class that would be implementing it.

Fixes T7751

Reviewers: vitor.sousa, felipealmeida, segfaultxavi

Reviewed By: vitor.sousa, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7751

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

5 years agocsharp: Export correct headers and files
Lauro Moura [Thu, 21 Mar 2019 16:32:17 +0000 (17:32 +0100)]
csharp: Export correct headers and files

Summary:
Some headers and test files were not being exported in autotools.

Also reordered the headers for better tracking.

Test Plan: run make dist and check if resulting tarball builds with --enable-csharp-bindings

Reviewers: stefan_schmidt, zmike, bu5hm4n, segfaultxavi, cedric, devilhorns

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agomono-tests: Fix after latest changes to eolian
Xavi Artigas [Thu, 21 Mar 2019 16:20:13 +0000 (17:20 +0100)]
mono-tests: Fix after latest changes to eolian

Summary: Event payload checking is more strict now.

Test Plan: Check that master can be built

Reviewers: lauromoura, q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian: assume requires section is legitimate dependencies
Daniel Kolesa [Thu, 21 Mar 2019 15:46:55 +0000 (16:46 +0100)]
eolian: assume requires section is legitimate dependencies

Previously these were not considered, which resulted in false
positive warnings.

5 years agoeolian: disallow @owned on events
Daniel Kolesa [Thu, 21 Mar 2019 15:17:06 +0000 (16:17 +0100)]
eolian: disallow @owned on events

This is never used anywhere and it does not make sense with the
new type rules for events.

5 years agoeolian: add event type call convention checks for non-beta classes
Daniel Kolesa [Thu, 21 Mar 2019 14:55:43 +0000 (15:55 +0100)]
eolian: add event type call convention checks for non-beta classes

5 years agoWindows, meson build : use posix *printf family function
Vincent Torri [Thu, 21 Mar 2019 10:26:15 +0000 (11:26 +0100)]
Windows, meson build : use posix *printf family function

Summary: the Windows libc has different format flags for the *printf functions, fix this by using the posix version provided with mingw

Test Plan: compilation

Reviewers: zmike, raster, q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian: enable event redef checking by default
Marcel Hollerbach [Wed, 20 Mar 2019 14:14:02 +0000 (15:14 +0100)]
eolian: enable event redef checking by default

Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Differential Revision: https://phab.enlightenment.org/D8425

5 years agoci: disable exit-on-error during configure and also grab stderr
Mike Blumenkrantz [Tue, 19 Mar 2019 18:00:54 +0000 (14:00 -0400)]
ci: disable exit-on-error during configure and also grab stderr

this should resolve some issues where ci was not correctly detecting
changes in env and clearing the config cache during autotools build

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8416

5 years agoelm_gesture_layer: Use flag returned by gesture callbacks
Prasoon Singh [Thu, 21 Mar 2019 09:07:43 +0000 (10:07 +0100)]
elm_gesture_layer: Use flag returned by gesture callbacks

Summary:
Instead of flag returned by gesture callbacks, always EVAS_EVENT_FLAG_NONE
flag was being used.

Test Plan:
As event flag was not being appropriately updated, in some cases expected
behaviour was not seen.

Reviewers: shilpasingh, cedric, Hermet, segfaultxavi

Reviewed By: shilpasingh, segfaultxavi

Subscribers: segfaultxavi, #reviewers, rajeev.jnnce, #committers

Tags: #efl

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

5 years agoefl_ui_win: avoid triggering legacy forbidden path during window finalize
Mike Blumenkrantz [Tue, 19 Mar 2019 14:00:21 +0000 (10:00 -0400)]
efl_ui_win: avoid triggering legacy forbidden path during window finalize

this (unintentionally) revealed some bugs where apps/examples were mixing
eo and legacy code for elm_win which breaks things pretty badly. I'm only
here so I don't get fined.

ref T7713

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

5 years agoefl_ui_win: mark legacy forbidden during bg part load always
Mike Blumenkrantz [Tue, 19 Mar 2019 13:59:01 +0000 (09:59 -0400)]
efl_ui_win: mark legacy forbidden during bg part load always

calling this function indicates legacy is forbidden, not successfully
loading a file. this is functionally meaningless, as the only way to
trigger the previous codepath would be to have previously set legacy
as forbidden, but perhaps it will be slightly easier to read now

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

5 years agoelm_test: set accel for all glview tests
Mike Blumenkrantz [Mon, 18 Mar 2019 18:03:17 +0000 (14:03 -0400)]
elm_test: set accel for all glview tests

these otherwise require the user to set ELM_ACCEL or manually change
the config which is cumbersome

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

5 years agoelm_test: move gl api creation to glview init function
Mike Blumenkrantz [Mon, 18 Mar 2019 17:27:57 +0000 (13:27 -0400)]
elm_test: move gl api creation to glview init function

this needs to happen when the gl context is current to avoid a billion
errors and overall general failure

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

5 years agoefl_ui_win: fix hw accel detection
Mike Blumenkrantz [Mon, 18 Mar 2019 13:27:14 +0000 (09:27 -0400)]
efl_ui_win: fix hw accel detection

the ordering of priority here is supposed to be:

1. env vars
2. global override config
3. window config
4. global config

in the case where 1 and 3 were not set, however, this would end up
mangling the global config values and not using the gl options

@fix

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

5 years agoelm_test: use legacy api for glview gears test
Mike Blumenkrantz [Mon, 18 Mar 2019 13:26:19 +0000 (09:26 -0400)]
elm_test: use legacy api for glview gears test

mixing interfaces api with legacy api is bad for elm_win

ref T7713

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