profile/ivi/eobj.git
11 years agoEo: Fix internal code using eo_composite functions.
tasn [Sun, 10 Jun 2012 15:02:49 +0000 (15:02 +0000)]
Eo: Fix internal code using eo_composite functions.

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

11 years agoEo: eo_composite_object_* -> eo_composite_*.
tasn [Sun, 10 Jun 2012 15:02:44 +0000 (15:02 +0000)]
Eo: eo_composite_object_* -> eo_composite_*.

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

11 years agoEo composite: Reordered parameters and improved docs.
tasn [Sun, 10 Jun 2012 14:56:20 +0000 (14:56 +0000)]
Eo composite: Reordered parameters and improved docs.

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

11 years agoEo: Removed EINA_CONST.
tasn [Sun, 10 Jun 2012 14:56:15 +0000 (14:56 +0000)]
Eo: Removed EINA_CONST.

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

11 years agoEo: Restructure source tree to be like the rest of the EFL.
tasn [Sun, 10 Jun 2012 14:56:06 +0000 (14:56 +0000)]
Eo: Restructure source tree to be like the rest of the EFL.

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

11 years agoEo: Turn evas example back on.
tasn [Sun, 10 Jun 2012 14:13:34 +0000 (14:13 +0000)]
Eo: Turn evas example back on.

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

11 years agoEo: Fixed error message.
tasn [Sun, 10 Jun 2012 14:13:30 +0000 (14:13 +0000)]
Eo: Fixed error message.

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

11 years agoEo: move manual_free functions to the right doc group
tasn [Sun, 10 Jun 2012 14:05:00 +0000 (14:05 +0000)]
Eo: move manual_free functions to the right doc group

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

11 years agoEo: error when calling constructor/destructor out of context.
tasn [Sun, 10 Jun 2012 14:04:58 +0000 (14:04 +0000)]
Eo: error when calling constructor/destructor out of context.

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

11 years agoEo: Made constructor/destructor regular ops.
tasn [Sun, 10 Jun 2012 14:04:53 +0000 (14:04 +0000)]
Eo: Made constructor/destructor regular ops.

This lets us remove some unneeded code and makes everything nicer.

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

11 years agoEo: Removed "type" property from event/op descriptions.
tasn [Sun, 10 Jun 2012 11:37:26 +0000 (11:37 +0000)]
Eo: Removed "type" property from event/op descriptions.

No use for it ATM, will be added if needed."

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

11 years agoEo: Improved error reporting with failed constructors.
tasn [Sun, 10 Jun 2012 07:53:46 +0000 (07:53 +0000)]
Eo: Improved error reporting with failed constructors.

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

11 years agoEo: Added a check if object is already deleted in eo_unref.
tasn [Sun, 10 Jun 2012 07:53:43 +0000 (07:53 +0000)]
Eo: Added a check if object is already deleted in eo_unref.

If an object is manually freed it was possible to ref/unref it so it'll
try to call the destructor again.

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

11 years agoEo: Improved error messages. Show op as hex.
tasn [Thu, 7 Jun 2012 11:32:21 +0000 (11:32 +0000)]
Eo: Improved error messages. Show op as hex.

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

11 years agoEo: further improved error reporting with bad func_set.
tasn [Thu, 7 Jun 2012 11:32:17 +0000 (11:32 +0000)]
Eo: further improved error reporting with bad func_set.

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

11 years agoEo: Change the op func sentinel to be safer.
tasn [Thu, 7 Jun 2012 11:14:38 +0000 (11:14 +0000)]
Eo: Change the op func sentinel to be safer.

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

11 years agoEo: Clean up previous commit a bit.
tasn [Thu, 7 Jun 2012 11:14:35 +0000 (11:14 +0000)]
Eo: Clean up previous commit a bit.

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

11 years agoEo: Print an error if we try setting a function for an illegal op.
tasn [Thu, 7 Jun 2012 11:03:22 +0000 (11:03 +0000)]
Eo: Print an error if we try setting a function for an illegal op.

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

11 years agoEo: Added some hierarchy reference checks.
tasn [Thu, 7 Jun 2012 10:54:17 +0000 (10:54 +0000)]
Eo: Added some hierarchy reference checks.

