platform/upstream/enlightenment.git
9 years agocomp-wl: show warning window to notify failure of gl init 56/42656/4
MinJeong Kim [Wed, 1 Jul 2015 08:19:20 +0000 (17:19 +0900)]
comp-wl: show warning window to notify failure of gl init

To inform that gl init was failed, enlightenment creates elm_window by itself,
and checks pid of wl_client that is requesting "get_shell_surface". These check
will help to determine if it is internal window or not.

Change-Id: I528939ee2dbbf275c4a1d185ec86f0a3968b234e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoadd wayland-extension-server-devel for build dependency 13/42413/1 accepted/tizen/mobile/20150629.092756 accepted/tizen/tv/20150629.092822 accepted/tizen/wearable/20150629.092830 submit/tizen/20150629.043600
Boram Park [Mon, 29 Jun 2015 04:00:05 +0000 (13:00 +0900)]
add wayland-extension-server-devel for build dependency

Change-Id: I682078892e5a06a4440896c9db78ea79e3591eb7

9 years agomake sure create shm global object before creating other global objects 70/41270/1 accepted/tizen/mobile/20150626.064831 accepted/tizen/tv/20150626.064909 accepted/tizen/wearable/20150626.064949 submit/tizen/20150626.015417
Boram Park [Fri, 12 Jun 2015 07:43:50 +0000 (16:43 +0900)]
make sure create shm global object before creating other global objects

Below message happened because 'seat' global object created before 'shm' global object
ERR<4215>: lib/ecore_wayland/ecore_wl_input.c:223 ecore_wl_input_cursor_size_set() safety check failed: input->display->wl.shm == NULL
ERR<4215>: lib/ecore_wayland/ecore_wl_input.c:238 ecore_wl_input_cursor_theme_name_set() safety check failed: input->display->wl.shm == NULL

Change-Id: I393e405910a3e1e397789f0b8ed1906c70115d6b

9 years agoadd avaiable_hw_accel to E_Comp_Wl_Data to inform available hw devices 24/41124/2 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.160138 accepted/tizen/common/20150612.071633 accepted/tizen/mobile/20150613.021411 accepted/tizen/tv/20150613.021427 accepted/tizen/wearable/20150613.021441 submit/tizen/20150612.014854 submit/tizen_3.0.2015.q2_common/20150615.075539
Boram Park [Thu, 11 Jun 2015 07:56:09 +0000 (16:56 +0900)]
add avaiable_hw_accel to E_Comp_Wl_Data to inform available hw devices

Change-Id: I8bc53681e9eb865ae170f93a973542a402a28635

9 years agoimplementation of 'transient_for_unset' protocol 69/41069/2
Duna Oh [Thu, 11 Jun 2015 06:18:41 +0000 (15:18 +0900)]
implementation of 'transient_for_unset' protocol

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ic5d704bcff153906478d5096f6970f421530cb67

9 years agore-upload package accepted/tizen/common/20150610.144514 accepted/tizen/mobile/20150612.003437 accepted/tizen/tv/20150612.003553 accepted/tizen/wearable/20150611.085711 submit/tizen/20150609.065415 submit/tizen_common/20150610.013111 submit/tizen_common/20150610.072250 submit/tizen_mobile/20150611.000000 submit/tizen_tv/20150611.000001 submit/tizen_wearable/20150611.000000
Gwanglim Lee [Tue, 9 Jun 2015 07:32:15 +0000 (16:32 +0900)]
re-upload package

Change-Id: Ic4e8f8bd6da03ffca46feacc60744988c8e5151f

9 years agosupport screenshooter for gl_drm 62/40662/1 submit/tizen/20150608.113003
Boram Park [Mon, 8 Jun 2015 04:12:47 +0000 (13:12 +0900)]
support screenshooter for gl_drm

Change-Id: Icc2a9c00c9aa89091dd8831a8ca349dd865d2b7b

9 years agowl_screenshot: not support scaling in case of screenshooter 61/40661/1
Boram Park [Mon, 8 Jun 2015 04:11:54 +0000 (13:11 +0900)]
wl_screenshot: not support scaling in case of screenshooter

Change-Id: Id3122c9f1636323977b9643e78543ca463f9e22f

9 years agosoftkey fix: copy window's title to ec->icccm.name 51/40451/1 accepted/tizen/common/20150605.073350 accepted/tizen/mobile/20150605.103118 accepted/tizen/tv/20150605.103157 accepted/tizen/wearable/20150605.103136 submit/tizen/20150604.040644
Duna Oh [Thu, 4 Jun 2015 03:30:52 +0000 (12:30 +0900)]
softkey fix: copy window's title to ec->icccm.name

Change-Id: Ic328633ba8afef6849e8d9664e9ab72a9c9d42e9
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoset RENDER_OP to ec->frame also to display HW underlay 84/40384/1 accepted/tizen/common/20150603.124633 accepted/tizen/mobile/20150604.004215 accepted/tizen/tv/20150604.004239 accepted/tizen/wearable/20150604.004224 submit/tizen/20150603.021106
Boram Park [Wed, 3 Jun 2015 05:32:52 +0000 (14:32 +0900)]
set RENDER_OP to ec->frame also to display HW underlay

Change-Id: I84ea41393f7be2718a4a0eeb92a4dfacc3214930

