AgeCommit message (Collapse)Author
2015-11-17ecore-evas-drm: Send fake mouse_move event after registeringChris Michael
This fixes an issue where ecore_drm was sending an initial mouse_move event too early in the startup process. Instead, we will send the event from Ecore_Evas after it has been registered with Ecore_Input. This is done here to address and Fix T2854. @fix Signed-off-by: Chris Michael <>
2015-11-17ecore-drm: Don't send mouse_move event too earlyChris Michael
We cannot be sending an ecore_event for mouse move here as it is too early in the startup process for that too happen. Raising the event here never gets caught because the ecore_evas has not yet registered for ecore_input listening. @fix Signed-off-by: Chris Michael <>
2015-11-17ecore-evas-wl: Fix issue of improper window geometryChris Michael
This fixes an issue where maximizing a window would set improper xdg surface window geometry. We receive window configure sizes based on xdg surface window geometry, so we need to subtract framespace there or else window size grows when maximizing/unmaximizing multiple times. This also adjusts the call to xdg_surface_set_window_geometry to account for framespace (Fixes T2842). @fix Signed-off-by: Chris Michael <>
2015-11-17ector: Fix incorrect expressionChris Michael
Coverity reports that 'obj' is written twice with the same value here., so fix this with a proper call to eo_do_super_ret NB: Fixes Coverity CID1339786 @fix Signed-off-by: Chris Michael <>
2015-11-17evas-software-x11: Fix resource leakChris Michael
If we end up leaving evas_xlib_image_dri_native_set due to a failure to allocate memory, we should free the previously allocated Evas_DRI_Image so that we don't leak NB: Fixes Coverity CID1339782 @fix Signed-off-by: Chris Michael <>
2015-11-17Evas textblock: fix bad deletion in test caseDaniel Hirt
No need to delete this object. It is already being deleted when the textblock is freed at the end of the test.
2015-11-17Evas language: add full locale language getterDaniel Hirt
evas_common_language_from_locale_get truncates the country letters in the language. We don't always want that (one example is dictionaries).
2015-11-17evas-software-x11: Fix returning NULL pointerChris Michael
evas_xlib_image_dri_native_set should be returning a pointer to an RGBA_Image on success, or NULL on failure. Returning EINA_FALSE here leads to an expression which evaluates to zero being treated as a null pointer constant @fix Signed-off-by: Chris Michael <>
2015-11-17evas-software-x11: Fix formattingChris Michael
NB: No functional changes Signed-off-by: Chris Michael <>
2015-11-17evas-gl: Remove extra parenthesesChris Michael
clang warns of equality comparison with extraneous parentheses in these cases. Remove the extra parens as they are not needed anyway @fix Signed-off-by: Chris Michael <>
2015-11-17ector: Add missing EINA_UNUSED for unused function parameterChris Michael
Signed-off-by: Chris Michael <>
2015-11-17Evas language: Fix language from locale function.Tom Hacohen
This function was trying to infer from the LANG env var, though it should have just queried the locale all along, as the language we want is the system's text language, and not necessarily the LANG variable's value. @fix.
2015-11-17Evas text: Remove fixme markerSubodh Kumar
Summary: Remove fixme marker Algorithm used is good enough to sort very few number of items, usually 2 to 6 items. Test Plan: NA Reviewers: herdsman, cedric, tasn Subscribers: cedric Differential Revision:
2015-11-17Evas text: Remove tabs for readabilitySubodh Kumar
Summary: Remove tabs Test Plan: NA Reviewers: tasn Subscribers: cedric Differential Revision:
2015-11-17ector: disable NEON build.Cedric BAIL
There is more problem with this code, better disable it for now. @fix T2851
2015-11-17Evas GL: Remove invalid call inside make current pbufferJean-Philippe Andre
There was some confusion as color_buf is a texture but it was used as an fbo. Not sure was this call was for. @fix
2015-11-17Evas GL: Ignore compilation warningJean-Philippe Andre
Desktop OpenGL doesn't care about the version here (GLES 2 or 3)
2015-11-17Evas GL: Fix BadMatch with pbuffer make currentJean-Philippe Andre
This is the kind of horrible things you'll encounter when working with GL. The surface and context need to have matching configuration otherwise make current will fail, and the only way to get a matching config is to reuse the config selected to create the context. Gah. This is the same fix as for EGL. More a hack than a fix, to be honest. @fix
2015-11-17eolian: fix build after removal of --eo option.Cedric BAIL
2015-11-16ecore-evas drm: null global device pointer after freeMike Blumenkrantz
ref T2844 @fix
2015-11-16Evas GL: Fix failing make check test caseJean-Philippe Andre
The version field was not properly set for GLES 1 and 3 (but not tested), double free() could happen on the API structs, and empty API structs could be returned.
2015-11-13ecore-evas wayland: use correct values when updating wayland window sizeMike Blumenkrantz
by using the geometry from after the request size has been updated, scenarios such as the following can be avoided: [4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1) [4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250) @fix
2015-11-13emotion webcam: fix check for v4l2 video capture device capabilityStefan Schmidt
The negation should be uses after checking the capability bit with the &. Better use parenthesis to make this work. Thankls to the sparse sematic parser for spotting this.
2015-11-13eina_thread_queue: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-13evas polygon: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-13ecore_evas x engine: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-13evas buffer engine: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly. Fix the indent where needed as well.
2015-11-13evas textblock: fixed ascent/descent calculationMinwoo, Lee
Summary: If textblock has linegap and multi language, ascent/descent calculation is incorrect. In _layout_format_ascent_descent_adjust(), descent is accumulated. (for example, for a line gap of 50, the first line gap is more than 100) Test Plan: Textblock has "linegap=50" and multi language (ex. "This is a test suite for line gap - ഈ ലൈൻ വിടവ് ടെസ്റ്റ് ടെസ്റ്റ് ടെസ്റ്റ് ടെസ്റ്റ് ഒരു പരീക്ഷണ വെയര് ") Added test suite in evas_test_textblock.c file. Reviewers: tasn Subscribers: subodh6129, cedric Differential Revision:
2015-11-13ecore_ipc: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-13gif loader: use Eina_Bool for one-bit bitfieldStefan Schmidt
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-13Revert "efl: Fix configure help message for cserve"Jean-Philippe Andre
This reverts commit e83fae696056fb3e4b08484224cf215faa6274a5. cserve2 is enabled by default at build time. It's disabled by default at runtime. Basically it's always built but never used.
2015-11-12ector: do get symbol at object construction time.Cedric BAIL
This make it part of the object initialization and will prevent the construction of the object if the needed cairo function are not fund. So if Ector can create the object, it can display them.
2015-11-12efl: Fix configure help message for multisenseChris Michael
By default, multisense is disabled. The configure help message for multisense was incorrect because it stated that multisense was enabled by default @fix Signed-off-by: Chris Michael <>
2015-11-12efl: Fix configure help message for cserveChris Michael
By default, cserve2 is disabled. The configure help message for cserve2 was incorrect in that is said cserve2 was enabled by default. @fix Signed-off-by: Chris Michael <>
2015-11-12Evas text: Change bitfield bool types to Eina_Bool.Tom Hacohen
This is really just a safety measure, as we always just check if the value is true. However, with char the potential values are -1 and 0, and with Eina_Bool they are 1 and 0, so fixing that. Thanks to the "sparse semantic parser" for detecting that, and to Stefan for reporting.
2015-11-12ecore_con: fix another case where files have been moved and sitcheck benn brokenStefan Schmidt
This time the move of dns to static_libs in 4f24deac448c648d0b514acefd8bbb8721c9fe04 broke distcheck as the header file was never shipped with the tarball. I would really appreciate if author and reviewer would pay more attention.
2015-11-12evas: add forgotten file to SOURCES to fix distcheckStefan Schmidt
Added in 8ab190daec637892465f2c5ea08298b3fafc4e98 but forgotten to be added to the SOURCES.
2015-11-12evas/gl_generic: Check for errors when calling tbm surface map/unmapDongyeon Kim
tbm_surface_map/unmap might fail and return error, so we need to check the return value of these APIs.
2015-11-12evas/gl: Bind texture with external target for tbm surfaceDongyeon Kim
egl images created using tbm surface for native surface set use GL_TEXTURE_EXTERNAL_OES as texture target, so we should bind to this target when rendering. Dynamic hint set using tbm surface also creates egl images, but as we only use RGB* colorspace for this we can use GL_TEXTURE_2D. So, keep track of texture target in shader array, and bind to the appropriate one. This also fixes the bug that image_data_get only worked when BOTH sec_image_map and sec_tbm_surface extensions are supported.
2015-11-12evas/gl: Do not check for egl errors with glEGLImageTargetTexture2DOESDongyeon Kim
Summary: glEGLImageTargetTexture2DOES is a GL extension API, so we need to use glGetError instead of eglGetError!
2015-11-12evas/gl_common: Enable dynamic hint set using tbm surface only when egl ↵Dongyeon Kim
extension is supported Summary: Dynamic hint set using tbm surface can only be used when EGL_TIZEN_image_native_surface extension is supported by the driver. So check for both tbm surface and egl extension.
2015-11-12Revert "Evas GL: Fix crash with dynamic hint set using tbm surface"Dongyeon Kim
Upcoming patch will fix this crash issue in a more proper way, so I revert this patch here. This reverts commit 8b1b8d5cf04f5e176cc4de6c04790e90eeac4ff2.
2015-11-11ecore_con: remove last occurence of EMILE_SSLv3Vincent Torri
This fixes compilation on Windows @fix Signed-off-by: Cedric BAIL <>
2015-11-11evil: remove useless vc++ codeVincent Torri
vc++ is not supported anymore Signed-off-by: Cedric BAIL <>
2015-11-11evil: fix warnings when mingw-w64 4.* is installedVincent Torri
mingw-w64 4.* adds several macros and functions compared to the 3.* version, so make sure that Evil does not redeclare them Signed-off-by: Cedric BAIL <>
2015-11-11eo generator: better output whitespace handling with pointersDaniel Kolesa
2015-11-11Evas: import Evas types inside canvas Eo fileDaniel Zaoui
2015-11-11Evas GL: Minimize internal resource creationDongyeon Kim
Summary: Evas GL maintains internal resource (XWindow, EGL Window Surface, EGL Context) per thread to be used for make current when indirect rendering is used. Currently this internal resource is created regardless of current rendering mode, and always created when a new Evas GL thread is created by the application. Internal resource created in a new thread is not freed until evas shuts down in the main thread, so this causes memory/fd leak. This can be fixed by creating internal resource only in necessary cases (ie. indirect rendering), and adding tls resource destructor to be called when thread exits.
2015-11-11edje - signal match code - clean up function readablity and fix crashCarsten Haitzler (Rasterman)
this just clens up the _edje_signal_callback_push() to be simpler and less wordy with the same actual logic, just pointless things like return; at end of func removed, use tmp instead of gp->matches everywhere and not just in one section etc. also set hashed bool to eina true/false i as opposed to sometimes 0, sometimes eina true/false and also track it religiously as well as matches array when freed - hunting bug for whatever reason after these cleanups i can't reproduce a signal crash i had which seemed to find freed matches in the hash that should not have been there. (a hash find walking a bucket found freed memory for the match in the hash entry - should not have been though reading the code). @fix
2015-11-11Evas GL: Fix crash with dynamic hint set using tbm surfaceJoogab Yun
Summary: if device support sec_tbm_surface, but doesn't support the EGL_NATIVE_SURFACE_TIZEN then below api called cause crash! evas_object_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); evas_object_image_alpha_set(o, 0); 1. evas_object_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); [evas_gl_image.c] if (im->im) { if (evas_cache2_image_cached(&im->im->cache_entry)) evas_cache2_image_close(&im->im->cache_entry); else evas_cache_image_drop(&im->im->cache_entry); im->im = NULL; // im->im now NULL!!! } im->tex = evas_gl_common_texture_dynamic_new(im->gc, im); // im->tex also NULL!! im->text also NULL!! because If driver does not support the EGL_NATIVE_SURFACE_TIZEN then below code return NULL at _pool_tex_dynamic_new(); pt->dyn.img = secsym_eglCreateImage(egldisplay, EGL_NO_CONTEXT, EGL_NATIVE_SURFACE_TIZEN, pt->dyn.buffer, attr); 2. evas_object_image_alpha_set(o, 0); [gl_generic/evas_engine.c] static void * eng_image_alpha_set() { now im->im and im->tex are null so crash happend at eng_image_alpha_set() } bug fixed in case of the tbm surface create fails so device cannot support the dynamic hit set, Test Plan: experdite Reviewers: jpeg, cedric, spacegrapher Subscribers: dkdk,, wonsik Differential Revision: