platform/upstream/enlightenment.git
8 years agocreate/manage list of focused wl keyboard resources for reuse in kbd operations 78/52578/7
JengHyun Kang [Tue, 24 Nov 2015 12:13:31 +0000 (21:13 +0900)]
create/manage list of focused wl keyboard resources for reuse in kbd operations

this simplifies kbd code all over

Change-Id: Ie231d3be07726b935c5aea72261eadf3f63e6fbb

8 years agoenable address space layout randomization 84/53384/1 accepted/tizen/mobile/20151207.122552 accepted/tizen/tv/20151207.122608 accepted/tizen/wearable/20151207.122625 submit/tizen/20151207.004852
Gwanglim Lee [Fri, 4 Dec 2015 10:50:50 +0000 (19:50 +0900)]
enable address space layout randomization

Change-Id: I4af447f229618e9ec089655352088ca7494e01c6

8 years agodefine light-e in spec to reduce pkg size 57/53357/3 accepted/tizen/mobile/20151206.224233 accepted/tizen/tv/20151206.224250 accepted/tizen/wearable/20151206.224302 submit/tizen/20151204.081145
Ju Yeon Lee [Fri, 4 Dec 2015 07:28:31 +0000 (16:28 +0900)]
define light-e in spec to reduce pkg size

Change-Id: I93fd5ddc5a36e06d8c9af19288da8fe4742c0203

8 years agoe client: changed name use_resize->skip_iconify 49/53349/2
Doyoun Kang [Fri, 4 Dec 2015 06:54:58 +0000 (15:54 +0900)]
e client: changed name use_resize->skip_iconify

Change-Id: I99868137ef3c7a97e6781db6ad7e3f5135356feb

8 years agoAdded enable-quick-init option 45/53345/3
MinJeong Kim [Fri, 4 Dec 2015 04:26:36 +0000 (13:26 +0900)]
Added enable-quick-init option

To decrease enlightenment's initialization time, quick init option is added.

Change-Id: I509a113e020cd3d6685e2e891a2c58e3f5a87aa3

8 years agoe_comp_wl: for single touch, please send wl_touch event not wl_pointer event
Duna Oh [Mon, 16 Nov 2015 12:10:37 +0000 (21:10 +0900)]
e_comp_wl: for single touch, please send wl_touch event not wl_pointer event

Change-Id: I1158a07574880a4adad5f8de2b84051837e5acd7
Signed-off-by: Duna Oh <duna.oh@samsung.com>
8 years agoenlightenment_info -connected_clients add 86/53286/1
Junghwan Choi [Thu, 3 Dec 2015 09:48:28 +0000 (18:48 +0900)]
enlightenment_info -connected_clients add

Change-Id: I5d4483fc1be9e0fe73bc0c7df49bec065493b598
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
8 years agoe_comp_wl_data: fixed early close of fd for client 50/53150/1 accepted/tizen/mobile/20151202.230455 accepted/tizen/tv/20151202.230509 accepted/tizen/wearable/20151202.230532 submit/tizen/20151202.115419
MinJeong Kim [Wed, 2 Dec 2015 07:10:27 +0000 (16:10 +0900)]
e_comp_wl_data: fixed early close of fd for client

Change-Id: Ia3618fa85ec7d7221211b02aee0c16981c187ac5

8 years agoe_client: added code to handle e_client's exp_iconify information 30/52730/4 accepted/tizen/mobile/20151202.040550 accepted/tizen/tv/20151202.040614 accepted/tizen/wearable/20151202.040648 submit/tizen/20151201.232720
Doyoun Kang [Thu, 26 Nov 2015 08:45:03 +0000 (17:45 +0900)]
e_client: added code to handle e_client's exp_iconify information

Change-Id: I7c3e8223d9f6b4935d21ce43cb790bbff8ab4538

8 years agomove X idle flusher to comp_x 26/53026/1
Mike Blumenkrantz [Thu, 25 Jun 2015 23:28:38 +0000 (19:28 -0400)]
move X idle flusher to comp_x

Change-Id: I917a3fbe574072734a62ae19391f945f72a8edc8

8 years agoadd video_client to ec->comp_data 49/52949/1 accepted/tizen/mobile/20151130.094129 accepted/tizen/tv/20151130.094151 accepted/tizen/wearable/20151130.094202 submit/tizen/20151130.055555
Boram Park [Thu, 26 Nov 2015 04:29:06 +0000 (13:29 +0900)]
add video_client to ec->comp_data

Change-Id: Ia75838e68a711a9f21f76853a5e7339157c68f31

8 years agoe_comp_wl: check if tbm_surf exists 09/52709/1 accepted/tizen/mobile/20151126.073326 accepted/tizen/tv/20151126.073346 accepted/tizen/wearable/20151126.073354 submit/tizen/20151126.062338
Boram Park [Thu, 26 Nov 2015 06:07:41 +0000 (15:07 +0900)]
e_comp_wl: check if tbm_surf exists

Change-Id: Ic7a420c7a379729d6358c8ec7eff992ec5c430c9

