platform/upstream/efl.git
11 years agoFix revision fetching when not using git.
Tom Hacohen [Fri, 1 Mar 2013 17:02:10 +0000 (17:02 +0000)]
Fix revision fetching when not using git.

11 years agoedje - updated edc.vim syntax
hermet [Fri, 1 Mar 2013 16:01:16 +0000 (01:01 +0900)]
edje - updated edc.vim syntax

11 years agoEo tests: when comparing logs, ignore anything below warnings.
Tom Hacohen [Fri, 1 Mar 2013 12:08:19 +0000 (12:08 +0000)]
Eo tests: when comparing logs, ignore anything below warnings.

Comparing all the debug messages is kinda crazy, so we just don't bother.

11 years agoecore/wayland: Adjust @since versions to 1.7.6.
Rafael Antognolli [Thu, 28 Feb 2013 21:17:26 +0000 (18:17 -0300)]
ecore/wayland: Adjust @since versions to 1.7.6.

Since these API's were backported to 1.7.6, we must fix the doc strings.

11 years agoAdd a new API to edbus to let it create an EDbus session from
davemds [Thu, 28 Feb 2013 19:33:29 +0000 (20:33 +0100)]
Add a new API to edbus to let it create an EDbus session from
an existing DBus connection.

This is needed by the python bindings, was done the same way
in edbus1, so it should fit here also

NOTE: I did not test this yet, and I'm not into the edbus code,
so I please who know the code to give a look. thanks

NOTE2: I don't think this need Changelog and stuff as we are probably
the only users of this function, let me know if i'm wrong

11 years agoEvas textblock: Fixed "high" text size adjustments for multiple paragraphs.
Tom Hacohen [Thu, 28 Feb 2013 16:48:09 +0000 (16:48 +0000)]
Evas textblock: Fixed "high" text size adjustments for multiple paragraphs.

11 years agoEvas textblock: Added proper size adjustments for "high" shaped texts.
Tom Hacohen [Thu, 28 Feb 2013 15:42:35 +0000 (15:42 +0000)]
Evas textblock: Added proper size adjustments for "high" shaped texts.

This adjusts the starting coords of the textblock to fit the shaped char of
the first line.

11 years agoecore_evas/wayland: Call _ecore_evas_wayland_resize on window configure.
Rafael Antognolli [Wed, 27 Feb 2013 22:12:58 +0000 (19:12 -0300)]
ecore_evas/wayland: Call _ecore_evas_wayland_resize on window configure.

This will update the edges info inside the Evas_Engine_Info, and make it
correctly resize to the top/left if needed.

Also call ecore_wl_window_buffer_attach() on the egl engine, since it's
needed after the ecore_wl_window_update_size().

11 years agoecore_evas/wayland: Update window size when receiving compositor event.
Rafael Antognolli [Wed, 27 Feb 2013 19:51:24 +0000 (16:51 -0300)]
ecore_evas/wayland: Update window size when receiving compositor event.

This will force the window to correctly update its size when the event
is received by the compositor, rather than just after an
ecore_evas_resize().

It fixes the window resizing of non-elementary applications, since
the elementary window already deals with such resize by calling
ecore_evas_resize.

11 years agoevas/wayland_shm: Add evas_swapper_reconfigure().
Rafael Antognolli [Wed, 27 Feb 2013 15:12:22 +0000 (12:12 -0300)]
evas/wayland_shm: Add evas_swapper_reconfigure().

This can be used to reconfigure a swapper to another size, without the
need to destroy the swapper itself.

Although the shm pool is not being reused even when reconfiguring to a
smaller size, it could easily be.

This change is done right now only to keep the dx and dy offsets of a
previously requested swapper, which were not still used.

11 years agofix edje program filters
Mike Blumenkrantz [Thu, 28 Feb 2013 11:32:43 +0000 (11:32 +0000)]
fix edje program filters

11 years agofix edje SPACER part custom states
Mike Blumenkrantz [Thu, 28 Feb 2013 09:16:46 +0000 (09:16 +0000)]
fix edje SPACER part custom states

11 years agoevas - updated doc.
ChunEon Park [Thu, 28 Feb 2013 07:55:11 +0000 (16:55 +0900)]
evas - updated doc.

