platform/upstream/efl.git
11 years agoEo: Add reference functions for objects data
Daniel Zaoui [Wed, 20 Mar 2013 06:56:15 +0000 (08:56 +0200)]
Eo: Add reference functions for objects data

We want to introduce a new mechanism concerning the data of the Eo
objects.
The goal is to improve the memory management by defragmenting the memory
banks used by the Eo objects. The first phase has been done by raster
and consists in allocating the objects into a separate memory region
that the one used by malloc. So now, we know where our objects are
located.
Now, moving objects means moving data of objects. The issue we have here
is that a lot of data pointers are stored into data of other objects,
e.g Evas Object data into lists for rendering...
We need a way to reference the data and eo_data_get doesn't provide us
that. So we need to improve the API for data extraction by requesting
from the developer if the data will be stored or not. Five functions are
supplied:
- eo_data_scope_get: no referencing, the data pointer is no more used after
exiting the function.
- eo_data_ref: reference the data of the object. It means that while the
data is referenced, the object cannot be moved.
- eo_data_xref: reference the data of the object but for debug purpose,
we associate the objects that references. Same behavior as eo_data_ref
for non-debug.
- eo_data_unref: unreference the data of an object.
- eo_data_xunref: unreference the data of an object previously
referenced by another object.

I deprecated the eo_data_get function. Most of the time,
eo_data_scope_get needs to be used.

In the next patches, I changed the eo_data_get to the corresponding
functions, according to the usage of the data pointer.

The next step is to find all the places in the code where the data is
stored but not yet referenced. This will be done by:
- requesting from every object to unreference all data to other objects.
- moving all the objects from one region to another
- requesting from every object to rerefenrence the data.
- debugging by hunting the segmentation faults and other weird
creatures.

11 years agoRemove hack for changed state.
Chris Michael [Wed, 1 May 2013 07:10:54 +0000 (08:10 +0100)]
Remove hack for changed state.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove duplicated wdata variable.
Chris Michael [Wed, 1 May 2013 06:56:25 +0000 (07:56 +0100)]
Remove duplicated wdata variable.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRevert "Fix some formatting."
Chris Michael [Wed, 1 May 2013 06:46:36 +0000 (07:46 +0100)]
Revert "Fix some formatting."

This reverts commit 809144780e79387b0dfa55abd117fa0bb8d0a627.

Conflicts:

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRevert "Check for valid engine resize function before calling it."
Chris Michael [Wed, 1 May 2013 06:32:54 +0000 (07:32 +0100)]
Revert "Check for valid engine resize function before calling it."

This reverts commit 6e0075aa0491003ea717a248dea9886e99cc489b.

This broke rotation (and some other things).

11 years agoRevert "Reduce duplicated code and comment out region_add sections that are"
Chris Michael [Wed, 1 May 2013 06:32:10 +0000 (07:32 +0100)]
Revert "Reduce duplicated code and comment out region_add sections that are"

This reverts commit 279c5ac28e93ef6f02dc890435eb5342efe19571.

This broke rotation (and some other things).

11 years agoecore_evas/wayland: Remove hack for changed state.
Rafael Antognolli [Tue, 30 Apr 2013 19:29:00 +0000 (16:29 -0300)]
ecore_evas/wayland: Remove hack for changed state.

Since we don't have a changed state callback on Wayland, just call the
changed_state callback of Ecore_Evas from the configure callback.
There's no need to add the Ecore_Job that will send the event later.

This makes the code cleaner, simpler, and will call the callback when
the configure event is received, which is a good place to check for the
changes.

11 years agoecore/wayalnd: Add some getters to ecore_wl_window.
Rafael Antognolli [Tue, 30 Apr 2013 18:56:11 +0000 (15:56 -0300)]
ecore/wayalnd: Add some getters to ecore_wl_window.

11 years agoedc.vim: updated more label and constants for multisense.
Daniel Juyung Seo [Tue, 30 Apr 2013 14:35:11 +0000 (23:35 +0900)]
edc.vim: updated more label and constants for multisense.

