Commit Graph

19838 Commits

Author SHA1 Message Date
Eduardo de Barros Lima 70622f2b98 Fix documentation
SVN revision: 81181
2012-12-17 19:57:11 +00:00
José Roberto de Souza 36e5dd2ebc edbus: Fix invalid access memory in edbus_service_interface_unregister()
_object_unregister is called synchronized by libdbus, so when _interface_free() ran
your object its already freed.

==30579== Invalid read of size 4
==30579==    at 0x4775190: _find_object_manager_parent (edbus_service.c:803)
==30579==    by 0x4775292: _interface_free (edbus_service.c:1011)
==30579==    by 0x4777F1D: edbus_service_interface_unregister (edbus_service.c:1101)
==30579==    by 0x40CBD28: elm_dbus_menu_delete (elm_dbus_menu.c:128)
==30579==    by 0x414552F: _elm_menu_smart_del (elm_menu.c:562)
==30579==    by 0x4810F39: _eo_op_internal (eo.c:363)
==30579==    by 0x4812E1B: eo_do_internal (eo.c:403)
==30579==    by 0x4279D02: evas_object_smart_del (evas_object_smart.c:1080)

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



SVN revision: 81180
2012-12-17 19:48:54 +00:00
Lucas De Marchi 165eb12d81 edbus: fix missing blank lines
Apparently the previous sed script didn't caught all missing blank
lines.



SVN revision: 81179
2012-12-17 19:48:45 +00:00
Lucas De Marchi 7deb01f446 efreet: rename DISCONNECTED event after edbus change
SVN revision: 81178
2012-12-17 18:51:10 +00:00
Lucas De Marchi c4cedac312 edbus: rename DISCONNECTED event
SVN revision: 81177
2012-12-17 18:25:13 +00:00
Lucas De Marchi d2c7cdd0d6 edbus: Fix formatting
SVN revision: 81176
2012-12-17 18:25:06 +00:00
Lucas De Marchi 8cbd63de27 edbus: simplify end condition check in loop
SVN revision: 81175
2012-12-17 18:25:00 +00:00
Lucas De Marchi ada326a184 edbus: avoid using dbus_signature_iter_get_signature when not needed
SVN revision: 81174
2012-12-17 18:24:54 +00:00
Lucas De Marchi 8af6b6620f edbus: Use eina_log in client example and generalize expected values
Keep expected values in a struct. It would be ideal to have all values
and compare functions in an array, so we would be able to set the same
callback function for all methods. But it's already short enough so keep
it as is.

The usage of eina_log here allows us to easily catch which test failed.



SVN revision: 81173
2012-12-17 18:24:49 +00:00
Lucas De Marchi effae37eab edbus: Fix typo in error message
SVN revision: 81172
2012-12-17 18:24:43 +00:00
Lucas De Marchi f75ffb34fa edbus: Don't use "bool" as a variable name
Using bool as variable name is asking for trouble in C99. If we end up
including stdbool.h, this would fail.



SVN revision: 81171
2012-12-17 18:24:37 +00:00
Lucas De Marchi e53c47bcf0 edbus: Let arguments_get fail if getting less args than passed
If user passed a string with more elements, return EINA_FALSE on
edbus_message_arguments_get() so he knows not all elements are
initialized. Before this patch, we would notify user of its error if he
did something like:

	i) edbus_message_arguments_get(msg, "uu", &a)
	ii) edbus_message_arguments_get(msg, "uu", &a, &b)

And "msg" containing only 1 argument.

This also fixes the case in which user is getting the elements of an
array iterator and the array is empty. We were previously returning
EINA_TRUE, even if we were not filling the variable.

Last but not least, if the user was calling
edbus_message_iter_arguments_get() in an empty array, we would return
EINA_FALSE, even if we didn't actually get any element.



SVN revision: 81170
2012-12-17 18:24:31 +00:00
Lucas De Marchi 7a2a31a436 edbus: do not use dbus_signature_iter_get_signature in edbus_message_iter_arguments_vget
we are only interested in the first char of the signature so we can use
dbus_signature_iter_get_current_type and:

a) avoid the allocation of the signature for each complete type
b) simplify the check for struct and dict, since *_get_current_type()
   does TheRightThing (TM)

This also rename some variables to clarify the new semantics:

 iter_type -> iter
 sig_type  -> sig_iter