8 years agoenlightenment_info -prop add 50/52650/2 accepted/tizen/mobile/20151125.125507 accepted/tizen/tv/20151125.125522 accepted/tizen/wearable/20151125.125536 submit/tizen/20151125.113325
SungBae, Park [Wed, 25 Nov 2015 10:13:10 +0000 (19:13 +0900)]
enlightenment_info -prop add

Change-Id: I501b9d7e0849ce299547e5be517c0aa89292b636

8 years agoe_comp_wl: checking format temporarily for video 62/52662/2
Boram Park [Wed, 25 Nov 2015 11:28:46 +0000 (20:28 +0900)]
e_comp_wl: checking format temporarily for video

Change-Id: I2f52a24148519c229fe11d1238427c7fd97facda

8 years agoe_config.c/e_comp_wl.c: add code for making repeat delay/rate values configurable 85/52585/1
Sung-Jin Park [Tue, 24 Nov 2015 12:55:57 +0000 (21:55 +0900)]
e_config.c/e_comp_wl.c: add code for making repeat delay/rate values configurable

Change-Id: I23d51b5f9859e1df5f0ef4ea8892c768acabbd03

8 years agoe_comp: fixed incorrect e_comp_wl_shutdown() timing. 72/52472/5 accepted/tizen/mobile/20151124.234235 accepted/tizen/tv/20151124.234248 accepted/tizen/wearable/20151124.234300 submit/tizen/20151124.133651
Mun, Gwan-gyeong [Mon, 23 Nov 2015 12:45:42 +0000 (21:45 +0900)]
e_comp: fixed incorrect e_comp_wl_shutdown() timing.
    e_object_del(e_comp) destroys ecore_evas engine infos.
    so e_comp_wl_shutdown() can't call evasglUnbindDisplay.

Change-Id: I4d3d0b24d50671c318ce2a1253a0c261e818f7cf

8 years agoe_client: added expansion iconify feature 90/51890/3
Doyoun Kang [Tue, 17 Nov 2015 04:50:59 +0000 (13:50 +0900)]
e_client: added expansion iconify feature

Change-Id: I4a1a0decd765d275169943e8f41222666bd89ec9

8 years agowl_desktop_shell: send size of maximized/fullscreen client 05/52105/2
MinJeong Kim [Thu, 19 Nov 2015 06:10:51 +0000 (15:10 +0900)]
wl_desktop_shell: send size of maximized/fullscreen client

Previous resize routine without this patch had caused two-step resize problem
of comp object. To prevent those rough resizing, we sends configure event of
xdg_surface with size of maximized or fullscreen client.

Change-Id: I4fcc139d82d03c25630b462f5b838f971bd0835d

8 years agoAdd whitespaces in condition expressions 16/52516/2
JengHyun Kang [Tue, 24 Nov 2015 05:59:43 +0000 (14:59 +0900)]
Add whitespaces in condition expressions

Change-Id: I249bbc5c40010eb80a47bdaabc2058c075eee16c

8 years agoenlightenment_info -topvwins layer info add 30/52530/1
SungBae, Park [Tue, 24 Nov 2015 06:59:51 +0000 (15:59 +0900)]
enlightenment_info -topvwins layer info add

Change-Id: I87cf4915e24e611ea18151a6831a5ff39ed3406d

8 years agoAdd a keymap cache function 96/52096/4
JengHyun Kang [Thu, 19 Nov 2015 04:47:10 +0000 (13:47 +0900)]
Add a keymap cache function

Change-Id: I3e1b4ac56b8d9290df005fedf52d3505d2aa7bbe

8 years agofixed incorrect resource destroy timing 20/51820/1 submit/tizen/20151118.115124 submit/tizen/20151119.043935
MinJeong Kim [Mon, 16 Nov 2015 10:22:32 +0000 (19:22 +0900)]
fixed incorrect resource destroy timing

Change-Id: I2a5d39b0259f3f9928568302994ac809640a9bdd

9 years agoe-pixmap/e-comp-wl: fixed the problem for multiple callbacks 39/51739/4
MinJeong Kim [Fri, 13 Nov 2015 09:43:49 +0000 (18:43 +0900)]
e-pixmap/e-comp-wl: fixed the problem for multiple callbacks

 The wayland client requests destroy of callback after recieved a callback
done event from enlightenment, and enlightenment removes the callback
resource from its managed list as response of the destroy request.

 So if there are multiple frame callbacks, the loop for sending frame done
event of those multiple frame callbacks is stopped by removal of target
node(target callback resource) by the destroy request of first callback
resource.

For resolve these problem, we have to use EINA_LIST_FOREACH_SAFE instead of
EINA_LIST_FREE to keep up works with the callback list.

@fix
Change-Id: I2722ecb80855eea680f2abb80aed3d64413a0a69

9 years agowl_drm: feed mouse-in event to drm canvas on init
Gwanglim Lee [Thu, 12 Nov 2015 02:27:51 +0000 (11:27 +0900)]
wl_drm: feed mouse-in event to drm canvas on init

Change-Id: Ic322f16fdbeeb13294b5d780d3cb8abc6e50ba30

9 years agowl_desktop_shell: fix implementation function's parameter for xdg_shell_get_xdg_popup
Gwanglim Lee [Wed, 11 Nov 2015 05:26:39 +0000 (14:26 +0900)]
wl_desktop_shell: fix implementation function's parameter for xdg_shell_get_xdg_popup

