profile/ivi/eobj.git
12 years agoEobj: Fixed (and made fast) _eobj_op_id_desc_get.
tasn [Thu, 12 Apr 2012 15:27:18 +0000 (15:27 +0000)]
Eobj: Fixed (and made fast) _eobj_op_id_desc_get.

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

12 years agoEobj: Improved constructors test.
tasn [Thu, 12 Apr 2012 14:59:01 +0000 (14:59 +0000)]
Eobj: Improved constructors test.

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

12 years agoEobj: Improved error reporting.
tasn [Thu, 12 Apr 2012 14:58:57 +0000 (14:58 +0000)]
Eobj: Improved error reporting.

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

12 years agoEobj: Added some more test scenarios.
tasn [Thu, 12 Apr 2012 14:37:57 +0000 (14:37 +0000)]
Eobj: Added some more test scenarios.

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

12 years agoEobj: Fixed a possible inconsistency in constructor error detection.
tasn [Thu, 12 Apr 2012 14:37:52 +0000 (14:37 +0000)]
Eobj: Fixed a possible inconsistency in constructor error detection.

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

12 years agoEobj: Pass the private data to functions automatically.
tasn [Thu, 12 Apr 2012 13:52:13 +0000 (13:52 +0000)]
Eobj: Pass the private data to functions automatically.

This saves us from having to call the data_get function. This makes the
code nicer and potentially faster.

Thanks to raster for the tip.

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

12 years agoEobj: Improve signals test.
tasn [Thu, 12 Apr 2012 12:42:33 +0000 (12:42 +0000)]
Eobj: Improve signals test.

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

12 years agoEobj: Fixed a bug in event_callback_del.
tasn [Thu, 12 Apr 2012 12:42:29 +0000 (12:42 +0000)]
Eobj: Fixed a bug in event_callback_del.

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

12 years agoEobj: Cosmetic change + added a FIXME.
tasn [Thu, 12 Apr 2012 12:25:34 +0000 (12:25 +0000)]
Eobj: Cosmetic change + added a FIXME.

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

12 years agoEobj: Improved output of signals test.
tasn [Thu, 12 Apr 2012 12:25:32 +0000 (12:25 +0000)]
Eobj: Improved output of signals test.

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

12 years agoEobj: Restrict class inheritance a bit.
tasn [Thu, 12 Apr 2012 12:25:29 +0000 (12:25 +0000)]
Eobj: Restrict class inheritance a bit.

Don't allow mixing regular with non regular types when inheriting.

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

12 years agoEobj: Improved some tests a bit more.
tasn [Thu, 12 Apr 2012 12:25:26 +0000 (12:25 +0000)]
Eobj: Improved some tests a bit more.

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

12 years agoEobj: Improved tests a bit.
tasn [Thu, 12 Apr 2012 11:20:26 +0000 (11:20 +0000)]
Eobj: Improved tests a bit.

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

12 years agoEobj: Fixed a bug in composite_object_is
tasn [Thu, 12 Apr 2012 11:20:22 +0000 (11:20 +0000)]
Eobj: Fixed a bug in composite_object_is

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

12 years agoEobj: Improved testing a bit.
tasn [Thu, 12 Apr 2012 11:20:19 +0000 (11:20 +0000)]
Eobj: Improved testing a bit.

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

12 years agoEobj: Added some composite objects tests.
tasn [Thu, 12 Apr 2012 10:48:08 +0000 (10:48 +0000)]
Eobj: Added some composite objects tests.

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

12 years agoEobj: Revert "Eobj: Only try composite objects when really supposed to."
tasn [Thu, 12 Apr 2012 10:23:46 +0000 (10:23 +0000)]
Eobj: Revert "Eobj: Only try composite objects when really supposed to."

Was stupid and plain wrong.

This reverts commit 70132.

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

12 years agoEobj: Only try composite objects when really supposed to.
tasn [Thu, 12 Apr 2012 10:19:50 +0000 (10:19 +0000)]
Eobj: Only try composite objects when really supposed to.

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

12 years agoEobj: Composite objects should be attempted last.
tasn [Thu, 12 Apr 2012 10:14:58 +0000 (10:14 +0000)]
Eobj: Composite objects should be attempted last.

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

12 years agoEobj: Added a couple of function_overrides tests.
tasn [Thu, 12 Apr 2012 08:27:38 +0000 (08:27 +0000)]
Eobj: Added a couple of function_overrides tests.

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

12 years agoEobj: Fixed order of function call.
tasn [Thu, 12 Apr 2012 08:27:35 +0000 (08:27 +0000)]
Eobj: Fixed order of function call.

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

