platform/upstream/enlightenment.git
8 years agoconfigure.ac: Remove ecore-x from wayland only build.
Seunghun Lee [Wed, 6 Jan 2016 17:44:52 +0000 (12:44 -0500)]
configure.ac: Remove ecore-x from wayland only build.

Reviewers: devilhorns, zmike

Subscribers: cedric

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

8 years agoe_backlight: remove x dependency code
Seunghun Lee [Mon, 4 Jan 2016 08:55:48 +0000 (17:55 +0900)]
e_backlight: remove x dependency code

Change-Id: Ia4e88414fe1f8f533d7811d2f28117425478300f

8 years agopackaging: disable xwayland, wl-text-input, wl-weekeyboard.
Seunghun Lee [Mon, 4 Jan 2016 08:44:31 +0000 (17:44 +0900)]
packaging: disable xwayland, wl-text-input, wl-weekeyboard.

Change-Id: Iae9344048f8fba76b887c1b2294eac24fa5948e3

8 years agopackaging: enable-wayland-only -> enable-wayland
Seunghun Lee [Mon, 4 Jan 2016 07:10:27 +0000 (16:10 +0900)]
packaging: enable-wayland-only -> enable-wayland

Change-Id: Ie9c83889973b1a0cfa41c49707d54c046e48e290

8 years agowl_desktop_shell: Check whether enable of input panel.
Seunghun Lee [Thu, 7 Jan 2016 05:15:32 +0000 (14:15 +0900)]
wl_desktop_shell: Check whether enable of input panel.

Change-Id: Id3c09e1f91cbd73404c86c5a2f3e17b668408c5c

8 years agoresolve the merge conflict for previous merge(commit id: 27fa5eca) conflicts.
Seunghun Lee [Mon, 28 Dec 2015 07:25:51 +0000 (16:25 +0900)]
resolve the merge conflict for previous merge(commit id: 27fa5eca) conflicts.

Change-Id: I0eb2e2b6052e2e5740085fd54fd1e14f267fb25d

8 years agoMerge branch 'upstream' into sandbox/shiin/devel
Seunghun Lee [Mon, 28 Dec 2015 07:21:59 +0000 (16:21 +0900)]
Merge branch 'upstream' into sandbox/shiin/devel

Need to resolve below conflict files.

Conflicts:
configure.ac
src/bin/Makefile.mk
src/bin/e_atoms.c
src/bin/e_atoms.h
src/bin/e_auth.c
src/bin/e_auth.h
src/bin/e_client.c
src/bin/e_client.h
src/bin/e_comp.c
src/bin/e_comp.h
src/bin/e_comp_canvas.c
src/bin/e_comp_object.c
src/bin/e_comp_wl.c
src/bin/e_comp_wl.h
src/bin/e_comp_wl_data.c
src/bin/e_comp_wl_data.h
src/bin/e_comp_wl_input.c
src/bin/e_comp_wl_input.h
src/bin/e_comp_wl_screenshooter_server.c
src/bin/e_comp_x.c
src/bin/e_config.h
src/bin/e_desk.c
src/bin/e_dnd.c
src/bin/e_hints.c
src/bin/e_hints.h
src/bin/e_log.h
src/bin/e_main.c
src/bin/e_module.c
src/bin/e_module.h
src/bin/e_pixmap.c
src/bin/e_pixmap.h
src/bin/e_pointer.c
src/bin/e_scale.c
src/bin/e_scale.h
src/bin/e_signals.c
src/bin/e_win.c
src/bin/e_zone.c
src/bin/e_zone.h
src/modules/Makefile.mk
src/modules/Makefile_music_control.mk
src/modules/Makefile_wl_desktop_shell.mk
src/modules/Makefile_wl_screenshot.mk
src/modules/packagekit/e_mod_packagekit.c
src/modules/shot/screenshooter-client-protocol.h
src/modules/wl_desktop_shell/e_desktop_shell_protocol.c
src/modules/wl_desktop_shell/e_desktop_shell_protocol.h
src/modules/wl_desktop_shell/e_mod_main.c
src/modules/wl_drm/e_mod_main.c
src/modules/wl_screenshot/e_mod_main.c
src/modules/wl_x11/e_mod_main.c

