platform/upstream/efl.git
10 years agoRevert "eina: use Eina_Spinlock for Eina_Chained_Mempool."
Stefan Schmidt [Fri, 11 Oct 2013 08:16:47 +0000 (09:16 +0100)]
Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."

This patch brings in constant E crash for me. It seems to be timing
related which somehow leads to a mem corruption. Revert it for now
to allow people using E while Cedric looks into it.

This reverts commit 12d34309c7c6e3f3041ee576afe93f9ca335059e.

10 years agoeina - and e3fl in general - stop using eina_error_get/set - useless really
Carsten Haitzler (Rasterman) [Fri, 11 Oct 2013 07:49:13 +0000 (16:49 +0900)]
eina - and e3fl in general - stop using eina_error_get/set - useless really

10 years agoedje: It should never happen, but apparently it does, so assert to get a proper bt.
Cedric Bail [Fri, 11 Oct 2013 06:15:54 +0000 (15:15 +0900)]
edje: It should never happen, but apparently it does, so assert to get a proper bt.

10 years agoedje: fix a memory leak of Edje_Part_Element for any .edj using them.
Cedric Bail [Fri, 11 Oct 2013 05:47:44 +0000 (14:47 +0900)]
edje: fix a memory leak of Edje_Part_Element for any .edj using them.

10 years agoeet: log size of subtype added to an Eet_Data_Descriptor.
Cedric Bail [Fri, 11 Oct 2013 05:43:35 +0000 (14:43 +0900)]
eet: log size of subtype added to an Eet_Data_Descriptor.

This is really useful to track down a leak of a memory piece allocated by an
eet_data function. If you know the size of the leaked structure (valgrind
give you the total allocated size and the number of structure in it, so you
need to divide before having the right number), you just need to do :
EINA_LOG_LEVELS=eet:3 my_app 2>&1 | grep the_size

And there will be very few line matching reducing what you should be looking at.

10 years agoecore: Use Eina_Spinlock for Ecore_Thread.
Cedric Bail [Thu, 10 Oct 2013 09:02:00 +0000 (18:02 +0900)]
ecore: Use Eina_Spinlock for Ecore_Thread.

10 years agoevas: Use Eina_Spinlock for Evas_Scalecache, Evas_Async_Events and Image_Entry.
Cedric Bail [Thu, 10 Oct 2013 08:44:24 +0000 (17:44 +0900)]
evas: Use Eina_Spinlock for Evas_Scalecache, Evas_Async_Events and Image_Entry.

10 years agoeina: use Eina_Spinlock for Eina_Chained_Mempool.
Cedric Bail [Thu, 10 Oct 2013 08:31:54 +0000 (17:31 +0900)]
eina: use Eina_Spinlock for Eina_Chained_Mempool.

10 years agoeet: use Eina_Spinlock instead of Eina_Lock for Eet_Dictionary.
Cedric Bail [Thu, 10 Oct 2013 08:27:41 +0000 (17:27 +0900)]
eet: use Eina_Spinlock instead of Eina_Lock for Eet_Dictionary.

10 years agoeo: use Eina_Spinlock instead of Eina_Lock.
Cedric Bail [Thu, 10 Oct 2013 08:26:02 +0000 (17:26 +0900)]
eo: use Eina_Spinlock instead of Eina_Lock.

This is an ABI/API break for Eo, you will need to rebuild everything that use Eo.

10 years agoeina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.
Cedric Bail [Thu, 10 Oct 2013 08:25:39 +0000 (17:25 +0900)]
eina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.

10 years agoeina: use Eina_Spinlock for Eina_Log.
Cedric Bail [Thu, 10 Oct 2013 08:24:34 +0000 (17:24 +0900)]
eina: use Eina_Spinlock for Eina_Log.

10 years agoeina: add Eina_Spinlock API.
Cedric Bail [Thu, 10 Oct 2013 08:22:28 +0000 (17:22 +0900)]
eina: add Eina_Spinlock API.

10 years agoeina: move header detection to the appropriate section.
Cedric Bail [Fri, 4 Oct 2013 06:35:30 +0000 (15:35 +0900)]
eina: move header detection to the appropriate section.

