platform/upstream/efl.git
11 years agoevil: returned the good value for mkstemp
Cedric Bail [Tue, 25 Jun 2013 03:16:36 +0000 (12:16 +0900)]
evil: returned the good value for mkstemp

Added back some needed defines for elementary (was in evil 1.7.7).

11 years agoeet: move the dependency for crypto.
Cedric Bail [Tue, 25 Jun 2013 03:16:03 +0000 (12:16 +0900)]
eet: move the dependency for crypto.

11 years agoedje: leak is gone, so use it again.
Cedric Bail [Tue, 25 Jun 2013 02:44:38 +0000 (11:44 +0900)]
edje: leak is gone, so use it again.

11 years agoevas: one LRU for both image open with filename or Eina_File to fix infinite increase...
Cedric Bail [Tue, 25 Jun 2013 02:42:14 +0000 (11:42 +0900)]
evas: one LRU for both image open with filename or Eina_File to fix infinite increase of cache.

11 years agoedje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.
Ryuan Choi [Tue, 25 Jun 2013 01:37:59 +0000 (10:37 +0900)]
edje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.

11 years agoefreet: Init no longer fails without dbus session
Sebastian Dransfeld [Tue, 25 Jun 2013 02:32:26 +0000 (04:32 +0200)]
efreet: Init no longer fails without dbus session

Allow programs to use efreet without requiering a dbus session. This
gives limited functionality, as efreet_icon wont work without a cache.
efreet_desktop will partially work, as it reads info from files directly
if cache is missing.

11 years agoecore_imf: Add support for wayland
Jan Arne Petersen [Wed, 17 Apr 2013 09:59:46 +0000 (11:59 +0200)]
ecore_imf: Add support for wayland

Add an input method module supporting the Wayland input method protocol.

In v2:
 - Missing call to ecore_wl_shutdown() in im_module_shutdown()
 - Access the already stored 'wayland globals' with ecore_wl_globals_get()
 - Fixed compilation by adding -I(top_srcdir)/src/efl to CFLAGS
 - EFL formatting fixes

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
11 years agoevas: fix crash after font rehint
Jean-Philippe Andre [Mon, 24 Jun 2013 12:28:27 +0000 (14:28 +0200)]
evas: fix crash after font rehint

11 years agoPort cedric's async uploading GL texture commit to wayland_egl engine.
Chris Michael [Mon, 24 Jun 2013 09:14:21 +0000 (10:14 +0100)]
Port cedric's async uploading GL texture commit to wayland_egl engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoMake gl_x11 compile again
Chris Michael [Mon, 24 Jun 2013 08:27:14 +0000 (09:27 +0100)]
Make gl_x11 compile again
eglSwap|BuffersRegion was replaced with eglSwapBuffersWithDamage.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove call to wl_display_get_serial as it's a server-side function,
Chris Michael [Mon, 24 Jun 2013 08:15:34 +0000 (09:15 +0100)]
Remove call to wl_display_get_serial as it's a server-side function,
not client-side.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUse wl_display_get_serial when creating popups.
Chris Michael [Fri, 14 Jun 2013 08:21:43 +0000 (09:21 +0100)]
Use wl_display_get_serial when creating popups.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoefl: fix systemd spelling.
Doug Newgard [Mon, 24 Jun 2013 02:52:57 +0000 (11:52 +0900)]
efl: fix systemd spelling.

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agoevas: add mutex locking before signalling for the condition variable and releasing...
Rajeev Ranjan [Mon, 24 Jun 2013 02:50:08 +0000 (11:50 +0900)]
evas: add mutex locking before signalling for the condition variable and releasing afterwards.

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agoevas: add support for asynchronously uploading GL texture.
Cedric Bail [Mon, 24 Jun 2013 02:41:32 +0000 (11:41 +0900)]
evas: add support for asynchronously uploading GL texture.

NOTE: when using Evas_Object image preload infrastructure the GL texture
upload was uploaded from the main loop during the rendering stage. This
could lead to some frame drop during fast animation due to the time needed
to upload that texture.

This patch fix this problem by uploading a small texture quickly (16x16)
and waiting for going back to the main loop to be able to use the same GL
context from another thread to do the texture upload asynchronously without
blocking the main loop.

