platform/upstream/efl.git
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

11 years agoethumb: Unref edbus object and proxy
José Roberto de Souza [Fri, 14 Dec 2012 14:31:46 +0000 (14:31 +0000)]
ethumb: Unref edbus object and proxy

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

SVN revision: 80954

11 years agoethumb: Remove unused strings
José Roberto de Souza [Fri, 14 Dec 2012 14:31:37 +0000 (14:31 +0000)]
ethumb: Remove unused strings

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

SVN revision: 80953

11 years agoefreet: Unregister when client connection die
José Roberto de Souza [Fri, 14 Dec 2012 14:27:19 +0000 (14:27 +0000)]
efreet: Unregister when client connection die

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

SVN revision: 80950

11 years agoefreet: Unref edbus object and proxy
José Roberto de Souza [Fri, 14 Dec 2012 14:27:14 +0000 (14:27 +0000)]
efreet: Unref edbus object and proxy

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

SVN revision: 80949

11 years agoefreet: Use connection events to monitor Disconnected signal
José Roberto de Souza [Fri, 14 Dec 2012 14:27:05 +0000 (14:27 +0000)]
efreet: Use connection events to monitor Disconnected signal

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

SVN revision: 80948

11 years agoRevert "efl/embryo: Keep room for the terminating '\0' we may add to the path."
Stefan Schmidt [Fri, 14 Dec 2012 14:25:26 +0000 (14:25 +0000)]
Revert "efl/embryo: Keep room for the terminating '\0' we may add to the path."

After consulting with cedric and Sachiel I have to agree that there is no issue.

SVN revision: 80946

11 years agoefl/embryo: Keep room for the terminating '\0' we may add to the path.
Stefan Schmidt [Fri, 14 Dec 2012 13:35:48 +0000 (13:35 +0000)]
efl/embryo: Keep room for the terminating '\0' we may add to the path.

If we go with PATH_MAX we could go out of bounds of this array. Not
going to happen that often really but better safe then sorry.

SVN revision: 80940

11 years agofix some NULL derefs in tb part recalc, also a typo which probably broke sizing
Mike Blumenkrantz [Fri, 14 Dec 2012 11:41:27 +0000 (11:41 +0000)]
fix some NULL derefs in tb part recalc, also a typo which probably broke sizing

SVN revision: 80935

11 years agostart some work on allowing ecore_extn to double-buffer. doesn't do
Carsten Haitzler [Fri, 14 Dec 2012 11:19:09 +0000 (11:19 +0000)]
start some work on allowing ecore_extn to double-buffer. doesn't do
anything atm about it.. just sets up infra for 2 buffers to exist and
be locked. :)

SVN revision: 80931

11 years agoefl: don't skip redraw when needed.
Cedric BAIL [Fri, 14 Dec 2012 09:07:38 +0000 (09:07 +0000)]
efl: don't skip redraw when needed.

SVN revision: 80921

11 years agoeina: fix Eina_Barrier when pthread doesn't provide one.
Cedric BAIL [Fri, 14 Dec 2012 02:18:02 +0000 (02:18 +0000)]
eina: fix Eina_Barrier when pthread doesn't provide one.

Patch by Ulisses Furquim <ulisses@profusion.mobi>

SVN revision: 80907

11 years agoephysics: move src/bin to examples
Bruno Dilly [Thu, 13 Dec 2012 21:25:20 +0000 (21:25 +0000)]
ephysics: move src/bin to examples

And update doxyfile
It's a more reasonable name for this directory,
since now it won't build a dir, just a few files
used to exemplify ephysics usage on docs.

SVN revision: 80897

11 years agoephysics: get back example header
Bruno Dilly [Thu, 13 Dec 2012 21:17:20 +0000 (21:17 +0000)]
ephysics: get back example header

Used on ephysics docs
Now make doc should works fine

SVN revision: 80896

11 years agoephysics_tests: copy forgotten stuff and svnignore
Bruno Dilly [Thu, 13 Dec 2012 21:13:47 +0000 (21:13 +0000)]
ephysics_tests: copy forgotten stuff and svnignore

SVN revision: 80895

11 years agoephysics: cleanup after tests split
Bruno Dilly [Thu, 13 Dec 2012 21:07:06 +0000 (21:07 +0000)]
ephysics: cleanup after tests split

SVN revision: 80894