9 years agocorrect map's destination pos 83/40383/1
Boram Park [Wed, 3 Jun 2015 05:32:08 +0000 (14:32 +0900)]
correct map's destination pos

Change-Id: I962e292ee912a6994ba4270de38d7d1a5ce2122a

9 years agowl_drm: enable pointer when touch device is added 79/40379/1
MinJeong Kim [Wed, 3 Jun 2015 07:17:52 +0000 (16:17 +0900)]
wl_drm: enable pointer when touch device is added

Change-Id: I6d6eec7a5f30706f1ad5a264a9786543ce9323d7
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agowl_drm: show default cursor when the pointer device is added 62/40362/1
MinJeong Kim [Wed, 3 Jun 2015 02:50:03 +0000 (11:50 +0900)]
wl_drm: show default cursor when the pointer device is added

As a pointer device added, cursor object gets be set by "cursor_set" request
but "cursor_set" will nerver come if there is no apps. this patch
show default cursor first if the pointer device attached.

Change-Id: Ief65184a2bf8abd99a1b08a80fc793e0c3b2f948
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoSupport 'focus_skip_set' request - set ec->icccm.accepts_focus as zero 95/40295/2
Duna Oh [Tue, 2 Jun 2015 04:15:48 +0000 (13:15 +0900)]
Support 'focus_skip_set' request - set ec->icccm.accepts_focus as zero

Change-Id: Ieeb74d2ca16977e51582bedd5c868d5f40a9ce0a
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_comp_object: reset image data once if alpha is changed 23/40323/1
MinJeong Kim [Tue, 2 Jun 2015 08:34:28 +0000 (17:34 +0900)]
e_comp_object: reset image data once if alpha is changed

The change of alpha value lead to destruction of buffers, and the invalid
pointers of those destroyed buffers may be referred to render image object.
To prevent those access to invalid pointers, it needs to set pixel data of
image as NULL.

Change-Id: Ib38b18211385b372520f0c27f40642471cb30089
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: Added E_CLIENT_HOOK_FULLSCREEN_PRE hook 07/40307/1
MinJeong Kim [Tue, 2 Jun 2015 06:43:15 +0000 (15:43 +0900)]
e_client: Added E_CLIENT_HOOK_FULLSCREEN_PRE hook

Change-Id: I383c164dbc922a19ffe7d24ab0c8244cf40173da
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoImprove cursor settings 37/40237/2
MinJeong Kim [Mon, 1 Jun 2015 09:28:55 +0000 (18:28 +0900)]
Improve cursor settings

 - Set shell functions for cursor client for blocking intercepting of shell.
 - Recover checking code for cursor size
 - Don't enable wl_pointer and don't show pointer as default.
   It will be enabled by ECORE_DRM_EVENT_INPUT_DEVICE_ADD event indicating
   capability for pointer.

Change-Id: I1179416f6e116d84484fdaff31c5d5bc5f0d4bba
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoadd SN12 to tizen_buffer_pool format 28/40228/1 accepted/tizen/common/20150602.074428 accepted/tizen/mobile/20150602.090837 accepted/tizen/tv/20150602.090805 accepted/tizen/wearable/20150602.090827 submit/tizen/20150601.062754
Boram Park [Mon, 1 Jun 2015 07:53:22 +0000 (16:53 +0900)]
add SN12 to tizen_buffer_pool format

Change-Id: Ic3f2572b81f3850e347a16d26f141d00e488145c

9 years agocreate mask object if buffer is e_drm_buffer 07/40207/1
Boram Park [Mon, 1 Jun 2015 03:26:22 +0000 (12:26 +0900)]
create mask object if buffer is e_drm_buffer

Change-Id: Ieee4ded1d53e285781d66009b2339bf2dd3e0e4d

9 years agoadded mask object to show H/W underlay plane 06/40206/1
Gwanglim Lee [Sat, 30 May 2015 10:55:31 +0000 (19:55 +0900)]
added mask object to show H/W underlay plane

Change-Id: I9a37c2491487405b71dac3d82c46af1053481926

9 years agosupport tizen-buffer-pool 05/40205/1
Boram Park [Tue, 19 May 2015 11:03:32 +0000 (20:03 +0900)]
support tizen-buffer-pool

Change-Id: I1d1cc55f3adbb255f49ed4b3b9ed1a0b71924d43

9 years agoFix cursor problems 36/39936/1 accepted/tizen/common/20150527.135020 accepted/tizen/mobile/20150528.004006 accepted/tizen/tv/20150528.003939 accepted/tizen/wearable/20150528.003951 submit/tizen/20150527.080704
MinJeong Kim [Tue, 26 May 2015 14:32:47 +0000 (23:32 +0900)]
Fix cursor problems

 - Remove size check for a cursor object.
   This size check always failed if it's first request for "set_cursor" with
   the cursor surface because ec->frame is never resized since it was created.
 - Update position values for cursor client.
 - Show/Hide cursor when pointer device is attached/detached by using handlers
   for ECORE_DRM_EVENT_INPUT_ADD/DEL.

Change-Id: I64538317d09105e7a2c3b3257a86705a5e94873c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: resize input_panel_surface object directly 62/39662/1 accepted/tizen/common/20150521.125604 accepted/tizen/mobile/20150522.005654 accepted/tizen/tv/20150522.004743 accepted/tizen/wearable/20150522.005535 submit/tizen/20150521.004702
MinJeong Kim [Wed, 20 May 2015 13:04:34 +0000 (22:04 +0900)]
e_comp_object: resize input_panel_surface object directly

