platform/upstream/efl.git
6 years agoefl-wl: only perform mouse-out operations for a seat if the mouse was "in"
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: only perform mouse-out operations for a seat if the mouse was "in"

this could lead to cases where the original application's cursor was permanently
lost

@fix

 #TheDisappointer

6 years agoefl-wl: ensure parent surface is mapped before attempting to revert activation
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: ensure parent surface is mapped before attempting to revert activation

6 years agoefl-wl: immediately unset a destroyed surface's cursor
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: immediately unset a destroyed surface's cursor

@fix

6 years agoefl-wl: enforce xdg-shell spec requiring a commit to an unmapped surface
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: enforce xdg-shell spec requiring a commit to an unmapped surface

a separate commit is required for a newly-unmapped surface in order for
the surface to be able to attach a buffer and be mapped

6 years agoefl-wl: only send keyboard enter and activation for mapped surfaces
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: only send keyboard enter and activation for mapped surfaces

setting active for unmapped surfaces bypasses the expected path for
unsetting activate during surface unmap if the surface is destroyed
while active and unmapped

@fix

6 years agoefl-wl: remove some broken logic for activating toplevel parents
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: remove some broken logic for activating toplevel parents

parents of parents should not be marked as activated...probably

@fix

6 years agoefl-wl: set event ON_HOLD flag when they are sent to a surface
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: set event ON_HOLD flag when they are sent to a surface

use a flag to indicate when processed events have been internally processed

@fix

6 years agoefl-wl: propagate surface activation back to parent if child is hidden
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: propagate surface activation back to parent if child is hidden

a toplevel child will always be stacked right above its parent

@fix

6 years agoefl-wl: send more mouse buttons to clients
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: send more mouse buttons to clients

@fix

6 years agoefl-wl: split case for toplevel vs popup during surface hide activate propagation
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
efl-wl: split case for toplevel vs popup during surface hide activate propagation

this should have no functional differences due to spec, but make sure it reads
more clearly

6 years agoRevert "efl loop - provide efl namespace versions of begin/end locks on mainloop"
Carsten Haitzler (Rasterman) [Wed, 17 Jan 2018 12:30:49 +0000 (21:30 +0900)]
Revert "efl loop - provide efl namespace versions of begin/end locks on mainloop"

This reverts commit 76b837002eaea56b5ecb174bffe284012084dc74.

seems no one wants efl api's for this

6 years agoelm_test: Fix to call efl_add with parent
Jaehyun Cho [Wed, 17 Jan 2018 09:43:35 +0000 (18:43 +0900)]
elm_test: Fix to call efl_add with parent

