Commit Graph

988 Commits

Author SHA1 Message Date
Daniel Willmann 1c0107afd8 ecore_audio: Fix seeking in tone input
Also make seekable be a property of the input as this doesn't make sense
for the output.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 15:28:00 +01:00
Daniel Willmann fe292a34fb ecore_audio: Fix possible memory leak in pulse main loop integration
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 13:43:52 +01:00
Stefan Schmidt 27a711b83c eeze/sensor: Simplify sensor object handling.
We rely on the app to provide a sensible object pointer and we now longer
need to have a copy of the object around to operate on it.

Simplifies code, maintenance and reduces mem copies. Win-Win :)
2013-04-19 09:21:12 +01:00
Cedric Bail 9abcb77c73 efreet: shutdown in the right order. 2013-04-19 15:41:41 +09:00
Jihoon Kim 6e767dd75b edje: remove useless ecore_imf_context_reset call in case of pressing ESC and Return key 2013-04-19 14:46:42 +09:00
Rafael Antognolli e937f1f5a3 evas/wayland: Unclip objects from the framespace after rendering.
These objects should be clipped only during rendering, since keeping
them clipped after that allows for unexpected behavior on the
application side. For instance, an application could check if objects
have clippers before doing something to them, assuming that some objects
should have no clipper, but under wayland, after the first render
iteration, there will be no objects without a clipper.

This commit fixes this behavior by unclipping objects that had no
clipper prior to the render iteration.

Additionally, it fixes a bug where a maximized/fullscreen window could
have not all of its content rendered immediately. This was occuring
because some objects could be clipped to the framespace clipper, but
considered invisible in the beginning of the render phase, where they
are evaluated. They were considered invisible because the framespace
clipper object was not resized at that phase yet, and thus these objects
were being clipped out from the viewport.
2013-04-18 16:38:16 -03:00
Daniel Willmann 2d85906367 ecore_audio: Fix warnings
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:34:33 +01:00
Daniel Willmann 88835840ea ecore_audio: Change method signature of read and read_internal
Use size_t and ssize_t as len/return value

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:32:46 +01:00
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