profile/ivi/eobj.git
12 years agoEo: Move event callback handling to base class.
tasn [Mon, 14 May 2012 07:35:19 +0000 (07:35 +0000)]
Eo: Move event callback handling to base class.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70990 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Removed the object freed event.
tasn [Mon, 14 May 2012 07:35:14 +0000 (07:35 +0000)]
Eo: Removed the object freed event.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70989 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Added a new magic type to mark already deleted objects.
tasn [Tue, 8 May 2012 14:22:57 +0000 (14:22 +0000)]
Eo: Added a new magic type to mark already deleted objects.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Keep artifical object ref a bit longer.
tasn [Tue, 8 May 2012 14:22:53 +0000 (14:22 +0000)]
Eo: Keep artifical object ref a bit longer.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: rename delete to del.
tasn [Tue, 8 May 2012 06:56:59 +0000 (06:56 +0000)]
Eo: rename delete to del.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70867 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Flatten func array, so function fetching will always be fast.
tasn [Tue, 8 May 2012 06:56:57 +0000 (06:56 +0000)]
Eo: Flatten func array, so function fetching will always be fast.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70866 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Fix parameter checking of eo_do_super.
tasn [Tue, 8 May 2012 06:56:55 +0000 (06:56 +0000)]
Eo: Fix parameter checking of eo_do_super.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70865 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Make eo_parent_get accept const.
tasn [Tue, 8 May 2012 06:56:50 +0000 (06:56 +0000)]
Eo: Make eo_parent_get accept const.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70864 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Test getting data from class with no data.
tasn [Sun, 6 May 2012 14:18:44 +0000 (14:18 +0000)]
Eo: Test getting data from class with no data.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Only implement _eo_class_mro_has when in testing mode.
tasn [Sun, 6 May 2012 12:03:29 +0000 (12:03 +0000)]
Eo: Only implement _eo_class_mro_has when in testing mode.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70799 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Added an internal _eo_ref/unref implementation.
tasn [Sun, 6 May 2012 12:03:26 +0000 (12:03 +0000)]
Eo: Added an internal _eo_ref/unref implementation.

We don't need to do all the regular checks when called from our code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70798 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Improved the data structure used for func fetching.
tasn [Sun, 6 May 2012 12:03:23 +0000 (12:03 +0000)]
Eo: Improved the data structure used for func fetching.

Made it 2 levels instead of 1 and made it a lot smaller.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70797 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Added an internal _eo_data_get implementation.
tasn [Sun, 6 May 2012 12:03:21 +0000 (12:03 +0000)]
Eo: Added an internal _eo_data_get implementation.

We don't need to do all the regular checks when called from our code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70796 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Fixed so versioning.
tasn [Sun, 6 May 2012 12:03:18 +0000 (12:03 +0000)]
Eo: Fixed so versioning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70795 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Fixed the tests when building in "release mode".
tasn [Sun, 6 May 2012 12:03:16 +0000 (12:03 +0000)]
Eo: Fixed the tests when building in "release mode".

Our release mode safety checks are less strict, so we have to disable some
of the test cases when testing there.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70794 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Overhauled the mro-walking mechanism.
tasn [Sun, 6 May 2012 12:03:13 +0000 (12:03 +0000)]
Eo: Overhauled the mro-walking mechanism.

A lot faster now.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70793 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Fixed some issues.
tasn [Sun, 6 May 2012 12:03:11 +0000 (12:03 +0000)]
Eo: Fixed some issues.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70792 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Improved error reporting in data_get.
tasn [Sun, 6 May 2012 12:03:07 +0000 (12:03 +0000)]
Eo: Improved error reporting in data_get.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70791 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Added debug-mode check for eo_data_get.
tasn [Wed, 2 May 2012 13:59:18 +0000 (13:59 +0000)]
Eo: Added debug-mode check for eo_data_get.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed wref bugs and improve it's tests.
tasn [Tue, 1 May 2012 14:00:14 +0000 (14:00 +0000)]
Eobj: Fixed wref bugs and improve it's tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Rename SIG_* to EV_*.
tasn [Tue, 1 May 2012 13:23:30 +0000 (13:23 +0000)]
Eo: Rename SIG_* to EV_*.

