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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
tasn [Tue, 8 May 2012 06:56:57 +0000 (06:56 +0000)]
Eo: Flatten func array, so function fetching will always be fast.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70866
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 8 May 2012 06:56:55 +0000 (06:56 +0000)]
Eo: Fix parameter checking of eo_do_super.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70865
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 8 May 2012 06:56:50 +0000 (06:56 +0000)]
Eo: Make eo_parent_get accept const.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70864
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 14:18:44 +0000 (14:18 +0000)]
Eo: Test getting data from class with no data.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:29 +0000 (12:03 +0000)]
Eo: Only implement _eo_class_mro_has when in testing mode.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70799
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:26 +0000 (12:03 +0000)]
Eo: Added an internal _eo_ref/unref implementation.
We don't need to do all the regular checks when called from our code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70798
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:23 +0000 (12:03 +0000)]
Eo: Improved the data structure used for func fetching.
Made it 2 levels instead of 1 and made it a lot smaller.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70797
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:21 +0000 (12:03 +0000)]
Eo: Added an internal _eo_data_get implementation.
We don't need to do all the regular checks when called from our code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70796
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:18 +0000 (12:03 +0000)]
Eo: Fixed so versioning.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70795
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:16 +0000 (12:03 +0000)]
Eo: Fixed the tests when building in "release mode".
Our release mode safety checks are less strict, so we have to disable some
of the test cases when testing there.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70794
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:13 +0000 (12:03 +0000)]
Eo: Overhauled the mro-walking mechanism.
A lot faster now.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70793
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:11 +0000 (12:03 +0000)]
Eo: Fixed some issues.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70792
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 6 May 2012 12:03:07 +0000 (12:03 +0000)]
Eo: Improved error reporting in data_get.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70791
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 2 May 2012 13:59:18 +0000 (13:59 +0000)]
Eo: Added debug-mode check for eo_data_get.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70625
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 14:00:14 +0000 (14:00 +0000)]
Eobj: Fixed wref bugs and improve it's tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70584
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 13:23:30 +0000 (13:23 +0000)]
Eo: Rename SIG_* to EV_*.
Patch by Yakov Goldberg.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70581
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 13:23:25 +0000 (13:23 +0000)]
Eo: Doc improvements.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70580
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 12:38:14 +0000 (12:38 +0000)]
Eo: Make wref a c array instead of using event callbacks.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70578
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 11:25:03 +0000 (11:25 +0000)]
Eo: Added eo_wref_del_safe.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70573
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 11:25:00 +0000 (11:25 +0000)]
Eo: Fixed a bug in wref del.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70572
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 10:42:55 +0000 (10:42 +0000)]
Eo: Changed #EINA_TRUE/FALSE to @C EINA_*.
Removes the doxygen warning, but pretty annoying.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70571
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 08:07:04 +0000 (08:07 +0000)]
Eobj: Fix issue with the typecheck macro.
It should not use the passed variable more than once.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70568
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 1 May 2012 07:40:14 +0000 (07:40 +0000)]
Eobj: Rename to Eo.
Blame cedric.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70566
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 29 Apr 2012 15:52:37 +0000 (15:52 +0000)]
Eobj: Fix clang's (static analyser) warnings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70537
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 24 Apr 2012 12:27:22 +0000 (12:27 +0000)]
Eobj: change the tests according to the new wref concept.
We should not delete the wref if object is already freed. It's because
of the damn new wref API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 24 Apr 2012 12:16:23 +0000 (12:16 +0000)]
Eobj: Fixed a possible bug with object deletion.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70437
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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