platform/upstream/efl.git
5 years agoevas_textblock: fix clipper bug related with textblock 14/196214/1
Jiyoun Park [Wed, 26 Dec 2018 08:14:10 +0000 (17:14 +0900)]
evas_textblock: fix clipper bug related with textblock

assumtion: textblock A has the clipper rect B.

1. evas_render_updates_internal start
 : evas_object_clip_dirty_do( rect B)
 : evas_object_textblock_render_pre( textblock A)
   - if textlock A's o->redraw is EINA_TRUE (o->changed=1 is also same case)
   - textblock A's vis 1->0
   - clipper rect B lose the chance to call render_pre function.
   - clipper rect B's evas_render_mapped function is not called
 : pending_change(Rect B)
   - obj->pre_render_done = 0, so rect cannot be get the change to call evas_object_change_reset

when rect b remained the pending list and changed value is EINA_TRUE, it cause textblock's rendering problem

https://phab.enlightenment.org/D7512

Change-Id: I3624b85c39d0d79b0175965d26739a3a91505c97

5 years agoevas json: replace legacy calls with interface calls. 52/196052/2
Hermet Park [Fri, 21 Dec 2018 04:15:09 +0000 (13:15 +0900)]
evas json: replace legacy calls with interface calls.

This helps to avoid internal path events triggerings.

Change-Id: I5cf05506e9c0d2772cb59755aca07356f688f994

5 years agoRevert "disable lottie-player" 72/195972/1
Hermet Park [Thu, 20 Dec 2018 07:23:24 +0000 (16:23 +0900)]
Revert "disable lottie-player"

This reverts commit 8b901ae906cd037171e56faed26deb0de1036912.

Enable again after resolving TC issue.

Change-Id: I719e1f8291bc89492a180b75c63d1b0556ddccfb

5 years agoevas vg: optimize vg object internal connections. 32/195832/3
Hermet Park [Thu, 20 Dec 2018 05:42:38 +0000 (14:42 +0900)]
evas vg: optimize vg object internal connections.

Dectected huge amount of unnecessray internal events triggering
which were signaled via vg nodes.

By events, nodes were connected with each others,
and finally reaches to vg object to update its rendering properly.

However GFX_PATH_CHANGE signal is too commonly triggered for scenarios,
listening and response it is too burdensome.

We acutally don't need to do this if all nodes could share the
vg object. Nodes directly notify vg object to update it.

Next patch will come to remove stupid GFX_PATH_CHANGE that's aweful
in performance wise.

Change-Id: I5b92d2c05986670999b690255b1eb41688c8fb39

5 years agoevas vg: fix indentation. 25/195825/2
Hermet Park [Tue, 18 Dec 2018 06:25:24 +0000 (15:25 +0900)]
evas vg: fix indentation.

Change-Id: Ib4a5c3132be9471aa7c489588dd78c2842c8301f

5 years agoecore_wl2_window: save set_config.geometry for client demand geometry changes 11/195911/5
Juyeon Lee [Wed, 19 Dec 2018 10:34:56 +0000 (19:34 +0900)]
ecore_wl2_window: save set_config.geometry for client demand geometry changes

fix for the consistancy of geometry set by the client itself

@tizen_only

Change-Id: Ida908a00ebea029797773727990ab6c987c8011f

5 years agodisable lottie-player 76/195876/1 accepted/tizen/unified/20181220.061729 submit/tizen/20181219.071252
Yeongjong Lee [Wed, 19 Dec 2018 06:21:11 +0000 (15:21 +0900)]
disable lottie-player

Change-Id: Ib4c922098ac252482095d9fc49fa7f66a1e352b6

5 years agobuild: make bindings cross compileable submit/tizen/20181218.080725
Marcel Hollerbach [Mon, 17 Dec 2018 16:30:40 +0000 (17:30 +0100)]
build: make bindings cross compileable

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

5 years agobuild: remove unused meson file
Marcel Hollerbach [Mon, 17 Dec 2018 16:29:38 +0000 (17:29 +0100)]
build: remove unused meson file

this was added by accident

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

5 years agomeson: Enable dev flags for cpp
Lauro Moura [Mon, 17 Dec 2018 13:26:47 +0000 (13:26 +0000)]
meson: Enable dev flags for cpp

Had to add a pragma around CityHash64 to make it work with
-f-visibility=hidden

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

5 years agoevas vg: remove redundant function code.
Hermet Park [Mon, 17 Dec 2018 10:59:29 +0000 (19:59 +0900)]
evas vg: remove redundant function code.