To trace back to the main loop, call efl_add with parent.
(See https://phab.enlightenment.org/T6573)

6 years agoefl theme - fix bug in e init splash that would do hide anim 2x
Carsten Haitzler (Rasterman) [Wed, 17 Jan 2018 09:12:33 +0000 (18:12 +0900)]
efl theme - fix bug in e init splash that would do hide anim 2x

this should fix a "go black and stay black for a bit" bug...

@fix T6619

6 years agoelput - fix crash on shutdown where input.lib was NULL
Carsten Haitzler (Rasterman) [Wed, 17 Jan 2018 05:27:45 +0000 (14:27 +0900)]
elput - fix crash on shutdown where input.lib was NULL

this was null checked everywhere except in 1 place. fix. now more
crash on shutdown now

6 years agoexamples: Simplify & fix thread example
Vincent Torri [Wed, 17 Jan 2018 08:31:51 +0000 (17:31 +0900)]
examples: Simplify & fix thread example

This fixes the example for Windows, where apparently it ran into a lot
of errors with spinlock. Note that on Linux we have such errors too
(both before and after the patch):
EINA ERROR: 'Invalid argument' on lock 0x7ffd218af410
EINA ERROR: 'Invalid argument' on unlock 0x7ffd218af410

Patch by @vtorri

6 years agoglview: Remove trailing newline in ERR
Jean-Philippe Andre [Wed, 17 Jan 2018 06:23:52 +0000 (15:23 +0900)]
glview: Remove trailing newline in ERR

It's not needed.

6 years agoevas gl: Properly verify that Evas GL works
Jean-Philippe Andre [Wed, 17 Jan 2018 06:17:59 +0000 (15:17 +0900)]
evas gl: Properly verify that Evas GL works

For SW engine we need to verify that OSMesa is present. The patch
fb048e73120b39095cc87aa4f8d7f3d397a93c56 broke the logic.

Tested by temporarily removing OSMesa from my system.

Fixes T6617 (again)

6 years agoefl/vg: Refactor the svg path handling and interpolation.
subhransu mohanty [Wed, 17 Jan 2018 05:20:15 +0000 (14:20 +0900)]
efl/vg: Refactor the svg path handling and interpolation.

Summary:
This patch is taken from the tizen branch

1. Take care when the locale is different than POSIX.
See: strtod, strtol

2. Interpolate  all the property of a shape.

Reviewers: jpeg

Subscribers: cedric, jpeg

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

6 years agowin: Fix standard window bg with custom themes
Jean-Philippe Andre [Wed, 17 Jan 2018 05:12:34 +0000 (14:12 +0900)]
win: Fix standard window bg with custom themes

Ref T6579
See also D5740

6 years agoRevert "elm: disable interface theme loading"
Jean-Philippe Andre [Wed, 17 Jan 2018 04:59:22 +0000 (13:59 +0900)]
Revert "elm: disable interface theme loading"

This reverts commit 3d07b90461818804ed51b6dcaed9f05c0d0155bb.

Some commits should address the issues mentioned in T6579
  959571b9955babc40367cf3a634dddba7a7cdcc2
  fe346d2ee23eb0d9fca0544f6732c709ec3a4b8b

But to be honest I am still not sure exactly what the issue was?

Ref T6579

6 years agoRevert "warning remove - comment out unused vars"
Jean-Philippe Andre [Wed, 17 Jan 2018 05:03:00 +0000 (14:03 +0900)]
Revert "warning remove - comment out unused vars"

This reverts commit bbac253f11bd7a7a2320c52ab295c1ad9919bb6a.

6 years agoefl-wl: add lots of null checks to egl init
Mike Blumenkrantz [Tue, 16 Jan 2018 23:37:15 +0000 (18:37 -0500)]
efl-wl: add lots of null checks to egl init

ref T6617

6 years agoefl wl - fix segv where garbage ptr to comp surface is still there
Carsten Haitzler (Rasterman) [Tue, 16 Jan 2018 05:50:31 +0000 (14:50 +0900)]
efl wl - fix segv where garbage ptr to comp surface is still there

comp surface destruction doesnt clear the pointer to one in the comp
struct that then is garbage later. fix.

6 years agoefl-wl: multiply axis events by 10 to send normalized values
Mike Blumenkrantz [Fri, 12 Jan 2018 21:02:40 +0000 (16:02 -0500)]
efl-wl: multiply axis events by 10 to send normalized values

ref T6443

6 years agoefl-wl: unset cursor role on existing cursor surface if new cursor is set
Mike Blumenkrantz [Fri, 12 Jan 2018 20:49:06 +0000 (15:49 -0500)]
efl-wl: unset cursor role on existing cursor surface if new cursor is set

this avoids killing clients which replace cursors

@fix

6 years agoefl-wl: return NULL without error when non-extracted parent is found
Mike Blumenkrantz [Thu, 11 Jan 2018 21:24:38 +0000 (16:24 -0500)]
efl-wl: return NULL without error when non-extracted parent is found

in  efl_wl_extracted_surface_extracted_parent_get()

6 years agoefl-wl: do not modify extracted surface visibility during commit
Mike Blumenkrantz [Wed, 10 Jan 2018 19:20:19 +0000 (14:20 -0500)]
efl-wl: do not modify extracted surface visibility during commit

extracted surfaces are wholly managed externally, so this should not be modified

ref T6443

@fix

6 years agowayland: add xdg-shell vfinal support for client-side
Mike Blumenkrantz [Mon, 8 Jan 2018 18:42:11 +0000 (13:42 -0500)]
wayland: add xdg-shell vfinal support for client-side

@feature

6 years agoefl-wl: move to xdg-shell vfinal
Mike Blumenkrantz [Mon, 8 Jan 2018 17:53:57 +0000 (12:53 -0500)]
efl-wl: move to xdg-shell vfinal

@feature

6 years agoefl_ui_focus_manager: NULL out fields correctly 48/174448/1
Marcel Hollerbach [Tue, 27 Mar 2018 09:33:51 +0000 (11:33 +0200)]
efl_ui_focus_manager: NULL out fields correctly

Change-Id: I97906e1a0cc30e2aca6ed8fdcb3cb3814676b2f2
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas textblock: Fix wrong bidi decision caused by empty text item 03/174403/1
Youngbok Shin [Sat, 31 Mar 2018 08:01:01 +0000 (17:01 +0900)]
evas textblock: Fix wrong bidi decision caused by empty text item

An empty text item can be generated in the following squences.

ex) [LATIN]<preedit>[ARAB]</preedit>
1. Create a text item for LATIN script.
2. Create a text item for applying new format stage(<preedit>) to the next text.
3. Create a text item for ARAB script.
=> The text item which is created from #2 will be remained empty.
   And it will have 0 length, LATIN's bidi property and
   same text_pos value with the item which is created from #3.

