platform/upstream/enlightenment.git
10 years agoremove setting ec->parent before evaluation.
Seunghun Lee [Wed, 9 Jul 2014 15:20:15 +0000 (11:20 -0400)]
remove setting ec->parent before evaluation.

Summary:
the value of "ec->parent" should be set in evaluation time,
therefore ec->parent->transients will be reset automatically.

Reviewers: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1155

10 years agoAdd focus surface setting of keyboard for copy and paste between clients
MinJeong Kim [Wed, 9 Jul 2014 15:06:25 +0000 (11:06 -0400)]
Add focus surface setting of keyboard for copy and paste between clients

Summary:
To enable copy and paste between clients,
wayland data device requires to know what surface is focused.
So this revision have make keyboard get focused surface when client is focused or unfocused,
and create data_offer for new focused surface in order to let new focused surface be able to get data from current selection data_source.

Test Plan:
1. Run wayland server
2. Run elementary_test -to entry5 on wayland server.
3. Run elementary_test -to entry5 on wayland server again. (preparing two clients)
4. Copy text on one of clients, and paste to the other.

Reviewers: devilhorns

CC: gwanglim, cedric
Differential Revision: https://phab.enlightenment.org/D1157

10 years agofix crash when client in wayland request to set parent to null.
Seunghun Lee [Wed, 9 Jul 2014 14:52:26 +0000 (10:52 -0400)]
fix crash when client in wayland request to set parent to null.

Summary: Clear the E_Client's parent if client request to set parent to null.

Test Plan: run weston-stacking.

Reviewers: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1154

10 years agoAdded conversion for image format to ARGB from XRGB for wayland. evas_object_image_da...
Seunghun Lee [Mon, 7 Jul 2014 13:55:45 +0000 (09:55 -0400)]
Added conversion for image format to ARGB from XRGB for wayland. evas_object_image_data_set will be used instead of evas_object_image_data_copy_set.

Summary: this patch will provide to launch the application based on XRGB8888 like weston-simple-shm.

Test Plan: launch weston-simple-shm

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1137

10 years agoChange time unit to milli-second from second when send event of frame done for waylan...
Seunghun Lee [Mon, 7 Jul 2014 13:03:48 +0000 (09:03 -0400)]
Change time unit to milli-second from second when send event of frame done for wayland client.

Summary: that's because weston sample client supposed that the time passed by frame callback is milli-second.

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1133

10 years agomap/unmap surface in committing surface should be valid, only when buffer is newly...
Seunghun Lee [Thu, 3 Jul 2014 14:43:02 +0000 (10:43 -0400)]
map/unmap surface in committing surface should be valid, only when buffer is newly attached. check if buffer is newly attached, when do map/unmap surface.

Summary:
There is a case that client do commit twice after one wl_surface_attach.
In this case, even if no buffer attached, unmapping the surface.
Because server already clear the buffer in first commit.

This patch fixes it.

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1115

10 years agoAdd missing function
MinJeong Kim [Tue, 1 Jul 2014 12:53:41 +0000 (08:53 -0400)]
Add missing function

Summary:
Added missing function _e_comp_wl_data_find_for_client.
@fix

Reviewers: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1102

10 years agoFix formatting.
Chris Michael [Tue, 1 Jul 2014 11:08:05 +0000 (07:08 -0400)]
Fix formatting.
Rename data_resource_list to data_resources.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoImplement selection copy & paste using data interfaces of wayland
MinJeong Kim [Tue, 1 Jul 2014 11:03:07 +0000 (07:03 -0400)]
Implement selection copy & paste using data interfaces of wayland

Summary: It supports selection copy & pasete with wl_data_device_manager, wl_data_device, wl_data_offer and wl_data_source.

Test Plan:
1. Build enlightenment on devs/devilhorns/e_comp_wl branch.
2. Run enlightenment.
3. Run elementary_test -to entry5 (or any entry samples).
4. Select any block of text.
5. Do copy the block and Copy anywhere you want.

