platform/upstream/efl.git
9 years agoevas: remove unused variable in evas_tangent_space_get.
perepelits.m [Mon, 21 Sep 2015 21:19:57 +0000 (23:19 +0200)]
evas: remove unused variable in evas_tangent_space_get.

Summary:
Firstly it was the main point of in CID1323089 from Coverity, but this variable is unused. So I've deleted it.

CID1323089

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3067

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoemotion: add libvlc module
Thomas Guillem [Mon, 21 Sep 2015 21:19:17 +0000 (23:19 +0200)]
emotion: add libvlc module

Summary:
Everything is implemented except visualization, mouse events and some
EMOTION_EVENT. Video can output RGBA, YUY2, YV12 or I420.

About the video sink: this emotion module use libvlc callbacks:
libvlc_video_set_format_callbacks and libvlc_video_set_callbacks. It may be
temporary. Indeed, an other solution is to add an Evas module inside vlc. But
this vlc module would need to link with emotion in order to use
_emotion_frame_new and _emotion_frame_resize private functions. I didn't
succeed to output a frame without these private functions: see
https://github.com/tguillem/vlc/commit/15daff4d3fdcd3ca7b485c1f8fabb8c1e1c4138c

List of /* FIXME */:

 - Visualization not implemented since there is no API (for now) in libvlc.

 - Mouse events not implemented since there is no API (for now) in libvlc.

 - Some EMOTION_EVENT are not handled.

 - SIGSEGV in evas_gl_common_texture_nv12_update with
   EVAS_COLORSPACE_YCBCR420NV12601_PL colorspace.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3071

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: remove unused variable and simplify function prototype.
Cedric BAIL [Mon, 21 Sep 2015 21:04:19 +0000 (23:04 +0200)]
edje: remove unused variable and simplify function prototype.

9 years agoedje_cache: remove duplicated call of _edje_file_coll_open
WooHyun Jung [Mon, 21 Sep 2015 20:53:35 +0000 (22:53 +0200)]
edje_cache: remove duplicated call of _edje_file_coll_open

Summary:
_edje_file_coll_open will be executed after _edje_file_open is finished.
This duplicatated call will increase the reference counter and give failure
of _edje_cache_coll_unref.

@fix

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3075

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: make it possible to have an unique id per Ector_Renderer.
Cedric BAIL [Thu, 17 Sep 2015 05:55:52 +0000 (07:55 +0200)]
ector: make it possible to have an unique id per Ector_Renderer.

This is going to be used by an Eina_Hash to deduplicate the number of Ector_Renderer.

9 years agoector: fix cairo backend to properly multiply gradient color.
Cedric BAIL [Tue, 15 Sep 2015 05:36:00 +0000 (07:36 +0200)]
ector: fix cairo backend to properly multiply gradient color.

@fix

9 years agoevas: node that are used for a fill should not have a parent or they are going to...
Cedric BAIL [Tue, 15 Sep 2015 05:34:35 +0000 (07:34 +0200)]
evas: node that are used for a fill should not have a parent or they are going to be drawn.

@fix example for Efl VG.

9 years agoevas: create ector surface per engine instance.
Subhransu Mohanty [Tue, 25 Aug 2015 06:32:35 +0000 (15:32 +0900)]
evas: create ector surface per engine instance.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: cleanup default backend drawer.
Cedric BAIL [Sat, 12 Sep 2015 05:31:49 +0000 (07:31 +0200)]
ector: cleanup default backend drawer.

9 years agoector: convert to freetype co-ordinate before storing path data in software backend.
Subhransu Mohanty [Fri, 28 Aug 2015 01:17:11 +0000 (10:17 +0900)]
ector: convert to freetype co-ordinate before storing path data in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: clip the clip rect to surface boundary in ector draw.
Subhransu Mohanty [Thu, 27 Aug 2015 01:48:45 +0000 (10:48 +0900)]
evas: clip the clip rect to surface boundary in ector draw.