5 years agoeolian_mono: use System.Type explicitly
Jaehyun Cho [Mon, 17 Dec 2018 10:35:04 +0000 (19:35 +0900)]
eolian_mono: use System.Type explicitly

Previously, "Type" was used with "using System".
However, it caused ambiguity if some classes had "Type" property.

Therefore, "System.Type" is used explicitly to remove ambiguity.

5 years agoelm_gengrid: improve genlist behaviour
Marcel Hollerbach [Wed, 12 Dec 2018 18:08:44 +0000 (19:08 +0100)]
elm_gengrid: improve genlist behaviour

the new behaviour is (as genlist in the previous commit):
- focus the first item when down is pressed
- focus the last item when up is pressed
- do not go into the widget with tab or ctrl+tab and just return
immidiantly

fixes T6805

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

5 years agoelm_widget_item_static_focus: fix ERR prints
Marcel Hollerbach [Wed, 12 Dec 2018 11:49:37 +0000 (12:49 +0100)]
elm_widget_item_static_focus: fix ERR prints

There is the case that the deletion of the adapter can cause another
registeration, which then calls another time prepare, which then deletes
the adapter, before the actaul deletion of the first efl_del happened,
which means it will throw an error. To avoid this we track if we are in
process of a unrealization, and if so, do not delete the item there.

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

5 years agoelm_genlist: behaviour fixes for genlist
Marcel Hollerbach [Wed, 12 Dec 2018 11:49:19 +0000 (12:49 +0100)]
elm_genlist: behaviour fixes for genlist

This implements the behaviour in case no item is yet focused, but the
genlist is focused.

ref T6805

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

5 years agoelm_gen****: fix focus restoring on window focus changes
Marcel Hollerbach [Tue, 11 Dec 2018 15:40:40 +0000 (16:40 +0100)]
elm_gen****: fix focus restoring on window focus changes

this ensures that if there is no focused item, that at least the
container is focused. This leads to the fact that the elm_genlist
/elm_gengrid is refocused when a window is unfocused and focused again.

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

5 years agoefl_ui_focus_manager: performance optimize order setting
Marcel Hollerbach [Sat, 8 Dec 2018 13:54:48 +0000 (14:54 +0100)]
efl_ui_focus_manager: performance optimize order setting

setting the order is a little bit expensive, this performance optimizes
order setting in the focus manager.  We don't need to set the order each
time something is registered, it is enough to set it once we need the
correct order.

We don't need to evalulate the state in the Manager_Root_Focus if the
rect is not registered. If its not, then another new element cannot
cause the rect to be registered.

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

5 years agoelm-test: add a test for checking the focus_next_object_set
Yeongjong Lee [Tue, 20 Nov 2018 15:44:15 +0000 (15:44 +0000)]
elm-test: add a test for checking the focus_next_object_set

The object which is set by elm_object_focus_next_object_set should be considered
first when focus moved.

ref T7389

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

5 years agoelm_focus: implement legacy targets for logical widgets
Marcel Hollerbach [Mon, 3 Dec 2018 15:28:05 +0000 (16:28 +0100)]
elm_focus: implement legacy targets for logical widgets

they are now handled. The list of parents is walked until a possible
candidate is found or the parent chain is the same then in the next
focused element.

fix T7389

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

5 years agoelm_focus: implement elm_object_focus_next_item_set / get
Marcel Hollerbach [Mon, 3 Dec 2018 10:46:48 +0000 (11:46 +0100)]
elm_focus: implement elm_object_focus_next_item_set / get

you can use this now to let the focus move to the widget container of
the passed item.

I know this patch contains a whitespace change, but i have to get out
this whitespace each & every time i am editing the file - which is
annoying. So remove it once, which makes further work easier.

fixes T6183.

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

5 years agoelm_config: fix valgrind warnings
Marcel Hollerbach [Wed, 12 Dec 2018 16:18:15 +0000 (17:18 +0100)]
elm_config: fix valgrind warnings

buf is only initializied, if on_flush is true.

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

5 years agobuild: add warnings and compiler flags to meson
Marcel Hollerbach [Fri, 7 Dec 2018 15:30:48 +0000 (16:30 +0100)]
build: add warnings and compiler flags to meson

this moves meson and autotools closer to each other. The flags are
selected in order to keep the amount of warnings low.

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

5 years agoevas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedef
Carsten Haitzler (Rasterman) [Sat, 15 Dec 2018 16:19:01 +0000 (16:19 +0000)]
evas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedef

It seems that GL_VERSION_1_5 define == these provided by gl already. At
least reading the mesa headers I do, so this should fix T7502

