summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* efl canvas image - dbug ingo get - dont get if no root dbg info suppliedCarsten Haitzler (Rasterman)2017-07-231-1/+2
| | | | | | | if root dbg info is null we'll leak and not have anything useful stored somewhere for fetching anyway. this should fix CID 1365656
* evas module load add comments pointing out this is intentional ptr lossCarsten Haitzler (Rasterman)2017-07-231-1/+5
|
* efreetd cache - fix leak of strbuf when error conditions abort saveCarsten Haitzler (Rasterman)2017-07-231-3/+3
| | | | fix CID 1374951
* efreetd cache - handle queue case leaking strbufCarsten Haitzler (Rasterman)2017-07-231-1/+2
| | | | fix CID 1374954
* ecore_audio headers conflict with app have ifdefsCarsten Haitzler (Rasterman)2017-07-222-11/+5
| | | | | | | | | | | | | | Ecore_Audio.h had #ifdef HAVE_PULSE ... and that is just so wrong as this is something an ap[p may or may not set in its config.h ... but this certainly hase no place in our public headers. the api's there should always be there... symbols always... just imtplementation may be empty ... though ecore_audio doesnt build at all without pulse... so it's moot. so fix this build issue i found when fixing e build issues with meson changes etc. @fix
* efl_wl - also add xkbcommon as it's actually usedCarsten Haitzler (Rasterman)2017-07-221-1/+1
|
* ecore_drm2: Ensure device we find can mode setDerek Foreman2017-07-211-1/+31
| | | | | | | | | | | | Some systems have dri devices that can't mode set, and if they're first in the directory they'll get picked by our code and things fall apart later. So, open the potential device and ensure it has basic functionality before selecting it. This is a little inefficient as it gets the device via elput twice before it can be used - this will be addressed later as the changes are a little more invasive to optimize.
* ecore_drm2: Open elput manager before drm deviceDerek Foreman2017-07-211-9/+9
| | | | | We're going to need to access the device as part of the find process, so we need a manager.
* hover: Return valid slot for main_menu_submenuJean-Philippe Andre2017-07-211-2/+13
| | | | Fixes T5760
* ecore-evas-wayland: destroy frame callback on hideMike Blumenkrantz2017-07-211-0/+3
| | | | | | | | ensure cursor surfaces can render again after being hidden #TheDisappointer @fix
* eldbus: print full filename when codegen write failsMike Blumenkrantz2017-07-211-2/+2
|
* wayland: stop creating 1x1 surfaces on initMike Blumenkrantz2017-07-216-68/+71
| | | | | | fix T5226 #IGot99TicketsBut1x1AintOne
* elm_win: instantiate csd frame after creating pointer surfaceMike Blumenkrantz2017-07-211-25/+25
| | | | | | | csd attempts to create sw cursors if the pointer surface doesn't exist, so create the pointer surface before the csd to avoid duplicate cursors #TheDisappointer
* elm_win: do not set invalid geometries on the window objectMike Blumenkrantz2017-07-211-10/+8
| | | | | | clamping to 1x1 is not valid, neither is trying to always position at 0,0 #IGot99TicketsBut1x1AintOne
* elm_win: hide pointer surface on mouse outMike Blumenkrantz2017-07-211-1/+5
| | | | | | | | this should be unmapped so edje stops trying to render to it, though at some point it could be optimized to not hide and just reuse the buffer when showing again #IGot99TicketsBut1x1AintOne
* elm_win: show pointer canvas after setting cursorMike Blumenkrantz2017-07-211-2/+1
| | | | | | setting cursor calls resize, which is what sets the surface size #IGot99TicketsBut1x1AintOne
* evas sw x11: formattingMike Blumenkrantz2017-07-2110-1327/+1317
|
* gl_drm: half fix eglGetPlatformDisplayEXT usageDerek Foreman2017-07-211-14/+20
| | | | | | | | | | | | | Just because the #define is present doesn't mean the extension is, so we're BAILing on egl completely on some systems for no good reason at all. (saw this on an SGX stack) This is still wrong. I don't want to try too hard until after the upcoming release, though. We should actually be testing for the presence of client extensions before attempting to do any of this. It's entirely possible that a gl stack will return bogus functions for these from eglGetProcAddress
* efreet - dont complain if INTERNAL x extension hash of desktop is NULLCarsten Haitzler (Rasterman)2017-07-211-2/+2
| | | | | | | | asking for an x- field from a desktop shouldnt result in null safety checks IF the x hash is null - it's fine if it's null - that field just doesn't eixst. if other fields were in the x hash but the desired one wasn't it'd not complain, so why complain if there is just no x hash?
* evas xpm loader - don't error print for files that cant be mmapedCarsten Haitzler (Rasterman)2017-07-211-5/+1
| | | | | no point complaining because we can't mmap... it'd be an unloadable file.
* efl_wl - add wayland-server pkgconfig dep for headers from waylandCarsten Haitzler (Rasterman)2017-07-211-0/+3
|
* efreet - remove noisy debug printfsCarsten Haitzler (Rasterman)2017-07-211-2/+0
|
* Evas textblock: add definition to 'cursor_equal'Daniel Hirt2017-07-201-0/+8
| | | | | | This is a follow-up to c4ea25cbdbfb027d5119880ddcf0bf5ba6a5720b to fix legacy API. The definition was missing, so adding it.
* eldbus: codegen: free allocated strbuf in error pathStefan Schmidt2017-07-201-1/+3
| | | | | | | | | fname would have been leaked if we failed to get a file_handler. Also make sure we always create a new fname strbuf even without a output_dir present to fix a potential unbalance between creating and freeing. CID: 1378112
* release: Update NEWS and bump version for 1.20.0-beta3 releasev1.20.0-beta3Stefan Schmidt2017-07-202-11/+18
|
* elm_widget: do not check for the visibilityMarcel Hollerbach2017-07-201-4/+0
| | | | | | | | | | | | | it seems like the visibility is evalulated from different parent relations, Just because the box (that is a container of a element) is not visible, does not mean that the element in it is also not visible, this somehow comes back to the box beeing deleted, the children beeing reparented in evas, but not in elm. This is for now just a quickfix, since those calls are just for optimization. This fixes a load of errors once the elm_test window is closed @fix
* eina_list: Ensure single initJean-Philippe Andre2017-07-201-0/+13
| | | | | | | | | | | | This fixes a crash in make check when --profile=dev is explicitely enabled. eina_list_init() is called by the standard eina_init() loop and by eina_debug_init() as well. Honestly I'm not sure why it doesn't crash for other people as well... The crash was in eolian_suite during the second eina_init (called from eolian_init).
* evas: Fix a crash in emotion with GLJean-Philippe Andre2017-07-201-1/+1
| | | | | | | | Ooops! When mapping for writing we can't use the same code path as when tofree is true. This restores the path for image writing. This basically fixes rage with GL engine. See also 45c8e5e983
* slider: fix jumping handler bug.Hosang Kim2017-07-202-4/+6
| | | | | | | | | | | | | | | | | | | | | Summary: Actual slider value is not changed. So when user release mouse or touch, slider value is returned to the value by user set. This is a partial revert of f41e2761608fff7b070d630a738 Fixes T5745 Test Plan: elementary_test -> slider Reviewers: jpeg Subscribers: cedric Maniphest Tasks: T5745 Differential Revision: https://phab.enlightenment.org/D5031
* evas: Restore flag pre_render_done in render_mappedJean-Philippe Andre2017-07-201-7/+5
| | | | | | | | | | | | | | | | | | | | | | Some objects don't go through render_pre (unchanged, child of mapped parents), even though they will go through evas_render_mapped. Those were marked as pre_render_done inside evas_render_mapped since it seemed to fix some issues a long time ago. Unfortunately, if those objects are changed their flag may not be reset to false, which means they never go through render_pre, leading to render issues. I believe simply restoring the value of the pre_render_done flag should be good enough. I don't know why it is set to true inside evas_render_mapped but I also don't want to find out :) See 9ac13e4aec83ea6dadfa62e4253b1db4ffe167e8 (old) See 87e5e70a9d888ce93ed807bb0d39d1738241ad9b (older) Patch made with @jiin.moon
* evas: Avoid infinite loop on evas shutdownJean-Philippe Andre2017-07-201-16/+40
| | | | | | | | | | | | If an object fails to call efl_destructor() on all the parent classes, then it may never be removed from the layer object inlist and never would its data be deleted either (eo keeps it safely alive). Here's how to test: add a "return;" statement inside an object's destructor (eg. the window class). Fixes T5680
* evas focus: Fix crash when shutting down with errorsJean-Philippe Andre2017-07-201-0/+4
| | | | | Example test: add many evas_object_ref() to a window and click on its X to close it.
* elm: Fix a safety error messageJean-Philippe Andre2017-07-201-1/+4
| | | | Happens when shutting down E
* evas gl: Rename secsym_ to eglsym_Jean-Philippe Andre2017-07-203-12/+12
| | | | | eglDestroyImage has nothing to do with SEC... This is a cosmetic change.
* evas gl: Check EGL version before using dlsymJean-Philippe Andre2017-07-201-9/+23
| | | | | | | | | | | | | | | | | | | | A recent commit broke texture_from_pixmap for NVIDIA EGL (again), because eglCreateImage is a symbol in libEGL.so but isn't in fact implemented by the driver. That's because eglCreateImage() is exposed by libglvnd but the underlying EGL implementation is NVIDIA and its version is only 1.4, not 1.5 (where the API was introduced as core). Instead of reverting the patch, it's better to cover our bases properly and use dlsym() only if the version is right. Note that GetProcAddress() may return garbage function pointers for ALL functions as dynamic virtual functions may be created on the fly by libglvnd. So it is absolutely necessary to check the extension string as well. See 0255f14dc2189c71776408b00307b8488bfa4dc5
* gl_common: extsn is no longer unusedDerek Foreman2017-07-191-1/+3
| | | | | Also, we should throw an error when it's NULL, since it's important for finding symbols for extended egl/gl.
* gl_common: Prefer unextended eglCreateImageDerek Foreman2017-07-191-11/+6
| | | | | | | | | | eglCreateImage is objectively better than eglCreateImageKHR - it allows attributes large enough to hold pointer values. We should use it when available and only use the older extension version as fallback. Also, eglCreateImage is core EGL functionality so don't depend on extensions to be present to use it. Theoretically we should be testing for EGL version >= 1.5 but it's probably safe not to.
* gl_common: Remove fallback hack for waylandDerek Foreman2017-07-191-30/+10
| | | | | | | This was only necessary due to bugs in the wayland_egl and gl_drm engine that have been corrected. Wayland has no bizarre requirements making this necessary.
* gl_drm: Defer gl symbol lookups until they're possibleDerek Foreman2017-07-193-8/+18
| | | | See previous commit for details.
* wayland_egl: Defer gl symbol lookups until they're possibleDerek Foreman2017-07-193-5/+17
| | | | | | | | | | | | Commit 2e6587a14b adds a gl extension string to glsym_evas_gl_symbols() to prevent using functions that are provided by extensions that aren't available in the current gl context. However, we can't query the extension strings until after we create an egl context. Split the regular symbol lookup stuff from the gl symbol lookup stuff so we can query at the appropriate time.
* wayland_egl: de-wtf the eglGetProcAddress prototypeDerek Foreman2017-07-191-4/+2
|
* gl_drm: de-wtf the eglGetProcAddress prototypeDerek Foreman2017-07-191-4/+2
| | | | | This doesn't seem to serve any purpose other than rigorous proof that typecasts can make literally anything compile.
* gl_common: Stop looking for eglCreate/DestroyImageOESDerek Foreman2017-07-191-6/+0
| | | | | | | | These aren't a thing. the GL_OES_EGL_image_base extension doesn't exist and the GL_OES_EGL_image extension doesn't extend egl, because it's a gl extension. So let's stop being the only google match for these nonsense strings.
* eo: Fix deadlock due to the shared mutexJean-Philippe Andre2017-07-191-0/+2
| | | | | | | | Explicit lock / unlock of the shared mutex mixed with implicit lock / unlock when accessing the internal Eo_Object data lead to uncaught issues such as these. This was found by trying to run E with gfx filters under eo_debug.
* evas: Fix cmopilation warningJean-Philippe Andre2017-07-191-1/+1
| | | | Oops I forgot to add that to the previous commit!
* evas: Fix support for image_data_get on snapshotJean-Philippe Andre2017-07-193-13/+79
| | | | | | | | | | | | | | | | | | evas_object_image_data_get() is a legacy API that I made work with snapshot objects (evas_object_image_snapshot_set()). Some changes in the engine broke the behaviour and this patch fixes it. When getting the pixels from an FBO, in read-only mode, we need to create a temporary image (pixels surface) that contains the copy of the pixels we get from glReadPixels. This image needs to be deleted afterwards. It is thus stored by the image object and freed upon _image_data_set() (good) or object deletion (bad). FBO + read-write is not supported by this API (it is supported through buffer_map as the filters had to use that). Fixes T5754
* evas engine gl: Add missing image unlockJean-Philippe Andre2017-07-191-0/+1
| | | | | This is a rare error path. Unlikely and not very important as the lock/unlock doesn't actually perform any meaningful operation.
* multibuttonentry: Fix item resource clean up logic.Woochan Lee2017-07-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: There are four cases where items are deleted. 1. Select item and push back button. 2. Delete "X" part of item. 3. Calling elm_object_item_del(). 4. MBE deleted. Previous logic is can't support for all cases. below problems were there. eina_list_remove() called twice. list data free twice. @fix Test Plan: elementary_test -> multibuttonentry test. Reviewers: jpeg, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5030
* emtoion gst1 - workaround gst break between 1.10 and 1.12Carsten Haitzler (Rasterman)2017-07-194-42/+150
| | | | | | | | | | | | so emotion was using a much older (pre 1.0) buffer map mechanism for getting video data. a new frame map api was added to gst in 1.0 but we didnt use it. gst broke the old buffer direct mapping for some codecs paths between 1.10 and 1.12. since we were using a very old method/api this broke us. this also happens to fix some vaapi issues (except where the buffer is simply never mappable ever). so this is kind of a fix (updating us to as more modern api) and a workaround. @fix
* eo: clarify what extensions are.Marcel Hollerbach2017-07-181-0/+4
|