Commit Graph

38 Commits

Author SHA1 Message Date
Tom Hacohen 3cc5c60d17 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.

SVN revision: 70435
2012-04-24 12:16:17 +00:00
Tom Hacohen 2c66050b65 Eobj: Changed all the eobj_do macros to lowercase.
code clutter--.

SVN revision: 70432
2012-04-24 08:56:49 +00:00
Tom Hacohen 4e05a6193c Eobj: Added infrastructure for const functions and eobj_query.
SVN revision: 70431
2012-04-24 08:04:14 +00:00
Tom Hacohen 5b529c506b Eobj: Added docs to the examples (needed for introspection).
Patch by Yakov Goldberg.

SVN revision: 70417
2012-04-23 12:32:34 +00:00
Tom Hacohen b5a1df1270 Eobj: Added EOBJ_CALLBACK_STOP/CONTINUE macros.
SVN revision: 70408
2012-04-23 08:09:58 +00:00
Tom Hacohen e0f6adbea6 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.

SVN revision: 70407
2012-04-23 08:09:54 +00:00
Tom Hacohen 1390200ede Eobj: Fixed issue with FindEina.cmake and things using it.
SVN revision: 70406
2012-04-23 08:09:49 +00:00
Tom Hacohen 95eaccb0cc Eobj: s/__UNUSED__/EINA_UNUSED/ I had no idea that exists.
SVN revision: 70332
2012-04-19 11:30:17 +00:00
Tom Hacohen 11361eae41 Eobj: Added mixin data support.
SVN revision: 70324
2012-04-19 08:52:25 +00:00
Tom Hacohen 7713059d6d Eobj: Modified the mixin test to test the mixin mro.
SVN revision: 70320
2012-04-19 08:52:11 +00:00
Tom Hacohen 25ab72e2ee Eobj: Ensure we don't allow calling super functions out of place.
And improved error reporting.

SVN revision: 70287
2012-04-18 07:58:34 +00:00
Tom Hacohen f4fd7944b7 Eobj: Use xref.
SVN revision: 70275
2012-04-17 15:36:41 +00:00
Tom Hacohen ff0482180f Eobj: Add a mixin inheritance test.
SVN revision: 70274
2012-04-17 15:22:27 +00:00
Tom Hacohen 69afa9d2ad Eobj: EOBJ_CLASS_BASE -> EOBJ_BASE_CLASS.
SVN revision: 70272
2012-04-17 14:01:09 +00:00
Tom Hacohen 2764023655 Eobj: eobj_generic_data_*->EOBJ_BASE_DATA_*.
And also split the base class away from eobj.c

SVN revision: 70267
2012-04-17 12:49:53 +00:00
Tom Hacohen bad7533b67 Eobj: Improved tests.
SVN revision: 70264
2012-04-17 10:27:40 +00:00
Tom Hacohen 544a663dd2 Eobj: Fixed inheritance checks and fixed mixin examples accordingly.
SVN revision: 70263
2012-04-17 10:27:37 +00:00
Tom Hacohen 3f2c369c26 Eobj: Made eobj_class_new return a const class.
Once a class is created, we are no longer allowed to touch it.

SVN revision: 70260
2012-04-17 10:27:25 +00:00
Tom Hacohen 519adcf26c Eobj: Add missing op descriptions in examples.
SVN revision: 70258
2012-04-17 08:05:07 +00:00
Tom Hacohen fc75dd0032 Eobj: eobj_super_do -> eobj_do_super.
SVN revision: 70257
2012-04-17 08:05:03 +00:00
Tom Hacohen 18258b9002 Eobj: Renamed EOBJ_SIG_CALLBACK_* to EOBJ_EV_CALLBACK_*.
SVN revision: 70230
2012-04-16 14:22:08 +00:00
Tom Hacohen 0b35767735 Eobj: EOBJ_OP_FUNC_DESCRIPTION -> EOBJ_OP_FUNC.
The previous name was just too damn long.

SVN revision: 70225
2012-04-16 12:36:34 +00:00
Tom Hacohen 5386de12b8 Eobj: examples/evas/elw_win - fix the class name.
Thanks to Yakov for letting me know.

SVN revision: 70224
2012-04-16 12:36:27 +00:00
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 8be32105cb Eobj: Added more function override tests.
SVN revision: 70151
2012-04-12 15:27:22 +00:00
Tom Hacohen d6affb56f7 Eobj: Improved constructors test.
SVN revision: 70149
2012-04-12 14:59:01 +00:00
Tom Hacohen 739441afeb Eobj: Added some more test scenarios.
SVN revision: 70147
2012-04-12 14:37:57 +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 5c53136210 Eobj: Improved output of signals test.
SVN revision: 70140
2012-04-12 12:25:32 +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 bef76f0407 Eobj: Added some composite objects tests.
SVN revision: 70134
2012-04-12 10:48:08 +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 419145c72a Eobj: Added eobj_super_do instead of class_do.
SVN revision: 70003
2012-04-11 07:05:21 +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 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