@fix

5 years agoefl-mono: Fix call of virtual methods after new API
Lauro Moura [Fri, 14 Dec 2018 22:39:09 +0000 (20:39 -0200)]
efl-mono: Fix call of virtual methods after new API

Summary:
After the new API, the virtual wrapper classes (*NativeInherit) just
declared the wrappers for the current class. But as they didn't have any
inheritance information, reimplementing methods from a parent Eo class
wouldn't work. (e.g. Efl.Ui.Button reimplementing Efl.Object
FinalizeAdd).

This commit changes these NativeInherit classes to mimic the inheritance
chain of their regular/abstract counterparts, reusing the virtual
wrapper implementations.

In order to access the correct Eo class created, the methods on it were
changed from static to instance methods. The instance will be held as a
class member of the regular/abstract API class to keep the delegates
alive and allow getting C Function pointers from them.

The class_initializer method was also split in two. The method
collecting the wrapper delegates was extracted in order to call the
parent ones.

Also avoid exception in cached strings queries as TryGetValue requires
non-null keys.

Test Plan: Run test suite.

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian-cxx: Add parent/extensions information to klass_def
Lauro Moura [Fri, 14 Dec 2018 20:52:56 +0000 (18:52 -0200)]
eolian-cxx: Add parent/extensions information to klass_def

Summary: Following new Eolian api.

Test Plan: Run newly added test

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeolian_mono: Add support for C# style properties
Lauro Moura [Fri, 14 Dec 2018 20:17:23 +0000 (18:17 -0200)]
eolian_mono: Add support for C# style properties

Summary: Syntatic sugar around the Get/Set functions for now.

Test Plan: Run efl-mono-suite

Reviewers: vitor.sousa, segfaultxavi, felipealmeida, Jaehyun_Cho

Reviewed By: vitor.sousa

Subscribers: cedric

Tags: #efl_language_bindings

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

5 years agoefl_ui_win: Don't allow the frame object to change size before first draw
Derek Foreman [Fri, 7 Dec 2018 16:46:11 +0000 (10:46 -0600)]
efl_ui_win: Don't allow the frame object to change size before first draw

This fixes a bug where calling:

evas_object_show(win);
evas_object_resize(win, 400, 400);
elm_run();

Would show a much smaller than 400,400 window on wayland, as the CSD
calcs would set the size smaller.

It also fixes some differences in startup size between X and wayland for
some trivial test clients.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7438

5 years agoevas_render: Ignore objects on planes for rendering
Derek Foreman [Mon, 22 Oct 2018 15:37:35 +0000 (10:37 -0500)]
evas_render: Ignore objects on planes for rendering

We want to pretend they're just not there at this point since the
hardware is responsible for drawing them.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7198

5 years agoecore_wl2: Fix anchor for xdg pop-ups
Derek Foreman [Thu, 6 Dec 2018 15:54:10 +0000 (09:54 -0600)]
ecore_wl2: Fix anchor for xdg pop-ups

Anchors are in window geometry, so we should be using 0,0 instead
of the parent x,y for the top left corner of the window.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7436

5 years agoee_wayland: Use object geometry instead of window geometry
Derek Foreman [Wed, 5 Dec 2018 16:34:01 +0000 (10:34 -0600)]
ee_wayland: Use object geometry instead of window geometry

wayland window geometry isn't currently being handled properly, but the
ecore_evas geometry should be correct and coherent.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7435

5 years agoecore_evas: Validate shadow geometry
Derek Foreman [Wed, 5 Dec 2018 16:12:01 +0000 (10:12 -0600)]
ecore_evas: Validate shadow geometry

Negative values in shadow geometry make no sense at all, however it's
happening all the time in wayland.  Let's throw an ERR so it doesn't go
unnoticed.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7434

5 years agogl_drm: use dlsym looked up symbol for extension check
Derek Foreman [Mon, 3 Dec 2018 19:25:30 +0000 (13:25 -0600)]
gl_drm: use dlsym looked up symbol for extension check

We looked this up with dlsym, so I guess we should use that even though
the direct call seems to work just fine most of the time.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7433

5 years agoee_wayland: Replace set_config.geometry direct use with getters
Derek Foreman [Wed, 28 Nov 2018 20:19:56 +0000 (14:19 -0600)]
ee_wayland: Replace set_config.geometry direct use with getters

I'm going to deal with some ugly geometry problems in the getter func
shortly.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7432

