platform/upstream/efl.git
6 years agoloop: Fix loop_get search priority
Jean-Philippe Andre [Wed, 20 Dec 2017 02:02:59 +0000 (11:02 +0900)]
loop: Fix loop_get search priority

According to comments by @k-s & @raster.

See 784a5b56a3c798e5a8 this was intended to be a fallback, not the first
lookup indeed. Since this is an error case, let's print an ERR message
at least.

6 years agoscroller: Fix compilation on Windows
Jean-Philippe Andre [Wed, 20 Dec 2017 02:06:13 +0000 (11:06 +0900)]
scroller: Fix compilation on Windows

Thanks @vtorri for the report.
Fixes T6528

6 years agoexamples: Add C# buttons/popup example.
Lauro Moura [Wed, 13 Dec 2017 04:51:48 +0000 (01:51 -0300)]
examples: Add C# buttons/popup example.

6 years agoeina: fixup EAPI definition.
Cedric BAIL [Tue, 19 Dec 2017 17:54:45 +0000 (09:54 -0800)]
eina: fixup EAPI definition.

6 years agoupdate po files
Carsten Haitzler (Rasterman) [Tue, 19 Dec 2017 16:24:23 +0000 (01:24 +0900)]
update po files

6 years agoefl build... let's not break building against efl...
Carsten Haitzler (Rasterman) [Tue, 19 Dec 2017 16:23:55 +0000 (01:23 +0900)]
efl build... let's not break building against efl...

yet again headers messed up and building against efl is broken!

6 years agoeina: fix random segfaults when displaying BT
Jean Guyomarc'h [Tue, 19 Dec 2017 15:33:18 +0000 (16:33 +0100)]
eina: fix random segfaults when displaying BT

Under some circumstances, eina crashes when attempting to display the
backtrace, because dladdr() may yield a dli_fname that is NULL. This is
especially annoying in realease, when the backtrace is shown by default
when CRI/ERR are thrown.

@fix

6 years agoevas/elm: fix visibility of some symbols
Jean Guyomarc'h [Tue, 19 Dec 2017 13:11:44 +0000 (14:11 +0100)]
evas/elm: fix visibility of some symbols

Public symbols were defined internal to Evas/Elementary on macOS, making
the link of external modules unfeasible.

- EAPI was messed up by an invalid inclusion of evas_text_utils.h, making
  some symbols private instead of public.
- A similar issue was present in evas_font_draw.c, where the symbols
  were directly imported without the proper definition of EAPI.
- Elementary.h did include some eo-generated headers, but for windows
  only. It should not been restricted to windows, as it allows to export
  symbols to external modules.

Fixes T6448.

6 years agoevas: include missing header
Jean Guyomarc'h [Tue, 19 Dec 2017 13:10:53 +0000 (14:10 +0100)]
evas: include missing header

This fixes a compilation warning telling a function was used without
prior declaration.

6 years agowin: Show windows created by efl_add with a job
Jean-Philippe Andre [Tue, 19 Dec 2017 11:37:25 +0000 (20:37 +0900)]
win: Show windows created by efl_add with a job

This fixes efl_add(WIN) on wayland, using an internal API.
Test scenario:
  ELM_DISPLAY=wl elementary_test -to "Part Shadow"

6 years agoEldbus: add test suite for eldbus (eldbus_pending_data*)
Mykola Solyanko [Tue, 19 Dec 2017 05:41:32 +0000 (14:41 +0900)]
Eldbus: add test suite for eldbus (eldbus_pending_data*)

Summary:
add tests for next API:
eldbus_pending_data_set()
eldbus_pending_data_get()
eldbus_pending_data_del()

Reviewers: cedric, NikaWhite, myoungwoon, raster, artem.popov

Subscribers: jpeg

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

6 years agoEldbus: add test suite for eldbus (eldbus_pending_cancel*)
Mykola Solyanko [Tue, 19 Dec 2017 05:41:22 +0000 (14:41 +0900)]
Eldbus: add test suite for eldbus (eldbus_pending_cancel*)

Summary:
add tests for next API:
eldbus_pending_cancel()
eldbus_pending_destination_get()
eldbus_pending_interface_get()
eldbus_pending_method_get()
eldbus_pending_path_get()

Reviewers: cedric, NikaWhite, myoungwoon, raster, artem.popov

Subscribers: jpeg

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

6 years agoexamples: Fix compilation (cxx bg & table)
Jean-Philippe Andre [Tue, 19 Dec 2017 05:35:06 +0000 (14:35 +0900)]
examples: Fix compilation (cxx bg & table)

See 25136ddf8ccbf384b21d89a7ce3939c1d4db00a6
See 0f16a0671008a324d8e1b523fb16ce7b5c1acd6c

Note: This only fixes compilation, not runtime!

6 years agoscroll: Fix a warning (and probably the logic too)
Jean-Philippe Andre [Tue, 19 Dec 2017 05:23:14 +0000 (14:23 +0900)]
scroll: Fix a warning (and probably the logic too)

6 years agoeolian_cxx: Fix cxx build after evt changes
Lauro Moura [Tue, 19 Dec 2017 05:18:25 +0000 (14:18 +0900)]
eolian_cxx: Fix cxx build after evt changes