These empty text item can ruin bidi informations that is working based on text_pos(= cursor's position).

@tizen_fix

Change-Id: Iae219918e3acb1f3c4c6a8eec1f3e12bf77ae00b

6 years agoevas_render: Don't render from norender 31/174331/1
Derek Foreman [Wed, 14 Mar 2018 18:12:17 +0000 (13:12 -0500)]
evas_render: Don't render from norender

commit 4dee873a appears to have accidentally flipped a flag in
_evas_canvas_norender causing it to actually try to render.

Change-Id: I01a4a050207c97816a0b20741f64412e8fb90a1f

6 years agoadd Requires libwayland-egl-tizen 00/174200/1
Joogab Yun [Thu, 29 Mar 2018 05:04:29 +0000 (14:04 +0900)]
add Requires libwayland-egl-tizen

Change-Id: If95d5ce9ededfa010740ab0808bf69fda0eb8e4b

6 years agoecore_evas: don't set in_async_render flag if not in use async render. 80/174080/1
Hosang Kim [Wed, 28 Mar 2018 02:23:13 +0000 (11:23 +0900)]
ecore_evas: don't set in_async_render flag if not in use async render.

Reviewers: jypark, raster, cedric
Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5844
Change-Id: I7d8ce1356bcb9f64d4d93a6854d69ebaed6fea78

6 years agoecore_imf: check validation before accessing context class 28/172728/3
Jihoon Kim [Thu, 15 Mar 2018 11:26:40 +0000 (20:26 +0900)]
ecore_imf: check validation before accessing context class

Change-Id: Id329b87167caa71aadd8ca454c50e9aaca275415
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years ago ecore_evas: fix ecore evas engine load fail related with gl_tbm and software_tbm 65/173465/1 accepted/tizen/unified/20180328.010251 submit/tizen/20180319.053649
Jiyoun Park [Thu, 22 Mar 2018 00:37:10 +0000 (09:37 +0900)]
   ecore_evas: fix ecore evas engine load fail related with gl_tbm and software_tbm

Change-Id: I88c18d33f77318f58e87a481f23015f753f50ab1

6 years ago elm_icon: support elm_icon_order_lookup_get/set until find alternative api 85/173185/1
Jiyoun Park [Tue, 20 Mar 2018 02:59:24 +0000 (11:59 +0900)]
elm_icon: support elm_icon_order_lookup_get/set until find alternative api

Change-Id: I6e9d35868736c19bce37a5c1f49e6b4e0b066962

6 years agoupdate debug library path correctly 71/173171/1
Jongmin Lee [Tue, 20 Mar 2018 02:06:37 +0000 (11:06 +0900)]
update debug library path correctly

Change-Id: Id2e010bf821fb825099cd161e53ac80dae6760bc

6 years ago ecore_wl2: add function declaration in Ecore_Wl2.h 18/173118/1
Jiyoun Park [Mon, 19 Mar 2018 23:50:15 +0000 (08:50 +0900)]
   ecore_wl2: add function declaration in Ecore_Wl2.h

Change-Id: If7f9846ec9aa15ff80066a144bc3bd900d86aed5

6 years agoecore_wl2: add keyboard repeat set API 96/172996/2
Hosang Kim [Mon, 19 Mar 2018 06:59:56 +0000 (15:59 +0900)]
ecore_wl2: add keyboard repeat set API

Application want to change keyboard repeat rate and delay time.

@tizen_only

Change-Id: Idb0c490f5d49849123c53b2828d2a50b74627b4a

6 years agoecore-evas-tbm : add tbm_alloc_func, pixel_acquire and release symbol 99/173099/1
Wonsik, Jung [Mon, 19 Mar 2018 12:44:14 +0000 (21:44 +0900)]
ecore-evas-tbm : add tbm_alloc_func, pixel_acquire and release symbol

Change-Id: I7139ff378b61978e9e4d6eead385299626ce0abd

6 years agoevas : rename evas_object_image_pixels_noti_callback_set() 79/173079/1
Joogab Yun [Mon, 19 Mar 2018 11:11:44 +0000 (20:11 +0900)]
evas : rename evas_object_image_pixels_noti_callback_set()

Change-Id: Id87c0bc8c4eb300593655998b026dcea10b2749c

6 years agoMerge branch 'tizen' into efl120 submit/sandbox/upgrade/efl120/20180319.053334
Wonki Kim [Mon, 19 Mar 2018 05:29:38 +0000 (14:29 +0900)]
Merge branch 'tizen' into efl120

This commit merge branch 'tizen' and 'efl120.
However, old changes on 'tizen' branch could be removed by applying this commit
because of the merge strategy(-s ours, not -X ours)

Change-Id: I6390c045ba9957a6343b89169c35247f69564f14

6 years agoconformant: add patchs for supporting backward compatibility. 23/172623/4
Hosang Kim [Thu, 15 Mar 2018 01:50:46 +0000 (10:50 +0900)]
conformant: add patchs for supporting backward compatibility.

1. conformant: Added "virtualkeypad,size,changed" smart callback.
2. elm_win/elm_conformant: add processing properties of window.

Change-Id: I67296f5413ac58c7fc47af9ef903f5c10dc08241

6 years agoelm: do not set input region 37/171537/3
Shinwoo Kim [Mon, 5 Mar 2018 10:29:50 +0000 (19:29 +0900)]
elm: do not set input region

If a window is not a full screen, then the window has used
geometry of "elm.spacer.opaque" part for its input region.

This geometry value is not correct at first launching time,
if window does not have its resize object.

For example the keyboard shows with "0, 0, 63, 0" input region,
and the keyboard could not get touch events from the window manager.

*tizen_only

Change-Id: I1824649f67674befe59514fa119fb5c000013580

6 years agoecore_evas: get evas device from ecore device 40/171840/1
JengHyun Kang [Wed, 7 Mar 2018 13:52:04 +0000 (22:52 +0900)]
ecore_evas: get evas device from ecore device

Change-Id: I9285fbf0ebdb0479f2444e8cd3eb08da60bd915d

6 years agoelementary: Remove useless log print
Wonki Kim [Wed, 7 Mar 2018 08:13:01 +0000 (17:13 +0900)]
elementary: Remove useless log print

There are useless log prints for debug.
This commit removes the lines.

Change-Id: I1da46a2e7905bc77123a8cd0730afad4ac3cf34b
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas: fix bugs in gif image loader 74/171774/1
Jaeun Choi [Mon, 13 Feb 2017 05:34:38 +0000 (14:34 +0900)]
evas: fix bugs in gif image loader

gif's logical screen size (which is considered the image size)
might be different from the size of each frame.
when decoding a frame, the width and height of the decoded data should be
based on the size of the frame, not on the size of the logical screen size.
if a frame is decoded into a buffer of screen size, this might happen

(frame = 6 X 3, logical screen = 5 X 3)
OOOXXX      OOOXX
OOOXXX  =>  XOOOX
OOOXXX      XXOOO

@fix

This patch is from upstream (95d83e80406ddf48305cdbc91eecd340ecc4c6e1).

Change-Id: I85f6775f2c6aa051838e0222e0d517b4a225cf1e

6 years agoecore_wl: add keyboard repeat info set/get API. 53/171353/2
kim hosang [Mon, 8 Jan 2018 10:57:57 +0000 (19:57 +0900)]
ecore_wl: add keyboard repeat info set/get API.

Application want to change keyboard repeat rate and delay time.

@tizen_only

Change-Id: I53b92d4ae52d36385eb883a5c1c978e51931eac3

6 years agoecore_evas: Add null check logic to ecore_evas_buffer_render
Wonki Kim [Tue, 27 Feb 2018 06:05:43 +0000 (15:05 +0900)]
ecore_evas: Add null check logic to ecore_evas_buffer_render

if argument is null, ecore_evas_buffer_render crash.
this patch fix the problem.

Change-Id: I1bd9ebfca545b508e735d284875657edceb1aa94
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas: add null check logic on evas_object_smart_attach 65/170765/2
Wonki Kim [Thu, 22 Feb 2018 04:47:04 +0000 (13:47 +0900)]
evas: add null check logic on evas_object_smart_attach

This commit add null check logic on evas_object_smart_attach
because a segmentation fault occurs once the argument is not valid.

Change-Id: I4fca8b914a225d42bec3dbca76ba41171100e4b7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas : changed TILESIZE to 16 48/170648/3
Joogab Yun [Wed, 21 Feb 2018 07:03:49 +0000 (16:03 +0900)]
evas : changed TILESIZE to 16

Change-Id: If50a4684cdbf7da69d95028e0bc32f74462601bd

6 years agoelementary: update the top widget variable for all type window. 30/170830/2
subhransu mohanty [Thu, 22 Feb 2018 11:16:14 +0000 (20:16 +0900)]
elementary: update the top widget variable for all type window.

Change-Id: I059715876ce40affff03f34c5dbd324324ed20bd

6 years agoelementary entry: Fix cusor abnormal behavior caused by elm_entry_is_empty()
Youngbok Shin [Thu, 22 Feb 2018 08:12:14 +0000 (17:12 +0900)]
elementary entry: Fix cusor abnormal behavior caused by elm_entry_is_empty()

This is a temporary patch for fixing the entry typing issue.
It will be revised soon.

@tizen_fix

Change-Id: I32ff2013c8bf9a37f0e762eba17a5cc200453eae

6 years agoefl_selection: add type checking for fixing elm_cnp TC 79/170779/2
Taehyub Kim [Thu, 22 Feb 2018 05:31:30 +0000 (14:31 +0900)]
efl_selection: add type checking for fixing elm_cnp TC

Change-Id: I3590f792e0ca1d8d1b7c56159a08f2f14dbb61cd

6 years agoefl_ui_multibuttonentry: Fix wrong defined function type. 88/170788/3
Woochan Lee [Thu, 22 Feb 2018 06:23:02 +0000 (15:23 +0900)]
efl_ui_multibuttonentry: Fix wrong defined function type.

legacy should be maintain.
efl_ui_XXX using efl_format_cb_set().

Tizen only mark will be deleted after upstream work finished.

Change-Id: I414d64585a61ec9f66d7668a46bc3254fb2c7f3a

6 years agoefl_ui_multibuttonentry: Use elm_XXX function temporailiry. 03/170703/2
Woochan Lee [Wed, 21 Feb 2018 15:36:45 +0000 (00:36 +0900)]
efl_ui_multibuttonentry: Use elm_XXX function temporailiry.

efl_ui_text doesn't have theme yet.

Change-Id: I715bbc7b9c6940f4e2cab2b10400a966803715f6

6 years agoevas textblock: fix double free issue from user style push/pop and free
Youngbok Shin [Thu, 22 Feb 2018 05:47:22 +0000 (14:47 +0900)]
evas textblock: fix double free issue from user style push/pop and free

Summary:
The Textblock Style which is created for user style was managed application side.
It is created and free'd from application - outside of Evas Textblock.
Recently, evas_object_textblock_style_user_push/pop start to call efl_canvas_text_style_set()
instead of legacy code. The problem is efl_canvas_text_style_set() is always going to call free()
when a style is going to be deleted.
It makes conflicts(double free issue) with application which is used to call evas_textblock_style_free().
So, the issue will be fixed by this patch.

The patch also revise push/pop/peek code to make clean and avoid meaningless calculation/events.
@fix

Test Plan:
A test case is Included in this patch.
The test case try to trigger double free.

Reviewers: herdsman, raster, cedric

Subscribers: woohyun

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

6 years agoevas font: Don't pick a script font based on COMMON/UNKNOWN script text 63/170663/1
Youngbok Shin [Wed, 21 Feb 2018 05:18:23 +0000 (14:18 +0900)]
evas font: Don't pick a script font based on COMMON/UNKNOWN script text

When there was a COMMON/UNKNOWN script text, Evas picked a script font only for that text.
And when a explicit character was appened to the text, all previous text before new character
would loaded from new script font according to the new character.

Issue Example)
1. [EMOJI] + [SPACE]
   All script is COMMON/UNKNOWN. A script font is selected as "BreezeColorEmoji" font.
   All text will be loaded from "BreezeColorEmoji" font which does not have proper space character.