11 years agoevas - use uppper case in the doc.
ChunEon Park [Thu, 28 Feb 2013 07:48:34 +0000 (16:48 +0900)]
evas - use uppper case in the doc.

11 years agoedje entry: set cursor position of selection start in selection mode
Jihoon Kim [Thu, 28 Feb 2013 06:08:00 +0000 (15:08 +0900)]
edje entry: set cursor position of selection start in selection mode

11 years agoAUTHORS: follow request to update by Paulo.
Cedric BAIL [Wed, 27 Feb 2013 23:55:20 +0000 (08:55 +0900)]
AUTHORS: follow request to update by Paulo.

11 years agoeina: eina_strlcat now work with NULL src.
Cedric BAIL [Wed, 27 Feb 2013 22:49:16 +0000 (07:49 +0900)]
eina: eina_strlcat now work with NULL src.

11 years agoemotion_test is now able to play streams from webcams (and other sources maybe)
davemds [Wed, 27 Feb 2013 21:49:34 +0000 (22:49 +0100)]
emotion_test is now able to play streams from webcams (and other sources maybe)

just run:
 emotion_test -w

11 years agoevas/common - scale sample code optimization
ChunEon Park [Wed, 27 Feb 2013 13:36:36 +0000 (22:36 +0900)]
evas/common - scale sample code optimization

11 years agoemotion: improve portability of Emotion Generic by using EFL more.
Cedric BAIL [Mon, 25 Feb 2013 00:32:58 +0000 (09:32 +0900)]
emotion: improve portability of Emotion Generic by using EFL more.

11 years agoecore: extend Ecore_Pipe API to make it more useful.
Cedric BAIL [Mon, 25 Feb 2013 00:32:27 +0000 (09:32 +0900)]
ecore: extend Ecore_Pipe API to make it more useful.

This make it possible to take over a pipe that was open in another process
and also prevent its destruction partially during exec.

11 years agoFix valid variable check.
Christopher Michael [Wed, 27 Feb 2013 10:19:06 +0000 (10:19 +0000)]
Fix valid variable check.

When doing double/triple buffering, and we go to merge the rectangles,
if we are triple buffering then we should not use the double-buffer
rectangles as a valid check for triple-buffer rectangles.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix incorrect variable check.
Christopher Michael [Wed, 27 Feb 2013 10:17:55 +0000 (10:17 +0000)]
Fix incorrect variable check.

When using swapping (double/triple), and we go to merge rectangles,
then we should check for a valid triple buffer (not double) before
trying to merge the 3rd buffer rectangles.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoevas/common - declare a var in function head.
ChunEon Park [Wed, 27 Feb 2013 05:43:34 +0000 (14:43 +0900)]
evas/common - declare a var in function head.

11 years agoevas/wayland_egl: Fix build error caused by wrong assignment.
Rafael Antognolli [Tue, 26 Feb 2013 14:18:53 +0000 (11:18 -0300)]
evas/wayland_egl: Fix build error caused by wrong assignment.

11 years agoefl: Fixes to support compiling with CFLAGS=-Werror
Henrique Dante de Almeida [Thu, 24 Jan 2013 18:57:42 +0000 (16:57 -0200)]
efl: Fixes to support compiling with CFLAGS=-Werror

This allows compiling with gcc 4.7.2 without errors (using the
default configuration).

11 years agoEvas: Fixed wrong EINA_UNUSED usage in the gl_x11 engine.
Christopher Michael [Tue, 26 Feb 2013 13:52:37 +0000 (13:52 +0000)]
Evas: Fixed wrong EINA_UNUSED usage in the gl_x11 engine.

11 years agoevas: Deal with double glShaderSource signature
Henrique Dante de Almeida [Wed, 30 Jan 2013 17:52:56 +0000 (15:52 -0200)]
evas: Deal with double glShaderSource signature

The function glShaderSource may have 2 signatures:
http://stackoverflow.com/questions/12586695/signature-difference-in-openglshadersource-between-opengl-es-2-revisions
http://www.opengl.org/sdk/docs/man/xhtml/glShaderSource.xml
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glShaderSource.xml