Summary: Examples and libeolian_cxx api changes

Reviewers: jpeg, felipealmeida

Subscribers: cedric

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

6 years agoefl_ui_spin_button: remove needless focus_set
Yeongjong Lee [Tue, 19 Dec 2017 05:17:39 +0000 (14:17 +0900)]
efl_ui_spin_button: remove needless focus_set

Summary:
because _entry_show_cb callback call focus_set function,
efl_ui_focus_manager_focus_set is unnecessary.
also, this fixes focus error message.

Test Plan:
1. elementary_test -to Efl.Ui.Spin.Button
2. click the entry.

Reviewers: CHAN, Jaehyun_Cho, bu5hm4n

Reviewed By: CHAN

Subscribers: cedric, jpeg

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

6 years agointerface : change efl_pack_grid and efl_ui_grid to efl_pack_table and efl_ui_table
SangHyeon Lee [Tue, 19 Dec 2017 05:13:58 +0000 (14:13 +0900)]
interface : change efl_pack_grid and efl_ui_grid to efl_pack_table and efl_ui_table

Summary:
Change name of 'grid' to 'table' for matching on common ui naming
and avoiding confusion with 'gengrid' and 'grid view'.
grid will be introduced as grid image view after.

Test Plan:
checked make & make install
checked make check - there are errors but not related with these changes.
checked make examples - there are errors in cxx but not related with these changes.
checked make discheck - failed
test in elementary_test with Efl.Ui.Table and Table_static.

Reviewers: raster, cedric, jpeg, felipealmeida

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

6 years agoecore: Shutdown ecore after running tests
Jean-Philippe Andre [Tue, 19 Dec 2017 04:45:02 +0000 (13:45 +0900)]
ecore: Shutdown ecore after running tests

Those test cases should verify that the threads have exited cleanly, and
then we can shutdown ecore.

CK_FORK=no ecore_suite passes

6 years agoecore: Properly shutdown pollers
Jean-Philippe Andre [Tue, 19 Dec 2017 04:44:33 +0000 (13:44 +0900)]
ecore: Properly shutdown pollers

6 years agoecore: Fix up some test cases
Jean-Philippe Andre [Tue, 19 Dec 2017 03:21:29 +0000 (12:21 +0900)]
ecore: Fix up some test cases

- Add missing ecore_shutdown
- Reinstate supposedly silly test case (see previous commits, the main
  loop object can in fact die cleanly).
- Disable really silly test cases (inner main loops aren't meant to
  work)

6 years agoefl: Reset ecore event types on init
Jean-Philippe Andre [Tue, 19 Dec 2017 02:14:37 +0000 (11:14 +0900)]
efl: Reset ecore event types on init

This fixes cycles of init/shutdown/init where ecore event types would
become invalid, since they are now stored in a dynamic array rather than
a statically stored array.

The risk here is that if a module of EFL tends to init/shutdown in a
"normal" scenario then the event type array will grow in a leaking
manner. This could be fixed by resetting those event ID's only when the
loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using
EFL_EVENT_DEL in this patch as this would add too many event callbacks
to the main loop object, which may result in slightly slower event calls
to it, affecting the overall performance.

6 years agoscroller: Introducing Efl.Ui.Scroller
Wonki Kim [Mon, 18 Dec 2017 12:08:25 +0000 (21:08 +0900)]
scroller: Introducing Efl.Ui.Scroller

Summary:
scrollable widgets had a interface_scrollable as a mixin so that the
widgets had a 'is-a' relation with interface_scrollabe.  however, new
scroller concept don't have 'is-a' relationship, but 'has-a'
relationship.  scrollable widgets should have a scroll manager inside
them, then scroll manager handles event from user and api
implementations.  and also we cut the features such as paging because
there will be aka 'elm_pager'.