Change-Id: If747a055eb935a7369eaf8d16d1577200a23b54c
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas/gl_generic: set draw context in ector_renderer_draw 14/50414/2
Dongyeon Kim [Mon, 24 Aug 2015 06:28:55 +0000 (15:28 +0900)]
evas/gl_generic: set draw context in ector_renderer_draw

Change-Id: Ifeedd48bc87d5c8ac353b8bee199604b482b4da0
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: split tokens/keywords for cleaner indexing
Daniel Kolesa [Mon, 21 Sep 2015 14:26:41 +0000 (15:26 +0100)]
eolian: split tokens/keywords for cleaner indexing

9 years agoecore_x: fix the memory leak.
ChunEon Park [Mon, 21 Sep 2015 12:00:16 +0000 (21:00 +0900)]
ecore_x: fix the memory leak.

@fix

9 years agoRevert "ecore_x: remove dead code."
ChunEon Park [Mon, 21 Sep 2015 11:09:15 +0000 (20:09 +0900)]
Revert "ecore_x: remove dead code."

This reverts commit 7303fcee4de5364baa8e9362ffcaa4b00d00fd34.

acutally the code was intended for compile warning.

9 years agoecore_x: remove dead code.
ChunEon Park [Mon, 21 Sep 2015 10:59:48 +0000 (19:59 +0900)]
ecore_x: remove dead code.

remove ridiculous code.

9 years agoecore_x: free the allocated memory after used.
ChunEon Park [Mon, 21 Sep 2015 10:49:10 +0000 (19:49 +0900)]
ecore_x: free the allocated memory after used.

XFixesInvertRegion doesn't free the xbound argument inside.

@fix

9 years agoecore_con: remove dead code.
ChunEon Park [Mon, 21 Sep 2015 10:24:41 +0000 (19:24 +0900)]
ecore_con: remove dead code.

there won't reach with !wp because if wp is null,
the iteration will jump to next iteration.

9 years agoefl - edje_cc - fix double close of embryo script fd's to tmp files
Carsten Haitzler (Rasterman) [Mon, 21 Sep 2015 07:50:17 +0000 (16:50 +0900)]
efl - edje_cc - fix double close of embryo script fd's to tmp files

@fix

thanks to 김낙경 <nakkyong.kim@samsung.com> for pointing this out.
indeed fclose() closes the fd adopted by fdopen(). it doesn't dup it.
so we double-closed. it seems this never caused an issue until now.
this should fix it.

9 years agoevas - fix whitespace in code
Carsten Haitzler (Rasterman) [Mon, 21 Sep 2015 02:05:58 +0000 (11:05 +0900)]
evas - fix whitespace in code

9 years agoeina: prevent compile warning.
ChunEon Park [Mon, 21 Sep 2015 04:52:57 +0000 (13:52 +0900)]
eina: prevent compile warning.

Inline function sometimes causes app compile warnings
which applies strict compile option.

9 years agofix typos in API doc
Amitesh Singh [Sat, 19 Sep 2015 03:54:58 +0000 (09:24 +0530)]
fix typos in API doc

9 years agoEdje Example: Fix wrong usage of evas_object_color_set API
Yeshwanth Reddivari [Sat, 19 Sep 2015 03:08:39 +0000 (08:38 +0530)]
Edje Example: Fix wrong usage of evas_object_color_set API

Summary:
Evas only handles pre multiplied colors. So use r,g,b values lesser than alpha to prevent error message.

Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com>
Reviewers: sachin.dev, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3073

9 years agoedje_edit: delete gradient funcs prototope
Vyacheslav Reutskiy [Thu, 17 Sep 2015 11:28:35 +0000 (14:28 +0300)]
edje_edit: delete gradient funcs prototope

This API was defined in the Edje_Edit.h but haven't implementation.
Given the fact that gradient is not supported and print 'SPANK'
error on load have sense to delete them.

9 years agoEvas GL: Free safe extensions hash when engine shuts down
Dongyeon Kim [Thu, 17 Sep 2015 01:28:59 +0000 (10:28 +0900)]
Evas GL: Free safe extensions hash when engine shuts down