SVN revision: 81169
2012-12-17 18:24:23 +00:00
Leandro Dorileo b3d9fe9315 EPhysics: suppress conditional jump warnings on bullet
SVN revision: 80987
2012-12-14 20:04:37 +00:00
Leandro Dorileo 979116ddff EPhysics: simplify the restacking data free routine
SVN revision: 80986
2012-12-14 20:04:31 +00:00
Leandro Dorileo 67a601e44c EPhysics: free body and constraint list on test
SVN revision: 80985
2012-12-14 20:04:24 +00:00
Lucas De Marchi 18b1a05ea1 edbus: Improve doc of edbus_{private_,}connection_get
SVN revision: 80968
2012-12-14 16:29:08 +00:00
Lucas De Marchi 0a9daf8e46 edbus: add edbus.spec to gitignore
SVN revision: 80967
2012-12-14 16:29:01 +00:00
Lucas De Marchi aa31434d1f edbus: Remove useless defines
These values are used only using they directly are more meaninful than
those defines.



SVN revision: 80966
2012-12-14 16:28:55 +00:00
Lucas De Marchi eb967fa9d8 edbus: remove unneeded code
SVN revision: 80965
2012-12-14 16:28:50 +00:00
Lucas De Marchi 57e4972180 edbus: if you goto end, you don't use else
SVN revision: 80964
2012-12-14 16:28:46 +00:00
Lucas De Marchi d2a1198b51 edbus: Add missing EINA_WARN_UNUSED_RESULT to service API
SVN revision: 80963
2012-12-14 16:28:41 +00:00
Lucas De Marchi c598ce36fc 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
2012-12-14 16:28:36 +00:00
Lucas De Marchi 7a3fd93948 edbus: Give proper doc to edbus_service_property_changed()
SVN revision: 80961
2012-12-14 16:28:27 +00:00
José Roberto de Souza b54182807b ethumb: Unref edbus object and proxy
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80954
2012-12-14 14:31:46 +00:00
José Roberto de Souza 3349f33c0b ethumb: Remove unused strings
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80953
2012-12-14 14:31:37 +00:00
José Roberto de Souza e9afafc21b efreet: Unregister when client connection die
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80950
2012-12-14 14:27:19 +00:00
José Roberto de Souza 5338a060db efreet: Unref edbus object and proxy
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80949
2012-12-14 14:27:14 +00:00
José Roberto de Souza db438c3a6c efreet: Use connection events to monitor Disconnected signal
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80948
2012-12-14 14:27:05 +00:00
Mike Blumenkrantz 297cd971ab fix some NULL derefs in tb part recalc, also a typo which probably broke sizing
SVN revision: 80935
2012-12-14 11:41:27 +00:00
Bruno Dilly 9a22dfe79c 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
2012-12-13 21:25:20 +00:00
Bruno Dilly bc319eb9bb ephysics: get back example header
Used on ephysics docs
Now make doc should works fine


SVN revision: 80896
2012-12-13 21:17:20 +00:00
Bruno Dilly f1088d5631 ephysics_tests: copy forgotten stuff and svnignore
SVN revision: 80895
2012-12-13 21:13:47 +00:00
Bruno Dilly 9584915d91 ephysics: cleanup after tests split
SVN revision: 80894
2012-12-13 21:07:06 +00:00
Bruno Dilly 7a504551b2 Create trunk/ephysics_tests
And mv / cp test stuff from ephysics to ephysics_tests


SVN revision: 80893
2012-12-13 21:03:41 +00:00
Bruno Dilly ceae5649b6 ephysics: prepare to split tests
SVN revision: 80891
2012-12-13 20:42:24 +00:00
Massimo Maiurana f299471884 updating various translations
SVN revision: 80888
2012-12-13 18:43:05 +00:00
Bruno Dilly 1381519e03 edje: update NEWS and Changelog
regarding physics and edje_player


SVN revision: 80883
2012-12-13 15:55:12 +00:00
Stefan Schmidt d13ca5705f eeze/sensor: Fix leaks when getting allocated data from obj_get
SVN revision: 80882
2012-12-13 15:54:29 +00:00
Stefan Schmidt 77b2e63002 eeze/sensor: Add more documentation and comment the code.
SVN revision: 80861
2012-12-13 14:17:14 +00:00
Jihoon Kim bafa56598b edje: Return plain text in retrive surrounding text callback of entry
SVN revision: 80825
2012-12-13 11:35:41 +00:00
Carsten Haitzler 6e7e05a008 move escape and eio to IN-EFL.
SVN revision: 80794
2012-12-13 05:32:12 +00:00
Cedric BAIL 1a542bcf8b edje: don't expose private variable in our public API.
SVN revision: 80793
2012-12-13 05:30:54 +00:00
Rui Seabra 42f3769bca Add eo's datadir to efl and make edje's build depend on ephysics (so one gets the eventual goodies).
SVN revision: 80786
2012-12-13 00:08:41 +00:00
Cedric BAIL 5e76bb821f edje: use Evas to compute Ellipsis.
Patch with help from Tom Hacohen.


SVN revision: 80764
2012-12-12 14:07:28 +00:00
Daniel Willmann b11f968b37 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
2012-12-12 10:16:55 +00:00
Stefan Schmidt d5523905e4 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
2012-12-12 09:40:17 +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