Change-Id: I81298e319e4361d829dc777fbba6a89f978d2b98
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoremove 'transient_for' protocol from tizen_surface_extention 73/39573/1
Duna Oh [Tue, 19 May 2015 02:05:49 +0000 (11:05 +0900)]
remove 'transient_for' protocol from tizen_surface_extention

Change-Id: I3c0fb04186a96d410bb224e8ff5d4fe291c679c6
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoremove place_below_parent from tizen_surface_extension 44/39544/1
Boram Park [Mon, 18 May 2015 12:17:00 +0000 (21:17 +0900)]
remove place_below_parent from tizen_surface_extension

Change-Id: Ia41f0c44a4a0395cfac23acfd9b256bf41d7a7b4

9 years agobufferqueue: implementation bufferqueue module 05/39505/5
Seunghun Lee [Sun, 17 May 2015 09:23:01 +0000 (18:23 +0900)]
bufferqueue: implementation bufferqueue module

Change-Id: I4e6e8243ed29b242bfaa5823ecf5982fa3d277d7

9 years agosplit 'tizen_transient_for' interface from tizen_surface_extension 25/39525/2
Duna Oh [Mon, 18 May 2015 09:34:00 +0000 (18:34 +0900)]
split 'tizen_transient_for' interface from tizen_surface_extension

Change-Id: Ie59510f9e502878d2d8525821e9613b8a4756b8f
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoSupport wl_touch and send wl_touch events to client 09/39509/2 accepted/tizen/common/20150518.075039 accepted/tizen/mobile/20150518.145318 accepted/tizen/tv/20150518.144523 accepted/tizen/wearable/20150519.003205 submit/tizen/20150518.072652
jhyuni.kang [Mon, 18 May 2015 04:01:14 +0000 (13:01 +0900)]
Support wl_touch and send wl_touch events to client

Change-Id: I74614146b8256dcdac46c380dfcf1f2b601c3ecf

9 years agoe_test_helper: bug fix-'E_Client has no member named picxmap' 06/39506/1 accepted/tizen/common/20150518.072105 accepted/tizen/mobile/20150518.080751 accepted/tizen/tv/20150518.080116 accepted/tizen/wearable/20150518.080139 submit/tizen/20150518.012401
Duna Oh [Mon, 18 May 2015 01:13:12 +0000 (10:13 +0900)]
e_test_helper: bug fix-'E_Client has no member named picxmap'

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ibb11d79e5224c32d82497961800c86ea2eeed835

9 years agoadd place_belw_parent request to tizen_surface_extension 63/39463/2
Boram Park [Fri, 15 May 2015 10:51:26 +0000 (19:51 +0900)]
add place_belw_parent request to tizen_surface_extension

Change-Id: I2a599d07f34bfa6b03369bd7744c7c78ee9db34a

9 years agoshould save info to pending state before commit 62/39462/2
Boram Park [Wed, 13 May 2015 09:37:43 +0000 (18:37 +0900)]
should save info to pending state before commit

Change-Id: I6681d7152ebd7cc3d410597b9e18c55822ac31cc

9 years agofix wl_viewport position 61/39461/2
Boram Park [Fri, 15 May 2015 10:35:52 +0000 (19:35 +0900)]
fix wl_viewport position

Change-Id: Iebc813d725f9062fea0c7e476131e0cc8a17cb9f

9 years agofix - not display subsurface 60/39460/2
Boram Park [Wed, 13 May 2015 09:42:44 +0000 (18:42 +0900)]
fix - not display subsurface

Change-Id: I3f921b1e9e7b50da4b844bc29a4d52488da43b80

9 years ago[enlightenment_info] rename the method 'GetClients' to 'GetWindowInfo' with e_test_helper 38/39438/1
Duna Oh [Fri, 15 May 2015 06:33:16 +0000 (15:33 +0900)]
[enlightenment_info] rename the method 'GetClients' to 'GetWindowInfo' with e_test_helper

Change-Id: Icd8d7588dbc4817eb8d3b34db8f94d5461b2ff6b
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoRemove 'enlightenment_info' from repository 27/39427/1
MinJeong Kim [Fri, 15 May 2015 02:09:06 +0000 (11:09 +0900)]
Remove 'enlightenment_info' from repository

Change-Id: I950994f1051235784f148ca9f2e9a901097f8ec7

9 years agoe_test_helper: rename and support restack for wayland 92/39392/1
MinJeong Kim [Thu, 14 May 2015 07:52:36 +0000 (16:52 +0900)]
e_test_helper: rename and support restack for wayland

Change-Id: I702fbf3276ccf4d3f1399da867ad2917a5175e14

9 years agochange name of wayland interface for tizen_extension protocol accepted/tizen/mobile/20150514.135822 accepted/tizen/tv/20150514.141142 accepted/tizen/wearable/20150514.140623 submit/tizen/20150513.164437
Gwanglim Lee [Wed, 13 May 2015 14:24:22 +0000 (23:24 +0900)]
change name of wayland interface for tizen_extension protocol

Change-Id: I3e4fb5664f6f0e1a21578c01454c70e445c27e72

9 years ago[enlightenment_info] fix crash when running tool with no option
Gwanglim Lee [Wed, 13 May 2015 14:17:35 +0000 (23:17 +0900)]
[enlightenment_info] fix crash when running tool with no option

