platform/upstream/efl.git
6 years agoelementary: simplify Efl.Ui.Text.Factory test.
Cedric BAIL [Thu, 18 Jan 2018 18:48:43 +0000 (10:48 -0800)]
elementary: simplify Efl.Ui.Text.Factory test.

6 years agoelementary: simplify Efl.Ui.Text.Factory.Emoticons.
Cedric BAIL [Thu, 18 Jan 2018 18:48:21 +0000 (10:48 -0800)]
elementary: simplify Efl.Ui.Text.Factory.Emoticons.

6 years agoCanvas image: add Efl.Canvas.Text.Factory + use in Ui.Text
Daniel Hirt [Thu, 9 Nov 2017 15:53:20 +0000 (17:53 +0200)]
Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Text

This interface has a simple 'create' method to create Efl.Canvas.Object
given a key.
This is used higher-up in Ui.Text in the next commit.

Ui text: add ability to set item factories

Added API to set an item factory object.
This is similar to the previous item providers (that worked with
callbacks).

You instantiate a factory object and set it on the Ui.Text object.
Each factory implements the "create" method from
Efl.Canvas.Text.Item_Factory.

This also includes 3 public factories (Image, Emoticon and Fallback):
  - Image factory: creates images from added entries (key strings)
  - Emoticon factory: creates emoticons by querying the theme
  - Fallback: creates image, then falls back to emoticon

If no factory is set, then the fallback (internal) factory is used.

See the added "Ui.text Item Factory" test in elementary_test for an
example of usage.

@feature

6 years agoEdje: remove item provider from eo api
Daniel Hirt [Tue, 7 Nov 2017 15:33:56 +0000 (17:33 +0200)]
Edje: remove item provider from eo api

6 years agoelm_win: move wayland display flush to after method calls
Mike Blumenkrantz [Thu, 18 Jan 2018 15:47:01 +0000 (10:47 -0500)]
elm_win: move wayland display flush to after method calls

ref b48781aa6c85c72f620c57cebff96580ddd67899

6 years agoeina: Clarify that Eina_Matrix_Type can describe any matrix
Bryce Harrington [Thu, 18 Jan 2018 13:19:08 +0000 (08:19 -0500)]
eina: Clarify that Eina_Matrix_Type can describe any matrix

Summary:
The Eina_Matrix_Type enum is returned by eina_matrix4_type_get and
eina_matrix2_type_get; it is not Matrix3-specific.  Update doxygen
accordingly.

Reviewers: devilhorns

Subscribers: cedric, jpeg

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

6 years agoeina: Cleanup spelling/grammar/punctuation for Eina List
Bryce Harrington [Thu, 18 Jan 2018 13:16:52 +0000 (08:16 -0500)]
eina: Cleanup spelling/grammar/punctuation for Eina List

Summary:
This fixes some typos and misspellings, massages grammar in a few
places, tidys up a little whitespace, and fixes incorrect docs in a spot
or two.

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Subscribers: cedric, jpeg

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

6 years agoeolian: fix redefined function checks
Daniel Kolesa [Thu, 18 Jan 2018 11:49:05 +0000 (12:49 +0100)]
eolian: fix redefined function checks

For one, the hash has to be populated once per inheritance tree
and the skipping on already-validated funcs was interfering with
that as the function might have been validated in another
inheritance tree already.

Also, if a class appeared multiple times in an inheritance tree,
as is common with e.g. Efl.Object, it would get added into the
hash the first time and then checked against the second time,
which would result in a strange error message about the
function being redefined in its own class.

So now we prevent both cases from happening.

6 years agocnp: Rename selection data to content
Jean-Philippe Andre [Thu, 18 Jan 2018 09:39:47 +0000 (18:39 +0900)]
cnp: Rename selection data to content

This solves an issue with C# bindings where a field of a struct can not
have the same name as the struct itself. Go figure why.

6 years agoall: Simplify definition of EAPI
Vincent Torri [Thu, 18 Jan 2018 09:04:03 +0000 (18:04 +0900)]
all: Simplify definition of EAPI

This will help in the transition from Autotools to Meson. This has been
tested on Windows for which EFL_XXX_BUILD were first introduced.

6 years agowidget: Remove comment
Jean-Philippe Andre [Thu, 18 Jan 2018 08:40:21 +0000 (17:40 +0900)]
widget: Remove comment

6 years agoefl: Merge Flipable and Orientation
Jean-Philippe Andre [Thu, 18 Jan 2018 08:18:48 +0000 (17:18 +0900)]
efl: Merge Flipable and Orientation

