Commit Graph

980 Commits

Author SHA1 Message Date
Daniel Willmann e99ab4623a ecore_audio: Add return value to input_attach method
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
Daniel Willmann 43299ade45 edje_multisense: Now works with eo rewrite
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann e93ddc9bb3 ecore_audio_pulse: Fix small bug that would delay PA stream deletion
In case of short reads just make sure that playback is started
immediately. No need to drain just yet as that just causes issues with
delayed removals of streams.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann d2326d229e ecore_audio: Support VIO in sndfile input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:40 +01:00
Daniel Willmann e89153a21d ecore_audio: Implement virtual IO for generic input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:15:39 +01:00
Daniel Willmann 7255656738 ecore_audio: Add pulseaudio output for eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 01e4c9597e ecore_audio: Change signature of read function, reorder methods
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 76509b2340 ecore_audio: Implement notification when samplerate changes
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 38b3738384 ecore_audio: Allow setting frequency and length in tone input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann e865d5b0a4 ecore_audio: Add tone input class
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:32 +01:00
Daniel Willmann 422d3313e8 ecore_audio: Add sndfile in- and output
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann 845aeb5c63 ecore_audio_obj_in: Implemented read and event sending
A protected read function must now be implemented by the child class to
perform the actual reading.

Signals on playback loop and end are sent.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann bd948a81a4 ecore_audio: Add new methods to ecore_audio objects
obj_format_get/set
obj_in_looped_get/set
obj_in_length_get
Change signature of seek

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann 1dab08a39e ecore_audio: Clean up the headers
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann b22ac214e2 ecore_audio: Add EO_TYPECHECK to the method ID macro
Better checks should prevent typos/cnp issues when registering methods
for functions.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann 48b78234a8 ecore_audio: Build Eo-based Ecore_Audio and tests now
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Daniel Willmann bfc4601673 ecore_audio: Add new eo-based ecore_audio objects
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:16 +01:00
Stefan Schmidt f4ecb5ebcc eeze/sensor: Just use one list for available modules and add udev.
The second list got introduced when eeze got merged into efl. Instead
of maintaining both lists we can just go with one.
2013-04-18 15:50:40 +01:00
Tom Hacohen 8698e455f8 Ecore_x: init ret, otherwise it might be used uninitialized. 2013-04-18 13:46:28 +01:00
Tom Hacohen 171eebc21b Evas object dbg_info: Fixed cast of pointer to int.
Also fixed additional unneeded cast.
2013-04-18 12:20:46 +01:00
Shinwoo Kim 3b81d4aa51 [ecore_x] add accessibility support 2013-04-18 14:53:58 +09:00
Jiyoun Park 2d0d852fa9 expand indicator type to support if it want more than two indicator type 2013-04-18 14:45:11 +09:00
Carsten Haitzler 5339ab4501 small change: valgrind shus about uninitiallized data from stack...
it's unused anyway.
2013-04-18 12:49:24 +09:00
Deon 'PrinceAMD' Thomas 7df54da4c4 Ecore Pointer get root x,y position without ecore_x_window. 2013-04-18 12:07:26 +09:00
Carsten Haitzler 6ccae99bd1 let's fix eeze sensors to not segv on shutdown.. dup registered fake
(udev registered it as fake)... and in the process i found that we
probably double free as sensor is calloced in the module and AGAIN in
eeze sensor core... oh and symbols probably might lak from modules..
so static them up yo.
2013-04-18 00:30:04 +09:00
Daniel Willmann 8a19bb4b29 Eo: Print location of the calling functions in eo log output
Because of the way eo is dispatching method calls of objects the usual
error log you get if you mix up objects or try to call non-existent
methods is:

ERR<12404>:eo lib/eo/eo.c:362 _eo_dov_internal() Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

Of course the problem is not really in lib/eo/eo.c, but in the function
calling eo_do()

Now the macros pass source file and line number on to the _internal
functions so we can log where the error originally happened:

ERR<1938>:eo lib/eo/eo.c:362 _eo_dov_internal() in
lib/ecore_audio/ecore_audio_obj_out_pulse.c:119: Can't find func for op
0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class
'ecore_audio_obj_out_pulse'. Aborting.