This fixes the memory leak.
Thanks @rajeev.jnnce for spotting this!

9 years agoeolian/generator: support for more paragraph tags
Daniel Kolesa [Wed, 16 Sep 2015 13:24:16 +0000 (14:24 +0100)]
eolian/generator: support for more paragraph tags

9 years agoevas_render: Fix invalid clip
Jean-Philippe Andre [Tue, 15 Sep 2015 09:23:27 +0000 (18:23 +0900)]
evas_render: Fix invalid clip

Test case: elementary_test -to "Evas Map 3D"
The cube was clipped to its top-left corner.

What's really weird is that this code patch is for non-mapped
objects.

9 years agoevas - sw async render - move pixel upload/swap to a thread
Carsten Haitzler (Rasterman) [Tue, 15 Sep 2015 09:26:35 +0000 (18:26 +0900)]
evas - sw async render - move pixel upload/swap to a thread

@feature

this should unload mainloop some more and have pixel upload now in a
thread - same as rendering. this eeems to work where i see it so let's
put this in and see with further testing.

9 years agoeolian/generator: generation of doxygen @note and @warning tags
Daniel Kolesa [Mon, 14 Sep 2015 13:10:32 +0000 (14:10 +0100)]
eolian/generator: generation of doxygen @note and @warning tags

@feature

9 years agoEvas GL shaders: Add mask 21, 12, 22 downsampling modes
Jean-Philippe Andre [Mon, 7 Sep 2015 10:21:13 +0000 (19:21 +0900)]
Evas GL shaders: Add mask 21, 12, 22 downsampling modes

This is a huge patch, but keep in mind that 4326 line changes
were automatically generated from the template GLSL files.

This also adds some minor refactors here and there to accomodate
for the new shaders, but nothing crazy.

"GL fast-path" downsampled masks should now look pretty good.

9 years agoevas render2 - more work on fleshing it out a bit
Carsten Haitzler (Rasterman) [Fri, 11 Sep 2015 07:11:21 +0000 (16:11 +0900)]
evas render2 - more work on fleshing it out a bit

9 years agoeina_thread: non-linux fixes following latest changes
Daniel Kolesa [Fri, 11 Sep 2015 12:37:53 +0000 (13:37 +0100)]
eina_thread: non-linux fixes following latest changes

9 years agoecore - let the ecore_con_eet_*.c examples build.
David Walter Seikel [Fri, 11 Sep 2015 04:19:36 +0000 (14:19 +1000)]
ecore - let the ecore_con_eet_*.c examples build.

When using the --enable-always-build-examples configure option, these two
examples need to be linked to eet.

@fix

9 years agomap: don't update surface unencessarily.
ChunEon Park [Thu, 10 Sep 2015 12:27:47 +0000 (21:27 +0900)]
map: don't update surface unencessarily.

smart object don't need to update map surface always
check the state more elaborately so minus one more surface drawing!

9 years agoefl - set thread names for internally created threads for debugging
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 06:17:08 +0000 (15:17 +0900)]
efl - set thread names for internally created threads for debugging

@feature

9 years agoeina - thread naming - when naming thread, cut off at 15 chars
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 06:15:01 +0000 (15:15 +0900)]
eina - thread naming - when naming thread, cut off at 15 chars

automatically cut off at 15 chars (and add 0 byte) to ensure we get a
name, but just truncate it if it is too long.

9 years agoeina thread - add wrapper for setting thread name and fix affinity
Carsten Haitzler (Rasterman) [Wed, 9 Sep 2015 03:45:47 +0000 (12:45 +0900)]
eina thread - add wrapper for setting thread name and fix affinity

added support to set thread names for debugging. this wraps the gnu
extension to set a thread name of up to 15 chars (16 inc nul byte).
eina_thread_name_set() is the new api.
@feature

in the process i found the autofoo wasnt enabling cpu affinity support
at all in reality, so i had to fix that at the same time.

