platform/upstream/efl.git
11 years agofix returned value
Vincent Torri [Wed, 19 Dec 2012 07:06:22 +0000 (07:06 +0000)]
fix returned value

SVN revision: 81323

11 years agooops-- -> call c func not mmx funf .. in the c only render path!
Carsten Haitzler [Wed, 19 Dec 2012 00:55:32 +0000 (00:55 +0000)]
oops-- -> call c func not mmx funf .. in the c only render path!

SVN revision: 81315

11 years agoefl/ecore_evas_extn: add release notes about fixed memory bugs
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 22:16:10 +0000 (22:16 +0000)]
efl/ecore_evas_extn: add release notes about fixed memory bugs

SVN revision: 81314

11 years agoedbus: unexport edbus_message_signal_new()
Lucas De Marchi [Tue, 18 Dec 2012 21:38:49 +0000 (21:38 +0000)]
edbus: unexport edbus_message_signal_new()

Signals need to be sent with edbus_service_signal_emit() -- for basic
messages -- or edbus_service_signal_new() + edbus_service_signal_send --
for complex messages.  Otherwise it's possible to send signals that are
not in the service introspection or that have different signatures by
mistake/typo.

SVN revision: 81311

11 years agoedbus: unref sent signal, also for complex types
Lucas De Marchi [Tue, 18 Dec 2012 21:38:43 +0000 (21:38 +0000)]
edbus: unref sent signal, also for complex types

SVN revision: 81310

11 years agoethumb: better naming for signal arguments
Lucas De Marchi [Tue, 18 Dec 2012 21:35:33 +0000 (21:35 +0000)]
ethumb: better naming for signal arguments

having the same argument names in a D-Bus signal/method is the equivalent
in C to have a function with this signature:

int my_func(int a, int a, int a, int a);

Don't.

SVN revision: 81309

11 years agoethumb: don't use edbus_service_signal_new()
Lucas De Marchi [Tue, 18 Dec 2012 21:35:27 +0000 (21:35 +0000)]
ethumb: don't use edbus_service_signal_new()

this function is being removed from edbus.

SVN revision: 81308

11 years agoEPhysics: add soft body light implementation
Leandro Dorileo [Tue, 18 Dec 2012 21:15:25 +0000 (21:15 +0000)]
EPhysics: add soft body light implementation

Do not use the evas map 3d light util function for every slice and
avoid the unexpected "mosaic" effect.

SVN revision: 81306

11 years agoefl/ecore_evas_extn: don't leak bdata.
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 20:59:44 +0000 (20:59 +0000)]
efl/ecore_evas_extn: don't leak bdata.

PS: I cannot backport this to 1.7.x, could someone do this for me?

SVN revision: 81305

11 years agoefl/ecore_evas_extn: fix memory errors.
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 20:51:50 +0000 (20:51 +0000)]
efl/ecore_evas_extn: fix memory errors.

 - EVAS_CALLBACK_FREE and EVAS_CALLBACK_DEL were doing the same thing
   at different stages, causing a segv due double free.

 - extn->file.updates and its Ipc_Data_Update were leaking.

PS: I can't backport this to 1.7, but the problem is still
there. Could someone look into those?

SVN revision: 81304

11 years agoevas/render: Avoid race when sending render data and updates_cb
Paulo Alcantara [Tue, 18 Dec 2012 20:20:45 +0000 (20:20 +0000)]
evas/render: Avoid race when sending render data and updates_cb

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81303

11 years agoefl/ecore_evas: be loud on errors.
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 20:14:11 +0000 (20:14 +0000)]
efl/ecore_evas: be loud on errors.

SVN revision: 81302

11 years agoefl/ecore_evas: abort when object does not contain Ecore_Evas.
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 20:10:48 +0000 (20:10 +0000)]
efl/ecore_evas: abort when object does not contain Ecore_Evas.

SVN revision: 81301

11 years agoefl/ecore_evas: do not silently fail on incorrect interface.
Gustavo Sverzut Barbieri [Tue, 18 Dec 2012 20:09:51 +0000 (20:09 +0000)]
efl/ecore_evas: do not silently fail on incorrect interface.

