platform/upstream/efl.git
5 years agoecore model_view: remove unused compile warning.
Hermet Park [Tue, 8 Jan 2019 10:57:14 +0000 (19:57 +0900)]
ecore model_view: remove unused compile warning.

5 years agoefl shape: remove unused parameter warning.
Hermet Park [Tue, 8 Jan 2019 10:54:03 +0000 (19:54 +0900)]
efl shape: remove unused parameter warning.

5 years agoevas vg: improve cache logic. 95/197695/1
Hermet Park [Tue, 15 Jan 2019 11:22:29 +0000 (20:22 +0900)]
evas vg: improve cache logic.

1. drop cached surface if the size is changed,
2. only cache target needs to acquire cached surface.

Change-Id: I231d5da598744b5eafa11a01a703cabeb1f5e0bd

5 years agoATSPI : remove unnecessary error message. 02/197602/2
JunsuChoi [Thu, 10 Jan 2019 10:19:44 +0000 (19:19 +0900)]
ATSPI : remove unnecessary error message.

   This function also works when the screen reader is not connected.
   Since this state is not an error.

Change-Id: I2af8a290b45c17baa18449069191b53a9f0d4649

5 years agoevas_tbm: fix typo of image_draw 55/197655/2
Shinwoo Kim [Tue, 15 Jan 2019 02:50:22 +0000 (11:50 +0900)]
evas_tbm: fix typo of image_draw

It seems that following commit has a small mistake.

   e35a4dd evas_tbm : support ROI mode (tbm rot, flip, ratio)

The destination geometry should consider object geometry as well as other line
using image_draw under different condition does.

If you have following condition, then you will get unexpected result

   - ratio: 0
   - object geometry: 0, 446, 720, 834
   - fill: -280, 57, 1280, 720
   - imagew, h: 1280, 720

because the destination geometry becomes -280, 57, 1280, 720.

Change-Id: I4c3d010b2e1f9fc5823f896a7fe869c80702de00

5 years agoElm_Animation_View: Add elm_animation_view_frame_count_get api 04/197604/1
JunsuChoi [Mon, 14 Jan 2019 09:59:26 +0000 (18:59 +0900)]
Elm_Animation_View: Add elm_animation_view_frame_count_get api

Summary:
elm_animation_view_frame_count_get is return
to the total number of frames of vector.

Test Plan: N/A

Reviewers: Hermet

Subscribers: cedric, #reviewers, #committers, smohanty, SanghyeonLee

Tags: #efl

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

Change-Id: I6faf76b710a1dde47070821eb138b9b330865df6

5 years agoefl_ui_win: fix return value in error case at aux_hint functions 61/197461/1
Junseok, Kim [Fri, 11 Jan 2019 09:04:04 +0000 (18:04 +0900)]
efl_ui_win: fix return value in error case at aux_hint functions

Change-Id: Iee104d390b6fdb755d2cbd3cdd7618eaf5bbf26b

5 years agoecore_evas: wrap TIZEN_ONLY comment at null checker in aux_hint 42/197442/1
Junseok, Kim [Fri, 11 Jan 2019 07:27:47 +0000 (16:27 +0900)]
ecore_evas: wrap TIZEN_ONLY comment at null checker in aux_hint

Change-Id: I341152bd7d01aac8cef24a5c4ba7036c0eb71bd2

5 years agoecore_evas: add null check on ecore_evas_aux_hint* 99/197399/4
Junseok, Kim [Fri, 11 Jan 2019 04:40:17 +0000 (13:40 +0900)]
ecore_evas: add null check on ecore_evas_aux_hint*

Change-Id: I1131f76b0828aa7456c8c0df6b0891f56d0dacaa

5 years agomeson: correct option description 17/197417/1
Daniel Zaoui [Thu, 10 Jan 2019 19:29:04 +0000 (21:29 +0200)]
meson: correct option description

Copy-paste has done its work here :-)

Change-Id: Id69ef0193e3282d01b7819e9a40d8cfd301a3cc9

5 years agomeson: add a option to config the base directory name for elm data 16/197416/1
Wonki Kim [Thu, 10 Jan 2019 12:01:08 +0000 (12:01 +0000)]
meson: add a option to config the base directory name for elm data

There is a option(--with-elementary-base-dir) on autotools
this patch provides the exactly same thing that autotools does on meson
Differential Revision: https://phab.enlightenment.org/D7580

Change-Id: I2dd218291eadbb93efb6d68368af8f2341c15372
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: Add a option for hyphen dictionaries directory 15/197415/1
Wonki Kim [Thu, 10 Jan 2019 12:07:39 +0000 (12:07 +0000)]
meson: Add a option for hyphen dictionaries directory

this patch provides a way to config hyphen dictionaries dir on meson.
Differential Revision: https://phab.enlightenment.org/D7581

Change-Id: I04eb0d957a5de93731819b3753b228e78716b367
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: define HAVE_TSLIB once tslib option is set 14/197414/1
Wonki Kim [Thu, 10 Jan 2019 12:13:21 +0000 (12:13 +0000)]
meson: define HAVE_TSLIB once tslib option is set

Nowhere refers to the tslib option
This patch provides a way to set HAVE_TSLIB
Differential Revision: https://phab.enlightenment.org/D7582