Change-Id: Ia5849a1e958e920aed674b62d8f41af4f85e17e9

8 years agofix bugs reported by static analyzer. 23/55323/2 accepted/tizen/mobile/20151224.001929 accepted/tizen/tv/20151224.001952 accepted/tizen/wearable/20151224.002011 submit/tizen/20151223.114332 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031
Seunghun Lee [Wed, 23 Dec 2015 06:58:05 +0000 (15:58 +0900)]
fix bugs reported by static analyzer.

Change-Id: I0579158edf2eee7b6bd50dcba0ea6e966fca3c3d

8 years agoe_comp_wl_data: use single clipboard for copy and paste 37/55337/1 accepted/tizen/mobile/20151223.110756 accepted/tizen/tv/20151223.110800 accepted/tizen/wearable/20151223.110826 submit/tizen/20151223.095139 submit/tizen_common/20151223.095123
MinJeong Kim [Wed, 23 Dec 2015 07:39:16 +0000 (16:39 +0900)]
e_comp_wl_data: use single clipboard for copy and paste

Change-Id: I9d5d8827f697e732891e6f691c5b147a7d001a2e

8 years agoteamwork: we don't need to use sha1 codes 30/55330/1
Gwanglim Lee [Wed, 23 Dec 2015 07:19:18 +0000 (16:19 +0900)]
teamwork: we don't need to use sha1 codes

Change-Id: I53821fbe0a3a5a88e08340d28415840b47af9ebf

8 years agopackagekit: we don't need PackageKit_Package_Info enum accepted/tizen/mobile/20151222.225239 accepted/tizen/tv/20151222.225255 accepted/tizen/wearable/20151222.225318 submit/tizen/20151222.151736
Gwanglim Lee [Tue, 22 Dec 2015 15:17:18 +0000 (00:17 +0900)]
packagekit: we don't need PackageKit_Package_Info enum

Change-Id: I5e4e9aeac5e2b3d3352f8c2aa6c43c1f2e83f830

8 years agoe_auth: we don't need to use pam
Gwanglim Lee [Tue, 22 Dec 2015 14:43:56 +0000 (23:43 +0900)]
e_auth: we don't need to use pam

Change-Id: Icceed1fd85dd6adf7f10bfed4bb0610ac7640892

8 years agoenlightenment_info: Add rotation feature into enlightenment_info for remote control... 37/55037/3 accepted/tizen/mobile/20151222.090804 accepted/tizen/tv/20151222.090815 accepted/tizen/wearable/20151222.090834 submit/tizen/20151222.072527
Seunghun Lee [Fri, 4 Dec 2015 07:31:24 +0000 (16:31 +0900)]
enlightenment_info: Add rotation feature into enlightenment_info for remote control rotation.

Change-Id: I7bd119888987942912da8da064feb69e51717f23

8 years agoe_comp_wl: dnd with touch interface and modified drag window info 20/55120/1
MinJeong Kim [Tue, 22 Dec 2015 04:48:44 +0000 (13:48 +0900)]
e_comp_wl: dnd with touch interface and modified drag window info

Send drop event with touch interface

Change-Id: I0d6cd2e9ae6e2e7572b0d65538936aa39bf17f4d

8 years agoSupport a drm backend when update mouse configuration. 03/53903/8
JengHyun Kang [Thu, 10 Dec 2015 06:14:26 +0000 (15:14 +0900)]
Support a drm backend when update mouse configuration.

Change-Id: I51211a49b7abaf98163fe431fa66e8fb3c8bf555

8 years agoe_comp_wl: add config for cursor_timer hiding the cursor after some interval 86/54086/10
Duna Oh [Fri, 11 Dec 2015 08:25:06 +0000 (17:25 +0900)]
e_comp_wl: add config for cursor_timer hiding the cursor after some interval

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

8 years ago(un)iconify subsurfaces if ec has them 19/54319/5 accepted/tizen/mobile/20151218.085155 accepted/tizen/tv/20151218.085000 accepted/tizen/wearable/20151218.085114 submit/tizen/20151218.045258
Boram Park [Tue, 15 Dec 2015 01:42:14 +0000 (10:42 +0900)]
(un)iconify subsurfaces if ec has them