9 years agoevas: fix memory leak in evas_object_image_render_pre.
Nak-Gyeong Kim [Tue, 8 Sep 2015 23:08:45 +0000 (01:08 +0200)]
evas: fix memory leak in evas_object_image_render_pre.

Summary:
Eina_Rectangles are removed from pixel_updates list without eina_rectangle_free during render pre stage.

@fix

Test Plan: check memory leak.

Reviewers: cedric, jypark

Subscribers: jypark, cedric

Differential Revision: https://phab.enlightenment.org/D3006

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: CID 1323091
perepelits.m [Tue, 8 Sep 2015 22:07:45 +0000 (00:07 +0200)]
evas: CID 1323091

Summary:
@fix CID 1323091 for Coverity

Reviewers: cedric, Hermet, raster

Subscribers: cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D3037

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore x vsync - add in exynos checks and move kernel v checks inside
Carsten Haitzler (Rasterman) [Tue, 8 Sep 2015 13:00:33 +0000 (22:00 +0900)]
ecore x vsync - add in exynos checks and move kernel v checks inside

this adds asmung exynos driver as a whiteliested drm vsync driver.
this means 3.0 needs to work so move kernel ver checks inot each driver.

@feature

9 years agoEdje_cc: check value for text.source attribute.
Mykyta Biliavskyi [Tue, 8 Sep 2015 09:34:16 +0000 (18:34 +0900)]
Edje_cc: check value for text.source attribute.

Summary:
Add additional check for description.text.source
and description.text.text_source attributes in TEXT part.
For cases when as source uses non TEXT/TEXTBLOCK part
serialization process should be stopped. This will cause
segmentation fault on runtime. (see edje_text.c line 251)

Reviewers: Hermet, raster, cedric, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3026

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoevas/gl_common: Do not set minus value to unsigned int
Dongyeon Kim [Tue, 8 Sep 2015 08:41:15 +0000 (17:41 +0900)]
evas/gl_common: Do not set minus value to unsigned int

Summary:
cur_tex* are unsigned int, so minus value should not be set.
Also, add cur_texa, cur_texm here.

Test Plan: Local tests

Reviewers: jpeg

Subscribers: mer.kim, wonsik, cedric

Differential Revision: https://phab.enlightenment.org/D3036

9 years agoeet_example: Fixing memory leak.
Srivardhan Hebbar [Tue, 8 Sep 2015 08:23:42 +0000 (10:23 +0200)]
eet_example: Fixing memory leak.

Summary:
calloc is done 2times, so there is a memory leak. So fixing that.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3032

9 years agoecore_evas_convert: make sure we add all needed flags and deps for the build
Stefan Schmidt [Tue, 8 Sep 2015 08:16:21 +0000 (10:16 +0200)]
ecore_evas_convert: make sure we add all needed flags and deps for the build

We got a report where ecore_evas_convert linked against some old libs
installed in the system instead of the recent ones in-tree. While I was not
able to reproduce this the flags and deps for ecore_evas_convert have been
missing in any case and could be the culprit.

Ref T2716

9 years agoecore_evas_extn: Fix server rendering after restart
Shinwoo Kim [Tue, 8 Sep 2015 04:41:23 +0000 (13:41 +0900)]
ecore_evas_extn: Fix server rendering after restart

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>
9 years agoevas examples: avoid shadowing a global variable in a function
Stefan Schmidt [Mon, 7 Sep 2015 13:52:35 +0000 (15:52 +0200)]
evas examples: avoid shadowing a global variable in a function

9 years agoevas: gl_generic: fix leak if we return dst and not newdst
Stefan Schmidt [Mon, 7 Sep 2015 11:41:47 +0000 (13:41 +0200)]
evas: gl_generic: fix leak if we return dst and not newdst

In case we still retrun dst we should make sure we free up the newly
allocated newdst.

CID: 1323090

9 years agoecore_example: Fixing NULL deference.
Srivardhan Hebbar [Mon, 7 Sep 2015 11:30:48 +0000 (13:30 +0200)]
ecore_example: Fixing NULL deference.