11 years agoit is possible with wchart_t to have it signed.. so unicode can be <
Carsten Haitzler (Rasterman) [Tue, 30 Apr 2013 14:10:24 +0000 (23:10 +0900)]
it is possible with wchart_t to have it signed.. so unicode can be <
0... dont crash.

11 years agoFix some formatting.
Chris Michael [Tue, 30 Apr 2013 13:53:42 +0000 (14:53 +0100)]
Fix some formatting.
Reduce duplicated code in ecore_evas_wl_resize and just call the
_common_resize function
Fix segfault on elm app closing

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoWe don't need evas_sync on resize here.
Chris Michael [Tue, 30 Apr 2013 13:53:24 +0000 (14:53 +0100)]
We don't need evas_sync on resize here.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoCheck for valid engine resize function before calling it.
Chris Michael [Tue, 30 Apr 2013 13:46:21 +0000 (14:46 +0100)]
Check for valid engine resize function before calling it.
In the window_configure callback, reduce duplicated/not needed code.
Account for rotation when getting new size during common_rotation_set.
Reduce duplicated code in ecore_evas_wl_resize function and just call
the _common_resize function (as that already has most of this code).

Fix issue of Segfault on elm app closing:
  - During hide we need to call evas_sync to make sure the async
    render has flushed out everything that is pending.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoReduce duplicated code and comment out region_add sections that are