Change-Id: I7f82e7a13e42d85bc71bf1971efae76a79195cdd

9 years agoe_startup: notify efreet error using log domain instead of dialog
MinJeong Kim [Tue, 10 Nov 2015 03:48:33 +0000 (12:48 +0900)]
e_startup: notify efreet error using log domain instead of dialog

Change-Id: I9332ff8fb5d44967270ed56cb25f3499e1c47407

9 years agowl_desktop_shell: apply xdg_shell version 5
MinJeong Kim [Fri, 6 Nov 2015 13:36:12 +0000 (22:36 +0900)]
wl_desktop_shell: apply xdg_shell version 5

Change-Id: Iecd9dad8caa578b89bb6bb849e10bab5006f1aac

9 years agoe_comp_wl: trivial cosmetic change sandbox/tolszaksamsung/tizen accepted/tizen/mobile/20151111.232150 accepted/tizen/tv/20151111.232204 accepted/tizen/wearable/20151111.232220 submit/tizen/20151111.041156 submit/tizen/20151111.100518
Gwanglim Lee [Tue, 10 Nov 2015 12:26:04 +0000 (21:26 +0900)]
e_comp_wl: trivial cosmetic change

Change-Id: I3e2387738760b37a80d3c2a76e45fd6bf33354e6

9 years agoe_zone: added display state feature 08/51208/4 submit/tizen/20151109.131539 submit/tizen/20151110.023742 submit/tizen/20151110.050525 submit/tizen/20151110.074552
Doyoun Kang [Thu, 5 Nov 2015 08:27:25 +0000 (17:27 +0900)]
e_zone: added display state feature
- event type: E_EVENT_ZONE_DISPLAY_STATE_CHANGE
- APIs: e_zone_display_state_set/get
- added a value(display_state) in the E_Zone structure

Change-Id: I8a6ed17f0a4e623a1a1fdffa6ee598275c0bce23

9 years agoe_comp_wl: add win_type to E_Comp_Wl_Client_Data 59/49759/5 accepted/tizen/mobile/20151108.231207 accepted/tizen/tv/20151108.231226 accepted/tizen/wearable/20151108.231239 submit/tizen/20151108.083635
Duna Oh [Tue, 20 Oct 2015 05:29:15 +0000 (14:29 +0900)]
e_comp_wl: add win_type to E_Comp_Wl_Client_Data

Change-Id: I83dd733946982963c9773205968b3b46f3111594
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoFix to guarantee for E19 wayland compositor to send key press/release pair exactly... 18/50818/4 accepted/tizen/mobile/20151103.105647 accepted/tizen/tv/20151103.105656 accepted/tizen/wearable/20151103.105712 submit/tizen/20151103.080635
JengHyun Kang [Mon, 2 Nov 2015 11:57:40 +0000 (20:57 +0900)]
Fix to guarantee for E19 wayland compositor to send key press/release pair exactly to each wayland client

Change-Id: I65d18623394296cdba95bf6fa35e0d1622bfeb8a

9 years agoe_comp_wl: enable drag and drop 93/50293/1 accepted/tizen/mobile/20151029.085727 accepted/tizen/tv/20151029.085737 accepted/tizen/wearable/20151029.085756 submit/tizen/20151029.012747 submit/tizen/20151029.052907
MinJeong Kim [Tue, 27 Oct 2015 12:19:31 +0000 (21:19 +0900)]
e_comp_wl: enable drag and drop

Change-Id: I5cc1cb159c54375fee8dd011cc2d0f25445bdd53

9 years agoe_comp_wl: fix unit of wl_output's refresh value to be mHz 29/49629/1 accepted/tizen/mobile/20151017.101124 accepted/tizen/tv/20151017.101353 accepted/tizen/wearable/20151017.101801 submit/tizen/20151016.044438 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Gwanglim Lee [Fri, 16 Oct 2015 04:28:53 +0000 (13:28 +0900)]
e_comp_wl: fix unit of wl_output's refresh value to be mHz

Change-Id: I3a592f1c079b56341a8072bacd97ecabb351f20a

9 years agoremove executable permission bit of source files 16/49516/1
Gwanglim Lee [Wed, 14 Oct 2015 07:31:44 +0000 (16:31 +0900)]
remove executable permission bit of source files

Change-Id: Ib8e43ee3e32f0d389567f3b02547245ba9fe6f41

9 years agoe_module: check null accepted/tizen/mobile/20151014.043159 accepted/tizen/tv/20151014.043209 accepted/tizen/wearable/20151014.043226 submit/tizen/20151014.005721
Boram Park [Tue, 13 Oct 2015 13:12:52 +0000 (22:12 +0900)]
e_module: check null

Change-Id: I892ae022d42b73931a76f54504fd449e43aad6ef

9 years agoe_comp_wl_data: fix null pointer dereference 58/49358/1
Mun, Gwan-gyeong [Tue, 13 Oct 2015 02:42:22 +0000 (11:42 +0900)]
e_comp_wl_data: fix null pointer dereference

