summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/extn (follow)
AgeCommit message (Collapse)Author
2016-09-08evas_engines: Add fn_evas_changed callbackDerek Foreman
To allow using the pageflip completion event to drive timing in the DRM engine we need to know as soon as possible that a render has been after a render has been considered if it will cause a page flip or not. The fn_evas_changed callback sends this information.
2016-07-13ecore_evas_extn: Check whether server_data sender is client's server.Minkyoung Kim
Summary: Sometimes, In ipc_server_data, extn->ipc.server's data is different with e->server's data. The case is as follows. Process'A' has a server. Process'B' has 'A's client(ee address : 0xB0). Process'B's client die, and 'B's server created. and server's ee address is same with destroyed client's ee(0xB0). At the same time, 'A's server send the message to 'B's client. but 'B's client is died! so _ipc_server_data would manipulate 'B's server data. Test Plan: Tizen Mobile Text. Reviewers: raster, spacegrapher, jpeg, wonsik, dkdk Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4158
2016-02-03Evas engines: Add missing initializers in Ecore_Evas_Engine_FuncJean-Philippe Andre
2016-02-02ecore_evas: introduce support for per window animator trigger.Cedric BAIL
This code is currently only using the older fallback code and not any new event source, so all animator on all window are still triggered whatever the case are.
2016-01-25ecore_evas_extn: Add safety checks, fixing a crash in elm_testJean-Philippe Andre
See T2835 (my crash was different from the one reported). The buffer may be initialized after the first render_pre, due to whatever timing issue. Check in elm_test "Window Socket" and then open several "Window Plug". @fix
2015-12-05efl: add binary mode to open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02ecore_evas: fix disappearing socket imagejiin.moon
Summary: In case there is connection between a server and some client, show/hide does not work properly. If there are clients need to show, this patch make it hide operation will not work even if get the hide signal @fix Reviewers: jypark, Hermet, cedric Subscribers: Hermet, cedric Differential Revision: https://phab.enlightenment.org/D2962 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-23ecore_evas_extn: remove old buffer in evas render post function.Ji-Youn Park
Before, ipc_server_data(fd handler callback) is not runned between evas_render_pre callback and evas_render_post callback. but after async mode, hd handler can be called between render_pre and render_post. we should remove buffer which can be used render thread, after render finished
2015-09-08ecore_evas_extn: Fix server rendering after restartShinwoo Kim
Summary: The server can render, only after the server get the OP_SHOW from the client. However, if the server relaunches while client is running, the server cannot get the OP_SHOW. In this case, the client should send the OP_SHOW, when the server is added. Test Plan: Relaunch a server especially the indicator, while client is running. Reviewers: raster, cedric, Hermet, woohyun, jaehwan, jypark, jpeg Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D3028 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-08-04ecore_evas: Fix crash in async renderjiin.moon
Summary: The root cause of the crash is freed memory. The evas_object_image_data_set api called with extn buffer in _ipc_server_data. But there is no inform to render when free this buffer. @fix Reviewers: Hermet, jpeg, jypark Subscribers: stefan_schmidt, cedric Differential Revision: https://phab.enlightenment.org/D2902 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-06-26ecore-evas-extn : map shm for sharing render pixels conservativelyCarsten Haitzler (Rasterman)
@fix before we mapped these segmentsa read+write for the user or read+write for EVERYONE if system. this now creates the file as r+w for the user and +ro for everyone only IF system, and clients voluntarily map read-only to avoid possible memory corrupting of pixels from the client side. not more secure for clients, but nicer. defintiely more secure for system services.
2015-05-15[ecore_evas_extn] add function to block mouse event.Shinwoo Kim
Summary: add ecore_evas_extn_socket_events_block_set/get Test Plan: add mouse event callback, and check whether it could get event or not Reviewers: raster, woohyun, jaehwan, Sergeant_Whitespace Reviewed By: Sergeant_Whitespace Subscribers: Sergeant_Whitespace, seoz, cedric Differential Revision: https://phab.enlightenment.org/D2268
2015-05-07ecore: remove the need to order the header correctly for Windows.Cedric BAIL
2015-04-21ecore_evas extn module - fix coverity complaintCarsten Haitzler (Rasterman)
coverity is right. CID 1295139 fixed here. tmpstr_free on sometimes uninitialized local var.
2015-04-20ecore-evas-extn: Use eina_mkstemp in place of mkstempChris Michael
Summary: This fixes Coverity CID1039610 'calling mkstemp without securely setting umask first'. Since we have eina_mkstemp which already handles creating temporary files in the proper directory, let's use it. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-06ecore evas should not crash when unsetting pointerMike Blumenkrantz
ref D812 disappointed.jpg
2014-10-29ecore_evas - ecore_evas's should start withdrawn then normal on showCarsten Haitzler (Rasterman)
this fixes initial state of an ee where you couldn't detect when the window had been accepted by the wm (goes to normal state from withdrawn). @fix
2014-08-27ecore-evas-extn - check engine info set return and complainCarsten Haitzler (Rasterman)
fix CID 1039682
2014-07-31ecore_evas_extn: fix wrong plug image display after connectThiep Ha
Summary: Plug image is displayed incorrect after connect to socket. Test case: Run ecore_evas_extn_socket_example -> run ecore_evas_extn_plug_example -> click Change bg to change bg color. Run 2nd ecore_evas_extn_plug_example. The plug area image of 2nd plug is incorrect display (different with 1st plug image). Reason: When a plug connects to socket, socket sends incorrect buffer information. Fix: Change buffer information. @fix Reviewers: Hermet, huchi Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1232
2014-07-30ecore_evas_extn: do not double close fd in case of memory starvation.Cedric BAIL
In case eina_stringshare_add was failing it could lead to a double close on lockfd. This was reported by coverity: CID1039885 @fix
2014-07-09ecore_evas_extn: remove redundant message sendingThiep Ha
Summary: When a client is added to socket server, socket server sends NBUF (2) times of OP_RESIZE, OP_UPDATE, OP_UPDATE_DONE messages to client. However, only one message of OP_RESIZE, OP_UPDATE, OP_UPDATE_DONE is enough. This patch removes redundant OP_RESIZE, OP_UPDATE, OP_UPDATE_DONE sending. Reviewers: raster, Hermet Reviewed By: Hermet CC: woohyun, huchi Differential Revision: https://phab.enlightenment.org/D1141
2014-05-12Ecore evas: Fix crash after image_data_setJean-Philippe Andre
In some cases, the image has a format different from RGBA, so image_data_set will be invalid as the new data is expected to be RGBA. This happened with ETC2 images.
2014-05-07do not use EINA_FALSE instead of NULLJérémy Zurcher
2014-04-09ecore_evas_extn: update plug image object after disconnectionWonguk Jeong
Summary: plug image object was not cleaned after server disconnection. specifically, image data was cleaned (NULL), but it was not updated for real on screen --> set dirty of plug image object @fix Test Plan: elementary_test -> open window socket -> open window plug -> close window socket -> plug should be cleaned up Reviewers: raster, cedric Reviewed By: raster CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D703
2014-04-09ecore_evas_extn: initialize server handle on server deletionwonguk.jeong
Summary: Since plug sends message by using deleted server handle (dangling pointer), I could see glorious error message as below: *** ECORE ERROR: Ecore Magic Check Failed!!! *** IN FUNCTION: ecore_con_server_send() ERR<842>:ecore lib/ecore/ecore.c:729 _ecore_magic_fail() Input handle pointer is NULL! ERR<842>:ecore lib/ecore/ecore.c:740 _ecore_magic_fail() *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! Therefore, I initialized server handle on server deletion @fix Test Plan: create socket -> create plug -> destroy socket -> mouse move on plug area Reviewers: raster, cedric Reviewed By: raster CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D701
2014-04-03since event is for server, bdata->image is null anywayCarsten Haitzler (Rasterman)
2014-04-03ecore_evas_extn: give proper event data to callbackswonguk.jeong
Summary: extn send ecore event when plug is connected/disconnect (ECORE_EVAS_EXTN_CLIENT_ADD/ECORE_EVAS_EXTN_CLIENT_ADD) By the way, the event data is currently "Ecore_Evas_Engine_Buffer_Data" which should be hidden Moreover, when I make multiple sockets, I need a event data to distinguish which socket is connected by client. Therefore, I recommend to use Ecore_Evas as event data. @fix Reviewers: raster, Hermet, woohyun, cedric, seoz Reviewed By: raster CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D690
2014-02-28ecore_evas: Added support for window auxiliary hintGwanglim Lee
Summary: The window auxiliary hint is the value which is used to decide which actions should be made available to the user by the WM. If you want to set specific hint to your window, then you should check whether it exists in the supported auxiliary hints that are registered in the root window by the window manager. Once you've added an auxiliary hint, you can get a new ID which is used to change value and delete hint. The window manager sends the response message to the application on receiving auxiliary hint change event. A list of auxiliary hint within the Ecore_Evas has this format: ID:HINT:VALUE,ID:HINT:VALUE,... Reviewers: raster, cedric, seoz, Hermet Reviewed By: raster CC: cedric Differential Revision: https://phab.enlightenment.org/D543
2014-02-09ecore_evas: added window manager rotation to manage the rotation of windows ↵Gwanglim Lee
by the WM. Summary: The window manager rotation allows the WM to controls the rotation of application windows. It is designed to support synchronized rotation for the multiple application windows at same time. Reviewers: raster, seoz, cedric, Hermet Reviewed By: raster CC: cedric Differential Revision: https://phab.enlightenment.org/D529
2014-01-13ecore_evas - use eina_bool instead of the char for interal data.ChunEon Park
2014-01-11ecore - clean up code.ChunEon Park
fix indentation and use Eina_Bool instead of char.
2014-01-08fix mingw build for setuid fix/checksCarsten Haitzler (Rasterman)
2014-01-08setuid safeness - ensure if an app that is setuid doesn't do bad thingsCarsten Haitzler (Rasterman)
this makes efl ignore certain env vars for thnigs and entirely removes user modules (that no one ever used) etc. etc. to ensure that *IF* an app is setuid, there isn't a priv escalation path that is easy.
2014-01-04ecore_evas: extn - restore missing symbol that resulted in a temporary ABI ↵Cedric Bail
break. Thanks to Albin and Debian tools to have spotted that. - cherry-pick me -
2013-12-20extn: remove files.{w,h} that are not used.Gustavo Sverzut Barbieri
2013-12-20extn: remove unused attribute am_server.Gustavo Sverzut Barbieri
2013-12-20extn: complete with NULL newly added functions.Gustavo Sverzut Barbieri
2013-12-20extn: fix typo, alpha is SHM_REF2, not 1!Gustavo Sverzut Barbieri
2013-11-10ecore_evas: use portable infrastructure to detect page size.Cedric BAIL
2013-03-26evas_extn: Tag parameter as unused.Stefan Schmidt
Maybe we should switch to use -Wno-unused-parameter in our default cflags? I mean unused parameters are really common and I do not see their harm. Using -Wno-unused-parameter would let us remove all the cluttered EINA_UNUSED and __UNUSED__ and also be safe when a paramter gets is use later as the compiler could optimize it out when tagged with unused. Still we would avoid the warnings to find the important ones.
2013-03-25evas_extn: Rename data variable to avoid local shadowing.Stefan Schmidt
Jenkins as well as klocwork complained here as data is already used for the parameter of the function and we shadow it here locally. Does not look like it would really harm us here but better avoid it.
2013-03-23update po's ... :/Carsten Haitzler (Rasterman)
2013-03-12ecore_evas: re-order inclusion of header to fix compilation on Windows.Cedric Bail
It is a very tricky things to get header order right on windows. Having that order only in .c files simplify the work a lot. So let's try to do it with Ecore_Evas after it rewrite and split into modules.
2013-02-15Add infrastructure to handle message between ecore and parent ecore in ↵Jiyoun Park
Ecore_Evas I add new example related with this. (ecore_evas_extn_socket & plug example) ecore extn use this infrasturcture, server app and client app can communicate each other later, this can be used to contorl access message SVN revision: 83942
2013-01-14efl: simplify automake.Gustavo Sverzut Barbieri
Instead of -I$(top_srcdir)... -I$(top_builddir)... and then do it for the .la, use the EFL_ macros to generate the contents to be used in automake files. There is a nasty bit that libtool will parse Makefile*.am and will not get _DEPENDENCIES from _LIBADD and _LDADD if these are in @REPLACEMENT@. To solve this we must explicitly set _DEPENDENCIES. The contents of this is almost the same as _LIBADD or _LDADD with the "_INTERNAL_" replacement name. I hope the code will be result will be shorter and consistent as there is less places to change when we add/remove dependencies. Statistics are quite impressive (diffstat): {{{ 37 files changed, 663 insertions(+), 1599 deletions(-) }}} SVN revision: 82785
2013-01-11efl/ecore_evas: merge buffer into core, split extn apart.Gustavo Sverzut Barbieri
buffer is lightweight and dependency for many engines, merge it back into core. extn is a module on its own, and it's the only one linking to ecore_ipc, no need to add that to ecore_evas. minor cosmetic changes to configure to make output consistent. SVN revision: 82648