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
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
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
Leandro Dorileo [Fri, 14 Dec 2012 20:04:37 +0000 (20:04 +0000)]
EPhysics: suppress conditional jump warnings on bullet
SVN revision: 80987
Leandro Dorileo [Fri, 14 Dec 2012 20:04:31 +0000 (20:04 +0000)]
EPhysics: simplify the restacking data free routine
SVN revision: 80986
Leandro Dorileo [Fri, 14 Dec 2012 20:04:24 +0000 (20:04 +0000)]
EPhysics: free body and constraint list on test
SVN revision: 80985
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
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
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
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
Lucas De Marchi [Fri, 14 Dec 2012 16:29:01 +0000 (16:29 +0000)]
edbus: add edbus.spec to gitignore
SVN revision: 80967
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
Lucas De Marchi [Fri, 14 Dec 2012 16:28:50 +0000 (16:28 +0000)]
edbus: remove unneeded code
SVN revision: 80965
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
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
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
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
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
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
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
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
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
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
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
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
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
Cedric BAIL [Fri, 14 Dec 2012 09:07:38 +0000 (09:07 +0000)]
efl: don't skip redraw when needed.
SVN revision: 80921
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
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
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
Bruno Dilly [Thu, 13 Dec 2012 21:13:47 +0000 (21:13 +0000)]
ephysics_tests: copy forgotten stuff and svnignore
SVN revision: 80895
Bruno Dilly [Thu, 13 Dec 2012 21:07:06 +0000 (21:07 +0000)]
ephysics: cleanup after tests split
SVN revision: 80894
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
Bruno Dilly [Thu, 13 Dec 2012 20:42:24 +0000 (20:42 +0000)]
ephysics: prepare to split tests
SVN revision: 80891
Massimo Maiurana [Thu, 13 Dec 2012 18:43:05 +0000 (18:43 +0000)]
updating various translations
SVN revision: 80888
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
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
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
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
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
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
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
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
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
Cedric BAIL [Thu, 13 Dec 2012 06:50:08 +0000 (06:50 +0000)]
evas: preserve ellipsis.
SVN revision: 80797
Carsten Haitzler [Thu, 13 Dec 2012 05:32:12 +0000 (05:32 +0000)]
move escape and eio to IN-EFL.
SVN revision: 80794
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
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
Carsten Haitzler [Thu, 13 Dec 2012 00:56:07 +0000 (00:56 +0000)]
update pos
SVN revision: 80789
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
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
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
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
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
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
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
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
ChunEon Park [Wed, 12 Dec 2012 12:39:32 +0000 (12:39 +0000)]
evas/gl - actually, this is correct.
SVN revision: 80758
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
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
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
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
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
Bruno Dilly [Tue, 11 Dec 2012 21:30:38 +0000 (21:30 +0000)]
edje: update physics to handle ephysics API breakage
SVN revision: 80725
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
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
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
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
Leandro Dorileo [Tue, 11 Dec 2012 21:11:00 +0000 (21:11 +0000)]
EPhysics: add ephysics_body_sphere_add() API
SVN revision: 80717
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
Bruno Dilly [Tue, 11 Dec 2012 20:48:31 +0000 (20:48 +0000)]
ephysics: scan-build cleanup
SVN revision: 80714
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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