5 years agoecore_wl2: Replace direct usage of set_config.geometry with getters
Derek Foreman [Wed, 28 Nov 2018 20:18:45 +0000 (14:18 -0600)]
ecore_wl2: Replace direct usage of set_config.geometry with getters

I'm going to deal with some ugly geometry problems in the getter func
shortly.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7431

5 years agoecore_wl2: remove uniconify path from ecore_wl2_window_iconified_set
Derek Foreman [Wed, 28 Nov 2018 20:12:27 +0000 (14:12 -0600)]
ecore_wl2: remove uniconify path from ecore_wl2_window_iconified_set

Wayland shells have no way to unset iconified state.  What this code
did was corrupt current window state in potentially fatal ways.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7430

5 years agoevas_render: Ensure proper rendering when objects are on planes
Derek Foreman [Mon, 22 Oct 2018 15:35:39 +0000 (10:35 -0500)]
evas_render: Ensure proper rendering when objects are on planes

If only objects on planes change, we don't see any damage for the main
buffer, so a page flip never occurs and the plane doesn't update.  For
now forcing a tiny damage area is the easy way to work around this.

Also force a pixels get callback for enlightenment's surface frame
callback tracking.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7196

5 years agoevas_render: Render missing bits when plane state changes
Derek Foreman [Mon, 22 Oct 2018 15:33:35 +0000 (10:33 -0500)]
evas_render: Render missing bits when plane state changes

When we move an object into or off of a plane, we need the scene to be
rendered as if the object wasn't there.  This adds apprpopriate damage
to make that happen.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7195

5 years agoevas_render: Move plane setup code
Derek Foreman [Mon, 22 Oct 2018 15:32:24 +0000 (10:32 -0500)]
evas_render: Move plane setup code

Put this at the start of render so we can remove stuff on planes from
the scene graph entirely.  This stops us from drawing the entire object
underneat the plane.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7194

5 years agoevas_render: Refactor plane code
Derek Foreman [Mon, 22 Oct 2018 15:30:23 +0000 (10:30 -0500)]
evas_render: Refactor plane code

It's just tidier this way.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7193

5 years agoevas_object: Add function to test if hardware plane status changed
Derek Foreman [Mon, 22 Oct 2018 15:22:26 +0000 (10:22 -0500)]
evas_object: Add function to test if hardware plane status changed

This is used to check if an object has been put on or removed from a
hardware plane between calls.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7192

5 years agoevas_object: Add function to test if an object is on a hardware plane
Derek Foreman [Mon, 22 Oct 2018 15:20:28 +0000 (10:20 -0500)]
evas_object: Add function to test if an object is on a hardware plane

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7190

5 years agomeson: fix build on power/ppc targets with altivec enabled
Daniel Kolesa [Sun, 9 Dec 2018 21:31:30 +0000 (22:31 +0100)]
meson: fix build on power/ppc targets with altivec enabled

5 years agomeson - systemd - fix check to systemd209+ checks that were not done
Carsten Haitzler (Rasterman) [Sat, 8 Dec 2018 04:47:06 +0000 (04:47 +0000)]
meson - systemd - fix check to systemd209+ checks that were not done

autofoo did these and set defines code relied on. meson did not. this
fixes that and makes meson do the same checks with the same defines.

5 years agoevas cpu - just rely on eina cpu entirely to avboid feature dups
Carsten Haitzler (Rasterman) [Sat, 8 Dec 2018 04:46:03 +0000 (04:46 +0000)]
evas cpu - just rely on eina cpu entirely to avboid feature dups

so evas cpu used to be the thing then eina cpu came and did the same
and evas cpu optionalyl could lsit on top... just move it all to eina
cpu so one central place does this and evas_cpu is purely a compat
wrapper.

5 years agoelementery: fix mouse selection of items in efl.ui.list_view
Leonardo Loch [Thu, 6 Dec 2018 16:28:41 +0000 (14:28 -0200)]
elementery: fix mouse selection of items in efl.ui.list_view

5 years agobuild: draw is using functions from rg_etc
Marcel Hollerbach [Fri, 7 Dec 2018 14:01:21 +0000 (15:01 +0100)]
build: draw is using functions from rg_etc

this means when you use draw you should automatically drag in rg_etc.

This fixes a build problem reported on irc.

5 years agoecore_con: no need for a long timeout when we know the test is supposed to timeout.
Cedric BAIL [Wed, 5 Dec 2018 18:47:06 +0000 (10:47 -0800)]
ecore_con: no need for a long timeout when we know the test is supposed to timeout.

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

5 years agoeo: fix efl_future_then example.
Cedric BAIL [Fri, 7 Dec 2018 12:22:31 +0000 (13:22 +0100)]
eo: fix efl_future_then example.

