platform/upstream/efl.git
10 years agoEolian/Generator: Don't generate sub ids structure if not needed.
Daniel Zaoui [Wed, 19 Mar 2014 05:52:04 +0000 (07:52 +0200)]
Eolian/Generator: Don't generate sub ids structure if not needed.

If no methods and properties are declared for a class, no base id and
sub_ids structure are generated.

@fix

10 years agoEolian: Added class constructor delegate to Evas Box
Yossi Kantor [Tue, 18 Mar 2014 14:17:34 +0000 (16:17 +0200)]
Eolian: Added class constructor delegate to Evas Box

10 years agoEolian/Lexer: increase buffer length for .eo files
Daniel Zaoui [Tue, 18 Mar 2014 14:44:38 +0000 (16:44 +0200)]
Eolian/Lexer: increase buffer length for .eo files

@fix

10 years agoEolian: Fix ctor/dtor generation
Daniel Zaoui [Tue, 18 Mar 2014 14:01:24 +0000 (16:01 +0200)]
Eolian: Fix ctor/dtor generation

10 years agoEolian/Generator: fix generation of events.
Daniel Zaoui [Tue, 18 Mar 2014 14:00:52 +0000 (16:00 +0200)]
Eolian/Generator: fix generation of events.

10 years agoecore drm now semi-supports absolute motion (touchpads!)
zmike [Tue, 18 Mar 2014 21:53:32 +0000 (17:53 -0400)]
ecore drm now semi-supports absolute motion (touchpads!)

this is a little bit sensitive. you have been warned

10 years agoecore drm evdev probably shouldn't treat my touchpad as a keyboard (BTN_TOOL_FINGER)
Mike Blumenkrantz [Tue, 18 Mar 2014 20:11:32 +0000 (16:11 -0400)]
ecore drm evdev probably shouldn't treat my touchpad as a keyboard (BTN_TOOL_FINGER)

this is pretty insane and likely needs more competent/reliable handling

10 years agoecore-drm fails with appropriate error message on failing to open input
Mike Blumenkrantz [Tue, 18 Mar 2014 18:24:06 +0000 (14:24 -0400)]
ecore-drm fails with appropriate error message on failing to open input

10 years agoEvas text: Make tests more lax so they'll work on Ubuntu.
Tom Hacohen [Tue, 18 Mar 2014 14:56:57 +0000 (14:56 +0000)]
Evas text: Make tests more lax so they'll work on Ubuntu.

It seems that a different version of freetype is causing some different
values to be calculated for some glyphs. Also, we consider the whole
font list when calculating max ascent/descent, so there will always be
differences there.

This commit just laxes the tests, requiring the values to be at least
the values we expect from our font.

Fixes T1079

10 years agoEvas box: Use the correct include for the generated eo file.
Tom Hacohen [Tue, 18 Mar 2014 12:07:57 +0000 (12:07 +0000)]
Evas box: Use the correct include for the generated eo file.

10 years agoecore-evas-drm: Add support for setting aspect of ecore_evas
Chris Michael [Tue, 18 Mar 2014 11:23:49 +0000 (11:23 +0000)]
ecore-evas-drm: Add support for setting aspect of ecore_evas

@feature: This adds support for ecore_evas_aspect_set to the drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for alpha & transparent setting
Chris Michael [Tue, 18 Mar 2014 11:21:02 +0000 (11:21 +0000)]
ecore-evas-drm: Add support for alpha & transparent setting

@feature: This adds (preliminary) support for ecore_evas_alpha_set and
ecore_evas_transparent_set

NB: This is just the function placeholders and does not actually
implement transparency yet

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for maximized, fullscreen, withdrawn, and
Chris Michael [Tue, 18 Mar 2014 11:11:23 +0000 (11:11 +0000)]
ecore-evas-drm: Add support for maximized, fullscreen, withdrawn, and
ignore_events settings