Reviewers: gwanglim, devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1094

10 years agopass the compositor ecore_evas to e_pointer_canvas_new
Chris Michael [Thu, 26 Jun 2014 13:31:41 +0000 (09:31 -0400)]
pass the compositor ecore_evas to e_pointer_canvas_new

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agopass the ecore_evas to e_pointer_canvas_new and use Eina_Bool for
Chris Michael [Thu, 26 Jun 2014 13:30:57 +0000 (09:30 -0400)]
pass the ecore_evas to e_pointer_canvas_new and use Eina_Bool for
true/false values

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agouse Eina_Bool for true/false values
Chris Michael [Thu, 26 Jun 2014 13:30:33 +0000 (09:30 -0400)]
use Eina_Bool for true/false values

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agouse the pointer from the compositor for e_win and don't free the pointer when the...
Chris Michael [Thu, 26 Jun 2014 13:29:42 +0000 (09:29 -0400)]
use the pointer from the compositor for e_win and don't free the pointer when the window closes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agocreate the compositor e_pointer on the ecore_evas
Chris Michael [Thu, 26 Jun 2014 13:29:19 +0000 (09:29 -0400)]
create the compositor e_pointer on the ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd new e_pointer files
Chris Michael [Thu, 26 Jun 2014 13:28:43 +0000 (09:28 -0400)]
add new e_pointer files

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix crash and memory leak when press and release any key repeatedly.
Seunghun Lee [Thu, 26 Jun 2014 13:19:23 +0000 (09:19 -0400)]
fix crash and memory leak when press and release any key repeatedly.

Summary:
since the size of wl_array is determined based on one byte,
so in order to compare with uint32_t, the size of wl_array should be divided by uint32_t's size.
and when calculate the size of wl_array by difference between two address,
address should type cast char* as one byte.

Test Plan:
(1) run terminology
(2) input any key several time.

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1089

10 years agoremove old e_pointer code
Chris Michael [Tue, 24 Jun 2014 17:03:05 +0000 (13:03 -0400)]
remove old e_pointer code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoflush clients Before we dispatch main loop events as clients may queue
Chris Michael [Tue, 24 Jun 2014 16:55:01 +0000 (12:55 -0400)]
flush clients Before we dispatch main loop events as clients may queue
events onto the loop.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd EGL headers for wayland compositor
Chris Michael [Tue, 24 Jun 2014 16:01:43 +0000 (12:01 -0400)]
add EGL headers for wayland compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix define check for shutting down wayland compositor.
Chris Michael [Tue, 24 Jun 2014 13:50:42 +0000 (09:50 -0400)]
fix define check for shutting down wayland compositor.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoenable checking of windows going outside of e_config->screen limits
Chris Michael [Mon, 23 Jun 2014 20:47:53 +0000 (16:47 -0400)]
enable checking of windows going outside of e_config->screen limits

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agore-enable checking of current client geometry when get a configure
Chris Michael [Mon, 23 Jun 2014 20:47:01 +0000 (16:47 -0400)]
re-enable checking of current client geometry when get a configure
message.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd support for mouse wheel events and pass them to wayland
Chris Michael [Mon, 23 Jun 2014 19:29:36 +0000 (15:29 -0400)]
add support for mouse wheel events and pass them to wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agocheck if client is getting destroyed before we try to unmap it.
Chris Michael [Mon, 23 Jun 2014 16:57:19 +0000 (12:57 -0400)]
check if client is getting destroyed before we try to unmap it.