Check that objects are freed when they should be freed.

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

11 years agoEo: Made composite objects more robust.
tasn [Thu, 7 Jun 2012 10:54:15 +0000 (10:54 +0000)]
Eo: Made composite objects more robust.

Mark on the object itself if it's composited -> faster.
Remove from composite list if reparented.

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

11 years agoEo: Improved docs.
tasn [Thu, 7 Jun 2012 10:54:12 +0000 (10:54 +0000)]
Eo: Improved docs.

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

11 years agoEo: Removed redundant reparent.
tasn [Thu, 7 Jun 2012 10:54:08 +0000 (10:54 +0000)]
Eo: Removed redundant reparent.

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

12 years agoEo: added back eo_del.
tasn [Thu, 7 Jun 2012 07:17:45 +0000 (07:17 +0000)]
Eo: added back eo_del.

It's needed for proper object hierarchy handling.

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

12 years agoEo: don't reparent if it's the same parent.
tasn [Thu, 7 Jun 2012 07:17:42 +0000 (07:17 +0000)]
Eo: don't reparent if it's the same parent.

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

12 years agoEo: Fixed error message.
tasn [Wed, 6 Jun 2012 11:41:56 +0000 (11:41 +0000)]
Eo: Fixed error message.

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

12 years agoEo: Added a phantom ref if we manual free.
tasn [Wed, 6 Jun 2012 11:41:53 +0000 (11:41 +0000)]
Eo: Added a phantom ref if we manual free.

This lets us use eo_do and the such on deleted to be manually freed objects.

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

12 years agoEo: Check adding/deleting callbacks from within callbacks doesn't crash.
tasn [Wed, 6 Jun 2012 11:41:51 +0000 (11:41 +0000)]
Eo: Check adding/deleting callbacks from within callbacks doesn't crash.

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

12 years agoEo: Added eo_parent_set.
tasn [Wed, 6 Jun 2012 11:41:47 +0000 (11:41 +0000)]
Eo: Added eo_parent_set.

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

12 years agoEo: Moved more saftey checks to release mode only.
tasn [Tue, 5 Jun 2012 12:05:08 +0000 (12:05 +0000)]
Eo: Moved more saftey checks to release mode only.

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

12 years agoEo: renamed the Magic for freed objects and better handle deleted objects.
tasn [Tue, 5 Jun 2012 12:05:06 +0000 (12:05 +0000)]
Eo: renamed the Magic for freed objects and better handle deleted objects.

Now we differentiate between deleted but not freed vs deleted and freed
objects.

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

12 years agoEo: Rephrased error message.
tasn [Tue, 5 Jun 2012 12:05:02 +0000 (12:05 +0000)]
Eo: Rephrased error message.

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

12 years agoEo: Added a flag to know if we have any callbacks to clear.
tasn [Sun, 3 Jun 2012 13:33:09 +0000 (13:33 +0000)]
Eo: Added a flag to know if we have any callbacks to clear.

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

12 years agoEo: Improved checks in signals example.
tasn [Sun, 3 Jun 2012 13:33:04 +0000 (13:33 +0000)]
Eo: Improved checks in signals example.

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

12 years agoEo: print an error when trying to delete a non-existent callback.
tasn [Sun, 3 Jun 2012 08:42:18 +0000 (08:42 +0000)]
Eo: print an error when trying to delete a non-existent callback.

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

12 years agoEo: Remove del_lazy.
tasn [Sun, 3 Jun 2012 08:42:15 +0000 (08:42 +0000)]
Eo: Remove del_lazy.

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

12 years agoEo: Added support for static class ids.
tasn [Sun, 3 Jun 2012 08:42:12 +0000 (08:42 +0000)]
Eo: Added support for static class ids.

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

12 years agoEo: remove eo_del.
tasn [Sun, 3 Jun 2012 08:42:08 +0000 (08:42 +0000)]
Eo: remove eo_del.

Useless for us, was only added to be like evas, but we don't need it
anymore.

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

12 years agoEo: Fix the test suite to run with CK_FORK=no.
tasn [Tue, 22 May 2012 11:13:15 +0000 (11:13 +0000)]
Eo: Fix the test suite to run with CK_FORK=no.