10 years agoecore_imf_example: notify the cursor information in focus-in handler
Jihoon Kim [Fri, 11 Oct 2013 01:23:19 +0000 (10:23 +0900)]
ecore_imf_example: notify the cursor information in focus-in handler

10 years agoecore-con - followup commit to curl dynamic load - support win and osx names
Carsten Haitzler (Rasterman) [Thu, 10 Oct 2013 23:13:35 +0000 (08:13 +0900)]
ecore-con - followup commit to curl dynamic load - support win and osx names

10 years agoMerge branch 'subsurfaces'
Rafael Antognolli [Thu, 10 Oct 2013 18:21:06 +0000 (15:21 -0300)]
Merge branch 'subsurfaces'

10 years agoecore/wayland: Add subsurface handling APIs.
Rafael Antognolli [Thu, 5 Sep 2013 21:10:50 +0000 (18:10 -0300)]
ecore/wayland: Add subsurface handling APIs.

10 years agoecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
Rafael Antognolli [Sat, 31 Aug 2013 18:20:22 +0000 (15:20 -0300)]
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.

10 years agoecore/wayland: detect wayland-scanner
U. Artie Eoff [Sat, 5 Oct 2013 15:53:35 +0000 (08:53 -0700)]
ecore/wayland: detect wayland-scanner

We need the wayland-scanner program to auto-generate the
subsurface protocol source files from subsurface.xml

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
10 years agoconfigure - wayland macro required for any kind of autogen.sh... not good.
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 09:30:23 +0000 (18:30 +0900)]
configure - wayland macro required for any kind of autogen.sh... not good.

10 years agoadding wayland subsurfaces protocol file.
Rafael Antognolli [Wed, 7 Aug 2013 21:05:55 +0000 (18:05 -0300)]
adding wayland subsurfaces protocol file.

10 years agoecore-con: make curl support entirely runtime loaded via eina_module
Carsten Haitzler (Rasterman) [Thu, 10 Oct 2013 13:31:18 +0000 (22:31 +0900)]
ecore-con: make curl support entirely runtime loaded via eina_module

this makes curl support a pure runtime-only thing. libcurl is loaded by
eina_module (dlopen/dlsym) when curl is actually first needed (when a
url connection/object is created). this means that ecore-con has no
link or compile dependencies on curl, only runtime, AND this saves
memory (due to curl inits using apparently a chunk of private pages).
so this saves memory and moves the dependency to runtime (though still
consider libcurl a dependency of efl - but like a binary executed,
it's at runtime).

10 years agoemotion: add two events to trigger when a webcam is plugged or unplugged
Michaël Bouchaud (yoz) [Wed, 9 Oct 2013 10:29:04 +0000 (12:29 +0200)]
emotion: add two events to trigger when a webcam is plugged or unplugged

10 years agoalso unbreak ecore-wl header with previous reverts...
discomfitor [Sat, 5 Oct 2013 15:38:55 +0000 (16:38 +0100)]
also unbreak ecore-wl header with previous reverts...

10 years agoRevert "ecore/wayland: Add subsurface handling APIs."
discomfitor [Sat, 5 Oct 2013 15:26:24 +0000 (16:26 +0100)]
Revert "ecore/wayland: Add subsurface handling APIs."

This reverts commit 65b960f4a60442edcd66082ccc1828b80a49885c.

Conflicts:
src/lib/ecore_wayland/ecore_wl.c

10 years agoRevert "ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland."
discomfitor [Sat, 5 Oct 2013 15:23:38 +0000 (16:23 +0100)]
Revert "ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland."

This reverts commit 7994b62c6be0368a2b4dcd038de5f25556cb6842.

10 years agoRevert "adding wayland subsurfaces protocol file."
discomfitor [Sat, 5 Oct 2013 15:22:15 +0000 (16:22 +0100)]
Revert "adding wayland subsurfaces protocol file."

This reverts commit ad27efcb397f3dc8da670180784991f876841e01.

10 years agoconfigure - wayland macro required for any kind of autogen.sh... not good.
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 09:30:23 +0000 (18:30 +0900)]
configure - wayland macro required for any kind of autogen.sh... not good.