11 years agoefreet: don't try change permissions on runtime dir we don't own.
Carsten Haitzler (Rasterman) [Mon, 24 Jun 2013 03:00:30 +0000 (12:00 +0900)]
efreet: don't try change permissions on runtime dir we don't own.

11 years agoFix compiler warning about uninitialized variables
Christopher [Sun, 23 Jun 2013 11:53:53 +0000 (12:53 +0100)]
Fix compiler warning about uninitialized variables

Signed-off-by: Christopher <devilhorns@comcast.net>
11 years agoeldbus: error message iters should be initted as readonly.
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 11:15:44 +0000 (20:15 +0900)]
eldbus: error message iters should be initted as readonly.

11 years ago[Edje_Entry] Move cursor to correct position when selection handlers are pressed.
Thiep Ha [Sat, 22 Jun 2013 03:29:28 +0000 (12:29 +0900)]
[Edje_Entry] Move cursor to correct position when selection handlers are pressed.

+ Main cursor should be moved to selection start or selection end
cursor's position when selection handlers are pressed.
+ Fix my mistake in signal emit for end handler mouse down event.

Conflicts:

ChangeLog
NEWS

11 years agoevas: remove segv added by cedric fastpath optimization
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 01:58:03 +0000 (10:58 +0900)]
evas: remove segv added by cedric fastpath optimization

11 years agoefreet: Use end cb of thread to run cb
Sebastian Dransfeld [Fri, 21 Jun 2013 10:55:51 +0000 (12:55 +0200)]
efreet: Use end cb of thread to run cb

11 years agoefreet menu cbs don't return a value and take const data params
Mike Blumenkrantz [Fri, 21 Jun 2013 08:50:03 +0000 (09:50 +0100)]
efreet menu cbs don't return a value and take const data params

11 years agoefreet: Add data to async request
Sebastian Dransfeld [Fri, 21 Jun 2013 08:39:40 +0000 (10:39 +0200)]
efreet: Add data to async request

11 years agoefreetd: log to file
Sebastian Dransfeld [Fri, 21 Jun 2013 08:32:18 +0000 (10:32 +0200)]
efreetd: log to file

Since it is started as a service

11 years agoefreet: Create cache dir in efreet_cache_init
Sebastian Dransfeld [Fri, 21 Jun 2013 08:00:20 +0000 (10:00 +0200)]
efreet: Create cache dir in efreet_cache_init

efreetd used efreet functions before efreet init which fails.

11 years agoefreet: Low priority for cache rebuild
Sebastian Dransfeld [Thu, 20 Jun 2013 11:53:54 +0000 (13:53 +0200)]
efreet: Low priority for cache rebuild

11 years agoefl: formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 11:28:18 +0000 (13:28 +0200)]
efl: formatting

11 years agoefreet: Create a temp XDG_RUNTIME_DIR if not set
Sebastian Dransfeld [Thu, 20 Jun 2013 11:27:20 +0000 (13:27 +0200)]
efreet: Create a temp XDG_RUNTIME_DIR if not set

Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700

11 years agoefl: formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 11:08:36 +0000 (13:08 +0200)]
efl: formatting

11 years agoevas: Keep sane name for public header
Sebastian Dransfeld [Thu, 20 Jun 2013 10:53:29 +0000 (12:53 +0200)]
evas: Keep sane name for public header

Evas_Common.h should be used for the public header, and rather rename
evas_common.h internal header to another name.

Sa:
Evas_Common_Header.h -> Evas_Common.h
evas_common.h -> evas_common_private.h

Shouldn't have both Evas_Common.h and evas_common.h because of case
insensitive filesystems.

11 years agoefreet: @since
Sebastian Dransfeld [Thu, 20 Jun 2013 09:57:23 +0000 (11:57 +0200)]
efreet: @since

11 years agoefreet: Add async menu parsing
Sebastian Dransfeld [Thu, 20 Jun 2013 09:56:15 +0000 (11:56 +0200)]
efreet: Add async menu parsing

11 years agoefreet: Make _path_to_file_id threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:55:38 +0000 (11:55 +0200)]
efreet: Make _path_to_file_id threadsafe

11 years agoefreet: Make desktop cache threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:52:43 +0000 (11:52 +0200)]
efreet: Make desktop cache threadsafe