we are expecting that the new concept make us to maintain the scroller
easier.  please excuse for many unorganized code and logics. : (

[contained commit]
scrollable: add efl_ui_scroller example
scrollable: refactoring for behavior in case of multiple scroller
scrollable: remove repetitive scrollbar code.
scrollable: combine calculating bounce distance code.
scroll_manager: mouse up function refactoring
scroll_manager: mouse move function refactoring
scroll_manager: warp animator wip
scroll_manager: fix denominator value when calculating flicking behavior.
Fix to disconnect bounce animator once animation is done
gather duplicated animator drop logics
gather duplicated conditions
Rearrange prototypes and append comment
Add manipulate functions for animators
scroll_manager: change member_add function.
scroll_manger: apply mirroring logic
scroll_manager: apply scrollbar
apply API to scroller widget
scroll_manager: apply scroll event callback
Change logics for all about scroll animating
efl_ui_pan: add efl_ui_pan
scrollable:  change content_min_limit to match_content
scroll theme: apply overlapped scrollbar
+ many others!

Reviewers: akanad, woohyun, cedric, jpeg

Subscribers: jenkins, cedric, jpeg

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

Note by @jpeg:
Unfortunately this patch comes in a massive single blob, after too many
rebase operations. It has now come to a point where I think the API is
nice and it works as I'd expect.
Now I only wonder how applicable this will be for Efl.Ui.List. As we can
see Photocam (legacy and unified API) could be transformed to use this
new API.

6 years agoeina: Add missing eina_internal.h
Jean-Philippe Andre [Tue, 19 Dec 2017 01:18:43 +0000 (10:18 +0900)]
eina: Add missing eina_internal.h

6 years agoeina: make __eina_promise_cancel_all an internal only function.
Cedric BAIL [Tue, 19 Dec 2017 00:17:04 +0000 (16:17 -0800)]
eina: make __eina_promise_cancel_all an internal only function.

6 years agoecore: make message_process and message_exists internal function.
Cedric BAIL [Tue, 19 Dec 2017 00:10:11 +0000 (16:10 -0800)]
ecore: make message_process and message_exists internal function.

6 years agoeolian: fix use-after-free in eo_parser
Daniel Kolesa [Mon, 18 Dec 2017 23:20:40 +0000 (00:20 +0100)]
eolian: fix use-after-free in eo_parser

Thanks @netstar for finding this.

Fixes T6523.

6 years agoefl_ui_image: apply load_size when API is called
Sungtaek Hong [Mon, 18 Dec 2017 08:33:49 +0000 (17:33 +0900)]
efl_ui_image: apply load_size when API is called

Summary:
when  efl_image_load_size_set() is called, image only sets
internal variable and not apply to the internal image.
elm_image_prescale_set() is also affected.

Test Plan: Run elementary_test->Image Prescale

Reviewers: jpeg, eunue, woohyun

Subscribers: cedric

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

6 years agoefl_ui_bg_widget: replace internal image to efl_ui_image
Sungtaek Hong [Tue, 12 Dec 2017 11:05:55 +0000 (20:05 +0900)]
efl_ui_bg_widget: replace internal image to efl_ui_image

6 years agoefl_ui_bg: add Efl.Ui.Bg interface
Sungtaek Hong [Mon, 18 Dec 2017 04:55:25 +0000 (13:55 +0900)]
efl_ui_bg: add Efl.Ui.Bg interface

Summary:
- Previous class efl_ui_bg moved to efl_ui_bg_widget.
- Scale_type moved to efl_image from efl_ui_image.
- Previous enum Efl_Ui_Image_Scale_Type moved to Efl_Image_Scale_Type.

Test Plan:
Run elementary_test
1.Image Scale Type
2.Efl.Ui.Bg
3.Efl.Ui.Win
4.Part Background

Reviewers: jpeg, woohyun, cedric

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

6 years agoecore: Avoid access to invalid eo id
Jean-Philippe Andre [Mon, 18 Dec 2017 10:04:56 +0000 (19:04 +0900)]
ecore: Avoid access to invalid eo id

Not a fan of the solution, as I think some of the logic handling those
futures is a bit broken. I'm not 100% sure about this patch. But this
improves make check with CK_FORK=no in elm_suite.

6 years agoecore: Simplify code
Jean-Philippe Andre [Mon, 18 Dec 2017 04:35:32 +0000 (13:35 +0900)]
ecore: Simplify code

6 years agoecore_con: Make sure the proxy helper is valid
Jean-Philippe Andre [Mon, 18 Dec 2017 03:25:59 +0000 (12:25 +0900)]
ecore_con: Make sure the proxy helper is valid

If the http proxy helper gets deleted at shutdown rather than because
the process actually exited, the object pointer becomes invalid. This
patch tries to avoid a situation where the object is not valid.

6 years agoecore_con: Properly shutdown and unregister log domain
Jean-Philippe Andre [Mon, 18 Dec 2017 03:04:05 +0000 (12:04 +0900)]
ecore_con: Properly shutdown and unregister log domain

I believe the comment saying we should not unregister the log domain is
invalid as we try to flush the pending ecore events.

6 years agoecore_con: Always get the loop on init
Jean-Philippe Andre [Mon, 18 Dec 2017 03:02:45 +0000 (12:02 +0900)]
ecore_con: Always get the loop on init

In case of init/shutdown/init cycles, the loop EO ID has changed, so it
must be fetched again.

6 years agoecore_con: Avoid safety errors when closing http
Jean-Philippe Andre [Mon, 18 Dec 2017 02:59:57 +0000 (11:59 +0900)]
ecore_con: Avoid safety errors when closing http

When setting EOS on the dialoer, it's possible that it will also get
automatically closed (by a callback). This results in safety check error
messages, while everything is fine (at least I believe it is).

6 years agoloop: Try harder to find the main loop
Jean-Philippe Andre [Mon, 18 Dec 2017 02:58:43 +0000 (11:58 +0900)]
loop: Try harder to find the main loop

If the object has no parent or anything else goes a bit wrong,
efl_loop_get() may fail to return the loop object. It's a bit ridiculous
when we're in the main loop as we know which loop object was requested.

This avoids returning NULL.

6 years agoecore: Avoid double free with promises
Jean-Philippe Andre [Fri, 15 Dec 2017 10:09:02 +0000 (19:09 +0900)]
ecore: Avoid double free with promises

6 years agoecore: Fix legacy message handlers destruction
Jean-Philippe Andre [Fri, 15 Dec 2017 10:08:59 +0000 (19:08 +0900)]
ecore: Fix legacy message handlers destruction

6 years agoeo/eina: Add HACK to avoid calls to EO after shutdown
Jean-Philippe Andre [Fri, 15 Dec 2017 08:44:28 +0000 (17:44 +0900)]
eo/eina: Add HACK to avoid calls to EO after shutdown

Efl.Future is an EO object which means even cancelling Efl.Future
objects requires EO. So this should be done before shutting down EO,
otherwise everything fails badly.

I believe Efl.Future is going to disappear soon, but the problem will
remain: if any promise/future uses EO or anything else outside of Eina
(so, basically anything) then it needs to be canceled before shutting
down the above layers. This is the same situation as with ecore events,
for which we've introduced ecore_event_type_flush.

Ping @cedric

6 years agoecore: Fix clean shutdown
Jean-Philippe Andre [Fri, 15 Dec 2017 08:42:08 +0000 (17:42 +0900)]
ecore: Fix clean shutdown

There is no good reason to not shutdown a library properly. The loop
object can easily be deleted safely, if it is properly initialized. The
del event happens before destruction so it is too early to set the
singleton variable to NULL. Do that as late as possible and all calls to
efl_loop_main_get() will work as expected.

The issue with fd's was simply that they were not initialized to -1
(timer_fd), as some #ifdef statements have disappeared.

6 years agoecore: Fix warning with enum
Jean-Philippe Andre [Fri, 15 Dec 2017 08:20:20 +0000 (17:20 +0900)]
ecore: Fix warning with enum

6 years agoentry: Add autofill hint 16/166416/2
Jihoon Kim [Wed, 10 Jan 2018 05:58:48 +0000 (14:58 +0900)]
entry: Add autofill hint

Change-Id: If722f8c2953b56e3d0ef2c2f24afca3c5d588847
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years ago[evas_sw_backend] 1. evas sw tbm backend implement 97/166397/2
Joogab Yun [Thu, 28 Dec 2017 07:06:11 +0000 (16:06 +0900)]
[evas_sw_backend] 1. evas sw tbm backend implement
                  2. wayland_tbm_client_init / deinit in ecore_evas

Change-Id: Ia605be8f0cac12b1873d82392d894b89f88543b1

6 years agophotocam: fix late calculation when object is resized or moved 99/166299/2
WooHyun Jung [Tue, 9 Jan 2018 08:21:46 +0000 (17:21 +0900)]
photocam: fix late calculation when object is resized or moved

This commit is merged from Tizen 2.4

@tizen_fix

Change-Id: Icb86010cfcf5a152cdbb1e0bcca14babb993b924

6 years agogenlist: apply tizen_only in upstream genlist 02/165802/3
SangHyeon Lee [Thu, 4 Jan 2018 05:53:07 +0000 (14:53 +0900)]
genlist: apply tizen_only in upstream genlist

Change-Id: I287e68c10097f65c8f55fb1bef14feb97f03b5a2
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoedje_recc: set edje_recc's own absolue path 88/166288/2
WooHyun Jung [Mon, 4 Jul 2016 00:53:23 +0000 (09:53 +0900)]
edje_recc: set edje_recc's own absolue path

Change-Id: I129f2005d01449171d918e4aeea38ee8fa17cdea

6 years agoedje/elementary: apply Tizen's color_class features 70/166170/2
Youngbok Shin [Mon, 8 Jan 2018 11:02:32 +0000 (20:02 +0900)]
edje/elementary: apply Tizen's color_class features

It includes the following features.
- Apply a color class to a Textblock's style.
- Add/Apply color class parent which propagates its color class to the children.

@tizen_feature

Change-Id: I7f29f0bb58ee6607e81b938677d4518c8ff19234

6 years agoecore_wl2: maintain a device list for each window 68/166168/5
JengHyun Kang [Mon, 8 Jan 2018 10:52:47 +0000 (19:52 +0900)]
ecore_wl2: maintain a device list for each window

Change-Id: I6eeacaffae799d41cf0e9fa556290e116624ee84

6 years agoecore_wl2: move keygrab's structrures private to public 73/166173/4
JengHyun Kang [Mon, 8 Jan 2018 11:32:34 +0000 (20:32 +0900)]
ecore_wl2: move keygrab's structrures private to public

Change-Id: I12c87bc2b9f1a09056a58acb8a4f38ca8eb1fb50

6 years agoecore_imf: Change @since in transaction event callback 06/166206/1
Jihoon Kim [Tue, 9 Jan 2018 01:23:15 +0000 (10:23 +0900)]
ecore_imf: Change @since in transaction event callback

Change-Id: I4e83b8bce7328ddab29507ebf3441a9f8b73f8d8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_imf: Add transaction start and end event callback 97/166197/2
Jihoon Kim [Mon, 8 Jan 2018 23:13:47 +0000 (08:13 +0900)]
ecore_imf: Add transaction start and end event callback

Change-Id: I091b4e291b821ee5b6cc180d98024e251d4bcd03
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_wl2: add keygrab list set/get 83/166183/2
Hosang Kim [Mon, 8 Jan 2018 13:05:44 +0000 (22:05 +0900)]
ecore_wl2: add keygrab list set/get

Change-Id: I2ff900dcb2f37d406246ef5b781660670da50f48

6 years agoecore_wl2: enable cplusplus define 95/166095/2
Wonsik, Jung [Mon, 8 Jan 2018 00:44:11 +0000 (09:44 +0900)]
ecore_wl2: enable cplusplus define

enable cplusplus define

Change-Id: I55289d7794996efd25c43430f6612998c515ff82

6 years ago efl_ui_win: disable pointer window in wayland backend.
Jiyoun Park [Sat, 6 Jan 2018 06:41:56 +0000 (15:41 +0900)]
   efl_ui_win: disable pointer window in wayland backend.

   Currently, if efl_ui_win create two windows, device info was changed
   during the evas event creation.
   to get the binary which touch work well, we disable pointer window feature temporarily.
   this patch should be reverted.

6 years agoedje: rename PLUGIN macro to EDJE_TIZEN_PLUGIN
Youngbok Shin [Mon, 8 Jan 2018 04:56:48 +0000 (13:56 +0900)]
edje: rename PLUGIN macro to EDJE_TIZEN_PLUGIN

The PLUGIN can be used in other libraries.

@tizen_fix

Change-Id: I99691dc15a6723213c8ec0e173e2b334b46c992d

6 years ago efl_ui_win: emit the edje signal for non basic window
Jiyoun Park [Fri, 5 Jan 2018 03:33:23 +0000 (12:33 +0900)]
   efl_ui_win: emit the edje signal for non basic window

   wayland server cannot decide the client size if client window is not basic window.
   so client shoud set the size, but elm theme set the content's fixed value to (1,1).
   non basic window need to set the content's fixed value to (0, 0).

6 years ago ecore_wl2_surface: fix zero size buffer creation
Jiyoun Park [Fri, 5 Jan 2018 03:24:45 +0000 (12:24 +0900)]
   ecore_wl2_surface: fix zero size buffer creation

   opensource changed the shm surface code not to create shm buffer at init time.
   Becuase of this client can request to the server using the zerosize buffer,
   tizen buffer driver cannot allow zerosize.

6 years ago efl_ui_win:Use win_no_border config temporarily.
Jiyoun Park [Thu, 4 Jan 2018 07:07:09 +0000 (16:07 +0900)]
   efl_ui_win:Use win_no_border config temporarily.

   opensource efl_ui_win use elm/border/base/default.
   in tizen, we need to change theme related with title.

6 years agoReuse ecore_imf_context when theme is changed 37/159637/3
Jihoon Kim [Sat, 31 Jan 2015 12:17:16 +0000 (21:17 +0900)]
Reuse ecore_imf_context when theme is changed

Change-Id: Ie0374f9e3839a5da1527a0eab381f4d4dc632c9c

6 years agoedje: don't run legacy calculation for Textblock parts
Youngbok Shin [Wed, 3 Jan 2018 13:32:20 +0000 (22:32 +0900)]
edje: don't run legacy calculation for Textblock parts

Tizen will ignore legacy calculation logics for Textblock parts.

@tizen_fix

Change-Id: I886fc39a2385f1153e76f124497b2fa579f65bab

6 years agoedje: add missing initialization code for Tizen only feature - valign 43/165743/1
Youngbok Shin [Wed, 3 Jan 2018 13:25:39 +0000 (22:25 +0900)]
edje: add missing initialization code for Tizen only feature - valign

@tizen_fix

Change-Id: Ibada49e943b076963594c510bfe13d5a44aa541b

6 years agoecore_wl2_display: fix wayland event listener not to have wrong data 46/165346/4
Juyeon Lee [Thu, 28 Dec 2017 08:35:38 +0000 (17:35 +0900)]
ecore_wl2_display: fix wayland event listener not to have wrong data

@tizen_feature

Change-Id: I6d6e5e6cc57ec301e53a77a348e4a9e37d042d42

6 years agopopup: support scrollable content 12/162112/4
JinYong Park [Wed, 29 Nov 2017 06:46:31 +0000 (15:46 +0900)]
popup: support scrollable content

@tizen_fix (tizen 2.4 feature)

original patch : https://review.tizen.org/gerrit/#/c/95889/

Change-Id: I936aaae4b842a6519ded0f386d7a4635a093ebcf
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: fix popup size problem in landscape display mode 01/161701/8
JinYong Park [Mon, 27 Nov 2017 04:03:16 +0000 (13:03 +0900)]
popup: fix popup size problem in landscape display mode

origin patch : https://review.tizen.org/gerrit/#/c/64773/

Change-Id: I1fff057746d06d5a239a5d21cc5518ff75e4616e
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: add outside_pad for portrait mode 91/161891/5
JinYong Park [Tue, 28 Nov 2017 05:55:27 +0000 (14:55 +0900)]
popup: add outside_pad for portrait mode

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/76462/

Change-Id: I632cb8c52a09e3d420c724c382d989028db871b3
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: add tizen custom signal (tizen 2.3 layout feature) 21/162121/3
JinYong Park [Wed, 29 Nov 2017 07:21:39 +0000 (16:21 +0900)]
popup: add tizen custom signal (tizen 2.3 layout feature)

for wearable circle theme compatibility

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/108302/

Change-Id: I2edb99e2a85461c98ffec330b7adc33ec9a74d66
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: fix content height problem when vertical align fill 17/162117/3
JinYong Park [Wed, 29 Nov 2017 06:53:56 +0000 (15:53 +0900)]
popup: fix content height problem when vertical align fill

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/98386/

Change-Id: Ib884d5a08d61c27555111ec72915fbc51d77c4c6
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: fix theme apply problem when font/language is changed 01/162101/3
JinYong Park [Wed, 29 Nov 2017 06:14:59 +0000 (15:14 +0900)]
popup: fix theme apply problem when font/language is changed

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/92794/

Change-Id: I9610785e21b17da310ca3841a3be3c0f03dd4a6d
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: add subtitle text 87/162087/3
JinYong Park [Wed, 29 Nov 2017 05:37:22 +0000 (14:37 +0900)]
popup: add subtitle text

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/89132/

Change-Id: Ifc16e8fc8a8a6ebd4e04501702325bc0e0dc32c6
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: add a allow eval flag not to call another sizing eval during sizing eval 61/161861/5
JinYong Park [Tue, 28 Nov 2017 02:59:39 +0000 (11:59 +0900)]
popup: add a allow eval flag not to call another sizing eval during sizing eval

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/76437/

Change-Id: I50613a10ee64cae17858e55e40e36b5252a594f2
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agopopup: fix popup's max height 65/162165/3
JinYong Park [Wed, 29 Nov 2017 09:52:06 +0000 (18:52 +0900)]
popup: fix popup's max height

If popup's parent is smaller than windown,
popup's max height is smaller than which be intended

@tizen_fix

original patch : https://review.tizen.org/gerrit/#/c/112696/

Change-Id: I54cf7ce5b4ba856c6051067dc413f08114bd3c8e
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years ago ecore_evas_wayland_common: modify tizen only code related with size
Jiyoun Park [Tue, 2 Jan 2018 07:08:24 +0000 (16:08 +0900)]
   ecore_evas_wayland_common: modify tizen only code related with size

   opensource change the size negotiation process.

6 years ago ecore_evas_wayland_common: remove ECORE_EVAS_DEICONIFY_RENDER_UPDATE
Jiyoun Park [Tue, 2 Jan 2018 02:39:31 +0000 (11:39 +0900)]
ecore_evas_wayland_common: remove ECORE_EVAS_DEICONIFY_RENDER_UPDATE

    wayland client should update its evas when the state has changed
      from iconic to un-iconic, regardless ECORE_EVAS_DEICONIFY_RENDER_UPDATE

    original_change-Id: I8bdd569c286a742c0fdb0e14392d9c86c4f5cc6f

6 years ago evas_shm: remove EVAS_SHM_FLUSH
Jiyoun Park [Tue, 2 Jan 2018 02:34:45 +0000 (11:34 +0900)]
evas_shm: remove EVAS_SHM_FLUSH

    wayland shm backend should handle flush event from display server, regardless
     EVAS_SHM_FLUSH envir. value

    original_change-Id: I48474ff82a20a162686ee61dd5ef80c9e21ca5d7

6 years ago evas_common_private: fix undefined error related with visibility hidden
Jiyoun Park [Fri, 29 Dec 2017 06:55:45 +0000 (15:55 +0900)]
   evas_common_private: fix undefined error related with visibility hidden

6 years agomake some hidden APIs to visible 84/165384/1
Jongmin Lee [Thu, 28 Dec 2017 11:59:40 +0000 (20:59 +0900)]
make some hidden APIs to visible

Change-Id: I17072295cc92ad0a779ecbb68f0f9b442924b33d

6 years agoevas_main: fix not to add evas devices for seat/mouse/keyboard even for software_tbm
JengHyun Kang [Thu, 21 Dec 2017 07:43:35 +0000 (16:43 +0900)]
evas_main: fix not to add evas devices for seat/mouse/keyboard even for software_tbm

Change-Id: I605d6c0fed106ef457c5fa0176506af37b9ad230

6 years agorebase/elm_widget: Fix conflict created by rebasing
Wonki Kim [Wed, 27 Dec 2017 07:41:13 +0000 (16:41 +0900)]
rebase/elm_widget: Fix conflict created by rebasing

Change-Id: I539d40ebdb78ff6b453ad4a22b54decbf2c29aa0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agorebase/efl_ui_win: remove duplicated code block created by rebasing task
Wonki Kim [Wed, 27 Dec 2017 07:30:54 +0000 (16:30 +0900)]
rebase/efl_ui_win: remove duplicated code block created by rebasing task

Change-Id: I368e8b5eda59634bf6e5515bf081d5c9bb1be99a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agorebase/ecore_wl2: Modify ecore_wl2 window to follow upstream code
Wonki Kim [Wed, 27 Dec 2017 07:30:00 +0000 (16:30 +0900)]
rebase/ecore_wl2: Modify ecore_wl2 window to follow upstream code

Change-Id: Ia802987535084e09c0cfe3cb6776a9288a6be69e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agorebase/elm_widget: Remove duplicated method of widget eo def
Wonki Kim [Wed, 27 Dec 2017 05:49:44 +0000 (14:49 +0900)]
rebase/elm_widget: Remove duplicated method of widget eo def

Change-Id: I4fc068b38b682fc2db1707adbfe9afb017885862

6 years agoadd %find_lang macro in spec file
Jongmin Lee [Mon, 25 Dec 2017 23:54:40 +0000 (08:54 +0900)]
add %find_lang macro in spec file

Change-Id: I914db2ec3cb3f68fe7c6745c2c5b16b1f12fe2f0

6 years agoecore_wl2_window: window configured incorrect size when zxdg_toplevel configure width...
Juyeon Lee [Fri, 22 Dec 2017 08:07:11 +0000 (17:07 +0900)]
ecore_wl2_window: window configured incorrect size when zxdg_toplevel configure width, height

in case of below
 if window geometry is the same  width / height as protocol passing by
 Server -> Client : zxdg_toplevel_v6@xx.configure(720,1280,array)
 than window has configured width/height with size 0
once window get rotation changed, it generate rotation event refering to
 configure width,height than, it became size 0 window

Change-Id: I634e62a97e34a3a7d5d9d623b6ce589050aacae7

6 years agoecore_evas_wayland: fix bug to pass correct rotation angle
Juyeon Lee [Fri, 22 Dec 2017 03:02:40 +0000 (12:02 +0900)]
ecore_evas_wayland: fix bug to pass correct rotation angle

Change-Id: If3a77654649d7eb85b52baecd7ef5919070d2775

6 years agoecore_evas_wayland: support WM Rotation interface for wayland
Juyeon Lee [Fri, 22 Dec 2017 02:56:13 +0000 (11:56 +0900)]
ecore_evas_wayland: support WM Rotation interface for wayland

tizen_policy_ext, tizen_rotation binded clients are available to supports

Change-Id: I05c1727a9c38e119230fae9818cce7a713d3ea06

6 years agoRevert "ecore_wl2: add ecore_wl2_window_update_size()"
Juyeon Lee [Fri, 22 Dec 2017 08:22:37 +0000 (17:22 +0900)]
Revert "ecore_wl2: add ecore_wl2_window_update_size()"

This reverts commit 5e1691ddb179529993293038b21156bca319d5b4.

Change-Id: Ida450f3441da6719fe7d7b9c9eec0417e187ec1c

6 years agoecore_wl2: add ecore_wl2_window_update_size()
Juyeon Lee [Thu, 21 Dec 2017 06:35:13 +0000 (15:35 +0900)]
ecore_wl2: add ecore_wl2_window_update_size()

migrate api from ecore_wl_window_update_size at ecore_wayland/ecore_wl_window.c

Change-Id: Ifeb94899e358ee6ec6d5ca857dd74529bb70226d

6 years agoevas_device: send a hw device for pointer events
JengHyun Kang [Wed, 20 Dec 2017 11:02:43 +0000 (20:02 +0900)]
evas_device: send a hw device for pointer events

Change-Id: I95c9b9bed07437a28f5ccb1f26b9e2f36d88d415

6 years agoatspi: use detail value of window activated signal
Shinwoo Kim [Wed, 20 Dec 2017 08:49:38 +0000 (14:19 +0530)]
atspi: use detail value of window activated signal

The detail value of window activated signal is using for following cases

(1) support "default_label" attribute of window
(2) notify existing keyboard window.
The keyboard window would exist always, once it shows.
So if screen-reader turns off, and turn on again, there was no ATSPI signal.
We are using 'activate' signal for this case to get the reference of
keyboard window. And we are using detail value to reduce a call of IPC.
orig: ba47f6bba8065c4ae1f4fd20e8d60ff1487be2b1

Change-Id: I36c5b96868233bdf7a162f4a1d23057ed9b2a05f
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: emit signal after atspi bridge is connected
Shinwoo Kim [Wed, 20 Dec 2017 07:58:38 +0000 (13:28 +0530)]
elm: access: emit signal after atspi bridge is connected

This patch set emitting popup SHOWING signal, and window ACTIVE signal after
the atspi bridge is connectted.

The SHOWING signal of popup does not work properly, if the popup shows before
the atspi bridge is not connected. In this case, the screen-reader cannot read
popup information. So the SHOWING signal should be emitted after the connection
is established.

The ACTIVE signal does not work properly in the following case.
There are two windows show in one process at the same time. In this case,
the ACTIVE signal was not emitted because window_activated_broadcast_needed is
set to EINA_FALSE. This would be a bug.

orig: fe8b20fac57caa39c0f801d3819e688f391c1831

Change-Id: I7e88b20c1d31ecc41410d8d81159654ce637e133
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoatspi: handle atspi proxy connection at runtime
Shinwoo Kim [Tue, 12 Dec 2017 14:55:40 +0000 (20:25 +0530)]
atspi: handle atspi proxy connection at runtime

The following cases make atspi proxy work incorrectly.

[case 1]
1. screen reader on, then a11y order would be
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A2 grab highlight
3. go previous, then A1 grabs highlight.
   but expected result is that the B2 grabs highlight

[case 2]
1. screen reader on, then a11y order would be
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A1 grab highlight
3. go next, then B1 grabs highlight.
   This means that the proxy connection is made properly.
4. screen reader off
5. screen reader on, then a11y order is
   A1(embedding, deputy) -  A2(embedding)
   but the following is expected result as step 1
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)