2. [EMOJI] + [SPACE] + [LATIN "A"]
   A script font is selected as "BreezeSans" font because of LATIN "A" character.
   The emoji characters will be loaded from "BreezeColorEmoji" font.
   But, the space character and LATIN "A" character will be loaded from "BreezeSans" font.

So, this patch fixes to pick a top font as its script font when the given script is not explicit script.

@tizen_fix

Change-Id: I31aeb80f8e8828bb8709d549b7178c83cfcbcd7c

6 years agoevas : Set to MODE_FULL when age is changed for partial rendering. 68/170568/2
Joogab Yun [Wed, 21 Feb 2018 00:39:38 +0000 (09:39 +0900)]
evas : Set to MODE_FULL when age is changed for partial rendering.

Change-Id: Iebe79311967fad5fbbc114a3d56acad9161a9ed3

6 years agoelm_datetime: This wrapper didn't consider wrong param case. 46/170546/3
Woochan Lee [Tue, 20 Feb 2018 12:20:16 +0000 (21:20 +0900)]
elm_datetime: This wrapper didn't consider wrong param case.

Tizen only marking would be deleted.

Change-Id: I6239821b772527c5a37ee0a47e846957b3624c6b

6 years agoeina_vector: hide APIs in doxygen since this API set is not included in the whitelist... 86/170586/1 accepted/tizen/unified/20180221.135646 submit/tizen/20180221.043745
Taehyub Kim [Wed, 25 Oct 2017 01:55:32 +0000 (10:55 +0900)]
eina_vector: hide APIs in doxygen since this API set is not included in the whitelist yet.

