profile/ivi/eobj.git
11 years agoEo: Added some negative refcount tests (with manual_free).
tasn [Thu, 23 Aug 2012 10:37:46 +0000 (10:37 +0000)]
Eo: Added some negative refcount tests (with manual_free).

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

11 years agoEo: Added eo_add_custom and support for passing ops to eo_add.
tasn [Thu, 23 Aug 2012 10:35:14 +0000 (10:35 +0000)]
Eo: Added eo_add_custom and support for passing ops to eo_add.

We can no do things like eo_add(CLASS, parent, age_set(7), score_set(100)),
or pass different constructors to object creation by using eo_add_custom and
passing the constructor.

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

11 years agoEo: Use our own magic check macro instead of Eina's
tasn [Wed, 22 Aug 2012 13:10:08 +0000 (13:10 +0000)]
Eo: Use our own magic check macro instead of Eina's

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

11 years agoEo: Add an error if we get to a negative refcount.
tasn [Tue, 21 Aug 2012 12:15:54 +0000 (12:15 +0000)]
Eo: Add an error if we get to a negative refcount.

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

11 years agoEo: WRN -> ERR. We do (in EFL) logging wrong.
tasn [Tue, 21 Aug 2012 12:08:48 +0000 (12:08 +0000)]
Eo: WRN -> ERR. We do (in EFL) logging wrong.

Warnings should be on by default and not abused.
Now I had to change the WRN -> ERR because JackDanielZ is a crybaby,
and the issue described above.

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

11 years agoEo: Removed static class support.
tasn [Mon, 20 Aug 2012 07:56:17 +0000 (07:56 +0000)]
Eo: Removed static class support.

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

11 years agoEo: Also fix the case when the chain is not allocated.
tasn [Tue, 31 Jul 2012 07:34:27 +0000 (07:34 +0000)]
Eo: Also fix the case when the chain is not allocated.

Continuation to previous commit.

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

11 years agoEo: Fixed an issue with mixins and super calls.
tasn [Tue, 31 Jul 2012 07:15:33 +0000 (07:15 +0000)]
Eo: Fixed an issue with mixins and super calls.

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

11 years agoEo: Changed ops prints to be DOMAIN:OP_NAME. Easier to follow.
tasn [Thu, 26 Jul 2012 13:15:28 +0000 (13:15 +0000)]
Eo: Changed ops prints to be DOMAIN:OP_NAME. Easier to follow.

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

11 years agoEo: Make func override warning an error instead (prev commit).
tasn [Thu, 26 Jul 2012 12:34:04 +0000 (12:34 +0000)]
Eo: Make func override warning an error instead (prev commit).

Make JackDanielZ happy...

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

11 years agoEo: Add a warning when trying to override a function that was already set for a class.
tasn [Thu, 26 Jul 2012 12:21:01 +0000 (12:21 +0000)]
Eo: Add a warning when trying to override a function that was already set for a class.

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

11 years agoEo: Fixed bug with calling multiple ops in some cases.
tasn [Mon, 23 Jul 2012 08:43:35 +0000 (08:43 +0000)]
Eo: Fixed bug with calling multiple ops in some cases.

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

11 years agoEo: Fixed super of different functions.
tasn [Wed, 18 Jul 2012 12:27:09 +0000 (12:27 +0000)]
Eo: Fixed super of different functions.

I.e calling super a_get from an a_set implementation.
This slows things down a bit.

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

11 years agoEo: Minor fixes to copy_all and clean.
tasn [Sun, 15 Jul 2012 12:27:56 +0000 (12:27 +0000)]
Eo: Minor fixes to copy_all and clean.

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

11 years agoEo: Fixed test case.
tasn [Sun, 15 Jul 2012 07:56:02 +0000 (07:56 +0000)]
Eo: Fixed test case.

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

11 years agoEo: Oops, commit missing files.
tasn [Thu, 12 Jul 2012 12:31:13 +0000 (12:31 +0000)]
Eo: Oops, commit missing files.

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

11 years agoEo: Allow interfaces to have class constructors/destructors.
tasn [Thu, 12 Jul 2012 08:43:59 +0000 (08:43 +0000)]
Eo: Allow interfaces to have class constructors/destructors.

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

11 years agoEo: Properly handle tests and their deps in the build system.
tasn [Tue, 10 Jul 2012 14:02:08 +0000 (14:02 +0000)]
Eo: Properly handle tests and their deps in the build system.

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

11 years agoEo: Avoid unneeded copies with kls-itr.
tasn [Tue, 10 Jul 2012 14:02:03 +0000 (14:02 +0000)]
Eo: Avoid unneeded copies with kls-itr.

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