Change-Id: I08fe36dcfb77e683afcf21c9fcf6766b9107af01

8 years agoenlightenment_info: added focused information 38/54638/1
Doyoun Kang [Thu, 17 Dec 2015 01:12:32 +0000 (10:12 +0900)]
enlightenment_info: added focused information

Change-Id: Ied9f3435d1ef03f1d23e02a5f3b109f9578da6a8

8 years agoenlightenment_info: added visibility, iconic informations 81/54181/1
Doyoun Kang [Mon, 14 Dec 2015 04:19:25 +0000 (13:19 +0900)]
enlightenment_info: added visibility, iconic informations

Change-Id: If8818ef36ab4d0e46b535919ff89f2554b781999

8 years agoe_main: allow ecore to not load system modules 62/54062/2 accepted/tizen/mobile/20151212.071036 accepted/tizen/tv/20151212.072539 accepted/tizen/wearable/20151212.073137 submit/tizen/20151211.064859
Gwanglim Lee [Fri, 11 Dec 2015 06:32:52 +0000 (15:32 +0900)]
e_main: allow ecore to not load system modules

Without it ecore_init will block until dbus authentication
and registration are complete.

Change-Id: Iced3b8d6b300c4fe2af8f262922d6456d0f78a10

8 years agofixed build break 11/54011/1
Doyoun Kang [Thu, 10 Dec 2015 21:36:42 +0000 (06:36 +0900)]
fixed build break

Change-Id: I6678b5a985deac14889f8db37f56185050d4dd05

8 years agowl desktop shell: set e client's netwm pid 33/53933/1
Doyoun Kang [Thu, 10 Dec 2015 08:27:30 +0000 (17:27 +0900)]
wl desktop shell: set e client's netwm pid

Change-Id: Ib29de4f138ba2c714da4a8f9c1f69e4979e82fad

8 years agoquick_init: clear changes value for icon 98/53898/1
MinJeong Kim [Thu, 10 Dec 2015 05:49:38 +0000 (14:49 +0900)]
quick_init: clear changes value for icon

Change-Id: I2f3d7cc4c00da1bdca54a020440d4833a9957da1

8 years agoquick-init: do not handle icon 88/53888/1
MinJeong Kim [Thu, 10 Dec 2015 05:06:57 +0000 (14:06 +0900)]
quick-init: do not handle icon

Change-Id: Idb649ecf922a50bf8537d3572708d2bbc4226c1d

8 years agoFix not to remove a resource from an irrelevant resource list. 80/53880/2
JengHyun Kang [Thu, 10 Dec 2015 04:12:48 +0000 (13:12 +0900)]
Fix not to remove a resource from an irrelevant resource list.

Change-Id: Id46e4b02e2bf8d466bbe7111be9133479e06d84f

8 years agofixed warnings 40/53840/1
Gwanglim Lee [Wed, 9 Dec 2015 16:02:51 +0000 (01:02 +0900)]
fixed warnings

Change-Id: I43fc1d6878daddfee37a859fbc91ad8c5a0bde27

8 years agoe_comp_wl: check number of devices before enabling/disabling devices 00/53500/5 accepted/tizen/mobile/20151210.025232 accepted/tizen/tv/20151210.024825 accepted/tizen/wearable/20151210.025111 submit/tizen/20151209.150737
Duna Oh [Mon, 7 Dec 2015 10:02:34 +0000 (19:02 +0900)]
e_comp_wl: check number of devices before enabling/disabling devices

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

8 years agoremove e_sys, test img files for light-e 35/53735/5
Ju Yeon Lee [Wed, 9 Dec 2015 04:41:13 +0000 (13:41 +0900)]
remove e_sys, test img files for light-e

Change-Id: Ib5c81cb84815986348e096098466dd87359f9b8c

8 years agoe client: added E_CLIENT_HOOK_EVAL_VISIBILITY, E_Visibility enumeration for visibility 41/53741/1
Doyoun Kang [Wed, 9 Dec 2015 05:35:35 +0000 (14:35 +0900)]
e client: added E_CLIENT_HOOK_EVAL_VISIBILITY, E_Visibility enumeration for visibility

Change-Id: Ia44b07a93538a49abe1b1c4059fcc25be5137f57