NB: This is done for wayland clients where e_client delete function
has already freed the client wl_comp_data Before we get a shell
surface destroy message from wayland. (occurs due to async nature).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agocheck for valid comp_data before trying to use it.
Chris Michael [Mon, 23 Jun 2014 16:56:05 +0000 (12:56 -0400)]
check for valid comp_data before trying to use it.
Don't set pointer to 'k' in keydown event (we don't need it).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agounify surface parent setting code for use with wl_shell and xdg_shell.
Chris Michael [Mon, 23 Jun 2014 13:45:16 +0000 (09:45 -0400)]
unify surface parent setting code for use with wl_shell and xdg_shell.
When setting transient, tell the compositor that we need to reset the
window type for this surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoupdate some fixme/notes
Chris Michael [Mon, 23 Jun 2014 13:42:50 +0000 (09:42 -0400)]
update some fixme/notes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix building theme module with wayland-only
Chris Michael [Thu, 19 Jun 2014 18:57:38 +0000 (14:57 -0400)]
fix building theme module with wayland-only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoFix state of popup windows to skip taskbar, pager, etc, etc.
Chris Michael [Thu, 19 Jun 2014 18:56:58 +0000 (14:56 -0400)]
Fix state of popup windows to skip taskbar, pager, etc, etc.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agowl-desktop-shell: Unify popup_parent code and fix placement of popup
Chris Michael [Thu, 19 Jun 2014 18:55:53 +0000 (14:55 -0400)]
wl-desktop-shell: Unify popup_parent code and fix placement of popup
windows.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix compiler warning about unused variables when building for X11 or Wayland.
Chris Michael [Thu, 19 Jun 2014 13:46:54 +0000 (09:46 -0400)]
fix compiler warning about unused variables when building for X11 or Wayland.

NB: Each different build (x11/wl-only) had various unused variables.
This is a squash of the commits to fix all that.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix formatting
Chris Michael [Thu, 19 Jun 2014 13:31:07 +0000 (09:31 -0400)]
fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove debug/warning message
Chris Michael [Thu, 19 Jun 2014 00:43:32 +0000 (20:43 -0400)]
remove debug/warning message

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoe-comp-wl: Handle setting window parent for internal dialogs.
Chris Michael [Wed, 18 Jun 2014 18:49:55 +0000 (14:49 -0400)]
e-comp-wl: Handle setting window parent for internal dialogs.
Move parent->modal setting from the shell module to the compositor.
Support setting of various window types (dialogs, menus, etc).
Handle setting of internal properties (min size, max size, etc).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agowl-desktop-shell: Simplify transient_set functions and move the
Chris Michael [Wed, 18 Jun 2014 18:47:06 +0000 (14:47 -0400)]
wl-desktop-shell: Simplify transient_set functions and move the
client->parent->modal code to the compositor side.
Also, after setting netwm.type, change the set_win_type in the
compositor data field so that the compositor will handle parent->modal
on next property fetch.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove dead comments
Chris Michael [Wed, 18 Jun 2014 16:17:20 +0000 (12:17 -0400)]
remove dead comments

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoImplement focus_down_set function to grab mouse & wheel bindings.
Chris Michael [Tue, 17 Jun 2014 18:36:48 +0000 (14:36 -0400)]
Implement focus_down_set function to grab mouse & wheel bindings.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoImplement focus_check function and call on delete_request.
Chris Michael [Tue, 17 Jun 2014 18:12:31 +0000 (14:12 -0400)]
Implement focus_check function and call on delete_request.
Don't try to ping clients that we are forceably killing.
Implement e_grabinput calls during focus_set.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoFix defines for building with wayland-only or wayland-client support.
Chris Michael [Tue, 17 Jun 2014 17:13:07 +0000 (13:13 -0400)]
Fix defines for building with wayland-only or wayland-client support.

NB: This fixes internal dialogs not having frames

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoRelease array of keyboard keys when we shutdown input
Chris Michael [Tue, 17 Jun 2014 16:52:05 +0000 (12:52 -0400)]
Release array of keyboard keys when we shutdown input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoImplement client stacking.
Chris Michael [Tue, 17 Jun 2014 16:50:48 +0000 (12:50 -0400)]
Implement client stacking.
Ungrab mouse & wheel bindings when we delete the client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
remove client stacking code (apparently handled in e_client already)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix define check for wayland client uuid store
Chris Michael [Sun, 15 Jun 2014 20:15:16 +0000 (16:15 -0400)]
fix define check for wayland client uuid store

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoImplement setting of client priority during focus events.
Chris Michael [Fri, 13 Jun 2014 18:52:00 +0000 (14:52 -0400)]
Implement setting of client priority during focus events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix formatting
Chris Michael [Fri, 13 Jun 2014 12:27:33 +0000 (08:27 -0400)]
fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoResize input/damage/opaque pending tilers when client is resized
MinJeong Kim [Fri, 13 Jun 2014 12:29:02 +0000 (08:29 -0400)]
Resize input/damage/opaque pending tilers when client is resized

