Srivardhan Hebbar [Wed, 23 Sep 2015 21:03:27 +0000 (14:03 -0700)]
ecore_exe: fix memory leak on realloc.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3091
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Wed, 23 Sep 2015 19:43:09 +0000 (12:43 -0700)]
ecore_example: fix file name in the example's comment.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3089
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Wed, 23 Sep 2015 19:42:18 +0000 (12:42 -0700)]
ecore_con: preventing possible NULL pointer dereference.
Summary:
Checking if client is NULL before freeing is not of much use. If it is NULL, it would have crashed before when it was dereferenced in printf. So checking NULL before dereferencing.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3088
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Wed, 23 Sep 2015 19:33:49 +0000 (12:33 -0700)]
edje: fix internal colorclass field
Summary:
Its value is never modified directly and should not be modifiled by mistake
in future.
@fix
Reviewers: Hermet, raster, reutskiy.v.v, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3104
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Wed, 23 Sep 2015 16:17:50 +0000 (17:17 +0100)]
eolian: preliminary doc dependency detection for external files
This doesn't quite work yet as path sanitization needs to be done for it to
work correctly. For now this code path is disabled and will be enabled once
all paths are correctly sanitized.
Boram Park [Wed, 23 Sep 2015 13:23:21 +0000 (09:23 -0400)]
ecore_buffer: abort if wl_display_dispatch returns negative value
Summary:
If the connection between server and client has problems, wl_display_dispatch
an return negative value. i.e. when enlightenment has been killed accidently.
In this case, app can enter into infinite loop.
Signed-off-by: Boram Park <boram1288.park@samsung.com>
Reviewers: stefan_schmidt, zmike, gwanglim, raster, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3078
Boram Park [Wed, 23 Sep 2015 13:22:29 +0000 (09:22 -0400)]
ecore_wl: abort if wl_display_dispatch returns negative value
Summary:
If the connection between server and client has problems, wl_display_dispatch
an return negative value. i.e. when enlightenment has been killed accidently.
In this case, app can enter into infinite loop.
Signed-off-by: Boram Park <boram1288.park@samsung.com>
Reviewers: stefan_schmidt, zmike, gwanglim, raster, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3077
Ji-Youn Park [Wed, 23 Sep 2015 06:34:02 +0000 (15:04 +0830)]
ecore_evas_extn: remove old buffer in evas render post function.
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
Jaehwan Kim [Wed, 23 Sep 2015 06:22:44 +0000 (15:22 +0900)]
edje_edit: remove a redundant API declaration.
edje_edit_state_font_get has twice declaration in same header file.
Carsten Haitzler (Rasterman) [Wed, 23 Sep 2015 05:03:33 +0000 (14:03 +0900)]
evas gl engines - remove TIMDBG code that is unused entirely
Thiep Ha [Wed, 23 Sep 2015 00:19:59 +0000 (09:19 +0900)]
eldbus: add dbus_pending NULL check
Summary:
When we call dbus_connection_send_with_reply, the dbus_pending
can be NULL. In this case, the next call dbus_pending_call_set_notify
will cause application crash.
We should check if dbus_pending is NULL before calling dbus API.
@fix
Reviewers: cedric
Subscribers: englebass, cedric, seoz
Differential Revision: https://phab.enlightenment.org/D3081
Mike Blumenkrantz [Tue, 22 Sep 2015 17:20:06 +0000 (13:20 -0400)]
edje: return immediately when deleting a color class if no users exist
Tom Hacohen [Tue, 22 Sep 2015 14:45:04 +0000 (15:45 +0100)]
Ector software gradient: Fix cast from integer to pointer of wrong type.
When casting pointer<->int, always use uintptr_t, not just int.
@fix
Mykyta Biliavskyi [Tue, 22 Sep 2015 14:12:47 +0000 (15:12 +0100)]
Edje_entry: emit "cursor,changed,manual" for Home/End/PgUp/PgDown.
Summary:
The keys Home/End/PgUp/PgDown are changes the entry cursor
position in the same way as arrow keys. For unified behavior
callback "cursor,changed,manual", added emitting signal for
those keys events.
Reviewers: tasn, cedric, herdsman, thiepha
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3055
Carsten Haitzler (Rasterman) [Tue, 22 Sep 2015 09:48:17 +0000 (18:48 +0900)]
evas sw generic - comment NULL methods so we know what they should be
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:48:07 +0000 (16:48 +0300)]
edje: edje_edit - add getters/setters for a container item spans
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:12:56 +0000 (16:12 +0300)]
edje: edje_edit - add getters/setters for a container item position
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's
Vyacheslav Reutskiy [Mon, 21 Sep 2015 13:07:36 +0000 (16:07 +0300)]
edje: edje_edit - add getters/setters for container align
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.
Vyacheslav Reutskiy [Mon, 21 Sep 2015 12:47:27 +0000 (15:47 +0300)]
edje: edje_edit - add getters/setters for container padding
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.
Vyacheslav Reutskiy [Mon, 21 Sep 2015 07:25:24 +0000 (10:25 +0300)]
edje: edje_edit - add getters/setters for min container size
This functions designed that make the edje edit API's more
homogeneous. The all edje attribute setters and getters
treated only ony attribute, besides container API's.
TODO:
* separate edje_edit_state_container_padding_get/set
* separate edje_edit_state_container_align_set/set
* separate edje_edit_part_item_position_get/set
* separate edje_edit_part_item_span_get/set
Cedric BAIL [Mon, 21 Sep 2015 22:13:34 +0000 (00:13 +0200)]
eio: add kevent backend.
Summary: Implement basic kqueue/kevent backend for eio. When it comes to tracking directory changes, this backend falls back to the polling one.
Test Plan: Ran Enlightenment for several days and some other EFL apps without any issue.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Projects: #e_on_freebsd, #efl
Differential Revision: https://phab.enlightenment.org/D2983
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 21 Sep 2015 22:06:02 +0000 (00:06 +0200)]
ecore_x: fixing memory leak on realloc.
Summary:
If realloc fails, it returns NULL. Then whatever the memory the ignore_list was pointing to would be leaked. So freeing it now.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3012
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Lukasz Stanislawski [Mon, 21 Sep 2015 22:04:35 +0000 (00:04 +0200)]
eldbus: fix broken fallback interface.
Summary:
Previous implementation assumed that fallback interface path should be changed
on every method call. This is generally not needed since real request
path can be obtained directly from dbus message passed as method call
paremeter.
This patch reverts this behaviour and additionally fix broken Property and Introspect
interface handling of fallback interface.
Reviewers: raster, lucasdemarchi, cedric
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D3016
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Shilpa Singh [Mon, 21 Sep 2015 21:48:16 +0000 (23:48 +0200)]
eina_tmpstr: add eina_tmpstr_strftime
Summary:
@feature
Test Plan:
eina_tmpstr_strftime API can be used to create a temporary string
which is updated with strftime output
eina_tmpstr_steal can be used to get actual string set in eina_tmpstr
Reviewers: cedric
Subscribers: rajeshps, cedric, govi
Differential Revision: https://phab.enlightenment.org/D3048
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Mon, 21 Sep 2015 21:46:27 +0000 (23:46 +0200)]
edje_edit: remove save from group_del and group_copy
Summary:
edje_edit_save_all includes source code generation that is way more expensive
than save itself. User should be able to save manually with or without sources
Reviewers: cedric, Hermet, seoz, reutskiy.v.v
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3051
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
jiin.moon [Mon, 21 Sep 2015 21:44:49 +0000 (23:44 +0200)]
emile: fix can not check ifd offset of jpeg in MM(little endian) format
IFD offset is 4 byte.
But just one byte is checked for it in previous patch.
Reviewers: Hermet, jypark, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3053
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Mon, 21 Sep 2015 21:41:25 +0000 (23:41 +0200)]
evas_canvas3d: sets for shadow rendering
Summary:
Add possibility change quality and offsets for shadow.
Add mesh API's to sets size, step and bias constant.
Add scene API to sets depth values.
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3056
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Thomas Guillem [Mon, 21 Sep 2015 21:24:18 +0000 (23:24 +0200)]
emotion: lock pending events and pending objects
Summary:
_emotion_pending_ecore_begin and _emotion_pending_ecore_end are not called from
the same thread. Indeed, _emotion_pending_ecore_begin is called from gstreamer
callbacks, and _emotion_pending_ecore_end is called from the mainloop.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3061
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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>
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>
Cedric BAIL [Mon, 21 Sep 2015 21:04:19 +0000 (23:04 +0200)]
edje: remove unused variable and simplify function prototype.
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>
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.
Cedric BAIL [Tue, 15 Sep 2015 05:36:00 +0000 (07:36 +0200)]
ector: fix cairo backend to properly multiply gradient color.
@fix
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.
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>
Cedric BAIL [Sat, 12 Sep 2015 05:31:49 +0000 (07:31 +0200)]
ector: cleanup default backend drawer.
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>
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>
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>
Daniel Kolesa [Mon, 21 Sep 2015 14:26:41 +0000 (15:26 +0100)]
eolian: split tokens/keywords for cleaner indexing
ChunEon Park [Mon, 21 Sep 2015 12:00:16 +0000 (21:00 +0900)]
ecore_x: fix the memory leak.
@fix
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.
ChunEon Park [Mon, 21 Sep 2015 10:59:48 +0000 (19:59 +0900)]
ecore_x: remove dead code.
remove ridiculous code.
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
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.
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.
Carsten Haitzler (Rasterman) [Mon, 21 Sep 2015 02:05:58 +0000 (11:05 +0900)]
evas - fix whitespace in code
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.
Amitesh Singh [Sat, 19 Sep 2015 03:54:58 +0000 (09:24 +0530)]
fix typos in API doc
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
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.
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!
Daniel Kolesa [Wed, 16 Sep 2015 13:24:16 +0000 (14:24 +0100)]
eolian/generator: support for more paragraph tags
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.
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.
Daniel Kolesa [Mon, 14 Sep 2015 13:10:32 +0000 (14:10 +0100)]
eolian/generator: generation of doxygen @note and @warning tags
@feature
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.
Carsten Haitzler (Rasterman) [Fri, 11 Sep 2015 07:11:21 +0000 (16:11 +0900)]
evas render2 - more work on fleshing it out a bit
Daniel Kolesa [Fri, 11 Sep 2015 12:37:53 +0000 (13:37 +0100)]
eina_thread: non-linux fixes following latest changes
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
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!
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
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.
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.
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>
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>
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
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>
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
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
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
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>
Stefan Schmidt [Mon, 7 Sep 2015 13:52:35 +0000 (15:52 +0200)]
evas examples: avoid shadowing a global variable in a function
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
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
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
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.
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
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
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.
Boris Faure [Sat, 5 Sep 2015 11:56:01 +0000 (13:56 +0200)]
update mailmap
Stefan Schmidt [Fri, 4 Sep 2015 12:19:39 +0000 (14:19 +0200)]
edje_cc: 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
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.
Stefan Schmidt [Fri, 4 Sep 2015 12:09:50 +0000 (14:09 +0200)]
ector: software: 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
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
Tom Hacohen [Fri, 4 Sep 2015 11:30:28 +0000 (12:30 +0100)]
Remove TODO-eo2 file.
This should never have gotten in.
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.
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
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.
Jean-Philippe Andre [Thu, 3 Sep 2015 07:36:32 +0000 (16:36 +0900)]
evas_render: print out context clip with REND_DBG
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?
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.
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.
Jean-Philippe Andre [Tue, 1 Sep 2015 11:47:40 +0000 (20:47 +0900)]
evas_render: moar debug (REND_DBG)
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
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.
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.