11 years agoefreet: Make efreet_desktop threadsafe
Sebastian Dransfeld [Thu, 20 Jun 2013 09:29:28 +0000 (11:29 +0200)]
efreet: Make efreet_desktop threadsafe

11 years agoefreet: Formatting
Sebastian Dransfeld [Thu, 20 Jun 2013 09:14:25 +0000 (11:14 +0200)]
efreet: Formatting

11 years agoefreet: Release log domain on evil error
Sebastian Dransfeld [Thu, 20 Jun 2013 09:12:54 +0000 (11:12 +0200)]
efreet: Release log domain on evil error

11 years agoefreet: doc fixes
Sebastian Dransfeld [Thu, 20 Jun 2013 08:58:53 +0000 (10:58 +0200)]
efreet: doc fixes

11 years agoefreet: Reorganize file
Sebastian Dransfeld [Thu, 20 Jun 2013 08:26:11 +0000 (10:26 +0200)]
efreet: Reorganize file

11 years agoefreet: Init variables in init
Sebastian Dransfeld [Thu, 20 Jun 2013 08:00:19 +0000 (10:00 +0200)]
efreet: Init variables in init

Make functions threadsafe

11 years agoefreet: Init efreet_menu_prefix in init
Sebastian Dransfeld [Thu, 20 Jun 2013 07:58:41 +0000 (09:58 +0200)]
efreet: Init efreet_menu_prefix in init

Makes efreet_menu_prefix access threadsafe

11 years agoefreet: Remove static variable
Sebastian Dransfeld [Wed, 19 Jun 2013 12:45:13 +0000 (14:45 +0200)]
efreet: Remove static variable

11 years agoefreet: Remove static variable
Sebastian Dransfeld [Wed, 19 Jun 2013 12:21:34 +0000 (14:21 +0200)]
efreet: Remove static variable

11 years agoefreet: Improve eina hash usage
Sebastian Dransfeld [Wed, 19 Jun 2013 11:46:56 +0000 (13:46 +0200)]
efreet: Improve eina hash usage

eina_hash_del + eina_hash_add = eina_hash_set

11 years agocserve2: fix minor memleaks with fonts
Jean-Philippe Andre [Thu, 20 Jun 2013 05:38:42 +0000 (14:38 +0900)]
cserve2: fix minor memleaks with fonts

Leaks happen when fonts fail to load

11 years agocserve2: add more error debug for font loading
Jean-Philippe Andre [Wed, 19 Jun 2013 06:48:30 +0000 (15:48 +0900)]
cserve2: add more error debug for font loading

11 years agocserve2: Handle interrupts when failing to read from server
Jean-Philippe Andre [Thu, 20 Jun 2013 05:11:32 +0000 (14:11 +0900)]
cserve2: Handle interrupts when failing to read from server

If we don't do that, the client will end up in an infinite loop
from where it just can't exit, if the server is dead/stuck.

11 years agocserve2: prevent infinite loop during connection
Jean-Philippe Andre [Tue, 18 Jun 2013 11:50:17 +0000 (20:50 +0900)]
cserve2: prevent infinite loop during connection

In case of EACCESS, there is no point trying forever
In case of EINTR (interrupt), we can consider for now
that any signal will prevent the use of cserve2.
If we don't do that, Ctrl+C simply won't work :)

11 years agoevas: fix texture allocation bugs.
Cedric Bail [Thu, 20 Jun 2013 08:30:21 +0000 (17:30 +0900)]
evas: fix texture allocation bugs.

11 years agoevas: fast path for map with same color on all corner.
Cedric Bail [Wed, 19 Jun 2013 06:18:41 +0000 (15:18 +0900)]
evas: fast path for map with same color on all corner.

11 years agomore descriptive error message in eldbus when property fetching fails
Mike Blumenkrantz [Thu, 20 Jun 2013 07:13:25 +0000 (08:13 +0100)]
more descriptive error message in eldbus when property fetching fails

11 years agoDont need the ret variable unless we are actually going to use it.
Chris Michael [Thu, 20 Jun 2013 03:33:41 +0000 (04:33 +0100)]
Dont need the ret variable unless we are actually going to use it.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoinform users when eldbus-codegen is cowardly refusing to generate code
Mike Blumenkrantz [Wed, 19 Jun 2013 10:18:17 +0000 (11:18 +0100)]
inform users when eldbus-codegen is cowardly refusing to generate code