Change-Id: I947370a024781891d1359c10177d48e922f0b68c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: elm: add pie and fPIC cflags and ldflags to elm binaries 13/197413/1
Stefan Schmidt [Thu, 10 Jan 2019 16:03:35 +0000 (17:03 +0100)]
meson: elm: add pie and fPIC cflags and ldflags to elm binaries

My use case here is having elementary_test being loaded by exactness.
That has been working fine with our autotools based build system but no
longer with meson.

Bringing fPIC and pie back as options allows exactness to dlopen the
binary and work again.

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

Change-Id: I1d97107f4c049bc89b80f46a4a5ac069387c956f
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
5 years agomeson: fix a potentionally unexpected behavior 12/197412/1
Wonki Kim [Thu, 10 Jan 2019 07:55:56 +0000 (07:55 +0000)]
meson: fix a potentionally unexpected behavior

lidrm is defined in different locations, which causes a unexpected behavior.
this patch fixes it in advance.
Differential Revision: https://phab.enlightenment.org/D7567

Change-Id: If298ba9a7c861f0ecf2520d539d5988996ccbe28
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: refactor meson.build for ecore_wl2 11/197411/1
Wonki Kim [Thu, 10 Jan 2019 02:05:42 +0000 (02:05 +0000)]
meson: refactor meson.build for ecore_wl2

this patch cleans emson.build for ecore_wl2 up little.
Differential Revision: https://phab.enlightenment.org/D7565

Change-Id: Ifc1cbdc8687dd3c8e47dc2ded13ac20f032d3e84
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: modify options for enabling the bindings 10/197410/1
Wonki Kim [Wed, 9 Jan 2019 14:36:09 +0000 (14:36 +0000)]
meson: modify options for enabling the bindings

bindings are added as subdir by foreaching a array defined in meson.build at root.
then meson checks a option which has the same name of the binding.
this patch appends a new option for selecting bindings to build.

[howto]
*as-is
meson build.asis/ -Dmono=false -Dcxx=true
ninja -C build.asis/

*to-be
menson build.tobe/ -Dbindings=luajit,cxx
ninja -C build.tobe/

it is imposibble to use this wrongly because meson raise a error if arguments are not in a predefined list that described in meson_options.txt.
for more information, refer to https://mesonbuild.com/Build-options.html and also take a look at meson_options.txt please.
Differential Revision: https://phab.enlightenment.org/D7563

Change-Id: I5fa0af9ecf9b76a15a40f2822f6f34c5e4602c3b
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years agomeson: excludes stuffs related with gst if gst is disabled 09/197409/1
Wonki Kim [Wed, 9 Jan 2019 09:05:01 +0000 (09:05 +0000)]
meson: excludes stuffs related with gst if gst is disabled

if a option for gstreamer is disabled,
stuffs related with gstreamer should not be compiled.
this patch excludes the stuffs.
Differential Revision: https://phab.enlightenment.org/D7566

Change-Id: Ie9130c66361dacd09f40e63f81a354c0574b649a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
5 years ago***** This is a sync with upstream for vector meson build. 19/197219/2
Hermet Park [Thu, 10 Jan 2019 06:32:07 +0000 (15:32 +0900)]
***** This is a sync with upstream for vector meson build.

elementary: introduce a new widget - elm_animation_view

Elm_Animation_View is designed to display Efl_Canvas_Vg Animation (Lottie),

has a set of animation control functions.

@feature

Change-Id: Ic77544301ffe459b92cc4169d5365beba629be1c

5 years agoevas vg: refactor internal function name. 48/197048/3
Hermet Park [Wed, 9 Jan 2019 04:56:15 +0000 (13:56 +0900)]
evas vg: refactor internal function name.

Specify explict svg name in vg common function
since the functiona is totally depends on svg spec.

No logic changes.

Change-Id: Iba597350072bd2a291cab0b8dbe1766b13c11e89

5 years ago***** This is a sync with upstream for vector meson build. 15/197215/2
Hermet Park [Wed, 9 Jan 2019 07:22:52 +0000 (16:22 +0900)]
***** This is a sync with upstream for vector meson build.

evas json: introduce lottie animation in efl.

lottie animation is a new format of animation data
that works based on vector graphics and key frames.

lottie-player is a standalone library that manipulate
lottie animation scenes. Since lottie animation file format
is json, evas json loader is added here and it parses json data
using lottie player and construct vector nodes graphs
by accessing lottie-player interfaces.

Since evas vector is designed for static image,
here changes vg object interfaces to newly afford animation controller
by expanding Gfx.Image.Animation_Controller and expand vg cache routines
for caching first and last frame images which is mostly used repeatedly
in common scenarios.

@feature

Change-Id: Ia94b00c0f834c524c7f3242f95687b487d7b37e7

5 years agofix build break 81/197381/2
Juyeon Lee [Fri, 11 Jan 2019 02:03:38 +0000 (11:03 +0900)]
fix build break

Change-Id: Ibf881f8c8fb0a7eca505ef40658ed5bbb890aefe

5 years agoecore_wl2_display: check fd_hdl null condition when _ecore_wl2_display_connect 20/197020/7
Juyeon Lee [Wed, 9 Jan 2019 02:19:20 +0000 (11:19 +0900)]
ecore_wl2_display: check fd_hdl null condition when _ecore_wl2_display_connect