Change-Id: I8ccbf6755fad8cee475b8c42b672aaaa5d5a6775

9 years agoadd a info tool enlightenment_info showing clients list in stack order 28/39328/4
Duna Oh [Wed, 13 May 2015 06:18:43 +0000 (15:18 +0900)]
add a info tool enlightenment_info showing clients list in stack order

Change-Id: I2073fb8d20930376b9578bdd78db007b7254a0b3
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoImplementation of 'transient_for' protocol 19/38819/3
Duna Oh [Wed, 29 Apr 2015 04:26:55 +0000 (13:26 +0900)]
Implementation of 'transient_for' protocol

Test Plan:
(1) The clients send requests of 'get_tizen_gid' and get their gids.
(2) 'set_transient_for' relationship using gids.

Change-Id: I3fd264795dab3c84d7ad4c45f22c123f351e8343

9 years agoe_comp_wl: fix segfault in case parent's surface is destroyed before subsurface is... 24/39124/1 accepted/tizen/common/20150511.125739 accepted/tizen/mobile/20150511.133142 accepted/tizen/tv/20150512.050503 accepted/tizen/wearable/20150511.132738 submit/tizen/20150511.051957
Boram Park [Sat, 9 May 2015 02:48:08 +0000 (11:48 +0900)]
e_comp_wl: fix segfault in case parent's surface is destroyed before subsurface is destroyed

Change-Id: I4a46eba98d2d707af4bb232c3c299596529b7626

9 years agowl_scaler: fix memory corruption 23/39123/1
Boram Park [Fri, 8 May 2015 08:27:55 +0000 (17:27 +0900)]
wl_scaler: fix memory corruption

Change-Id: I9b1637ac6e6d94e8b0382ad4dccd3499d2bb7dcf

9 years agoremove reduntant log message 22/39122/1
Boram Park [Sat, 9 May 2015 00:39:34 +0000 (09:39 +0900)]
remove reduntant log message

Change-Id: Id9fb513845da33202ca8c18fd53b34def1bf086d

9 years agowl_scaler: correct transform of viewport 21/39121/1
Boram Park [Fri, 8 May 2015 12:08:15 +0000 (21:08 +0900)]
wl_scaler: correct transform of viewport

Change-Id: I830ec15581872f6eff197bd4feddc4e8106e2419

9 years agoRevert "implementation tizen_screenshooter" 28/38828/2 accepted/tizen/common/20150430.095346 accepted/tizen/mobile/20150501.022106 accepted/tizen/tv/20150501.021141 accepted/tizen/wearable/20150501.021433 submit/tizen/20150430.090147
Boram Park [Tue, 28 Apr 2015 01:18:59 +0000 (10:18 +0900)]
Revert "implementation tizen_screenshooter"

This reverts commit 5e01c3eaff7dfa142c945616fae660ecd15113a0.

Change-Id: I52308b96c8eeed012aadb617a7433fdf8a95c0d7

9 years agoApply alpha value through opaque_region requests 65/38765/2 accepted/tizen/common/20150429.093812 accepted/tizen/mobile/20150429.124703 accepted/tizen/tv/20150429.123929 accepted/tizen/wearable/20150429.124158 submit/tizen/20150428.160542
MinJeong Kim [Tue, 28 Apr 2015 07:49:39 +0000 (16:49 +0900)]
Apply alpha value through opaque_region requests

1. Change alpha value(argb) inside opaque region set callback.
2. Added alpha set api for setting alpha value of image object

Change-Id: I352988d267b7cd26e7aa2df2602054d52f685f8d

9 years agoFix: if e_config's show_cursor is disabled, then do not set client cursor. 95/38695/1 accepted/tizen/common/20150427.100326 accepted/tizen/mobile/20150427.234743 accepted/tizen/tv/20150427.104822 accepted/tizen/wearable/20150427.103340 submit/tizen/20150427.065854
Mun, Gwan-gyeong [Fri, 24 Apr 2015 14:41:48 +0000 (23:41 +0900)]
Fix:  if e_config's show_cursor is disabled, then do not set client cursor.

Change-Id: Ib1226c0425820e943dc8d529a5e8f796429d0d21

9 years agoFix Application Focus. 92/38692/1
Mun, Gwan-gyeong [Fri, 24 Apr 2015 13:44:32 +0000 (22:44 +0900)]
Fix Application Focus.
  : When application launched, send foucs event to application.

Change-Id: I6ec81d76e6569e36c7441ae7d08759938bf24169

9 years agofix build break 74/38474/1 accepted/tizen/common/20150424.100300 accepted/tizen/mobile/20150424.063945 accepted/tizen/tv/20150424.063110 accepted/tizen/wearable/20150424.063656 submit/tizen/20150424.010440
Boram Park [Tue, 21 Apr 2015 06:59:05 +0000 (15:59 +0900)]
fix build break

Change-Id: I5589d5d017aa5c25941581c0fcf85be327ac8c6e

9 years agoimplementation tizen_screenshooter 60/38460/1
Boram Park [Fri, 17 Apr 2015 09:05:00 +0000 (18:05 +0900)]
implementation tizen_screenshooter

Change-Id: I67f7b0afc47b2b875b70383f9b5bbf7b27f61a9a