11 years agoEo: eo_do is much faster now.
tasn [Tue, 10 Jul 2012 14:02:00 +0000 (14:02 +0000)]
Eo: eo_do is much faster now.

I simplified the kls-itr code so there'll be less overhead when doing eo_do.

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

11 years agoEo: Slight kls-itr cleanups.
tasn [Tue, 10 Jul 2012 14:01:57 +0000 (14:01 +0000)]
Eo: Slight kls-itr cleanups.

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

11 years agoEo: Cosmetic changes.
tasn [Tue, 10 Jul 2012 14:01:54 +0000 (14:01 +0000)]
Eo: Cosmetic changes.

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

11 years agoEo: Changed the way we construct op ids.
tasn [Tue, 10 Jul 2012 14:01:45 +0000 (14:01 +0000)]
Eo: Changed the way we construct op ids.

This simplifies the code, and improves the overall speed and memory
consumption.
Be advised that this breaks ABI, recompile your stuff.

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

11 years agoEo: added a version field to the class description.
tasn [Mon, 9 Jul 2012 09:09:46 +0000 (09:09 +0000)]
Eo: added a version field to the class description.

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

11 years agoLet it build with cmake 2.8.1 and older.
onefang [Sun, 1 Jul 2012 06:25:31 +0000 (06:25 +0000)]
Let it build with cmake 2.8.1 and older.

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

11 years agoEo: Removed the const op concept.
tasn [Wed, 27 Jun 2012 03:58:45 +0000 (03:58 +0000)]
Eo: Removed the const op concept.

Too ambiguous to be worth it...

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

11 years agoEo: Fixed wrong kls_itr inits and error message prints.
tasn [Wed, 27 Jun 2012 03:58:39 +0000 (03:58 +0000)]
Eo: Fixed wrong kls_itr inits and error message prints.

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

11 years agoEo: Added an eo_isa example.
tasn [Mon, 25 Jun 2012 09:07:39 +0000 (09:07 +0000)]
Eo: Added an eo_isa example.

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

11 years agoEo: Added a simple example.
tasn [Mon, 25 Jun 2012 06:52:08 +0000 (06:52 +0000)]
Eo: Added a simple example.

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

11 years agoEo: Fix return value of eo_do_super to depend on error_set.
tasn [Wed, 20 Jun 2012 15:56:17 +0000 (15:56 +0000)]
Eo: Fix return value of eo_do_super to depend on error_set.

And added tests to check it.

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

11 years agoEo: Removed empty dirs.
tasn [Sun, 17 Jun 2012 13:07:59 +0000 (13:07 +0000)]
Eo: Removed empty dirs.

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

11 years agoEo: Fixed eo_isa to work with comp objects and fixed eo_data_get's checks.
tasn [Thu, 14 Jun 2012 10:29:39 +0000 (10:29 +0000)]
Eo: Fixed eo_isa to work with comp objects and fixed eo_data_get's checks.

eo_data_get() now has correct checks again.
eo_isa now correctly handles composite objects, interfaces and etc.

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

11 years agoEo: Implemented eo_isa(). It checks if an object implements a class.
tasn [Wed, 13 Jun 2012 11:39:12 +0000 (11:39 +0000)]
Eo: Implemented eo_isa(). It checks if an object implements a class.

This works for class/interface/mixins but not for composite objects.

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

11 years agoEo: Save both mixins and interfaces, not just mixins.
tasn [Wed, 13 Jun 2012 11:39:02 +0000 (11:39 +0000)]
Eo: Save both mixins and interfaces, not just mixins.

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

11 years agoEo: Implement handling of eo_do errors and use it.
tasn [Wed, 13 Jun 2012 11:38:56 +0000 (11:38 +0000)]
Eo: Implement handling of eo_do errors and use it.

I'm now using it for constructor errors as well.

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

11 years agoEo: Actually, no reason why to force inheritance from base class.
tasn [Mon, 11 Jun 2012 07:41:11 +0000 (07:41 +0000)]
Eo: Actually, no reason why to force inheritance from base class.

You'll be using functionality if you don't but you still don't have to.
It's not perfect though, I still need to make it possible in other
places.

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

11 years agoEo: Force classes to inherit from EO_BASE_CLASS.
tasn [Mon, 11 Jun 2012 07:35:02 +0000 (07:35 +0000)]
Eo: Force classes to inherit from EO_BASE_CLASS.

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

11 years agoEo examples: evas_obj -> exevas_obj (example evas).
tasn [Mon, 11 Jun 2012 06:34:46 +0000 (06:34 +0000)]
Eo examples: evas_obj -> exevas_obj (example evas).

Fix it not to clash anymore with the Evas work.

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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