Summary:
pd was dereferenced and then checked for NULL. If it was NULL, the program would crash much before. So fixed that.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3031

9 years agoecore_example: Fixing memory leak.
Srivardhan Hebbar [Mon, 7 Sep 2015 09:36:18 +0000 (11:36 +0200)]
ecore_example: Fixing memory leak.

Summary:
Fixed a memory leak in this example.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3010

9 years agoevil: remove executable bit from memcpy assembler file.
Stefan Schmidt [Mon, 7 Sep 2015 09:23:53 +0000 (11:23 +0200)]
evil: remove executable bit from memcpy assembler file.

Hopefully the last offender we have in tree with this.

9 years agoecore_example: Fixing NULL dereference.
Srivardhan Hebbar [Mon, 7 Sep 2015 09:13:48 +0000 (11:13 +0200)]
ecore_example: Fixing NULL dereference.

Summary:
cd was dereferenced and then was checked for NULL. If cd is NULL, it would crash before itself. So checking for NULL before dereferencing cd.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3009

9 years agoecore_example: Cleanup of ecore_compose_get_example.c
Srivardhan Hebbar [Mon, 7 Sep 2015 09:00:20 +0000 (11:00 +0200)]
ecore_example: Cleanup of ecore_compose_get_example.c

Summary:
Relating to D3010. This patch is code cleanup. Have done dos2unix. After this will update D3010 bug.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3025

9 years agobuild: add efl as internal dep for eio
Stefan Schmidt [Mon, 7 Sep 2015 08:43:35 +0000 (10:43 +0200)]
build: add efl as internal dep for eio

Thanks to Adrien Nader for the report and fix.

9 years agoupdate mailmap
Boris Faure [Sat, 5 Sep 2015 11:56:01 +0000 (13:56 +0200)]
update mailmap

9 years agoedje_cc: remove executable bit from source file
Stefan Schmidt [Fri, 4 Sep 2015 12:19:39 +0000 (14:19 +0200)]
edje_cc: remove executable bit from source file

9 years agoecore: win32: remove executable bit from source file
Stefan Schmidt [Fri, 4 Sep 2015 12:19:08 +0000 (14:19 +0200)]
ecore: win32: remove executable bit from source file

9 years agoector: software: remove executable bit from source files
Stefan Schmidt [Fri, 4 Sep 2015 12:15:57 +0000 (14:15 +0200)]
ector: software: remove executable bit from source files

This really shows what parts are developed under windows. While it does not
matter where you develop please make sure that you do not introduce CRLF
endings and normal source files as executables.

9 years agoector: software: convert dos to unix line endings
Stefan Schmidt [Fri, 4 Sep 2015 12:09:50 +0000 (14:09 +0200)]
ector: software: convert dos to unix line endings

9 years agoecore: cocoa: convert dos to unix line endings
Stefan Schmidt [Fri, 4 Sep 2015 12:07:52 +0000 (14:07 +0200)]
ecore: cocoa: convert dos to unix line endings

9 years agoevas: tests: convert man_mesh.obj from dos to unix line endings
Stefan Schmidt [Fri, 4 Sep 2015 12:05:38 +0000 (14:05 +0200)]
evas: tests: convert man_mesh.obj from dos to unix line endings

9 years agoRemove TODO-eo2 file.
Tom Hacohen [Fri, 4 Sep 2015 11:30:28 +0000 (12:30 +0100)]
Remove TODO-eo2 file.

This should never have gotten in.

9 years agoEvas: Move REND_DBG to evas_render.c
Jean-Philippe Andre [Fri, 4 Sep 2015 06:13:35 +0000 (15:13 +0900)]
Evas: Move REND_DBG to evas_render.c

Unlike what the comment claimed, it is not being used anywhere outside
this file.

9 years agoevas: Use malloc instead of calloc in context_dup
Jean-Philippe Andre [Fri, 4 Sep 2015 06:02:48 +0000 (15:02 +0900)]
evas: Use malloc instead of calloc in context_dup