Change-Id: Idcf7366155973730236d313ac08d68e7cfe70f70

9 years agoe_comp_wl_data: fix resource leaks 57/49357/1
Mun, Gwan-gyeong [Tue, 13 Oct 2015 02:27:21 +0000 (11:27 +0900)]
e_comp_wl_data: fix resource leaks

Change-Id: Ib2d05461fe012b7ba8c685ed766835d47e57226c

9 years agoe_comp_object: fix null pointer dereference 47/49347/1
Boram Park [Tue, 13 Oct 2015 01:05:29 +0000 (10:05 +0900)]
e_comp_object: fix null pointer dereference

Change-Id: I7d53e30e8d4dc6b4484afca73173845d6b9697ff

9 years agoe_module: fix memory leak 46/49346/1
Boram Park [Tue, 13 Oct 2015 00:55:02 +0000 (09:55 +0900)]
e_module: fix memory leak

Change-Id: I66f6d6ca14d38a4c293885927391bb2742d91347

9 years agoe_module: fix null pointer dereference 45/49345/1
Boram Park [Tue, 13 Oct 2015 00:54:50 +0000 (09:54 +0900)]
e_module: fix null pointer dereference

Change-Id: Ibcf3b5b998a3a27713de25626a4c62493a174fb9

9 years agoe_module: fix secure coding getenv 44/49344/1
Boram Park [Tue, 13 Oct 2015 00:53:03 +0000 (09:53 +0900)]
e_module: fix secure coding getenv

Change-Id: Icbe0902d82c4243399da6438b3c8ac293d564b28

9 years agoe_menu: fix null pointer dereference 43/49343/1
Boram Park [Tue, 13 Oct 2015 00:52:22 +0000 (09:52 +0900)]
e_menu: fix null pointer dereference

Change-Id: I54935379af4eff54d80af3fcd6d0b39464264624

9 years agoe_main: fix secure coding getenv 42/49342/1
Boram Park [Tue, 13 Oct 2015 00:51:49 +0000 (09:51 +0900)]
e_main: fix secure coding getenv

Change-Id: I5cd9730430be577c277d6be87341ddacd745d6b2

9 years agobufferqueue: fix null pointer dereference 41/49341/1
Boram Park [Tue, 13 Oct 2015 00:16:53 +0000 (09:16 +0900)]
bufferqueue: fix null pointer dereference

Change-Id: Ibb01c1bddcd7225593b8916ed0db2f69e91c37a3

9 years agobufferqueue: fix memory leak 40/49340/1
Boram Park [Tue, 13 Oct 2015 00:16:17 +0000 (09:16 +0900)]
bufferqueue: fix memory leak

Change-Id: I4bfcc20b9dd4ef6f2e5fc5e314287d4fcc8a99f4

9 years agoe_comp: fix null pointer dereference 19/49319/2
Gwanglim Lee [Mon, 12 Oct 2015 12:48:10 +0000 (21:48 +0900)]
e_comp: fix null pointer dereference

Change-Id: I86787ac810e73132a701bad217aa405b4e08fb0b

9 years agoe_comp_wl: fixed null pointer dereference 24/49324/3
Mun, Gwan-gyeong [Mon, 12 Oct 2015 13:20:25 +0000 (22:20 +0900)]
e_comp_wl: fixed null pointer dereference

Change-Id: I57d71f0b21349b56630b4544c766461f0416b3cf

9 years agoe_info_client/server: fixed null dereference, using uninitialized value, resource... 21/49321/2
MinJeong Kim [Mon, 12 Oct 2015 13:08:33 +0000 (22:08 +0900)]
e_info_client/server: fixed null dereference, using uninitialized value, resource leak

Change-Id: I06c22ea8b3e5f5c89df84618deae448a5852c5c0

9 years agoe_config: fixed resource leak and out-of-bounds read 20/49320/2
MinJeong Kim [Mon, 12 Oct 2015 12:51:34 +0000 (21:51 +0900)]
e_config: fixed resource leak and out-of-bounds read

Change-Id: Ia91b78110896b4c6b730fca81c8df7dfccacf9e3

9 years agoe_comp_canvas: fixed null pointer dereference 11/49311/2
MinJeong Kim [Mon, 12 Oct 2015 12:05:33 +0000 (21:05 +0900)]
e_comp_canvas: fixed null pointer dereference

Change-Id: Ifdb4a1dbeafa3ad5e84a660953615350fd30a0c9

9 years agoe_comp: fixed null dereferences 10/49310/3
MinJeong Kim [Mon, 12 Oct 2015 11:59:13 +0000 (20:59 +0900)]
e_comp: fixed null dereferences

Change-Id: I6da981107a3681ccc19a6bd92aabbd498f30eabb

9 years agoe_client: fix memory illegal access 17/49317/2
Mun, Gwan-gyeong [Mon, 12 Oct 2015 12:19:59 +0000 (21:19 +0900)]
e_client: fix memory illegal access

Change-Id: I07dbf5b72d09e07aeb764c1fe6cc66da691f0679

9 years agoe_client: fix null pointer dereference 16/49316/2
Mun, Gwan-gyeong [Mon, 12 Oct 2015 11:57:30 +0000 (20:57 +0900)]
e_client: fix null pointer dereference