SVN revision: 81300

11 years agoethumb: rename edbus functions
Lucas De Marchi [Tue, 18 Dec 2012 20:06:25 +0000 (20:06 +0000)]
ethumb: rename edbus functions

SVN revision: 81298

11 years agoefreet: rename edbus functions
Lucas De Marchi [Tue, 18 Dec 2012 20:05:25 +0000 (20:05 +0000)]
efreet: rename edbus functions

SVN revision: 81296

11 years agoedbus: rename functions edbus_message{_iter,}_arguments_set
Lucas De Marchi [Tue, 18 Dec 2012 20:05:02 +0000 (20:05 +0000)]
edbus: rename functions edbus_message{_iter,}_arguments_set

Rename these functions since they do not set the data in the
iterator/message but rather they append the data.

Also improve the documentation of edbus_message_iter_arguments_append()
to clarify its usage.

SVN revision: 81295

11 years agoefl: Created Ecore group and added existing Ecore groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:38:44 +0000 (18:38 +0000)]
efl: Created Ecore group and added existing Ecore groups to it.

SVN revision: 81293

11 years agoefl: Created Evil group and added existing Evil groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:38:35 +0000 (18:38 +0000)]
efl: Created Evil group and added existing Evil groups to it.

SVN revision: 81292

11 years agoefl: Created Embryo group and added existing Embryo groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:38:30 +0000 (18:38 +0000)]
efl: Created Embryo group and added existing Embryo groups to it.

SVN revision: 81291

11 years agoefl: Created Eina group and added existing Eina groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:38:25 +0000 (18:38 +0000)]
efl: Created Eina group and added existing Eina groups to it.

SVN revision: 81290

11 years agoefl: Created Eet group and added existing Eet groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:38:19 +0000 (18:38 +0000)]
efl: Created Eet group and added existing Eet groups to it.

SVN revision: 81289

11 years agoefl: Created Evas group and added all existing evas groups to it.
Jonas M. Gastal [Tue, 18 Dec 2012 18:25:12 +0000 (18:25 +0000)]
efl: Created Evas group and added all existing evas groups to it.

SVN revision: 81288

11 years agoevas: Update ChangeLog
Leandro Pereira [Tue, 18 Dec 2012 16:30:00 +0000 (16:30 +0000)]
evas: Update ChangeLog

SVN revision: 81285

11 years agoevas: Modify software_generic and gl_x11 to with with threaded renderer
Leandro Pereira [Tue, 18 Dec 2012 16:28:55 +0000 (16:28 +0000)]
evas: Modify software_generic and gl_x11 to with with threaded renderer

SVN revision: 81284

11 years agoecore-evas: Async render
Leandro Pereira [Tue, 18 Dec 2012 16:27:26 +0000 (16:27 +0000)]
ecore-evas: Async render

SVN revision: 81283

11 years agoevas: Async render
Leandro Pereira [Tue, 18 Dec 2012 16:26:44 +0000 (16:26 +0000)]
evas: Async render

SVN revision: 81282

11 years agoevas: Add function to ref an Image_Entry
Leandro Pereira [Tue, 18 Dec 2012 16:22:47 +0000 (16:22 +0000)]
evas: Add function to ref an Image_Entry

SVN revision: 81281

11 years agoevas: Add thread threaded render queue
Leandro Pereira [Tue, 18 Dec 2012 16:21:03 +0000 (16:21 +0000)]
evas: Add thread threaded render queue

SVN revision: 81280

11 years agoefl: Modified section names as doxygen reuses titles for same named sections in diffe...
Jonas M. Gastal [Tue, 18 Dec 2012 16:18:28 +0000 (16:18 +0000)]
efl: Modified section names as doxygen reuses titles for same named sections in different pages.

SVN revision: 81279

11 years agoefl: Give different names for example pages in different libs.
Jonas M. Gastal [Tue, 18 Dec 2012 16:18:24 +0000 (16:18 +0000)]
efl: Give different names for example pages in different libs.

SVN revision: 81278