Summary: Depends on D7393

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoecore: add a full test for efl_future_then and efl_future_chain.
Cedric BAIL [Fri, 7 Dec 2018 11:58:36 +0000 (12:58 +0100)]
ecore: add a full test for efl_future_then and efl_future_chain.

Summary: Depends on D7392

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: bu5hm4n, segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agomeson: add inital support for windows compilation
Marcel Hollerbach [Tue, 4 Dec 2018 19:38:07 +0000 (20:38 +0100)]
meson: add inital support for windows compilation

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

5 years agomeson: enable cross compiling
Marcel Hollerbach [Tue, 4 Dec 2018 19:33:07 +0000 (20:33 +0100)]
meson: enable cross compiling

the inital work for this commit was coming from `Mark van der Putten`.
In order to not have more options for this, the idea came up to use
mesons autodetection using PATH.

If a cross file is specified, the binaries are used from the system,
rather than from the intree. (Which means --cross-file has the
dependency of efl on the buildsystem)

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

5 years agoecore: fix typo in comments.
Cedric BAIL [Fri, 7 Dec 2018 11:54:38 +0000 (12:54 +0100)]
ecore: fix typo in comments.

Summary: Depends on D7391

Reviewers: bu5hm4n, segfaultxavi, kimcinoo

Reviewed By: kimcinoo

Subscribers: kimcinoo, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoecore: add efl_app_test to the meson build and run the test.
Cedric BAIL [Fri, 7 Dec 2018 11:46:54 +0000 (12:46 +0100)]
ecore: add efl_app_test to the meson build and run the test.

Summary: Depends on D7390

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoecore: efl_app_suite doesn't need to depends on Efl_Net.
Cedric BAIL [Fri, 7 Dec 2018 11:44:31 +0000 (12:44 +0100)]
ecore: efl_app_suite doesn't need to depends on Efl_Net.

Summary: Depends on D7381

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoecore: use efl_future_then to simplify the code logic and reduce potential bugs.
Cedric BAIL [Fri, 7 Dec 2018 11:29:22 +0000 (12:29 +0100)]
ecore: use efl_future_then to simplify the code logic and reduce potential bugs.

Summary: Depends on D7380

Reviewers: segfaultxavi, felipealmeida, SanghyeonLee, vitor.sousa, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: barbieri, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoautotools: evil: add needed -lmsvcr100 library flag for _create/_free_locale()
Stefan Schmidt [Fri, 7 Dec 2018 10:14:46 +0000 (11:14 +0100)]
autotools: evil: add needed -lmsvcr100 library flag for _create/_free_locale()

Since commit 33b8e5157a25b73a0729055ecd22b17e97781e11 we need these two
new symbols on our windows cross build. At least on my mingw system they
are not showing up by default and I need to ensure we are linking
against msvcr100 to get them or I get undefined references during
linking.

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

5 years agoci: mingw: enable various build options with dependencies now satisfied
Stefan Schmidt [Wed, 28 Nov 2018 09:52:42 +0000 (10:52 +0100)]
ci: mingw: enable various build options with dependencies now satisfied

After some fixes and updates in ewpi we now have gstreamer, libtiff and
bullet ready as cross compiled dependencies. Time to enable them in the
build.

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

5 years agotravis: re-enable mingw build with newer eolian_gen for bootstrap
Stefan Schmidt [Wed, 28 Nov 2018 09:49:05 +0000 (10:49 +0100)]
travis: re-enable mingw build with newer eolian_gen for bootstrap

The docker image now contains a native efl build as bootstrap for doing
the mingw cross-build. Paths to the generator binaries have been
update. We also switched to using a dedicated Fedora28-mingw docker
image for now to have a more stable environment for now.

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

5 years agoecore: remove unecessary intermediate variable.
Cedric BAIL [Fri, 7 Dec 2018 11:24:00 +0000 (12:24 +0100)]
ecore: remove unecessary intermediate variable.

Summary: Depends on D7379

Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoeo: make efl_future_then have a data pointer in addition of the object pointer.
Cedric BAIL [Fri, 7 Dec 2018 11:15:16 +0000 (12:15 +0100)]
eo: make efl_future_then have a data pointer in addition of the object pointer.

Summary:
In the case when you have multiple future in flight related to one object, you
couldn't use the previous version of efl_future_then. Now all function calls
take a void* pointer that allow multiple future to have their private data
request data accessible in all the callback.

This should not break released API as Eo.h is not released yet and so
was efl_future_Eina_FutureXXX_then.

