Commit Graph

20272 Commits

Author SHA1 Message Date
ChunEon Park 7d98f2be38 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
2012-12-12 08:03:46 +00:00
Daniel Juyung Seo e4a91b37d8 ephysics examples.dox: Apply ephysics api changes (r80716).
SVN revision: 80727
2012-12-11 23:19:43 +00:00
Bruno Dilly 3013d17b29 edje: update physics to handle ephysics API breakage
SVN revision: 80725
2012-12-11 21:30:38 +00:00
Leandro Dorileo d516515d47 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
2012-12-11 21:11:25 +00:00
Leandro Dorileo 547ade5f6c 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
2012-12-11 21:11:19 +00:00
Leandro Dorileo 2ccf6d2a11 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
2012-12-11 21:11:12 +00:00
Leandro Dorileo 2e8fcf0a23 EPhysics: fix issues with rotation
We must convert degrees to radians wherever operating with angles.


SVN revision: 80718
2012-12-11 21:11:07 +00:00
Leandro Dorileo 44a9b9a350 EPhysics: add ephysics_body_sphere_add() API
SVN revision: 80717
2012-12-11 21:11:00 +00:00
Leandro Dorileo c90d6c5842 EPhysics: ephysics_body_circle_add() becomes ephysics_body_cylinder_add()
SVN revision: 80716
2012-12-11 21:10:53 +00:00
Bruno Dilly 2903b1f122 ephysics: scan-build cleanup
SVN revision: 80714
2012-12-11 20:48:31 +00:00
Bruno Dilly 6891e9a0e8 ephysics: warn if try to use functions not implemented
by clothes




SVN revision: 80713
2012-12-11 20:48:24 +00:00
José Roberto de Souza 3909a4ba36 edbus: Dont create proxy of FDO.Instropectable
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80712
2012-12-11 19:52:24 +00:00
José Roberto de Souza cb2b967570 edbus: Dont create proxy of FDO.Peer
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80711
2012-12-11 19:52:20 +00:00
José Roberto de Souza 7c8e5cd193 edbus: Fix typo in object manager
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80710
2012-12-11 19:52:15 +00:00
José Roberto de Souza 4f05ef66e5 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
2012-12-11 19:52:11 +00:00
José Roberto de Souza d3a279ff56 edbus: Only one ref of Properties interface in each object
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80708
2012-12-11 19:52:06 +00:00
Lucas De Marchi cbc0a8311a edbus: Better naming for FDO proxy in connection
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>



SVN revision: 80707
2012-12-11 19:52:02 +00:00
José Roberto de Souza d05347bb91 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
2012-12-11 19:51:38 +00:00
Lucas De Marchi 07e21b19c8 edbus: simplify returning new ref of obj/proxy
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>



SVN revision: 80705
2012-12-11 19:51:34 +00:00
José Roberto de Souza 85192f5045 edbus: Add ref to object and proxy in edbus_object/proxy_get
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80704
2012-12-11 19:51:29 +00:00
José Roberto de Souza 4b874afdd9 edbus: Fix typo on doc of edbus_message_arguments_get
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80703
2012-12-11 19:51:25 +00:00
José Roberto de Souza 150a4a5c41 edbus: Add object method call
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80702
2012-12-11 19:51:20 +00:00
José Roberto de Souza 3dd67bbc2f edbus: Add missing break in edbus_message_from_eina_value
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80701
2012-12-11 19:51:16 +00:00
José Roberto de Souza 2391dcf481 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
2012-12-11 19:51:12 +00:00
José Roberto de Souza 3a4cbf1e4c edbus: Change some function parameters to const
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80699
2012-12-11 19:51:02 +00:00
José Roberto de Souza 9308434937 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
2012-12-11 19:50:58 +00:00
José Roberto de Souza 55cd1268b3 edbus: Fix signature check in edbus_message_iter_fixed_array_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80697
2012-12-11 19:50:53 +00:00
José Roberto de Souza 851fcb14ff edbus: Add Variant to Property set function
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80696
2012-12-11 19:50:49 +00:00
José Roberto de Souza 53f9a1cafc edbus: Add proxy to Proxy_Event_Property_Changed
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80695
2012-12-11 19:50:45 +00:00
José Roberto de Souza cb6aab3513 edbus: Remove signal_handler_del over a already freed signal
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80694
2012-12-11 19:50:40 +00:00
José Roberto de Souza 80adffbdb0 edbus: Add Disconnected event in connection
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80693
2012-12-11 19:50:29 +00:00
José Roberto de Souza 1956b12fa0 edbus: Remove unnecessary connection events
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80692
2012-12-11 19:50:25 +00:00
José Roberto de Souza 3c8076fa53 edbus: Add edbus_private_connection_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80691
2012-12-11 19:50:20 +00:00
José Roberto de Souza 848788e65b edbus: Refactor examples
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80690
2012-12-11 19:50:16 +00:00
José Roberto de Souza 3134ba4ad0 edbus: Support '(' and '{' in edbus_message_iter_get_and_next()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80689
2012-12-11 19:50:11 +00:00
José Roberto de Souza 5a49f65f6f 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
2012-12-11 19:50:06 +00:00
José Roberto de Souza 00e6dac1ac 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
2012-12-11 19:50:01 +00:00
José Roberto de Souza bafc3adf76 edbus: Refactor banshee example
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80685
2012-12-11 19:49:57 +00:00
José Roberto de Souza 4327109500 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
2012-12-11 19:49:46 +00:00
José Roberto de Souza d5dab6de7b 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
2012-12-11 19:49:42 +00:00
José Roberto de Souza 7115dfa939 edbus: Use edbus_connection_name_get() instead of try find and alloc
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80682
2012-12-11 19:49:37 +00:00
José Roberto de Souza 00c5b00c7d edbus: Add EINA_ARG_NONNULL and EINA_WARN_UNUSED_RESULT to API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80681
2012-12-11 19:49:33 +00:00
José Roberto de Souza 146db396e4 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
2012-12-11 19:49:27 +00:00
Bruno Dilly 72bd0b445e edje: add headers explaining all the physics examples.
SVN revision: 80679
2012-12-11 18:52:46 +00:00
Bruno Dilly 42b7ef900b edje: handle z-axis body attributes
SVN revision: 80678
2012-12-11 18:52:35 +00:00
Bruno Dilly 1f87c5e933 edje: random code cleanup
Some stuff spotted by scan-build



SVN revision: 80676
2012-12-11 17:38:20 +00:00
Bruno Dilly b1ae408585 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
2012-12-11 17:10:33 +00:00
Stefan Schmidt 945a413b8c eeze/sensor: Improve unit test coverage for eeze_sensor.
Mostly error cases and error paths stuff.

SVN revision: 80673
2012-12-11 16:48:49 +00:00
Stefan Schmidt c12b96f055 eeze:/sensor: These are motions event types we can't read from.
SVN revision: 80672
2012-12-11 16:48:46 +00:00
Stefan Schmidt 1e8dc19715 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
2012-12-11 16:48:43 +00:00