This makes debugging with eo a lot easier.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-17 15:56:45 +01:00
Daniel Juyung Seo 4497815caf evas_object_main.c: added Clipper information for debug info.
Eina value type does not support pointer so I used int as of now.
This needs to be converted into hexa later.
By using Clouseau, one can see this Clipper information.
2013-04-17 16:58:30 +09:00
Daniel Juyung Seo 1605cd354b Evas.h: fixed documentation source formatting while reading it. 2013-04-17 16:52:18 +09:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.

This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.

As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Igor Murzov 1373f0ba4a Fix incorrect printf format usage 2013-04-16 12:07:36 +04:00
ChunEon Park 4163b2f509 Evas: If an object goes to be hidden without replacing the cur/prev state info, the object context can be corrupted at the next show time. Now it replaces the cur/prev in that rare case. 2013-04-16 03:05:16 +09:00
Tom Hacohen 3f3ad67616 Evas textblock: Fixed a bug with deletion of ranges.
Fixed a bug with deletion of ranges that end just before a visual format.
Thanks to WooHyun Jung for reporting.
2013-04-15 17:15:22 +01:00
Tom Hacohen d77a7bb39b Evas polygon: Cleaned up the way we clean the points. 2013-04-15 10:48:42 +01:00
Tom Hacohen 9e96e8f122 Evas font: Fixed use-after-free. 2013-04-15 10:42:58 +01:00
Carsten Haitzler b851e10caf fix calling edje api on objects that may not be edje objects... 2013-04-14 11:47:07 +09:00
ChunEon Park 59bd729ca9 evas/image - actually, no need to check both. one is enough. 2013-04-14 05:36:28 +09:00
ChunEon Park 6b9a895c59 evas/image - don't update evas render area by a clipper if the image object visible is changed. 2013-04-14 05:18:31 +09:00
ChunEon Park b660465410 evas - Don't be crashed even if the map image size is 0. 2013-04-13 18:58:08 +09:00
Jihoon Kim af31393a09 ecore_imf: Add ecore_imf_context_input_panel_event_callback_call, clear API 2013-04-13 17:11:32 +09:00
Jihoon Kim 58d7c5c1dc ecore_imf: Add ecore_imf_input_panel_hide() API 2013-04-13 17:01:56 +09:00
Tom Hacohen 269e3a7797 Eo: Fixed an error in in _eo_callback_remove and a few minor things.
The other things are not really issues but more about silencing clang.
Thanks to clang-analyzer.
2013-04-12 17:17:38 +01:00
Stefan Schmidt 6b70dd57d3 eeze/sensor: Move eeze_Sernsor_obj_get into private header.
Together with eeze_sensor_module_register/unregister these are the functions
that are irrelevant for developer when they just want to use the eeze_sensor
API.

Still all three need to be marked with EAPI as they are used in the backend
modules and due to our visibility hidden usage the module loading would fail
if we remove EAPI from them.

Moving them into the private header should give an indication that these are
not meant for pure API users.
2013-04-12 15:35:08 +01:00
Tom Hacohen 882b7a72eb Evas dev: Fixed usage of uninitialized variable. 2013-04-12 15:17:19 +01:00
Tom Hacohen 263e54d705 Eo: Moved the debug info functions to the base class code. 2013-04-12 13:49:26 +01:00
Carsten Haitzler 9b0e7626f4 Add subclasses for evas device api (new in 1.8) and document the evas
device api... :)
2013-04-12 20:05:16 +09:00
Tom Hacohen 3e11c380c9 Eo: Added eo_event_callback_array_* functions.
These functions let you pass an array of callbacks instead of just one.
It's more memory efficient to use this if you just add a bulk of events
on the same object.

This commits breaks ABI, and breaks API of the EO_EV_CALLBACK_ADD/DEL
signals (the event info passed).
2013-04-12 12:02:49 +01:00
Stefan Schmidt 858b45e3be eeze/sensor: Make sensor init and shutdown symbols private.
These are called only from eeze_init/shutdown. No need to have them public.
2013-04-12 11:35:05 +01:00
Cedric Bail d1c502fe26 evas: remove warning, no need for double (). 2013-04-12 11:24:14 +09:00
Cedric Bail 483029a717 edje: silence warning by doing explicit conversion. 2013-04-12 11:23:55 +09:00
ChunEon Park fbec2b33db evas - removed unused 2013-04-12 11:06:03 +09:00