summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* evas filter: silent coverity on self assignmentAmitesh Singh2015-10-141-1/+1
| | | | | | | This is a false alarm. Just to make coverity happy, use eo_do instead of eo_do_ret CID: 1316017
* edje_edit: Fix clang warning of unused variablesChris Michael2015-10-141-4/+0
| | | | | | | | | Summary: clang reports that these static variables are not being used anywhere (and grep confirms this), so remove them. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-evas-wayland-egl: Fix clang warning about extra parenthesesChris Michael2015-10-141-2/+2
| | | | | | @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Add missing field initializers for vt_modeChris Michael2015-10-142-4/+4
| | | | | | | | | Summary: clang reports missing field initializers for usage of vt_mode structure, so add the missing initializers @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas: Fix clang warning for missing field 'async' in default_stateChris Michael2015-10-141-1/+1
| | | | | | | | | | Evas_Object_Filter_Data has a bool for 'async' at the end of the struct. This field was missing from the initialization of 'default_state' @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Evas GL: Fix support for the SW engines (OSMesa)Jean-Philippe Andre2015-10-142-12/+51
| | | | | | | | | | Since @raster changed the behaviour of the dirty flag on images, damages must be added to redraw the GL surface. Evas_Image checks if it is an Evas GL surface by looking at its native surface. But in case of SW engine, there was no native surface information for Evas GL surfaces. Also, the OPENGL surface type was awfully abused for OSMesa support. Luckily EVASGL surface type lets us pass arbitrary pointers :)
* Evas GL: Improve ERR log (direct rendering failed)Jean-Philippe Andre2015-10-141-2/+4
|
* Evas GL: Add a test case for Evas GL (make check)Jean-Philippe Andre2015-10-144-0/+253
| | | | | | | | | For now this only covers SOME of Evas GL's functions. It will try to run with opengl_x11 and buffer (OSMesa). It'll also try to fail silently if the engine initialization failed, or if OSMesa could not be found. If the engines work, then Evas GL must work properly.
* Evas GL: Implement glGetString wrapper for OSMesaJean-Philippe Andre2015-10-141-6/+49
| | | | | | | This is only one step into making the software engine actually work the same as a proper GL engine from Evas GL APIs point of view. This is necessary for the test suite (coming next).
* Evas GL: Minor changes inside glGetStringJean-Philippe Andre2015-10-141-9/+13
|
* Evas GL: Avoid make_current(0,0) during destroyJean-Philippe Andre2015-10-141-41/+42
| | | | | | | Show an error message and call make_current(NULL, NULL) only if the object (context, surface) being destroyed is current. Otherwise, avoid changing the current context & surface.
* gl_x11: val can be everything expected 0 to mean trueMarcel Hollerbach2015-10-141-2/+2
| | | | | | | For me on a intel driver val is -1 and it needs to be inverted. So we need to checkout that val is not 0 and not equals to 1. Thx to raster for helping debugging this thing :).
* Eina: fix memory leak in eina_file_open()Vincent Torri2015-10-141-22/+8
| | | | @fix
* Eina: fix eina_file_current_directory_get()Vincent Torri2015-10-141-9/+7
| | | | | | | the length was not correctly computed and eina_file_path_sanitize() was was writing beyond the limit of the string @fix
* Eina: fix spelling in eina_tmpstr documentationVincent Torri2015-10-141-3/+3
|
* Evil: set EAPI correctly in pwd.hVincent Torri2015-10-141-0/+18
|
* evas gl engine - typo remove from previous commitCarsten Haitzler (Rasterman)2015-10-141-1/+1
| | | | | some typo crept in that... compiled. a stya / on a line. how it compiled, i don't know.
* evas - obj destructrion - handle when obj layer is partly destroyedCarsten Haitzler (Rasterman)2015-10-142-7/+7
| | | | | this should fix T2715 and anything similar as during destruction object internals are a bit weird.
* evas - fix evlog to push and pop properlyCarsten Haitzler (Rasterman)2015-10-141-1/+1
|
* eina: util - set tmp to NULL to fix compilation warningAmitesh Singh2015-10-141-1/+1
| | | | | | | lib/eina/eina_util.c: In function 'eina_environment_tmp_get': lib/eina/eina_util.c:96:7: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!tmp) tmp = "/tmp"; ^
* Evas: Some coverity fixesJean-Philippe Andre2015-10-141-3/+3
| | | | | | | | This are false alarms. But the explicit null check doesn't hurt. Also, Coverity doesn't like eo_do_ret. Neither do I. :) - CID 1327246 - CID 1327245
* Evas render: Fix proxy source_clip with source imagesJean-Philippe Andre2015-10-141-1/+13
| | | | | In case the source is an Evas_Image, we skip proxy_subrender, and so the clip was not set against the source clip.
* Evas render: Fix proxy source_clip logic inversionJean-Philippe Andre2015-10-142-7/+21
| | | | | | As spotted by @FurryMyad I inverted the logic for source_clip. This should restore the proper behaviour while keeping my previous fixes working. See D2940.
* ecore_cocoa: fix a bug where event timestamp was not retrieved correctly.Nicolas Aguirre2015-10-131-0/+1
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: fix build of gl_cocoa engine.Nicolas Aguirre2015-10-131-0/+5
| | | | | | | __context_restore and __need_context_restore are undefined when building gl_cocoa engine. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: use a timer instead of a poller to be more responsive when ↵Nicolas Aguirre2015-10-132-7/+5
| | | | | | | | | | | | dealing with cocoa Event. As all Mouse and Keyboard events comme from Cocoa, the poll period must be reduced. Backwards of this method is that when no signal are received for a long period, the timer fired anyway and consumes CPU for nothig but it seems there is no easy method to integrate NSApplication mainloop into an existing one. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_evas_cocoa: use the same render function as ecore_evas_xNicolas Aguirre2015-10-131-27/+95
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: fix warnings, add Debug outputs where needed and remove printfsNicolas Aguirre2015-10-131-166/+177
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: Include <unistd.h> for getuid and geteuid functionsChris Michael2015-10-131-0/+1
| | | | | | | | | Summary: If we do not include unistd.h, we end up with implicit declaration warnings when compiling @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl: Add missing EINA_UNUSED for unused function paramatersChris Michael2015-10-131-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas: fix performance regression by reducing the unecessary memcpy we are doing.Cedric BAIL2015-10-131-3/+4
| | | | | | | | Actually copying max is pretty useless and super slow. We usually have something like 1024 slot in a context, but a very small amount of them are acutally active. It would be better to actually do some kind of copy on write technique here, but as Eina_Cow doesn't handle array and we are close to a release, let's be conservative.
* evas: follow API documentation more closely.Cedric BAIL2015-10-131-3/+4
|
* Ecore exe win32: Fix double-free errors.Tom Hacohen2015-10-131-0/+1
| | | | | | | | | | As reported by vtorri, sometimes ecore_exe on win32 will encounter double free issues. This was because the variable was freed, but not set to NULL as expected by the cleanup function. Fixes T2675 @fix
* Revert "Revert "Revert "evas: fix borked rotation support in GL engine."""Carsten Haitzler (Rasterman)2015-10-131-4/+7
| | | | | | | | | | | | This reverts commit f51168f4ec7a1bd3072428c7a271ad7c6715fde5. if this is right or not... this RESULTS in enlightenment becoming totally unusable. put this back WHEN other issues are fixed you think that exist. last i knew we query yinvert start with glx per native surface and use that info - so as best i know it is and has been right for a long time. :)
* evas: fix compilation errorAmitesh Singh2015-10-131-2/+2
| | | | This is introduced in 5c02935a866a5c14
* Revert "Revert "evas: fix borked rotation support in GL engine.""Cedric BAIL2015-10-121-7/+4
| | | | | | | This reverts commit 5bb1c52e3a075d3a69b5baee2f2ad8d2788655b0. This patch is actually correct, but it highlight a bug in how we retrieve GLX_Y_INVERTED_EXT value.
* evas: correctly get GLX_Y_INVERTED_EXT.Cedric BAIL2015-10-121-2/+2
|
* ecore: mimic UNIX code even moreVincent Torri2015-10-121-8/+18
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: avoid thread doing nothing by adding a small sleepVincent Torri2015-10-121-1/+3
| | | | | | | This fixes the CPU to be usedat 100% for each thread in ecore_exe. This is obviously not an ideal fix and will be improved in the future. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* efreet: use ecore_file function instead of stat() in the icon cache codeVincent Torri2015-10-121-16/+19
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_file: remove whitespacesVincent Torri2015-10-121-4/+4
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_file: fix ecore_file management function on WindowsVincent Torri2015-10-121-22/+94
| | | | | | | | | | | | | | On windows, stat() returns -1 if a path is finished with a \ or /, so replace all stat() calls with a function which removes the trailing slash or backslash on Windows At this stage the code duplicate many code path for avoiding potential borkage on Unix system. During 1.17 release cycle, it would be nice to refactor this piece. @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: close handles only if they are validVincent Torri2015-10-121-4/+4
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* efreet: eina_file_mkstemp() needs a template with an extensionVincent Torri2015-10-121-1/+1
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* efreet: use eina_file_mkstemp() instead of mkstemp() for portabilityVincent Torri2015-10-121-12/+11
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje: use eina_environment_tmp_get() instead of the TMPDIR env variableVincent Torri2015-10-121-1/+1
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: fix command line when a shell is used, and increase buffer to ↵Vincent Torri2015-10-121-20/+15
| | | | | | 32768 bytes Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: remove infinite loop when killin processVincent Torri2015-10-121-2/+2
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: use macro to free resourcesVincent Torri2015-10-121-28/+10
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_exe: better error message when child process can not be runVincent Torri2015-10-121-1/+10
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>