Patch by Yakov Goldberg.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70581 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Doc improvements.
tasn [Tue, 1 May 2012 13:23:25 +0000 (13:23 +0000)]
Eo: Doc improvements.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Make wref a c array instead of using event callbacks.
tasn [Tue, 1 May 2012 12:38:14 +0000 (12:38 +0000)]
Eo: Make wref a c array instead of using event callbacks.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Added eo_wref_del_safe.
tasn [Tue, 1 May 2012 11:25:03 +0000 (11:25 +0000)]
Eo: Added eo_wref_del_safe.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70573 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Fixed a bug in wref del.
tasn [Tue, 1 May 2012 11:25:00 +0000 (11:25 +0000)]
Eo: Fixed a bug in wref del.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEo: Changed #EINA_TRUE/FALSE to @C EINA_*.
tasn [Tue, 1 May 2012 10:42:55 +0000 (10:42 +0000)]
Eo: Changed #EINA_TRUE/FALSE to @C EINA_*.

Removes the doxygen warning, but pretty annoying.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70571 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fix issue with the typecheck macro.
tasn [Tue, 1 May 2012 08:07:04 +0000 (08:07 +0000)]
Eobj: Fix issue with the typecheck macro.

It should not use the passed variable more than once.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70568 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Rename to Eo.
tasn [Tue, 1 May 2012 07:40:14 +0000 (07:40 +0000)]
Eobj: Rename to Eo.

Blame cedric.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fix clang's (static analyser) warnings.
tasn [Sun, 29 Apr 2012 15:52:37 +0000 (15:52 +0000)]
Eobj: Fix clang's (static analyser) warnings.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: change the tests according to the new wref concept.
tasn [Tue, 24 Apr 2012 12:27:22 +0000 (12:27 +0000)]
Eobj: change the tests according to the new wref concept.

We should not delete the wref if object is already freed. It's because
of the damn new wref API.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed a possible bug with object deletion.
tasn [Tue, 24 Apr 2012 12:16:23 +0000 (12:16 +0000)]
Eobj: Fixed a possible bug with object deletion.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70437 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Made weak ref a base class function.
tasn [Tue, 24 Apr 2012 12:16:21 +0000 (12:16 +0000)]
Eobj: Made weak ref a base class function.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70436 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: eobj_event_callback_del/_full renames.
tasn [Tue, 24 Apr 2012 12:16:17 +0000 (12:16 +0000)]
Eobj: eobj_event_callback_del/_full renames.

eobj_event_callback_del -> eobj_event_callback_del_lazy.
eobj_event_callback_del_full -> eobj_event_callback_del.

Thanks to cedric for the suggestion.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Changed all the eobj_do macros to lowercase.
tasn [Tue, 24 Apr 2012 08:56:49 +0000 (08:56 +0000)]
Eobj: Changed all the eobj_do macros to lowercase.

code clutter--.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added infrastructure for const functions and eobj_query.
tasn [Tue, 24 Apr 2012 08:04:14 +0000 (08:04 +0000)]
Eobj: Added infrastructure for const functions and eobj_query.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed the order of parameters in the weak ref add func.
tasn [Tue, 24 Apr 2012 08:04:09 +0000 (08:04 +0000)]
Eobj: Fixed the order of parameters in the weak ref add func.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70430 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Updated weak ref docs.
tasn [Mon, 23 Apr 2012 12:47:44 +0000 (12:47 +0000)]
Eobj: Updated weak ref docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70419 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Make eobj_weak_ref_add return the obejct being reffed.
tasn [Mon, 23 Apr 2012 12:32:36 +0000 (12:32 +0000)]
Eobj: Make eobj_weak_ref_add return the obejct being reffed.

Suggested by vtorri.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70418 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added docs to the examples (needed for introspection).
tasn [Mon, 23 Apr 2012 12:32:34 +0000 (12:32 +0000)]
Eobj: Added docs to the examples (needed for introspection).

Patch by Yakov Goldberg.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70417 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: added warnings to eobj_ref's docs.
tasn [Mon, 23 Apr 2012 11:51:49 +0000 (11:51 +0000)]
Eobj: added warnings to eobj_ref's docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Changed weak-ref to work without allocating a structure.
tasn [Mon, 23 Apr 2012 10:57:04 +0000 (10:57 +0000)]
Eobj: Changed weak-ref to work without allocating a structure.

Thanks to cedric.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70415 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Rename _EOBJ_BUILD to EFL_EOBJ_BUILD.
tasn [Mon, 23 Apr 2012 08:26:40 +0000 (08:26 +0000)]
Eobj: Rename _EOBJ_BUILD to EFL_EOBJ_BUILD.