Change-Id: I6527c9f67407f793d4a7149acef925b01fc2faef

9 years agowl_screenshot: fix null pointer dereference 99/49299/2
Boram Park [Mon, 12 Oct 2015 10:57:51 +0000 (19:57 +0900)]
wl_screenshot: fix null pointer dereference

Change-Id: I1d35c115e0f207755f879f2454ee6cbe15fb38a3

9 years agowl_drm: fix secure coding getenv 98/49298/2
Boram Park [Mon, 12 Oct 2015 10:57:29 +0000 (19:57 +0900)]
wl_drm: fix secure coding getenv

Change-Id: If1e3fb317d1c13ef454fc31c757ab12393e4d0b9

9 years agowl_drm: fix null pointer dereference 97/49297/2
Boram Park [Mon, 12 Oct 2015 10:56:46 +0000 (19:56 +0900)]
wl_drm: fix null pointer dereference

Change-Id: I5fc150a379515062d8a358a6ad2671ef8cde738f

9 years agowl_desktop_shell: fix null pointer dereference 96/49296/2
Boram Park [Mon, 12 Oct 2015 10:56:34 +0000 (19:56 +0900)]
wl_desktop_shell: fix null pointer dereference

Change-Id: I5c643f4a7ced843eec3b0b705ec3922f0edb8210

9 years agoe_comp_wl: not sending keyevents if vkbd grabs key inputs 49/49049/3
Boram Park [Tue, 6 Oct 2015 00:52:24 +0000 (09:52 +0900)]
e_comp_wl: not sending keyevents if vkbd grabs key inputs

Change-Id: I7ff829cbeb4af1e73f88e74e8d9cbeb0ffdc39e2

9 years agoe_comp: fix null pointer dereference 88/49288/1
Gwanglim Lee [Mon, 12 Oct 2015 10:15:44 +0000 (19:15 +0900)]
e_comp: fix null pointer dereference

Change-Id: I695aae4862a99533dbebb7668cec0d9f2c2dab2f

9 years agoe_comp_wl: add aux_hint to E_Comp_Wl_Client_Data 98/48498/4 accepted/tizen/mobile/20151006.224756 accepted/tizen/tv/20151006.224810 accepted/tizen/wearable/20151006.224829 submit/tizen/20151006.071535
Duna Oh [Tue, 22 Sep 2015 07:43:56 +0000 (16:43 +0900)]
e_comp_wl: add aux_hint to E_Comp_Wl_Client_Data

Change-Id: Ib4f3aca1d4df081877bd20161415c5f84acc2aa3
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoreplace 'tizen_buffer_pool' interface with 'wayland-tbm' library 11/48311/1 accepted/tizen/mobile/20150921.090204 accepted/tizen/tv/20150921.090217 accepted/tizen/wearable/20150921.090255 submit/tizen/20150921.055555
Boram Park [Mon, 14 Sep 2015 00:43:03 +0000 (09:43 +0900)]
replace 'tizen_buffer_pool' interface with 'wayland-tbm' library

Change-Id: I7228283397aac9a546a536137f33c602cb756a19

9 years agowl_shell: set accepts_focus value to 1 when get a toplevel_set 42/48142/1 accepted/tizen/mobile/20150917.040843 accepted/tizen/tv/20150917.040855 accepted/tizen/wearable/20150917.040904 submit/tizen/20150916.011705
Duna Oh [Tue, 15 Sep 2015 02:44:31 +0000 (11:44 +0900)]
wl_shell: set accepts_focus value to 1 when get a toplevel_set

Toplevel windows should accept focus. Only then it can get keyboard events

Change-Id: Id9f9f8e2e137dd6f29888feeb881a603f43d5149
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoremoving ec from post_updates list when deleted. 65/48065/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.043103 accepted/tizen/mobile/20150914.123255 accepted/tizen/tv/20150914.043108 accepted/tizen/tv/20150914.123318 accepted/tizen/wearable/20150914.043119 accepted/tizen/wearable/20150914.123341 submit/tizen/20150914.005307 submit/tizen/20150914.121932 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Boram Park [Sat, 12 Sep 2015 09:43:30 +0000 (18:43 +0900)]
removing ec from post_updates list when deleted.

    When ec's ref_count is 0, _e_client_free() is called. However,
    e_comp->post_updates has the reference of ec. So it doens't make
    sense that _e_client_free calls e_comp_post_update_purge. To make
    ec's ref_count 0, we should call e_comp_post_update_purge first.
    Furthermore, we call e_comp_object_render_update_del(ec->frame)
    in _e_client_del. So _e_client_del seems the proper position to
    call e_comp_post_update_purge

Change-Id: I906101300dec08f7bf18f18428443efa47f7afec

9 years agoshould decrease ec's ref_count when removing ec from post_updates 64/48064/2
Boram Park [Sat, 12 Sep 2015 09:36:27 +0000 (18:36 +0900)]
should decrease ec's ref_count when removing ec from post_updates

  because we increase ec's ref_count when adding ec to post_updates.

Change-Id: I44e47edfc031ba93ce0b67be9e5ad689db5fc97b