So far the pory connects if elm_interface_atspi_children_get is called.
So there is no chance to make connection for the [case 1].

When atspi is disabled, then all atspi related interface is closed.
But the proxy related resources are not removed.
If atspi is enabled again, then newly created interface is used on new BUS.
And the proxy related resources are reused.
So the [case 2]  happens.

This patch set depends on screen-connector to use "widget,create" signal to
connect proxy on elementary side. This should be removed, and we have to
provide proper API to be used on screen-connector side to connect proxy.

orig: 4b26fedd8b3366ac3e5bc89e8e09a5e668616dfd

Change-Id: I4f3a68c9eca271c9ba3b38bff9be3df1794f27e5
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoRevert "elm: access: add widget/widget_item accessible_description_set/get Because...
shilpa singh [Tue, 19 Dec 2017 08:47:16 +0000 (08:47 +0000)]
Revert "elm: access: add widget/widget_item accessible_description_set/get Because the translatable domain exits in widget/widget_item data, it does not work with base interface description_set/get. suprem.sec.samsung.net/jira/browse/TSAM-9930"

This reverts commit 317dcdfe6c75f4a74a92e90e3f6811fa3fed717c.

(This patch is not required as efl_access_description_set/get should be enough)

Change-Id: Ib55f6ea4074a0cd1f9ef230cf4ccb412fc45befd