vtorri is right pointing out it is a reserved name.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70414 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Destruct the object upon deletion, free it when unrefed.
tasn [Mon, 23 Apr 2012 08:10:12 +0000 (08:10 +0000)]
Eobj: Destruct the object upon deletion, free it when unrefed.

Sorted this out a bit. I believe the current behaviour is better than the
previous one.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70413 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: we don't care about "Still reachable".
tasn [Mon, 23 Apr 2012 08:10:09 +0000 (08:10 +0000)]
Eobj: we don't care about "Still reachable".

It seems that libcheck keeps some reachable data, unfortunate as it makes
it very annoying for us to check for reachable memory in our code, but
letting valgrind report about it is just too damn annoying.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70412 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Use EINA_SAFETY when needed.
tasn [Mon, 23 Apr 2012 08:10:06 +0000 (08:10 +0000)]
Eobj: Use EINA_SAFETY when needed.

Also added a couple of EINA_UNLIKELY.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70411 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added eina magic to API functions.
tasn [Mon, 23 Apr 2012 08:10:04 +0000 (08:10 +0000)]
Eobj: Added eina magic to API functions.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70410 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed windows support.
tasn [Mon, 23 Apr 2012 08:10:00 +0000 (08:10 +0000)]
Eobj: Fixed windows support.

DAMN, Windows is broken...
Thanks to vtorri.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70409 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added EOBJ_CALLBACK_STOP/CONTINUE macros.
tasn [Mon, 23 Apr 2012 08:09:58 +0000 (08:09 +0000)]
Eobj: Added EOBJ_CALLBACK_STOP/CONTINUE macros.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70408 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add a convenience macro for defining the class_get functions.
tasn [Mon, 23 Apr 2012 08:09:54 +0000 (08:09 +0000)]
Eobj: Add a convenience macro for defining the class_get functions.

This macro makes the code a tad simpler, but more importantly, makes it
easier for us to be thread safe, or more corrctly, easier for us the
make user code thread safe.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed issue with FindEina.cmake and things using it.
tasn [Mon, 23 Apr 2012 08:09:49 +0000 (08:09 +0000)]
Eobj: Fixed issue with FindEina.cmake and things using it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70406 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Allocate the data blob at the end of the object.
tasn [Mon, 23 Apr 2012 08:09:45 +0000 (08:09 +0000)]
Eobj: Allocate the data blob at the end of the object.

This replaces the obj->data_blob pointer. Hopefully will be better.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70405 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: A bit of code cleanup.
tasn [Mon, 23 Apr 2012 08:09:42 +0000 (08:09 +0000)]
Eobj: A bit of code cleanup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added EINA_LIKELY/UNLIKELY to eobj_data_get.
tasn [Mon, 23 Apr 2012 08:09:40 +0000 (08:09 +0000)]
Eobj: Added EINA_LIKELY/UNLIKELY to eobj_data_get.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70403 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add a couple of funcs_set tests and fixed a bug related.
tasn [Mon, 23 Apr 2012 08:09:37 +0000 (08:09 +0000)]
Eobj: Add a couple of funcs_set tests and fixed a bug related.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70402 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: s/__UNUSED__/EINA_UNUSED/ I had no idea that exists.
tasn [Thu, 19 Apr 2012 11:30:17 +0000 (11:30 +0000)]
Eobj: s/__UNUSED__/EINA_UNUSED/ I had no idea that exists.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70332 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed naming of the internal con/destructor wrapper.
tasn [Thu, 19 Apr 2012 11:30:12 +0000 (11:30 +0000)]
Eobj: Fixed naming of the internal con/destructor wrapper.

It's a lot less confusing now.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70331 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Enforce some interface restrictions.
tasn [Thu, 19 Apr 2012 11:30:10 +0000 (11:30 +0000)]
Eobj: Enforce some interface restrictions.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70330 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Change obj of eobj_data_get to be const.
tasn [Thu, 19 Apr 2012 08:56:29 +0000 (08:56 +0000)]
Eobj: Change obj of eobj_data_get to be const.

Thanks to Daniel Zaoui for the report.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70325 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added mixin data support.
tasn [Thu, 19 Apr 2012 08:52:25 +0000 (08:52 +0000)]
Eobj: Added mixin data support.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70324 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added forgotten docs to eobj_xref/xunref.
tasn [Thu, 19 Apr 2012 08:52:22 +0000 (08:52 +0000)]
Eobj: Added forgotten docs to eobj_xref/xunref.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70323 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Improved tests.
tasn [Thu, 19 Apr 2012 08:52:18 +0000 (08:52 +0000)]
Eobj: Improved tests.