This patch changes all internal signatures to use the most restrictive signature.

11 years agoephysics: turn EPhysics_Body into a POD-type struct
Henrique Dante de Almeida [Tue, 29 Jan 2013 13:17:09 +0000 (11:17 -0200)]
ephysics: turn EPhysics_Body into a POD-type struct

EPhysics_Body is an Eina_Inlist, and Eina_Inlist iterator macros use
offsetof(). Since using offsetof in C++ classes is invalid,
EPhysics_Body must be a POD-type struct.

11 years agoethumb: Support strict aliasing rules in MD5 code
Henrique Dante de Almeida [Fri, 25 Jan 2013 16:46:05 +0000 (14:46 -0200)]
ethumb: Support strict aliasing rules in MD5 code

11 years agoevas: Fix PSD image loading
Henrique Dante de Almeida [Tue, 29 Jan 2013 13:32:44 +0000 (11:32 -0200)]
evas: Fix PSD image loading

11 years agoecore: Fix _ecore_glib_select
Henrique Dante de Almeida [Fri, 25 Jan 2013 13:01:56 +0000 (11:01 -0200)]
ecore: Fix _ecore_glib_select

This fixes a mutex allocated on stack, a race on GCond initialization
and use of deprecated functions: g_mutex_new() and friends were
deprecated in glib 2.32.

11 years agoevas: Fix buffer overflows on environment variables
Henrique Dante de Almeida [Mon, 28 Jan 2013 19:12:50 +0000 (17:12 -0200)]
evas: Fix buffer overflows on environment variables

11 years agoFix evas GL common engine to have a shader to do oversampling on
Carsten Haitzler (Rasterman) [Tue, 26 Feb 2013 13:05:19 +0000 (22:05 +0900)]
Fix evas GL common engine to have a shader to do oversampling on
downscaling. This makes quality much better and "at best"
equates to a 16 point sample (2x2 linear interpolation samples,
where a linear interpolation sample equates to a 2x2 sample).
This will have perfomance impact, but the quality is worth it and
makes it closer to software downscaling in quality. It supports
2x2, 2x1 and 1x2 oversampling. YUV not done, nor image mask
(font shaders not needed).

11 years agoadd .arcconfig for efl.
Carsten Haitzler (Rasterman) [Sat, 23 Feb 2013 13:27:19 +0000 (22:27 +0900)]
add .arcconfig for efl.

11 years agooops - still had printfs. remove.
Carsten Haitzler (Rasterman) [Thu, 21 Feb 2013 08:07:38 +0000 (17:07 +0900)]
oops - still had printfs. remove.

11 years agoEvas text: Fixed a bug with the (kinda) newly added text object ellipsis.
Tom Hacohen [Mon, 25 Feb 2013 15:39:32 +0000 (15:39 +0000)]
Evas text: Fixed a bug with the (kinda) newly added text object ellipsis.

There was a problem with bidi texts and ellipsis. The text would be trimmed
according to the visual position instead of the logical.

11 years agoEvas text: Added a test that shows how broken ellipsis is.
Tom Hacohen [Mon, 25 Feb 2013 15:22:04 +0000 (15:22 +0000)]
Evas text: Added a test that shows how broken ellipsis is.

11 years agoEvas text tests: Start shipping DejaVuSans with the test suite.
Tom Hacohen [Mon, 25 Feb 2013 14:58:22 +0000 (14:58 +0000)]
Evas text tests: Start shipping DejaVuSans with the test suite.

We can finally rely on having fonts in all cases (even when there's no
fontconfig) and we can also rely on specific sizing.

11 years agoEvas: Fixed wrong if in the x11 engine.
Christopher Michael [Mon, 25 Feb 2013 10:35:43 +0000 (10:35 +0000)]
Evas: Fixed wrong if in the x11 engine.

11 years ago* evas/cache: remove the freed worker from the pthread worker list when it's failed...
ChunEon Park [Mon, 25 Feb 2013 07:56:25 +0000 (16:56 +0900)]
* evas/cache: remove the freed worker from the pthread worker list when it's failed to create a new thread so as not to access it if a thread is working newly.