Summary: When the client resized, it need to resize tilers for surface region also.

Reviewers: devilhorns, zmike, raster, gwanglim

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1020

10 years agoremove debug noise
Chris Michael [Fri, 13 Jun 2014 12:25:10 +0000 (08:25 -0400)]
remove debug noise

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd support for xdg_shell surface transient_for
Gwanglim Lee [Fri, 13 Jun 2014 12:24:27 +0000 (08:24 -0400)]
add support for xdg_shell surface transient_for

Summary: add support for xdg_shell surface transient_for

Test Plan:
1. run e wayland server
2. run weston-stacking and set focus it
3. press 't' for creating transient_for surface

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1016

@feature

10 years agoadd client property event into wayland eval fetch handler
Gwanglim Lee [Fri, 13 Jun 2014 12:18:22 +0000 (08:18 -0400)]
add client property event into wayland eval fetch handler

Summary: add client property event for wayland client

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1015

10 years agouse calloc to allocate memory of E_Comp_Wl_Buffer which is set to zero, instead of...
Seunghun Lee [Thu, 12 Jun 2014 13:09:41 +0000 (09:09 -0400)]
use calloc to allocate memory of E_Comp_Wl_Buffer which is set to zero, instead of malloc.

Summary: E_Comp_Wl_Buffer's busy value should be updated after initialization as zero.

Reviewers: devilhorns, zmike, raster

Reviewed By: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1011

10 years agouse eina_hash_int64_new to create hash table "clients_win_hash" in case wayland,...
Seunghun Lee [Thu, 12 Jun 2014 13:07:21 +0000 (09:07 -0400)]
use eina_hash_int64_new to create hash table "clients_win_hash" in case wayland, instead of eina_hash_int32_new.

Summary:
since the data as a key of hash is 64bit integers, clients_win_hash should be created to int64.
if not, loss of data can occur when add or delete data from hash table.

Test Plan:
(1) run any application. (added ec to hash table)
(2) close the application. (try to delete ec from hash table, but couldn't)
(3) after that, if _e_comp_wl_cb_render_post is called, since refer to ec which was already freed, enlightenment had been crashed.

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1006

10 years agofix geometry restore for maximized and fullscreen windows
Gwanglim Lee [Tue, 10 Jun 2014 20:52:22 +0000 (16:52 -0400)]
fix geometry restore for maximized and fullscreen windows

Summary:
there are no geometry restore codes in handler of
wl_shell_surface toplevel_set.

Test Plan:
1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl)
2. run terminology
3. make terminlogy surface to be maximized
4. make terminlogy surface to be un-maximized
5. move terminlogy surface

Reviewers: devilhorns, zmike, raster, stefan_schmidt

CC: cedric
Differential Revision: https://phab.enlightenment.org/D965

10 years agocleanup unused code
Chris Michael [Tue, 10 Jun 2014 20:49:18 +0000 (16:49 -0400)]
cleanup unused code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoSwitch Wayland Compositor to use Eina_Tiler for damages, opaque, input, etc.
Chris Michael [Tue, 10 Jun 2014 20:43:18 +0000 (16:43 -0400)]
Switch Wayland Compositor to use Eina_Tiler for damages, opaque, input, etc.

Add code to hold references to 'buffers'.
 - Release 'buffers' After they have been rendered by the compositor.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoAdd structures for a buffer and reference to a buffer.