And one cosmetic change.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70322 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add checks to ensure consistent method rosulotion order.
tasn [Thu, 19 Apr 2012 08:52:15 +0000 (08:52 +0000)]
Eobj: Add checks to ensure consistent method rosulotion order.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70321 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Modified the mixin test to test the mixin mro.
tasn [Thu, 19 Apr 2012 08:52:11 +0000 (08:52 +0000)]
Eobj: Modified the mixin test to test the mixin mro.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70320 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Improved error reporting.
tasn [Wed, 18 Apr 2012 07:58:39 +0000 (07:58 +0000)]
Eobj: Improved error reporting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70288 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Ensure we don't allow calling super functions out of place.
tasn [Wed, 18 Apr 2012 07:58:34 +0000 (07:58 +0000)]
Eobj: Ensure we don't allow calling super functions out of place.

And improved error reporting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70287 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Use xref.
tasn [Tue, 17 Apr 2012 15:36:41 +0000 (15:36 +0000)]
Eobj: Use xref.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add a mixin inheritance test.
tasn [Tue, 17 Apr 2012 15:22:27 +0000 (15:22 +0000)]
Eobj: Add a mixin inheritance test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70274 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add named (by obj ptr) ref - xref.
tasn [Tue, 17 Apr 2012 15:22:22 +0000 (15:22 +0000)]
Eobj: Add named (by obj ptr) ref - xref.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70273 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: EOBJ_CLASS_BASE -> EOBJ_BASE_CLASS.
tasn [Tue, 17 Apr 2012 14:01:09 +0000 (14:01 +0000)]
Eobj: EOBJ_CLASS_BASE -> EOBJ_BASE_CLASS.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70272 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Doxygen - moved EOBJ_EV_* to be under EOBJ_BASE_CLASS.
tasn [Tue, 17 Apr 2012 14:01:03 +0000 (14:01 +0000)]
Eobj: Doxygen - moved EOBJ_EV_* to be under EOBJ_BASE_CLASS.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70271 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added EOBJ_BASE_DATA free function tests.
tasn [Tue, 17 Apr 2012 14:00:56 +0000 (14:00 +0000)]
Eobj: Added EOBJ_BASE_DATA free function tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70270 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added weak ref.
tasn [Tue, 17 Apr 2012 13:38:41 +0000 (13:38 +0000)]
Eobj: Added weak ref.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed docs.
tasn [Tue, 17 Apr 2012 12:58:33 +0000 (12:58 +0000)]
Eobj: Fixed docs.

Thanks to Daniel.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70268 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: eobj_generic_data_*->EOBJ_BASE_DATA_*.
tasn [Tue, 17 Apr 2012 12:49:53 +0000 (12:49 +0000)]
Eobj: eobj_generic_data_*->EOBJ_BASE_DATA_*.

And also split the base class away from eobj.c

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70267 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Improved tests.
tasn [Tue, 17 Apr 2012 10:27:40 +0000 (10:27 +0000)]
Eobj: Improved tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70264 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed inheritance checks and fixed mixin examples accordingly.
tasn [Tue, 17 Apr 2012 10:27:37 +0000 (10:27 +0000)]
Eobj: Fixed inheritance checks and fixed mixin examples accordingly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70263 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: add a "class errors" test.
tasn [Tue, 17 Apr 2012 10:27:34 +0000 (10:27 +0000)]
Eobj: add a "class errors" test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70262 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Improved error reporting.
tasn [Tue, 17 Apr 2012 10:27:31 +0000 (10:27 +0000)]
Eobj: Improved error reporting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70261 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Made eobj_class_new return a const class.
tasn [Tue, 17 Apr 2012 10:27:25 +0000 (10:27 +0000)]
Eobj: Made eobj_class_new return a const class.