Chris Michael [Tue, 30 Apr 2013 13:36:23 +0000 (14:36 +0100)]
Reduce duplicated code and comment out region_add sections that are
not needed.
During buffer_attach, just call window_damage function which already
handles surface_damage & commit.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoCheck for a valid buffer before we free it (this fixes resize issues
Chris Michael [Tue, 30 Apr 2013 13:34:46 +0000 (14:34 +0100)]
Check for a valid buffer before we free it (this fixes resize issues
when async_render).

NB: If buffer is still valid, that means compositor is not finished
with it yet, so don't release it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix update_region to use bpl from the buffer
Chris Michael [Tue, 30 Apr 2013 13:34:18 +0000 (14:34 +0100)]
Fix update_region to use bpl from the buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoEo: Fix for warning on 64 bits.
Daniel Zaoui [Tue, 30 Apr 2013 12:40:27 +0000 (15:40 +0300)]
Eo: Fix for warning on 64 bits.

11 years agoevas - fix the wrong compare. thanks JackDanielZ for spotting it.
ChunEon Park [Tue, 30 Apr 2013 10:51:24 +0000 (19:51 +0900)]
evas - fix the wrong compare. thanks JackDanielZ for spotting it.

11 years agoAdd some initial code to create the Outbuf and to free it.
Chris Michael [Tue, 30 Apr 2013 06:27:20 +0000 (07:27 +0100)]
Add some initial code to create the Outbuf and to free it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoOverride the output_free engine function.
Chris Michael [Tue, 30 Apr 2013 06:23:40 +0000 (07:23 +0100)]
Override the output_free engine function.
Add code to cleanup on engine shutdown.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoIf we have an existing outbuf, then free the old one and try to create
Chris Michael [Tue, 30 Apr 2013 06:20:52 +0000 (07:20 +0100)]
If we have an existing outbuf, then free the old one and try to create
a new one.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd outbuf file to drm build.
Chris Michael [Tue, 30 Apr 2013 06:16:55 +0000 (07:16 +0100)]
Add outbuf file to drm build.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoTry to create the Outbuf during initial engine setup.
Chris Michael [Tue, 30 Apr 2013 06:16:33 +0000 (07:16 +0100)]
Try to create the Outbuf during initial engine setup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd initial file for Outbuf
Chris Michael [Tue, 30 Apr 2013 06:12:47 +0000 (07:12 +0100)]
Add initial file for Outbuf

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd Render_Engine structure
Chris Michael [Tue, 30 Apr 2013 06:09:16 +0000 (07:09 +0100)]
Add Render_Engine structure
Start on code to setup the output buffer.
Add code to init evas_common functions
Add override for engine setup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd Outbuf structure and some function prototypes
Chris Michael [Tue, 30 Apr 2013 06:08:25 +0000 (07:08 +0100)]
Add Outbuf structure and some function prototypes

NB: These are not finalized yet and may change.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd rotation, depth, alpha to the engine info structure.
Chris Michael [Mon, 29 Apr 2013 13:11:20 +0000 (14:11 +0100)]
Add rotation, depth, alpha to the engine info structure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoadding serbian translation
maxerba [Mon, 29 Apr 2013 21:52:16 +0000 (23:52 +0200)]
adding serbian translation

11 years agoecore_audio test: Change the volume of the output instead of the input
Daniel Willmann [Mon, 29 Apr 2013 18:54:41 +0000 (19:54 +0100)]
ecore_audio test: Change the volume of the output instead of the input

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Add test to check correct cleanup when removing input
Daniel Willmann [Mon, 29 Apr 2013 18:47:49 +0000 (19:47 +0100)]
ecore_audio: Add test to check correct cleanup when removing input

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Test sndfile/tone format and source methods better
Daniel Willmann [Mon, 29 Apr 2013 18:39:54 +0000 (19:39 +0100)]
ecore_audio: Test sndfile/tone format and source methods better

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Test pulseaudio output if it is enabled
Daniel Willmann [Mon, 29 Apr 2013 18:38:40 +0000 (19:38 +0100)]
ecore_audio: Test pulseaudio output if it is enabled

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Test VIO unsetting and freeing
Daniel Willmann [Mon, 29 Apr 2013 17:24:53 +0000 (18:24 +0100)]
ecore_audio: Test VIO unsetting and freeing

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Remember previous seekable state in vio_set
Daniel Willmann [Mon, 29 Apr 2013 17:23:59 +0000 (18:23 +0100)]
ecore_audio: Remember previous seekable state in vio_set

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoevas/smart: Directly access object geometry to improve performance.
Rafael Antognolli [Mon, 29 Apr 2013 15:50:45 +0000 (12:50 -0300)]
evas/smart: Directly access object geometry to improve performance.

There's no need to get the object geometry through
evas_object_geometry_get(), since it is not converted anymore (there's
no offset).

11 years agoupdating french translation
maxerba [Mon, 29 Apr 2013 15:22:43 +0000 (17:22 +0200)]
updating french translation

11 years agoevas/framespace: Use more framespace offset on evas events.
Rafael Antognolli [Mon, 29 Apr 2013 14:00:21 +0000 (11:00 -0300)]
evas/framespace: Use more framespace offset on evas events.

The framespace offset must be taken into account when searching the list
of objects which received events, since the objects now have their
original position.

11 years agoevas/framespace: Add support for framespace offset rendering translation.
Rafael Antognolli [Fri, 26 Apr 2013 18:01:44 +0000 (15:01 -0300)]
evas/framespace: Add support for framespace offset rendering translation.

Instead of moving the objects by adding the framespace offset to them,
use this offset when rendering them. This way there's no change in the
object's geometry/position, it works correctly with map, and will be
automatically updated in case that the framespace values change (for
instance if one sets a window to borderless).

There are 2 main places where changes were needed:
 - output redraws, when they come from an object being changed, must be
   add the framespace offset to their damaged area;
 - checks to see if the object is inside a given rendering area, must
   also add this offset, since the object is actually being rendered on
   a different position;

11 years agoevas/framespace: Remove framespace offset from position set/get.
Rafael Antognolli [Fri, 26 Apr 2013 22:34:35 +0000 (19:34 -0300)]
evas/framespace: Remove framespace offset from position set/get.

Objects won't be moved by the framespace offset anymore.

11 years agoRevert "evas/map: Consider framespace offset when populating map points."
Rafael Antognolli [Fri, 26 Apr 2013 22:26:28 +0000 (19:26 -0300)]
Revert "evas/map: Consider framespace offset when populating map points."

This reverts commit 3e43ad338d43dbe03dc401910d378aa32d84b8a7.

11 years agoevas - and apply proxy_src_clip only when object and proxy is same in render_mapped
ChunEon Park [Mon, 29 Apr 2013 12:05:33 +0000 (21:05 +0900)]
evas - and apply proxy_src_clip only when object and proxy is same in render_mapped

11 years agoAdd start of drm engine
Chris Michael [Mon, 29 Apr 2013 12:02:00 +0000 (13:02 +0100)]
Add start of drm engine

NB: Nothing to see here, just basic evas_engine setup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd missing braces
Chris Michael [Mon, 29 Apr 2013 11:58:02 +0000 (12:58 +0100)]
Add missing braces

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix engine_info_get function call being in the wrong place.
Chris Michael [Mon, 29 Apr 2013 11:56:08 +0000 (12:56 +0100)]
Fix engine_info_get function call being in the wrong place.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd logging macros to drm engine.
Chris Michael [Mon, 29 Apr 2013 11:40:24 +0000 (12:40 +0100)]
Add logging macros to drm engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd start of Drm Engine header.
Chris Michael [Mon, 29 Apr 2013 11:37:58 +0000 (12:37 +0100)]
Add start of Drm Engine header.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd drm engine build infrastructure.
Chris Michael [Mon, 29 Apr 2013 11:35:08 +0000 (12:35 +0100)]
Add drm engine build infrastructure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd "--enable-drm" for drm engine.
Chris Michael [Mon, 29 Apr 2013 11:34:39 +0000 (12:34 +0100)]
Add "--enable-drm" for drm engine.
Add evas engine check for drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd EVAS_CHECK_ENGINE_DEP_DRM to m4
Chris Michael [Mon, 29 Apr 2013 10:54:26 +0000 (11:54 +0100)]
Add EVAS_CHECK_ENGINE_DEP_DRM to m4

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoWhen we free the swap buffer, do Not munmap the buffer data.
Chris Michael [Mon, 29 Apr 2013 10:30:44 +0000 (11:30 +0100)]
When we free the swap buffer, do Not munmap the buffer data.

Buffer data (in this instance) is from the swapper (ie: the creation
of the swapper allocates & mmaps the data). As such, we should not
unmap it when we free buffer(s), just when we free the swapper.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUse the width & height from the buffer (actual image size) when
Chris Michael [Mon, 29 Apr 2013 10:29:33 +0000 (11:29 +0100)]
Use the width & height from the buffer (actual image size) when
calling evas cache image data.
When we push an updated region, be sure to account for the rectangle
position during the conversion function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoBe sure to set the Render_Engine's info to the new engine info.
Chris Michael [Mon, 29 Apr 2013 10:29:12 +0000 (11:29 +0100)]
Be sure to set the Render_Engine's info to the new engine info.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas - fix doc
ChunEon Park [Mon, 29 Apr 2013 07:20:39 +0000 (16:20 +0900)]
evas - fix doc

11 years agoevas - add evas_object_image_source_clip_set()/get()
ChunEon Park [Mon, 29 Apr 2013 06:30:37 +0000 (15:30 +0900)]
evas - add evas_object_image_source_clip_set()/get()

11 years agoejde/edje_entry.c : commit_cancel should be EINA_FALSE when there is one or more...
WooHyun Jung [Mon, 29 Apr 2013 03:46:22 +0000 (12:46 +0900)]
ejde/edje_entry.c : commit_cancel should be EINA_FALSE when there is one or more characters in preediting string.

11 years agoEvas: rename Evas_Common.h to Evas_Common_Header.h
Daniel Zaoui [Sun, 28 Apr 2013 11:22:02 +0000 (14:22 +0300)]
Evas: rename Evas_Common.h to Evas_Common_Header.h

This change is due to EFL compilation failing in Windows. This file was
conflicting with evas_common.h. Case sensitive issue...

11 years agoeo_ptr_ind: pack ptr, active flag and generation all together
Jérémy Zurcher [Sat, 27 Apr 2013 22:43:23 +0000 (00:43 +0200)]
eo_ptr_ind: pack ptr, active flag and generation all together

use of an array of the below struct instead of 3 separate arrays
leads to better cache performance and smaller memory usage
typedef struct
{
  _Eo *ptr;
  unsigned int active     : 1;
  unsigned int generation : BITS_FOR_GENERATION_COUNTER;
} _Eo_Id_Entry;

11 years agoeo_ptr_ind: fix hdr->size in _eo_id_mem_alloc
Jérémy Zurcher [Sat, 27 Apr 2013 22:17:07 +0000 (00:17 +0200)]
eo_ptr_ind: fix hdr->size in _eo_id_mem_alloc

11 years agoecore_audio: Test read-while-paused code path as well
Daniel Willmann [Fri, 26 Apr 2013 17:48:42 +0000 (18:48 +0100)]
ecore_audio: Test read-while-paused code path as well

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Test VIO input/output of base in/out class
Daniel Willmann [Fri, 26 Apr 2013 17:48:00 +0000 (18:48 +0100)]
ecore_audio: Test VIO input/output of base in/out class

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Test the looped signal/code path as well
Daniel Willmann [Fri, 26 Apr 2013 17:46:55 +0000 (18:46 +0100)]
ecore_audio: Test the looped signal/code path as well

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Add vio_set method / write cb to output
Daniel Willmann [Fri, 26 Apr 2013 17:32:18 +0000 (18:32 +0100)]
ecore_audio: Add vio_set method / write cb to output

ecore_audio_obj_out now also supports VIO. Add attribute need_writer so
we can generalize the idler creation for subclasses at a later time.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Remove duplicate variables/move to appropriate place
Daniel Willmann [Fri, 26 Apr 2013 17:24:15 +0000 (18:24 +0100)]
ecore_audio: Remove duplicate variables/move to appropriate place

* The idler for the write callback is now in the output struct because
  different outputs might need it.
* Remove paused attribute from output - we have it in Ecore_Audio_Object
  already

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Move sndfile VIO into a file to access from in- and output
Daniel Willmann [Fri, 26 Apr 2013 17:17:03 +0000 (18:17 +0100)]
ecore_audio: Move sndfile VIO into a file to access from in- and output

The VIO wrapper functions are needed from the sndfile inputs and outputs
so move them to a separate file and access from both.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Zero copy in pulse output
Daniel Willmann [Thu, 25 Apr 2013 16:27:13 +0000 (17:27 +0100)]
ecore_audio: Zero copy in pulse output

Using pa_stream_write_begin we can just request a buffer to write into
This reduces the amount of calloc()/free() and memcpy calls.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoevas - fixed logic fault in proxy clipping.
ChunEon Park [Fri, 26 Apr 2013 11:05:46 +0000 (20:05 +0900)]
evas - fixed logic fault in proxy clipping.

11 years agoevas - For compatibility, Make proxy's source clip to be optional. Im checking partal...
ChunEon Park [Fri, 26 Apr 2013 08:19:50 +0000 (17:19 +0900)]
evas - For compatibility, Make proxy's source clip to be optional. Im checking partal code for zmike.

11 years agoFix variable usage in framespace get. Thanks Seb ;)
Chris Michael [Fri, 26 Apr 2013 06:41:17 +0000 (07:41 +0100)]
Fix variable usage in framespace get. Thanks Seb ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove blank line
Chris Michael [Thu, 25 Apr 2013 13:14:52 +0000 (14:14 +0100)]
Remove blank line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoReenable ability for async render of shm engine.
Chris Michael [Thu, 25 Apr 2013 13:14:20 +0000 (14:14 +0100)]
Reenable ability for async render of shm engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas - fix the proxy object to not be clipped by source clipper
ChunEon Park [Fri, 26 Apr 2013 05:45:41 +0000 (14:45 +0900)]
evas - fix the proxy object to not be clipped by source clipper

