Commit Graph

47 Commits

Author SHA1 Message Date
Tom Hacohen 03a94f7cb1 Eobj: Evas example - fixed coding convetion.
Approved by Daniel Zaoui.

SVN revision: 70197
2012-04-15 12:12:05 +00:00
Tom Hacohen ad5549c8aa Eobj: Make construct error a bool.
Way faster, and doesn't waste any additional memory.

SVN revision: 70196
2012-04-15 11:57:25 +00:00
Tom Hacohen 41189e408e Eobj: Minor changes in eina log registration.
SVN revision: 70195
2012-04-15 10:18:06 +00:00
Tom Hacohen 36374f49a7 Eobj: Make eobj_event_callback_add a macro.
Thanks to raster for the tip.

SVN revision: 70193
2012-04-15 08:57:20 +00:00
Tom Hacohen f4ad42ffda Eobj: ref/unref inside internal functions.
Thanks to raster for the tip.

SVN revision: 70192
2012-04-15 08:57:17 +00:00
Tom Hacohen 1380c56c28 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.

SVN revision: 70191
2012-04-15 08:57:14 +00:00
Tom Hacohen 8be32105cb Eobj: Added more function override tests.
SVN revision: 70151
2012-04-12 15:27:22 +00:00
Tom Hacohen d331ee0001 Eobj: Fixed (and made fast) _eobj_op_id_desc_get.
SVN revision: 70150
2012-04-12 15:27:18 +00:00
Tom Hacohen d6affb56f7 Eobj: Improved constructors test.
SVN revision: 70149
2012-04-12 14:59:01 +00:00
Tom Hacohen d5e74719dc Eobj: Improved error reporting.
SVN revision: 70148
2012-04-12 14:58:57 +00:00
Tom Hacohen 739441afeb Eobj: Added some more test scenarios.
SVN revision: 70147
2012-04-12 14:37:57 +00:00
Tom Hacohen de70c853ea Eobj: Fixed a possible inconsistency in constructor error detection.
SVN revision: 70146
2012-04-12 14:37:52 +00:00
Tom Hacohen 697c58026f 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.

SVN revision: 70145
2012-04-12 13:52:13 +00:00
Tom Hacohen 0395f7943c Eobj: Improve signals test.
SVN revision: 70144
2012-04-12 12:42:33 +00:00
Tom Hacohen 17527c5307 Eobj: Fixed a bug in event_callback_del.
SVN revision: 70143
2012-04-12 12:42:29 +00:00
Tom Hacohen b02811d7fd Eobj: Cosmetic change + added a FIXME.
SVN revision: 70141
2012-04-12 12:25:34 +00:00
Tom Hacohen 5c53136210 Eobj: Improved output of signals test.
SVN revision: 70140
2012-04-12 12:25:32 +00:00
Tom Hacohen cc4cd4f710 Eobj: Restrict class inheritance a bit.
Don't allow mixing regular with non regular types when inheriting.

SVN revision: 70139
2012-04-12 12:25:29 +00:00
Tom Hacohen 3d11446968 Eobj: Improved some tests a bit more.
SVN revision: 70138
2012-04-12 12:25:26 +00:00
Tom Hacohen ef994b8163 Eobj: Improved tests a bit.
SVN revision: 70137
2012-04-12 11:20:26 +00:00
Tom Hacohen d113debcd2 Eobj: Fixed a bug in composite_object_is
SVN revision: 70136
2012-04-12 11:20:22 +00:00
Tom Hacohen 230de30c3e Eobj: Improved testing a bit.
SVN revision: 70135
2012-04-12 11:20:19 +00:00
Tom Hacohen bef76f0407 Eobj: Added some composite objects tests.
SVN revision: 70134
2012-04-12 10:48:08 +00:00
Tom Hacohen a0ee8a4aa7 Eobj: Revert "Eobj: Only try composite objects when really supposed to."
Was stupid and plain wrong.

This reverts commit 70132.

