platform/upstream/efl.git
5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:53:11 +0000 (10:53 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:51:43 +0000 (10:51 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:49:14 +0000 (10:49 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:48:30 +0000 (10:48 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:47:38 +0000 (10:47 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:46:31 +0000 (10:46 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:45:48 +0000 (10:45 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:45:04 +0000 (10:45 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:43:54 +0000 (10:43 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:43:13 +0000 (10:43 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:42:35 +0000 (10:42 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:41:23 +0000 (10:41 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:40:31 +0000 (10:40 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:39:33 +0000 (10:39 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:38:24 +0000 (10:38 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:33:49 +0000 (10:33 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:30:29 +0000 (10:30 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:29:45 +0000 (10:29 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:28:51 +0000 (10:28 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoelementary: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:27:29 +0000 (10:27 -0500)]
elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoeolian: check whether events conflict in inheritance tree (off)
Daniel Kolesa [Wed, 21 Nov 2018 15:26:00 +0000 (16:26 +0100)]
eolian: check whether events conflict in inheritance tree (off)

Previously, the EOLIAN_EVENT_REDEF_WARN environment variable
enabled extra checks that would include events in checking
conflicts against methods. Since this is probably not necessary
and naming events the same as methods is perfectly fine in itself,
relax this rule and check events completely independently.

In practice, this will disallow using the same name for two
events within the same inheritance tree, which is desirable
in longer term, but cannot be enabled just yet because we have
too many of those conflicts. But it also allows the events to
be named the same as methods or parts, which is fine and was not
possible before.

5 years agoemotion: Reduce EO calls by using geometry_set
Chris Michael [Wed, 21 Nov 2018 15:00:09 +0000 (10:00 -0500)]
emotion: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.

5 years agoeet - dictorinary - tidy up code to be easier to read
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 17:15:57 +0000 (17:15 +0000)]
eet - dictorinary - tidy up code to be easier to read

more compact so less scrolling - easier to read.

5 years agoeet dict - remove redundant check of len, str and possibly strcmp
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 16:57:24 +0000 (16:57 +0000)]
eet dict - remove redundant check of len, str and possibly strcmp

aim for small speedups.

5 years agoeet - dictionary - use rwlocks instead of spinlocks - better contention
Carsten Haitzler (Rasterman) [Tue, 20 Nov 2018 16:55:45 +0000 (16:55 +0000)]
eet - dictionary - use rwlocks instead of spinlocks - better contention

if the dict is contended on by lots of threads then a spinlock really
makes it slow. a rwlock gets about 1.5-2x speedup depending on
arch/thread count.

@optimize

5 years agoevas_object_image: fix cutout bug related with opaque object
Jiyoun Park [Wed, 21 Nov 2018 11:55:32 +0000 (20:55 +0900)]
evas_object_image: fix cutout bug related with opaque object

Summary:
  condition:
  1. full size rect
  2. upper side, if there is same size image object and image object preload state is EVAS_IMAGE_PRELOADING.
  below rect cannot be rendered because upper image object was added to cutout area event though image object is not opaque.

  so fix opaque check function return false for opaque state of preloading image.

Reviewers: Hermet, raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelm_gengrid: transform P233 into a testcase
Marcel Hollerbach [Wed, 14 Nov 2018 16:50:04 +0000 (17:50 +0100)]
elm_gengrid: transform P233 into a testcase

the new testcase checked if the focus is correctly restored after the
gengrid is focused again. And it checks that the focused_item pointer is
NULLed out when the gengrid is not focused at all anymore.

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

5 years agoelm_gengrid: enable focus api for none realized items
Marcel Hollerbach [Tue, 13 Nov 2018 16:36:31 +0000 (17:36 +0100)]
elm_gengrid: enable focus api for none realized items

this ensures that the item is focused once the item is realized.
The last_focused_item point is not NULLed anymore, it will be overridden
anyways a few lines below, if the 'if' below is not going to be
executed, then we should not NULL out the field at all, since we want to
remember the item when we are restoring focus in
_elm_gengrid_efl_ui_focus_manager_setup_on_first_touch.

This resolved the latest comment in D7230

This also resolves T7391.

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

5 years agoelm_legacy: use the new api
Marcel Hollerbach [Tue, 13 Nov 2018 08:33:28 +0000 (09:33 +0100)]
elm_legacy: use the new api

with using the new api of efl.ui.focus.object we can resolve a bug that
was pointed out in P243.

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

5 years agoelm-test: simulate focus on the window
Marcel Hollerbach [Tue, 20 Nov 2018 17:18:04 +0000 (18:18 +0100)]
elm-test: simulate focus on the window

we cannot rely on the compositor to actaully get focus.
However, a few widgets are only doing focus operations if they can get
focus, if not they do nothing. Which effectifility turns off every focus
operation if you don't have compositor focus. In order to work arround
this, we are getting the ee, NULL out the callbacks, so the window does
not know about the the *real* compositor focus, after that we manully
say that the root object has focus, so normal operations can be
performed again.

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

5 years agoelm_gen****: correctly return the focus parent
Marcel Hollerbach [Tue, 13 Nov 2018 15:34:17 +0000 (16:34 +0100)]
elm_gen****: correctly return the focus parent

this was forgotten before. However, now the correct parents are returned
This is needed in order to have the child_focus property propagated
correctly accross the parent chain.

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

5 years agoefl_ui_focus_object: add new event
Marcel Hollerbach [Mon, 12 Nov 2018 15:08:40 +0000 (16:08 +0100)]
efl_ui_focus_object: add new event

the new event indicates when the focus property of a child has changed.

Fixes T7438

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

5 years agoelm-test: add a test for checking the event handling
Marcel Hollerbach [Fri, 2 Nov 2018 01:18:44 +0000 (02:18 +0100)]
elm-test: add a test for checking the event handling

This tests creates a giant box with widgets in them. Each widget that is
tested is added to the box, focus is moved into it, and away from it,
the corresponding events are then checked.

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

5 years agoelm_list: fix focus without items
Marcel Hollerbach [Fri, 2 Nov 2018 09:27:25 +0000 (10:27 +0100)]
elm_list: fix focus without items

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

Change-Id: Ia609c84ebe119011ad5a76c14dfb0de53914a4b0

5 years agoelm_gen****: ensure that no focus item is handled correctly
Marcel Hollerbach [Fri, 2 Nov 2018 01:17:26 +0000 (02:17 +0100)]
elm_gen****: ensure that no focus item is handled correctly

This ensures that on first touch the root dummy element is focused
correctly.

fix T7203

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

Change-Id: Icaaad4d03b50430e87f2c3d2bb46d5be65d09b70

5 years agoefl_ui_focus_manager: make active getter work correctly
Marcel Hollerbach [Fri, 2 Nov 2018 01:13:48 +0000 (02:13 +0100)]
efl_ui_focus_manager: make active getter work correctly

focus managers can be used via composition, in this case the normal
manager is NOT inheriting from the
EFL_UI_FOCUS_MANAGER_WINDOW_ROOT_INTERFACE class, but the composition
parent is.

fix T7390

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

5 years agoci: mingw build target to cross compile EFL for Windows
Stefan Schmidt [Wed, 22 Aug 2018 12:51:12 +0000 (14:51 +0200)]
ci: mingw build target to cross compile EFL for Windows

We are using the EFL windows package installer (ewpi) from Vincent Torri
here (thanks!) to setup all the needed cross compiled dependencies for
EFL.

The make target is disabled as we are not able to execute the windows
binaries withour additional work to run check.

Work is ongoing in ewpi to have the dependencies provided for soem of
the disabled build options (gstreamer, webp, tiff, physics, etc). Once
these are working well in ewpi we will enable them here as well.

[Brought back after revert. CI image is now fixed to have the needed
pre-built windows components again]

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

5 years agoci/dockerfiles: remove outdated files maintained elsewhere
Stefan Schmidt [Mon, 19 Nov 2018 13:24:52 +0000 (14:24 +0100)]
ci/dockerfiles: remove outdated files maintained elsewhere

For a long time now we maintain the needed dockerfiles in a different
repo: https://github.com/Enlightenment/ci-support-files

Doing so allows use to easily use Docker Hub to build these images being
used by Travis CI. The ones deleted here are outdated for a while now
and of no real use anymore.

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

5 years agotravis: drop archlinux from Travis cron builds
Stefan Schmidt [Mon, 19 Nov 2018 13:12:22 +0000 (14:12 +0100)]
travis: drop archlinux from Travis cron builds

With Archlinux being a rolling release every new build of the docker
image could contain new changes that would break for us. For all other
distros we also follow the latest release approach where we want to make
sure efl still builds for it. With Archlinux this is not possible by its
nature. Luckily enough efl developers use Archlinux so the risk of
issues being left unnoticed is small enough.

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

5 years agoefl_ui_format: remove supporting default TM format in interface.
Woochanlee [Tue, 20 Nov 2018 08:59:18 +0000 (09:59 +0100)]
efl_ui_format: remove supporting default TM format in interface.

Summary:
efl_ui_format printed ERR log in calendar use case.

calendar only accept format as "B,b,h,m,y,Y"

But it doesn't cover that and not supporting TM type.

If there is other widget which one using format interface, It also has own accpeted format.

So i think it should impelment on widget side.

Test Plan: elementary_test -> efl_ui_calendar.

Reviewers: Hermet, singh.amitesh, Jaehyun, zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers, zmike

Tags: #efl

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

5 years agoevas ector: use proper prefix name 03/194403/2
Hermet Park [Tue, 4 Dec 2018 04:54:30 +0000 (13:54 +0900)]
evas ector: use proper prefix name

Change-Id: I6e5664d6ad9cc0165ac115b755dc97fa93dcb132

5 years agoevas vg: add one comment todo. 01/194001/2
Hermet Park [Wed, 28 Nov 2018 06:38:56 +0000 (15:38 +0900)]
evas vg: add one comment todo.

Change-Id: I6932d3d6e045319924b7913c0807530b00bbfc26

5 years agoevas ector: Replace renderer preparation responsibility. 00/194000/2
Hermet Park [Wed, 28 Nov 2018 06:31:59 +0000 (15:31 +0900)]
evas ector: Replace renderer preparation responsibility.

Replace fill/stroke renderer preparation of shapes to canvas vg,
These renderer now is triggered by their own instances.

This cairo change part is missing bym cbf70b32f049583fc0bf7542af7d89d4ef5d50c55.

Change-Id: I7f1bb6f1e7465e371f3736752b69939cf7e405b8

5 years agoevas ector: Replace renderer preparation responsibility. 73/193973/2
Hermet Park [Wed, 28 Nov 2018 04:38:23 +0000 (13:38 +0900)]
evas ector: Replace renderer preparation responsibility.

Replace fill/stroke renderer preparation of shapes to canvas vg,
These renderer now is triggered by their own instances.

Change-Id: I22a31cc174150a8087f37f6c1cd60fffd1dc80bf

5 years agowayland_shm: set/update serial for tbm in every commit 68/194368/2
Juyeon Lee [Mon, 3 Dec 2018 12:05:52 +0000 (21:05 +0900)]
wayland_shm: set/update serial for tbm in every commit

serial number is generated in engine(wayland_shm and wayland_egl either)
and set it on client tbm buffer before rendering commit
it is increased after the commit
a client could acquire some requests using a serial ahead of the rendering.
than the serial number with wl_surface commit delivery means on server that
server should allow the client's request at that time of the delivery
(buffer w/ the request serial)

@tizen_only

Change-Id: I71fa9c003d02bc8d10ccfa37e4db6d76b15d49ef
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
5 years agoevas_wl_main: increase and update a serial for gl backend after swapbuffer 18/194218/3
Juyeon Lee [Fri, 30 Nov 2018 05:10:28 +0000 (14:10 +0900)]
evas_wl_main: increase and update a serial for gl backend after swapbuffer

@tizen_only

Change-Id: If6594586b5cc41e6104150ed953b6a23e0ca5d34

5 years agoector: remove quality option. 68/193968/2
Hermet Park [Wed, 28 Nov 2018 03:03:58 +0000 (12:03 +0900)]
ector: remove quality option.

This option is empty, useless.
No plan to support it.

Change-Id: I87a29e401555d95b957eea54e8f8057cdc9e906a

5 years agoelementary: introduce a new widsget - elm_animation_view 19/194319/2
Hermet Park [Mon, 3 Dec 2018 05:34:22 +0000 (14:34 +0900)]
elementary: introduce a new widsget - elm_animation_view

Elm_Animation_View is designed to display Efl_Canvas_Vg Animation (Lottie)

This is a beta, intermediate development version to introduce tizen 5.5

Change-Id: I14ba6232b98fd109952a6573ebc33d7e84904c38

5 years agoevas gl: Remove single-line pipe code of gl commands. 12/194212/1
Hermet Park [Fri, 30 Nov 2018 04:30:15 +0000 (13:30 +0900)]
evas gl: Remove single-line pipe code of gl commands.

Summary:
GLPIPES is proved to use since it's been used for many years as the default.
On the other hand, single-line routine hans't, acutally it's not maintained properly.
Even this single-line routine doesn't compileable right moment.

This patch is one refactoring to clean up code that's not valuable to maintain.

Reviewers: #committers, raster, cedric, ManMower

Reviewed By: #committers, ManMower

Subscribers: ManMower, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Id80ee877544e02959f4606a3c8180637d8c72137

5 years agoUpdate LC_NUMERIC value as previous value 95/194095/3
n1214.hwang [Wed, 28 Nov 2018 09:12:37 +0000 (18:12 +0900)]
Update LC_NUMERIC value as previous value

Change-Id: Ib1148d5e3b2781c3e94ad690f1c8d52f8b1fbe4f

5 years agoAdd missing call to _is_operation_permitted in DoActionName atspi call 09/193909/2
Radoslaw Cybulski [Tue, 27 Nov 2018 10:50:56 +0000 (11:50 +0100)]
Add missing call to _is_operation_permitted in DoActionName atspi call

Change-Id: I0627e1f2cea5d58e9d57cbf7dddf50d93e825317

5 years ago[access] do not have to read out type infomation of gengrid 55/193755/1
SangHyeon Jade Lee [Mon, 26 Nov 2018 05:59:30 +0000 (14:59 +0900)]
[access] do not have to read out type infomation of gengrid

the user would be visually impaired person or blind, so the type infomation
of gengrid is not proper. there would be more proper type infomation.

Change-Id: I7c5561a7d6c6b9c1896884524220b58d5d7237f4

5 years agoector software: make a pair of ref/unref. 16/193716/2
Hermet Park [Fri, 23 Nov 2018 11:41:27 +0000 (20:41 +0900)]
ector software: make a pair of ref/unref.

public_shape missed get xunref,
it won't reache to zero reference.

@fix

Change-Id: I26e7be6c7fecfeffc11ec2e1c7e9b81c910f9de1

5 years agoevas vg: rename evas_vg prefix to efl_canvas for consistency. 05/193705/2
Hermet Park [Fri, 23 Nov 2018 10:59:42 +0000 (19:59 +0900)]
evas vg: rename evas_vg prefix to efl_canvas for consistency.

Change-Id: I06967dda5f322bfd8eb9923034bf98ef9c9f6bca

5 years agoEvas GL : use coord for blur filter 43/193743/2
Sunghyun kim [Mon, 26 Nov 2018 01:46:55 +0000 (10:46 +0900)]
Evas GL  : use coord for blur filter

blur filter need to use modified coord value.

Change-Id: Iedd0bdf8983c22c704f98aa62c8f68f370d1ce73

5 years agoevas vg: rename evas_vg prefix to efl_canvas for consistency.
Hermet Park [Fri, 23 Nov 2018 10:59:42 +0000 (19:59 +0900)]
evas vg: rename evas_vg prefix to efl_canvas for consistency.

5 years agoector renderer: correct indentation. 02/193702/1
Hermet Park [Fri, 23 Nov 2018 10:44:06 +0000 (19:44 +0900)]
ector renderer: correct indentation.

Change-Id: Ib5f92f320e23bbc7d52773491a981fa5b1d02ce8

5 years agoRevert "evas : fixed downscale sampling issue" 71/193671/1
Joogab Yun [Fri, 23 Nov 2018 04:22:50 +0000 (13:22 +0900)]
Revert "evas : fixed downscale sampling issue"

This reverts commit 4736fa41f200af9a8875357893a2e2e0cfa26c61.

Change-Id: I8d162bfc76d918c20bbb02a1ac01a620ff7b2c0b

5 years agomigration: fix to add efl_ui_internal_text_scroller to Tizen Makefile 89/193589/1
Jaehyun Cho [Thu, 22 Nov 2018 07:05:41 +0000 (16:05 +0900)]
migration: fix to add efl_ui_internal_text_scroller to Tizen Makefile

This patch is to migrate the following commit into tizen.

Ui text scroller: add scroller for internal usage
(86a8f832ae2b622cd5489e5a01978d494997aaad)

Change-Id: If02e6aec8e6a9586a26bf3455e553b9d41203d99

5 years agoevas vg: fix indentation. 28/193528/1
Hermet Park [Wed, 21 Nov 2018 11:35:11 +0000 (20:35 +0900)]
evas vg: fix indentation.

non-logical changes.

Change-Id: I7d505435dce291344befceee6169154ee7edb6d3

5 years agoevas vg: set update dirty region properly. 27/193527/1
Hermet Park [Wed, 21 Nov 2018 11:08:39 +0000 (20:08 +0900)]
evas vg: set update dirty region properly.

zero sized dirty region is insane,
it must be size of vg area.

Change-Id: Iede9f552db1be1f2d634d262f8cd0d489d12cd1d

5 years agoevas vg: update render properly. 26/193526/1
Hermet Park [Wed, 21 Nov 2018 11:05:02 +0000 (20:05 +0900)]
evas vg: update render properly.

If tree viewport is changed, vg visual must be updated,
This checks internal changed flags to update next frame.

@fix

Change-Id: I03a6d949fb5d899e225a755cdf8693c55dd3ed34

5 years agoevas vg: code refactoring. 25/193525/1
Hermet Park [Wed, 21 Nov 2018 11:00:19 +0000 (20:00 +0900)]
evas vg: code refactoring.

This doesn't change any logics.
just renamed internal variables and functions.

Change-Id: Ie1a46d23a0065436b45701d74fd1bdc05700633d

5 years agoevas vg: rename efl_canvas_vg => efl_canvas_vg_object 24/193524/1
Hermet Park [Wed, 21 Nov 2018 11:40:32 +0000 (20:40 +0900)]
evas vg: rename efl_canvas_vg => efl_canvas_vg_object

Change-Id: Iac7cc8e20a5ed77d655d2e276ec3ba12444abaeb

5 years agoRevert " ecore_evas_extn: add socket error handling code." 98/193498/1 accepted/tizen/unified/20181127.073232 submit/tizen/20181121.085850
Jiyoun Park [Wed, 21 Nov 2018 08:17:17 +0000 (17:17 +0900)]
Revert "   ecore_evas_extn: add socket error handling code."

revert this patch after implement to deal with offscreen socket without ui for TC
This reverts commit e7134e7596beca5eba1e60f18a1de63838223b0c.

Change-Id: I7b54f69ea09d0547f2aa0df43a9b22886185a7d5

5 years agoelm_widget: disable focus manager stuff 78/193478/2
Yeongjong Lee [Wed, 21 Nov 2018 06:58:43 +0000 (15:58 +0900)]
elm_widget: disable focus manager stuff

@tizen_fix

Change-Id: If0b2a7a9df825f42cb3f489f943fa3315095889e

5 years agoevas gl: recover current program state. 22/193422/3
Hermet Park [Tue, 20 Nov 2018 08:54:58 +0000 (17:54 +0900)]
evas gl: recover current program state.

Summary:
When we meets a new shader program in shape_context_push(),
it loads a shader binary, if it is necessary, create a new program for the shader.

In this step, the current program state could changed to this new one.
But still our gl context by shader_flush() could keep the previous program for next shader flush.

But it doens't know current program was changed by dropping by.

Here is a simple scenario:

1. evas_gl_common_context_image_push():
This image requires Program A. it calls evas_gl_common_context_push() internally.
then shader_array_flush() instantly.
It stores the current context including shader program(Program A)

2. evas_gl_common_context_xxx_push():
call evas_gl_common_shader_program_get().
xxx draws first time, it loads a new shader program.
Now this changed the current program to a new instant one.

...

3. shader_array_flush():
draw image which requires Prorgam A (No.1).
Unfortunately, stored context is same to this.
So, it skips some gl context setting including shader program.

@fix

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ie834548c969df57bd661a25f6dbc074f7d5bfc88

5 years agoefl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
SangHyeon Jade Lee [Tue, 20 Nov 2018 05:32:31 +0000 (14:32 +0900)]
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget

Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.

Test Plan:
We will make the tests on efl ui test suite.
please test by make check.

Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun

Reviewed By: Hermet, eagleeye

Subscribers: CHAN, bu5hm4n, cedric

Tags: #efl

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

5 years agoefl_ui_theme: Introduce Efl.Ui.Theme class
Jaehyun Cho [Tue, 20 Nov 2018 04:56:37 +0000 (13:56 +0900)]
efl_ui_theme: Introduce Efl.Ui.Theme class

Summary:
Efl.Ui.Theme class is required to support language bindings.
Efl.Ui.Theme works based on current elm_theme features.

This patch fixes T7357.

Reviewers: segfaultxavi, cedric, lauromoura, woohyun, zmike, SanghyeonLee

Reviewed By: segfaultxavi, SanghyeonLee

Subscribers: SanghyeonLee, herdsman, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7357

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

5 years agoefl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget class
Jaehyun Cho [Tue, 20 Nov 2018 01:24:05 +0000 (10:24 +0900)]
efl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget class

Summary:
Efl.Ui.Bg interface does not have any new property or method.
Moreover, Efl.Ui.Bg interface is not used by widgets except
Efl.Ui.Bg_Widget and Efl.Ui.Widget_Part_Bg.
Consequently, Efl.Ui.Bg interface can be replaced by other interfaces.

Due to Efl.Ui.Bg interface, the bg widget class name becomes
Efl.UI.Bg_Widget which is not synchronized with other widget names.

Therefore, to keep consistency with other widgets, it would be better to
remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget to Efl.Ui.Bg.

Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoRevert "ci: mingw build target to cross compile EFL for Windows"
Marcel Hollerbach [Mon, 19 Nov 2018 17:59:32 +0000 (18:59 +0100)]
Revert "ci: mingw build target to cross compile EFL for Windows"

This reverts commit 883058b92bf81784bf51f4cf97066e57367cc81c.

This seems to bring up errors in the build -ldbus-1 cannot be found.
Revisions is reopened.

5 years agoci: mingw build target to cross compile EFL for Windows
Stefan Schmidt [Wed, 22 Aug 2018 12:51:12 +0000 (14:51 +0200)]
ci: mingw build target to cross compile EFL for Windows

We are using the EFL windows package installer (ewpi) from Vincent Torri
here (thanks!) to setup all the needed cross compiled dependencies for
EFL.

The make target is disabled as we are not able to execute the windows
binaries withour additional work to run check.

Work is ongoing in ewpi to have the dependencies provided for soem of
the disabled build options (gstreamer, webp, tiff, physics, etc). Once
these are working well in ewpi we will enable them here as well.

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

5 years agoCanvas text: emit 'changed' event on markup set
Daniel Hirt [Sun, 18 Nov 2018 10:27:57 +0000 (12:27 +0200)]
Canvas text: emit 'changed' event on markup set

5 years agoUi text: fix size evaluation on construction
Daniel Hirt [Sun, 18 Nov 2018 10:20:10 +0000 (12:20 +0200)]
Ui text: fix size evaluation on construction

In some cases, like the example provided in the referred ticket, the
text is set during the construction of the object.

This adds another call to evaluate the size of the object at the end of
the "finalize" stage, and also removes the line that has set the text to
"".

Fixes T7468

5 years agoelm_code: Allow widget to be focused.
Alastair Poole [Sat, 17 Nov 2018 12:59:09 +0000 (12:59 +0000)]
elm_code: Allow widget to be focused.

Summary: This fixes a lost cursor with latest git.

Test Plan: elementary_test -> elm_code -> view a cursor

Reviewers: raster, ajwillia.ms

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agomeson - fix ecore imf scim build to detect scim fully and work again
Carsten Haitzler (Rasterman) [Sat, 17 Nov 2018 11:45:03 +0000 (11:45 +0000)]
meson - fix ecore imf scim build to detect scim fully and work again

5 years agomeson - add micro version to pkgconfig files
Carsten Haitzler (Rasterman) [Sat, 17 Nov 2018 11:19:41 +0000 (11:19 +0000)]
meson - add micro version to pkgconfig files

5 years agomeson - ector - fix eo dependencies to include all of them
Carsten Haitzler (Rasterman) [Fri, 16 Nov 2018 18:17:28 +0000 (18:17 +0000)]
meson - ector - fix eo dependencies to include all of them

move subdir after all eo files added to eo file deps var so it can use
them all.

5 years agomeson - fix build on non-intel and correct cross compilation
Carsten Haitzler (Rasterman) [Fri, 16 Nov 2018 17:37:22 +0000 (17:37 +0000)]
meson - fix build on non-intel and correct cross compilation

don't set -msse3 unconditionally - set the correct flags based on
architecture. now it builds on arm, aarch64 again as well as x86. sorry -
can't test ppc as i have no such hardware.

also use host_machine not target_machine. target is wrong that's only
for cross compilers (if we were compiling a cross compiler and the kind of
binary they may produce, not what they run on - that's host).

5 years agomeson: fix VNC server build to not override the last module.
Cedric BAIL [Fri, 16 Nov 2018 03:20:50 +0000 (19:20 -0800)]
meson: fix VNC server build to not override the last module.

The module name and installation directory where previously picked from
the last engine being processed instead of being unique to the VNC Server
module. This patch ensure that we do not write over another engine and
break everything when the VNC Server support is turned on.

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

5 years agoeet: Remove unused code
Derek Foreman [Thu, 15 Nov 2018 21:58:53 +0000 (15:58 -0600)]
eet: Remove unused code

This stuff has been unused for years, so instead of fixing it up, remove
it.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeet: Remove pointer deduplication
Derek Foreman [Thu, 15 Nov 2018 21:26:36 +0000 (15:26 -0600)]
eet: Remove pointer deduplication

After my previous changes, the only thing left that's adding duplicate
pointers should be string allocations, either direct (which have no free)
or stringshare which need to be "freed" for each duplicate as it's a
refcounting mechanism.

This speeds up parsing the theme file modestly (10ms faster launching
elementary_test for me), and should also prevent leaking every
stringshare that's on the freelist if an eet load fails.

I would not be at all surprised if there are still bugs in the fail path,
but I hope this at least mitigates failure tracking's impact on successful
parse times.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeet: Demystify some typecasts
Derek Foreman [Thu, 15 Nov 2018 21:17:58 +0000 (15:17 -0600)]
eet: Demystify some typecasts

Simplify some confusing typecasts.  There may be more around.

No functional change.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeet: Stop freeing allocated memory in descriptor_decode
Derek Foreman [Tue, 13 Nov 2018 20:30:09 +0000 (14:30 -0600)]
eet: Stop freeing allocated memory in descriptor_decode

There are other paths that free this memory, so it ends up freed by the
EET_G_UNKNOWN_NESTED path, yet remains on the list.

It makes more sense to have all the callers deal with this memory.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeet: Don't add duplicate hashes to eet freelist
Derek Foreman [Tue, 13 Nov 2018 19:26:13 +0000 (13:26 -0600)]
eet: Don't add duplicate hashes to eet freelist

The eet freelist code de-duplicates pointers, so passing duplicates is
just fine, however it does waste time doing the de-dup.

We know when we have a duplicate anyway, so save the time.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agoeet: Don't add duplicate lists to eet freelist
Derek Foreman [Tue, 13 Nov 2018 19:25:04 +0000 (13:25 -0600)]
eet: Don't add duplicate lists to eet freelist

The eet freelist code de-duplicates pointers, so passing duplicates is
just fine, however it does waste time doing the de-dup.

We know when we have a duplicate anyway, so save the time.

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

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
5 years agomeson: correct the BIGENDIAN and ENVIRON check
Marcel Hollerbach [Fri, 16 Nov 2018 16:32:01 +0000 (17:32 +0100)]
meson: correct the BIGENDIAN and ENVIRON check

we already have the compiler object, there is no need to fetch it again,
further more, we are probebly interested in BIGENDIAN on the
target_machine, not the host_machine.

5 years agomeson: cleanup the native-cpu optimization build code
Marcel Hollerbach [Fri, 16 Nov 2018 15:49:53 +0000 (16:49 +0100)]
meson: cleanup the native-cpu optimization build code

you were not able to disable the header checks, so if the header was not
there it indicated that you could turn it of. However, the option check
was in the has_header if not outside of it. Further more, header checks
are done in the subdirectory that is done for header checks,
unneccessary cpu_**** flags are removed, global optimization options are
added to the global_arguments instead of just the package_c_args, which
leads to the fact that also all binaries etc. are build by default with
those optimization flags.

This also reduces the amount of options to a minimum of 1 option, to
just control if there should be the optimization or not.

This also changes from host_maschine to target_mschine, since we
probebly want to enable the optimization for the target maschine, not
the host.

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

5 years agomeson: fix build break
Marcel Hollerbach [Fri, 16 Nov 2018 16:24:43 +0000 (10:24 -0600)]
meson: fix build break

Summary:
the optimization that is build here requries a few .eo.h files - so
ensure that they are generated before they are used.
This fixes the build of efl.

Reviewers: ManMower, raster

Reviewed By: ManMower

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agotravis: move parts of our build matrix to only run on the daily travis cron job
Stefan Schmidt [Fri, 16 Nov 2018 11:35:55 +0000 (12:35 +0100)]
travis: move parts of our build matrix to only run on the daily travis cron job

We need to keep our builds running for every push to a minimum. Various
distro builds as well as the release-ready build can happily run once a
day.
This commit also switches from a build matrix to a simple list of build
jobs to allow the usage of build type = cron condition (not possible
with the matrix builds)

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

5 years agoelementary: rename Efl.Ui.Popup classes
Jaehyun Cho [Fri, 16 Nov 2018 10:11:50 +0000 (11:11 +0100)]
elementary: rename Efl.Ui.Popup classes

Summary:
Efl.Ui.Popup classes are renamed intuitively from backward order to
forward order.

Efl.Ui.Popup_Alert        -> Efl.Ui.Alert_Popup
Efl.Ui.Popup_Alert_Scroll -> Efl.Ui.Scroll_Alert_Popup
Efl.Ui.Popup_Alert_Text   -> Efl.Ui.Text_Alert_Popup

Reviewers: segfaultxavi, bu5hm4n, cedric

Reviewed By: segfaultxavi

Subscribers: herb, SanghyeonLee, woohyun, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoelementary: remove Efl.Ui.Layout namespace
Jaehyun Cho [Fri, 16 Nov 2018 09:45:05 +0000 (10:45 +0100)]
elementary: remove Efl.Ui.Layout namespace

Summary:
Efl.Ui.Layout namespace is removed to keep consistency with other
widgets.
Consequently, "Efl.Ui.Layout.Object" is renamed to "Efl.Ui.Layout" and
"Efl.Ui.Layout." is renamed to "Efl.Ui.Layout_".

Reviewers: segfaultxavi, bu5hm4n, cedric

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers, SanghyeonLee, woohyun

Tags: #efl

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

5 years agoEvas textblock: fix test to use provided hyphen dictionary
Daniel Hirt [Thu, 15 Nov 2018 22:29:32 +0000 (00:29 +0200)]
Evas textblock: fix test to use provided hyphen dictionary

This fixes the test suite so it does not rely on the system's dictionary
files.

Fixes T7466

5 years agoector: replace custom _efl_refplace by generic efl_replace.
Cedric BAIL [Fri, 16 Nov 2018 03:22:20 +0000 (12:22 +0900)]
ector: replace custom _efl_refplace by generic efl_replace.

Summary: Depends on D7274

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoector: remove deprecated _efl_refplace and _efl_xrefplace.
Cedric BAIL [Fri, 16 Nov 2018 03:20:53 +0000 (12:20 +0900)]
ector: remove deprecated _efl_refplace and _efl_xrefplace.

Summary: Depends on D7275

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoeo: make efl_replace work with a const pointer like efl_ref/unref do.
Cedric BAIL [Fri, 16 Nov 2018 03:09:48 +0000 (12:09 +0900)]
eo: make efl_replace work with a const pointer like efl_ref/unref do.

Summary: This is done to keep consistency with all the reference counting functions in Eo.

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoector: use efl_replace to make sure that no dangling pointer is left being.
Cedric BAIL [Fri, 16 Nov 2018 03:06:34 +0000 (12:06 +0900)]
ector: use efl_replace to make sure that no dangling pointer is left being.

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoector: reorder destructor code to make sure that freed pointer are not possibly acces...
Cedric BAIL [Fri, 16 Nov 2018 02:59:38 +0000 (11:59 +0900)]
ector: reorder destructor code to make sure that freed pointer are not possibly accessed during destruction.

Summary: Depends on D7276

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoector - fix meson build with sse3 on ix86 (32bit)
Carsten Haitzler (Rasterman) [Thu, 15 Nov 2018 12:25:15 +0000 (12:25 +0000)]
ector - fix meson build with sse3 on ix86 (32bit)

5 years agoecore_wl2_dnd: initialize source to NULL when it destroy
Yeongjong Lee [Thu, 15 Nov 2018 14:11:38 +0000 (09:11 -0500)]
ecore_wl2_dnd: initialize source to NULL when it destroy

Summary:
This prevent double destruction of source. if _ecore_wl2_input_del is called
with destroyed source, it can make unexpected troubles.

Reviewers: Hermet, id213sin, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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