11 years agoevas/wayland_shm: Fix resize to the left or top when rotated.
Rafael Antognolli [Wed, 24 Apr 2013 22:32:49 +0000 (19:32 -0300)]
evas/wayland_shm: Fix resize to the left or top when rotated.

11 years agoevas/wayland_egl: Fix resize to the left or top when rotated.
Rafael Antognolli [Wed, 24 Apr 2013 21:33:43 +0000 (18:33 -0300)]
evas/wayland_egl: Fix resize to the left or top when rotated.

11 years agoEvas textblock: Fixed line size calculation when using multiple fonts.
Tom Hacohen [Thu, 25 Apr 2013 14:16:13 +0000 (15:16 +0100)]
Evas textblock: Fixed line size calculation when using multiple fonts.

Thanks to MinSu Seo for reporting.

11 years agolcov-check: Enable branch coverage on newer lcov versions
Daniel Willmann [Thu, 25 Apr 2013 09:49:36 +0000 (10:49 +0100)]
lcov-check: Enable branch coverage on newer lcov versions

In newer versions branch coverage is disabled by default. Re-enable it
explicitly.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoedje entry: remove duplicated ecore_imf_context_reset in adjusting the selection
Jihoon Kim [Thu, 25 Apr 2013 00:45:15 +0000 (09:45 +0900)]
edje entry: remove duplicated ecore_imf_context_reset in adjusting the selection