11 years agouse sizeof for eldbus-codegen internal define lengths
Mike Blumenkrantz [Wed, 19 Jun 2013 10:09:01 +0000 (11:09 +0100)]
use sizeof for eldbus-codegen internal define lengths

11 years agos/LENGHT/LENGTH
Mike Blumenkrantz [Wed, 19 Jun 2013 10:08:10 +0000 (11:08 +0100)]
s/LENGHT/LENGTH

11 years agoevas: fix clang compilation.
Cedric Bail [Tue, 18 Jun 2013 04:32:00 +0000 (13:32 +0900)]
evas: fix clang compilation.

11 years agoevas: reduce memory footprint taken by Evas_Object_Table callbacks setup.
Cedric Bail [Tue, 18 Jun 2013 02:43:16 +0000 (11:43 +0900)]
evas: reduce memory footprint taken by Evas_Object_Table callbacks setup.

This reduce by 50K elemines memory use on 32bits system.

11 years agoevas: reduce memory usage by using Eo array of callbacks.
Cedric Bail [Tue, 18 Jun 2013 02:34:31 +0000 (11:34 +0900)]
evas: reduce memory usage by using Eo array of callbacks.

Reduce usage by 100K on my test on Elementary test, likely better with 64bits system.

11 years agoOoops, missing on "get_pixles" --> "pixels_get" conversion
Chris Michael [Mon, 17 Jun 2013 22:37:18 +0000 (23:37 +0100)]
Ooops, missing on "get_pixles" --> "pixels_get" conversion

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoFix render engine function "get_pixels" to be "pixels_get" (EFL
Chris Michael [Mon, 17 Jun 2013 22:33:49 +0000 (23:33 +0100)]
Fix render engine function "get_pixels" to be "pixels_get" (EFL
prefers verbs to be last for function declarations).

Also, remove unnecessary if block which was checking for the
Render_Engine pixels_get function as it was previously checked for in
the 'if' above.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoFormatting fixes
Chris Michael [Mon, 17 Jun 2013 22:32:20 +0000 (23:32 +0100)]
Formatting fixes

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoRemove 'hack' which worked around a Weson bug wrt pointer setting
Chris Michael [Mon, 17 Jun 2013 22:20:58 +0000 (23:20 +0100)]
Remove 'hack' which worked around a Weson bug wrt pointer setting
during dnd operations (by setting surface_user_data to buffer)

NB: This bug was fixed in Weston, so this workaround is not needed
anymore

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoDon't crash when window is null (for mouse_down comparison)
Chris Michael [Mon, 17 Jun 2013 22:20:32 +0000 (23:20 +0100)]
Don't crash when window is null (for mouse_down comparison)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoDebug--
Chris Michael [Mon, 17 Jun 2013 22:19:41 +0000 (23:19 +0100)]
Debug--

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoFix formatting
Chris Michael [Mon, 17 Jun 2013 06:07:22 +0000 (07:07 +0100)]
Fix formatting

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoeo_class_new: reorder last operations in class creation
Jérémy Zurcher [Mon, 17 Jun 2013 22:08:58 +0000 (00:08 +0200)]
eo_class_new: reorder last operations in class creation

11 years agoeo_class_new: pack ext data offsets at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:48:22 +0000 (23:48 +0200)]
eo_class_new: pack ext data offsets at the end of _Eo_Class

11 years agoeo_class_new: speed up mixins offset table creation
Jérémy Zurcher [Mon, 17 Jun 2013 21:47:15 +0000 (23:47 +0200)]
eo_class_new: speed up mixins offset table creation

11 years agoeo_class_new: check parent and desc before doing anything
Jérémy Zurcher [Mon, 17 Jun 2013 21:41:45 +0000 (23:41 +0200)]
eo_class_new: check parent and desc before doing anything

11 years agoeo_class_new: pack mro at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:41:02 +0000 (23:41 +0200)]
eo_class_new: pack mro at the end of _Eo_Class

11 years agoeo_class_new: remove duplicates in extensions as well as in mro
Jérémy Zurcher [Mon, 17 Jun 2013 21:38:04 +0000 (23:38 +0200)]
eo_class_new: remove duplicates in extensions as well as in mro