11 years agoevas/cache - formatting
ChunEon Park [Mon, 25 Feb 2013 07:24:08 +0000 (16:24 +0900)]
evas/cache - formatting

11 years agoevas/common - scale sample code refactoring. simpler and more effcient.
ChunEon Park [Sat, 23 Feb 2013 12:45:10 +0000 (21:45 +0900)]
evas/common - scale sample code refactoring. simpler and more effcient.

11 years agoMerge branch 'master' of ssh://git.enlightenment.org/core/efl
ChunEon Park [Sat, 23 Feb 2013 10:52:57 +0000 (19:52 +0900)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl

11 years agoedje/edc - add additional vim syntax keyword
ChunEon Park [Sat, 23 Feb 2013 10:51:43 +0000 (19:51 +0900)]
edje/edc - add additional vim syntax keyword

11 years agoecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event
Jihoon Kim [Sat, 23 Feb 2013 09:01:10 +0000 (18:01 +0900)]
ecore_imf_example: call ecore_imf_context_filter_event in mouse up/down event

11 years agoecore_imf_example: remove unused variable, fix warning
Jihoon Kim [Sat, 23 Feb 2013 08:59:29 +0000 (17:59 +0900)]
ecore_imf_example: remove unused variable, fix warning

11 years agoEdje entry fit: Set the min size according to the fitting as well.
Tom Hacohen [Fri, 22 Feb 2013 14:13:35 +0000 (14:13 +0000)]
Edje entry fit: Set the min size according to the fitting as well.

11 years agoEdje entry fit: Set the min/max sizes according to the fitting, not before.
Tom Hacohen [Fri, 22 Feb 2013 14:11:41 +0000 (14:11 +0000)]
Edje entry fit: Set the min/max sizes according to the fitting, not before.

11 years agoevas/common - return function as soon as possible.
chuneon.park [Fri, 22 Feb 2013 13:42:48 +0000 (22:42 +0900)]
evas/common - return function as soon as possible.

11 years agoevas/common - fix indentation
chuneon.park [Fri, 22 Feb 2013 13:40:34 +0000 (22:40 +0900)]
evas/common - fix indentation

11 years agoChangeLog: Fixed formatting. We don't use tab for ChangeLog. Ping tasn and cedric.
Daniel Juyung Seo [Fri, 22 Feb 2013 01:57:38 +0000 (10:57 +0900)]
ChangeLog: Fixed formatting. We don't use tab for ChangeLog. Ping tasn and cedric.

11 years agoEvas font: Fixed font run detection for some cases.
Tom Hacohen [Thu, 21 Feb 2013 14:59:27 +0000 (14:59 +0000)]
Evas font: Fixed font run detection for some cases.

There were issues for specific cases with 2 different fonts in the middle
of a run.

11 years agoEvas text: Fixed bug with the text object direction detection.
Tom Hacohen [Thu, 21 Feb 2013 13:39:37 +0000 (13:39 +0000)]
Evas text: Fixed bug with the text object direction detection.

11 years agoedje: let's fix the edje test to init/shutdown edje correctly.
Cedric BAIL [Thu, 21 Feb 2013 09:45:45 +0000 (18:45 +0900)]
edje: let's fix the edje test to init/shutdown edje correctly.

We have so much wonderfull tool, like git and make lcov-check. Sadly
we are lacking a tool to check their usage ! PEBKAC is still an issue.

11 years agoRevert "tests/edje: Disable edje mising file test until the needed header is commited."
Tom Hacohen [Thu, 21 Feb 2013 08:39:09 +0000 (08:39 +0000)]
Revert "tests/edje: Disable edje mising file test until the needed header is commited."

I added the file in the previous commit.

This reverts commit 251eac7d7a5c6d7f2e4fccac3c2240197b7c5aac.

11 years agoEdje tests: Added missing file.
Tom Hacohen [Thu, 21 Feb 2013 08:38:52 +0000 (08:38 +0000)]
Edje tests: Added missing file.

11 years agoeeze: fix build with recent Eina change.
Cedric BAIL [Thu, 21 Feb 2013 08:14:45 +0000 (17:14 +0900)]
eeze: fix build with recent Eina change.

11 years agoeeze: add back support for older system.
Cedric BAIL [Tue, 19 Feb 2013 04:33:41 +0000 (13:33 +0900)]
eeze: add back support for older system.

Support for older system that don't come with libmount or have
an older libmount. This is a backport from Eeze 1.7 tree. There
is no code change there.

11 years agoAdd ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to allow dnd
Carsten Haitzler (Rasterman) [Thu, 21 Feb 2013 07:49:10 +0000 (16:49 +0900)]
Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to allow dnd
to your own window (drop where u drag from). helpful for elm where dnd
src/dst are object based, so we talk dnd protocol to ourselves.

11 years agoRevert "Refactor evas_sw_xlib_outbuf to allocate less in case of rotations."
Stefan Schmidt [Wed, 20 Feb 2013 17:21:30 +0000 (17:21 +0000)]
Revert "Refactor evas_sw_xlib_outbuf to allocate less in case of rotations."

This reverts commit 139737247d563f53a064c7f4a025a89ed64c2983.

THis fix was completely wrong.

Conflicts:

ChangeLog

11 years agotests/edje: Disable edje mising file test until the needed header is commited.
Stefan Schmidt [Wed, 20 Feb 2013 09:11:07 +0000 (09:11 +0000)]
tests/edje: Disable edje mising file test until the needed header is commited.

I tried to get it from Tom's machine but I can't log in there. :)

