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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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