Yossi Kantor
118666107d
Eolian: Clean out Ecore Audio Eo headers
2014-04-11 09:26:15 +03:00
Carsten Haitzler
c940d00c9f
set default help info for multisense to match new default on state
2014-04-11 15:18:21 +09:00
Daniel Zaoui
03b99d58b2
Eo2: Fix other forgotten ret.
2014-04-11 05:02:54 +03:00
Mike Blumenkrantz
d03ecb0f3d
"whether" has 2x 'h'
2014-04-10 09:27:51 -04:00
Tom Hacohen
f3c835d6fc
Edje multisense: Fixed compilation following change to eo2.
2014-04-10 10:04:46 +01:00
Carsten Haitzler
069940d026
turn multisense on by default since ecore_audio is already
2014-04-10 18:04:09 +09:00
Tom Hacohen
30d945307c
Move to Eo2 and adjust code accordingly
...
Eo2 is the new object system for the EFL, and the replacement for Eo. It
improves Eo1 in many ways that will be listed on the Wiki and discussed
on the ML before.
Another change this merge includes is using the slightly different API
eo2 offers in actual code.
For example:
eo_do(obj, elm_object_text_get(&text));
becomes:
eo_do(obj, text = elm_object_text_get());
@feature
2014-04-10 09:46:04 +01:00
Daniel Zaoui
1a895149e7
Eo: fix warning on printf
2014-04-10 11:42:54 +03:00
Daniel Zaoui
1a48d11fb9
Eolian: Fix generation of Eo APIs.
...
When return is forced to void, even if the function contains only
one parameter, the return type will be void.
2014-04-10 11:24:04 +03:00
Carsten Haitzler
059aba7c37
fix invalid memory access where child cb frees table cache - new it seems
...
i havent seen this before so i would not cal lit an old bug that needs
a fix tag
2014-04-10 16:44:58 +09:00
Carsten Haitzler
f921af0cb5
formatting - imrove readability of ecore x event table decl
2014-04-10 15:15:47 +09:00
Tom Hacohen
ca6e6c93f5
Eo2: Adjust test suite to recent changes.
2014-04-10 04:20:21 +01:00
Tom Hacohen
a77f090256
Eo2: Make internal function static + improved debug output.
2014-04-10 04:20:21 +01:00
Tom Hacohen
1fbcb6ef98
Eo: Removed redundant code.
2014-04-10 04:20:21 +01:00
Tom Hacohen
8c025ee4d9
Eo: Renamed eo files from eo2* to eo*.
2014-04-10 04:20:21 +01:00
Tom Hacohen
3a0d62ffcf
Ecore audio tests: Updated to Eo2.
2014-04-10 04:20:21 +01:00
Tom Hacohen
96fe5bd941
More adjustments for eo2 calls.
2014-04-10 04:20:21 +01:00
Tom Hacohen
d36ca8f949
Eo: Reintroduce the events now that eo1 is gone.
2014-04-10 04:20:21 +01:00
Tom Hacohen
92cc33c46f
Eo: EO_BASE_CLASS->EO_CLASS.
2014-04-10 04:20:21 +01:00
Tom Hacohen
374af9b9ca
Eo: eo_base's data_*->key_data_*.
2014-04-10 04:20:21 +01:00
Tom Hacohen
1866909ba1
Eo: Changed eo_prefix for base class to 'eo'.
...
This is better than eo_base, as it's super common.
2014-04-10 04:20:21 +01:00
Tom Hacohen
35525a53e0
Adjust eo_do calls to work with the eo2 api.
2014-04-10 04:20:21 +01:00
Tom Hacohen
c32bb4fe95
Eo2: Updated naming Eo2->Eo.
2014-04-10 04:20:21 +01:00
Tom Hacohen
80faa56ed3
Eo2: Removed more Eo1 code.
2014-04-10 04:20:21 +01:00
Tom Hacohen
3c46e7dab8
Eo2: Removed a lot of Eo1 code.
2014-04-10 04:20:21 +01:00
Tom Hacohen
9d332da1f8
Eo2: Adjust to composite object changes.
2014-04-10 04:20:21 +01:00
Tom Hacohen
2b34ab4cf7
Eolian: Generate Eo2.
2014-04-10 04:20:21 +01:00
Jérémy Zurcher
d39d705087
eo2: call stack is now thread safe
...
create/destroy tls key (_eo2_call_stack_key) at eo_init()/eo_shutdown().
use _eo2_call_stack_get() to allocate the stack when required.
register _eo2_call_stack_free() as eina_tls_cb_new() delete callback.
2014-04-10 04:20:21 +01:00
Jérémy Zurcher
4b9c37501c
eo2: add tests for thread safe call stack
...
Summary:
2 threads run 'eo2_do(o, a(), b());'
- A goes first, creates an object, enters 'eo2_do(o, a(), b());'
in a() call, it blocks, releases B and waits for it.
- B when released, creates an object, enters 'eo2_do(o, a(), b());'
in a() call, it joins and releases A, then blocks.
- A returns from a(); and enters b() using current call stack frame,
which is the one pushed by B! then pop the frame and releases B.
- B does as above using the stack pushed by A!
2014-04-10 04:20:21 +01:00
Jérémy Zurcher
64aa007caf
eo2: update class creation tests, follow new error policy
...
see previous commit
2014-04-10 04:20:21 +01:00
Jérémy Zurcher
f812b38a66
eo2: do not allow ill formed class creation
...
eo_class_new() returns NULL on error in _eo2_class_funcs_set().
it covers: NULL API func, API redefined, dich func override,
overriding non-existing fct.
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
70fe1398fd
eo2: if _eo2_class_funcs_set() fails eo_class_new() returns NULL
...
call to _eo2_class_funcs_set() is moved out of _eo_class_constructor()
into eo_class_new().
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
2fb5a54610
eo2: add tests for method call error msgs
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
d23b9ffd23
eo2: tests: extract mgs checks into eo_error_msgs.c|h
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
a0d761cfa9
eo2: _eo2_call_resolve() fails if op is EO_NOOP
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
5dc95bb50c
eo2: add test cases for class construction errors
...
it covers: NULL API func, overriding non-existing fct,
API redefined, dich func override.
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
9d2eeb7a8b
eo2: improve _eo2_class_funcs_set() errors support
...
as op descs are sorted, we can't output fct indexes in error msgs, but
as they are sorted using api_fct as key, we can detect multiple usage of
the same api_fct which leads to an unpredictable call to whatever is
returned by _eo2_api_op_id_get()->_eo2_api_desc_get().
it is still possible to instanciate an object of a not well defined class.
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
a9c325c124
eo2: normalize ERR msgs
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
c506ce2e1f
eo2: fix err msg in _dich_func_set()
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
82af591b83
eo2: improve _eo_op_id_name_get() to support eo1/2
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
19245b48f8
eo2: add _eo2_op_id_desc_get()
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
e41f2804b4
eo2: improve err msg in _eo2_api_op_id_get() and _eo2_call_resolve()
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
914dde776f
eo2: fix uninitialized vars in tests
...
because of conditional execution of eo2_do() fct calls
these vars could end up not initialized.
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
63c271dc5e
eo2: fix indentation
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
d3cd7cd63c
eo2: do not try to unref classes in eo2_do_end()
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
56ae6cf32e
eo2: remove memset() in _eo2_do_end() as all stack fields are set in _eo2_do_start()
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
adb5b8776d
eo2: no need to resolve eo_id when we reuse previous stack frame
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
d497459f93
eo2: add tests for call stack grow and shrink
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
ae536bdd84
eo2: call stack grows and shrinks
2014-04-10 04:20:20 +01:00
Jérémy Zurcher
5f311223ad
eo2: rename Eo_Abstract_Class->Eo2_Abstract_Class
2014-04-10 04:20:20 +01:00