Depends on D7332

Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoelementary: make Efl.Ui.Factory.create asynchronous.
Cedric BAIL [Fri, 7 Dec 2018 10:26:54 +0000 (11:26 +0100)]
elementary: make Efl.Ui.Factory.create asynchronous.

Reviewers: felipealmeida, SanghyeonLee, vitor.sousa, bu5hm4n, segfaultxavi

Reviewed By: felipealmeida, vitor.sousa, segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

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

5 years agoconfigure - set elogind off by default as the --help says
Carsten Haitzler (Rasterman) [Fri, 7 Dec 2018 10:29:01 +0000 (10:29 +0000)]
configure - set elogind off by default as the --help says

the default says its disabled, but it's actually enabled by default.
fix to match the help.

5 years agoelput: Add elogind as meson option
Chris Michael [Thu, 29 Nov 2018 12:11:57 +0000 (07:11 -0500)]
elput: Add elogind as meson option

5 years agoefl: Add support to elput for using elogind instead of systemd
Chris Michael [Wed, 18 Jul 2018 02:24:49 +0000 (22:24 -0400)]
efl: Add support to elput for using elogind instead of systemd

@feature

5 years agoelput: Fix ifdef check to support elogind also
Chris Michael [Wed, 18 Jul 2018 02:24:32 +0000 (22:24 -0400)]
elput: Fix ifdef check to support elogind also

5 years agoelput: Fix ifdef check to work for elogind also
Chris Michael [Wed, 18 Jul 2018 02:23:42 +0000 (22:23 -0400)]
elput: Fix ifdef check to work for elogind also

5 years agoelput: Add include flie for elogind support
Chris Michael [Wed, 18 Jul 2018 02:23:21 +0000 (22:23 -0400)]
elput: Add include flie for elogind support

5 years agoevas - cpu - fix sve check when neon is disabled...
Carsten Haitzler (Rasterman) [Thu, 6 Dec 2018 15:28:25 +0000 (15:28 +0000)]
evas - cpu - fix sve check when neon is disabled...

5 years agoci: disable testing on ubuntu and debian
Marcel Hollerbach [Sun, 2 Dec 2018 10:15:47 +0000 (11:15 +0100)]
ci: disable testing on ubuntu and debian

it appears that there is a bug in meson (which is fixed upstream).
For now this disables the tests, it can be reverted later once 0.49 is
released.

This fixes the cron job for 2 jobs.

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

5 years agomeson: remove DATADIR as it is not used
Marcel Hollerbach [Tue, 4 Dec 2018 20:04:07 +0000 (21:04 +0100)]
meson: remove DATADIR as it is not used

and further more, on windows this causes un-understandable compiler
errors.

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

5 years agomeson: abstract edje_cc exec lines
Marcel Hollerbach [Tue, 4 Dec 2018 16:43:10 +0000 (17:43 +0100)]
meson: abstract edje_cc exec lines

the array is calling the shell etc. this makes cross building easier.

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

5 years agoefl: fix misspelt focused in API and documents.
Alastair Poole [Sat, 17 Nov 2018 14:28:59 +0000 (14:28 +0000)]
efl: fix misspelt focused in API and documents.

Fix spelling in elm_code API and other documents too where this occurs.
Differential Revision: https://phab.enlightenment.org/D7299

5 years agocanvas: disable an eolian-style api reference
Daniel Kolesa [Thu, 6 Dec 2018 10:41:14 +0000 (11:41 +0100)]
canvas: disable an eolian-style api reference

This references a file that is not being installed, so the eo
file will fail to parse when used as a system-wide .eo file.

Introduced in 05682eed7d572874928424af82fba819790c4228.

Fixes T7495.

5 years agoecore_con: handle timeout of the attempt to connect.
Cedric BAIL [Fri, 30 Nov 2018 23:48:13 +0000 (15:48 -0800)]
ecore_con: handle timeout of the attempt to connect.

This has been the fix that prevent random ecore_con DNS tests to fail for me. This should also in case
of failure make the timeout of the ecore_con itself be honored which wasn't anymore.

@fix

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

5 years agoecore_con: wait for thread to finish at the same time as canceled to avoid race condi...
Cedric BAIL [Fri, 30 Nov 2018 23:47:38 +0000 (15:47 -0800)]
ecore_con: wait for thread to finish at the same time as canceled to avoid race condition.

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

5 years agoecore_con: properly track each handler separately and destroy each only once.
Cedric BAIL [Fri, 30 Nov 2018 23:45:39 +0000 (15:45 -0800)]
ecore_con: properly track each handler separately and destroy each only once.

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