9 years agoDecrease ec's ref_count also before decreasing cw->animating. 63/48063/2
Boram Park [Sat, 12 Sep 2015 09:30:37 +0000 (18:30 +0900)]
Decrease ec's ref_count also before decreasing cw->animating.

   When we increase cw->animating, we always increase the ec's
   ref_count. So we need to decrease ec's ref_count wherever
   decreasing cw->animating.

Change-Id: Id43e5ccee6d04ee0e7df854a807b10a5459f2a41

9 years agoe_comp_wl_tbm : do not build when the configuration is x11 08/48008/1 accepted/tizen/mobile/20150911.145329 accepted/tizen/mobile/20150914.120430 accepted/tizen/tv/20150911.145339 accepted/tizen/tv/20150914.120450 accepted/tizen/wearable/20150911.145350 accepted/tizen/wearable/20150914.120457 submit/tizen/20150911.055114 submit/tizen/20150914.114849
SooChan Lim [Fri, 11 Sep 2015 02:11:12 +0000 (11:11 +0900)]
e_comp_wl_tbm : do not build when the configuration is x11

Change-Id: Ie1e5289754883fbb180678e3f673ea0948b59d27

9 years agoe_comp_wl: lining up columns of codes 40/47540/3 submit/tizen/20150909.054149
Gwanglim Lee [Fri, 4 Sep 2015 10:12:05 +0000 (19:12 +0900)]
e_comp_wl: lining up columns of codes

Change-Id: Ia22e378575521c3df34549a0a8c4ac396ba3813e

9 years agoe_comp_wl_tbm: add e_comp_wl_tbm 49/47349/14
SooChan Lim [Tue, 25 Aug 2015 14:35:47 +0000 (23:35 +0900)]
e_comp_wl_tbm: add e_comp_wl_tbm

first implementation for wayland-tbm server

Change-Id: I06c44fb9211efaba208a1537af3c17360f7797fd

9 years agonot creating damage for ec that shows a underlay video accepted/tizen/mobile/20150908.004204 accepted/tizen/tv/20150908.004222 accepted/tizen/wearable/20150908.004213 submit/tizen/20150907.103405
Boram Park [Mon, 7 Sep 2015 01:50:10 +0000 (10:50 +0900)]
not creating damage for ec that shows a underlay video

Change-Id: I0a1aa92987088814319449a564137a753b540ad6

9 years agoshould remove a frame resource from pending.frames list 28/47428/1 accepted/tizen/mobile/20150903.233201 accepted/tizen/tv/20150903.233208 accepted/tizen/wearable/20150903.233217 submit/tizen/20150903.092011
Boram Park [Thu, 3 Sep 2015 09:00:28 +0000 (18:00 +0900)]
should remove a frame resource from pending.frames list

Change-Id: If7287b232f48d66684d21f266f27f56407539a1a

9 years agofixes sticky cursors 85/47185/2 accepted/tizen/mobile/20150903.000046 accepted/tizen/tv/20150903.000241 accepted/tizen/wearable/20150903.000518 submit/tizen/20150902.122230
Duna Oh [Tue, 1 Sep 2015 01:44:04 +0000 (10:44 +0900)]
fixes sticky cursors

- Add inside_check condition when gets MOUSE_OUT event
Even though ec->cur_mouse_action is not NULL, check if mouse is out of client and reset the cursor.
- Remove check for ec->mouse.in when get cursor_set.
ec->mouse.in could be FALSE when comp_grabbed is TRUE, then failed to set the client's cursor.
- Show canvas cursor when reset the cursor

Change-Id: I59430fd8c4d1b9fcd19dc6f92f00abb1156697b3
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_comp_wl: pull transformable window inside of canvas 24/47224/2
MinJeong Kim [Tue, 1 Sep 2015 06:27:13 +0000 (15:27 +0900)]
e_comp_wl: pull transformable window inside of canvas

pull transformable window inside of canvas when user tried to locate window
ouside of screen.

Change-Id: I7b4f1409d5539a8b4636bb4f7fae7dc5a0a4f88b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: use correct macro 39/47039/1 accepted/tizen/mobile/20150901.001758 accepted/tizen/tv/20150901.001813 accepted/tizen/wearable/20150901.001826 submit/tizen/20150831.052721
MinJeong Kim [Fri, 28 Aug 2015 09:59:56 +0000 (18:59 +0900)]
e_comp_object: use correct macro

Change-Id: I7e9aebf323ab1eb91dba2392747dc0bc5889ed48
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: unset transform if it has original factors 38/47038/1
MinJeong Kim [Fri, 28 Aug 2015 09:58:30 +0000 (18:58 +0900)]
e_client: unset transform if it has original factors

Change-Id: Ieba27d12a9a25161949ff6bd579c1890d5de030e

9 years agoe_comp_wl: transform client object using mouse wheel 37/47037/1
MinJeong Kim [Fri, 28 Aug 2015 09:33:04 +0000 (18:33 +0900)]
e_comp_wl: transform client object using mouse wheel