12 years agoEobj: Fixed a potential bug in eobj_super_do.
tasn [Thu, 12 Apr 2012 08:27:31 +0000 (08:27 +0000)]
Eobj: Fixed a potential bug in eobj_super_do.

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

12 years agoEobj: Fixed a potential bug in eobj_super_do.
tasn [Wed, 11 Apr 2012 09:04:44 +0000 (09:04 +0000)]
Eobj: Fixed a potential bug in eobj_super_do.

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

12 years agoEobj: Removed eobj_class_parent_get. It's useless and discouraged.
tasn [Wed, 11 Apr 2012 08:57:12 +0000 (08:57 +0000)]
Eobj: Removed eobj_class_parent_get. It's useless and discouraged.

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

12 years agoEobj: Only allocate kls_itr when really needed.
tasn [Wed, 11 Apr 2012 08:55:20 +0000 (08:55 +0000)]
Eobj: Only allocate kls_itr when really needed.

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

12 years agoEobj: Allow more than one "super" chain per eobj_do.
tasn [Wed, 11 Apr 2012 08:55:15 +0000 (08:55 +0000)]
Eobj: Allow more than one "super" chain per eobj_do.

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

12 years agoEobj: Random commit to give credit for the idea of the previous commit.
tasn [Wed, 11 Apr 2012 07:07:05 +0000 (07:07 +0000)]
Eobj: Random commit to give credit for the idea of the previous commit.

Previous commit was suggested by Daniel Zaoui.

Sorry for forgetting. :)

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

12 years agoEobj: Improved private data lookups.
tasn [Wed, 11 Apr 2012 07:05:39 +0000 (07:05 +0000)]
Eobj: Improved private data lookups.

No offset array anymore - less memory wasted.
Lookup is *way* faster now.

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

12 years agoEobj: Added eobj_ref_get.
tasn [Wed, 11 Apr 2012 07:05:37 +0000 (07:05 +0000)]
Eobj: Added eobj_ref_get.

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

12 years agoEobj: make the kls_itr a stack.
tasn [Wed, 11 Apr 2012 07:05:33 +0000 (07:05 +0000)]
Eobj: make the kls_itr a stack.

It's useful for calling functions from within functions.

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

12 years agoeobj: wrapped all the kls_itr calls into functions.
tasn [Wed, 11 Apr 2012 07:05:30 +0000 (07:05 +0000)]
eobj: wrapped all the kls_itr calls into functions.

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

12 years agoEobj: removed unneeded field.
tasn [Wed, 11 Apr 2012 07:05:27 +0000 (07:05 +0000)]
Eobj: removed unneeded field.

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

12 years agoeobj: Improve error reporting.
tasn [Wed, 11 Apr 2012 07:05:24 +0000 (07:05 +0000)]
eobj: Improve error reporting.

This order of messages is better.

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

12 years agoEobj: Added eobj_super_do instead of class_do.
tasn [Wed, 11 Apr 2012 07:05:21 +0000 (07:05 +0000)]
Eobj: Added eobj_super_do instead of class_do.

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

12 years agoEobj: Added an MRO to classes. Walking the classes tree is not enough.
tasn [Wed, 11 Apr 2012 07:05:14 +0000 (07:05 +0000)]
Eobj: Added an MRO to classes. Walking the classes tree is not enough.

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

12 years agoEobj: added default constructor/destructor.
tasn [Wed, 11 Apr 2012 07:05:10 +0000 (07:05 +0000)]
Eobj: added default constructor/destructor.

When NULL is passed, the default one is called.

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

12 years agoEobj: Removed useless va_end.
tasn [Tue, 10 Apr 2012 09:18:52 +0000 (09:18 +0000)]
Eobj: Removed useless va_end.

Thanks to Daniel Zaoui.

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

12 years agoeobj: A couple of other cosmetic changes.
tasn [Tue, 10 Apr 2012 09:12:49 +0000 (09:12 +0000)]
eobj: A couple of other cosmetic changes.

Again, thanks to Vtorri.

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

12 years agoEobj: eobj.h -> Eobj.h
tasn [Tue, 10 Apr 2012 09:12:46 +0000 (09:12 +0000)]
Eobj: eobj.h -> Eobj.h

Thanks to vtorri.

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

12 years agoEobj: Initial commit.
tasn [Thu, 5 Apr 2012 15:31:15 +0000 (15:31 +0000)]
Eobj: Initial commit.

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

12 years agoEobj: Added an empty dir for eobj.
tasn [Thu, 5 Apr 2012 15:21:59 +0000 (15:21 +0000)]
Eobj: Added an empty dir for eobj.

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