8 years agoquick-init: delayed to init edje, efreet, e_pointer 89/53489/3
MinJeong Kim [Mon, 7 Dec 2015 09:01:38 +0000 (18:01 +0900)]
quick-init: delayed to init edje, efreet, e_pointer

Change-Id: I4ca8ccc5bff653a06aba001b69b01ed0a4de3705

8 years agoFix a unit s to ms and add point for convert integer to float argument 64/53464/2
JengHyun Kang [Mon, 7 Dec 2015 06:25:05 +0000 (15:25 +0900)]
Fix a unit s to ms and add point for convert integer to float argument

Change-Id: I586293707797f96e80a4aa7bd7737e1ac156fc1f

8 years agoe_info_server: added window role information 41/53441/3
Doyoun Kang [Mon, 7 Dec 2015 01:31:52 +0000 (10:31 +0900)]
e_info_server: added window role information

Change-Id: I6aa1eefa0c97fbf33283a66956dc0d59dd86e9da

8 years agoadd USE_MODULE_LOKKER for e_config init exception handle 44/53444/2
Ju Yeon Lee [Mon, 7 Dec 2015 02:04:20 +0000 (11:04 +0900)]
add USE_MODULE_LOKKER for e_config init exception handle

Change-Id: I29f317cbd9bf136f7584723092063f226e3bb453

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 ago20.0 NEWS updates upstream_backup upstream/0.20.0
Mike Blumenkrantz [Mon, 30 Nov 2015 19:51:55 +0000 (14:51 -0500)]
20.0 NEWS updates

8 years agoe20 release
Mike Blumenkrantz [Mon, 30 Nov 2015 19:46:43 +0000 (14:46 -0500)]
e20 release

8 years agoadd NEWS from 19.13-14 releases
Mike Blumenkrantz [Mon, 30 Nov 2015 19:49:03 +0000 (14:49 -0500)]
add NEWS from 19.13-14 releases

8 years agoremove e_comp_wl struct keyboard repeat members
Mike Blumenkrantz [Mon, 30 Nov 2015 19:12:27 +0000 (14:12 -0500)]
remove e_comp_wl struct keyboard repeat members

duplicating these from e_config serves no purpose

ref D3364

8 years ago(1) e_config.c/e_comp_wl.c: add code for making repeat values configurable
Sung-Jin Park [Mon, 30 Nov 2015 19:05:10 +0000 (14:05 -0500)]
(1) e_config.c/e_comp_wl.c: add code for making repeat values configurable
(2) e.src(s): add keyboard.repeat_delay, keyboard.repeat_rate into e.src files

Summary:
As of now, the default values of repeat delay/rate are being set in e_comp_wl.c.
Those values need to be configurable and will be used in e_comp_wl_init().
The limit of each of the values is defined from -1 to 1000. (maximum 1s).
If one of the two is negative, it means default repeat delay/rate are going to be used.
(e.g. delay:400, rate:25)

Test Plan:
N/A

Signed-off-by: Sung-Jin Park <input.hacker@gmail.com>
Reviewers: raster, stefan_schmidt, gwanglim, devilhorns, zmike

Subscribers: Jeon, ohduna, cedric

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

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 agoStop using MIN macros when choosing versions for wayland resources
Derek Foreman [Fri, 27 Nov 2015 01:12:47 +0000 (20:12 -0500)]
Stop using MIN macros when choosing versions for wayland resources

Summary:
libwayland-server.so will post an error if the requested version
is higher than the supported one anyway, so there's no point in
doing this.

Using MIN() to pick versions is a client side idiom.

 #kansas

Reviewers: zmike, devilhorns

Subscribers: cedric

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

8 years agoe_menu: use Eina_Bool for one-bit bitfield
Stefan Schmidt [Thu, 26 Nov 2015 17:31:29 +0000 (18:31 +0100)]
e_menu: use Eina_Bool for one-bit bitfield

Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.

8 years agoe_gadcon: use Eina_Bool for one-bit bitfield
Stefan Schmidt [Thu, 26 Nov 2015 17:31:02 +0000 (18:31 +0100)]
e_gadcon: use Eina_Bool for one-bit bitfield

Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.