Since we call memcpy right after, no need for calloc

9 years agoevas_render: Fix some clipping issues inside proxy
Jean-Philippe Andre [Thu, 3 Sep 2015 08:38:48 +0000 (17:38 +0900)]
evas_render: Fix some clipping issues inside proxy

Inside a proxy, clipping information might be wrong since the
source object may be at a different position than within
the proxy. If source_clip is not set, then we need to discard
all clips that are outside the proxy context.

So we just propagate the clip information inside the current
draw context, and even recurse from clipper to clipper to
find the final state of clipping.

Map and proxies and others (who said masks?) should definitely
rely more on the same model.

This code is not a mess. At all. You gotta love evas_render.

9 years agoevas_render: print out context clip with REND_DBG
Jean-Philippe Andre [Thu, 3 Sep 2015 07:36:32 +0000 (16:36 +0900)]
evas_render: print out context clip with REND_DBG

9 years agoevas_render: simplify masking and clipping in general
Jean-Philippe Andre [Thu, 3 Sep 2015 05:06:36 +0000 (14:06 +0900)]
evas_render: simplify masking and clipping in general

Use context_dup to inherit from previous contexts in a clean
manner. This removes the need for restoring the previous
clip information.

Plus, this commit removes lines of code so it must be good, right?

9 years agoevas_render: Cosmetic changes in evas_render_mapped
Jean-Philippe Andre [Thu, 3 Sep 2015 03:11:52 +0000 (12:11 +0900)]
evas_render: Cosmetic changes in evas_render_mapped

Use ENFN, ENDT macros to simplify code.
I believe it is more concise and readable like this.

9 years agoevas: Add internal context_dup function
Jean-Philippe Andre [Thu, 3 Sep 2015 03:03:23 +0000 (12:03 +0900)]
evas: Add internal context_dup function

This will simplify some code related to clipping and masking.

9 years agoevas_render: moar debug (REND_DBG)
Jean-Philippe Andre [Tue, 1 Sep 2015 11:47:40 +0000 (20:47 +0900)]
evas_render: moar debug (REND_DBG)

9 years agoEvas masking: Fix potential invalid access to mask image
Jean-Philippe Andre [Mon, 31 Aug 2015 08:28:58 +0000 (17:28 +0900)]
Evas masking: Fix potential invalid access to mask image

After clip_image_get, the old mask may be replaced by a new one,
and unref'ed, but it is later on set back as the context mask image.
Maybe it's possible that there was 0 reference and the image
got freed in between.

No idea how to test this.

@fix

9 years agoEvas masking: Make sure to check alloc before freeing old image
Jean-Philippe Andre [Mon, 31 Aug 2015 07:46:19 +0000 (16:46 +0900)]
Evas masking: Make sure to check alloc before freeing old image

Okay, I'm being paranoid and this can't possibly happen (calloc
fail? yeaaaah) but this makes sure we don't return NULL after
freeing the original image.

9 years agoEvas: Remove useless include
Jean-Philippe Andre [Thu, 27 Aug 2015 08:14:03 +0000 (17:14 +0900)]
Evas: Remove useless include

config.h is already included in the private headers, and should be
included first anyways.

9 years agoeolian: remove support for old style docs completely
Daniel Kolesa [Thu, 3 Sep 2015 14:35:53 +0000 (15:35 +0100)]
eolian: remove support for old style docs completely

9 years agoeolian: disable parsing of old style docs
Daniel Kolesa [Thu, 3 Sep 2015 14:08:08 +0000 (15:08 +0100)]
eolian: disable parsing of old style docs

9 years agoevas canvas: finish doc conversion
Daniel Kolesa [Thu, 3 Sep 2015 14:00:06 +0000 (15:00 +0100)]
evas canvas: finish doc conversion

9 years agoeio: unify deletion of eina_file_ls's iterator.
Guillaume Friloux [Wed, 2 Sep 2015 20:10:40 +0000 (22:10 +0200)]
eio: unify deletion of eina_file_ls's iterator.