9 years agotemporary fix: save the client request information to e_pixmap 59/38459/1
Boram Park [Fri, 17 Apr 2015 07:25:13 +0000 (16:25 +0900)]
temporary fix: save the client request information to e_pixmap

Change-Id: I5e7f75fc76f844804964ed2331163f1b9df4aa33

9 years agoimplementation wl_screenshooter server 58/38458/1
Boram Park [Fri, 17 Apr 2015 03:27:50 +0000 (12:27 +0900)]
implementation wl_screenshooter server

Change-Id: Iaf78519f3dc42eb63cb02f5ed6c8e19343c7b0ef

9 years agoimplementation wl_scaler 57/38457/1
Boram Park [Fri, 17 Apr 2015 03:17:20 +0000 (12:17 +0900)]
implementation wl_scaler

Change-Id: I1e9d9949ec1241580787e75bf877cfb18ddfa33b

9 years agoe_comp_wl: add call to dispatch the requests of binding wayland global interfaces 50/38450/2
Duna Oh [Tue, 21 Apr 2015 03:34:44 +0000 (12:34 +0900)]
e_comp_wl: add call to dispatch the requests of binding wayland global interfaces

Summary:
- Add call to dispatch the requests of creating a wayldand client, getting the registry, and binding global interfaces, because we need global objects immediately after we request.
- Load desktop shell module while initting e_comp, not idle time.

Test Plan:
(1) Run enlightenment on wayland
(2) If e_module attemps to make the "Error loading Module" popup window, you will see deadlock waiting for the wayland sync "done" event to be received.
This means the wayland global interfaces including wl.compositor is not ready.

below is the mainloop we are blocked
---------------------------------------------------------------
_ecore_wl_init_wait(void)
{
   while (!_ecore_wl_disp->init_done)
     wl_display_dispatch(_ecore_wl_disp->wl.display);
}

Change-Id: I9e3e960264ea87af4a20ec214db73bc05ef6fc73

9 years agoRevert "e_module: Add event handler for ECORE_WL_EVENT_INTERFACES_BOUND" 97/38397/5
Duna Oh [Mon, 20 Apr 2015 09:10:00 +0000 (18:10 +0900)]
Revert "e_module: Add event handler for ECORE_WL_EVENT_INTERFACES_BOUND"

This reverts commit 66a938c620c9101906796bda06d5b53b618ae74d.

Change-Id: I4d3ead40e3a85850df47ade37c5eaa3a9f28cc87

9 years agoto prevent e shutdown if make or name is null 16/38416/2
Boram Park [Mon, 20 Apr 2015 14:06:15 +0000 (23:06 +0900)]
to prevent e shutdown if make or name is null

Change-Id: I4131c6dedbc405210e83c79f4254f47ee1b527e4

9 years agoremove temporary code 11/38411/1
Boram Park [Fri, 17 Apr 2015 05:48:46 +0000 (14:48 +0900)]
remove temporary code

Change-Id: Ife54355615c591a0fab1df5438174a54bb6809b4

9 years agoRevert "wl_drm: add dummy wl_output to support ecore_wl_screen_size_get" 10/38410/1
Boram Park [Sun, 19 Apr 2015 01:09:13 +0000 (10:09 +0900)]
Revert "wl_drm: add dummy wl_output to support ecore_wl_screen_size_get"

This reverts commit 2c0da3d90ccab79f47f3f39e4ec2c39929e5d514.

Change-Id: Id23eaab6479567f87ebfd3eca9bf97d22b0d55ed

9 years agowl_drm: add dummy wl_output to support ecore_wl_screen_size_get accepted/tizen/common/20150417.142816 accepted/tizen/mobile/20150419.232730 accepted/tizen/tv/20150419.232659 accepted/tizen/wearable/20150419.232714 submit/tizen/20150417.131655
Gwanglim Lee [Fri, 17 Apr 2015 13:16:20 +0000 (22:16 +0900)]
wl_drm: add dummy wl_output to support ecore_wl_screen_size_get

Change-Id: Ieb3c7b6b877fa9d33299c436b2436e49c70e1e3a

9 years agoe_module: Add event handler for ECORE_WL_EVENT_INTERFACES_BOUND 48/38248/1 accepted/tizen/common/20150416.090704 accepted/tizen/mobile/20150416.024404 accepted/tizen/tv/20150416.024151 accepted/tizen/wearable/20150416.024346 submit/tizen/20150415.104259
Duna Oh [Wed, 15 Apr 2015 09:52:45 +0000 (18:52 +0900)]
e_module: Add event handler for ECORE_WL_EVENT_INTERFACES_BOUND

Summary:
- Add event handler to make sure e_module_all_load() done after wayland compositor interfaces are bound
- Delete the "return" code if still loading modules, since "wl_desktop_shell" module create wl-shell and xdg-shell interfaces needed to be bound.

Test Plan:
(1) Run enlightenment on wayland
(2) If e_module attemps to make the "Error loading Module" popup window, you will see deadlock waiting for the wayland sync "done" event to be received. This means the wayland global interfaces including wl.compositor is not ready.

below is the mainloop we are blocked
---------------------------------------------------------------
_ecore_wl_init_wait(void)
{
   while (!_ecore_wl_disp->init_done)
     wl_display_dispatch(_ecore_wl_disp->wl.display);
}