8 years agopulse backend: correct declaration of function with no parameters
Stefan Schmidt [Thu, 26 Nov 2015 17:10:47 +0000 (18:10 +0100)]
pulse backend: correct declaration of  function with no parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.

8 years agoe_fm:correct declaration of function with no parameters
Stefan Schmidt [Thu, 26 Nov 2015 17:09:32 +0000 (18:09 +0100)]
e_fm:correct declaration of  function with no parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.

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 agore-swallow bg_object after wallpaper transition has completed
Mike Blumenkrantz [Wed, 25 Nov 2015 17:36:36 +0000 (12:36 -0500)]
re-swallow bg_object after wallpaper transition has completed

fixes eventing/stacking on bg object

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 agoallow more client hooks to bypass delete check
Mike Blumenkrantz [Wed, 25 Nov 2015 02:41:48 +0000 (21:41 -0500)]
allow more client hooks to bypass delete check

failing to propagate these signals can result in a broken compositor
when a client is deleted before/during an operation

8 years agodo not apply max client geometry restriction if max geometry is not set
Mike Blumenkrantz [Tue, 24 Nov 2015 22:34:03 +0000 (17:34 -0500)]
do not apply max client geometry restriction if max geometry is not set

default values for these is set to a very high value, but it's possible
(and guaranteed) for some clients to set them to a value <= 0, which results
in a broken window

8 years agouse CSD geometry during move/resize display
Mike Blumenkrantz [Tue, 24 Nov 2015 22:31:47 +0000 (17:31 -0500)]
use CSD geometry during move/resize display

this should provide more user-relevant information

8 years agoadjust for SSD geometry during wayland client resize
Mike Blumenkrantz [Tue, 24 Nov 2015 22:29:53 +0000 (17:29 -0500)]
adjust for SSD geometry during wayland client resize

client moveinfo includes the frame geometry, so this must be taken
into account when resizing a client which has a frame

fix T2863

8 years agoavoid setting incorrect geometry during new_client frame calc
Mike Blumenkrantz [Tue, 24 Nov 2015 22:28:08 +0000 (17:28 -0500)]
avoid setting incorrect geometry during new_client frame calc

in the case where a client has no geometry set, attempting to update
the client's geometry during frame recalc will guarantee that wrong
geometry is set, resulting in a bad first frame

8 years agodeclare xwayland functions prior to using them
Mike Blumenkrantz [Tue, 24 Nov 2015 20:46:10 +0000 (15:46 -0500)]
declare xwayland functions prior to using them

 #CompileFail

8 years agouse separate handler for x11 fatal errors when using xwayland
Mike Blumenkrantz [Tue, 24 Nov 2015 20:34:42 +0000 (15:34 -0500)]
use separate handler for x11 fatal errors when using xwayland

a fatal error with xwayland is not a fatal error for the compositor,
so this should not result in a dead session

8 years agoadd mechanism for preventing unload of important modules during runtime
Mike Blumenkrantz [Tue, 24 Nov 2015 20:26:10 +0000 (15:26 -0500)]
add mechanism for preventing unload of important modules during runtime

if a wayland output module is unloaded while the compositor is still
active, bad things will happen

8 years agofix all shadow warnings in msgbus module
Mike Blumenkrantz [Tue, 24 Nov 2015 17:01:01 +0000 (12:01 -0500)]
fix all shadow warnings in msgbus module

ref cdb436ee8602728e18a63244988da22b25477819

8 years agoreenable restart/shutdown dbus methods under x11
Mike Blumenkrantz [Tue, 24 Nov 2015 16:49:15 +0000 (11:49 -0500)]
reenable restart/shutdown dbus methods under x11

8 years agoe - efm - rate limit dbus requests to open dirs or files to avoid dos
Carsten Haitzler (Rasterman) [Tue, 24 Nov 2015 13:06:54 +0000 (22:06 +0900)]
e - efm - rate limit dbus requests to open dirs or files to avoid dos

in a wayland wold we dont want to trust clients on the other side of a
dbus connection - so rate limit what you can do with efm dbus requests

@fix

8 years agoe msgbus - move almost all of core dbus methods to msgbus module
Carsten Haitzler (Rasterman) [Tue, 24 Nov 2015 12:55:10 +0000 (21:55 +0900)]
e msgbus - move almost all of core dbus methods to msgbus module