11 years agoEvas: Split Evas headers
Daniel Zaoui [Wed, 24 Apr 2013 19:56:24 +0000 (22:56 +0300)]
Evas: Split Evas headers

Now, Evas.h includes three new files:
- Evas_Eo.h: Eo API functions (functions defines, enums, base id).
- Evas_Legacy.h: contains the API functions related to objects
- Evas_Common.h: common data (structs, enums...) +
functions not related to objects.

This phase is needed for the EFL 1.8 release to disable Eo APIs if we
consider it is not enough mature to be used by applications.

11 years agoeina/evas: Fix includes for examples
Daniel Willmann [Wed, 24 Apr 2013 23:08:55 +0000 (00:08 +0100)]
eina/evas: Fix includes for examples

Some examples are still missing includes

11 years agoeo: Fix incorrect pointer allocation
Daniel Willmann [Wed, 24 Apr 2013 22:27:48 +0000 (23:27 +0100)]
eo: Fix incorrect pointer allocation

We want to allocate sizeof(Eo_Dbg_Info) - not sizeof(Eo_Dbg_Info *)
bytes.

11 years agoecore_evas/wayland: Consider the frame/border for pointer position.
Rafael Antognolli [Wed, 24 Apr 2013 20:56:53 +0000 (17:56 -0300)]
ecore_evas/wayland: Consider the frame/border for pointer position.