Change-Id: Id1207dfdf40b0fe078ed9700c63d1203fb26ec5e
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agowl_drm: add check bind wayland display api to prevent segfault when enlightenment... accepted/tizen/common/20150414.100010 accepted/tizen/mobile/20150415.014947 accepted/tizen/tv/20150415.012509 accepted/tizen/wearable/20150415.013734 submit/tizen/20150411.154633
Gwanglim Lee [Fri, 10 Apr 2015 09:05:59 +0000 (18:05 +0900)]
wl_drm: add check bind wayland display api to prevent segfault when enlightenment is trying to run on sw mesa

Change-Id: Ief1172a4816a01ac91b52b0c3996eafe152647e5

9 years agoAdd NULL check for function pointer of GL Api 52/38052/1
MinJeong Kim [Fri, 10 Apr 2015 08:25:20 +0000 (17:25 +0900)]
Add NULL check for function pointer of GL Api

Change-Id: I986a59a047168c52b8f0c124d0a888102bffc90e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoForce free e_client when its buffer is destroied 38/38038/4
MinJeong Kim [Fri, 10 Apr 2015 05:01:35 +0000 (14:01 +0900)]
Force free e_client when its buffer is destroied

The destory request of any surface will trigger to hide its evas object
and to delete e_client object of the surface. Those hide process of evas
object generates hide animation corresponding to its shadow style. In the
case, long animation can cause SIGSEGV by trying to access shared memory
which is already munmapped. This revision prevents the situation by free of
evas object immediately when the buffer is destroied.

Change-Id: I2b404270cec581354c367390fb0040f868cbe556
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoAdd support for wayland opengles compositing accepted/tizen/common/20150410.071835 accepted/tizen/mobile/20150410.075339 accepted/tizen/tv/20150410.075156 accepted/tizen/wearable/20150410.075251 submit/tizen/20150409.161222
Gwanglim Lee [Thu, 9 Apr 2015 13:42:28 +0000 (22:42 +0900)]
Add support for wayland opengles compositing

Change-Id: Ibcfe29ba861863b7738e80401fca5825bb5b4d14

9 years agoTo show underlay plane, added render_copy option for evas object of 24bit window... 88/37788/1 accepted/tizen/common/20150407.102151 accepted/tizen/mobile/20150407.084655 accepted/tizen/tv/20150407.064443 accepted/tizen/wearable/20150407.063234 submit/tizen/20150406.070142
Gwanglim Lee [Mon, 6 Apr 2015 06:30:25 +0000 (15:30 +0900)]
To show underlay plane, added render_copy option for evas object of 24bit window on x11

Change-Id: Ie3d2222d19e6c9541ba76c07106ba81e29fc3f38

9 years agoe_comp_object: set client size to requested size for wl_pointer-cursor 75/37775/1 accepted/tizen/common/20150407.101951 accepted/tizen/mobile/20150407.084826 accepted/tizen/tv/20150405.122457 accepted/tizen/wearable/20150405.123735 submit/tizen/20150404.110418 submit/tizen_mobile/20150406.000001
MinJeong Kim [Sat, 4 Apr 2015 09:04:44 +0000 (18:04 +0900)]
e_comp_object: set client size to requested size for wl_pointer-cursor

Change-Id: Icfb2250f2ef45f415b08aa0e6654be9d18e20a7a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: resize wl-pointer-cursor object directly 73/37773/1
MinJeong Kim [Sat, 4 Apr 2015 08:16:34 +0000 (17:16 +0900)]
e_comp_object: resize wl-pointer-cursor object directly

Change-Id: Ia80fa8822adb714449e97f7f1bfc78c25339da37
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_wl: fix not sending a mouse enter event. 15/37715/2
Boram Park [Thu, 2 Apr 2015 04:00:49 +0000 (13:00 +0900)]
e_comp_wl: fix not sending a mouse enter event.

Change-Id: I21cb031e293fe281e35ba89f3a96116a28a48856

9 years agodecrement e_comp->new_clients counter when unsetting new_client flag on wl cursor...
Mike Blumenkrantz [Wed, 25 Mar 2015 16:32:30 +0000 (12:32 -0400)]
decrement e_comp->new_clients counter when unsetting new_client flag on wl cursor clients

Change-Id: If35c45cea17b947bbc3d6b320ee08fee24cd91af

9 years agomobile policy desk set hook needs to ignore new_client clients
Mike Blumenkrantz [Wed, 25 Mar 2015 16:29:36 +0000 (12:29 -0400)]
mobile policy desk set hook needs to ignore new_client clients

desk set happens during client init, so these will always be new clients

ref D2242

Change-Id: Icf83859410916d2a4f6a0d9ac9679661d6347669

9 years agoRevert "when we get a request to close client app, defer resource deletion"
Mike Blumenkrantz [Thu, 5 Mar 2015 16:41:43 +0000 (11:41 -0500)]
Revert "when we get a request to close client app, defer resource deletion"

This reverts commit 1cf7c1f1511c446413fdc6fae35d17870bdd1c4e.

didn't fix the issue and obfuscated the code unnecessarily

Change-Id: I7fdfb1ad76152a65af9dbedf147c0ce8dae13c75

9 years agoMerge "comp_wl: Don't sync client size with buffer if client-side resize was locked...
Boram Park [Fri, 3 Apr 2015 01:14:25 +0000 (18:14 -0700)]
Merge "comp_wl: Don't sync client size with buffer if client-side resize was locked" into tizen