11 years agoCreate trunk/ephysics_tests
Bruno Dilly [Thu, 13 Dec 2012 21:03:41 +0000 (21:03 +0000)]
Create trunk/ephysics_tests

And mv / cp test stuff from ephysics to ephysics_tests

SVN revision: 80893

11 years agoephysics: prepare to split tests
Bruno Dilly [Thu, 13 Dec 2012 20:42:24 +0000 (20:42 +0000)]
ephysics: prepare to split tests

SVN revision: 80891

11 years agoupdating various translations
Massimo Maiurana [Thu, 13 Dec 2012 18:43:05 +0000 (18:43 +0000)]
updating various translations

SVN revision: 80888

11 years agoedje: update NEWS and Changelog
Bruno Dilly [Thu, 13 Dec 2012 15:55:12 +0000 (15:55 +0000)]
edje: update NEWS and Changelog

regarding physics and edje_player

SVN revision: 80883

11 years agoeeze/sensor: Fix leaks when getting allocated data from obj_get
Stefan Schmidt [Thu, 13 Dec 2012 15:54:29 +0000 (15:54 +0000)]
eeze/sensor: Fix leaks when getting allocated data from obj_get

SVN revision: 80882

11 years agoefl: fix cflags for the case that x_includes in not empty
Bruno Dilly [Thu, 13 Dec 2012 15:23:49 +0000 (15:23 +0000)]
efl: fix cflags for the case that x_includes in not empty

By Tomáš Čech <sleep_walker@suse.cz>

SVN revision: 80880

11 years agoevas/bidi: Make sure we access the correct memory here.
Stefan Schmidt [Thu, 13 Dec 2012 14:17:33 +0000 (14:17 +0000)]
evas/bidi: Make sure we access the correct memory here.

Without that it would crash as we just freed it and assigned the realloc
code to tmp_ret.

SVN revision: 80863

11 years agoeeze/sensor: Add more documentation and comment the code.
Stefan Schmidt [Thu, 13 Dec 2012 14:17:14 +0000 (14:17 +0000)]
eeze/sensor: Add more documentation and comment the code.

SVN revision: 80861

11 years agoedje: Return plain text in retrive surrounding text callback of entry
Jihoon Kim [Thu, 13 Dec 2012 11:35:41 +0000 (11:35 +0000)]
edje: Return plain text in retrive surrounding text callback of entry

SVN revision: 80825

11 years agoevas: fix case when we were in the middle of a charactere.
Cedric BAIL [Thu, 13 Dec 2012 10:36:00 +0000 (10:36 +0000)]
evas: fix case when we were in the middle of a charactere.

SVN revision: 80811

11 years agoefl: fix an uninitialized data path in OpenGL engine.
Cedric BAIL [Thu, 13 Dec 2012 10:26:02 +0000 (10:26 +0000)]
efl: fix an uninitialized data path in OpenGL engine.

SVN revision: 80808

11 years agoefl: fix potential segv in Evas software engine native_set code.
Cedric BAIL [Thu, 13 Dec 2012 09:46:32 +0000 (09:46 +0000)]
efl: fix potential segv in Evas software engine native_set code.

SVN revision: 80805

11 years agoevas: preserve ellipsis.
Cedric BAIL [Thu, 13 Dec 2012 06:50:08 +0000 (06:50 +0000)]
evas: preserve ellipsis.

SVN revision: 80797

11 years agomove escape and eio to IN-EFL.
Carsten Haitzler [Thu, 13 Dec 2012 05:32:12 +0000 (05:32 +0000)]
move escape and eio to IN-EFL.

SVN revision: 80794

11 years agoedje: don't expose private variable in our public API.
Cedric BAIL [Thu, 13 Dec 2012 05:30:54 +0000 (05:30 +0000)]
edje: don't expose private variable in our public API.

SVN revision: 80793

11 years agoevas: make Evas_Object_Text ellipsis handle faster by not recalculating what was...
Cedric BAIL [Thu, 13 Dec 2012 05:12:14 +0000 (05:12 +0000)]
evas: make Evas_Object_Text ellipsis handle faster by not recalculating what was already calculated.

SVN revision: 80790

11 years agoupdate pos
Carsten Haitzler [Thu, 13 Dec 2012 00:56:07 +0000 (00:56 +0000)]
update pos

SVN revision: 80789