Due to a bug with eio_file_stat_ls(), a previous patch
(73a23401ef007cd80297df6546484f3e8a065d2c) was written.

This patch change the way we delete returned eina iterator
from eina_file_ls in _eio_file_eina_ls_heavy() from a separate
thread, into eio_async_end() from the main thread.

To clarify the code, and avoid a useless call to
eina_iterator_free(), this patch also moves the deletion
of the same eina iterator from _eio_file_heavy() into
eio_async_end() as well.

9 years agoecore_psl1ght: Removed unused variable.
Srivardhan Hebbar [Thu, 3 Sep 2015 08:19:06 +0000 (10:19 +0200)]
ecore_psl1ght: Removed unused variable.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3011

9 years agoecore-con-url- split out the curl dleopener and resolver and headers
Carsten Haitzler (Rasterman) [Thu, 3 Sep 2015 03:22:01 +0000 (12:22 +0900)]
ecore-con-url- split out the curl dleopener and resolver and headers

this splits out out "manual" dlopen (eina_module_load) of curl into
its own .c file and special header out of ecore_con_url.c to tidy up
that code a bit and isolate our curl magic loading/handling

9 years agoevas canvas: some doc conversions
Daniel Kolesa [Wed, 2 Sep 2015 15:21:43 +0000 (16:21 +0100)]
evas canvas: some doc conversions

9 years agoevas_canvas: prepare for doc conversion + partial conversion
Daniel Kolesa [Wed, 2 Sep 2015 14:13:36 +0000 (15:13 +0100)]
evas_canvas: prepare for doc conversion + partial conversion

9 years agoefl_vg_base: fix wrong @since (was pushed after 1.15)
Daniel Kolesa [Wed, 2 Sep 2015 13:16:25 +0000 (14:16 +0100)]
efl_vg_base: fix wrong @since (was pushed after 1.15)

9 years agoefl_vg_base: convert docs
Daniel Kolesa [Wed, 2 Sep 2015 13:13:15 +0000 (14:13 +0100)]
efl_vg_base: convert docs

9 years agoevas object: finish doc conversion
Daniel Kolesa [Wed, 2 Sep 2015 13:09:04 +0000 (14:09 +0100)]
evas object: finish doc conversion

9 years agoevas object: more doc conversion
Daniel Kolesa [Wed, 2 Sep 2015 11:51:15 +0000 (12:51 +0100)]
evas object: more doc conversion

9 years agoevas object: partial doc conversion
Daniel Kolesa [Wed, 2 Sep 2015 11:21:59 +0000 (12:21 +0100)]
evas object: partial doc conversion

9 years agoevas - fix texture context bind reset in gl common using wrong texture
Subhransu Mohanty [Wed, 2 Sep 2015 09:55:43 +0000 (18:55 +0900)]
evas - fix texture context bind reset in gl common using wrong texture

evas gl common was simply resetting to the wrong texture id in the gl
context struct - it was using pipe[0] not state.current. why i don't
know. i know i wrote the pipe[0] code many years ago - really don';t
know. it may have been a transitional piece of code that just happened
t6o work 99% of the time that never got fixe when i added pipes.

@fix

9 years agoevas:textgrid: correctly check malloc failures
Boris Faure [Fri, 20 Mar 2015 15:14:50 +0000 (16:14 +0100)]
evas:textgrid: correctly check malloc failures

9 years agoevas:textgrid: rename text_props to text_props_index
Boris Faure [Fri, 20 Mar 2015 14:48:08 +0000 (15:48 +0100)]
evas:textgrid: rename text_props to text_props_index

9 years agoevas clip: add warning msg for wrong scenario.
ChunEon Park [Tue, 1 Sep 2015 07:32:46 +0000 (16:32 +0900)]
evas clip: add warning msg for wrong scenario.

9 years ago[Evas] Counting of tangent space (fix)
perepelits.m [Mon, 31 Aug 2015 10:04:26 +0000 (19:04 +0900)]
[Evas] Counting of tangent space (fix)

