caro [Fri, 7 Sep 2012 18:58:35 +0000 (18:58 +0000)]
eo: copy/paste error
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76319
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 7 Sep 2012 18:56:49 +0000 (18:56 +0000)]
Fix compilation on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76318
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 5 Sep 2012 22:53:30 +0000 (22:53 +0000)]
Eobj: don't install benchmark and examples, request from Tom
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76209
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 4 Sep 2012 10:48:28 +0000 (10:48 +0000)]
Eo: autogen.sh - dos->unix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76125
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 4 Sep 2012 10:45:22 +0000 (10:45 +0000)]
Eo: Make autogen.sh executable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 4 Sep 2012 07:37:36 +0000 (07:37 +0000)]
Eo: Added COPYING.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76111
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 4 Sep 2012 07:03:02 +0000 (07:03 +0000)]
Eo: autotools + minor fixes so that it compiles on Windows (mainly reordering the header files inclusion
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 3 Sep 2012 07:27:01 +0000 (07:27 +0000)]
Eo: Made benchmarking output a bit nicer.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75961
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 3 Sep 2012 07:26:57 +0000 (07:26 +0000)]
Eo: optimised eo_op_class_get a bit. Can still make it better.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75960
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 26 Aug 2012 13:18:44 +0000 (13:18 +0000)]
Eo: Added simple benchmark infra (not really testing anything atm).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75712
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 15:04:48 +0000 (15:04 +0000)]
Eo: Moved a magic check from an internal function to the external function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75626
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 14:24:32 +0000 (14:24 +0000)]
Eo: Remove volatile from the GCC issue workaround.
It seems that just setting to a temp var is enough to make GCC not
optimise it out. It seems GCC's problem is with the void cast.
Also, fixed another place that had the same issue.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75624
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 12:14:07 +0000 (12:14 +0000)]
Eo: Fixed issue with eo_add ops.
This "fix" is actually just making sure gcc doesn't optimise things
wrong. If anyone has an idea how to do it better, please let me know.
klass is usually a function and needs to be evaluated before the call to
eo_add_internal.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75623
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 10:47:11 +0000 (10:47 +0000)]
Eo: Added a non-default constructor test.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75616
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 10:37:46 +0000 (10:37 +0000)]
Eo: Added some negative refcount tests (with manual_free).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75615
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 23 Aug 2012 10:35:14 +0000 (10:35 +0000)]
Eo: Added eo_add_custom and support for passing ops to eo_add.
We can no do things like eo_add(CLASS, parent, age_set(7), score_set(100)),
or pass different constructors to object creation by using eo_add_custom and
passing the constructor.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75614
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 22 Aug 2012 13:10:08 +0000 (13:10 +0000)]
Eo: Use our own magic check macro instead of Eina's
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75549
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 21 Aug 2012 12:15:54 +0000 (12:15 +0000)]
Eo: Add an error if we get to a negative refcount.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75505
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 21 Aug 2012 12:08:48 +0000 (12:08 +0000)]
Eo: WRN -> ERR. We do (in EFL) logging wrong.
Warnings should be on by default and not abused.
Now I had to change the WRN -> ERR because JackDanielZ is a crybaby,
and the issue described above.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 20 Aug 2012 07:56:17 +0000 (07:56 +0000)]
Eo: Removed static class support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75452
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 31 Jul 2012 07:34:27 +0000 (07:34 +0000)]
Eo: Also fix the case when the chain is not allocated.
Continuation to previous commit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74619
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 31 Jul 2012 07:15:33 +0000 (07:15 +0000)]
Eo: Fixed an issue with mixins and super calls.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74617
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 26 Jul 2012 13:15:28 +0000 (13:15 +0000)]
Eo: Changed ops prints to be DOMAIN:OP_NAME. Easier to follow.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74442
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 26 Jul 2012 12:34:04 +0000 (12:34 +0000)]
Eo: Make func override warning an error instead (prev commit).
Make JackDanielZ happy...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74437
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 26 Jul 2012 12:21:01 +0000 (12:21 +0000)]
Eo: Add a warning when trying to override a function that was already set for a class.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74436
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 23 Jul 2012 08:43:35 +0000 (08:43 +0000)]
Eo: Fixed bug with calling multiple ops in some cases.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74313
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 Jul 2012 12:27:09 +0000 (12:27 +0000)]
Eo: Fixed super of different functions.
I.e calling super a_get from an a_set implementation.
This slows things down a bit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@74062
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Jul 2012 12:27:56 +0000 (12:27 +0000)]
Eo: Minor fixes to copy_all and clean.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73876
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Jul 2012 07:56:02 +0000 (07:56 +0000)]
Eo: Fixed test case.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73867
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Jul 2012 12:31:13 +0000 (12:31 +0000)]
Eo: Oops, commit missing files.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73617
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Jul 2012 08:43:59 +0000 (08:43 +0000)]
Eo: Allow interfaces to have class constructors/destructors.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73606
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:02:08 +0000 (14:02 +0000)]
Eo: Properly handle tests and their deps in the build system.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73533
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:02:03 +0000 (14:02 +0000)]
Eo: Avoid unneeded copies with kls-itr.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73532
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:02:00 +0000 (14:02 +0000)]
Eo: eo_do is much faster now.
I simplified the kls-itr code so there'll be less overhead when doing eo_do.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73531
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:01:57 +0000 (14:01 +0000)]
Eo: Slight kls-itr cleanups.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73530
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:01:54 +0000 (14:01 +0000)]
Eo: Cosmetic changes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73529
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Jul 2012 14:01:45 +0000 (14:01 +0000)]
Eo: Changed the way we construct op ids.
This simplifies the code, and improves the overall speed and memory
consumption.
Be advised that this breaks ABI, recompile your stuff.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73528
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 9 Jul 2012 09:09:46 +0000 (09:09 +0000)]
Eo: added a version field to the class description.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73494
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
onefang [Sun, 1 Jul 2012 06:25:31 +0000 (06:25 +0000)]
Let it build with cmake 2.8.1 and older.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73087
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 27 Jun 2012 03:58:45 +0000 (03:58 +0000)]
Eo: Removed the const op concept.
Too ambiguous to be worth it...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 27 Jun 2012 03:58:39 +0000 (03:58 +0000)]
Eo: Fixed wrong kls_itr inits and error message prints.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72913
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 25 Jun 2012 09:07:39 +0000 (09:07 +0000)]
Eo: Added an eo_isa example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72793
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 25 Jun 2012 06:52:08 +0000 (06:52 +0000)]
Eo: Added a simple example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72781
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Jun 2012 15:56:17 +0000 (15:56 +0000)]
Eo: Fix return value of eo_do_super to depend on error_set.
And added tests to check it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72550
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jun 2012 13:07:59 +0000 (13:07 +0000)]
Eo: Removed empty dirs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jun 2012 10:29:39 +0000 (10:29 +0000)]
Eo: Fixed eo_isa to work with comp objects and fixed eo_data_get's checks.
eo_data_get() now has correct checks again.
eo_isa now correctly handles composite objects, interfaces and etc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jun 2012 11:39:12 +0000 (11:39 +0000)]
Eo: Implemented eo_isa(). It checks if an object implements a class.
This works for class/interface/mixins but not for composite objects.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72083
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jun 2012 11:39:02 +0000 (11:39 +0000)]
Eo: Save both mixins and interfaces, not just mixins.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72082
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jun 2012 11:38:56 +0000 (11:38 +0000)]
Eo: Implement handling of eo_do errors and use it.
I'm now using it for constructor errors as well.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72081
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 11 Jun 2012 07:41:11 +0000 (07:41 +0000)]
Eo: Actually, no reason why to force inheritance from base class.
You'll be using functionality if you don't but you still don't have to.
It's not perfect though, I still need to make it possible in other
places.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71934
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 11 Jun 2012 07:35:02 +0000 (07:35 +0000)]
Eo: Force classes to inherit from EO_BASE_CLASS.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71931
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 11 Jun 2012 06:34:46 +0000 (06:34 +0000)]
Eo examples: evas_obj -> exevas_obj (example evas).
Fix it not to clash anymore with the Evas work.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71928
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 10 Jun 2012 15:02:49 +0000 (15:02 +0000)]
Eo: Fix internal code using eo_composite functions.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71908
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 10 Jun 2012 15:02:44 +0000 (15:02 +0000)]
Eo: eo_composite_object_* -> eo_composite_*.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71907
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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