SVN revision: 70133
2012-04-12 10:23:46 +00:00
Tom Hacohen c92e62b5eb Eobj: Only try composite objects when really supposed to.
SVN revision: 70132
2012-04-12 10:19:50 +00:00
Tom Hacohen f8c89e84a2 Eobj: Composite objects should be attempted last.
SVN revision: 70131
2012-04-12 10:14:58 +00:00
Tom Hacohen 6996e85cd2 Eobj: Added a couple of function_overrides tests.
SVN revision: 70128
2012-04-12 08:27:38 +00:00
Tom Hacohen f4cc28cde9 Eobj: Fixed order of function call.
SVN revision: 70127
2012-04-12 08:27:35 +00:00
Tom Hacohen 69bf58ba95 Eobj: Fixed a potential bug in eobj_super_do.
SVN revision: 70126
2012-04-12 08:27:31 +00:00
Tom Hacohen 369617c161 Eobj: Fixed a potential bug in eobj_super_do.
SVN revision: 70014
2012-04-11 09:04:44 +00:00
Tom Hacohen 43f4caf7b0 Eobj: Removed eobj_class_parent_get. It's useless and discouraged.
SVN revision: 70013
2012-04-11 08:57:12 +00:00
Tom Hacohen 4e91ce84bc Eobj: Only allocate kls_itr when really needed.
SVN revision: 70012
2012-04-11 08:55:20 +00:00
Tom Hacohen fe45f31c02 Eobj: Allow more than one "super" chain per eobj_do.
SVN revision: 70011
2012-04-11 08:55:15 +00:00
Tom Hacohen 995140207f Eobj: Random commit to give credit for the idea of the previous commit.
Previous commit was suggested by Daniel Zaoui.

Sorry for forgetting. :)

SVN revision: 70010
2012-04-11 07:07:05 +00:00
Tom Hacohen 27429380dd Eobj: Improved private data lookups.
No offset array anymore - less memory wasted.
Lookup is *way* faster now.

SVN revision: 70009
2012-04-11 07:05:39 +00:00
Tom Hacohen a41960d689 Eobj: Added eobj_ref_get.
SVN revision: 70008
2012-04-11 07:05:37 +00:00
Tom Hacohen aaf11f7274 Eobj: make the kls_itr a stack.
It's useful for calling functions from within functions.

SVN revision: 70007
2012-04-11 07:05:33 +00:00
Tom Hacohen 4e471e9186 eobj: wrapped all the kls_itr calls into functions.
SVN revision: 70006
2012-04-11 07:05:30 +00:00
Tom Hacohen e1d070a9db Eobj: removed unneeded field.
SVN revision: 70005
2012-04-11 07:05:27 +00:00
Tom Hacohen dadb753a15 eobj: Improve error reporting.
This order of messages is better.

SVN revision: 70004
2012-04-11 07:05:24 +00:00
Tom Hacohen 419145c72a Eobj: Added eobj_super_do instead of class_do.
SVN revision: 70003
2012-04-11 07:05:21 +00:00
Tom Hacohen 9c4b436c69 Eobj: Added an MRO to classes. Walking the classes tree is not enough.
SVN revision: 70002
2012-04-11 07:05:14 +00:00
Tom Hacohen fc75687bc7 Eobj: added default constructor/destructor.
When NULL is passed, the default one is called.

SVN revision: 70001
2012-04-11 07:05:10 +00:00
Tom Hacohen a74871955c Eobj: Removed useless va_end.
Thanks to Daniel Zaoui.

SVN revision: 69993
2012-04-10 09:18:52 +00:00
Tom Hacohen 32f6c31ed1 eobj: A couple of other cosmetic changes.
Again, thanks to Vtorri.

SVN revision: 69992
2012-04-10 09:12:49 +00:00
Tom Hacohen fdf72fa795 Eobj: eobj.h -> Eobj.h
Thanks to vtorri.

SVN revision: 69991
2012-04-10 09:12:46 +00:00
Tom Hacohen 4f3f37059c Eobj: Initial commit.
SVN revision: 69932
2012-04-05 15:31:15 +00:00