Chris Michael [Tue, 10 Jun 2014 20:42:16 +0000 (16:42 -0400)]
Add structures for a buffer and reference to a buffer.
Switch client_data structure to use eina_tiler for input, opaque,
damage regions.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix botched 'git merge' from desktop_window_profile patch
Chris Michael [Tue, 10 Jun 2014 20:36:49 +0000 (16:36 -0400)]
fix botched 'git merge' from desktop_window_profile patch

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix up formatting of gwanglim's D966 patch
Chris Michael [Mon, 9 Jun 2014 17:49:09 +0000 (13:49 -0400)]
fix up formatting of gwanglim's D966 patch

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd fullscreen_set handler for wl_shell_surface
Gwanglim Lee [Mon, 9 Jun 2014 17:48:22 +0000 (13:48 -0400)]
add fullscreen_set handler for wl_shell_surface

Summary: fullscreen_set handler for wl_shell_surface

Test Plan:
1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl)
2. run elementary_test -to "window states"
3. select fullscreen check box on elementary_test surface

Reviewers: devilhorns, zmike, raster, stefan_schmidt

Reviewed By: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D966

10 years agoresource parameter is used in _e_shell_surface_cb_move
Gwanglim Lee [Mon, 9 Jun 2014 17:43:34 +0000 (13:43 -0400)]
resource parameter is used in _e_shell_surface_cb_move

Summary: remove EINA_UNUSED of resource parameter in _e_shell_surface_cb_move

Test Plan: N/A

Reviewers: devilhorns, zmike, raster, stefan_schmidt

CC: cedric
Differential Revision: https://phab.enlightenment.org/D967

10 years agofix potential crash with e_comp_get.
Chris Michael [Fri, 6 Jun 2014 19:11:04 +0000 (15:11 -0400)]
fix potential crash with e_comp_get.

e_manager_current_get Can return NULL so we should check that.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agocleanup e_pixmap code (remove debugging statements)
Chris Michael [Thu, 5 Jun 2014 16:42:33 +0000 (12:42 -0400)]
cleanup e_pixmap code (remove debugging statements)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd support for wl_shell surface move & resize
Chris Michael [Thu, 5 Jun 2014 16:39:27 +0000 (12:39 -0400)]
add support for wl_shell surface move & resize

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoset client shape rectangle properly based on input area
Chris Michael [Thu, 5 Jun 2014 16:12:50 +0000 (12:12 -0400)]
set client shape rectangle properly based on input area
 - fix wl client crashses (patch from gwanglim)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix building for wayland-only when --enable-wayland-clients is not