11 years agoeina: make that test not depend on efl configuration.
Cedric BAIL [Wed, 20 Feb 2013 08:49:50 +0000 (17:49 +0900)]
eina: make that test not depend on efl configuration.

11 years agoFix ecore-x edid fetch to ftech 128, not 100 bytes.
Carsten Haitzler (Rasterman) [Wed, 20 Feb 2013 08:16:54 +0000 (17:16 +0900)]
Fix ecore-x edid fetch to ftech 128, not 100 bytes.

11 years agoedje: let's properly report that file doesn't exist.
Cedric BAIL [Wed, 20 Feb 2013 03:10:18 +0000 (12:10 +0900)]
edje: let's properly report that file doesn't exist.

11 years agoEdje tests: Added a failing test for the file doesn't exist issue.
Tom Hacohen [Tue, 19 Feb 2013 16:00:38 +0000 (16:00 +0000)]
Edje tests: Added a failing test for the file doesn't exist issue.

11 years agoedje file_set: _edje_object_orientation_inform should be in the Eo
Daniel Zaoui [Tue, 19 Feb 2013 15:49:41 +0000 (17:49 +0200)]
edje file_set: _edje_object_orientation_inform should be in the Eo
implementation, not just legacy

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
11 years agoEcore_x: Revert "don't filter out non-master pointers in xi2.2 support."
Tom Hacohen [Tue, 19 Feb 2013 15:09:32 +0000 (15:09 +0000)]
Ecore_x: Revert "don't filter out non-master pointers in xi2.2 support."

This actually breaks genlist selection.

This reverts commit 5adb2f1ae6766fb0880aba5a92fff4fa52d1402f.

11 years agoevas/wayland_shm: Remove x,y offsets from swapbuf related APIs.
Rafael Antognolli [Tue, 19 Feb 2013 12:56:39 +0000 (09:56 -0300)]
evas/wayland_shm: Remove x,y offsets from swapbuf related APIs.

These offsets can be calculated later during the resize operations.

11 years agoecore_evas/wayland_shm: Fixed window resize.
Rafael Antognolli [Mon, 18 Feb 2013 17:31:17 +0000 (14:31 -0300)]
ecore_evas/wayland_shm: Fixed window resize.

Using the server_allocation/allocation to determine the resize offset
was not completely precise, and causing the window to not always resize
correctly.

Additionally, calling evas_engine_info_set() on every resize step caused
the window content to blink and resize very slow, because the swap
buffer, swapper, and everything were being destroyed and recreated. Now
only the swapbuf_reconfigure is being called during the resize, which is
way faster.