for security reaons, all the dbus methods that allow you to mess with
e are now in the msgbus module - load at your own risk. this is
irrelevant in x11, but in wayland this matters as wayland is actually
secure.

this also disables restart and shutdown dbus methods still in core.
they are there but non-functional due to possibly being able to be
abused in a wayland universe to "dos attack" the wm.

@fix

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 agoonly perform drm shutdown during signal handler if drm engine is in use
Mike Blumenkrantz [Mon, 23 Nov 2015 20:02:52 +0000 (15:02 -0500)]
only perform drm shutdown during signal handler if drm engine is in use

8 years agoonly create wayland screensaver timer in wayland mode
Mike Blumenkrantz [Mon, 23 Nov 2015 19:46:32 +0000 (14:46 -0500)]
only create wayland screensaver timer in wayland mode

probably fix T2867

8 years agoFix invalid compositor type check in e_dpms_force_update
Chris Michael [Mon, 23 Nov 2015 15:00:36 +0000 (10:00 -0500)]
Fix invalid compositor type check in e_dpms_force_update

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoFix formatting and remove extra blank line
Chris Michael [Mon, 23 Nov 2015 14:48:58 +0000 (09:48 -0500)]
Fix formatting and remove extra blank line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoe - fix compositor fade out ghosting
Carsten Haitzler (Rasterman) [Mon, 23 Nov 2015 02:42:38 +0000 (11:42 +0900)]
e - fix compositor fade out ghosting

due to enabling manual rendering (and als animator frametiem to 10
secons) in e_comp_canvas.c when screensaver is active (blanking is
finished totallly - eg the fade to black) evas weill nto render the
last frame of the animation - skipping it and not rendering another
update until screensaver is disabled. this leaves a subtle ghost of
pixel data which is 1 step before black on the screen (until dpms
turns the monitor off).

this fixes that. this delays enabling manual render for 1 more second
after we have been told the screensaver is active. this is plenty of
time to update all the way to black.

@fix

8 years agoref clients while a wayland shell surface exists
Mike Blumenkrantz [Fri, 20 Nov 2015 19:59:53 +0000 (14:59 -0500)]
ref clients while a wayland shell surface exists

in the case where a client is deleted, it's possible that the shell
surface may persist longer than the duration of the normal client delete
cycle, so it's necessary to ensure that the client will continue to exist
until the shell surface has been destroyed

8 years agoremove fwin popup size hint change callback on win deletion
Mike Blumenkrantz [Fri, 20 Nov 2015 14:14:53 +0000 (09:14 -0500)]
remove fwin popup size hint change callback on win deletion

this callback also crashes if called during delete

8 years agoensure fwin efm delete callback does not trigger crash
Mike Blumenkrantz [Fri, 20 Nov 2015 14:09:38 +0000 (09:09 -0500)]
ensure fwin efm delete callback does not trigger crash

if this is called during fwin delete, dereferencing the passed data
will result in a crash

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 agoe/core: Fix minor mem leak when reading module paths
Stafford Horne [Fri, 20 Nov 2015 01:44:45 +0000 (20:44 -0500)]
e/core: Fix minor mem leak when reading module paths

Summary:
Found this with a quick valgrind session.  For paths that are not directories, if we fail the `ecore_file_is_dir` condition memory will not be freed.

The change is to use the default e_path freeing function.

Test Plan:
Run enlightenment in valgrind.  It should no longer show a mem leak like below.

```
==6912== 8 bytes in 1 blocks are definitely lost in loss record 186 of 5,940
==6912==    at 0x4C28C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6912==    by 0x4D8574: e_path_dir_list_get (e_path.c:326)
==6912==    by 0x4D1BA4: e_module_init.part.0 (e_module.c:183)
==6912==    by 0x4D1DA8: e_module_init (e_module.c:153)
==6912==    by 0x4371ED: main (e_main.c:868)
```

Reviewers: zmike

Subscribers: cedric, seoz

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

8 years agoalways set wayland E_Client->redirected during client creation
Mike Blumenkrantz [Thu, 19 Nov 2015 20:56:59 +0000 (15:56 -0500)]
always set wayland E_Client->redirected during client creation

fix T2846