11 years agoefl: Unifying authors page.
Jonas M. Gastal [Tue, 18 Dec 2012 16:18:19 +0000 (16:18 +0000)]
efl: Unifying authors page.

SVN revision: 81277

11 years agoefl: Adding Evas doc images.
Jonas M. Gastal [Tue, 18 Dec 2012 16:15:50 +0000 (16:15 +0000)]
efl: Adding Evas doc images.

SVN revision: 81276

11 years agoefl: Adding Ecore doc images.
Jonas M. Gastal [Tue, 18 Dec 2012 16:13:34 +0000 (16:13 +0000)]
efl: Adding Ecore doc images.

SVN revision: 81275

11 years agoefl: Adding *.dox files from various libs.
Jonas M. Gastal [Tue, 18 Dec 2012 16:13:03 +0000 (16:13 +0000)]
efl: Adding *.dox files from various libs.

SVN revision: 81274

11 years agoefl: Adding a unified main page that links to the "mainpage" of libs.
Jonas M. Gastal [Tue, 18 Dec 2012 16:12:56 +0000 (16:12 +0000)]
efl: Adding a unified main page that links to the "mainpage" of libs.

SVN revision: 81273

11 years agoefl: Add ChangeLog, NEWS and @since for ecore_audio
Daniel Willmann [Tue, 18 Dec 2012 15:51:47 +0000 (15:51 +0000)]
efl: Add ChangeLog, NEWS and @since for ecore_audio

Vtorri is right of course.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81268

11 years agosorry vincent. i know you dont like thus, but with this commit efl
Carsten Haitzler [Tue, 18 Dec 2012 15:41:06 +0000 (15:41 +0000)]
sorry vincent. i know you dont like thus, but with this commit efl
tree simply is broken and doesnt compile. error here:

