Commit Graph

20400 Commits

Author SHA1 Message Date
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
Stefan Schmidt 083434f695 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
2012-12-11 16:48:39 +00:00
Bruno Dilly 78f6d52949 edje: line on log cb shadows line declared on header
SVN revision: 80669
2012-12-11 15:55:13 +00:00
Bruno Dilly 2a0a84b2f1 edje: add subsections for description.physics blocks
improve edc reference index



SVN revision: 80668
2012-12-11 15:55:07 +00:00
Bruno Dilly c982de65d3 edje: support faces for 3d effects
SVN revision: 80658
2012-12-11 14:09:03 +00:00
Cedric BAIL 0d1b29e5e1 eet: fix memory leak with OpenSSL.
Reported by Leandro Santiago <leandrosansilva@gmail.com>.


SVN revision: 80648
2012-12-11 11:52:53 +00:00
Cedric BAIL c0ac1daafd edje: use more eo_do.
SVN revision: 80643
2012-12-11 10:50:51 +00:00
Cedric BAIL 8d7f3111c8 edje: we do need Eo, so all Efl from trunk is necessary.
SVN revision: 80642
2012-12-11 10:49:53 +00:00
Rui Seabra 3a27a91046 Since it's now AC_OUTPUT'ed, ecore_x_version.h does not need to be generated by sed.
SVN revision: 80626
2012-12-10 23:05:16 +00:00
Gustavo Sverzut Barbieri 456f41870f efl: allow enabling wayland_egl
Seems the code is broken but people need this option to enable it and fix.





SVN revision: 80625
2012-12-10 22:38:09 +00:00
Bruno Dilly 8758e77f79 ephysics: handle evas object visibitily on default update
SVN revision: 80624
2012-12-10 21:58:06 +00:00
Gustavo Sverzut Barbieri c5667e3802 efl/ecore_getopt: add ECORE_GETOPT_ACTION_BREAK.
Thanks to PrinceAMD (Deon Thomas) for bugging me to implement this,
then test and add a fix, now we can implement something similar to
"xterm -e" in terminology.

ECORE_GETOPT_ACTION_BREAK will allow generic options to behave the
same as GNU's --, breaking out of argument parsing logic.



SVN revision: 80619
2012-12-10 18:43:36 +00:00
Bruno Dilly 0ca0b36df1 edje: short description for physics block
SVN revision: 80617
2012-12-10 17:46:55 +00:00
Bruno Dilly 12cdbca681 edje: enable / disable movements per axis
With the movement_freedom block it's possible to allow
rotation on axis x and y (not default), for example.

Backface cull support is added in this commit too.



SVN revision: 80616
2012-12-10 17:46:44 +00:00
Leandro Dorileo 8f8cf756ee EPHysics: introduce a generic resize_cb for soft body faces
Introduce a generic resize_cb for soft body faces and fix the
"not pre-resized evas object issue" for multi faces implementation as well.

--This line, and those below, will be ignored--


SVN revision: 80615
2012-12-10 17:15:27 +00:00
Leandro Dorileo 0941fad05f EPhysics: fix issues with resizing cloth
--This line, and those below, will be ignored--


SVN revision: 80614
2012-12-10 17:15:18 +00:00
Leandro Dorileo d56bd9c189 EPHysics: change the location of _ephysics_body_geometry_set
--This line, and those below, will be ignored--


SVN revision: 80613
2012-12-10 17:15:11 +00:00
Leandro Dorileo 8fed4fff45 EPhysics: fix issues identified by edje support
Add slices as member of obj smart parent - when it's the case -
so we can restack it when the received evas object is member of a
smart object.

Resize the evas object on ephysics_body_evas_object_set to w=1,
h=1 when its initial/original size is 0, this prevents errors on
evas_object_image_source_set().

Reset the soft body transform on resize - put it back to its
prior position - the one before scaling.

On body_move do not consider the moving of anchored rigid body
enough, move the soft body vertices as well.

--This line, and those below, will be ignored--


SVN revision: 80612
2012-12-10 17:15:05 +00:00
Bruno Dilly 6b40542d58 edje: support body's rotation
It's going as an action / script instead of an attribute
because it wouldn't fit well as a description.
Rotation can be modified by many circustancies, keeping
as state wouldn't make sense.



SVN revision: 80610
2012-12-10 15:37:08 +00:00
Bruno Dilly c4832ceda5 edje: add soft body stuff
SVN revision: 80609
2012-12-10 14:19:03 +00:00
Bruno Dilly 3de757a6d5 edje: add flag to set parts to be lighted
Won't be visible until world's light is implemented



SVN revision: 80605
2012-12-10 12:51:53 +00:00
Bruno Dilly 9bd842922e edje: fix typo and avoid misleading ifdefs on edje_calc
SVN revision: 80604
2012-12-10 12:24:15 +00:00
Bruno Dilly 60afa64421 edje: update edc.vim with physics words
SVN revision: 80602
2012-12-10 11:48:30 +00:00