Commit Graph

12 Commits

Author SHA1 Message Date
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 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 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 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 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 4ec1d6c4bb edbus: Implement edbus_object_event_callback_add()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80058
2012-12-03 12:09:53 +00:00
José Roberto de Souza 4fa2b8d735 edbus: Rename edbus_object_bus_path_get() to edbus_object_path_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 79387
2012-11-16 13:07:45 +00:00
José Roberto de Souza f1db6fcba9 edbus: Remove stringshare of Instrospectable interface
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 79383
2012-11-16 13:07:21 +00:00
Lucas De Marchi 6d2bd31902 edbus: Remove space after for-like macros
SVN revision: 78262
2012-10-19 18:24:30 +00:00
José Roberto de Souza 3efa417886 edbus: Avoid call _on_signal_handler_free over freed object or proxy
If a signal handler callback remove the last reference of his parent, his parent
will unref all your childrens including signal handler, but signal handler could
not be freed until your callback was finish so a event to delete it will be
created and when this event happen the signal handler parent was already freed
and we could not call _on_signal_handler_free().

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



SVN revision: 78198
2012-10-18 20:11:04 +00:00
Lucas De Marchi 5934eb6788 Add new edbus library, aka e_dbus v2
SVN revision: 76775
2012-09-17 20:41:05 +00:00