5 years agoecore_con: reinit ecore_con after complete shutdown so that suite ecore_con_shutdown...
Cedric BAIL [Fri, 30 Nov 2018 23:44:43 +0000 (15:44 -0800)]
ecore_con: reinit ecore_con after complete shutdown so that suite ecore_con_shutdown doesn't complain.

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

5 years agoecore_con: fix multi shutdown excessive warning by initializing ecore independently.
Cedric BAIL [Fri, 30 Nov 2018 23:43:15 +0000 (15:43 -0800)]
ecore_con: fix multi shutdown excessive warning by initializing ecore independently.

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

5 years agoecore_con: enforce connection state to not let a hanging connection continue.
Cedric BAIL [Fri, 30 Nov 2018 23:26:12 +0000 (15:26 -0800)]
ecore_con: enforce connection state to not let a hanging connection continue.

It is expected that when the connection state is forcefully set, that all
hanging connection should be stopped instead of them continuing and later
resetting the state to having a connection.

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

5 years agoecore_con: refactor TCP Dialer to always wait for thread to finish.
Cedric BAIL [Fri, 30 Nov 2018 23:24:23 +0000 (15:24 -0800)]
ecore_con: refactor TCP Dialer to always wait for thread to finish.

This is a better way to avoid race execution by the async end callback
that could happen at some later random point in time. The thread are
cancelled right away, so event if their is a "wait" time set, it should
never actually matter and be always instantaneous.

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

5 years agoTests: adapt some tests for Exactness
Daniel Zaoui [Wed, 5 Dec 2018 20:54:38 +0000 (22:54 +0200)]
Tests: adapt some tests for Exactness

Home directory cannot be used for the tests as the shots will always be
different between machines.
A test directory is created to solve this issue.

5 years agoefl_ui_tab_bar: fix error about double free
Bowon Ryu [Wed, 5 Dec 2018 11:28:24 +0000 (20:28 +0900)]
efl_ui_tab_bar: fix error about double free

Summary:
tab is the parent of the icon.
so deleting the tab causes deleting the icon automatically.
in this case, it can cause double-freed problem once icon has deleted.

Test Plan: elementary_test -to efl.ui.tab_pager

Reviewers: cedric, Jaehyun_Cho, jpeg

Reviewed By: Jaehyun_Cho

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoeina: fix a build failure caused by missing 'locale_t' from OSX
Youngbok Shin [Wed, 5 Dec 2018 07:56:22 +0000 (07:56 +0000)]
eina: fix a build failure caused by missing 'locale_t' from OSX

In OSX, locale_t is included in xlocale.h
@fix
Differential Revision: https://phab.enlightenment.org/D7395

5 years agoRevert "Revert "eina: add locale-independent eina_convert_strtod_c function""
Marcel Hollerbach [Wed, 5 Dec 2018 10:04:23 +0000 (11:04 +0100)]
Revert "Revert "eina: add locale-independent eina_convert_strtod_c function""

This reverts commit ddd263875896c11b7d0875c7357a3322243290d9.

5 years agoenable lottie-player 50/195650/3
Hermet Park [Mon, 17 Dec 2018 05:08:31 +0000 (14:08 +0900)]
enable lottie-player

If your system is still looking at the old server,

Please use below:

http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/

Change-Id: I0933d74b2c00876fb770681d29613bf04edc3b80

5 years agoefl gfx_path: fix a crash case. 65/195665/1
Hermet Park [Mon, 17 Dec 2018 06:44:13 +0000 (15:44 +0900)]
efl gfx_path: fix a crash case.

Here reserved size was not properly specified that interrupt realloc() size.

Some architecture may have 8 bytes for pointer type
but here path command actually 4 byte data.

Changed to specify the sizeof(Efl_Gfx_Path_Command and double)
instead of variable types(which is a pointer type) to make it work.

Change-Id: I3ace56d3066aa1168920fcbbc19e0c538fb9bdeb

5 years agoevas json: optimize by applying path reserving. 62/195562/2
Hermet Park [Fri, 14 Dec 2018 08:28:33 +0000 (17:28 +0900)]
evas json: optimize by applying path reserving.

We can measure the path command and points count in advance.
Skip the growing up path buffer by reserving buffer.

Change-Id: I77887ae2c2fad283c359527287964644ed60209d

5 years agoefl gfx_path: introduce efl_gfx_path_reserve() 60/195560/2
Hermet Park [Fri, 14 Dec 2018 08:26:38 +0000 (17:26 +0900)]
efl gfx_path: introduce efl_gfx_path_reserve()