@feature: This adds support for: ecore_evas_maximized_set,
ecore_evas_fullscreen_set, ecore_evas_withdrawn_set, and
ecore_evas_ignore_events_set functions to the drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_borderless_set
Chris Michael [Tue, 18 Mar 2014 11:00:32 +0000 (11:00 +0000)]
ecore-evas-drm: Add support for ecore_evas_borderless_set

@feature: This adds support for setting the ecore_evas to borderless

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_iconified_set
Chris Michael [Tue, 18 Mar 2014 10:52:10 +0000 (10:52 +0000)]
ecore-evas-drm: Add support for ecore_evas_iconified_set

@feature: This adds support for ecore_evas_iconified_set in ecore_evas
drm engine.

NB: This does not actually iconify the ecore_evas yet tho

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_layer_set
Chris Michael [Tue, 18 Mar 2014 10:50:26 +0000 (10:50 +0000)]
ecore-evas-drm: Add support for ecore_evas_layer_set

@feature: This adds support for ecore_evas_layer_set function used to
set the layer of the ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_object_cursor_set
Chris Michael [Tue, 18 Mar 2014 10:48:16 +0000 (10:48 +0000)]
ecore-evas-drm: Add support for ecore_evas_object_cursor_set

@feature: This adds support for setting an Evas_Object as the cursor
to use on the ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for setting size hints
Chris Michael [Tue, 18 Mar 2014 10:42:19 +0000 (10:42 +0000)]
ecore-evas-drm: Add support for setting size hints

@feature: This adds support for ecore_evas_size_min_set (and other
size hint functions).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_name_class_set
Chris Michael [Tue, 18 Mar 2014 10:38:36 +0000 (10:38 +0000)]
ecore-evas-drm: Add support for ecore_evas_name_class_set

@feature: This adds support for setting the name & class of the
ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for setting the title of the ecore_evas
Chris Michael [Tue, 18 Mar 2014 10:33:38 +0000 (10:33 +0000)]
ecore-evas-drm: Add support for setting the title of the ecore_evas

@feature: This adds support for setting the title of the ecore_evas
with ecore_evas_title_set

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for rotation set
Chris Michael [Tue, 18 Mar 2014 10:30:44 +0000 (10:30 +0000)]
ecore-evas-drm: Add support for rotation set

@feature: This adds support for ecore_evas_rotation_set function and
updates the Evas rotation accordingly

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_move_resize
Chris Michael [Tue, 18 Mar 2014 10:27:02 +0000 (10:27 +0000)]
ecore-evas-drm: Add support for ecore_evas_move_resize

@feature: This adds support for the ecore_evas_move_resize function
and calls the appropriate internal functions for this ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for ecore_evas_move function
Chris Michael [Tue, 18 Mar 2014 10:23:55 +0000 (10:23 +0000)]
ecore-evas-drm: Add support for ecore_evas_move function

@feature: This adds support for updating the ecore_evas location when
ecore_evas_move is called, and also calling any "move" function of the
ecore_evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for setting the mouse in & mouse out
Chris Michael [Tue, 18 Mar 2014 10:20:43 +0000 (10:20 +0000)]
ecore-evas-drm: Add support for setting the mouse in & mouse out
callbacks of the ecore_evas

@feature: Add support for setting the callback functions to call when
the ecore_evas gets mouse in or mouse out events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for setting focus_in & focus_out callbacks
Chris Michael [Tue, 18 Mar 2014 10:18:58 +0000 (10:18 +0000)]
ecore-evas-drm: Add support for setting focus_in & focus_out callbacks

@feature: Add support for setting the focus in & focus out callbacks
of the ecore_evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Add support for resize and move callbacks
Chris Michael [Tue, 18 Mar 2014 10:15:05 +0000 (10:15 +0000)]
ecore-evas-drm: Add support for resize and move callbacks

@feature: Add support for setting the resize and move callbacks of the
ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-wayland: Fix ecore_wl_init 'stalling' when used in a server
Chris Michael [Tue, 18 Mar 2014 07:39:44 +0000 (07:39 +0000)]
ecore-wayland: Fix ecore_wl_init 'stalling' when used in a server