...
src/Makefile_Evas.am:1809: unterminated conditionals: HAVE_WINDOWS_TRUE
src/Makefile.am:24:   src/Makefile_Evas.am' included from here
src/Makefile.am:128: unterminated conditionals: HAVE_WINDOWS_TRUE
src/Makefile.am: installing ./depcomp'
automake: ####################
automake: ## Internal Error ##
automake: ####################
automake: undefined condition TRUE' for RECURSIVE_TARGETS'
automake: RECURSIVE_TARGETS:
automake:   {
automake:     HAVE_WINDOWS => {
automake:       type: +=
automake:       where: /usr/share/automake-1.11/am/texinfos.am:
automake:       comment:
automake:       value: dvi-recursive html-recursive info-recursive
pdf-recursive ps-recursive \
automake:   install-dvi-recursive \
automake:   install-html-recursive \
automake:   install-info-recursive \
automake:   install-pdf-recursive \
automake:   install-ps-recursive all-recursive check-recursive
installcheck-recursive
automake:       owner: Automake
automake:     }
automake:   }
automake:
automake: Please contact <bug-automake@gnu.org>.
 at /usr/share/automake-1.11/Automake/Channels.pm line 657
         Automake::Channels::msg('automake', '', 'undefined condition
TRUE\' for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at
/usr/share/automake-1.11/Automake/ChannelDefs.pm line 208
        Automake::ChannelDefs::prog_error('undefined condition TRUE\'
for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at
/usr/share/automake-1.11/Automake/Item.pm line 94
        Automake::Item::rdef('Automake::Variable=HASH(0x38cbe20)',
'Automake::Condition=HASH(0x2832a48)') called at /usr/bin/automake
line 4102
        Automake::handle_subdirs() called at /usr/bin/automake line 8305
                Automake::generate_makefile('src/Makefile.am',
'src/Makefile.in') called at /usr/bin/automake line 8602
        Automake::handle_makefile('src/Makefile.in') called at
/usr/bin/automake line 8616
        Automake::handle_makefiles_serial() called at
/usr/bin/automake line 8769
autoreconf: automake failed with exit status: 255
...

i looked at the HAVE_WINDOWS if's and it seems fine to me - i couldnt
find what was missing, so i had to resort to a revert instead of fix :(
sorry :(

SVN revision: 81267

11 years agono need to search headers in builddir
Vincent Torri [Tue, 18 Dec 2012 15:11:51 +0000 (15:11 +0000)]
no need to search headers in builddir

SVN revision: 81258

11 years agoFix for edje_cc that didn't like insertion of element before the first element
Daniel Zaoui [Tue, 18 Dec 2012 13:54:02 +0000 (13:54 +0000)]
Fix for edje_cc that didn't like insertion of element before the first element

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 81252

11 years ago[edje/edje_entry] Before cursor is moved by mouse_down, imf_context_reset should...
WooHyun Jung [Tue, 18 Dec 2012 07:13:58 +0000 (07:13 +0000)]
[edje/edje_entry] Before cursor is moved by mouse_down, imf_context_reset should be called with current cursor position.

SVN revision: 81209

11 years agoedje: ecore_imf cursor infomation update is not necessary in focus-out event
Jihoon Kim [Tue, 18 Dec 2012 05:11:09 +0000 (05:11 +0000)]
edje: ecore_imf cursor infomation update is not necessary in focus-out event

SVN revision: 81201

11 years agoefl: another leak-- in Evas_Object_Text.
Cedric BAIL [Tue, 18 Dec 2012 01:31:52 +0000 (01:31 +0000)]
efl: another leak-- in Evas_Object_Text.

SVN revision: 81198

11 years agoupdating esperanto translations
Massimo Maiurana [Mon, 17 Dec 2012 23:42:23 +0000 (23:42 +0000)]
updating esperanto translations

SVN revision: 81195

11 years agoevas: Update ChangeLog
Leandro Pereira [Mon, 17 Dec 2012 21:32:25 +0000 (21:32 +0000)]
evas: Update ChangeLog

SVN revision: 81190

11 years agoevas/common: Prepare soil to land map code for threaded render
Leandro Pereira [Mon, 17 Dec 2012 21:30:07 +0000 (21:30 +0000)]
evas/common: Prepare soil to land map code for threaded render

SVN revision: 81189

11 years agoevas/common: Prepare soil to land scaling code for threaded render
Leandro Pereira [Mon, 17 Dec 2012 21:29:33 +0000 (21:29 +0000)]
evas/common: Prepare soil to land scaling code for threaded render

SVN revision: 81188

11 years agoevas/common: Prepare soil to land polygon drawing code for threaded render
Leandro Pereira [Mon, 17 Dec 2012 21:29:01 +0000 (21:29 +0000)]
evas/common: Prepare soil to land polygon drawing code for threaded render

SVN revision: 81187

11 years agoevas/common: Prepare soil to land rect drawing code for threaded render
Leandro Pereira [Mon, 17 Dec 2012 21:28:32 +0000 (21:28 +0000)]
evas/common: Prepare soil to land rect drawing code for threaded render

SVN revision: 81186

11 years agoevas/common: Prepare soil to land line drawing code for threaded render
Leandro Pereira [Mon, 17 Dec 2012 21:28:08 +0000 (21:28 +0000)]
evas/common: Prepare soil to land line drawing code for threaded render

SVN revision: 81185

11 years agoevas: Do not unload pixels from RGBA_Image if cache refcount > 0
Leandro Pereira [Mon, 17 Dec 2012 21:27:40 +0000 (21:27 +0000)]
evas: Do not unload pixels from RGBA_Image if cache refcount > 0

SVN revision: 81184

11 years agoevas: Use refcounted glyph arrays
Leandro Pereira [Mon, 17 Dec 2012 21:27:07 +0000 (21:27 +0000)]
evas: Use refcounted glyph arrays

This is in preparation for threaded render landing: the render thread will
hold a reference to a text object's glyphs while it hasn't been rendered
yet (and will drop that reference after drawing). This changes the internal
API a little bit (evas_common_font_rgba_draw() now takes an Evas_Glyph_Array
instead of an Evas_Text_Props).

SVN revision: 81183

11 years agoevas: Get rid of RGBA_Image ref member
Leandro Pereira [Mon, 17 Dec 2012 21:26:15 +0000 (21:26 +0000)]
evas: Get rid of RGBA_Image ref member

(It's not by anything in the code.)

SVN revision: 81182

11 years agoFix documentation
Eduardo de Barros Lima [Mon, 17 Dec 2012 19:57:11 +0000 (19:57 +0000)]
Fix documentation

SVN revision: 81181

11 years agoedbus: Fix invalid access memory in edbus_service_interface_unregister()
José Roberto de Souza [Mon, 17 Dec 2012 19:48:54 +0000 (19:48 +0000)]
edbus: Fix invalid access memory in edbus_service_interface_unregister()

_object_unregister is called synchronized by libdbus, so when _interface_free() ran
your object its already freed.

==30579== Invalid read of size 4
==30579==    at 0x4775190: _find_object_manager_parent (edbus_service.c:803)
==30579==    by 0x4775292: _interface_free (edbus_service.c:1011)
==30579==    by 0x4777F1D: edbus_service_interface_unregister (edbus_service.c:1101)
==30579==    by 0x40CBD28: elm_dbus_menu_delete (elm_dbus_menu.c:128)
==30579==    by 0x414552F: _elm_menu_smart_del (elm_menu.c:562)
==30579==    by 0x4810F39: _eo_op_internal (eo.c:363)
==30579==    by 0x4812E1B: eo_do_internal (eo.c:403)
==30579==    by 0x4279D02: evas_object_smart_del (evas_object_smart.c:1080)

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

SVN revision: 81180

11 years agoedbus: fix missing blank lines
Lucas De Marchi [Mon, 17 Dec 2012 19:48:45 +0000 (19:48 +0000)]
edbus: fix missing blank lines

Apparently the previous sed script didn't caught all missing blank
lines.

SVN revision: 81179

11 years agoefreet: rename DISCONNECTED event after edbus change
Lucas De Marchi [Mon, 17 Dec 2012 18:51:10 +0000 (18:51 +0000)]
efreet: rename DISCONNECTED event after edbus change

SVN revision: 81178

11 years agoedbus: rename DISCONNECTED event
Lucas De Marchi [Mon, 17 Dec 2012 18:25:13 +0000 (18:25 +0000)]
edbus: rename DISCONNECTED event

SVN revision: 81177

11 years agoedbus: Fix formatting
Lucas De Marchi [Mon, 17 Dec 2012 18:25:06 +0000 (18:25 +0000)]
edbus: Fix formatting

SVN revision: 81176

11 years agoedbus: simplify end condition check in loop
Lucas De Marchi [Mon, 17 Dec 2012 18:25:00 +0000 (18:25 +0000)]
edbus: simplify end condition check in loop

SVN revision: 81175

11 years agoedbus: avoid using dbus_signature_iter_get_signature when not needed
Lucas De Marchi [Mon, 17 Dec 2012 18:24:54 +0000 (18:24 +0000)]
edbus: avoid using dbus_signature_iter_get_signature when not needed

SVN revision: 81174

11 years agoedbus: Use eina_log in client example and generalize expected values
Lucas De Marchi [Mon, 17 Dec 2012 18:24:49 +0000 (18:24 +0000)]
edbus: Use eina_log in client example and generalize expected values

Keep expected values in a struct. It would be ideal to have all values
and compare functions in an array, so we would be able to set the same
callback function for all methods. But it's already short enough so keep
it as is.

The usage of eina_log here allows us to easily catch which test failed.

SVN revision: 81173

11 years agoedbus: Fix typo in error message
Lucas De Marchi [Mon, 17 Dec 2012 18:24:43 +0000 (18:24 +0000)]
edbus: Fix typo in error message

SVN revision: 81172

11 years agoedbus: Don't use "bool" as a variable name
Lucas De Marchi [Mon, 17 Dec 2012 18:24:37 +0000 (18:24 +0000)]
edbus: Don't use "bool" as a variable name

Using bool as variable name is asking for trouble in C99. If we end up
including stdbool.h, this would fail.

SVN revision: 81171

11 years agoedbus: Let arguments_get fail if getting less args than passed
Lucas De Marchi [Mon, 17 Dec 2012 18:24:31 +0000 (18:24 +0000)]
edbus: Let arguments_get fail if getting less args than passed

If user passed a string with more elements, return EINA_FALSE on
edbus_message_arguments_get() so he knows not all elements are
initialized. Before this patch, we would notify user of its error if he
did something like:

i) edbus_message_arguments_get(msg, "uu", &a)
ii) edbus_message_arguments_get(msg, "uu", &a, &b)

And "msg" containing only 1 argument.

This also fixes the case in which user is getting the elements of an
array iterator and the array is empty. We were previously returning
EINA_TRUE, even if we were not filling the variable.

Last but not least, if the user was calling
edbus_message_iter_arguments_get() in an empty array, we would return
EINA_FALSE, even if we didn't actually get any element.

SVN revision: 81170

11 years agoedbus: do not use dbus_signature_iter_get_signature in edbus_message_iter_arguments_vget
Lucas De Marchi [Mon, 17 Dec 2012 18:24:23 +0000 (18:24 +0000)]
edbus: do not use dbus_signature_iter_get_signature in edbus_message_iter_arguments_vget

we are only interested in the first char of the signature so we can use
dbus_signature_iter_get_current_type and:

a) avoid the allocation of the signature for each complete type
b) simplify the check for struct and dict, since *_get_current_type()
   does TheRightThing (TM)

This also rename some variables to clarify the new semantics:

 iter_type -> iter
 sig_type  -> sig_iter

SVN revision: 81169

11 years agoefl: fix some of the memory leak.
Cedric BAIL [Mon, 17 Dec 2012 13:04:35 +0000 (13:04 +0000)]
efl: fix some of the memory leak.

SVN revision: 81136

11 years agoFix docs
Daniel Zaoui [Mon, 17 Dec 2012 12:43:35 +0000 (12:43 +0000)]
Fix docs

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 81130

11 years agoefl: detect all text change properly and don't destroy text if we don't relayout it.
Cedric BAIL [Mon, 17 Dec 2012 03:34:08 +0000 (03:34 +0000)]
efl: detect all text change properly and don't destroy text if we don't relayout it.

SVN revision: 81061

11 years agosmall change - dont let update rect list for image object become a
Carsten Haitzler [Sun, 16 Dec 2012 02:01:11 +0000 (02:01 +0000)]
small change - dont let update rect list for image object become a
runaway endless list if evas doenst come around and render (pick it
up) any time soon - limit to 512 update rects.

SVN revision: 81039

11 years agowarn-- .. but this is suspicios as we goto the end where is_v and
Carsten Haitzler [Sun, 16 Dec 2012 01:49:36 +0000 (01:49 +0000)]
warn-- .. but this is suspicios as we goto the end where is_v and
was_v are used... and never do set them.

SVN revision: 81038

11 years agoevas - reverted changelog that was not inteded.
ChunEon Park [Sat, 15 Dec 2012 17:51:39 +0000 (17:51 +0000)]
evas - reverted changelog that was not inteded.

SVN revision: 81026

11 years agoefl: should fix some issue related to scale.
Cedric BAIL [Sat, 15 Dec 2012 14:16:08 +0000 (14:16 +0000)]
efl: should fix some issue related to scale.

SVN revision: 81020

11 years agoevas/gl - fix the line incorrect position in arm.
ChunEon Park [Sat, 15 Dec 2012 09:40:47 +0000 (09:40 +0000)]
evas/gl - fix the line incorrect position in arm.

line position is slightly different between gl drivers.

I have no idea why it is. So added to work differently based on the manufacturers.

This work may be based on the renderer. If you can test it with much drivers then please test and fix.

Also changed the ENV name from EVAS_GL_LINE_NO_OFFSET_HACK  to EVAS_GL_LINE_OFFSET_HACK_DISABLE.

SVN revision: 81016

11 years agoefl: Make sure that ecore_audio tests are run if audio is enabled
Daniel Willmann [Sat, 15 Dec 2012 00:13:51 +0000 (00:13 +0000)]
efl: Make sure that ecore_audio tests are run if audio is enabled

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81005

11 years agoecore_audio: Add tests case
Daniel Willmann [Fri, 14 Dec 2012 23:38:40 +0000 (23:38 +0000)]
ecore_audio: Add tests case

The sounds used are in the public domain and were taken from
freesound.org

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81004

11 years agoecore_audio: Add an example for libsndfile output: ogg encoder
Daniel Willmann [Fri, 14 Dec 2012 23:38:35 +0000 (23:38 +0000)]
ecore_audio: Add an example for libsndfile output: ogg encoder

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81003

11 years agoecore_audio: Example for user generated sounds
Daniel Willmann [Fri, 14 Dec 2012 23:38:31 +0000 (23:38 +0000)]
ecore_audio: Example for user generated sounds

Uses the custom function support, which can probably be improved

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81002

11 years agoecore_audio: Add an example - a simple CLI music player
Daniel Willmann [Fri, 14 Dec 2012 23:38:28 +0000 (23:38 +0000)]
ecore_audio: Add an example - a simple CLI music player

Give it sound files (ogg, wav, not mp3) as parameter or

"tone:freq=<f>,duration=<dur_in_s>" to play a lovely sine wave

* '<' and '>' seek forward and backward
* '+' and '-' change the volume
* Space toggles pause
* Shows information for the song (remaining, %)
* (Un)loop a song with 'l'
* 'n' - Next song
* 'm' - Next song simultaneous to current
* Volume can be set from 0 - 150%

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81001

11 years agoefl: Add build system support for ecore_audio
Daniel Willmann [Fri, 14 Dec 2012 23:38:25 +0000 (23:38 +0000)]
efl: Add build system support for ecore_audio

Disabled by default, enable with --enable-audio
ALSA support is disabled as it is not there yet. Pulseaudio should work
though.

Support for .ogg and .wav is there as well (.mp3 is not)

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81000

11 years agoecore_audio: Add rudimentary ALSA support
Daniel Willmann [Fri, 14 Dec 2012 23:38:21 +0000 (23:38 +0000)]
ecore_audio: Add rudimentary ALSA support

By rudimentary I mean I barely got it to work. For my particular test
case. It will not work for you and needs lots of love until it can be
used.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80999

11 years agoecore_audio: Add support for adding a custom callback
Daniel Willmann [Fri, 14 Dec 2012 23:38:18 +0000 (23:38 +0000)]
ecore_audio: Add support for adding a custom callback

Very hackish implementation and probably not needed as libsndfile
virtual IO can be used instead, though it's a little more complicated

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80998

11 years agoecore_audio: Add support for simple tone output
Daniel Willmann [Fri, 14 Dec 2012 23:38:14 +0000 (23:38 +0000)]
ecore_audio: Add support for simple tone output

Just plays a sine wave of set frequency and duration

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80997

11 years agoecore_audio: Add support for libsndfile
Daniel Willmann [Fri, 14 Dec 2012 23:38:11 +0000 (23:38 +0000)]
ecore_audio: Add support for libsndfile

Allows reading from and writing to wav, ogg, etc. files. Support for
virtual IO as well to allow playing sounds from eet, which will be
needed in edje multisense.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80996

11 years agoecore_audio: Add support for PulseAudio
Daniel Willmann [Fri, 14 Dec 2012 23:38:08 +0000 (23:38 +0000)]
ecore_audio: Add support for PulseAudio

Only outputs are supported at the moment

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80995

11 years agoefl: Introducing ecore_audio - the audio API for efl
Daniel Willmann [Fri, 14 Dec 2012 23:38:01 +0000 (23:38 +0000)]
efl: Introducing ecore_audio - the audio API for efl

This is still very much a work in progress, so expect some issues. The
signalling is using ecore events for now - that will change to callbacks
you can register callbacks for events on specific Ecore_Audio_Objects.
EO wasn't there when Ecore_Audio started, but it will probably move to
that in the future.

Otherwise have fun, don't break it (too much) and please send bug
reports and feedback to me.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80994

11 years agoEPhysics: suppress conditional jump warnings on bullet
Leandro Dorileo [Fri, 14 Dec 2012 20:04:37 +0000 (20:04 +0000)]
EPhysics: suppress conditional jump warnings on bullet

SVN revision: 80987

11 years agoEPhysics: simplify the restacking data free routine
Leandro Dorileo [Fri, 14 Dec 2012 20:04:31 +0000 (20:04 +0000)]
EPhysics: simplify the restacking data free routine

SVN revision: 80986

11 years agoEPhysics: free body and constraint list on test
Leandro Dorileo [Fri, 14 Dec 2012 20:04:24 +0000 (20:04 +0000)]
EPhysics: free body and constraint list on test

SVN revision: 80985

11 years agoevas: fix a memory leak introduced on rev 78644
Leandro Dorileo [Fri, 14 Dec 2012 20:03:31 +0000 (20:03 +0000)]
evas: fix a memory leak introduced on rev 78644

_nodes_clear() is called on object removal and it's not supposed
alloc anything at that stage.

SVN revision: 80984

11 years agoeo: fix memory leak on _eo_class_mro_add
Leandro Dorileo [Fri, 14 Dec 2012 20:03:25 +0000 (20:03 +0000)]
eo: fix memory leak on _eo_class_mro_add

SVN revision: 80983

11 years agoReverting 80476 and 80479. This solution is flawed and causes some weird
Alex Wu [Fri, 14 Dec 2012 19:00:53 +0000 (19:00 +0000)]
Reverting 80476 and 80479. This solution is flawed and causes some weird
collateral damages that need further investigation. All programs running with
wayland engines are consuming 100% CPU.

ecore-wayland: Fix monitoring ECORE_FD_WRITE defaultly on
   wayland display fd lead to 100% cpu usage

  In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE
  flag make CPU usage 100%. The proper way to monitor the ECORE_FD_WRITE
  is when the wl_display_flush() return value < 0 and errno == EAGAIN.
  And if wl_display_flush() return, we remove ECORE_FD_WRITE flag from
  the display fd.

  Patch by: Alex Wu <zhiwen.wu@linux.intel.com>

SVN revision: 80981

11 years agoedbus: Improve doc of edbus_{private_,}connection_get
Lucas De Marchi [Fri, 14 Dec 2012 16:29:08 +0000 (16:29 +0000)]
edbus: Improve doc of edbus_{private_,}connection_get

SVN revision: 80968

11 years agoedbus: add edbus.spec to gitignore
Lucas De Marchi [Fri, 14 Dec 2012 16:29:01 +0000 (16:29 +0000)]
edbus: add edbus.spec to gitignore

SVN revision: 80967

11 years agoedbus: Remove useless defines
Lucas De Marchi [Fri, 14 Dec 2012 16:28:55 +0000 (16:28 +0000)]
edbus: Remove useless defines

These values are used only using they directly are more meaninful than
those defines.

SVN revision: 80966

11 years agoedbus: remove unneeded code
Lucas De Marchi [Fri, 14 Dec 2012 16:28:50 +0000 (16:28 +0000)]
edbus: remove unneeded code

SVN revision: 80965

11 years agoedbus: if you goto end, you don't use else
Lucas De Marchi [Fri, 14 Dec 2012 16:28:46 +0000 (16:28 +0000)]
edbus: if you goto end, you don't use else

SVN revision: 80964

11 years agoedbus: Add missing EINA_WARN_UNUSED_RESULT to service API
Lucas De Marchi [Fri, 14 Dec 2012 16:28:41 +0000 (16:28 +0000)]
edbus: Add missing EINA_WARN_UNUSED_RESULT to service API

SVN revision: 80963

11 years agoedbus: Add blank lines to separate function docs
Lucas De Marchi [Fri, 14 Dec 2012 16:28:36 +0000 (16:28 +0000)]
edbus: Add blank lines to separate function docs

find . -name '*.h' -exec \
     sed -i '/^\s*$/b; N; /\n\/\*\*/{P;x;p;x;D}' {} \;

This ensures to add a blank line above a doxygen comment if and only if
there wasn't one.

SVN revision: 80962

11 years agoedbus: Give proper doc to edbus_service_property_changed()
Lucas De Marchi [Fri, 14 Dec 2012 16:28:27 +0000 (16:28 +0000)]
edbus: Give proper doc to edbus_service_property_changed()

SVN revision: 80961