Chris Michael [Thu, 5 Jun 2014 15:27:16 +0000 (11:27 -0400)]
fix building for wayland-only when --enable-wayland-clients is not
specified

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove unncessary variable
Chris Michael [Thu, 5 Jun 2014 15:13:04 +0000 (11:13 -0400)]
remove unncessary variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoonly declare certain variables if we are building for X
Chris Michael [Thu, 5 Jun 2014 15:12:00 +0000 (11:12 -0400)]
only declare certain variables if we are building for X

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix include of comp_wl header to work with wayland_only option
Chris Michael [Thu, 5 Jun 2014 15:09:34 +0000 (11:09 -0400)]
fix include of comp_wl header to work with wayland_only option

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd missing EINA_UNUSED
Chris Michael [Tue, 3 Jun 2014 20:15:52 +0000 (16:15 -0400)]
add missing EINA_UNUSED

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadd checks for pixmap type being X before accessing the image (for
Chris Michael [Sat, 24 May 2014 23:45:35 +0000 (00:45 +0100)]
add checks for pixmap type being X before accessing the image (for
cases where we are running wayland clients)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoadded missing libuuid pkg name for wayland option
Gwanglim Lee [Fri, 23 May 2014 05:44:15 +0000 (07:44 +0200)]
added missing libuuid pkg name for wayland option

Summary: added missing libuuid pkg name to configure.ac

Test Plan: autogen.sh --enable-wayland-clients

Reviewers: devilhorns, zmike, raster, stefan_schmidt

Reviewed By: stefan_schmidt

CC: cedric, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D883

10 years agoupdate various files for compositor structure changes
Chris Michael [Thu, 15 May 2014 09:53:46 +0000 (10:53 +0100)]
update various files for compositor structure changes
  - X compositor
  - shell module
  - drm module
  - x11 module

10 years agofix e_pixmap for compositor structure change.
Chris Michael [Mon, 21 Jul 2014 13:15:44 +0000 (09:15 -0400)]
fix e_pixmap for compositor structure change.
remove memcpy of wl_buffer data.

NB: This Is REALLY not needed in ANY compositor !!!
NB: This DOES cause lots of current Failures within the existing X Compositor ... ie: Wayland Clients inside X do NOT work at this point :(

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoupdate X compositor code for structure rename
Chris Michael [Thu, 15 May 2014 09:48:50 +0000 (10:48 +0100)]
update X compositor code for structure rename

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoSeveral fixes for Wayland Compositor:
Chris Michael [Thu, 15 May 2014 09:46:16 +0000 (10:46 +0100)]
Several fixes for Wayland Compositor:
  - post a wl_buffer release After rendering is completed.
  - change code to follow compositor structure name
  - when creating compositor (inside X), set input keymap
  - don't set "reparent" for all new clients

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix e_client sructure for running wayland client applications inside X.
Chris Michael [Thu, 15 May 2014 09:41:09 +0000 (10:41 +0100)]
fix e_client sructure for running wayland client applications inside X.
update compositor structure for ability to run X and Wayland Clients.
update wayland compositor data & input file(s) for data structure rename.

NB: Both the X compositor and the Wayland compositor have different
"client data" to store, so e_client structure needs different fields

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agomake keymap match what drm uses by default
Chris Michael [Mon, 12 May 2014 13:07:06 +0000 (14:07 +0100)]
make keymap match what drm uses by default

NB: this is all in the process of getting fixed...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agodon't need to e_pixmap_ref here.
Chris Michael [Mon, 12 May 2014 13:06:24 +0000 (14:06 +0100)]
don't need to e_pixmap_ref here.
fix wayland client application resizing.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoset delete_request for internal e_clients and add giant FIXME note for
Chris Michael [Mon, 12 May 2014 13:05:29 +0000 (14:05 +0100)]
set delete_request for internal e_clients and add giant FIXME note for
internal windows

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix destroying pointer & keyboard resources on shutdown
Chris Michael [Mon, 12 May 2014 13:04:01 +0000 (14:04 +0100)]
fix destroying pointer & keyboard resources on shutdown

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agocheck for existing pixmap when showing a window so we don't create a
Chris Michael [Mon, 12 May 2014 13:00:14 +0000 (14:00 +0100)]
check for existing pixmap when showing a window so we don't create a
new pixmap if we don't need to.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoupdate wl_desktop_shell module
Chris Michael [Fri, 9 May 2014 09:56:05 +0000 (10:56 +0100)]
update wl_desktop_shell module
 - Add support for xdg_shell
 - rework to function with new wayland compositor

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoupdate wl_x11 and wl_desktop_shell for new compositor
Chris Michael [Fri, 9 May 2014 09:53:53 +0000 (10:53 +0100)]
update wl_x11 and wl_desktop_shell for new compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agorewrite wayland compositor:
Chris Michael [Fri, 9 May 2014 09:51:08 +0000 (10:51 +0100)]
rewrite wayland compositor:
 - reduce memory usage
 - remove duplicated pixmaps
 - remove duplicated pointer images

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove EINA_UNUSED for parameter that is actually used
Chris Michael [Fri, 9 May 2014 09:46:05 +0000 (10:46 +0100)]
remove EINA_UNUSED for parameter that is actually used

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoAdd wayland compositor data & input files to build order
Chris Michael [Fri, 9 May 2014 09:28:47 +0000 (10:28 +0100)]
Add wayland compositor data & input files to build order

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agorewrite e_pixmap code:
Chris Michael [Wed, 23 Apr 2014 10:17:39 +0000 (11:17 +0100)]
rewrite e_pixmap code:
 - reduce variable usage for non-x
  - remove need to memcpy wayland buffer image data
  - add function for setting pixmap buffer resource
  - add shm_buffer access calls around getting wl_buffer data

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Additional authors: zmike

10 years agofix unused variables if building for wayland only
Chris Michael [Wed, 23 Apr 2014 10:16:01 +0000 (11:16 +0100)]
fix unused variables if building for wayland only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove pixman dependency
Chris Michael [Tue, 15 Apr 2014 06:00:46 +0000 (07:00 +0100)]
remove pixman dependency

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoremove old wayland compositor and old shell files
Chris Michael [Thu, 3 Apr 2014 12:18:48 +0000 (13:18 +0100)]
remove old wayland compositor and old shell files

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agofix post-effect stacking BITCH and post-effect transient stacking
Mike Blumenkrantz [Tue, 26 Aug 2014 13:45:04 +0000 (09:45 -0400)]
fix post-effect stacking BITCH and post-effect transient stacking

10 years agofix internal transient clients
Mike Blumenkrantz [Tue, 26 Aug 2014 04:27:08 +0000 (00:27 -0400)]
fix internal transient clients

10 years agotransient client windows - improve behavior
Carsten Haitzler (Rasterman) [Mon, 25 Aug 2014 11:56:08 +0000 (20:56 +0900)]
transient client windows - improve behavior

* if unplaced, place centered on transient-for on initial placement
  rather that screen centered
* if transient.move and transient.resize options follow options are on
  make transients floow as intended

10 years agouse comp object api function for shape cutting to prevent mirrors from getting shapes cut
Mike Blumenkrantz [Fri, 22 Aug 2014 22:13:26 +0000 (18:13 -0400)]
use comp object api function for shape cutting to prevent mirrors from getting shapes cut

10 years agoupdate README.wayland with some notes & fixes
Chris Michael [Fri, 22 Aug 2014 14:28:50 +0000 (10:28 -0400)]
update README.wayland with some notes & fixes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoredo/simplify PRESENT usage in compositor to no longer use PRESENT
Mike Blumenkrantz [Fri, 22 Aug 2014 13:52:42 +0000 (09:52 -0400)]
redo/simplify PRESENT usage in compositor to no longer use PRESENT

keith said no

10 years agoconf_intl: Fix disbling of language list box and configure button
Chris Michael [Thu, 21 Aug 2014 18:07:40 +0000 (14:07 -0400)]
conf_intl: Fix disbling of language list box and configure button

This fixes ticket T1526 - Selecting no input method would still allow
the configure button to be pressed, and items selected from the
language list.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoteamwork: pause media on closing
Wonguk Jeong [Thu, 21 Aug 2014 16:51:32 +0000 (18:51 +0200)]
teamwork: pause media on closing

Due to stupid_obj_del_workaround_hack, sound comes out during 3sec
even if media has been disappeared. Although the 3sec workaround should be gone,
pause media on close to fix the side effect.

10 years agofix ibox eo errors
Mike Blumenkrantz [Wed, 20 Aug 2014 22:05:34 +0000 (18:05 -0400)]
fix ibox eo errors

10 years agofix ibox eo errors
Mike Blumenkrantz [Thu, 10 Apr 2014 23:06:04 +0000 (19:06 -0400)]
fix ibox eo errors

10 years agoTiling: Fix applying tiling on enable with a new config.
Tom Hacohen [Wed, 20 Aug 2014 10:00:34 +0000 (11:00 +0100)]
Tiling: Fix applying tiling on enable with a new config.

Tiling wasn't being applied when enabling it with a new config because
we were comparing with the old config instead of just always applying.

This fixes T974.

10 years agoproperly return done in tw download cbs
Mike Blumenkrantz [Tue, 19 Aug 2014 10:13:00 +0000 (06:13 -0400)]
properly return done in tw download cbs