11 years agoeo_class_new: pack extensions at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:35:48 +0000 (23:35 +0200)]
eo_class_new: pack extensions at the end of _Eo_Class

11 years agoeo_class_new: add and use _eo_class_sz
Jérémy Zurcher [Mon, 17 Jun 2013 21:33:19 +0000 (23:33 +0200)]
eo_class_new: add and use _eo_class_sz

11 years agoeo_class_new: replace class field extn_data_size with obj_size
Jérémy Zurcher [Mon, 17 Jun 2013 21:32:50 +0000 (23:32 +0200)]
eo_class_new: replace class field extn_data_size with obj_size

11 years agoEvas: add partial rendering support for evasgl direct rendering
Sung W. Park [Mon, 17 Jun 2013 08:53:33 +0000 (17:53 +0900)]
Evas: add partial rendering support for evasgl direct rendering

Evas_GL Direct rendering is an optimization path that renders
directly to the window if conditions are met.  Because evas gl
backend used to re-render the entire screen, evas_gl direct
rendering didin't have to concern with partial region rendering.
Now that partial rendering/swapping has been applied to evas gl-
backend, evas_gl direct rendering also had to take into account
clip regions. in order to properly apply it, some adjustments
were made to the engine functions and etc.

11 years agoRevert "Saving evasgl direct partial rendering fix temporarily"
Sung W. Park [Mon, 17 Jun 2013 09:22:15 +0000 (18:22 +0900)]
Revert "Saving evasgl direct partial rendering fix temporarily"

This reverts commit e6359132debfedeceaabd3df11d9ce2d3bbe2e47.

11 years agoRevert "Touch for evas gl direct rendering partial rendering/swap fix."
Sung W. Park [Mon, 17 Jun 2013 09:22:04 +0000 (18:22 +0900)]
Revert "Touch for evas gl direct rendering partial rendering/swap fix."

This reverts commit 382ffbb4f522624f572dd41e537b07332bd154d4.

11 years agoRevert "Added Wayland fix for evas_gl direct fix"
Sung W. Park [Mon, 17 Jun 2013 09:21:55 +0000 (18:21 +0900)]
Revert "Added Wayland fix for evas_gl direct fix"

This reverts commit e1c238b1be5f942b59ab7b3a575a80a9f22109da.

11 years agoAdded Wayland fix for evas_gl direct fix
Sung W. Park [Mon, 17 Jun 2013 07:20:47 +0000 (16:20 +0900)]
Added Wayland fix for evas_gl direct fix

11 years agoTouch for evas gl direct rendering partial rendering/swap fix.
Sung W. Park [Tue, 11 Jun 2013 04:53:44 +0000 (13:53 +0900)]
Touch for evas gl direct rendering partial rendering/swap fix.

11 years agoSaving evasgl direct partial rendering fix temporarily
Sung W. Park [Thu, 6 Jun 2013 09:20:17 +0000 (18:20 +0900)]
Saving evasgl direct partial rendering fix temporarily

11 years agoedje: reduce memory footprint of edje callbacks.
Cedric Bail [Mon, 17 Jun 2013 07:55:22 +0000 (16:55 +0900)]
edje: reduce memory footprint of edje callbacks.

Divide by two the amount of memory used by callbacks in elementary_test.

11 years agoedje - fix typo
ChunEon Park [Sun, 16 Jun 2013 13:13:50 +0000 (22:13 +0900)]
edje - fix typo

11 years agoEvas_Common_Header.h: added textgrid to primitive evas object list.
Daniel Juyung Seo [Sun, 16 Jun 2013 13:06:33 +0000 (22:06 +0900)]
Evas_Common_Header.h: added textgrid to primitive evas object list.

11 years agoevas: optimization - handle if c1 == c2 for map interplated lines
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 12:32:15 +0000 (21:32 +0900)]
evas: optimization - handle if c1 == c2 for map interplated lines