@tizen_only

Change-Id: Ie4e0eb9ef4df7a6cc211d904706c6626989ecac7
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
5 years agoAccess: Add the missing patch related by Efl.Access_Object.relations_get 68/196868/6
junsu choi [Fri, 4 May 2018 21:17:15 +0000 (14:17 -0700)]
Access: Add the missing patch related by Efl.Access_Object.relations_get

There is the missing patch related by Efl.Access_Object.relations_get
This patch removes the relation_set_get and uses relations_get.
It also deletes the associated eternal APIs.

In Tizen, elm_atspi_accessible_relation_ * APIs are used.
We also use custom_relation of efl_ui_widget.

Modify and migrate patches for Tizen_only.

   elementary: small correction in the API of Efl.Access.Object to have proper lifecycle.

   This API require more review, I have just fixed API that return type that are
   inconsistent over time and fail to allow for proper lifecycle of event, which
   lead to crash when those event trigger at unexpected point.

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

Change-Id: I42b605aa7e6857047d3833d746e6882085dd1773
Signed-off-by: JunsuChoi <jsuya.choi@samsung.com>
5 years agoevas json: remove dead code 66/196966/2
Hermet Park [Tue, 8 Jan 2019 08:06:12 +0000 (17:06 +0900)]
evas json: remove dead code

Change-Id: I404e4418fdf22d595060048f859f04d789bc91a8

5 years agoefl_ui_widget: fix legacy type table to correct type (toolbar, multibuttonentry) 39/197039/1
Jeonghyun Yun [Wed, 9 Jan 2019 05:01:30 +0000 (14:01 +0900)]
efl_ui_widget: fix legacy type table to correct type (toolbar, multibuttonentry)

@tizen_fix