8 years agoensure that a deskmirror object does not orphan child objects
Mike Blumenkrantz [Thu, 19 Nov 2015 20:52:01 +0000 (15:52 -0500)]
ensure that a deskmirror object does not orphan child objects

ref T2846, T2830

8 years agoRevert "e deskmirror - fix loss of mirror object from deskmirror"
Mike Blumenkrantz [Thu, 19 Nov 2015 20:44:34 +0000 (15:44 -0500)]
Revert "e deskmirror - fix loss of mirror object from deskmirror"

This reverts commit bd0c590489a7ae1c3185578389f19bde4bacbcff.

the m->mirror object can never be deleted except in the case of a client
being removed from the owner desk. removing it at any point will break any
users of the deskmirror api and create other issues

ref T2846

8 years agoblock task gadget refills while a drag is active
Mike Blumenkrantz [Thu, 19 Nov 2015 20:34:19 +0000 (15:34 -0500)]
block task gadget refills while a drag is active

it's impossible to use a pager effectively with a task gadget due to
the constant resizing of the tasks gadget during any kind of window move

8 years agoalways create compositor mirror objects, ignore pixmap image state
Mike Blumenkrantz [Thu, 19 Nov 2015 20:17:19 +0000 (15:17 -0500)]
always create compositor mirror objects, ignore pixmap image state

checking pixmap image state in this case resulted in mirrors failing to
be created in some cases when there was no reason to fail

ref T2846

8 years agoe/imc: fix issue with input method import segv and small window size
Stafford Horne [Thu, 19 Nov 2015 17:46:58 +0000 (12:46 -0500)]
e/imc: fix issue with input method import segv and small window size

Summary:
The imc import dialog at "Settings > Language > Input Method Settings >
Import .." had issue where the size was almost zero.  When trying to
close the window it would SEGV.

The SEGV seems to be do the with dialog->cdata not being set.

The resize issue I am not so sure, but I upgraded to ELM and if fixed
the issue.

Test Plan:
Open "Settings > Language > Input Method Settings > Import ..."
 - The size should not be really small
 - When closing it should not cause E to SEGV
After applying the patch the above issues are fixed.

Reviewers: zmike

Subscribers: cedric, seoz

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

8 years agoadd safety checks to e_client_focus/raise_latest_set() fns
Mike Blumenkrantz [Thu, 19 Nov 2015 17:44:35 +0000 (12:44 -0500)]
add safety checks to e_client_focus/raise_latest_set() fns

passing a null client here breaks the universe, so ensure that it's
easily catchable

8 years agofurther improve csd calculations for x11 clients
Mike Blumenkrantz [Mon, 16 Nov 2015 21:21:52 +0000 (16:21 -0500)]
further improve csd calculations for x11 clients

there was previously a frame in which maximized x11 csd clients would
reposition themselves offscreen before rendering

this is now fixed by adjusting the client geometries either upon
unsetting the csd or re-setting it, allowing the client to retain its
expected positioning without jitters

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

8 years agoe mixer fix - fix default mixer to pulse if there
Carsten Haitzler (Rasterman) [Sat, 14 Nov 2015 01:13:36 +0000 (10:13 +0900)]
e mixer fix - fix default mixer to pulse if there

this makes e use the correct mixer backend if pulse is available as
opposed to using alsa going behind pulses back.

@fix

8 years agoL10N: Update Finnish translations
Kai Huuhko [Sat, 14 Nov 2015 00:36:01 +0000 (02:36 +0200)]
L10N: Update Finnish translations

Includes translations from Launchpad.

8 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

8 years agoupdate E_Client->desk member upon focusing a sticky client
Mike Blumenkrantz [Thu, 12 Nov 2015 22:38:58 +0000 (17:38 -0500)]
update E_Client->desk member upon focusing a sticky client

a sticky window previously would always have the desk set for where
it was set as sticky, meaning that anything which tries to access it
will be reading wrong data here.
more useful information to provide is the last desk which the sticky
client was focused on, so update that upon focusing it

8 years agodo not refill all tasks bars when a sticky window changes desks
Mike Blumenkrantz [Thu, 12 Nov 2015 22:34:42 +0000 (17:34 -0500)]
do not refill all tasks bars when a sticky window changes desks