Change-Id: Ie1d3cf3c89ffc5601da60d4ae5da32bbf98acd0f

6 years agoEina: Move vector2 to eina_inline_vector.x 85/170585/1
Jean-Philippe Andre [Thu, 7 Jan 2016 09:58:54 +0000 (18:58 +0900)]
Eina: Move vector2 to eina_inline_vector.x

For consistency.

Also, include inside Eina.h
Thanks @vtorri for the remark.

Change-Id: Idbbab69198f2996868b7e1434956d0a99c723208

6 years agoEina Vector2: Move EAPI to static inline 84/170584/1
Jean-Philippe Andre [Thu, 7 Jan 2016 08:57:44 +0000 (17:57 +0900)]
Eina Vector2: Move EAPI to static inline

This removes lots of unnecessary symbols

Change-Id: I41f88adc4cac3313628833ab0f85a0e1a735807f

6 years agoevas: create Eina_Vector2 structure and add functions. 83/170583/1
se.osadchy [Mon, 4 Jan 2016 23:05:58 +0000 (15:05 -0800)]
evas: create Eina_Vector2 structure and add functions.

Summary: Only copy code from evas_3d_utils, rename evas to eina and add documentation.

Reviewers: Hermet, raster, jpeg, cedric

Reviewed By: jpeg, cedric

Subscribers: jpeg

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