10 years agoAdding italian entries in desktop files
maxerba [Sat, 5 Oct 2013 09:17:58 +0000 (11:17 +0200)]
Adding italian entries in desktop files

10 years agoevas/image: Add video surface caps.
Rafael Antognolli [Thu, 26 Sep 2013 16:49:18 +0000 (13:49 -0300)]
evas/image: Add video surface caps.

Wayland subsurfaces can be used as video surfaces too, similarly to
Ecore_X windows. However, they support a different set of features. Some
of them, like subsurface clipping and scaling, might be added in the
future, but so far we must work with what we have.

This commit allows to set an enum bitfield to the Video_Surface, with
the default value being one that will keep the same behavior as before,
for Ecore_X window. Thus, backward compatibility should not be broken.

It's possible to inform Evas that the surface in question is not able to
resize or scale, or that it's above or below the original canvas
surface. This allows Evas to show the surface itself, or use a buffer of
pixels instead, when the capabilities are not available.

10 years agoevas/image: Delay some video overlay operations.
Rafael Antognolli [Tue, 1 Oct 2013 18:35:09 +0000 (15:35 -0300)]
evas/image: Delay some video overlay operations.

If we are running on async render, some operations must be delayed, so
they will happen at the same time that the canvas rendering result gets
updated on the window/surface.

10 years agoevas/image: Take framespace into account when moving video surface.
Rafael Antognolli [Mon, 23 Sep 2013 20:44:08 +0000 (17:44 -0300)]
evas/image: Take framespace into account when moving video surface.

10 years agoecore/wayland: Add subsurface handling APIs.
Rafael Antognolli [Thu, 5 Sep 2013 21:10:50 +0000 (18:10 -0300)]
ecore/wayland: Add subsurface handling APIs.

10 years agoecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
Rafael Antognolli [Sat, 31 Aug 2013 18:20:22 +0000 (15:20 -0300)]
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.

10 years agoadding wayland subsurfaces protocol file.
Rafael Antognolli [Wed, 7 Aug 2013 21:05:55 +0000 (18:05 -0300)]
adding wayland subsurfaces protocol file.

10 years agoeina: handle more compiler strangeness for bswap.
Cedric Bail [Fri, 4 Oct 2013 03:49:02 +0000 (12:49 +0900)]
eina: handle more compiler strangeness for bswap.

So current order is :
- __builtin_bswap*() for compiler that provide it
- _byteswap_*() for MSVC
- bswap_*() for older Linux and some BSD
- own C code when everything else fall appart.

The reason for this order is that the builtin will always generate
the best assembly possible. On my system bswap_*() are not changing
in all version to the best solution as they are almost equivalent to
the C macro.

10 years agoeina: in case of an error we should exit not continue and manipulate dead data.
Cedric Bail [Fri, 4 Oct 2013 00:54:27 +0000 (09:54 +0900)]
eina: in case of an error we should exit not continue and manipulate dead data.

This should fix a warning catched by LLVM/Clang.

10 years agoRevert "evas/textblock - null check."
Tom Hacohen [Thu, 3 Oct 2013 17:45:07 +0000 (18:45 +0100)]
Revert "evas/textblock - null check."

I'm sorry, but those kind of commit messages are unacceptable for code
I'm the only maintainer of. It's bad enough that to have them in the
project in general, but this I won't accept.

I wanted to review this commit, but the lack of explanation about what
you are trying to fix and why you think this is the good fix prevents me
from doing my job. However, without really looking too much into it,
this commit looks wrong. evas_textblock_cursor_format_is_visible_get
should verify there's a format node...

Please come up with a better commit message and re-commit.

This reverts commit fe33aa74084aa383fb880ce9a32fa17663c41346.

10 years agoevas/textblock - null check.
ChunEon Park [Thu, 3 Oct 2013 17:43:20 +0000 (02:43 +0900)]
evas/textblock - null check.

10 years agoeina/eina_file - fix eina_file_map_lines() to not drop of one character in the last...
ChunEon Park [Thu, 3 Oct 2013 16:58:35 +0000 (01:58 +0900)]
eina/eina_file - fix eina_file_map_lines() to not drop of one character in the last line.