11 years agoecore-evas moduels broke listing of modules... names all changed!
Carsten Haitzler [Thu, 13 Dec 2012 00:55:53 +0000 (00:55 +0000)]
ecore-evas moduels broke listing of modules... names all changed!
fix... the long ugly way! :(

SVN revision: 80788

11 years agoAdd eo's datadir to efl and make edje's build depend on ephysics (so one gets the...
Rui Seabra [Thu, 13 Dec 2012 00:08:41 +0000 (00:08 +0000)]
Add eo's datadir to efl and make edje's build depend on ephysics (so one gets the eventual goodies).

SVN revision: 80786

11 years agoefl: Fix possible memory corruption in ecore xrandr EDID functions
Daniel Willmann [Wed, 12 Dec 2012 17:23:09 +0000 (17:23 +0000)]
efl: Fix possible memory corruption in ecore xrandr EDID functions

Report from Klocwork. I checked that the actual max size of the name is
13 bytes. Now we allocate one more to hold the terminating NULL byte and
not write into unallocated memory.

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

11 years agoefl: Fix building examples when coverage is enabled
Daniel Willmann [Wed, 12 Dec 2012 16:21:32 +0000 (16:21 +0000)]
efl: Fix building examples when coverage is enabled

When we compile with coverage CFLAGS we also need to link with
-lcov

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

11 years agoeet: Fix possible buffer overflow in functions relying on EET_T_LAST.
Daniel Willmann [Wed, 12 Dec 2012 14:49:49 +0000 (14:49 +0000)]
eet: Fix possible buffer overflow in functions relying on EET_T_LAST.

Issue reported by Klocwork. Backport, ChangeLog, NEWS included

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

11 years agoedje: use Evas to compute Ellipsis.
Cedric BAIL [Wed, 12 Dec 2012 14:07:28 +0000 (14:07 +0000)]
edje: use Evas to compute Ellipsis.

Patch with help from Tom Hacohen.

SVN revision: 80764

11 years agoevas: add ellipsis support in evas.
Cedric BAIL [Wed, 12 Dec 2012 14:05:29 +0000 (14:05 +0000)]
evas: add ellipsis support in evas.

Patch done with help from Tom Hacohen.

SVN revision: 80763

11 years agoeo_step gdb script installation to help debugging of applications by
Daniel Zaoui [Wed, 12 Dec 2012 13:16:49 +0000 (13:16 +0000)]
eo_step gdb script installation to help debugging of applications by
stepping over Eo.
To do it:
- Write in ~/.gdbinit "source prefix/share/eo/eo_step.py" (prefix is usually/opt/e17)
- in gdb, when arriving to eo_function (eo_do, eo_do_super), execute
eo_step. This script will step into the code until it reaches a function
that doesn't belong to libeo.

Because of a bug in gdb that will be fixed in 7.6, if after having used the
script once, you rerun your application and reexecute the script, a
segmentation fault can occur. Sorry for the inconvenience.

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

11 years agoevas/gl - actually, this is correct.
ChunEon Park [Wed, 12 Dec 2012 12:39:32 +0000 (12:39 +0000)]
evas/gl - actually, this is correct.

SVN revision: 80758

11 years agoephysics: Don't build tests by default -> Avoid circular dependency hell
Daniel Willmann [Wed, 12 Dec 2012 10:16:55 +0000 (10:16 +0000)]
ephysics: Don't build tests by default -> Avoid circular dependency hell

ephysics tests need edje which needs ephysics.
The issue was rename of ephysics_soft_body_circle_add ->
ephysics_body_cylinder_add

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

11 years agoefl: check that the object is not deleted or NULL before accessing it.
Cedric BAIL [Wed, 12 Dec 2012 09:45:49 +0000 (09:45 +0000)]
efl: check that the object is not deleted or NULL before accessing it.

SVN revision: 80744

11 years agoeeze/tests: Disable tests that will fail with -fvisibility=hidden
Stefan Schmidt [Wed, 12 Dec 2012 09:40:17 +0000 (09:40 +0000)]
eeze/tests: Disable tests that will fail with -fvisibility=hidden

On the one hand this also should have test coverage. On the other hand we
don't want to expose this as an public API. Disable for now so we don't
fail with -fvisibility=hidden.

SVN revision: 80743

11 years agoevas - fix the gl line inccorect position problem.
ChunEon Park [Wed, 12 Dec 2012 08:03:46 +0000 (08:03 +0000)]
evas - fix the gl line inccorect position problem.

I tested gl line drawing on a few devices and found the x line start position was 1.

On the other hand, our evas draws the line on start position 0.

So it needs to shift by 1 pixel if evas is working on gl backcned.

SVN revision: 80734

11 years agoephysics examples.dox: Apply ephysics api changes (r80716).
Daniel Juyung Seo [Tue, 11 Dec 2012 23:19:43 +0000 (23:19 +0000)]
ephysics examples.dox: Apply ephysics api changes (r80716).

SVN revision: 80727

11 years agoedje: update physics to handle ephysics API breakage
Bruno Dilly [Tue, 11 Dec 2012 21:30:38 +0000 (21:30 +0000)]
edje: update physics to handle ephysics API breakage

SVN revision: 80725

11 years agoEPhysics: test_soft_ellipsoid.c becomes test_soft_sphere.c
Leandro Dorileo [Tue, 11 Dec 2012 21:11:25 +0000 (21:11 +0000)]
EPhysics: test_soft_ellipsoid.c becomes test_soft_sphere.c

Following the renaming wave test_soft_ellipsoid.c is renamed to its
sphere counter part.

SVN revision: 80721

11 years agoEPhysics: soft_circle and soft_ellipsoid renaming
Leandro Dorileo [Tue, 11 Dec 2012 21:11:19 +0000 (21:11 +0000)]
EPhysics: soft_circle and soft_ellipsoid renaming

For sake of consistency moving soft_circle to soft_cylinder and
soft_ellipsoid becomes soft_sphere. Their face identification were
moved as well. The faces identifications were also unified.

SVN revision: 80720

11 years agoEPhysics: fix issues with force application
Leandro Dorileo [Tue, 11 Dec 2012 21:11:12 +0000 (21:11 +0000)]
EPhysics: fix issues with force application

This patch fixes the forces apply, the current implementation will
never apply it. We're also applying rate twice, get rid of rate on
forces_apply function.

SVN revision: 80719

11 years agoEPhysics: fix issues with rotation
Leandro Dorileo [Tue, 11 Dec 2012 21:11:07 +0000 (21:11 +0000)]
EPhysics: fix issues with rotation

We must convert degrees to radians wherever operating with angles.

SVN revision: 80718

11 years agoEPhysics: add ephysics_body_sphere_add() API
Leandro Dorileo [Tue, 11 Dec 2012 21:11:00 +0000 (21:11 +0000)]
EPhysics: add ephysics_body_sphere_add() API

SVN revision: 80717

11 years agoEPhysics: ephysics_body_circle_add() becomes ephysics_body_cylinder_add()
Leandro Dorileo [Tue, 11 Dec 2012 21:10:53 +0000 (21:10 +0000)]
EPhysics: ephysics_body_circle_add() becomes ephysics_body_cylinder_add()

SVN revision: 80716

11 years agoephysics: scan-build cleanup
Bruno Dilly [Tue, 11 Dec 2012 20:48:31 +0000 (20:48 +0000)]
ephysics: scan-build cleanup

SVN revision: 80714

11 years agoephysics: warn if try to use functions not implemented
Bruno Dilly [Tue, 11 Dec 2012 20:48:24 +0000 (20:48 +0000)]
ephysics: warn if try to use functions not implemented
 by clothes

SVN revision: 80713

11 years agoedbus: Dont create proxy of FDO.Instropectable
José Roberto de Souza [Tue, 11 Dec 2012 19:52:24 +0000 (19:52 +0000)]
edbus: Dont create proxy of FDO.Instropectable

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

SVN revision: 80712

11 years agoedbus: Dont create proxy of FDO.Peer
José Roberto de Souza [Tue, 11 Dec 2012 19:52:20 +0000 (19:52 +0000)]
edbus: Dont create proxy of FDO.Peer

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

SVN revision: 80711

11 years agoedbus: Fix typo in object manager
José Roberto de Souza [Tue, 11 Dec 2012 19:52:15 +0000 (19:52 +0000)]
edbus: Fix typo in object manager

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

SVN revision: 80710

11 years agoedbus: Dont create proxy of Object Manager on edbus_object_managed_objects_get()
José Roberto de Souza [Tue, 11 Dec 2012 19:52:11 +0000 (19:52 +0000)]
edbus: Dont create proxy of Object Manager on edbus_object_managed_objects_get()

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

SVN revision: 80709

11 years agoedbus: Only one ref of Properties interface in each object
José Roberto de Souza [Tue, 11 Dec 2012 19:52:06 +0000 (19:52 +0000)]
edbus: Only one ref of Properties interface in each object

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

SVN revision: 80708

11 years agoedbus: Better naming for FDO proxy in connection
Lucas De Marchi [Tue, 11 Dec 2012 19:52:02 +0000 (19:52 +0000)]
edbus: Better naming for FDO proxy in connection

Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>

SVN revision: 80707

11 years agoedbus: Keep only one reference of object and proxy of dbus daemon interface per conne...
José Roberto de Souza [Tue, 11 Dec 2012 19:51:38 +0000 (19:51 +0000)]
edbus: Keep only one reference of object and proxy of dbus daemon interface per connection

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

SVN revision: 80706

11 years agoedbus: simplify returning new ref of obj/proxy
Lucas De Marchi [Tue, 11 Dec 2012 19:51:34 +0000 (19:51 +0000)]
edbus: simplify returning new ref of obj/proxy

Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>

SVN revision: 80705

11 years agoedbus: Add ref to object and proxy in edbus_object/proxy_get
José Roberto de Souza [Tue, 11 Dec 2012 19:51:29 +0000 (19:51 +0000)]
edbus: Add ref to object and proxy in edbus_object/proxy_get

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

SVN revision: 80704

11 years agoedbus: Fix typo on doc of edbus_message_arguments_get
José Roberto de Souza [Tue, 11 Dec 2012 19:51:25 +0000 (19:51 +0000)]
edbus: Fix typo on doc of edbus_message_arguments_get

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

SVN revision: 80703

11 years agoedbus: Add object method call
José Roberto de Souza [Tue, 11 Dec 2012 19:51:20 +0000 (19:51 +0000)]
edbus: Add object method call

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

SVN revision: 80702

11 years agoedbus: Add missing break in edbus_message_from_eina_value
José Roberto de Souza [Tue, 11 Dec 2012 19:51:16 +0000 (19:51 +0000)]
edbus: Add missing break in edbus_message_from_eina_value

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

SVN revision: 80701

11 years agoedbus: Add example for reading str array inside a variant using eina_value
José Roberto de Souza [Tue, 11 Dec 2012 19:51:12 +0000 (19:51 +0000)]
edbus: Add example for reading str array inside a variant using eina_value

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

SVN revision: 80700

11 years agoedbus: Change some function parameters to const
José Roberto de Souza [Tue, 11 Dec 2012 19:51:02 +0000 (19:51 +0000)]
edbus: Change some function parameters to const

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

SVN revision: 80699

11 years agoedbus: Signal property changed after a successful property-set in complex server...
José Roberto de Souza [Tue, 11 Dec 2012 19:50:58 +0000 (19:50 +0000)]
edbus: Signal property changed after a successful property-set in complex server example

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

SVN revision: 80698

11 years agoedbus: Fix signature check in edbus_message_iter_fixed_array_get()
José Roberto de Souza [Tue, 11 Dec 2012 19:50:53 +0000 (19:50 +0000)]
edbus: Fix signature check in edbus_message_iter_fixed_array_get()

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

SVN revision: 80697

11 years agoedbus: Add Variant to Property set function
José Roberto de Souza [Tue, 11 Dec 2012 19:50:49 +0000 (19:50 +0000)]
edbus: Add Variant to Property set function

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

SVN revision: 80696

11 years agoedbus: Add proxy to Proxy_Event_Property_Changed
José Roberto de Souza [Tue, 11 Dec 2012 19:50:45 +0000 (19:50 +0000)]
edbus: Add proxy to Proxy_Event_Property_Changed

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

SVN revision: 80695

11 years agoedbus: Remove signal_handler_del over a already freed signal
José Roberto de Souza [Tue, 11 Dec 2012 19:50:40 +0000 (19:50 +0000)]
edbus: Remove signal_handler_del over a already freed signal

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

SVN revision: 80694

11 years agoedbus: Add Disconnected event in connection
José Roberto de Souza [Tue, 11 Dec 2012 19:50:29 +0000 (19:50 +0000)]
edbus: Add Disconnected event in connection

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

SVN revision: 80693

11 years agoedbus: Remove unnecessary connection events
José Roberto de Souza [Tue, 11 Dec 2012 19:50:25 +0000 (19:50 +0000)]
edbus: Remove unnecessary connection events

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

SVN revision: 80692

11 years agoedbus: Add edbus_private_connection_get()
José Roberto de Souza [Tue, 11 Dec 2012 19:50:20 +0000 (19:50 +0000)]
edbus: Add edbus_private_connection_get()

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

SVN revision: 80691

11 years agoedbus: Refactor examples
José Roberto de Souza [Tue, 11 Dec 2012 19:50:16 +0000 (19:50 +0000)]
edbus: Refactor examples

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

SVN revision: 80690

11 years agoedbus: Support '(' and '{' in edbus_message_iter_get_and_next()
José Roberto de Souza [Tue, 11 Dec 2012 19:50:11 +0000 (19:50 +0000)]
edbus: Support '(' and '{' in edbus_message_iter_get_and_next()

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

SVN revision: 80689

11 years agoedbus: Allow to monitor unique id in edbus_name_owner_changed_callback_add
José Roberto de Souza [Tue, 11 Dec 2012 19:50:06 +0000 (19:50 +0000)]
edbus: Allow to monitor unique id in edbus_name_owner_changed_callback_add

This allows to monitor when a client exits. Clients in general don't
register a name in the bus and in some cases it's even not allowed to do
(for example an agent talking to bluetoothd, that runs in system bus).

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

SVN revision: 80687

11 years agoedbus: Fix bug found in refactored banshee example
José Roberto de Souza [Tue, 11 Dec 2012 19:50:01 +0000 (19:50 +0000)]
edbus: Fix bug found in refactored banshee example

Refactor edbus_signal_handler_add() so internal signal handlers don't
set the connection free callback. This fixes the bug in which
EDBus_Connection was freeing the signal handler of EDBus_Conenction_Name

==22814== Invalid read of size 4
==22814==    at 0x40564B0: edbus_signal_handler_del (edbus_signal_handler.c:278)
==22814==    by 0x4040E65: _edbus_connection_name_unref (edbus_core.c:507)
==22814==    by 0x404106B: edbus_connection_name_owner_monitor (edbus_core.c:520)
==22814==    by 0x4055F63: _edbus_signal_handler_clean (edbus_signal_handler.c:217)
==22814==    by 0x40564F8: edbus_signal_handler_del (edbus_signal_handler.c:279)
==22814==    by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814==    by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814==    by 0x80498AA: main (banshee.c:233)
==22814==  Address 0x44bea48 is 0 bytes inside a block of size 72 free'd
==22814==    at 0x402C06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==22814==    by 0x4056118: _edbus_signal_handler_del (edbus_signal_handler.c:249)
==22814==    by 0x4056401: edbus_signal_handler_unref (edbus_signal_handler.c:272)
==22814==    by 0x4056503: edbus_signal_handler_del (edbus_signal_handler.c:280)
==22814==    by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814==    by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814==    by 0x80498AA: main (banshee.c:233)
==22814==
CRI<22814>: src/lib/edbus_signal_handler.c:278 edbus_signal_handler_del() *** Eina Magic Check Failed !!!
    Input handle has already been freed!
    *** NAUGHTY PROGRAMMER!!!
    *** SPANK SPANK SPANK!!!
    *** Now go fix your code. Tut tut tut!

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

SVN revision: 80686

11 years agoedbus: Refactor banshee example
José Roberto de Souza [Tue, 11 Dec 2012 19:49:57 +0000 (19:49 +0000)]
edbus: Refactor banshee example

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

SVN revision: 80685

11 years agoedbus: Refactor edbus_connection_name
José Roberto de Souza [Tue, 11 Dec 2012 19:49:46 +0000 (19:49 +0000)]
edbus: Refactor edbus_connection_name

Simplifications on "monitor" of NameOwnerChanged
Life cycle tied with refcount, objs, and name_owner_changed list.

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

SVN revision: 80684

11 years agoedbus: Handle 'unref signal handler inside of own callback' with ref and unref
José Roberto de Souza [Tue, 11 Dec 2012 19:49:42 +0000 (19:49 +0000)]
edbus: Handle 'unref signal handler inside of own callback' with ref and unref

This way is much simpler and doesn't generate many events when main loop
is quit inside of a signal handler callback.

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

SVN revision: 80683

11 years agoedbus: Use edbus_connection_name_get() instead of try find and alloc
José Roberto de Souza [Tue, 11 Dec 2012 19:49:37 +0000 (19:49 +0000)]
edbus: Use edbus_connection_name_get() instead of try find and alloc

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

SVN revision: 80682

11 years agoedbus: Add EINA_ARG_NONNULL and EINA_WARN_UNUSED_RESULT to API
José Roberto de Souza [Tue, 11 Dec 2012 19:49:33 +0000 (19:49 +0000)]
edbus: Add EINA_ARG_NONNULL and EINA_WARN_UNUSED_RESULT to API

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

SVN revision: 80681

11 years agoedbus: Implement edbus_object_managed_objects_get()
José Roberto de Souza [Tue, 11 Dec 2012 19:49:27 +0000 (19:49 +0000)]
edbus: Implement edbus_object_managed_objects_get()

Also removed edbus_object_interfaces_added_callback_add/del() because we already
have object events for that.

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

SVN revision: 80680

11 years agoedje: add headers explaining all the physics examples.
Bruno Dilly [Tue, 11 Dec 2012 18:52:46 +0000 (18:52 +0000)]
edje: add headers explaining all the physics examples.

SVN revision: 80679

11 years agoedje: handle z-axis body attributes
Bruno Dilly [Tue, 11 Dec 2012 18:52:35 +0000 (18:52 +0000)]
edje: handle z-axis body attributes

SVN revision: 80678

11 years agoedje: random code cleanup
Bruno Dilly [Tue, 11 Dec 2012 17:38:20 +0000 (17:38 +0000)]
edje: random code cleanup

Some stuff spotted by scan-build

SVN revision: 80676

11 years agoedje: add group.physics block
Bruno Dilly [Tue, 11 Dec 2012 17:10:33 +0000 (17:10 +0000)]
edje: add group.physics block

For now, implements wold's gravity, rate, depth and z.
More can be added later on demand.

SVN revision: 80675

11 years agoeeze/sensor: Improve unit test coverage for eeze_sensor.
Stefan Schmidt [Tue, 11 Dec 2012 16:48:49 +0000 (16:48 +0000)]
eeze/sensor: Improve unit test coverage for eeze_sensor.

Mostly error cases and error paths stuff.

SVN revision: 80673

11 years agoeeze:/sensor: These are motions event types we can't read from.
Stefan Schmidt [Tue, 11 Dec 2012 16:48:46 +0000 (16:48 +0000)]
eeze:/sensor: These are motions event types we can't read from.

SVN revision: 80672

11 years agoeeze/sensor: Break out from the read if the sensor object is NULL
Stefan Schmidt [Tue, 11 Dec 2012 16:48:43 +0000 (16:48 +0000)]
eeze/sensor: Break out from the read if the sensor object is NULL

Better handle this error case. Spotted by some unit tests updates.

SVN revision: 80671

11 years agoeeze: Make sure we use the modules from the current build for make check.
Stefan Schmidt [Tue, 11 Dec 2012 16:48:39 +0000 (16:48 +0000)]
eeze: Make sure we use the modules from the current build for make check.

Befoe this we always used the installed modules from the system. That is often
fine but there are cases we would need the local. un-installed, modules. The
coverage check is a example. The system modules normally don't had the options
for coverage enabled and thus would not produce anything for the modules.

Default still stays as it was. You would need to set an env var to use the
local modules.

SVN revision: 80670

11 years agoedje: line on log cb shadows line declared on header
Bruno Dilly [Tue, 11 Dec 2012 15:55:13 +0000 (15:55 +0000)]
edje: line on log cb shadows line declared on header

SVN revision: 80669

11 years agoedje: add subsections for description.physics blocks
Bruno Dilly [Tue, 11 Dec 2012 15:55:07 +0000 (15:55 +0000)]
edje: add subsections for description.physics blocks

improve edc reference index

SVN revision: 80668

11 years agoedje: support faces for 3d effects
Bruno Dilly [Tue, 11 Dec 2012 14:09:03 +0000 (14:09 +0000)]
edje: support faces for 3d effects

SVN revision: 80658