Change-Id: I085215501dafc5ec2df0341c48bb01ab73fb641d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_wl_input: Do not move the pointer when get a configure 78/46778/1 accepted/tizen/mobile/20150829.025910 accepted/tizen/tv/20150829.030450 accepted/tizen/wearable/20150829.031235 submit/tizen/20150828.044757
Duna Oh [Wed, 26 Aug 2015 04:57:26 +0000 (13:57 +0900)]
e_comp_wl_input: Do not move the pointer when get a configure

When the pointer is mapped, The position of pointer is updated as current mouse position.
But after mapping, the pointer get a configure with previous x,y position (0,0).

Change-Id: I145e978d7f423773161aa0e7361e33b5836f9af8
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoFixed to render image with previous size 35/46735/1 accepted/tizen/mobile/20150826.020010 accepted/tizen/tv/20150826.015606 accepted/tizen/wearable/20150826.020217 submit/tizen/20150825.115612
MinJeong Kim [Tue, 25 Aug 2015 11:10:50 +0000 (20:10 +0900)]
Fixed to render image with previous size

Set size of image object to new buffer size when new buffer resource be
set. This patch fixes a problem to draw image object with size of previous
buffer that not rendered.

The problem mentioned above is derived from current buffer management process.
because the process doesn't ensure to render all committed buffer, it means
there are buffers never rendered(even if those buffers changes size of image
object already it's possible to be skip rendering). In the future, new process
is considerable that manage new attached buffer resources with pending list
if previous buffer is not rendered yet to resolve the skip problem.

Change-Id: Ia4bc7296c9770a1a2a28f7872f1c7ef1225a712b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_comp_object: fix infinite loop during resizing a smart object. 18/46718/2
Boram Park [Tue, 25 Aug 2015 08:29:12 +0000 (17:29 +0900)]
e_comp_object: fix infinite loop during resizing a smart object.

   If wl_surface han no wl_buffer, reszing a comp smart object occurs
   infinite loop. In wayland, when a wl_buffer is attached to a surface,
   e_client_util_move_resize_without_frame will be called in _e_comp_wl_
   surface_state_commit. And it makes sure that ec and ec->frame have
   correct size.

Change-Id: I9c3540c94baa0b1f22b0732650f8cee63c3c4d59

9 years agoe_drm_buffer: creating a wl_buffer resource before referencing a tizen_buffer in... 26/46626/1 accepted/tizen/mobile/20150825.060835 accepted/tizen/tv/20150825.060848 accepted/tizen/wearable/20150825.060854 submit/tizen/20150824.055555
Boram Park [Mon, 24 Aug 2015 07:58:45 +0000 (16:58 +0900)]
e_drm_buffer: creating a wl_buffer resource before referencing a tizen_buffer in backend side

Change-Id: I614b2e168745c95aebd6b4d5a70cd338491680fc

9 years agoe_comp_wl: set parent's layer to subsurface accepted/tizen/mobile/20150824.002732 accepted/tizen/tv/20150824.002744 accepted/tizen/wearable/20150824.002757 submit/tizen/20150822.055555
Boram Park [Sat, 22 Aug 2015 09:20:39 +0000 (18:20 +0900)]
e_comp_wl: set parent's layer to subsurface

Change-Id: If2e6c7dd0b5395f523d0d6d584805b46d192c3d1

9 years agoapply map to subsurface and black bg_rect also 82/46582/1
Boram Park [Sat, 22 Aug 2015 06:49:18 +0000 (15:49 +0900)]
apply map to subsurface and black bg_rect also

Change-Id: I13e6763144a36e2cfc4c7827cfc11b2ead05e8a0

9 years agomove below subsurfaces when parent ec is moved 81/46581/1
Boram Park [Sat, 22 Aug 2015 06:46:42 +0000 (15:46 +0900)]
move below subsurfaces when parent ec is moved

Change-Id: I715525ebe3b95295f04c88924aefaa9ebf519743

9 years agoe_client: move transformed client using right center postion 48/46548/1
MinJeong Kim [Fri, 21 Aug 2015 11:39:44 +0000 (20:39 +0900)]
e_client: move transformed client using right center postion

Change-Id: I29b55fe3a6d95a9c57e4efff4c3ee83b3be06123
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_client: added transform APIs 02/46502/1
MinJeong Kim [Fri, 21 Aug 2015 05:30:15 +0000 (14:30 +0900)]
e_client: added transform APIs

Change-Id: I684aee7ed034e3819bbfeb9611940335cfc62e21
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoshow below_bg_rectangle if ec->frame is already mapped 71/46271/1
Boram Park [Wed, 19 Aug 2015 02:17:28 +0000 (11:17 +0900)]
show below_bg_rectangle if ec->frame is already mapped

Change-Id: Iac16149f9e71e014830a65ac707fec68a6cc5ca8

9 years agoe_comp_wl: fixed build warning 06/46206/1
Gwanglim Lee [Tue, 18 Aug 2015 04:42:59 +0000 (13:42 +0900)]
e_comp_wl: fixed build warning

Change-Id: Id83c1454f2526ed842328046dd4a690d7c8c5a22

9 years agodemo: transform with zoommed object 02/46202/1
MinJeong Kim [Tue, 18 Aug 2015 01:59:49 +0000 (10:59 +0900)]
demo: transform with zoommed object

Change-Id: I44ff1e3d8247f36a17a72372c4d97316538bc13e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: recalculate x, y position when resizing(w/ transformed) ends 52/46152/1
Duna Oh [Mon, 17 Aug 2015 08:25:03 +0000 (17:25 +0900)]
Demo: recalculate x, y position when resizing(w/ transformed) ends

Change-Id: I6886688f6eb2f1a8683d62db967c9cd6a04afad7
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_comp: added new E_EVENT_COMPOSITOR_FPS_UPDATE event type accepted/tizen/mobile/20150816.062243 accepted/tizen/tv/20150816.062355 accepted/tizen/wearable/20150816.062546 submit/tizen/20150815.135314
Gwanglim Lee [Sat, 15 Aug 2015 13:52:49 +0000 (22:52 +0900)]
e_comp: added new E_EVENT_COMPOSITOR_FPS_UPDATE event type

Change-Id: I4f36c584a024847bc9359f1e83be6dd0b15d1004

9 years agoDemo: sync size of transform object with new commited buffer 97/46097/1
MinJeong Kim [Sat, 15 Aug 2015 06:42:04 +0000 (15:42 +0900)]
Demo: sync size of transform object with new commited buffer

Change-Id: I2cba64a6f9e9d609d7df519c82a196269ee33dd3
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agosend x,y pos in surface-relative coordinate 79/46079/2 accepted/tizen/mobile/20150815.071836 accepted/tizen/tv/20150815.072131 accepted/tizen/wearable/20150815.072555 submit/tizen/20150814.123636
Boram Park [Fri, 14 Aug 2015 04:48:31 +0000 (13:48 +0900)]
send x,y pos in surface-relative coordinate

Change-Id: I5cae6f76c18b6139362cb3f12664fae4971e45cd

9 years agoe_comp_wl_input: resize cursor's geometry when get a configure 78/46078/1
Duna Oh [Fri, 14 Aug 2015 02:15:41 +0000 (11:15 +0900)]
e_comp_wl_input: resize cursor's geometry when get a configure

Change-Id: I63d8a1855e4bd8967c49360971a0e9ef57a8f7fa
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoe_client: refacto function for visibility calculation 55/45955/1 accepted/tizen/mobile/20150813.083506 accepted/tizen/tv/20150813.083516 accepted/tizen/wearable/20150813.083527 submit/tizen/20150813.023548
Gwanglim Lee [Wed, 12 Aug 2015 13:29:36 +0000 (22:29 +0900)]
e_client: refacto function for visibility calculation
and fix focus problem that top visible window can't get focused.

Change-Id: I0607a5efcbf8dca4dd16a1b936d0e778ae0562b5

9 years agoe_pointer: check cursor whether it is by client or not 47/45847/1
MinJeong Kim [Wed, 12 Aug 2015 02:35:05 +0000 (11:35 +0900)]
e_pointer: check cursor whether it is by client or not

Change-Id: I4ec68dd1abde798650377ae571e3efb726d4d151
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoe_pointer: do not set type for resize mode 88/45788/1
MinJeong Kim [Tue, 11 Aug 2015 09:01:45 +0000 (18:01 +0900)]
e_pointer: do not set type for resize mode

If there is a cursor which is set by client, to switch cursor for new resize
mode is also client's role.

Change-Id: I8a9ad9b77d93ba6ece2a91ad6efb1bb0bd8399d9
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: fixed unwanted move while transformed client is resizing 69/45769/1
MinJeong Kim [Tue, 11 Aug 2015 05:06:07 +0000 (14:06 +0900)]
Demo: fixed unwanted move while transformed client is resizing

Change-Id: I7a1334d5c1be0055e0c721e03dba0dfd0e8631a0
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: Do not transform_unset during transforming(mouse draged) 26/45726/1 submit/tizen/20150811.074955
Duna Oh [Tue, 11 Aug 2015 01:15:54 +0000 (10:15 +0900)]
Demo: Do not transform_unset during transforming(mouse draged)

Change-Id: Ica57fffcb5961d0766aa98a304f271081fd7a2a5
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoDemo: support mouse move for resizing transformed client 12/45712/1
MinJeong Kim [Mon, 10 Aug 2015 12:56:09 +0000 (21:56 +0900)]
Demo: support mouse move for resizing transformed client

Change-Id: I07a960572822208ffac6fe750f4a86d1fd2b3ca9
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoDemo: apply transform_set from zero degree not from transformed degree 06/45706/1
Duna Oh [Mon, 10 Aug 2015 12:48:13 +0000 (21:48 +0900)]
Demo: apply transform_set from zero degree not from transformed degree

Change-Id: Ief614107b41ce0245b173a427ee664e31c8829de
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoremove subc from subsurface list of parent when subc destoryed 81/45681/1 accepted/tizen/mobile/20150811.013621 accepted/tizen/tv/20150811.013633 accepted/tizen/wearable/20150811.013649 submit/tizen/20150810.055113
Boram Park [Mon, 10 Aug 2015 08:20:46 +0000 (17:20 +0900)]
remove subc from subsurface list of parent when subc destoryed

Change-Id: Iedc5ab225da7940f35d67b41c0794ea554b90512