Change-Id: I2c08d82231a9eeedc5662311db678cae57a5294a
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years ago ecore_evas: set fullscreen value using the client set 76/170476/1
Jiyoun Park [Tue, 20 Feb 2018 06:59:34 +0000 (15:59 +0900)]
   ecore_evas: set fullscreen value using the client set

   tizen enligthenment didn't suppor fullscreen window type.
   so, client should not expect server send ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN state in
   _zxdg_toplevel_cb_configure function.
   In tizen, we set ecore_evas's fullscreen value using the value set by client

Change-Id: I4b00a78cf3848a63435aae054923ef3c8c964b68

6 years agoUi layout: fix another text retrieval line of code 13/169813/2
Youngbok Shin [Fri, 9 Feb 2018 09:12:39 +0000 (18:12 +0900)]
Ui layout: fix another text retrieval line of code

This is a follow-up to a44ae48df811ff2bd085da86db1688c0f387efc4.Need to
undo the markup_get call, so that the correct code path
(_efl_ui_layout_text_set) is used. Legacy checks are in that code path.

ref T6642

Change-Id: I7f7eb07c9f94ab5ccc11673a2c46c1ecb0bbc696

6 years agoUi layout: fix latest attempt to fix markup retreival 12/169812/2
Youngbok Shin [Fri, 9 Feb 2018 09:11:15 +0000 (18:11 +0900)]
Ui layout: fix latest attempt to fix markup retreival

Commits c07a40c745c5df1b1f6f0bbf666b233d8d072ca7 and
429e19563d15a02d3417ff8fffca994ce6685249 tried to fix markup retrieval by
creating a different code path for the setter and getter. However, legacy code
paths needs to be taken into consideration.
This commit fixes legacy widgets (like guide text that did not show any text
        in the entry at the top of 'elementary_test').

ref T6642

Change-Id: I65d0433a75ff9e4e11d45eb46b18163a13aa98bc

6 years agoecore_input: support PS4 joystick 2nd Generation 91/168491/2
sunghyun kim [Mon, 29 Jan 2018 05:19:54 +0000 (14:19 +0900)]
ecore_input: support PS4 joystick 2nd Generation

Change-Id: If93d684966b49a9f3b308acb63351419f6750717

6 years agoReplace ecore_wl_dpi_get with ecore_wl2_output_dpi_get 77/170177/6
Myoungwoon Roy, Kim [Wed, 14 Feb 2018 03:49:00 +0000 (12:49 +0900)]
Replace ecore_wl_dpi_get with ecore_wl2_output_dpi_get

This patch replaces ecore_wl_dpi_get with ecore_wl2_output_dpi_get using Ecore_Wl2_Output

Change-Id: I4e6f0395638274b2ed5565933092c6464025cc6e

6 years agoelementary: modify return value of scroller_movement_block_get
Wonki Kim [Wed, 14 Feb 2018 01:42:17 +0000 (10:42 +0900)]
elementary: modify return value of scroller_movement_block_get

Summary:
A return value of scroller_movement_block_get has been changed by applying the commit(ffa041fe)
The API returned a value which is being exclusively before, but now it returns a composition of states.

This patch modify the api to return "A state" of block mode.

Test Plan:
1. set movement block mode as ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL for a scroller
2. get movement block mode for the scroller
3. compare the value and ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL by using == operation, not & operation

Reviewers: jpeg, cedric, woohyun, raster

Subscribers: raster

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

6 years agoefl_ui_nstate: missed to add private.h 57/170157/1
WooHyun Jung [Tue, 13 Feb 2018 14:26:14 +0000 (23:26 +0900)]
efl_ui_nstate: missed to add private.h

Change-Id: I787cff6e54d60493f8e2512a2274b1904722c35b

6 years agoefl_ui_nstate: make "changed" callback is called properly 54/170154/3
WooHyun Jung [Tue, 13 Feb 2018 13:50:14 +0000 (22:50 +0900)]
efl_ui_nstate: make "changed" callback is called properly

- "changed" callback is not called when theme_apply is called
- elm_check_state_set does not call "changed" callback to keep
  backward compatibility

Change-Id: Ida427527146a433201d5408ac9838bdc50b6f2e1

6 years agothemes: remove fdo feature due to license 44/168744/2
Sungtaek Hong [Tue, 30 Jan 2018 11:27:39 +0000 (20:27 +0900)]
themes: remove fdo feature due to license

Change-Id: Ifbfcdb577de1fc2dc6ebe90414319eb62002adc4
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
6 years agoRevert "Efl.Ui.Check: Fix unexpected activation" 53/170153/1
WooHyun Jung [Wed, 14 Feb 2018 00:58:45 +0000 (09:58 +0900)]
Revert "Efl.Ui.Check: Fix unexpected activation"

This reverts commit b382785ce2f18521683eca738efc12e8188ec7e3.

Change-Id: Ia18e35daf3a5d3380866fbb7f0c5a927c00c435d

6 years agoRevert "efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch"
Wonki Kim [Tue, 13 Feb 2018 07:22:29 +0000 (16:22 +0900)]
Revert "efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch"

This reverts commit 0a10f1164927b67e8f1d2bb11fb8838727bd7d5c.