Change-Id: Ib7108ff8a7f9bbe8ee384fab9c8f46007f2e6866
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
5 years agodoc: Add support for DocFX (C# doc generator) accepted/tizen/unified/20190111.055105 submit/tizen/20190109.051753
Xavi Artigas [Tue, 6 Nov 2018 14:21:03 +0000 (15:21 +0100)]
doc: Add support for DocFX (C# doc generator)

Summary: Usage instructions in the README file.

Test Plan:
Follow the README to produce the documentation pages.
Point your browser to docfx/_site/index.html to see the results.

Reviewers: lauromoura, bu5hm4n, cedric, myoungwoon, zmike

Reviewed By: lauromoura, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7424

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

5 years agoevas vg: don't draw invisible nodes.
Hermet Park [Mon, 7 Jan 2019 10:23:37 +0000 (19:23 +0900)]
evas vg: don't draw invisible nodes.

Change-Id: I1a582f0ceb7c2572bcf47ce0bf1741750eb833cc

5 years agoeo: move definitions of priority from Eo.h to the object
Marcel Hollerbach [Fri, 4 Jan 2019 14:29:56 +0000 (15:29 +0100)]
eo: move definitions of priority from Eo.h to the object

So it can be references from the later coming definition of
callback_forwarder

ref D7532

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

5 years agomeson: support cmakeconfigs
Marcel Hollerbach [Fri, 4 Jan 2019 14:09:32 +0000 (15:09 +0100)]
meson: support cmakeconfigs

this was forgotten, but its required from Ecrire Clouseau etc.

fixes T7540.

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

5 years agoefl-mono: Add efl_mono.dll.config file to run tests from within tree
Felipe Magno de Almeida [Thu, 3 Jan 2019 21:06:53 +0000 (21:06 +0000)]
efl-mono: Add efl_mono.dll.config file to run tests from within tree

Required by some distros like Arch.

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7527

5 years agomeson: lets keep dependency
Marcel Hollerbach [Thu, 3 Jan 2019 22:07:36 +0000 (23:07 +0100)]
meson: lets keep dependency

the reason for using dependency here is that meson *sometimes* uses
dependency as a wrapper arround finding a dependency, this is usefull if
a known target is having different library names on different OSs. On
macos the cc.find_library was causing errors, since the library is not
called GL there.

This fixes the macos build.

5 years agomeson: and another missing file in ecore
Marcel Hollerbach [Thu, 3 Jan 2019 21:59:01 +0000 (22:59 +0100)]
meson: and another missing file in ecore

they are so slowly caught by two reasons:

- .eo.c files are defining weak symbols, so no warnings when a symbol is
missing
- The APIs of the missing files are not tested, nor in examples in tree,
so not build and not discovered

5 years agoefreet: fix build error by using PACKAGE_SYSCONF_DIR
Jaehyun Cho [Fri, 4 Jan 2019 06:11:08 +0000 (15:11 +0900)]
efreet: fix build error by using PACKAGE_SYSCONF_DIR

This patch fixes build error of make build by applying
0d7f20bbc63da62bbd7af9ae92c38ecc034ec213.

meson build defines PACKAGE_SYSCONF_DIR so there is no build error but
make build did not define it.

5 years agoefreet: Add installation prefix search for XDG_DATA_DIRS.
Alastair Poole [Thu, 3 Jan 2019 19:16:16 +0000 (19:16 +0000)]
efreet: Add installation prefix search for XDG_DATA_DIRS.

Summary:
Currently path parsed for XDG_DATA_DIRS is hard-coded to
/etc. By using eina_prefix_get and adding to the list
of directories efreet should use efreet will use path
relative to the EFL installation.

Reviewers: #committers, bu5hm4n, cedric, raster, zmike

Reviewed By: #committers, zmike

Subscribers: zmike, #reviewers

Tags: #efl

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

5 years agomeson: warn on unused parameters like on autotools
Marcel Hollerbach [Thu, 3 Jan 2019 14:59:43 +0000 (15:59 +0100)]
meson: warn on unused parameters like on autotools

this mirrors the behaviour of autotools.

5 years agoevas vg: enable visibility true by default. 23/196923/1
Hermet Park [Tue, 8 Jan 2019 04:00:29 +0000 (13:00 +0900)]
evas vg: enable visibility true by default.

So far, vg shapes had been rendered regardless of its visibility.

Recently, I pushed a patch - fa1420965dd264fc8836d133a3215b94e423b8bf
not to render nodes which is invisible. This occurred a side effect
because previous vg implementations didn't take care of nodes visiblity.
It means, though vg users didn't make nodes visible but nodes were
rendered in unintended way.

This is a sort of compatibility problem but I can't let vg users
to change their nodes visible by calling visible set api explicity.
Instead, I'm gonna change the nodes visibility default value to true
so that skiping invisible nodes and compatibility issue as well.

Change-Id: If95f369ee984516ad515cfe0c01866c7c65dd852

5 years agoevas vg: don't draw invisible nodes. 96/196896/1
Hermet Park [Mon, 7 Jan 2019 10:23:37 +0000 (19:23 +0900)]
evas vg: don't draw invisible nodes.

Change-Id: I002e3e18f5e96112caa66098f1c4e04ae6ed4cd4

5 years agoFix for crash due to call to eina_error_set when bridge object is null 76/196676/6
Radoslaw Cybulski [Thu, 3 Jan 2019 10:34:55 +0000 (11:34 +0100)]
Fix for crash due to call to eina_error_set when bridge object is null

In some scenarios it's possible to call _bridge_object_unregister
function, when bridge object was not constructed, which resulted in
call eina_error_set and possibly crash. This patch adds an if check
for existence of bridge object.

Change-Id: Ic1995f1c0728c08c0cc007f5476d7a68a8a1d5ed

5 years ago[MIGRATION] efl_ui_dnd: fix the TC break 09/196709/3 accepted/tizen/unified/20190107.065404 submit/tizen/20190104.010806
Shinwoo Kim [Fri, 4 Jan 2019 00:22:54 +0000 (09:22 +0900)]
[MIGRATION] efl_ui_dnd: fix the TC break

This patch set is the adaption of following commit which is changed
accidentally by migration work.

ffad0af efl_ui_dnd: fix the TC break

Change-Id: I45aa9bbc531f1fa509aa9274444081f5299b77e7

5 years agoecore_wl2: correct cb_pre_handle_data and cb_awake callbacks 67/196667/1
Sung-Jin Park [Thu, 3 Jan 2019 08:45:37 +0000 (17:45 +0900)]
ecore_wl2: correct cb_pre_handle_data and cb_awake callbacks

Fix : cb_pre_handle_data()
When there are any events remain in wayland event list, they
are going to be dispatched through wl_display_dispatch_pending().
By the way, if there is any error set in last_error in ewd->wl.display,
wl_display_dispatch_pending() will be failed and we must return directly
, unless ewd->prepare_read will be set true, wl_display_read_events()
will be called in _ecore_wl_cb_awake(). Calling wl_display_read_events()
without wl_display_prepare_read() will cause a deadlock in multi-threaded
wayland client.

Fix : cb_awake()
When there is an error on wayland display socket fd, _ecore_wl_cb_wake()
will also be called. Now when a error comes to _ecore_wl_cb_awake(),
it'll cause to call wl_display_read_events()/wl_display_cancel_events().
Calling those APIs will cause a deadlock in multi-threaded wayland clients.
Thus, we must return directly.

Change-Id: I6165989104038ff3b8435d18891dea3f7f979ac6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years ago[MIGRATION] FIX BUILD ERRORS
Shinwoo Kim [Thu, 3 Jan 2019 08:02:36 +0000 (17:02 +0900)]
[MIGRATION] FIX BUILD ERRORS

Collaboration between following commit and TIZEN ONLY commit occurs lots of
build errors. :/

94a681a elementary: rename Efl.Ui.Translatable -> Efl.Ui.L10n

5 years agoecore: add tests when not defining setter/getter/free in ModelView callback.
Cedric BAIL [Wed, 19 Dec 2018 22:50:11 +0000 (14:50 -0800)]
ecore: add tests when not defining setter/getter/free in ModelView callback.

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

5 years agoecore: define behavior when no getter/setter callback function is defined for ModelVi...
Cedric BAIL [Wed, 19 Dec 2018 22:49:23 +0000 (14:49 -0800)]
ecore: define behavior when no getter/setter callback function is defined for ModelView property logic.

This allow for simplifying the code that doesn't need to handle get/set/free
callback when not needed.

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

5 years agoecore: test for Efl.ModelView.
Cedric BAIL [Thu, 13 Dec 2018 19:51:52 +0000 (11:51 -0800)]
ecore: test for Efl.ModelView.

This does cover pretty much everything that Efl.ModelView provide.

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

5 years agoecore: add an helper class Efl.Model_View
Cedric BAIL [Thu, 29 Nov 2018 00:03:33 +0000 (16:03 -0800)]
ecore: add an helper class Efl.Model_View

With the advancement of our MVVM interfaces, we realize that it could be made easier,
especially for bindings, to write an Efl.Model that proxy another one without having to
necessarily implement the entire logic of propagating event and checking if the property
we are getting request for is actually handle by our own Efl.Model. To simplify this,
I introduce this class that allow to set new callback for each property you want to handle
on your object.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7487

5 years agoecore: correct object constness and documentation of future_resolved and future_rejec...
Cedric BAIL [Fri, 14 Dec 2018 20:18:16 +0000 (12:18 -0800)]
ecore: correct object constness and documentation of future_resolved and future_rejected functions.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7486

5 years agoecore: allow for not specifying any static string in Efl.Model.properties.get helper.
Cedric BAIL [Thu, 13 Dec 2018 18:01:34 +0000 (10:01 -0800)]
ecore: allow for not specifying any static string in Efl.Model.properties.get helper.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7485

5 years agoecore: don't forget to initialize structure.
Cedric BAIL [Thu, 13 Dec 2018 04:53:41 +0000 (20:53 -0800)]
ecore: don't forget to initialize structure.

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

5 years agoecore: make sure that events are being forwarded first.
Cedric BAIL [Wed, 12 Dec 2018 22:12:28 +0000 (14:12 -0800)]
ecore: make sure that events are being forwarded first.

In case the model being set has already gotten some event callback
set on it, to avoid strange behavior, like event not propagating,
it seems best to make sure the event are forwarded first.

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

5 years agocxx: fix build to generate Eina_Future.
Lauro Moura [Thu, 20 Dec 2018 22:13:14 +0000 (14:13 -0800)]
cxx: fix build to generate Eina_Future.

This doesn't enable future support in the C++ binding, just allow to build the binding.

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>>
Differential Revision: https://phab.enlightenment.org/D7498

5 years agoeo: enable priority with event forwarder.
Cedric BAIL [Wed, 12 Dec 2018 22:07:52 +0000 (14:07 -0800)]
eo: enable priority with event forwarder.

Note: Their isn't any ability to do something like a static array of
events at the moment. It might lead to large memory being used when it
wouldn't be necessary. If that was the case, we could fix it, but it
would require a lot of dynamic hash operation I think.

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

5 years agoeo: test that event cancel before emitting does propagate event.
Cedric BAIL [Thu, 20 Dec 2018 19:30:58 +0000 (11:30 -0800)]
eo: test that event cancel before emitting does propagate event.

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

5 years agoeo: correctly allow for triggering the same event while the previous one was cancelled.
Cedric BAIL [Wed, 19 Dec 2018 19:57:38 +0000 (11:57 -0800)]
eo: correctly allow for triggering the same event while the previous one was cancelled.

If you are to trigger an event and just cancelled the one being processed, it would just
not propagate any event while it should. The code looks like more like it was forgotten line
or something.

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

5 years agoelput: Verify pointer device is accel capable before setting speed
Christopher Michael [Wed, 2 Jan 2019 19:54:00 +0000 (14:54 -0500)]
elput: Verify pointer device is accel capable before setting speed

As we cannot set mouse accel speed unless an input device is capable,
we add a small test here to check that it supports acceleration.

5 years agoelementary: rename Efl.Ui.Translatable -> Efl.Ui.L10n
Cedric BAIL [Fri, 21 Dec 2018 22:46:10 +0000 (14:46 -0800)]
elementary: rename Efl.Ui.Translatable -> Efl.Ui.L10n

If we are to choose Efl.Ui.I18n for the internationalization support, the localization API
should be named accordingly L10n.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7507

5 years agoefl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.
Cedric BAIL [Fri, 21 Dec 2018 22:13:40 +0000 (14:13 -0800)]
efl: rename Efl.Ui.Base -> Efl.Ui.I18n as that is really what it does.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7506

5 years agoelementary: rename Efl.Selection -> Efl.Ui.Selection as it is only usable with User...
Cedric BAIL [Fri, 21 Dec 2018 21:46:06 +0000 (13:46 -0800)]
elementary: rename Efl.Selection -> Efl.Ui.Selection as it is only usable with User Interface related element.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7505

5 years agoecore: Fix promise cb signature
Lauro Moura [Wed, 2 Jan 2019 17:42:52 +0000 (17:42 +0000)]
ecore: Fix promise cb signature

After the loop_promise_new changes. Also fix unused var warning.

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

5 years agoecore-drm2: Add support for specifying a particular drm card
Christopher Michael [Wed, 2 Jan 2019 15:33:42 +0000 (10:33 -0500)]
ecore-drm2: Add support for specifying a particular drm card

Summary:
There are cases where the drm card that we wish to run on is not
always the first card (ie: card1, card2, etc). In our previous code,
we would always start searching at card0 and if found we would always
use that card. This patch allows a card to be specified in the
environment that can be searched for and used. For example, if we
specify ECORE_DRM2_CARD=card1 than that card will be searched and used
if found. This also allows wildcard searches such as
ECORE_DRM2_CARD=card[1-9]* which can be used to skip the first card
(card0).

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoecore-drm2: Fix drmModeSetCrtc call during fb flip
Christopher Michael [Wed, 2 Jan 2019 15:03:06 +0000 (10:03 -0500)]
ecore-drm2: Fix drmModeSetCrtc call during fb flip

drmModeSetCrtc x & y values are actually offsets into the framebuffer
memory. As such, we should not be sending output position here.

@fix

5 years agoecore-drm2: Minor formatting fixes
Christopher Michael [Wed, 2 Jan 2019 15:01:55 +0000 (10:01 -0500)]
ecore-drm2: Minor formatting fixes

NB: No functional changes

5 years agomeson-cxx: ecore must be build after efl
Marcel Hollerbach [Wed, 2 Jan 2019 11:43:36 +0000 (12:43 +0100)]
meson-cxx: ecore must be build after efl

5 years agoAdd support of Windows 8, 8.1 and 10
Vincent Torri [Wed, 2 Jan 2019 09:34:23 +0000 (10:34 +0100)]
Add support of Windows 8, 8.1 and 10

Reviewers: raster, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoexamples: make edje examples possible to run
Marcel Hollerbach [Sat, 29 Dec 2018 12:29:54 +0000 (13:29 +0100)]
examples: make edje examples possible to run

5 years agoexamples: remove setted but not used variable
Marcel Hollerbach [Sat, 29 Dec 2018 12:11:30 +0000 (13:11 +0100)]
examples: remove setted but not used variable

5 years agoexamples: fix warnings regarding multiple defines
Marcel Hollerbach [Sat, 29 Dec 2018 12:10:14 +0000 (13:10 +0100)]
examples: fix warnings regarding multiple defines

compiling them stand alone still defines the correct definitions

5 years agoexamples: fix eina_simple_xml_parser
Marcel Hollerbach [Sat, 29 Dec 2018 12:05:03 +0000 (13:05 +0100)]
examples: fix eina_simple_xml_parser

5 years agoexamples: fix ecore_fd_handler_gnutls_examples
Marcel Hollerbach [Sat, 29 Dec 2018 12:01:47 +0000 (13:01 +0100)]
examples: fix ecore_fd_handler_gnutls_examples

5 years agoexamples: evas-3d-obj provide a biffer string buffer
Marcel Hollerbach [Sat, 29 Dec 2018 11:58:11 +0000 (12:58 +0100)]
examples: evas-3d-obj provide a biffer string buffer

5 years agoecore: fix build by having proper parameters order.
Jaehyun Cho [Wed, 2 Jan 2019 06:04:50 +0000 (15:04 +0900)]
ecore: fix build by having proper parameters order.

5 years agoefl-csharp: Add implicit conversions for Eina.Value
Lauro Moura [Sun, 30 Dec 2018 15:57:16 +0000 (16:57 +0100)]
efl-csharp: Add implicit conversions for Eina.Value

Summary:
For basic types, this will make it easier to pass Eina.Values into
functions, without requiring to setup and later Set() or Get() calls.

As discussed on irc, this seems to be a better way to improve the Value
C# API than using method chaining.

Fixes T7388

Test Plan: run tests

Reviewers: segfaultxavi, felipealmeida

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7388

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

5 years agoefl-mono: Remove Flush from C# Value API.
Lauro Moura [Fri, 28 Dec 2018 17:13:51 +0000 (18:13 +0100)]
efl-mono: Remove Flush from C# Value API.

Summary: Fixes T7387

Test Plan: run tests

Reviewers: segfaultxavi, felipealmeida

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7387

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

5 years agoefl-mono: automatic code refs for event wrappers docs
Xavi Artigas [Fri, 28 Dec 2018 16:36:31 +0000 (17:36 +0100)]
efl-mono: automatic code refs for event wrappers docs

Summary:
Event wrappers have a comment saying:
///<summary>Event argument wrapper for event XxxEvt</summary>"

This patch simply adds a link to that comment:
///<summary>Event argument wrapper for event <see cref="Fully.Qualified.XxxEvt"/></summary>"

Test Plan: Generate the C# files and enjoy fully-linked doc comments for event wrappers.

Reviewers: lauromoura

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agodocs: Misc typos and code references
Xavi Artigas [Fri, 28 Dec 2018 15:58:36 +0000 (16:58 +0100)]
docs: Misc typos and code references

5 years agomeson - dont install eina bench cmp and use install_mode
Carsten Haitzler (Rasterman) [Thu, 27 Dec 2018 16:29:16 +0000 (16:29 +0000)]
meson - dont install eina bench cmp and use install_mode

5 years agomeson - re-enable emotion_test binaries and data like autofoo
Carsten Haitzler (Rasterman) [Thu, 27 Dec 2018 16:18:08 +0000 (16:18 +0000)]
meson - re-enable emotion_test binaries and data like autofoo

5 years agodocs: Proper-PROPER formatting of some Efl.Gfx EO docs
Xavi Artigas [Thu, 27 Dec 2018 16:23:16 +0000 (17:23 +0100)]
docs: Proper-PROPER formatting of some Efl.Gfx EO docs

5 years agodocs: proper formatting of some Efl.Gfx EO docs
Xavi Artigas [Thu, 27 Dec 2018 15:41:46 +0000 (16:41 +0100)]
docs: proper formatting of some Efl.Gfx EO docs

5 years agomeosn - fix install of scripts and bins and their timestamps and modes
Carsten Haitzler (Rasterman) [Thu, 27 Dec 2018 15:24:08 +0000 (15:24 +0000)]
meosn - fix install of scripts and bins and their timestamps and modes

i was comparing the bindir results of aurtofoo vs meson and some
things were missing/poking out at me. this makes them be in sync -
install the ewl_wl+test obnaries, ensure to chmod +x+r etc. scritps
AND install them

5 years agomeson - fix pc file versions that were missing mirco version
Carsten Haitzler (Rasterman) [Thu, 27 Dec 2018 11:54:30 +0000 (11:54 +0000)]
meson - fix pc file versions that were missing mirco version

5 years agoefl_ui_win: modify window type for resolving namespace error 10/196410/2
Taehyub Kim [Fri, 28 Dec 2018 05:31:34 +0000 (14:31 +0900)]
efl_ui_win: modify window type for resolving namespace error

Change-Id: I6954e284db4e69123b46b1db6ab9ac12a2be3adf

5 years agoefl_access_object: modify gesture type for resolving namespace error 09/196409/3
Taehyub Kim [Fri, 28 Dec 2018 05:30:49 +0000 (14:30 +0900)]
efl_access_object: modify gesture type for resolving namespace error

Change-Id: I317e2759a3784c8301ed795117f638d01656db6e

5 years agoefl_mono: remove efl_access_object_role_get from blacklist 64/196664/2
Jaehyun Cho [Thu, 3 Jan 2019 08:31:16 +0000 (17:31 +0900)]
efl_mono: remove efl_access_object_role_get from blacklist

In 2fda262ca47fde2c83a0571bb61ef33c3be62cdc, efl_access_role_get is
modified to efl_access_object_role_get unlike upstream.

So this change is reverted in this patch to remove
efl_access_object_role_get from blacklist.

Change-Id: I3cfee63cb6b8d6487b0a6664c7681d70e173fbcd

5 years agoefl_input_device: modify the input device subtype for resolving namespace error 08/196408/2
Taehyub Kim [Fri, 28 Dec 2018 05:29:07 +0000 (14:29 +0900)]
efl_input_device: modify the input device subtype for resolving namespace error

Change-Id: I622aea806a9b939205fe7d341a8d094aeaa8553c

5 years agoevas vg: correct caching last frame index. 84/196584/3
Hermet Park [Wed, 2 Jan 2019 12:23:49 +0000 (21:23 +0900)]
evas vg: correct caching last frame index.

lottie-player accepts range 0 to totalFrame,
so don't need to -1 here.

Change-Id: Ic92618717184bc51b8154db15f4e1400d1075960

5 years agoelm_slider: added check for existence of parts. 15/196615/1
Bowon Ryu [Wed, 2 Jan 2019 12:04:44 +0000 (21:04 +0900)]
elm_slider: added check for existence of parts.

Tizen has various UX themes according to profile and product.
For a theme that does not have a part,
such as elm.dragable2.slider, elm.units, elm.units.min, elm.units.max, etc.
Many error messages are generated.
This patch checks the existence of the part first and then does someting.

@tizen_only

Change-Id: Ia282db92f238fb749633acc43c94b88bc22ff886
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 years agoevas vg: ++safe code. 57/196557/2
Hermet Park [Wed, 2 Jan 2019 08:22:08 +0000 (17:22 +0900)]
evas vg: ++safe code.

null argument handling.

Change-Id: Iced2af61c505f3d5ea7f944dddb1f86d66c78f1d

5 years agoevas vg: fix typo.
Hermet Park [Wed, 2 Jan 2019 04:38:23 +0000 (13:38 +0900)]
evas vg: fix typo.

Change-Id: I9fde4e25b0a68c85016b6fa954d34b722d7a576b

5 years agoevas vg: ++safe code
Hermet Park [Wed, 2 Jan 2019 04:33:25 +0000 (13:33 +0900)]
evas vg: ++safe code

strong check validation of vg object.

Change-Id: Ib6364797d4b57d94cbf2c0dae331c2b8a6d66591

5 years agoevas json: optimizing by reusing node-tree. 32/196432/1
Hermet Park [Fri, 28 Dec 2018 08:46:09 +0000 (17:46 +0900)]
evas json: optimizing by reusing node-tree.

We assume that structure of node tree(scene-graph) is not changable,
its tree heirarchy would be same every frame.

In this case, we don't need to reconstruct vector nodes,
just resuse them of previous frames.

Change-Id: I2dc43fac7eb784fd895228ae2b16f25997fccfa9

5 years agoevas vg: stablizing parenting logic. 17/196417/1
Hermet Park [Fri, 28 Dec 2018 06:13:55 +0000 (15:13 +0900)]
evas vg: stablizing parenting logic.

Cleaned up the case when null parent is coming.

and found out efl_data_scope_get() could return invalid data
when invalid CLASS type is given. it's handled as well.

Change-Id: Ic8996ec547b0f82bf0ef572021964e6c4e72f801

5 years agoevas vg: more strict check for the argument. 16/196416/1
Hermet Park [Fri, 28 Dec 2018 04:38:36 +0000 (13:38 +0900)]
evas vg: more strict check for the argument.

a shape node must have vg node as the parent.

Change-Id: I3b477342f416a7229200f66f1b750cf31bda131b

5 years agoefl gfx_path: remove EFL_GFX_PATH_EVENT_CHANGED 70/195970/6
Hermet Park [Fri, 28 Dec 2018 03:20:15 +0000 (12:20 +0900)]
efl gfx_path: remove EFL_GFX_PATH_EVENT_CHANGED

Summary:
Here is an additional optmization patch for removing
unnecessary updation of path,

For instance, let's assume this scenario:

If one vg object has 20 path nodes(shapes),
and every single nodes would have 50 path changes.
(like, append_cubic, append_rect, append_xxx ...);
There would 1000 events triggering.

Furthermore, if there are 20 vector objects in one view,
hese events would be triggered 20000 in one frame.

It's insane, actually I could figured out that happens.
and it took a lot of cpu consumption in some vector usages.

efl_gfx_path_commit() is my idea to avoid this.
When path is ready, the path need to get this api call in the last
 to make object changed properly.

@feature

Reviewers: #committers, cedric

Reviewed By: #committers, cedric

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ie5353c360a8cfa1bd8b0fcdf6d20bd9b58144bd

5 years agoRevert "Revert "evas vg: optimize vg object internal connections."" 48/196348/1
Hermet Park [Thu, 27 Dec 2018 10:53:36 +0000 (19:53 +0900)]
Revert "Revert "evas vg: optimize vg object internal connections.""

This reverts commit ec7eb6951287ea4fc54e89a0960b904432a7680e.

fixed the wearable issue, recover this patch.

Change-Id: Id911bd3ec7d24cda46aaf3aa22e873b220c576c6

5 years agoRevert "evas vg: optimize vg object internal connections." 31/196331/1 submit/tizen/20181227.084356
SangHyeon Jade Lee [Thu, 27 Dec 2018 07:48:01 +0000 (16:48 +0900)]
Revert "evas vg: optimize vg object internal connections."

This reverts commit 90d311db9c5a7aeb2264073c4a45bcfdcc30c730.

Change-Id: Ie46f314940c37707a6708617e5f67db275001ed8
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
5 years agoRevert "Revert "ecore: make efl_loop_promise_new a function of Efl.Loop_Consumer.""
Carsten Haitzler (Rasterman) [Wed, 26 Dec 2018 17:47:47 +0000 (17:47 +0000)]
Revert "Revert "ecore: make efl_loop_promise_new a function of Efl.Loop_Consumer.""

This reverts commit 42e886d8d61d551bb544b777e6d254ce4dd3fcf1.

5 years agomeson - fix meson build to specifically link to GL or GLES
Carsten Haitzler (Rasterman) [Wed, 26 Dec 2018 17:36:03 +0000 (17:36 +0000)]
meson - fix meson build to specifically link to GL or GLES

these are explicit options to choose gl or gles. i found that evas
moduels were not linking to gles, but to GL even wiht gles enabled.

5 years agofix crashes created by "make efl_loop_promise_new a function"
Carsten Haitzler (Rasterman) [Tue, 25 Dec 2018 13:00:38 +0000 (13:00 +0000)]
fix crashes created by "make efl_loop_promise_new a function"

commit 9b5155c9f135f9ef450a817979f5884352b2d4c0 brought about crashes
- specifically that i saw in terminology because it actually uses
eina_promise_data_set() and the new efl_loop_promise_new basically
took over ownership of that data, but if anyone used
eina_promise_data_set() the data ptr used by this new code would bwe
overwritten, causing segfauls when terminology loses selection
ownership. for days i had mysterious crashes of terminology until i
narrowed it down to the above, so if you have too, then this will fix
it.

what this does is create a data set intercept function callback that
for now is only for use inside efl to everride data sets so they set
data inside the new struct that tracks data. i also had to add and
intercept for eina_promise_data_free_cb_set() as this in theory could
also ber a similar problem.

so perhaps the idea/design of efl_loop_promise_new() is not right and
this kind of thgn has to be internal to eina promise... this means
eina promise and loops are much more tied together.

5 years agoefl_ui: activate widget focus on efl.ui.item.
SangHyeon Jade Lee [Wed, 26 Dec 2018 10:45:44 +0000 (19:45 +0900)]
efl_ui: activate widget focus on efl.ui.item.

Summary:
Unlikely efl.ui.Layout, Item need to be focusable,
so it may traverse list by your command of focus moving.

Test Plan:
tested in
efl_ui_list_example_1.c
efl_ui_grid_example_1.c
check whether item show their focus properly.

scroll feature is not yet supported by efl_ui_scroll itself.

Reviewers: eagleeye, cedric, Hermet, felipealmeida, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: bu5hm4n, cedric, #reviewers, #committers

Tags: #efl

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