9 years agocomp_wl: Don't sync client size with buffer if client-side resize was locked 81/37681/1
MinJeong Kim [Thu, 2 Apr 2015 11:44:40 +0000 (20:44 +0900)]
comp_wl: Don't sync client size with buffer if client-side resize was locked

Change-Id: Idd4cbe75cec8bf55b132ae38f5dc88aaf2660d68
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoconfigure: do not require ecore-x on wayland only env 73/37673/1
MinJeong Kim [Thu, 2 Apr 2015 04:48:58 +0000 (13:48 +0900)]
configure: do not require ecore-x on wayland only env

Change-Id: I9b4fa78b4623096053846793f80e16ebe1638e42
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agopackaging: version to 0.19.99 accepted/tizen/common/20150331.084906 accepted/tizen/mobile/20150331.095141 accepted/tizen/tv/20150331.095057 accepted/tizen/wearable/20150331.095116 submit/tizen/20150330.123154
Boram Park [Mon, 30 Mar 2015 22:48:13 +0000 (07:48 +0900)]
packaging: version to 0.19.99

Change-Id: I22c9a257ea62b3c54875e78d3c3ffd98a69252f8

9 years agoremove temporary code 95/37495/1
Boram Park [Mon, 30 Mar 2015 04:01:13 +0000 (13:01 +0900)]
remove temporary code

Summary:
    To avoid build-break, we removed version check part from configure.ac
    Now wayland is 1.7.0, We don't need temporary code any more.

Change-Id: I6550b72fbc7606968db133b40f0a5e7d57407d4f

9 years agoFix wayland client cursor set and client cursor move.
Mun, Gwan-gyeong [Thu, 19 Mar 2015 07:50:43 +0000 (16:50 +0900)]
Fix wayland client cursor set and client cursor move.

Change-Id: I4ca08d0deaaa7cc09e8b608b1f63a953c8233d14

9 years agoFix build break
MinJeong Kim [Wed, 18 Mar 2015 13:27:12 +0000 (22:27 +0900)]
Fix build break

Change-Id: I95f1c3325c40181eb3905873b4d20761dc7da92f

9 years agoe_comp: Added skip_first_damage
MinJeong Kim [Wed, 18 Mar 2015 12:06:40 +0000 (21:06 +0900)]
e_comp: Added skip_first_damage

For supporting the case that X doesn't send DamageNotify event of
damage creation, added skip_first_damage value.
This skip_first_damage will be used for determining skip of first DamageNotify.

Change-Id: I5d4c616110b9a0ed53a0b1781c02c0300481fede
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agotest_helper: Fixed appending NULL and Remove hide process of registrant
MinJeong Kim [Wed, 18 Mar 2015 09:58:12 +0000 (18:58 +0900)]
test_helper: Fixed appending NULL and Remove hide process of registrant

Change-Id: I80c8508f63b983f6d176fba7ffecaffdf067d986
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agofix tty problem when enlightenment(drm-backend) is killed by SIGSEGV
Boram Park [Tue, 17 Mar 2015 13:33:55 +0000 (09:33 -0400)]
fix tty problem when enlightenment(drm-backend) is killed by SIGSEGV

Summary:
    When enlightenment is working as wayland display server, enlightenment
    changes KDSETMODE to KD_GRAPHICS in _ecore_drm_tty_setup(). However,
    when enlightenment is killed by SIGSEGV, it doesn't changes KDSETMODE
    to KD_TEXT because englightenment process doesn't call ecore_drm_tty_close().

    When enlightenment is killed by SIGSEGV, it should get drm devices with
    ecore_drm_device_get_list(), and will call ecore_drm_launcher_disconnect(),
    and ecore_drm_launcher_disconnect will call ecore_drm_tty_close() internally.

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

Change-Id: Iffe4279a50bce0cf3baf419c959bd1fef8010feb

9 years agoFix null dereference. while e_comp_shutdown is going, e_client's object could be...
Mun, Gwan-gyeong [Mon, 16 Mar 2015 08:41:50 +0000 (17:41 +0900)]
Fix null dereference. while e_comp_shutdown is going, e_client's object could be unfocused.

Change-Id: Ib8734941b48468ca60b93cb5eaca5115d79f227a

9 years agofix build-error for wayland-only env
Boram Park [Tue, 17 Mar 2015 08:42:10 +0000 (17:42 +0900)]
fix build-error for wayland-only env

Change-Id: I949cc283c2bbe2f85d8a600846acbbaad0ff2b88

9 years agoDisable x11 dependent modules with options for wayland-only
Duna Oh [Tue, 17 Mar 2015 07:21:02 +0000 (16:21 +0900)]
Disable x11 dependent modules with options for wayland-only

Change-Id: I5c86f1332882864d157a1ca3fc6cdf8f7951915f
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agomove enlightenment.service file to e-tizen-data
Boram Park [Mon, 9 Mar 2015 13:00:30 +0000 (22:00 +0900)]
move enlightenment.service file to e-tizen-data

   Enlightenment can run as wayland display server without X.
   In this case, englightenment will be launched by display-manager
   -run.service. It looks better e-tizen-data offers systemd service
   files.

Change-Id: Id86e5d0b9dcdb800fe52c2026e5e97d64c442a79

9 years agoAdded extended focus policy :Top visible window takes focus.
Mun, Gwan-gyeong [Fri, 13 Mar 2015 09:01:33 +0000 (18:01 +0900)]
Added extended focus policy :Top visible window takes focus.