Change-Id: Ie503fbb0abedd0903aca2849cc8c822177fb7e9d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoefl_ui_multibuttonentry: Use elm_entry temporaliry. 09/169809/2
Woochan Lee [Fri, 9 Feb 2018 08:21:15 +0000 (17:21 +0900)]
efl_ui_multibuttonentry: Use elm_entry temporaliry.

Efl_Ui_Text doesn't have ready yet

Change-Id: Id390b3d1b39c984727012619a201f846c8abc79a

6 years agoefl_ui_clock: Fix wrong target to compare with. 91/169991/2
Woochan Lee [Mon, 12 Feb 2018 13:56:01 +0000 (22:56 +0900)]
efl_ui_clock: Fix wrong target to compare with.

Change-Id: Ie20122f3b688006a1f8d0925fc7ad71537998f03

6 years agoecore_wayland: using xdg-shell-unstable-v6 correctly 12/170012/2
Gwanglim Lee [Tue, 13 Feb 2018 00:39:42 +0000 (09:39 +0900)]
ecore_wayland: using xdg-shell-unstable-v6 correctly

Change-Id: Ia68e820be0592fd9ee80eae44c413ead87a5b111

6 years agoprogressbar: remove wrong unit format for Tizen UX. 72/169972/1
Bowon Ryu [Mon, 12 Feb 2018 11:07:12 +0000 (20:07 +0900)]
progressbar: remove wrong unit format for Tizen UX.

default of unit format is NULL in Tizen UX.

@tizen_fix

Change-Id: I63476c2d5272bcfb4881ac8b42b1514f35e13d1e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoprogressbar: apply tizen_vector for process style. 16/169516/4
Bowon Ryu [Wed, 24 Jan 2018 07:00:01 +0000 (16:00 +0900)]
progressbar: apply tizen_vector for process style.

Change-Id: I7bfcddd73ad6f72656bd3cca8234a924b1b08017
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoslider: Modify to check null pointer argument. 13/169913/1
Bowon Ryu [Mon, 12 Feb 2018 05:44:06 +0000 (14:44 +0900)]
slider: Modify to check null pointer argument.

Change-Id: I229e0ef25ff6cf36ac6a1ebe125691d4ac86eca5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoprogressbar: Modify to check null pointer argument. 79/169879/1
Bowon Ryu [Fri, 9 Feb 2018 12:00:59 +0000 (21:00 +0900)]
progressbar: Modify to check null pointer argument.

Change-Id: I3b8210163e19b1d13fb07872d6d3d5fbf5bacae9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoEfl.Ui.Check: Fix unexpected activation 48/169548/3
Shinwoo Kim [Wed, 7 Feb 2018 09:13:31 +0000 (18:13 +0900)]
Efl.Ui.Check: Fix unexpected activation

This patch set has following upstream changes