Once a class is created, we are no longer allowed to touch it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70260 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Enforce Op description order.
tasn [Tue, 17 Apr 2012 08:05:09 +0000 (08:05 +0000)]
Eobj: Enforce Op description order.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70259 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add missing op descriptions in examples.
tasn [Tue, 17 Apr 2012 08:05:07 +0000 (08:05 +0000)]
Eobj: Add missing op descriptions in examples.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: eobj_super_do -> eobj_do_super.
tasn [Tue, 17 Apr 2012 08:05:03 +0000 (08:05 +0000)]
Eobj: eobj_super_do -> eobj_do_super.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Improved config.h a bit and fixed a pkg-config error.
tasn [Mon, 16 Apr 2012 16:02:41 +0000 (16:02 +0000)]
Eobj: Improved config.h a bit and fixed a pkg-config error.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70236 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Add pkg-config file and start installing stuff.
tasn [Mon, 16 Apr 2012 15:27:32 +0000 (15:27 +0000)]
Eobj: Add pkg-config file and start installing stuff.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Small documentation adjustments.
tasn [Mon, 16 Apr 2012 15:27:29 +0000 (15:27 +0000)]
Eobj: Small documentation adjustments.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70232 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added event callbacks for Object free/del.
tasn [Mon, 16 Apr 2012 14:22:11 +0000 (14:22 +0000)]
Eobj: Added event callbacks for Object free/del.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Renamed EOBJ_SIG_CALLBACK_* to EOBJ_EV_CALLBACK_*.
tasn [Mon, 16 Apr 2012 14:22:08 +0000 (14:22 +0000)]
Eobj: Renamed EOBJ_SIG_CALLBACK_* to EOBJ_EV_CALLBACK_*.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70230 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added EOBJ_SIG_CALLBACK_ADD/DEL to Eobj's Event desc.
tasn [Mon, 16 Apr 2012 14:22:04 +0000 (14:22 +0000)]
Eobj: Added EOBJ_SIG_CALLBACK_ADD/DEL to Eobj's Event desc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70229 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Better grouped docs in doxygen.
tasn [Mon, 16 Apr 2012 12:52:28 +0000 (12:52 +0000)]
Eobj: Better grouped docs in doxygen.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70228 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Initial doxygen commit.
tasn [Mon, 16 Apr 2012 12:36:42 +0000 (12:36 +0000)]
Eobj: Initial doxygen commit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70227 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Fixed eobj_event_callback_call to return a meaningful value.
tasn [Mon, 16 Apr 2012 12:36:37 +0000 (12:36 +0000)]
Eobj: Fixed eobj_event_callback_call to return a meaningful value.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: EOBJ_OP_FUNC_DESCRIPTION -> EOBJ_OP_FUNC.
tasn [Mon, 16 Apr 2012 12:36:34 +0000 (12:36 +0000)]
Eobj: EOBJ_OP_FUNC_DESCRIPTION -> EOBJ_OP_FUNC.

The previous name was just too damn long.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70225 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: examples/evas/elw_win - fix the class name.
tasn [Mon, 16 Apr 2012 12:36:27 +0000 (12:36 +0000)]
Eobj: examples/evas/elw_win - fix the class name.

Thanks to Yakov for letting me know.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Evas example - fixed coding convetion.
tasn [Sun, 15 Apr 2012 12:12:05 +0000 (12:12 +0000)]
Eobj: Evas example - fixed coding convetion.

Approved by Daniel Zaoui.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Make construct error a bool.
tasn [Sun, 15 Apr 2012 11:57:25 +0000 (11:57 +0000)]
Eobj: Make construct error a bool.

Way faster, and doesn't waste any additional memory.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70196 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Minor changes in eina log registration.
tasn [Sun, 15 Apr 2012 10:18:06 +0000 (10:18 +0000)]
Eobj: Minor changes in eina log registration.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70195 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Make eobj_event_callback_add a macro.
tasn [Sun, 15 Apr 2012 08:57:20 +0000 (08:57 +0000)]
Eobj: Make eobj_event_callback_add a macro.

Thanks to raster for the tip.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70193 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: ref/unref inside internal functions.
tasn [Sun, 15 Apr 2012 08:57:17 +0000 (08:57 +0000)]
Eobj: ref/unref inside internal functions.

Thanks to raster for the tip.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70192 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Eobj_Op should be unsigned int, not uintptr_t.
tasn [Sun, 15 Apr 2012 08:57:14 +0000 (08:57 +0000)]
Eobj: Eobj_Op should be unsigned int, not uintptr_t.

I have no clue why it ever was a uintptr_t...
Thanks to raster for noticing.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70191 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEobj: Added more function override tests.
tasn [Thu, 12 Apr 2012 15:27:22 +0000 (15:27 +0000)]
Eobj: Added more function override tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70151 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33