@fix: If we are using the ecore_wl library in a "server", we cannot
sit and 'sync' during the init process as that just leaves the server
in a stalled state waiting for ecore_wl_init to complete (which never
does because the server has not finished it's work).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Fix engine to use the output's framebuffer as window id
Chris Michael [Tue, 18 Mar 2014 07:29:47 +0000 (07:29 +0000)]
evas-drm: Fix engine to use the output's framebuffer as window id

@fix: ecore_evas_window_get expects an Ecore_Window to be returned.
Because of this, we need to have a 'window' that can be returned via
ecore_evas. For this case, we will use the output's framebuffer id as
the 'window' so we need to set that into the engine info so that
ecore_evas can fetch it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Fix setting of the ecore_evas property window and
Chris Michael [Tue, 18 Mar 2014 07:27:33 +0000 (07:27 +0000)]
ecore-evas-drm: Fix setting of the ecore_evas property window and
register the prop.window for events.

@fix: ecore_evas_window_get expects an Ecore_Window to be returned so
we cannot use a void pointer in ecore_drm_device_window_get.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Fix ecore_drm_device_window_set to use an unsigned int
Chris Michael [Tue, 18 Mar 2014 07:24:32 +0000 (07:24 +0000)]
ecore-drm: Fix ecore_drm_device_window_set to use an unsigned int

@fix: The majority of ecore_evas code expects that the 'window' returned
from ecore_evas_window_get be an Ecore_Window. Previously, this was
not possible as this function was using a void pointer. This change
fixes that issue.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoEolian: Integration of Evas Box
Yossi Kantor [Mon, 17 Mar 2014 12:21:55 +0000 (14:21 +0200)]
Eolian: Integration of Evas Box

10 years agoEvas gl: Fix clip in image_draw if it's not set
Jean-Philippe Andre [Tue, 18 Mar 2014 09:00:10 +0000 (18:00 +0900)]
Evas gl: Fix clip in image_draw if it's not set

In evas_gl_common_image_draw, if an image is drawn with a fresh context,
containing no clip and no cutouts, then it will be wrongly clipped to
the source image size instead of the destination surface size.

This case seems to never happen, ever, since the contexts are always
fully set by the render functions.

@fix

10 years agoEvas gl_x11: Do not premultiply pixels after reading FBO
Jean-Philippe Andre [Tue, 18 Mar 2014 05:27:55 +0000 (14:27 +0900)]
Evas gl_x11: Do not premultiply pixels after reading FBO

The pixels are already premultiplied in such an FBO.

(cherry picked from commit 2b3e065ffeb9b587ca35909940beb59b25081e7f)

10 years agoEvas gl: Fix buffer dump filenames
Jean-Philippe Andre [Tue, 18 Mar 2014 05:48:44 +0000 (14:48 +0900)]
Evas gl: Fix buffer dump filenames

evas_gl_common_buffer_dump can be used to dump all frames into
a series of PNG files. But the filename contained some garbage
characters (and potential segv, too).

(cherry picked from commit a0f886138ed5a28d0d1596df3b805fca06d1ae31)

10 years agoEvas cserve2: Fix client crashes when a file changed
Jean-Philippe Andre [Tue, 18 Mar 2014 03:11:35 +0000 (12:11 +0900)]
Evas cserve2: Fix client crashes when a file changed

Clients must ignore changed file entries as they are not valid
anymore. The server will also mark the entry as invalid in case
of file update.

@fix

10 years agoavahi shut up if you aren't compiling
zmike [Mon, 17 Mar 2014 17:48:07 +0000 (13:48 -0400)]
avahi shut up if you aren't compiling

10 years agoUpdating portuguese translation
maxerba [Mon, 17 Mar 2014 17:48:13 +0000 (18:48 +0100)]
Updating portuguese translation

10 years agoedje/util: set flag to all_part_change when edje class member is added.
Youngbok Shin [Mon, 17 Mar 2014 11:23:47 +0000 (20:23 +0900)]
edje/util: set flag to all_part_change when edje class member is added.

Summary:
When edje class member is added, edje need to change member according to
the edje class.

@fix

Reviewers: raster, tasn, woohyun, seoz, Hermet, cedric

Reviewed By: raster

CC: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D637

10 years agoevas/text: fix the issue that size of evas text object be shorten repeatly when ellip...
Youngbok Shin [Mon, 17 Mar 2014 10:29:16 +0000 (19:29 +0900)]
evas/text: fix the issue that size of evas text object be shorten repeatly when ellipsis is shown.

Summary:
When the text was shorten by ellipsis, object size was fit to the text width.
If new text was set to the object, the text calculated with the smaller size.
It made shorten the object size when the text is set repeatly.
If the text is cutted off with ellipsis, it means there is no need to
resize the object.

Test Plan: elementary_test -> FileSelector Entry -> Click "Toggle Folder Only mode" button repeatly.

Reviewers: woohyun, tasn, raster, so.penible.animation, Hermet

Reviewed By: raster

CC: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D636

10 years agoedje: check font change in edje text part cache infra.
Cedric BAIL [Mon, 17 Mar 2014 10:10:22 +0000 (19:10 +0900)]
edje: check font change in edje text part cache infra.

@fix

10 years agoEolian: fix initialization of Evas Clickable Interface
Yakov Goldberg [Sun, 16 Mar 2014 16:25:57 +0000 (18:25 +0200)]
Eolian: fix initialization of Evas Clickable Interface

10 years agoEolian/Generator: Retrieve the Eo prefix from the database instead of
Daniel Zaoui [Sun, 16 Mar 2014 14:00:29 +0000 (16:00 +0200)]
Eolian/Generator: Retrieve the Eo prefix from the database instead of
guessing it.

10 years agoEolian/Lexer: Fix warnings
Daniel Zaoui [Sun, 16 Mar 2014 13:58:14 +0000 (15:58 +0200)]
Eolian/Lexer: Fix warnings

10 years agoEolian/Lexer: fix Windows compilation.
Daniel Zaoui [Sun, 16 Mar 2014 07:40:06 +0000 (09:40 +0200)]
Eolian/Lexer: fix Windows compilation.

strndup is not supported.

10 years agoEolian: Integration of Evas Zoomable Interface
Yossi Kantor [Thu, 13 Mar 2014 17:24:06 +0000 (19:24 +0200)]
Eolian: Integration of Evas Zoomable Interface

10 years agoEolian: Integration of Evas Selectable Interface
Yossi Kantor [Thu, 13 Mar 2014 17:08:15 +0000 (19:08 +0200)]
Eolian: Integration of Evas Selectable Interface

10 years agoEolian: Integration of Evas Scrollable Interface
Yossi Kantor [Thu, 13 Mar 2014 16:52:07 +0000 (18:52 +0200)]
Eolian: Integration of Evas Scrollable Interface

10 years agoEolian: Integration of Evas Clickable Interface
Yossi Kantor [Thu, 13 Mar 2014 15:41:04 +0000 (17:41 +0200)]
Eolian: Integration of Evas Clickable Interface

10 years agoEolian: Integration of Evas Draggable Interface
Yossi Kantor [Thu, 13 Mar 2014 15:10:04 +0000 (17:10 +0200)]
Eolian: Integration of Evas Draggable Interface

10 years agoEolian/Generator: Improved event generation
Yossi Kantor [Thu, 13 Mar 2014 14:40:34 +0000 (16:40 +0200)]
Eolian/Generator: Improved event generation

Line breaks in source files and extern definitions
of events in header files.

10 years agoEolian: Integration of Evas Common Interface
Yossi Kantor [Thu, 13 Mar 2014 12:15:22 +0000 (14:15 +0200)]
Eolian: Integration of Evas Common Interface

10 years agoEolian: Support default return values from .eo file.
Daniel Zaoui [Sun, 16 Mar 2014 06:33:24 +0000 (08:33 +0200)]
Eolian: Support default return values from .eo file.

Now, it is possible to assign a default return value for a
method/property.
It will be used in case the function invocation makes issues, e.g eo_do
failing to find the function...

10 years agoedje/edje_edit - fill up doc for edje_edit_parts_list_get()
ChunEon Park [Sat, 15 Mar 2014 16:23:56 +0000 (01:23 +0900)]
edje/edje_edit - fill up doc for edje_edit_parts_list_get()

10 years agoevas - add warning to evas_object_freeze_events_set() API doc.
ChunEon Park [Sat, 15 Mar 2014 16:15:58 +0000 (01:15 +0900)]
evas - add warning to evas_object_freeze_events_set() API doc.

10 years agoevil: fix Doxygen markup to prevent warnings.
Jeff Grimshaw [Sat, 15 Mar 2014 11:05:19 +0000 (20:05 +0900)]
evil: fix Doxygen markup to prevent warnings.

Summary:
The Doxygen header has an opening @\{ with no matching @\}, which
Doxygen will complain about.  There is no explicit grouping associated
with the @\{, so I just removed it.

Test Plan: make doc 2> doxyerr.log

CC: cedric
Differential Revision: https://phab.enlightenment.org/D611

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
10 years agoecore_drm: fix Doxygen markup to prevent warnings.
Jeff Grimshaw [Sat, 15 Mar 2014 11:03:08 +0000 (20:03 +0900)]
ecore_drm: fix Doxygen markup to prevent warnings.

Summary:
These files are missing group titles on the @defgroup line.  Added the titles so Doxygen does not
complain.

Test Plan: make doc 2> doc/doxyerr.log

CC: cedric
Differential Revision: https://phab.enlightenment.org/D612

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
10 years agoevas: improve portability for BSD system.
Alex-P. Natsios [Sat, 15 Mar 2014 10:57:59 +0000 (19:57 +0900)]
evas: improve portability for BSD system.

configure: fix prerequisite header issue

Summary:
in some platforms like openBSD <sys/socket.h> must be included before
net/if.h

the canonical way to ensure that with autotools is by providing that
fourth directive.

evas: use MAP_ANON instead of MAP_ANONYMOUS

Stupid unpredictable standards (or not so standard).
MAP_ANON exists and is defined almost anywhere unlike MAP_ANONYMOUS

Let's use that for portability's sake (they are practically identical
anyway)

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D616

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
10 years agoevas: add NULL check to avoid crash when clipper dosen't have a layer.
Subhransu Sekhar Mohanty [Sat, 15 Mar 2014 10:55:38 +0000 (19:55 +0900)]
evas: add NULL check to avoid crash when clipper dosen't have a layer.

Summary:
There is a crash in naviframe demo and the stack points to the clip set function where it tries to acess evas object
from a NULL layer , by going through the log found out raster has already added the NULL check in clip_unset function
so just added the check in clip_set.

Reviewers: seoz, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D625

10 years agoEvas textblock: Don't include right margin/padding twice when aligning lines.
Tom Hacohen [Fri, 14 Mar 2014 12:50:28 +0000 (12:50 +0000)]
Evas textblock: Don't include right margin/padding twice when aligning lines.

This should fix enventor issues.

@fix

10 years agoEolian/Lexer: support of @own tag on parameter and return values.
Daniel Zaoui [Fri, 14 Mar 2014 11:04:33 +0000 (13:04 +0200)]
Eolian/Lexer: support of @own tag on parameter and return values.

This tag indicates that the ownership of the parameter/return
value changes.
It is needed by generators (C++/LUA...) to determine if it has to be
freed or not, if it can be used as is or need to be copied...

10 years agoEolian/Generator: return values set to 0.
Daniel Zaoui [Fri, 14 Mar 2014 10:59:58 +0000 (12:59 +0200)]
Eolian/Generator: return values set to 0.

Before eo_do invocation, generated legacy functions returning a value
initialize it to 0.
This change is needed in the case that eo_do fails to find some
function, which leads to an unitialized value and behavior.

10 years agoEvas filters: Fix invalid error check in mapped_blend()
Jean-Philippe Andre [Fri, 14 Mar 2014 07:55:33 +0000 (16:55 +0900)]
Evas filters: Fix invalid error check in mapped_blend()

Some filters would not render because I checked the wrong
value. image_draw can not fail, it only returns a bool
indicating asynchronous processing.

10 years agoevas: if the class is the wrong one, you should not do the check after accessing...
Cedric BAIL [Fri, 14 Mar 2014 02:51:49 +0000 (11:51 +0900)]
evas: if the class is the wrong one, you should not do the check after accessing a NULL pointer.

Fix CID 1191978.

10 years agoevas: let's check NULL for destination object to.
Cedric BAIL [Fri, 14 Mar 2014 02:44:49 +0000 (11:44 +0900)]
evas: let's check NULL for destination object to.

Fix CID 1191976.

10 years agoeet: fix tokenizer's escape logic.
Gustavo Sverzut Barbieri [Fri, 14 Mar 2014 01:00:27 +0000 (22:00 -0300)]
eet: fix tokenizer's escape logic.

Tokenizer's approach of looking back is horrible and breaks the
following simple case (bug I had that lead to this patch):

          "string\\"

As the parser would get the end quote and check the previous character
if it was a backslash and it was, but it was not escaping the quote,
but being escaped by the previous backslash.

The best approach is to first check for escape and then go to
quote. Escape is simple and only the following byte, so we enter
escape, process the byte and then are back to regular mode (be it
quote or unquote).

Added testcase so we avoid breaking it again.

@bugfix cherry-pick

10 years agoEcore x: Add back the two symbols removed in 1.9.
Tom Hacohen [Thu, 13 Mar 2014 11:06:57 +0000 (11:06 +0000)]
Ecore x: Add back the two symbols removed in 1.9.

This fixes ABI that got broken in 1.9.

@fix.

10 years agoEolian: Set eolian_flags in .pc files and ship .eo files.
Tom Hacohen [Thu, 13 Mar 2014 09:55:12 +0000 (09:55 +0000)]
Eolian: Set eolian_flags in .pc files and ship .eo files.

10 years agoecore-drm: Set sprite output to NULL by default
Chris Michael [Thu, 13 Mar 2014 08:14:27 +0000 (08:14 +0000)]
ecore-drm: Set sprite output to NULL by default

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Remove dead commented line
Chris Michael [Thu, 13 Mar 2014 08:13:57 +0000 (08:13 +0000)]
ecore-drm: Remove dead commented line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Remove debug message for key repeat events
Chris Michael [Wed, 12 Mar 2014 10:46:55 +0000 (10:46 +0000)]
ecore-drm: Remove debug message for key repeat events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoEvas gl_x11: Fix usage of glReadPixels
Jean-Philippe Andre [Thu, 13 Mar 2014 06:54:58 +0000 (15:54 +0900)]
Evas gl_x11: Fix usage of glReadPixels

It is not necessary to dynamically link to glReadPixels since
this is not an extension. This code wouldn't even work on some
devices.

Also, the pixels returned are not premultiplied (yeah >_<)

And some devices (EGL) don't support GL_BGRA... so glReadPixels
would just fail and not fill in the pixels. Conversion is required.

10 years agoEolian: Integration of Evas Out
Yossi Kantor [Wed, 12 Mar 2014 18:13:45 +0000 (20:13 +0200)]
Eolian: Integration of Evas Out

10 years agoEolian: Integration of Evas Image
Yossi Kantor [Wed, 12 Mar 2014 14:28:40 +0000 (16:28 +0200)]
Eolian: Integration of Evas Image

10 years agoEolian/Generator: fix generation of headers for const params.
Daniel Zaoui [Thu, 13 Mar 2014 06:32:56 +0000 (08:32 +0200)]
Eolian/Generator: fix generation of headers for const params.

When a parameter of a property is const for get but not for set, the
.eo file indicates it by setting a flag 'const' for this parameter.
The generation was checking this flag for C files generation but not for
H files.

10 years agoevas: simplify path logic and make backend code more robust.
Cedric BAIL [Thu, 13 Mar 2014 01:57:38 +0000 (10:57 +0900)]
evas: simplify path logic and make backend code more robust.

Fix CID 1039665.

10 years agoevas: track modifier in the limited range of unsigned long long.
Cedric BAIL [Thu, 13 Mar 2014 01:52:37 +0000 (10:52 +0900)]
evas: track modifier in the limited range of unsigned long long.

This fix CID 1191924, CID 1191923, CID 1191922 and CID 1191921.

10 years agoevas: be consistent in our check for NULL layer.
Cedric BAIL [Thu, 13 Mar 2014 01:46:05 +0000 (10:46 +0900)]
evas: be consistent in our check for NULL layer.

Fix CID 1191913.

10 years agoevas: protect correctly for object layer not being set.
Cedric BAIL [Thu, 13 Mar 2014 01:44:15 +0000 (10:44 +0900)]
evas: protect correctly for object layer not being set.

FIX CID 1191914, CID 1191915, CID 1191916 and CID 1191917.

10 years agoevas: protect against potential NULL access.
Cedric BAIL [Thu, 13 Mar 2014 01:39:27 +0000 (10:39 +0900)]
evas: protect against potential NULL access.

Fix CID 1191919.

10 years agoevas: let's not access a potential NULL object when looping on a corrupted object...
Cedric BAIL [Thu, 13 Mar 2014 01:36:43 +0000 (10:36 +0900)]
evas: let's not access a potential NULL object when looping on a corrupted object list.

This fix CID 1191920.

10 years agoevas: the while guarantee that obj will be NULL, so let's not access it.
Cedric BAIL [Thu, 13 Mar 2014 01:34:55 +0000 (10:34 +0900)]
evas: the while guarantee that obj will be NULL, so let's not access it.

This will fix CID 1191918.

10 years agoevas: restore behavior of stack above and below when no rel is specified.
Cedric BAIL [Thu, 13 Mar 2014 01:33:05 +0000 (10:33 +0900)]
evas: restore behavior of stack above and below when no rel is specified.

This will fix CID 1191907 and CID 1191906.

@fix

10 years agoedje: external is already used directly before, so checking it is unnecessary.
Cedric BAIL [Thu, 13 Mar 2014 01:29:27 +0000 (10:29 +0900)]
edje: external is already used directly before, so checking it is unnecessary.

CID 1191908.

10 years agoedje_edit: adding of NULL-checks
perepelits.m [Thu, 13 Mar 2014 01:26:20 +0000 (10:26 +0900)]
edje_edit: adding of NULL-checks

Summary:
New NULL-checks have been added in:

edje_edit_state_color_class_set
edje_edit_state_external_param_get
edje_edit_state_external_param_int_get
edje_edit_state_external_param_bool_get
edje_edit_state_external_param_double_get
edje_edit_state_external_param_string_get
edje_edit_state_external_param_choice_get
edje_edit_state_external_param_set

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D629

10 years agoecore-evas-drm: Fix printing of device name error message
Chris Michael [Wed, 12 Mar 2014 10:43:44 +0000 (10:43 +0000)]
ecore-evas-drm: Fix printing of device name error message

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Quiet down ecore_drm_output rendering messages
Chris Michael [Wed, 12 Mar 2014 10:41:57 +0000 (10:41 +0000)]
ecore-drm: Quiet down ecore_drm_output rendering messages

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Fix doxygen group for sprites
Chris Michael [Wed, 12 Mar 2014 10:30:33 +0000 (10:30 +0000)]
ecore-drm: Fix doxygen group for sprites

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Remove FIXME comment
Chris Michael [Wed, 12 Mar 2014 10:29:34 +0000 (10:29 +0000)]
ecore-evas-drm: Remove FIXME comment

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: Try to find a drm device with the given name
Chris Michael [Wed, 12 Mar 2014 10:25:36 +0000 (10:25 +0000)]
ecore-evas-drm: Try to find a drm device with the given name

If we are given a drm device name, tell ecore_drm to try and find That
device. If it is not found, we fallback to the default drm device.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-evas-drm: If not device name is passed in, use the device name
Chris Michael [Wed, 12 Mar 2014 10:17:00 +0000 (10:17 +0000)]
ecore-evas-drm: If not device name is passed in, use the device name
from drm.

This assigns a name to the ecore_evas. If no device name was passed
in, we will get the device name from the drm card.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-drm: Add API function to return the drm device name
Chris Michael [Wed, 12 Mar 2014 09:26:43 +0000 (09:26 +0000)]
ecore-drm: Add API function to return the drm device name

@feature: Add new API function to return the drm device name

NB: This will be used in the ecore_evas_drm code to set the
ecore_evas->name.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoEolian: Integration of Evas Grid
Yossi Kantor [Mon, 10 Mar 2014 15:02:10 +0000 (17:02 +0200)]
Eolian: Integration of Evas Grid

10 years agoEolian: Integration of Evas
Daniel Zaoui [Wed, 12 Mar 2014 06:53:00 +0000 (08:53 +0200)]
Eolian: Integration of Evas

10 years agoEolian: Integration of Evas Object.
Daniel Zaoui [Tue, 11 Mar 2014 11:51:35 +0000 (13:51 +0200)]
Eolian: Integration of Evas Object.

const have been added in object parameter of two legacy APIs to fit
Eolian generated files.
Since these functions retrieve information from object, it is logic that
the object would be const.

10 years agoecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon
Chris Michael [Wed, 12 Mar 2014 08:41:15 +0000 (08:41 +0000)]
ecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon

@fix: Fix building Enlightenment without X support

These changes are needed so that we can build Enlightenment without X
support. Many places in the E code reference
Ecore_X_Atom/Ecore_X_Icon. If we build E without X support, these end
up being undefined, causing build to fail, so we need to predefine them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoecore-x: Predefine Ecore_X_Atom and Ecore_X_Icon
Chris Michael [Wed, 12 Mar 2014 08:38:00 +0000 (08:38 +0000)]
ecore-x: Predefine Ecore_X_Atom and Ecore_X_Icon

@fix: Fix building Enlightenment without X support

These changes are needed so that we can build Enlightenment without X
support. Many places in the E code reference
Ecore_X_Atom/Ecore_X_Icon. If we build E without X support, these end
up being undefined, causing build to fail, so we need to predefine them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoEvas filters: Fix memory leak when destroying the object
Jean-Philippe Andre [Wed, 12 Mar 2014 05:06:23 +0000 (14:06 +0900)]
Evas filters: Fix memory leak when destroying the object

The GL buffers set to be freed were released only the async case...
which doesn't make sense since GL is sync.

@fix

10 years agoEvas filters: Optimize RGBA blur as well
Jean-Philippe Andre [Wed, 12 Mar 2014 04:55:44 +0000 (13:55 +0900)]
Evas filters: Optimize RGBA blur as well

Same as Alpha blur, use combination of box blurs,
and put all that code into optimizable functions.

10 years agoEvas filters: Optimize alpha box blur
Jean-Philippe Andre [Wed, 12 Mar 2014 01:20:27 +0000 (10:20 +0900)]
Evas filters: Optimize alpha box blur

Use two optimizable functions for BOX blur: vertical and horizontal.
These functions will run as many times as requested (from 1 to 6 max).

The horizontal case is pretty straightforward as the source is already
contiguous (nice in terms of cache hits). The only catch is to swap
src and dst without ever writing to the input buffer.

In case of vertical blur, we apply the same method as above, after
rotating the column into a horizontal (contiguous) span, and rotating
it back afterwards.

Now, the same needs to be done for RGBA :)

10 years agoEvas filters: Use box blur by default
Jean-Philippe Andre [Tue, 11 Mar 2014 09:21:46 +0000 (18:21 +0900)]
Evas filters: Use box blur by default

BOX blur is a lot faster (and easier to optimize, too)
than GAUSSIAN blur. Repeating 2x or 3x BOX blur will also
give similar results to GAUSSIAN blur (very smooth), but
in much less time.

Add a count parameter to the BOX blur instruction.