(1) fd8e9f9 Efl.Ui.Nstate: do not call "changed" callback
    Before solving following problem in Efl.Ui.Check

    https://phab.enlightenment.org/T6673

    The changed callback is called with opposite value,
    if application is using Efl.Ui.Check with state pointer.

    The reason is that the changed callback is called in
    efl_ui_nstate_activate, and the value refered by state pointer
    is changed only after the efl_ui_nstate_activate is called.

    static void
    _activate(Evas_Object *obj)
    {
       EFL_UI_CHECK_DATA_GET(obj, sd);

       efl_ui_nstate_activate(obj);

(2) b1ee35e elm: do not call "changed" callback when setting style

Change-Id: I60b4ce5b03cc2e57dcc8120b9aa9ad4dc2fb7bf0

6 years agoevas_polygon: Modify to check null pointer argument
Wonki Kim [Fri, 9 Feb 2018 12:43:48 +0000 (21:43 +0900)]
evas_polygon: Modify to check null pointer argument

Change-Id: I3e8f4e60bee03e4b3c580d4196b83c0ed2fece84
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoector: Updated the ector_buffer_pixels_set() api with stride info 36/169536/2
subhransu mohanty [Wed, 7 Feb 2018 08:02:21 +0000 (17:02 +0900)]
ector: Updated the ector_buffer_pixels_set() api with stride info

Subscribers: cedric

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

Change-Id: Ia574f64dd195e6b1d4a4430dc1ee5b12fc5e7815

6 years agoedje: don't calculate textblock twice
Youngbok Shin [Fri, 9 Feb 2018 03:41:04 +0000 (12:41 +0900)]
edje: don't calculate textblock twice

It will trigger additional size calculation only for fit option.
The fit option can be calculated at once. It is a hack.

@tizen_fix

Change-Id: I9b115ebd71bc5cb0f4ebebe96f061052fb2d8293

6 years agoedje: do fit calculation even if given size is 0
Youngbok Shin [Fri, 9 Feb 2018 02:15:05 +0000 (11:15 +0900)]
edje: do fit calculation even if given size is 0

Do calculation based on min size. It will show the fit result
even if given relative area's size is zero.

@tizen_fix

Change-Id: If8196e9f823eb87168b72d7a06ca3903f423f5cb

6 years agoevas_tbmbuf: check that tbm_surface is already released 37/169537/2
Changyeon Lee [Wed, 7 Feb 2018 05:40:26 +0000 (14:40 +0900)]
evas_tbmbuf: check that tbm_surface is already released

Change-Id: I45cb57deb5f5d3de2d9eab73d0b7c10b3b311217

6 years agoecore_event: Fix a break of consistency of return data 21/169521/1
Myoungwoon Roy, Kim [Wed, 7 Feb 2018 04:50:24 +0000 (13:50 +0900)]
ecore_event: Fix a break of consistency of return data

Summary:
This patch fixes a break of consistency of return data from ecore_event_del.
Before EFL 1.20, when calling ecore_event_add(ECORE_EVENT_SIGNAL_USER, event_data, NULL, &data);
The user data(data) is saved at event->data. and when user calls ecore_event_del(event_handler),
ecore_event_del returns event->data. However, current ecore_event_del returns pd->ev.
I think it is ABI break.

Test Plan: Execute test suite

Reviewers: cedric, raster, stefan_schmidt, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

Change-Id: Id0ff5dc61cbb18b0ffae378dd7490d4b75e0ed9f

6 years agoecore/evas: add NULL checks to handle argument is NULL. 10/169510/1
Hosang Kim [Tue, 6 Feb 2018 08:58:44 +0000 (17:58 +0900)]
ecore/evas: add NULL checks to handle argument is NULL.

Summary:
ecore_pipe_read_fd/ecore_pipe_write_fd
evas_engine_info_set/get

Reviewers: woohyun, Jaehyun, Jaehyun_Cho, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5790
Change-Id: I14b035f0e1f54f12cbf73a7d67005594a69a8bd8

6 years agoevas : noti callback 03/169503/3
Joogab Yun [Wed, 7 Feb 2018 06:29:57 +0000 (15:29 +0900)]
evas : noti callback

    E20 need to a noti callback for this object.
    so we register the callback temporarily

    This patch can be removed or modified later.

tizen_only

Change-Id: I77ea1270b12ec318956fc5e7cc2ee3eb32fdf029

6 years agoecore_wl2_input: change version of tizen_input_device_manager from 1 to 2. 05/169505/3
JunSeok, Kim [Wed, 7 Feb 2018 06:42:24 +0000 (15:42 +0900)]
ecore_wl2_input: change version of tizen_input_device_manager from 1 to 2.

Change-Id: Ie2835790f9a861e11f3be1cd1248bfbda4f7873d

6 years agoevas/gl_x11: fix compile error 99/169499/2
Daekwang Ryu [Wed, 6 Sep 2017 06:57:27 +0000 (15:57 +0900)]
evas/gl_x11: fix compile error

fix gl_x11 engine for emulator.
caps variable is for FBO. So removed.

Change-Id: I99eea896dea3b381c8f3d347b0af0bbfc073f467

6 years agoedje: Calculate text.fit for multiline Textblock properly 46/168946/2
Youngbok Shin [Thu, 1 Feb 2018 09:43:38 +0000 (18:43 +0900)]
edje: Calculate text.fit for multiline Textblock properly

@tizen_fix

Change-Id: Ic86448da2e5ddf3e2a11030c9cd74ed677474737

6 years agoevas_object_textblock: add null checks for EAPIs 68/169468/2
WooHyun Jung [Wed, 7 Feb 2018 05:19:46 +0000 (14:19 +0900)]
evas_object_textblock: add null checks for EAPIs

Change-Id: I7381778078b7f73f5ed68361e82f123164f73a34

6 years agoecore_evas_wl: add damage only when rendering
Boram Park [Fri, 8 Dec 2017 08:23:16 +0000 (17:23 +0900)]
ecore_evas_wl: add damage only when rendering

Change-Id: I464887cc43a0053b1d3c89f4a0fd6224cd517c35

6 years agoevas textblock: Add missing initialization code for ellipsis
Youngbok Shin [Tue, 6 Feb 2018 10:42:33 +0000 (19:42 +0900)]
evas textblock: Add missing initialization code for ellipsis

The ellipsis variable in main structure was added for internal API.
- evas_object_textblock_ellipsis_set()

@tizen_fix

Change-Id: I3a43280fbc970db52c5802ee705fa662abe667dc

6 years agoecore_wl_input: fix memory leaks 16/169316/1
JengHyun Kang [Tue, 6 Feb 2018 02:48:50 +0000 (11:48 +0900)]
ecore_wl_input: fix memory leaks

Change-Id: Iecac627edf2ccc095e1eea6902c14e71ba513fa1

6 years agoevas: add null checks to handle when e->engine.func is not set yet 93/169293/1
WooHyun Jung [Mon, 5 Feb 2018 13:19:44 +0000 (22:19 +0900)]
evas: add null checks to handle when e->engine.func is not set yet

Change-Id: I7de1c0767079722629dedd4f7476cec60f8ebf0b