No need to split: those two are used in all the same classes, since the
split between Orientation and Ui.Dir.

Note that the enum types remain in the main namespace.

6 years agowidget: Rename orientation_mode_disabled
Jean-Philippe Andre [Thu, 18 Jan 2018 08:13:59 +0000 (17:13 +0900)]
widget: Rename orientation_mode_disabled

Name is stupid and long, why not just invert this bool?

6 years agovg: Fix warning (unused function)
Jean-Philippe Andre [Thu, 18 Jan 2018 08:24:22 +0000 (17:24 +0900)]
vg: Fix warning (unused function)

6 years agoa11y: Remove import elm_general
Jean-Philippe Andre [Thu, 18 Jan 2018 07:31:20 +0000 (16:31 +0900)]
a11y: Remove import elm_general

Ref T5329

6 years agoui.text: Use proper EO type for cnp mode
Jean-Philippe Andre [Thu, 18 Jan 2018 07:19:01 +0000 (16:19 +0900)]
ui.text: Use proper EO type for cnp mode

It's not working. Just "fixing" the API for consistency.
Also, we're lacking a proper hint for "markup without images".

So I think EFL_SELECTION_FORMAT_MARKUP should be without images, while
EFL_SELECTION_FORMAT_MARKUP | EFL_SELECTION_FORMAT_IMAGE would allow
markup with images.

Ping @thiep.ha

Ref T5329

6 years agocnp: Use EO types to define legacy types
Jean-Philippe Andre [Thu, 18 Jan 2018 07:18:23 +0000 (16:18 +0900)]
cnp: Use EO types to define legacy types

They are the same.
Ref T5329

6 years agowin: Avoid a warning
Jean-Philippe Andre [Thu, 18 Jan 2018 07:20:21 +0000 (16:20 +0900)]
win: Avoid a warning

I still hate those types.
warning: case value not in enumerated type 'Efl_Ui_Win_Type' [-Wswitch]

6 years agoexamples: evas vg: fix the compilation of vg batman
Amitesh Singh [Thu, 18 Jan 2018 06:19:53 +0000 (15:19 +0900)]
examples: evas vg: fix the compilation of vg batman

6 years agowin: Remove unusable type "dnd"
Jean-Philippe Andre [Thu, 18 Jan 2018 05:20:49 +0000 (14:20 +0900)]
win: Remove unusable type "dnd"

Override mode is not available in the unified api. That's because you
can't do it in Wayland.

I still think those types are stupid and should all die: Win subclasses
handle them for you. Odd types can't be used anyway.

Ref T5322

6 years agoui.list: Fix shadow variable warnings
Jean-Philippe Andre [Thu, 18 Jan 2018 05:13:05 +0000 (14:13 +0900)]
ui.list: Fix shadow variable warnings

node2 didn't conflict, just making it consistent with nodedata2

6 years agowin: Remove "ioerr" event
Jean-Philippe Andre [Thu, 18 Jan 2018 05:06:45 +0000 (14:06 +0900)]
win: Remove "ioerr" event

Unless it's implemented for Wayland as well, AND provides more
information than a NULL event_info, I see no point in this being an EO
event. Keep legacy as-is: a smart callback only.

Also, minor cleanups to the EO file.

Ref T5322

6 years agoedje: Return "" as state for invalid parts
Jean-Philippe Andre [Thu, 18 Jan 2018 04:54:56 +0000 (13:54 +0900)]
edje: Return "" as state for invalid parts

Instead of "default". This is consistent with legacy, and allows for
some kind of error checking. Not returning NULL helps avoiding crashes.

6 years agoRevert "efl wl - fix segv where garbage ptr to comp surface is still there"
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
Revert "efl wl - fix segv where garbage ptr to comp surface is still there"

This reverts commit 574ef9a5e53ac2ecabc14fd02be7e55cd90a9b25.

this should be resolved by 863a6e159e99c5f69ecc7461106aba2102f1da11 and is
only a possible case when an unmapped surface was activated, something which
is prevented by spec and can only occur if bugs exist elsewhere

6 years agowayland: always flush client display when protocol sends are pending
Mike Blumenkrantz [Wed, 17 Jan 2018 22:33:57 +0000 (17:33 -0500)]
wayland: always flush client display when protocol sends are pending

in the case where a connection was not actively rendering, there was nothing
which would trigger a display flush, leading to applications potentially
deadlocking

@fix

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