10 years agoevas: more fix for ellipsis.
Cedric Bail [Wed, 2 Oct 2013 11:52:59 +0000 (20:52 +0900)]
evas: more fix for ellipsis.

This one fix size of the object that didn't take into account the style
of the text since we added the support of ellipsis in Evas. It also
correctly detect when we insert an ellipsis in the text to relayout
properly on resize.

10 years agoevas: we actually need to take those additional value into account.
Cedric Bail [Wed, 2 Oct 2013 10:07:48 +0000 (19:07 +0900)]
evas: we actually need to take those additional value into account.

10 years agoeina: update the ChangeLog and NEWS.
Cedric Bail [Wed, 2 Oct 2013 09:33:32 +0000 (18:33 +0900)]
eina: update the ChangeLog and NEWS.

10 years agoecore_ipc: use the new eina_swap*().
Cedric Bail [Wed, 2 Oct 2013 09:32:18 +0000 (18:32 +0900)]
ecore_ipc: use the new eina_swap*().

10 years agoeina: add infrastructure to handle more CPU and compiler builtin information.
Cedric Bail [Wed, 2 Oct 2013 09:31:10 +0000 (18:31 +0900)]
eina: add infrastructure to handle more CPU and compiler builtin information.

10 years agoEvas Textblock: Use font underline properties.
Tom Hacohen [Wed, 2 Oct 2013 10:41:41 +0000 (11:41 +0100)]
Evas Textblock: Use font underline properties.

This change causes textblock to use the font properties when drawing
underline.

10 years agoEvas font: Added functions to query the underline properties.
Tom Hacohen [Tue, 1 Oct 2013 15:42:48 +0000 (16:42 +0100)]
Evas font: Added functions to query the underline properties.

This will let us query the position and thickness as requested by the font.

10 years agoevas - more deadlocks found. fixed.
Carsten Haitzler (Rasterman) [Wed, 2 Oct 2013 08:06:26 +0000 (17:06 +0900)]
evas - more deadlocks found. fixed.

10 years agoevas - fix deadlock in preload that we seemm to never have hit before...
Carsten Haitzler (Rasterman) [Wed, 2 Oct 2013 07:32:33 +0000 (16:32 +0900)]
evas - fix deadlock in preload that we seemm to never have hit before...

10 years agoevas: fix Evas_Object_Text alignment with ellipsis.
Cedric Bail [Wed, 2 Oct 2013 02:02:05 +0000 (11:02 +0900)]
evas: fix Evas_Object_Text alignment with ellipsis.

10 years agoexamples/ecore: don't use ECORE_CON_LIBS
U. Artie Eoff [Tue, 1 Oct 2013 20:53:29 +0000 (13:53 -0700)]
examples/ecore: don't use ECORE_CON_LIBS

We can't use ECORE_CON_LIBS at the examples/ "make" context
since it defines libraries relative to the src/ directory
(e.g. lib/ecore/libecore.la).  Use ECORE_CON_COMMON_LDADD instead.

This fixes the following link error with ecore_fd_handler_gnutls_example
when the project is configured with --with-crypto=gnutls:

libtool: link: cannot find the library `lib/ecore/libecore.la'

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
10 years agoexamples/ecore: ecore_pipe_gstreamer_example must go in HAVE_GSTREAMER guard
U. Artie Eoff [Tue, 1 Oct 2013 20:40:10 +0000 (13:40 -0700)]
examples/ecore: ecore_pipe_gstreamer_example must go in HAVE_GSTREAMER guard

Only specify ecore_pipe_gstreamer_example in EXTRA_PROGRAMS inside the
HAVE_GSTREAMER makefile guard.

Fixes: https://phab.enlightenment.org/T423

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
10 years agoevas - clean up tiler code a lot and remove old commented out stuff
Carsten Haitzler (Rasterman) [Tue, 1 Oct 2013 11:44:48 +0000 (20:44 +0900)]
evas - clean up tiler code a lot and remove old commented out stuff

10 years agoevas - try cleanup pipe_region_intersects again.. this time without bugs.
Carsten Haitzler (Rasterman) [Tue, 1 Oct 2013 06:23:04 +0000 (15:23 +0900)]
evas - try cleanup pipe_region_intersects again.. this time without bugs.

10 years agoevas: fix some ellipsis case.
Cedric Bail [Tue, 1 Oct 2013 11:34:03 +0000 (20:34 +0900)]
evas: fix some ellipsis case.

10 years agoevas: try to set EAPI correctly.
Cedric Bail [Tue, 1 Oct 2013 08:24:37 +0000 (17:24 +0900)]
evas: try to set EAPI correctly.

10 years agoevas: reduce number of relayout of text object to the strict minimum.
Cedric Bail [Tue, 1 Oct 2013 06:29:38 +0000 (15:29 +0900)]
evas: reduce number of relayout of text object to the strict minimum.

10 years agoevas: add JPEG 2000 loader.
Vincent Torri [Sat, 28 Sep 2013 12:28:41 +0000 (14:28 +0200)]
evas: add JPEG 2000 loader.

This add finally support for JPEG 2000, but be aware that libopenjpeg
is very badly managed. There is currently only version 1.5.x that does
provide the right files, is usable by a third party and portable. You
can seriously forget any other version.

10 years agoevas: make Evas_Loader.h a real public API.
Cedric Bail [Tue, 1 Oct 2013 07:38:01 +0000 (16:38 +0900)]
evas: make Evas_Loader.h a real public API.

10 years agoEvas textblock: Moved relayout checks to a function.
Tom Hacohen [Mon, 30 Sep 2013 15:15:16 +0000 (16:15 +0100)]
Evas textblock: Moved relayout checks to a function.

This cleans up the code a bit and makes it a bit simpler.

10 years agoupdate po's
Carsten Haitzler (Rasterman) [Mon, 30 Sep 2013 14:31:37 +0000 (23:31 +0900)]
update po's

10 years agoevas - improve textblock logic to reduce num of layouts when used - faster
Carsten Haitzler (Rasterman) [Mon, 30 Sep 2013 14:29:54 +0000 (23:29 +0900)]
evas - improve textblock logic to reduce num of layouts when used - faster

when using genlist and the edje item objects, there seem to be a lot
of excess textblock layouts happening. i was seeing about 12 layouts per tb
part in the edje before this patch. with this it's down to about 3.

10 years agoEo: Don't compare desc to NULL as it can never be NULL at that stage.
Tom Hacohen [Mon, 30 Sep 2013 13:32:47 +0000 (14:32 +0100)]
Eo: Don't compare desc to NULL as it can never be NULL at that stage.

Fixes coverity CID1039420.

10 years agoEina inlist: Removed redundant if in EINA_INLIST_FOREACH_SAFE.
Tom Hacohen [Mon, 30 Sep 2013 13:28:38 +0000 (14:28 +0100)]
Eina inlist: Removed redundant if in EINA_INLIST_FOREACH_SAFE.

If it is not NULL, so will EINA_INLIST_GET. As that returns a pointer to an
area after it.

10 years agoEo callbacks: Fix a possible issue of corrupted callback list.
Tom Hacohen [Mon, 30 Sep 2013 13:16:46 +0000 (14:16 +0100)]
Eo callbacks: Fix a possible issue of corrupted callback list.

This happens when we delete more than one callback at the beginning
of the list (i.e 2 or more) in one go.

10 years agoEo: Don't write to pointer after free.
Tom Hacohen [Mon, 30 Sep 2013 13:15:37 +0000 (14:15 +0100)]
Eo: Don't write to pointer after free.

Fixes coverity: CID 1039898.

10 years agoEo: don't va_start without a matching va_end.
Tom Hacohen [Mon, 30 Sep 2013 13:10:21 +0000 (14:10 +0100)]
Eo: don't va_start without a matching va_end.

Fixes coverity CID1099707.

10 years agoEo: don't va_start without a matching va_end.
Tom Hacohen [Mon, 30 Sep 2013 13:07:20 +0000 (14:07 +0100)]
Eo: don't va_start without a matching va_end.

Fixes coverity CID1099708.

10 years agoevas/textblock: Remove null statement.
Stefan Schmidt [Mon, 30 Sep 2013 08:48:34 +0000 (09:48 +0100)]
evas/textblock: Remove null statement.

10 years agoevas: let's inline data to get a little speedup when matching kerning.
Cedric BAIL [Sun, 29 Sep 2013 11:14:45 +0000 (13:14 +0200)]
evas: let's inline data to get a little speedup when matching kerning.

10 years agoevas: let's micro optimize the parsing of format.
Cedric BAIL [Sun, 29 Sep 2013 11:14:22 +0000 (13:14 +0200)]
evas: let's micro optimize the parsing of format.

Only the key is worth being a stringshare as it is used to do an efficient
binary comparison instead of iterating over all possibility. Also reused
some already known value and a few other speedup.

10 years agoevas/canvas - code refactoring. more clean code.
ChunEon Park [Sun, 29 Sep 2013 08:30:55 +0000 (17:30 +0900)]
evas/canvas - code refactoring. more clean code.

10 years agoReduce the number of deleted objects to reduce the number of expected error prints
Daniel Zaoui [Sun, 29 Sep 2013 06:34:03 +0000 (09:34 +0300)]
Reduce the number of deleted objects to reduce the number of expected error prints

10 years agoEo: fix when detaching the composite of its parent ... that has to exist
Daniel Zaoui [Sun, 29 Sep 2013 05:50:32 +0000 (08:50 +0300)]
Eo: fix when detaching the composite of its parent ... that has to exist

10 years agoEo: merge _eo_obj_dov_internal and _eo_class_dov_internal.
Tom Hacohen [Fri, 27 Sep 2013 16:21:08 +0000 (17:21 +0100)]
Eo: merge _eo_obj_dov_internal and _eo_class_dov_internal.

They are the same except for really minor differences.

10 years agoEo: get rid of eo_class_do(_super) which we don't need anymore.
Tom Hacohen [Fri, 27 Sep 2013 16:01:51 +0000 (17:01 +0100)]
Eo: get rid of eo_class_do(_super) which we don't need anymore.

We now completely use eo_do(_super), so those are not needed.

10 years agoEo: class_get on a class should not return itself.
Tom Hacohen [Fri, 27 Sep 2013 15:50:34 +0000 (16:50 +0100)]
Eo: class_get on a class should not return itself.

This is there until we create a Class class of which all classes are
instances.

10 years agoEo tests: Fixed wrong prototype in one of the tests in the suite.
Tom Hacohen [Fri, 27 Sep 2013 15:44:00 +0000 (16:44 +0100)]
Eo tests: Fixed wrong prototype in one of the tests in the suite.

10 years agoRevert "eo: libs,test,benchmarks Eo_Class -> Eo"
Tom Hacohen [Fri, 27 Sep 2013 15:26:25 +0000 (16:26 +0100)]
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"

This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31.

We actually want this type, it makes things clearer.

Conflicts:
src/tests/eo/function_overrides/function_overrides_inherit2.c
src/tests/eo/function_overrides/function_overrides_simple.c
src/tests/eo/suite/eo_test_class_simple.c

10 years agoManually revert "eo: replace Eo_Class with Eo"
Tom Hacohen [Fri, 27 Sep 2013 15:38:15 +0000 (16:38 +0100)]
Manually revert "eo: replace Eo_Class with Eo"

This reverts commit ee1b0833ed28b47812407a8a6f019a80f9868bfa

I did it manually because the code changed too much.

We actually want this type, it makes things more clear and easier to
understand.

10 years agoEo: Fixed the type _eo_id_get accepts.
Tom Hacohen [Fri, 27 Sep 2013 11:27:00 +0000 (12:27 +0100)]
Eo: Fixed the type _eo_id_get accepts.

10 years agoEo: Explicitly include Eina.h in eo_private.h.
Tom Hacohen [Fri, 27 Sep 2013 11:10:43 +0000 (12:10 +0100)]
Eo: Explicitly include Eina.h in eo_private.h.

It's uses eina stuff, we can't just assume eina is already included.

10 years agoEo: Get rid of the _Eo type, it's not needed.
Tom Hacohen [Fri, 27 Sep 2013 11:09:14 +0000 (12:09 +0100)]
Eo: Get rid of the _Eo type, it's not needed.

We have Eo_Base for that.

10 years agoEo: Use __FILE__ and __LINE__ instead of random values.
Tom Hacohen [Fri, 27 Sep 2013 11:07:26 +0000 (12:07 +0100)]
Eo: Use __FILE__ and __LINE__ instead of random values.

10 years agoEo: Rename Eo_Header to Eo_Base.
Tom Hacohen [Fri, 27 Sep 2013 11:01:30 +0000 (12:01 +0100)]
Eo: Rename Eo_Header to Eo_Base.

10 years agoEo: Added an Eo_Class type just for compat. Should be removed.
Tom Hacohen [Fri, 27 Sep 2013 10:50:41 +0000 (11:50 +0100)]
Eo: Added an Eo_Class type just for compat. Should be removed.

10 years agoEo: Get rid of handle. Use the shared header for detection.
Tom Hacohen [Fri, 27 Sep 2013 10:13:14 +0000 (11:13 +0100)]
Eo: Get rid of handle. Use the shared header for detection.

10 years agoEo: Merge common part of class and object.
Tom Hacohen [Fri, 27 Sep 2013 09:59:41 +0000 (10:59 +0100)]
Eo: Merge common part of class and object.

First step toward getting rid of "handle".

10 years agoEo: Class_Id and Object_Id are now the same type.
Tom Hacohen [Fri, 27 Sep 2013 09:50:06 +0000 (10:50 +0100)]
Eo: Class_Id and Object_Id are now the same type.

10 years agoEo: unify the class func and normal func prototypes.
Tom Hacohen [Wed, 25 Sep 2013 17:10:03 +0000 (18:10 +0100)]
Eo: unify the class func and normal func prototypes.

Conflicts:
src/lib/eo/eo.c

10 years agoEo: Fixed unused warnings when have EO_ID.
Tom Hacohen [Wed, 25 Sep 2013 16:48:42 +0000 (17:48 +0100)]
Eo: Fixed unused warnings when have EO_ID.

10 years agoeo: ojb_ref -> class_ref
Jérémy Zurcher [Thu, 26 Sep 2013 22:40:09 +0000 (00:40 +0200)]
eo: ojb_ref -> class_ref

10 years agoeo: eo_do_super_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:38:15 +0000 (00:38 +0200)]
eo: eo_do_super_internal() supports objects and classes

eo_class_do_super() macro calls eo_do_super()
eo_class_do_super_internal() and _eo_class_op_internal() are removed

Conflicts:
src/lib/eo/eo.c

10 years agoeo: eo_class_get() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:13:31 +0000 (00:13 +0200)]
eo: eo_class_get() supports objects and classes

10 years agoeo: eo_class_name_get() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:13:00 +0000 (00:13 +0200)]
eo: eo_class_name_get() supports objects and classes

10 years agoeo: eo_vdo_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:11:19 +0000 (00:11 +0200)]
eo: eo_vdo_internal() supports objects and classes

Conflicts:
src/lib/eo/Eo.h
src/lib/eo/eo.c

10 years agoeo: eo_do_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:02:30 +0000 (00:02 +0200)]
eo: eo_do_internal() supports objects and classes

eo_class_do() macro calls eo_do()
eo_class_do_internal()  is removed
op_type argument is remove from eo_do, eo_vdo_internal

Conflicts:
src/lib/eo/eo.c

10 years agoeo: add union _Eo to unify objects and classes internal pointers
Jérémy Zurcher [Thu, 26 Sep 2013 21:33:19 +0000 (23:33 +0200)]
eo: add union _Eo to unify objects and classes internal pointers

10 years agoeo: add _eo_is_a_class(const Eo *obj_id)
Jérémy Zurcher [Thu, 26 Sep 2013 21:32:43 +0000 (23:32 +0200)]
eo: add _eo_is_a_class(const Eo *obj_id)