11 years agoFix swapper to take resize edges into account.
Christopher Michael [Tue, 5 Feb 2013 14:16:27 +0000 (14:16 +0000)]
Fix swapper to take resize edges into account.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix function prototypes to take resize edges into account.
Christopher Michael [Tue, 5 Feb 2013 14:16:00 +0000 (14:16 +0000)]
Fix function prototypes to take resize edges into account.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix swapbuf setup to take resize edges into account.
Christopher Michael [Tue, 5 Feb 2013 14:15:41 +0000 (14:15 +0000)]
Fix swapbuf setup to take resize edges into account.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix function prototypes to take x & y as params. Fix functions to take x & y as param...
Christopher Michael [Tue, 5 Feb 2013 14:14:38 +0000 (14:14 +0000)]
Fix function prototypes to take x & y as params. Fix functions to take x & y as params (for resize edges).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix new shm engine to take resize edges into account.
Christopher Michael [Tue, 5 Feb 2013 14:14:17 +0000 (14:14 +0000)]
Fix new shm engine to take resize edges into account.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix swapper_setup function prototype to take x & y as params.
Christopher Michael [Tue, 5 Feb 2013 14:13:32 +0000 (14:13 +0000)]
Fix swapper_setup function prototype to take x & y as params.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoAdd x & y to Output buffer.
Christopher Michael [Tue, 5 Feb 2013 14:13:09 +0000 (14:13 +0000)]
Add x & y to Output buffer.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoRemove blank line.
Christopher Michael [Tue, 5 Feb 2013 13:23:14 +0000 (13:23 +0000)]
Remove blank line.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoAdd edges struct to engine information.
Christopher Michael [Tue, 5 Feb 2013 13:09:32 +0000 (13:09 +0000)]
Add edges struct to engine information.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFree any old input or opaque regions if they exist (regardless of the existance of...
Christopher Michael [Tue, 5 Feb 2013 12:51:38 +0000 (12:51 +0000)]
Free any old input or opaque regions if they exist (regardless of the existance of a surface).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoRemove old shm information from the private data structure.
Christopher Michael [Tue, 5 Feb 2013 12:49:20 +0000 (12:49 +0000)]
Remove old shm information from the private data structure.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix formatting.
Christopher Michael [Tue, 5 Feb 2013 12:48:25 +0000 (12:48 +0000)]
Fix formatting.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoRemove extra whitespace.
Christopher Michael [Tue, 5 Feb 2013 12:47:27 +0000 (12:47 +0000)]
Remove extra whitespace.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix possible memory leak.
Christopher Michael [Tue, 19 Feb 2013 11:39:52 +0000 (11:39 +0000)]
Fix possible memory leak.

Dynamic memory stored in 'ptr2' allocated through function 'malloc' at
line 653 can be lost at line 1022. Also there is one similar error on
line 1029.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoFix possible memory leak in eet_data_image_header_decode_cipher.
Christopher Michael [Tue, 19 Feb 2013 11:27:26 +0000 (11:27 +0000)]
Fix possible memory leak in eet_data_image_header_decode_cipher.

Dynamic memory stored in 'deciphered_d' allocated through function
'eet_decipher' at line 1385 can be lost at line 1408. Also there are 3
similar errors on line(s) 1427, 1430, 1450.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
11 years agoEdje entry: Fixed a fit issue with fitting even when disabled.
Tom Hacohen [Tue, 19 Feb 2013 11:46:21 +0000 (11:46 +0000)]
Edje entry: Fixed a fit issue with fitting even when disabled.

11 years agoEdje entry: Fixed some fit issues - only works well with single line textblocks.
Tom Hacohen [Tue, 19 Feb 2013 11:40:00 +0000 (11:40 +0000)]
Edje entry: Fixed some fit issues - only works well with single line textblocks.

I figured it's better to have single line textblocks working well, rather
than nothing working at all. This should now work with ellipsis as well.

11 years agoevas: yet the canvas can already be dead when we get to kill the object.
Cedric BAIL [Tue, 19 Feb 2013 10:37:57 +0000 (19:37 +0900)]
evas: yet the canvas can already be dead when we get to kill the object.

11 years agoevas: protect dead memory access.
Cedric BAIL [Tue, 19 Feb 2013 10:16:58 +0000 (19:16 +0900)]
evas: protect dead memory access.

Since the move to Eo, we no do unref objects after destroying the name
hash. So we need to take that into account when looking at the hash.

11 years agogit: let's not track coverage result to.
Cedric BAIL [Tue, 19 Feb 2013 09:56:47 +0000 (18:56 +0900)]
git: let's not track coverage result to.

11 years agoevas: Fix Evas Object Text when LTR and RTL are used together.
Daniel Zaoui [Tue, 19 Feb 2013 06:55:40 +0000 (08:55 +0200)]
evas: Fix Evas Object Text when LTR and RTL are used together.

When harfbuzz is enabled, RTL text (arabic, hebrew...) is displayed differently
if the paragraph begins with or without LTR.
The problem was related to the function evas_common_language_script_type_get
and a wrong offset given as parameter to this function.

Thanks to EunYoung Kim for having found this bug.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
11 years agoecore: add Ecore_Coroutine.
Cedric BAIL [Mon, 18 Feb 2013 13:32:51 +0000 (14:32 +0100)]
ecore: add Ecore_Coroutine.

That work clearly was possible thanks to Leandro. If you want more information
go to his blog : http://tia.mat.br/posts/async_io_with_coroutines/ .

The main difference with his implementation is more portable and not thread safe.
It does not have a custom swapcontext (would make sense as we don't need to save
the sigcontext) so it will be less fast. If people are ready to contribute asm
patch for that purpose I will be happy to apply them.

As for portability this code should work on all architecture we already support
thanks to a nice hack with setjmp/longjmp borowed from libcoroutine. We do use
Fiber for Windows support, but as 1.8 is completely borken in that regard, this
is theorical work only.

Thinks left to do :
- Eoify the API
- Documentation
- More tests
- Add support for coroutine in fd handler
- Add coroutine support to ecore_thread api
- Write some example

11 years agoEo: do not add the test when not building them.
Cedric BAIL [Mon, 18 Feb 2013 13:16:06 +0000 (14:16 +0100)]
Eo: do not add the test when not building them.

Test can only be build if they are enable. Moving them inside the if
so we don't get annoying error when make check is run without tests
being turned on.

11 years agoeina: Lets allocate space for the terminating \0 as well
Daniel Willmann [Mon, 18 Feb 2013 13:18:04 +0000 (13:18 +0000)]
eina: Lets allocate space for the terminating \0 as well

Off-by-1 in string copy, found by klocwork

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoedbus: Use snprintf to be sure
Daniel Willmann [Mon, 18 Feb 2013 12:26:27 +0000 (12:26 +0000)]
edbus: Use snprintf to be sure

Are dbus function calls with more than 1000 arguments possible?
If so -> prevent buffer overflow

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoedbus: Fix array access of shared_connection
Daniel Willmann [Mon, 18 Feb 2013 12:10:22 +0000 (12:10 +0000)]
edbus: Fix array access of shared_connection

type is an enum which can be 0. Make sure that it isn't before accessing
shared_connections[type - 1]
Found with klocwork

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoxpm_loader: Make tok larger so strcpy will fit
Daniel Willmann [Mon, 18 Feb 2013 11:48:25 +0000 (11:48 +0000)]
xpm_loader: Make tok larger so strcpy will fit

Found through klocwork. It seems there are more potential issues here.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoEdje pick: Fixed lockwork suspected leaks.
Tom Hacohen [Mon, 18 Feb 2013 11:59:15 +0000 (11:59 +0000)]
Edje pick: Fixed lockwork suspected leaks.

The problem is that apparently size can be 0 but some data can still
be returned.

11 years agoFix emotion build to add eeze includes if EEZE on.. not v4l2!
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 10:35:34 +0000 (19:35 +0900)]
Fix emotion build to add eeze includes if EEZE on.. not v4l2!

11 years agoeina: fix siginfo detection.
Cedric BAIL [Mon, 18 Feb 2013 07:39:49 +0000 (16:39 +0900)]
eina: fix siginfo detection.

Signal are not a portable way to detect memory mapped file corruption.
So let's disable it for system without signal and later find a way to
detect it on other system.