6 years agoelm: access: fix - socket proxy should be created before bridge is connected
Shinwoo Kim [Mon, 18 Dec 2017 14:40:59 +0000 (20:10 +0530)]
elm: access: fix - socket proxy should be created before bridge is connected

Change-Id: Ia41b77c2d747bc4b332882ee6e7155b63946688c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoevas_engine: add to free evas engine resource
Wonsik, Jung [Mon, 18 Dec 2017 12:28:05 +0000 (21:28 +0900)]
evas_engine: add to free evas engine resource

Add to free evas engine resourece before free evas and initialize ecore_evas's driver

@tizen_only
Change-Id: Ic097f3145f6530d7b8ddf960eca6ba52b265d065

6 years agoelm: access: find valid child of list item
Shinwoo Kim [Tue, 12 Dec 2017 15:15:18 +0000 (20:45 +0530)]
elm: access: find valid child of list item

This patch set is solving following case.
If genlist item uses evas_object_image_source_set to show item itself, then
evas_tree_objects_at_xy_get does not return below objects of image source.
So content objects of genlist item could not become cadicdates for
elm_interface_atspi_component_accessible_at_point_get.

@tizen_fix

Change-Id: I2fd47b5fb231a7bed6f7b499683040428e370a52
orig: 4c82b324e48cd19f94f64cfadd945efc0d88dd2f
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm_colorselector : set selected status directly in selected_set function 13/165213/1
Jeonghyun Yun [Wed, 27 Dec 2017 06:03:47 +0000 (15:03 +0900)]
elm_colorselector : set selected status directly in selected_set function