Change-Id: Ic92f1bda9eecfe0104ceee9ee3d76d433959eda4

9 years agoreplace e_comp_list with e_comp.
Boram Park [Tue, 10 Mar 2015 10:38:51 +0000 (19:38 +0900)]
replace e_comp_list with e_comp.

Change-Id: I230a15be9e93900d4d45337b8014a83c27bcb2af

9 years agoFix indentation on e_comp_object.
Mun, Gwan-gyeong [Mon, 9 Mar 2015 07:19:52 +0000 (16:19 +0900)]
Fix indentation on e_comp_object.

Change-Id: I08b5f22fe0d9e9b81413a5f576489630c8afef24

9 years agoDelay first showing of client object while damage count up to 2.
Mun, Gwan-gyeong [Fri, 6 Mar 2015 06:01:28 +0000 (15:01 +0900)]
Delay first showing of client object while damage count up to 2.

Change-Id: Idc0d3031673fc7171780fb8e556cb9af39b708f2

9 years agoAvoid freeing pixmap from unsetting parent window of pixmap
MinJeong Kim [Fri, 6 Mar 2015 01:26:04 +0000 (10:26 +0900)]
Avoid freeing pixmap from unsetting parent window of pixmap

When some E_Client is deleted by hide event of its window,
comp_x tries to unset parent window of client's E_Pixmap.
This unsetting is causing freeing pixmap even if the pixmap is still pending.
this revision is for avoiding those unwanted free.

Change-Id: Id7568b57b4d274534915920c115ac59ae94e746e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoadd client-notification-level to E_Layer
Boram Park [Sat, 28 Feb 2015 10:27:39 +0000 (19:27 +0900)]
add client-notification-level to E_Layer

Change-Id: I5781943db2440c1e5dc268287420b3fd3122da09

9 years agoIgnore configure requests for windows which do not have relevant E_Client yet
MinJeong Kim [Fri, 27 Feb 2015 09:18:57 +0000 (18:18 +0900)]
Ignore configure requests for windows which do not have relevant E_Client yet

Change-Id: I2555246058460da538f61daa0496a18995ea6d43
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoAdded check damage count and pixmap validate of e_client object showing.
Mun, Gwan-gyeong [Thu, 26 Feb 2015 13:47:21 +0000 (22:47 +0900)]
Added check damage count and pixmap validate of e_client object showing.

Change-Id: I99e0956043978b09064b2e8d2dcb3cd2c36cc075

9 years agoexec enlightenment instead of enlightenment_start
Boram Park [Tue, 24 Feb 2015 12:45:12 +0000 (21:45 +0900)]
exec enlightenment instead of enlightenment_start

    Refer to below commit of mainstream. enlightenment_start can't
    be used to start enlightenment in systemd.

    -------------------------------------------------------
    commit 6f955263fa76649682066adc82f12d4249d9c3d0
    Author: Cedric BAIL <cedric.bail@samsung.com>
    Commit: Cedric BAIL <cedric.bail@samsung.com>

    enlightenment: do not propagate the systemd socket to E17.

    In a proper systemd user session setup, enlightenment_start will be
    gone. That is still not doable today and as I plan to roll more feature
    in EFL regarding systemd, we need to prevent enlightenment to believe
    it is the process started by systemd.

Change-Id: I8cfcef9abf9318da3babd96c7f9191796fe0fabb

9 years agoAdded initial test case framework
MinJeong Kim [Fri, 23 Jan 2015 07:48:25 +0000 (16:48 +0900)]
Added initial test case framework

1. Visibility calculation with comp_object status.
2. Added e_test_helper for supporting external TC modules through dbus

Change-Id: Ib994d99e179579c97aa7a59ccfa63b9bb3ea7d4d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDisable display backlight control to avoid camera flash
Gwanglim Lee [Mon, 16 Feb 2015 11:41:35 +0000 (20:41 +0900)]
Disable display backlight control to avoid camera flash

Change-Id: I78c6287aaca9856c84d2a7da0ad4a8dd6b3b1c4d

9 years agoDo NOT set layer again for a client that have 'transient for window'
MinJeong Kim [Thu, 12 Feb 2015 06:02:03 +0000 (15:02 +0900)]
Do NOT set layer again for a client that have 'transient for window'

Change-Id: I6d0d1d3f75480f7877280bc576bc486193617de3
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoAdded client_type config and E_CLIENT_PROPERTY_CLIENT_TYPE.
Mun, Gwan-gyeong [Mon, 9 Feb 2015 11:18:30 +0000 (20:18 +0900)]
Added client_type config and E_CLIENT_PROPERTY_CLIENT_TYPE.

Change-Id: I6aafc020437c7aaec500a8c1a4db378f9ed87dcf

9 years agoAdjust version number to upstream tag version for fixing build break
Gwanglim Lee [Fri, 16 Jan 2015 05:40:23 +0000 (14:40 +0900)]
Adjust version number to upstream tag version for fixing build break

Change-Id: I53a36f1a3d87b16914e6e2885658b0c2b2a7354b

9 years agoPackaging: update version to 0.19.1
Gwanglim Lee [Fri, 16 Jan 2015 05:00:23 +0000 (14:00 +0900)]
Packaging: update version to 0.19.1

Change-Id: If110b40d0430693cd1bba7f7f18638df3229cf42