Commit Graph

264 Commits

Author SHA1 Message Date
Daniel Juyung Seo 188ce7d9e1 eobj .gitignore: Added .gitignore.
SVN revision: 77646
2012-10-09 14:28:47 +00:00
Tom Hacohen 44a43bb8ce Eo: Added -DNDEBUG by default.
SVN revision: 77605
2012-10-09 02:11:36 +00:00
Vincent Torri 3b5a3448b7 merge: add eo
SVN revision: 77072
2012-09-26 06:56:52 +00:00
Tom Hacohen ae846c238a Eo: Added another important EINA_LIKELY.
SVN revision: 76611
2012-09-13 13:43:59 +00:00
Tom Hacohen d7091a9843 Eo: Made debugging Eo a bit easier.
SVN revision: 76610
2012-09-13 13:39:02 +00:00
Vincent Torri 0e0b265470 Eo: examples rule
SVN revision: 76538
2012-09-12 16:02:31 +00:00
Tom Hacohen 0ef7b93bf9 Eo: Added eo_destructed_is.
SVN revision: 76518
2012-09-12 11:31:58 +00:00
Vincent Torri 1074a63fb7 Eo: make benchmark
SVN revision: 76504
2012-09-12 08:35:12 +00:00
Vincent Torri 59a9dfd118 merge: add infra for evil
SVN revision: 76463
2012-09-11 16:04:21 +00:00
Vincent Torri c5a4b20e23 Eo: add libcheck test
SVN revision: 76354
2012-09-09 11:11:40 +00:00
Vincent Torri 653bf991ae Eo: let's see if Tom likes this check rule
SVN revision: 76353
2012-09-09 10:09:02 +00:00
Vincent Torri 544b81fe60 Eo: use the 'check' rule to build the tests
SVN revision: 76352
2012-09-09 09:06:31 +00:00
Vincent Torri 31d88d7b85 Eo: missing file
SVN revision: 76351
2012-09-09 07:08:43 +00:00
Vincent Torri c101b8facf Eo: more dos2unix
SVN revision: 76350
2012-09-09 07:03:17 +00:00
Vincent Torri 1220a85df5 EO: dos2unix the toplevel Makefile.am
SVN revision: 76348
2012-09-09 06:56:11 +00:00
Vincent Torri 312066e91b Eo: add autotools tests. I have plenty of errors with the unit tests on Windows
SVN revision: 76323
2012-09-07 21:56:44 +00:00
Vincent Torri af81f7b38c eo: copy/paste error
SVN revision: 76319
2012-09-07 18:58:35 +00:00
Vincent Torri 8a25203d64 Fix compilation on Windows
SVN revision: 76318
2012-09-07 18:56:49 +00:00
Vincent Torri 9686fe56ce Eobj: don't install benchmark and examples, request from Tom
SVN revision: 76209
2012-09-05 22:53:30 +00:00
Tom Hacohen 5d68b39a00 Eo: autogen.sh - dos->unix.
SVN revision: 76125
2012-09-04 10:48:28 +00:00
Tom Hacohen 8f17e3b3f0 Eo: Make autogen.sh executable.
SVN revision: 76123
2012-09-04 10:45:22 +00:00
Tom Hacohen fdd28963c1 Eo: Added COPYING.
SVN revision: 76111
2012-09-04 07:37:36 +00:00
Vincent Torri bf1fe91b6c Eo: autotools + minor fixes so that it compiles on Windows (mainly reordering the header files inclusion
SVN revision: 76109
2012-09-04 07:03:02 +00:00
Tom Hacohen ffafe9bbe0 Eo: Made benchmarking output a bit nicer.
SVN revision: 75961
2012-09-03 07:27:01 +00:00
Tom Hacohen b9e11cf26e Eo: optimised eo_op_class_get a bit. Can still make it better.
SVN revision: 75960
2012-09-03 07:26:57 +00:00
Tom Hacohen e8ad8e3a93 Eo: Added simple benchmark infra (not really testing anything atm).
SVN revision: 75712
2012-08-26 13:18:44 +00:00
Tom Hacohen cf03cc1c7b Eo: Moved a magic check from an internal function to the external function.
SVN revision: 75626
2012-08-23 15:04:48 +00:00
Tom Hacohen ef5e9f83ab 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.

SVN revision: 75624
2012-08-23 14:24:32 +00:00
Tom Hacohen fabeecd5ea 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.

SVN revision: 75623
2012-08-23 12:14:07 +00:00
Tom Hacohen 41c490609c Eo: Added a non-default constructor test.
SVN revision: 75616
2012-08-23 10:47:11 +00:00
Tom Hacohen b6c1892463 Eo: Added some negative refcount tests (with manual_free).
SVN revision: 75615
2012-08-23 10:37:46 +00:00
Tom Hacohen 410488aabe 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.

SVN revision: 75614
2012-08-23 10:35:14 +00:00
Tom Hacohen 5421fc5757 Eo: Use our own magic check macro instead of Eina's
SVN revision: 75549
2012-08-22 13:10:08 +00:00
Tom Hacohen 7ac9e7cd4f Eo: Add an error if we get to a negative refcount.
SVN revision: 75505
2012-08-21 12:15:54 +00:00
Tom Hacohen 8a2c9acb0b 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.

SVN revision: 75504
2012-08-21 12:08:48 +00:00
Tom Hacohen cf46d00796 Eo: Removed static class support.
SVN revision: 75452
2012-08-20 07:56:17 +00:00
Tom Hacohen ab7104e4ae Eo: Also fix the case when the chain is not allocated.
Continuation to previous commit.

SVN revision: 74619
2012-07-31 07:34:27 +00:00
Tom Hacohen 7595ce698d Eo: Fixed an issue with mixins and super calls.
SVN revision: 74617
2012-07-31 07:15:33 +00:00
Tom Hacohen 58d6248b20 Eo: Changed ops prints to be DOMAIN:OP_NAME. Easier to follow.
SVN revision: 74442
2012-07-26 13:15:28 +00:00
Tom Hacohen 6ae96d43ff Eo: Make func override warning an error instead (prev commit).
Make JackDanielZ happy...

SVN revision: 74437
2012-07-26 12:34:04 +00:00
Tom Hacohen d368088e59 Eo: Add a warning when trying to override a function that was already set for a class.
SVN revision: 74436
2012-07-26 12:21:01 +00:00
Tom Hacohen fc5eaf662d Eo: Fixed bug with calling multiple ops in some cases.
SVN revision: 74313
2012-07-23 08:43:35 +00:00
Tom Hacohen fc73ddb332 Eo: Fixed super of different functions.
I.e calling super a_get from an a_set implementation.
This slows things down a bit.

SVN revision: 74062
2012-07-18 12:27:09 +00:00
Tom Hacohen bf6a819dde Eo: Minor fixes to copy_all and clean.
SVN revision: 73876
2012-07-15 12:27:56 +00:00
Tom Hacohen 14dcf973c5 Eo: Fixed test case.
SVN revision: 73867
2012-07-15 07:56:02 +00:00
Tom Hacohen 826020be36 Eo: Oops, commit missing files.
SVN revision: 73617
2012-07-12 12:31:13 +00:00
Tom Hacohen 153b94bcae Eo: Allow interfaces to have class constructors/destructors.
SVN revision: 73606
2012-07-12 08:43:59 +00:00
Tom Hacohen 5e68a8aa43 Eo: Properly handle tests and their deps in the build system.
SVN revision: 73533
2012-07-10 14:02:08 +00:00
Tom Hacohen d19b940099 Eo: Avoid unneeded copies with kls-itr.
SVN revision: 73532
2012-07-10 14:02:03 +00:00
Tom Hacohen b018d8cfcf Eo: eo_do is much faster now.
I simplified the kls-itr code so there'll be less overhead when doing eo_do.

SVN revision: 73531
2012-07-10 14:02:00 +00:00