@tizen_fix

Change-Id: I79bdea8bfdcf4f57e2a49dea711e4ce6a106857c
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector : support marking change when color set on ELM_COLORSELECTOR_PALETT... 12/165212/1
Jeonghyun Yun [Wed, 27 Dec 2017 06:02:16 +0000 (15:02 +0900)]
elm_colorselector : support marking change when color set on ELM_COLORSELECTOR_PALETTE mode only

@tizen_fix

Change-Id: I90e16ca018b5c5c35c8767b454e5881835f11a8c
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: changed item selection procedure to handle by _on_color_selected() 11/165211/1
Jeonghyun Yun [Wed, 27 Dec 2017 05:59:57 +0000 (14:59 +0900)]
elm_colorselector: changed item selection procedure to handle by _on_color_selected()

Deleted duplicate item selection procedure code
in _elm_color_item_selected_set() and _item_action_activate()

@tizen_fix

Change-Id: I9da15be0d6615e1c9c3e11a21d6517b52fc1b4b2
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: add callback for elm,state,selected for backward 10/165210/1
Jeonghyun Yun [Wed, 27 Dec 2017 05:56:16 +0000 (14:56 +0900)]
elm_colorselector: add callback for elm,state,selected for backward

@tizen_fix

Change-Id: I9a93dd38cc1c3a97d8c32b74a17fb5853dad4009
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: Fix palette align issue 99/165199/3
Jeonghyun Yun [Wed, 27 Dec 2017 05:30:37 +0000 (14:30 +0900)]
elm_colorselector: Fix palette align issue

@tizen_fix

Change-Id: I8e7a3761f5bd181a976823e7e02992ff237ebfec
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>