Summary:
This method reserves path commands buffer in advance.
If user know the count of path commands coming,
they can reserve commands buffer in advance to avoid buffer growing job.

This reserved buffer would grow up by double size, if the buffer is full.

@feature

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: If6cff3783280aa670c96049a156eb39a8d7c6b0b

5 years agoevas json: fix warnings about unused params. 28/195428/1
Hermet Park [Thu, 13 Dec 2018 11:01:24 +0000 (20:01 +0900)]
evas json: fix warnings about unused params.

Change-Id: I1aac0938d8ea9a1916215159188cfffe9b6d4d25

5 years agoevas vg: adjust pos and size to keep the aspect ratio. 27/195427/1
Hermet Park [Thu, 13 Dec 2018 11:00:23 +0000 (20:00 +0900)]
evas vg: adjust pos and size to keep the aspect ratio.

This computation is to adjust the offset and size of the drawing area,
in order to keep the original aspect ratio by the vector resource.

Change-Id: I0f1af046bd8b4b09ba58ff1f6b11bf7e55090c99

5 years agoefl: update spec examples for efl and/or elementary optional build 85/195185/2
Jongmin Lee [Tue, 11 Dec 2018 10:13:58 +0000 (19:13 +0900)]
efl: update spec examples for efl and/or elementary optional build

@tizen_fix

Change-Id: Ia93debddcb6cd90430c6c6d8153b35d9897e6019

5 years agoFix for missing unregistration of atspi objects 03/195203/3
Radoslaw Cybulski [Tue, 11 Dec 2018 12:44:19 +0000 (13:44 +0100)]
Fix for missing unregistration of atspi objects

Atspi objects weren't properly unregistered, when being destroyed. As a
result atspi query could come from screen-reader, which could cause
application to use object, that was already destroyed and crash an
application.

Change-Id: If50076b06816957df5707528b8147af6eb69c306

5 years agodisable lottie-player. 38/195138/1
Hermet Park [Tue, 11 Dec 2018 05:30:19 +0000 (14:30 +0900)]
disable lottie-player.

the pakage can't be installed properly,
Must be fixed first.

Change-Id: I9e8e8a5f9794d94e7cd357e66d861a0a3bbd2da1

5 years agoelementary: contain elm_animation_view build in mobile/wearable version. 23/194923/2
Hermet Park [Sat, 8 Dec 2018 06:36:07 +0000 (15:36 +0900)]
elementary: contain elm_animation_view build in mobile/wearable version.

Change-Id: I19ac08ef294f04c6f4d6c5ca4eb01e49c5c1b4dc

5 years agoready to use lottie-player. 20/194920/3
Hermet Park [Sat, 8 Dec 2018 05:21:01 +0000 (14:21 +0900)]
ready to use lottie-player.

Change-Id: Ia1d0f32a170a831cf1edc96ab27bfeb4fc9e1741

5 years agoevas gl: sync with upstream code. 18/194918/2
Hermet Park [Sat, 8 Dec 2018 05:04:29 +0000 (14:04 +0900)]
evas gl: sync with upstream code.

This code diff is come from meson build capacity.
No logical changes.

Change-Id: I94245e966720b3e97ed009ba242077e17f05156b

5 years agoevas gl: remove cserve2 code in tizen only. 19/194919/2
Hermet Park [Sat, 8 Dec 2018 05:06:58 +0000 (14:06 +0900)]
evas gl: remove cserve2 code in tizen only.

efl gave up maintaining cserve2 recently.
don't need this code.

Change-Id: Ie5e2042b70f7014b8a4a16ea2d27550dc4776d38

5 years agoevas json: fix compile warning. 35/194835/1
Hermet Park [Fri, 7 Dec 2018 09:13:58 +0000 (18:13 +0900)]
evas json: fix compile warning.

The function doesn't have return value.

Change-Id: Ia110a46d3b28ed109a024013d2c5ebd139da58d0

5 years agoevas vg: safety code++ 34/194834/1
Hermet Park [Fri, 7 Dec 2018 09:12:13 +0000 (18:12 +0900)]
evas vg: safety code++

Change-Id: I8e0f17607323a680b7b5bfa5994de588c267293e

5 years agoector: code refactoring. 75/194775/1
Hermet Park [Fri, 7 Dec 2018 06:50:57 +0000 (15:50 +0900)]
ector: code refactoring.

make code clean and neat.
no logical changes.

Change-Id: Ib6b324b24a2e97c6628a5ed6abf14062815de8ff