Make it possible to do it, and make it default.
And remove the now useless valgrind option (we want to see still
      reachable now that libcheck works).

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

12 years agoEo: Fixed memory leaks in the tests.
tasn [Mon, 21 May 2012 15:18:54 +0000 (15:18 +0000)]
Eo: Fixed memory leaks in the tests.

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

12 years agoEo: Fix illegal memcpy.
tasn [Mon, 21 May 2012 15:18:52 +0000 (15:18 +0000)]
Eo: Fix illegal memcpy.

We should not try to copy ourselves to ourselves. :)

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

12 years agoEo: Added more magic tests.
tasn [Mon, 21 May 2012 14:48:38 +0000 (14:48 +0000)]
Eo: Added more magic tests.

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

12 years agoEo: Made an hot-path check compile out when not in debug mode.
tasn [Mon, 21 May 2012 14:48:32 +0000 (14:48 +0000)]
Eo: Made an hot-path check compile out when not in debug mode.

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

12 years agoEo: Improve tests of magic values (NULL pointers).
tasn [Mon, 21 May 2012 11:45:37 +0000 (11:45 +0000)]
Eo: Improve tests of magic values (NULL pointers).

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

12 years agoEo: Fix wrong usage of EO_OP_TYPE in eo_do/query*.
tasn [Mon, 21 May 2012 11:45:34 +0000 (11:45 +0000)]
Eo: Fix wrong usage of EO_OP_TYPE in eo_do/query*.

Thanks to Yakov for letting me know about it.

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

12 years agoEo: Added eo_manual_free* funcs.
tasn [Mon, 21 May 2012 11:45:32 +0000 (11:45 +0000)]
Eo: Added eo_manual_free* funcs.

Patch by Daniel Zaoui.

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

12 years agoEo: Fix pkg-config cflags.
tasn [Mon, 21 May 2012 08:58:18 +0000 (08:58 +0000)]
Eo: Fix pkg-config cflags.

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

12 years agoEo: Added extern "C" for the C++ fellows.
tasn [Thu, 17 May 2012 06:22:50 +0000 (06:22 +0000)]
Eo: Added extern "C" for the C++ fellows.

Oops, forgot, thanks to Yakov for letting me know.

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

12 years agoEo: Fixed error message.
tasn [Tue, 15 May 2012 15:06:40 +0000 (15:06 +0000)]
Eo: Fixed error message.

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

12 years agoEo: Fixed error in docs.
tasn [Tue, 15 May 2012 14:17:10 +0000 (14:17 +0000)]
Eo: Fixed error in docs.

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

12 years agoEo: Added interface example.
tasn [Tue, 15 May 2012 14:17:07 +0000 (14:17 +0000)]
Eo: Added interface example.

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

12 years agoEo: Added support for event freeze/thaw.
tasn [Tue, 15 May 2012 14:17:03 +0000 (14:17 +0000)]
Eo: Added support for event freeze/thaw.

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

12 years agoEo: Added support for class functions.
tasn [Tue, 15 May 2012 14:16:58 +0000 (14:16 +0000)]
Eo: Added support for class functions.

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

12 years agoEo: Change mro_itr functions to be more generic.
tasn [Tue, 15 May 2012 14:16:54 +0000 (14:16 +0000)]
Eo: Change mro_itr functions to be more generic.

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

12 years agoEo: add a check for future static classes.
tasn [Mon, 14 May 2012 15:20:46 +0000 (15:20 +0000)]
Eo: add a check for future static classes.

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

12 years agoEo: Added the two events I removed by accident.
tasn [Mon, 14 May 2012 13:33:26 +0000 (13:33 +0000)]
Eo: Added the two events I removed by accident.

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

12 years agoEo: renamed eo_constructor_error_* -> eo_error_*.
tasn [Mon, 14 May 2012 11:57:28 +0000 (11:57 +0000)]
Eo: renamed eo_constructor_error_* -> eo_error_*.

This is in preperation of a future change to be able to set errors in
function calls as well, and not just constructors.
Also, I improved the error reporting.

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

12 years agoEo: Add missing @def to docs.
tasn [Mon, 14 May 2012 11:57:25 +0000 (11:57 +0000)]
Eo: Add missing @def to docs.

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

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