11 years agoPort wayland_egl changes for swapbufferswithdamage to gl_x11
Chris Michael [Fri, 14 Jun 2013 11:30:17 +0000 (12:30 +0100)]
Port wayland_egl changes for swapbufferswithdamage to gl_x11

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoeglSwapBuffersWithDamage actually returns an EGLBoolean (unsigned
Chris Michael [Fri, 14 Jun 2013 11:25:24 +0000 (12:25 +0100)]
eglSwapBuffersWithDamage actually returns an EGLBoolean (unsigned
int), so fix.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoevas: fix possible seg with font glyphs from font instance in glyph array with no...
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 10:55:53 +0000 (19:55 +0900)]
evas: fix possible seg with font glyphs from font instance in glyph array with no refcounting.

11 years agoFormatting fix for 80 columns...Spankies !! ;)
Chris Michael [Fri, 14 Jun 2013 10:41:55 +0000 (11:41 +0100)]
Formatting fix for 80 columns...Spankies !! ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoedje-codegen: Now really fix the mem leak without running into a double free.
Stefan Schmidt [Thu, 13 Jun 2013 13:28:07 +0000 (14:28 +0100)]
edje-codegen: Now really fix the mem leak without running into a double free.

The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.

11 years agoeina/mp/one_big: Add a comment to clarify why we do not memset the complete memory.
Stefan Schmidt [Fri, 14 Jun 2013 08:56:55 +0000 (09:56 +0100)]
eina/mp/one_big: Add a comment to clarify why we do not memset the complete memory.

To avoid people getting confused over this code, like myself, add a comment
to clarify that only the elements need to be set to zero while the payload
does not matter here.

11 years agoevas/cserve2: remove garbage shm files during server init
Jean-Philippe Andre [Wed, 12 Jun 2013 06:04:01 +0000 (15:04 +0900)]
evas/cserve2: remove garbage shm files during server init

If server crashes or is forcefully killed, it will not
properly cleanup its shm files. So, some memory will be leaked pretty
badly.

11 years agoevas/cserve2: fix crash when shutting down cserve2
Jean-Philippe Andre [Fri, 14 Jun 2013 05:52:57 +0000 (14:52 +0900)]
evas/cserve2: fix crash when shutting down cserve2

If a slave is still alive during shutdown, then it will be killed
and the dead callback should be called. This would then trigger
a request failed callback on invalid data.
But there's no point in calling the dead_cb since we're shutting
down already.

11 years agoevas/cserve2: (shutdown) fix double free issue
Jean-Philippe Andre [Fri, 14 Jun 2013 05:38:21 +0000 (14:38 +0900)]
evas/cserve2: (shutdown) fix double free issue

glibc double free happens when shutting down cserve, while
requests are being processed. this is because the entry is
being deleted from the hash but the cancel request fails
(so it should be deleted again from the hash)

Another patch going to fix the double free.

11 years agoevas/cserve2: Handle SIGINT properly
Jean-Philippe Andre [Wed, 12 Jun 2013 10:31:37 +0000 (19:31 +0900)]
evas/cserve2: Handle SIGINT properly

11 years agoevas/cserve2: catch more signals and exit nicely
Jean-Philippe Andre [Wed, 12 Jun 2013 06:34:48 +0000 (15:34 +0900)]
evas/cserve2: catch more signals and exit nicely

Also, ignore USR1 and USR2.

11 years agoevas/cserve2: Add UID to shm file path
Jean-Philippe Andre [Wed, 12 Jun 2013 04:45:17 +0000 (13:45 +0900)]
evas/cserve2: Add UID to shm file path

+ Improve debug for corner case (never happened)

11 years agoevas/cserve2: Check for errors in evas sw engine
Jean-Philippe Andre [Fri, 31 May 2013 04:59:04 +0000 (13:59 +0900)]
evas/cserve2: Check for errors in evas sw engine

11 years agoevas/cserve2: Close scaled images after drawing
Jean-Philippe Andre [Tue, 11 Jun 2013 03:55:04 +0000 (12:55 +0900)]
evas/cserve2: Close scaled images after drawing

11 years agoevas/cserve2: Fix crash in expedite test 23
Jean-Philippe Andre [Wed, 5 Jun 2013 07:11:13 +0000 (16:11 +0900)]
evas/cserve2: Fix crash in expedite test 23

Test 23: load lots of scaled images and draw them
Problem: cs2 fails to load more images at some point. (root cause to be fixed!)
After that, client expects some data, but there is none, so it segfaults.