Summary: It is counting here, so we can avoid using glsl functions dFdx, dFdy.

Reviewers: cedric, raster, Hermet

Subscribers: Oleksander, cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D2923

9 years agoedje: remove un-used edje_container code
Stefan Schmidt [Mon, 31 Aug 2015 07:25:30 +0000 (09:25 +0200)]
edje: remove un-used edje_container code

The code have been ifdef'ed out for a along time. I checked back until
the merge of our libs before the 1.8 release. Maybe even before that.

If you have a use case for this code fell free to revert but also enable
the code and make sure it works when doing so.

9 years agoeina tests: disabling eina_test_matrix_quaternion which fails for over a week
Stefan Schmidt [Mon, 31 Aug 2015 06:58:19 +0000 (08:58 +0200)]
eina tests: disabling eina_test_matrix_quaternion which fails for over a week

This fails on nightly_efl_gcc_x86 (32bit) for over a week now blocking all other
nightly builds and tests. Inside the test case there is already something
disabled which meantions problems with rounding. MAybe the same problem here.

Reported as T2701 to keep track of it an enable again once fixed.

ref T2701

9 years agoevas - gl common - make yuv gl textures double-bufffered like yuy2
Carsten Haitzler (Rasterman) [Mon, 31 Aug 2015 01:25:02 +0000 (10:25 +0900)]
evas - gl common - make yuv gl textures double-bufffered like yuy2

this pulls yuv in line with yuy2 textures and dobule buffers them.
this is a workaround some driver bugs where either the driver doesnt
block and wait for the gpu to finish with a texture when updating OR
it does wait, and when it does it blocks and spins using cpu.

9 years agoecore win32: increase command buffer size.
ChunEon Park [Sat, 29 Aug 2015 07:59:19 +0000 (16:59 +0900)]
ecore win32: increase command buffer size.

PATH_MAX is not enough for command.
Even in this case, the buffer is not being used only for path.

9 years agoecore win32: modifiy to better meaningful exception.
ChunEon Park [Sat, 29 Aug 2015 07:46:22 +0000 (16:46 +0900)]
ecore win32: modifiy to better meaningful exception.

9 years agoeina: cpu - fix a typo in eina_cpu_count API doc
Amitesh Singh [Sat, 29 Aug 2015 02:31:10 +0000 (08:01 +0530)]
eina: cpu - fix a typo in eina_cpu_count API doc

9 years agoemile jpeg: more descriptive comment.
ChunEon Park [Fri, 28 Aug 2015 15:59:06 +0000 (00:59 +0900)]
emile jpeg: more descriptive comment.

9 years agoemile: fix can not parsing the EXIF info of the jpeg file which has IFD offset
jiin.moon [Fri, 28 Aug 2015 15:47:43 +0000 (00:47 +0900)]
emile: fix can not parsing the EXIF info of the jpeg file which has IFD offset

Summary:
IFD offset of jpeg is not fixed.
But emile support only 0x8 on now

Reviewers: jypark, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3000

9 years agoevas_canvas3d: Recalculation coordinates for pick object from scene
Oleksandr Shcherbina [Fri, 28 Aug 2015 11:32:45 +0000 (20:32 +0900)]
evas_canvas3d: Recalculation coordinates for pick object from scene

Summary:
Change recalculation coordinate for pick to depend on size of viewport, not from
scene data.
Due to not correct working pick in case resize view window.
@fix

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2950

9 years agoEina rectangle: Check for valid rectangle before taking intersection
Subodh Kumar [Fri, 28 Aug 2015 07:27:21 +0000 (16:27 +0900)]
Eina rectangle: Check for valid rectangle before taking intersection

Summary:
Check for valid rectangle

If any dst or src rectangle has zero width or height,
intersection should not return true.

@fix

Test Plan: Added test cases

Reviewers: cedric, herdsman, Hermet

Reviewed By: Hermet

Subscribers: shilpasingh, cedric

Differential Revision: https://phab.enlightenment.org/D2990