Minsu Han [Mon, 26 Jun 2017 08:11:08 +0000 (17:11 +0900)]
e_comp_object: fix screen rotation issue.
if there's screen rotation with comp mode, then ec->effect_obj and
ec->obj should rotate. if not, in evas_map, update region is clipped.
Change-Id: I243c73ee6bbecd1dea4edbf4204f51fe2b5342e8
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
Signed-off-by: Boram Park <boram1288.park@samsung.com>
Boram Park [Fri, 23 Jun 2017 08:05:27 +0000 (17:05 +0900)]
e_comp_object: print debug log when evas map applied
Change-Id: Iaee827729ea8814007a39b74edfdd615d4272586
Boram Park [Thu, 15 Jun 2017 04:46:51 +0000 (13:46 +0900)]
e_comp_wl: adding window rotation information to surface's buffer transform
To show a client buffer via a HW overlay, the client buffer status is exactly
same with WR 90(Window Rotation 90) and SR 90(Screen Rotation). So it's
reasonable that the surface's buffer transform contains the information how
a client draws objects on an attached buffer regarding window rotation.
Then, we have to distinguish the window rotation and screen rotation information
from the surface's buffer transform in server side.
Change-Id: I34128a6c192fcb4fb8527f9f1fb1984a5950bc4d
Boram Park [Thu, 22 Jun 2017 05:33:22 +0000 (14:33 +0900)]
e_comp: check the buffer minimum size
Change-Id: Ic39181c17b1b1d3b3f28424890b4265adca771a0
Gwanglim Lee [Thu, 29 Jun 2017 08:23:41 +0000 (17:23 +0900)]
remote_surface: added window types to exception list for capture image of window.
Change-Id: Ia9feaa672b6a371d8bc40ef080ce79e806ac81ad
Sangjin Lee [Sat, 24 Jun 2017 00:05:03 +0000 (09:05 +0900)]
e_comp_rsm: add buffer_mode on release
this patch allows select the buffer flush mode for remote_surface
- free_on_release : the buffer will be freed when every release event. so remote_surface
have only one buffer.
- free_on_hide : If the provider was hide, it has only one buffer.
Change-Id: I4af9175a38062db6d604692585bf23d918dcc6ae
Konstantin Drabeniuk [Tue, 13 Jun 2017 08:31:45 +0000 (11:31 +0300)]
e_info: add the scale factor option for enlightenment_info -dump_buffers
Change-Id: I2092dca095b1a2652de9775c7b3bf36a6754cd66
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
SooChan Lim [Tue, 27 Jun 2017 23:00:54 +0000 (08:00 +0900)]
e_plane: add skip_surface_set
When the skip_surface_set is true,
e20 does not set/unset the tsurface to the layer.
Do not call the tdm functions below.
- tdm_layer_set_info
- the tdm_layer_set_buffer
- tdm_layer_unset_buffer
Change-Id: I7b6ba55e4c561e065a8857f3ff14ba004bc1f7e1
Doyoun Kang [Wed, 21 Jun 2017 09:56:35 +0000 (18:56 +0900)]
e_client/e_comp: add new layer for CURSOR
Change-Id: I659db8f88bcc3220553486825abe59e3d7ef2721
Gwanglim Lee [Tue, 27 Jun 2017 15:18:00 +0000 (00:18 +0900)]
remote_surface: added hold_prev_win_img configuration value to keep saved image files.
the default value is disabled, so if you don't change this value, the E always removes
old image files.
Change-Id: Idaef88dbfa137e37f045cdcfbccdacce87cd4e90
Gwanglim Lee [Tue, 27 Jun 2017 15:03:53 +0000 (00:03 +0900)]
remote_surface: changed image file path to include pid and rid.
Change-Id: Ifa2d45ac4f7b5a7a07179b739a38a58edeaa639d
Gwanglim Lee [Tue, 27 Jun 2017 14:57:59 +0000 (23:57 +0900)]
remote_surface: fixed unexpected cancellation issue when saving image file.
changed to retry a thread job for saving image file after updating the window buffer.
Change-Id: Ib6e65669849db484d2ad94db615b4855d300f748
Doyoun Kang [Tue, 27 Jun 2017 08:00:15 +0000 (17:00 +0900)]
policy: add transient below feature
Change-Id: Ia90d25af2b149c08513b8a75857493e06ad2574d
SooChan Lim [Tue, 27 Jun 2017 22:47:55 +0000 (07:47 +0900)]
e_plane: make some static functions
make two static functions.
1. _e_plane_tlayer_info_set
2. _e_plane_aligned_width_get
Change-Id: I30ba0f97eed538eb4bb25fa68973fcfed571531f
SooChan Lim [Mon, 26 Jun 2017 08:27:49 +0000 (17:27 +0900)]
e_plane: rename the member variable.
pending_commit --> wait_commit
pending_commit_data_list --> commit_data_list
Change-Id: I10dd28ba1c9620cedd5607b70d5186868586cfc5
Doyoun Kang [Tue, 27 Jun 2017 00:47:32 +0000 (09:47 +0900)]
deiconify_approve: check transient child while finding above window when the win is lowered/iconified
When an app requested to lower/iconify window, we check its above window.
If above window was full size non-alpha window, then we didn't operate the deiconify_approve functionality.
But there was no code to check whether the above window was child of the window or not.
If the above window is child window, then we skip it.
Change-Id: I9f78b8e453ba1a937ca650ba02344c9c6327d45c
Doyoun Kang [Mon, 26 Jun 2017 10:43:03 +0000 (19:43 +0900)]
deiconify_approve: change code for activating window
We changed code to call e_policy_visibility_client_uniconify() instead of
e_policy_visibility_client_activate() for children window.
Change-Id: If744603c7a6d8655314e23dd85d8bbecaea3c7cb
Doyoun Kang [Mon, 26 Jun 2017 10:33:35 +0000 (19:33 +0900)]
deiconify_approve: remove unnecessary code for iconifying/lowering window
There is no need to add children window to the deiconifying job list.
We just add the parent window to the job list.
Change-Id: Ie9783b51582e8cf3a93e088ca005a5cd248ab31a
SooChan Lim [Mon, 26 Jun 2017 06:38:58 +0000 (15:38 +0900)]
e_plane: do not return at gl_drm_tbm engine
Change-Id: I9ec904c113761b68f378abf07f494ca3879351db
SooChan Lim [Fri, 23 Jun 2017 12:49:32 +0000 (21:49 +0900)]
e_plane: refine the e_plane_commit_aquire code.
Change-Id: I0b3ce9f7062d59b2569f8dc72af22e7354bedd75
Changyeon Lee [Thu, 22 Jun 2017 08:53:05 +0000 (17:53 +0900)]
e_plane: set redireted/unredirect when ec is set/unset to plane.
if ec is already unredirected before plane set ec, e_plane_renderer don't
force update when create backup buffer.
Change-Id: Icd2bdf983fdddba18e5021a141ef7b1036b6d044
Changyeon Lee [Fri, 23 Jun 2017 03:45:17 +0000 (12:45 +0900)]
e_plane: released fetched tbm_surface to queue when unfetch plane
Change-Id: I6d42579d25fb4247e0062a9525f04274da134612
Changyeon Lee [Tue, 20 Jun 2017 11:55:41 +0000 (20:55 +0900)]
e_output: added e_output_plane_get_by_zpos
Change-Id: Ibaac3641f7c31213705ae4d50df4f8d74359ee0e
Changyeon Lee [Tue, 20 Jun 2017 11:54:08 +0000 (20:54 +0900)]
e_output: added e_output_find_by_index
Change-Id: I685df2969746160c67298d4ab5dd9b4e39b13eb2
Changyeon Lee [Tue, 20 Jun 2017 11:40:03 +0000 (20:40 +0900)]
e_output: added e_output_is_fb_full_compositing
Change-Id: I7555c60e664d5162a0911348225cef274ff1f3c9
Changyeon Lee [Tue, 20 Jun 2017 05:35:16 +0000 (14:35 +0900)]
e_plane_renderer: added e_plane_renderer_ecore_evas_force_render
Change-Id: I6a28afc01ebe4afbd69948a6904653a2214e5e0c
Changyeon Lee [Tue, 20 Jun 2017 05:12:30 +0000 (14:12 +0900)]
e_plane_renderer: send activate event after export buffer
Change-Id: Ie9f17eb5cfa10bcbde9ac1619d4b3d6f358f76db
SooChan Lim [Mon, 19 Jun 2017 11:09:08 +0000 (20:09 +0900)]
e_output: refactor the synchronous unset of the plane.
The plane is set to be null at the e_plane_ec_set(plane, NULL);
To set null to a plane means two things.
1. If the plane is fb target, the plane uses the ecore_evas.
2. If the plane is not fb target, the plane needs to unset
at the time that the result of the ecore_evas renderer(compositing)
is finished with the tsurface(ec) of the plane. For this,
we set the unset_candidate flags to the plane and measure to unset
the plane at the e_output_commit.
Change-Id: I6f91a143a0f30727d6284063063505c9ad3773f1
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
Boram Park [Thu, 22 Jun 2017 01:39:48 +0000 (10:39 +0900)]
e_info: use _util_string_to_int_token to parse punch's args
Change-Id: I43d6e4d05216c126dc85e2f3f4f14cc99af98f6f
Boram Park [Wed, 21 Jun 2017 01:34:51 +0000 (10:34 +0900)]
e_info: use strtol to check args for punch option
Change-Id: I516f1faee197a4fbb796b39e68d0196a4d94d34b
Boram Park [Mon, 19 Jun 2017 00:32:02 +0000 (09:32 +0900)]
e_comp_wl: close fd if it's allocated newly
Change-Id: Id80f461dec2ef71075a427fbe80c8573f9e7e5fe
Changyeon Lee [Tue, 13 Jun 2017 07:21:45 +0000 (16:21 +0900)]
e_plane: enhance commit data release logic
- ec and renderer set to display info and commit_data
- tsurface of display_info release to renderer of display_info
- reset renderer of commit_data and dispalay_info when renderer is deleted
Change-Id: I835be5bfd6363fa2c6da60965441a4e998b25e26
Changyeon Lee [Mon, 12 Jun 2017 05:33:36 +0000 (14:33 +0900)]
e_plane: wrap member of display information to struct
added current displaying ec and renderer to display info.
Change-Id: I36878c7772a5f0053ba7254fc5354ca0f81871f5
Changyeon Lee [Mon, 12 Jun 2017 05:00:53 +0000 (14:00 +0900)]
e_plane: remove unnecessary static function
Change-Id: I548fce392a5f5678971b7bfb5e29d2f8e919ff3d
Changyeon Lee [Mon, 12 Jun 2017 04:33:57 +0000 (13:33 +0900)]
e_plane: clear info of plane when unset surface
Change-Id: I90ff735bcc281e761da7d7c50bac8c2724113555
Changyeon Lee [Mon, 12 Jun 2017 04:24:10 +0000 (13:24 +0900)]
e_plane: enhance trace_debug log
Change-Id: I09cb6886729b7b06f4f069f3651a90205460fab7
SooChan Lim [Thu, 15 Jun 2017 04:31:50 +0000 (13:31 +0900)]
e_plane: add pending_commit_data at e_plane_commit_data_aquire to the list
add commit_date to the pending list at e_plane_commit_data_aquire
remove commit_data from the pending list at the e_plane_commit_data_release
Change-Id: I85bd8aff2f83139b6ac627c60f3333540679eeed
Juyeon Lee [Wed, 14 Jun 2017 08:01:53 +0000 (17:01 +0900)]
e_info_client: fix bug on strncmp arguemnts
Change-Id: Ibdc54bb8f149f8a598263a78f952304f7ef8814d
Juyeon Lee [Wed, 14 Jun 2017 08:00:38 +0000 (17:00 +0900)]
e_comp_wl_rsm: fix memory leak
Change-Id: Ibe88b5ca3f016b8ec77d72f2896693932afbeeb0
Changyeon Lee [Wed, 14 Jun 2017 13:50:53 +0000 (22:50 +0900)]
e_plane: create renderer after hwc_enable is set true
- e20 sholud render after hwc_enalbe of engine_info is set true
because e20 doens't want to use gbm_surface in evas engine.
manual_render is called in e_plane_renderer_new fuction.
Change-Id: I37a99dc0c96be63df274de9581b8fdc9ec4e192b
Juyeon Lee [Tue, 13 Jun 2017 07:52:55 +0000 (16:52 +0900)]
e_policy_wl: fix svace leak
Change-Id: Ia8a5f9b88a913bdce40f2420d86d1844047a3591
Juyeon Lee [Thu, 8 Jun 2017 11:22:28 +0000 (20:22 +0900)]
spec: use openmp if arm arch
Change-Id: I2196de882ca7e2f6757a9e9689d85064047088db
Boram Park [Sat, 10 Jun 2017 23:53:20 +0000 (08:53 +0900)]
e_comp_wl: add a video global variable to E_Comp_Wl_Data
Change-Id: I060cd7a17c857884f24499d8d357a75be06b87b1
Boram Park [Fri, 9 Jun 2017 10:37:11 +0000 (19:37 +0900)]
e_comp_wl: use the common structure for provider and surface
Change-Id: Iae71f47ee0864c073dad4c3b935048d71b9e8e52
Boram Park [Fri, 9 Jun 2017 08:12:20 +0000 (17:12 +0900)]
e_comp_wl_rsm: prepare hwc whenever buffer changed
Change-Id: Ib87413db5d5e60bd35819451ba8664214d101ace
Boram Park [Fri, 9 Jun 2017 07:08:15 +0000 (16:08 +0900)]
e_comp_object: reset and move the position of an object
Even cw->x and cw->y are already set to -99999 value, if new value is same
with old value, cw->x and cw->y can't be changed by evas_object_move().
So only when the new position is different with old value, we reset and
move the position of an object.
Change-Id: I0dbab086cae9013ccbcb1e0595ba0d8aa61f1d5b
Boram Park [Thu, 8 Jun 2017 12:17:25 +0000 (21:17 +0900)]
e_comp_wl_rsm: sending an ignore_output_transform event
We send an ignore_output_transform(false) event if below conditions are true
- if remote_surface's count is 1 and it's binded to a onscreen surface
- if remote_surface's count is 1 and it's onscreen surface.
Otherwise, we send an ignore_output_transform(true) event.
Change-Id: I989dbdbc2d5543b0861fd18bd13e6672a0d63aa6
SooChan Lim [Fri, 9 Jun 2017 07:50:44 +0000 (16:50 +0900)]
e_plane: clear the pixmap of the ec at e_plane_commit
move the e_pixmap_image_clear from e_plane_commit_data_aquire
to e_plane_commit when the comp is nocomp mode.
Change-Id: I1c0840744182bb753911bf6f2ceccd39b5c6d291
SooChan Lim [Fri, 9 Jun 2017 07:55:08 +0000 (16:55 +0900)]
e_comp: add e_comp_hwc_multi_plane_set
Change-Id: I3878801dcdbc7e86ca48130cbd5ba69acf2409bb
SooChan Lim [Fri, 9 Jun 2017 07:28:36 +0000 (16:28 +0900)]
e_comp: use hwc_use_multi_plane at e_comp
use hwc_use_multi_plane at e_comp
instead of using hwc_use_multi_plane at conf
Change-Id: I9751c055ce8949498091c68de48a26398d41447e
SooChan Lim [Fri, 9 Jun 2017 07:15:21 +0000 (16:15 +0900)]
e_comp_screen: add e_comp_screen_pp_support
Change-Id: I86006deec8c6f1d9cacdb4150fca5b7fe96bc467
JengHyun Kang [Mon, 12 Jun 2017 04:16:41 +0000 (13:16 +0900)]
e_info: add cleanup function for module_hook
Change-Id: I3d2540cc97eabab1b64f044819374c16d53ed7e7
Sangjin Lee [Mon, 5 Jun 2017 08:04:04 +0000 (17:04 +0900)]
e_pixmap: change e_pixmap_buffer_clear
For remove just free buffer, add the function parameter.
the only_free param has meaning that only free_buffer on client side shoud be removed.
For this operation, tizen_surface_shm_flusher is added the protocol and version up to 2.
The first usage is quickpanel. For reduse idle memory, quickpaenl has just on active buffer.
so quick-panel service call e_pixmap_buffer_clear() function with only_free value.
Change-Id: I0979552e8dc724bc48603a3c94d2be9eeda1f3f9
Sangjin Lee [Tue, 30 May 2017 05:02:27 +0000 (14:02 +0900)]
e_comp: change to use gl_drm_tbm.
Basically ecore_gl_drm support two mode. one is gl_drm and unother is gl_tbm.
In gl_tbm evas engine, it use offscreen GL engine(tbm_surface_queue).
To seperate the render engine and present to lcd, we should use tbm base evas_engine.
Change-Id: I4af327a2ed5fd1e350b18685d8df3a2f3b1fae44
SooChan Lim [Thu, 1 Jun 2017 23:28:53 +0000 (08:28 +0900)]
e_comp_wl: change the buffer type into E_COMP_WL_BUFFER_TYPE_TBM
All committed buffer type of the E_Comp_Wl_buffer was E_COMP_WL_BUFFER_TYPE_NATIVE.
Howerver, the enlightenment set the buffer type into E_COMP_WL_BUFFER_TYPE_TBM
instead E_COMP_WL_BUFFER_TYPE_NATIVE for the client buffers.
So enlightenment make the texture with the EVAS_NATIVE_SURFACE_TBM type of
the Evas_Native_Surface to set the buffer to the evas
through evas_object_image_native_surface_set function.
Change-Id: I49db960fbfabb4800c0054635f188d8097d810eb
SooChan Lim [Thu, 1 Jun 2017 08:55:19 +0000 (17:55 +0900)]
e_plane: fix the typo
Change-Id: Ice07c4643fe18e40a44ae0592d2c02966068871e
SooChan Lim [Thu, 1 Jun 2017 05:35:59 +0000 (14:35 +0900)]
e_comp_screen: initialize the ecore_evas engine with the size of the primary output.
1. use the only tdm for the e_comp_sreen_init. do not use ecore_drm.
When the enlightenment initialize the ecore_evas engine
with the proper size of the primary output, ecore_evas is created
with the output size. Therefore, there is no need to resize of the
ecore_evas at the initial time.
2. only ee engine which can get the tbm_surface_queue from.
Updating Screen is done by enlightenment with tdm. Therefore,
ee enging which can get the tbm_surface_queue from is
acceptable for intiailization of e20.
3. remove the ecore drm dependency code for the display.
Change-Id: I27dd5d9b01d78ae6f5e4b3e085504b31462dbfda
SooChan Lim [Thu, 1 Jun 2017 05:32:55 +0000 (14:32 +0900)]
e_comp_screen: add e_comp_screen_primary_output_get
The primary output is the most highest priority of e_output.
The lower index of the tdm_output gets the higher priority of e_output.
Change-Id: I71e726f9ec71d991d5bb541c3c3b82d2c3468df0
SooChan Lim [Thu, 1 Jun 2017 05:28:28 +0000 (14:28 +0900)]
e_output: add e_output_size_get
e_output_size_get function gets the size of the output.
Change-Id: Iaaef2b33d7f1f3c6ef74cdd4152828dd036611db
JengHyun Kang [Thu, 13 Apr 2017 09:35:22 +0000 (18:35 +0900)]
e_keyrouter: add keyrouter hook functions
Change-Id: I1f304082b6e5040fc934915736c0b42066491e6a
SooChan Lim [Fri, 2 Jun 2017 04:12:05 +0000 (13:12 +0900)]
Revert "Divide into engine init and drm engine init"
This reverts commit
efa165c02dc7b3196b042a03186f1a41d08b3ae5.
Change-Id: I3fa75de40f084f0cc122ed684900f6960e4732b3
Gwanglim Lee [Thu, 18 May 2017 05:24:58 +0000 (14:24 +0900)]
e_comp_wl_rsm: added checking privilege for the client which wants to be the remote
surface of normal UI client.
Change-Id: I8e03b70745acc8230374c0872d34142b67536613
JengHyun Kang [Thu, 1 Jun 2017 09:18:51 +0000 (18:18 +0900)]
e_info: change file permission to 644 from 755
Change-Id: Ibf5f755bb6d189c51b76a1136da72e1323ab5ca9
Gwanglim Lee [Thu, 1 Jun 2017 05:41:54 +0000 (14:41 +0900)]
e_comp_object: fixed a warning
Change-Id: I22f0c81f8c58e25f64dc62af8858c88394218dde
Minsu Han [Mon, 29 May 2017 23:39:28 +0000 (08:39 +0900)]
[e_info] add -topwins and -dump_selected_buffers
- topwins : show all windows list include visible and invisible.
- dump_selected_buffers : dump selected window's buffer. default path
is /tmp/blabla.png
Change-Id: I12ada4f17a03f21cd0ad6f2f31185ee23258f23f
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
Gwanglim Lee [Mon, 29 May 2017 11:24:55 +0000 (20:24 +0900)]
e_bindings: modified to use the up and down event structures correctly in each case.
Change-Id: I41f381d46163e6ecca0dae6ae44dd02ab803b85d
Gwanglim Lee [Mon, 22 May 2017 08:05:07 +0000 (17:05 +0900)]
e_comp_wl_rsm: added support for filtering by buffer type and getting current buffer
Change-Id: I3068c0b4640c5659ae8396a741674dbd33b726db
JengHyun Kang [Wed, 24 May 2017 01:09:26 +0000 (10:09 +0900)]
e_comp_wl: add a subclass to the E_Comp_Wl_Input_Device structure
Change-Id: I3eeb8fda9e0aad0a6dcb0a4aa07f6cde95951e74
Doyoun Kang [Thu, 1 Jun 2017 04:09:16 +0000 (13:09 +0900)]
launch_splash: add code to reset ec->use_splash value
there was no code to reset the ec's use_splash value. so we added it.
Change-Id: Id476d2f44fe6477e26a92abef116f97a46f30fbc
Doyoun Kang [Tue, 30 May 2017 07:51:19 +0000 (16:51 +0900)]
policy: apply deiconify_approve feature to the iconify request
Change-Id: If08d345d68214b7a816b42d1513d527e07ab67bd
SooChan Lim [Wed, 31 May 2017 01:05:17 +0000 (10:05 +0900)]
Divide into engine init and drm engine init
According to the HWC configuration, screen configuration
is set up by tdm or drm.
When hwc is on, screen initialization is done
at enlightenment with tdm.
When hwc is off, screen initiailzation is done
at drm or ecore_drm engine.
Change-Id: I560eff4810d7099025e96d5e0caa94a6c5431099
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
Sungbae Park [Tue, 30 May 2017 06:54:29 +0000 (15:54 +0900)]
e_pixmap : clear evas_image_data when destroy shared memory
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: I74e52d61e300cd141c9f3d2036edaebc6b1f69df
Changyeon Lee [Tue, 30 May 2017 04:27:03 +0000 (13:27 +0900)]
e_output: skip plane_fetch for unset if fb_target doesn't commit
Change-Id: Id3717038a9f22ffe1f9bcd9faa874e5fe3996295
Changyeon Lee [Mon, 15 May 2017 11:37:23 +0000 (20:37 +0900)]
e_plane_renderer: query queue size to tdm layer properties
Change-Id: I3fd3458a078edc4440977ab21d660ef904dc3a88
Junkyeong Kim [Mon, 29 May 2017 04:54:43 +0000 (13:54 +0900)]
e_info: initialize some variables
Change-Id: I792456689a9be356245352cffe5d0b2abb9b4f24
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
JengHyun Kang [Fri, 26 May 2017 08:13:34 +0000 (17:13 +0900)]
e_comp_wl_input: send seat capability only to the bind requesting client
Change-Id: Ib13cb4e6fcbdaed0fca128cfcee1e9aa55b29041
Sergey Sizonov [Tue, 25 Apr 2017 05:29:22 +0000 (08:29 +0300)]
[e_info] enhance the '-prop' option behavior
- [e_info] change the '-prop' option behavior (client side)
Changes to support single property getting and setting,
like xprop does, have been added on client side.
- [e-info] change the way we handle error cases (-prop opt.)
I think the server has to reply either an error message
or a reply message on a method call message, and a reply
message has to contain ONLY payload, no errors.
Also we have to close iterator before we return back
from a method call callback.
- [e_info] split the properties getting into separate functions
To make some property 'setable' I got to provide separate
function for them. I think it seems reasonable to split the
function responsible for getting properties too.
- [e_info] change the way we process an answer for '-prop' request
As a reply for '-prop' request now can consist of several lines,
we got to change how we process this reply.
- [e_info] remove inline keyword for _get_win_prop_xx functions
As these functions are called via pointers it's useless to have
them declared with inline keyword.
- [e_info] add touch capability for '-prop' option
Now a window can be specified by a touch alongside
id, pid or name.
- [e_info] add ability to set 'Geometry' property
- [e_info] improve otput readability for '-prop' option
- [e_info] add several _set_win_prop_xx functions
Add an ability to set these properties:
Window_Name, Role, Geometry, Layer, Visible,
Focused, Iconic, Sticky, Urgent, Fullscreen,
Redirected, Ignored.
Note, at this moment I have no enough knowledge to
make all propertis settable, if it's possible,
even more changes I've made got to be checked by
somebody who has such knowledge :-)
- [e_info] fix an issue with unclosed dbus message iterator
Change-Id: Id580761f9ea94a6f7db82e427bec9cd677e6de9b
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
Konstantin Drabeniuk [Thu, 4 May 2017 12:03:35 +0000 (15:03 +0300)]
[e_info] add the wininfo option
- [e_info] add the wininfo option
- [e_info] add "-help", "-children", "-tree", "-id" options for the wininfo
- [e_info] add "-int", "-name" and "-pid" options for the wininfo
- [e_info] add "-wm", "-size" and "-all" options for the wininfo
- [e_info] add "-shape" option for the wininfo
Change-Id: Ie722f782a9a3b29390e71a1c5a53f4be58deaf2f
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
Konstantin Drabeniuk [Wed, 12 Apr 2017 14:10:27 +0000 (17:10 +0300)]
[e_info] add the kill option
- [e_info] add the kill option
- [e_info] use the uint64_t type instead the int32_t for window id
We have some error when a window id exceeds INT_MAX, because
the Ecore_Window is the uintptr_t type and the window id the
int32_t type. I think we need use the uint64_t(for arm7l and arm64)
type instead the int32_t type for window id.
- [e_info] add the id suboption for the kill
- [e_info] add the name suboption for the kill
- [e_info] add the "-pid" and the "-all" suboptions for the kill
Change-Id: I304592eb6c1daf33e9203be1a15092d94b6f8006
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
MinJeong Kim [Thu, 18 May 2017 11:20:36 +0000 (20:20 +0900)]
remote_surface: added remote surface option to enlightenment_info
Change-Id: I9e128a5beb68393570e0c88d3773d4192426bfbd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Juyeon Lee [Thu, 25 May 2017 10:59:06 +0000 (19:59 +0900)]
e_client: add vkbd.floating not to add conformant_region
Change-Id: Ieb83a40377e5d61ad362803f792717efb74b3b2e
Dipen Somani [Thu, 18 May 2017 05:21:00 +0000 (10:51 +0530)]
e_info_server: Added a new hook
Change-Id: I82214877fbbea9a623b1aa46ec266191e8cbefb6
Signed-off-by: Dipen Somani <dipen.somani@samsung.com>
JengHyun Kang [Mon, 22 May 2017 12:20:48 +0000 (21:20 +0900)]
e_transform: Add a new API
- e_util_transform_matrix_inv_coords_get() is needed because
e_transform matrix result and Evas_Map result are different
Change-Id: Idc7bf07758992f3b9136c9c6aa14cd258e9d425b
Juyeon Lee [Tue, 23 May 2017 06:50:50 +0000 (15:50 +0900)]
e_info_server: change internal module hook api name
Change-Id: I3891db0375e3b781b7ca223b7d0731e25f44b515
Doyoun Kang [Tue, 23 May 2017 04:37:04 +0000 (13:37 +0900)]
e_policy_wl: add code to handle a role for cursor window
If the window's role is set to "wl_pointer-cursor", then e considers it to cursor window.
And e skips the cursor window while handling tizen splash image.
Change-Id: Ibde721aec6faa1e7f60610bc0dd39699aa1be35b
Juyeon Lee [Thu, 18 May 2017 14:18:10 +0000 (23:18 +0900)]
e_config: save and load config in user space
Load cfg data 1st from /var/lib/enlightenment/.e while e_config_init
If no data under the dir. let's copy it from the installed and re-load
If there is E_CONF_RO exported or failure again, than it falls back to load cfgs
from the system cfgs at /usr/share/enlightenment/data/config
Change-Id: If13b3d356cd12d8aeab99aab727185942ea3d9fa
Gwanglim Lee [Thu, 18 May 2017 05:16:34 +0000 (14:16 +0900)]
e_privilege: added E_PRIVILEGE_SYSTEM_INFO_READ for checking client whether it has system privilege.
Change-Id: If27a5682799c13af3b8c5a89db703342703ae199
Gwanglim Lee [Thu, 18 May 2017 04:55:23 +0000 (13:55 +0900)]
e_comp_wl_rsm: changed to use EINA_SAFETY for checking validation of tizen remote surface requests
Change-Id: I22eeb3b37460712162535ecd758a38326770cd3b
Boram Park [Thu, 18 May 2017 07:58:08 +0000 (16:58 +0900)]
e_plane: consider the output transform when showing a buffer to HW layer
if output is transformed, the position of a buffer on screen should be also
transformed.
Change-Id: I34be071ca58d8afb979db1f60454bcea822fe9a1
Boram Park [Thu, 18 May 2017 07:56:40 +0000 (16:56 +0900)]
e_comp: not enable hwc if client's buffer is not transformed
if the buffer transform of surface is not same with output's transform, we
can't show it to HW overlay directly.
Change-Id: I4c616c71b13af9b836f9a3b69f35940aa3df2d0e
ritesh.u [Mon, 15 May 2017 10:25:07 +0000 (15:55 +0530)]
e_compl_wl.c: Send pointer_leave event to all wl_pointer objects in a client
Change-Id: I26b204732c47165fcd0c08fe38fff5ce8ee2589d
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
Boram Park [Wed, 17 May 2017 08:32:59 +0000 (17:32 +0900)]
e_pixmap: checking if ec->comp_data is valid
Change-Id: I54f5ffa19adce8e0c013b787b85b35ceeeaac0a4
Boram Park [Wed, 17 May 2017 08:14:35 +0000 (17:14 +0900)]
e_comp_object: checking if ec->comp_data is valid
Change-Id: I6a991f0da608bdcfff52d644e3fdc2e96518b771
Doyoun Kang [Wed, 17 May 2017 04:59:04 +0000 (13:59 +0900)]
e_policy: Added interceptor for activate above/below
Change-Id: I0f840cc2a2816561ec98380fc8dc526f6abaace5
Junkyeong Kim [Fri, 12 May 2017 04:55:35 +0000 (13:55 +0900)]
e_output: return null if output disconnected in e_output_best_mode_find()
Change-Id: Ia24e3468f3810b66047616e5576c1eee3755292c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Gwanglim Lee [Mon, 15 May 2017 05:45:53 +0000 (14:45 +0900)]
e_security: changed log type to E_SECURITY from TZPOL
Change-Id: If0a18bc20500a7ab27eae1ad73861dc075a07241
Gwanglim Lee [Mon, 15 May 2017 05:43:12 +0000 (14:43 +0900)]
e_policy_wl: changed checking for privilege to use e_security
Change-Id: I497115aadb8e73075006609d9e8844f6b4e4d67b
Gwanglim Lee [Fri, 12 May 2017 05:19:48 +0000 (14:19 +0900)]
e_security: general utilization module related to the security system.
And it can be used to validate requests from clients.
e_privilege: a collection of privilege strings for maintaining.
Change-Id: Ie4a183ef605bfa9dd3810aa882182bfd9cc27439
Changyeon Lee [Mon, 8 May 2017 14:32:37 +0000 (23:32 +0900)]
e_plane_renderer: refresh cusor surface when cursor surface is null
Change-Id: Ie26edc4dbe344323a298a51f931f5684be174fd9
Changyeon Lee [Mon, 8 May 2017 14:28:16 +0000 (23:28 +0900)]
e_pointer: set true to hwc of ptr if ec is on overlay
Change-Id: I77e2b37bcf61be7be24118f3c653158e9e5a1f5d