When the window is rotated, the logical pointer position is calculated
based on the window size (width or height) minus the current position,
depending on the rotation used. For wayland, we must add the window
decorations to the ecore_evas size, when doing this calculation.

11 years agoecore_evas/wayland: Fix rotation when going back to 0 or 180 degrees.
Rafael Antognolli [Wed, 24 Apr 2013 20:14:15 +0000 (17:14 -0300)]
ecore_evas/wayland: Fix rotation when going back to 0 or 180 degrees.

11 years agoedje: Split Edje headers
Aharon Hillel [Thu, 11 Apr 2013 09:48:20 +0000 (12:48 +0300)]
edje: Split Edje headers

Now, Edje.h includes three new files:
- Edje_Eo.h: Eo API functions (functions defines, enums, base id).
- Edje_Legacy.h: contains the API functions related to objects
- Edje_Common.h: common data (structs, enums...) + functions not related to
objects.

This phase is needed for the EFL 1.8 release to disable Eo APIs if we
consider it is not enough mature to be used by applications.

11 years agoecore_evas/wayland: Add support for rotation on wayland_egl backend.
Rafael Antognolli [Wed, 24 Apr 2013 18:21:44 +0000 (15:21 -0300)]
ecore_evas/wayland: Add support for rotation on wayland_egl backend.

Also move the common code for rotation_set from the shm engine to
wayland_common.

11 years agofix examples makefiles to find Efl_Config.h
Carsten Haitzler (Rasterman) [Wed, 24 Apr 2013 17:08:18 +0000 (02:08 +0900)]
fix examples makefiles to find Efl_Config.h

11 years agoEo: fixed an issue with the test_value test.
Tom Hacohen [Wed, 24 Apr 2013 16:42:24 +0000 (17:42 +0100)]
Eo: fixed an issue with the test_value test.

11 years agoEo: Eo_Class_Id should be uintptr_t not size_t.
Tom Hacohen [Wed, 24 Apr 2013 15:55:11 +0000 (16:55 +0100)]
Eo: Eo_Class_Id should be uintptr_t not size_t.

11 years agoEo: Added test to the special eina value type.
Tom Hacohen [Wed, 24 Apr 2013 15:45:34 +0000 (16:45 +0100)]
Eo: Added test to the special eina value type.

11 years agoand emove efl eo api macro.
Carsten Haitzler (Rasterman) [Wed, 24 Apr 2013 15:39:57 +0000 (00:39 +0900)]
and emove efl eo api macro.

11 years agoadd --with-api=XXX (both|legacy|eo) to define which api set to enable
Carsten Haitzler (Rasterman) [Wed, 24 Apr 2013 15:31:31 +0000 (00:31 +0900)]
add --with-api=XXX (both|legacy|eo) to define which api set to enable
by default (default == both).

11 years agoeeze/sensor/tizen: Fix typos to let it build for tizen
Stefan Schmidt [Wed, 24 Apr 2013 14:59:16 +0000 (15:59 +0100)]
eeze/sensor/tizen: Fix typos to let it build for tizen

Finally have a way to compile the merged efl tree against the latest tizen
things. Only three typos after all this changes it quite good imho. Zero
would have been better though. :)

11 years agoadd a global Efl_Config.h for everyone.
Carsten Haitzler (Rasterman) [Wed, 24 Apr 2013 14:43:33 +0000 (23:43 +0900)]
add a global Efl_Config.h for everyone.

* ned to replicate changes in other .pc.in files
* need to replicate changes in other E*.h installed header files

11 years agoeo: Lets fix make distcheck by including eo_ptr_indirection header
Daniel Willmann [Wed, 24 Apr 2013 12:59:53 +0000 (13:59 +0100)]
eo: Lets fix make distcheck by including eo_ptr_indirection header

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agorejig 32bit eoid allocation to 5.5.12.
Carsten Haitzler (Rasterman) [Wed, 24 Apr 2013 07:20:18 +0000 (16:20 +0900)]
rejig 32bit eoid allocation to 5.5.12.

11 years agoecore/evas wayland_shm: Add support for window rotation.
Rafael Antognolli [Fri, 1 Mar 2013 17:19:10 +0000 (14:19 -0300)]
ecore/evas wayland_shm: Add support for window rotation.

11 years agoevas/wayland: Remove framespace clipper.
Rafael Antognolli [Mon, 22 Apr 2013 19:29:50 +0000 (16:29 -0300)]
evas/wayland: Remove framespace clipper.

This clipper caused several bugs already, and there are some bugs still
not fixed. Let's remove it and try to fix any remaining with some other
kind of solution that does not depend on adding or clipping objects
during the evas render phase, which causes unexpected behavior.

11 years agoecore_evas/wayland: Change the default frame smart object.
Rafael Antognolli [Mon, 22 Apr 2013 19:44:43 +0000 (16:44 -0300)]
ecore_evas/wayland: Change the default frame smart object.

Add 4 rectangles to be used as border of the window, instead of a single
rectangle under the framespace. This allows to move the frame object to
the top layer, instead of staying on the lowest layer. With the frame
over the other objects, there's no need of framespace clipper object,
which causes several bugs.

11 years agoecore/wayland: Add support for engine animated cursor.
Rafael Antognolli [Mon, 22 Apr 2013 16:35:54 +0000 (13:35 -0300)]
ecore/wayland: Add support for engine animated cursor.

11 years agoexamples/ecore_audio: Require input and output file as argument
Daniel Willmann [Tue, 23 Apr 2013 16:11:48 +0000 (17:11 +0100)]
examples/ecore_audio: Require input and output file as argument

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Add more return values for methods, catch up with API
Daniel Willmann [Tue, 23 Apr 2013 16:10:16 +0000 (17:10 +0100)]
ecore_audio: Add more return values for methods, catch up with API

input_attach, input_detach, format_set, and source_set now return an
Eina_Bool

Tests, examples and edje_multisense adapted

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoRename edbus->eldbus
Lucas De Marchi [Tue, 23 Apr 2013 14:40:05 +0000 (11:40 -0300)]
Rename edbus->eldbus

git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;

git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done

find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;